Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:59:03.968143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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
2025-11-30 23:59:22.682594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 23:59:50.050379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_15_2612.jpg', '/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_18_2718.jpg', '/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_21_2787.jpg', '/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_24_3637.jpg', '/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_27_2739.jpg', '/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_30_2775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_15_2612.jpg
/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_18_2718.jpg
/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_21_2787.jpg
/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_24_3637.jpg
/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_27_2739.jpg
/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_30_2775.jpg
2025-11-30 23:59:50.029194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_44_3558.jpg', '/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_50_3648.jpg', '/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_53_2691.jpg', '/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_55_2680.jpg', '/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_58_2734.jpg', '/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_08_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_44_3558.jpg
/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_50_3648.jpg
/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_53_2691.jpg
/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_55_2680.jpg
/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_58_2734.jpg
/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_08_3011.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397132464","1397132263","1397132154","1397132483","1397132396","1397132084"],"photo_ids_order":["1397132084","1397132154","1397132263","1397132396","1397132464","1397132483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fe298261fc5461fda39aa455b8e4f6d5.jpg","text":"TemporaryFile(/tmp/multipartBody4506489628944864124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543650925,"filename":"image_01112025_00_04_27_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8a0d3ced2b95cdd5d30f3115c15f11e5.jpg","text":"TemporaryFile(/tmp/multipartBody3264397268182176545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543650925,"filename":"image_01112025_00_04_21_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/1/0df40de35f979216be67194f1811cf29.jpg","text":"TemporaryFile(/tmp/multipartBody4570397432612528766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543650925,"filename":"image_01112025_00_04_18_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6b7c3d9326d64c57cb6554ce6d948444.jpg","text":"TemporaryFile(/tmp/multipartBody3195080923613130884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543650925,"filename":"image_01112025_00_04_30_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1da16ad040535b1a247d427ce123d77a.jpg","text":"TemporaryFile(/tmp/multipartBody3231716684228684026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543650925,"filename":"image_01112025_00_04_24_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/04f33b2fc868dd81697fb9a8a50b0386.jpg","text":"TemporaryFile(/tmp/multipartBody499315348026947514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543650925,"filename":"image_01112025_00_04_15_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397132263","file1":"1397132154","file0":"1397132084","file4":"1397132464","file5":"1397132483","file3":"1397132396"},"map_files_photo_id_array":[{"photo_id":"1397132483","filename":"file5"},{"photo_id":"1397132263","filename":"file2"},{"photo_id":"1397132464","filename":"file4"},{"photo_id":"1397132154","filename":"file1"},{"photo_id":"1397132084","filename":"file0"},{"photo_id":"1397132396","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397132464":["hashtag1","hashtag2"]},{"1397132263":["hashtag1","hashtag2"]},{"1397132154":["hashtag1","hashtag2"]},{"1397132483":["hashtag1","hashtag2"]},{"1397132396":["hashtag1","hashtag2"]},{"1397132084":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397132464, 1397132263, 1397132154, 1397132483, 1397132396, 1397132084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.975141763687134 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397132462","1397132278","1397132092","1397132164","1397132484","1397132400"],"photo_ids_order":["1397132092","1397132164","1397132278","1397132400","1397132462","1397132484"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c54117bda36fb25e3bf26e75db25e4a3.jpg","text":"TemporaryFile(/tmp/multipartBody5648484001490522677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543651813,"filename":"image_25112025_20_59_58_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0b4ed6e434d7e54f05f3e50242510cc8.jpg","text":"TemporaryFile(/tmp/multipartBody2818894341831297970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543651813,"filename":"image_25112025_20_59_53_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/1/fa81f28dbd2c182dae1bdae8efe1a0c4.jpg","text":"TemporaryFile(/tmp/multipartBody5513956714468263685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543651813,"filename":"image_25112025_20_59_44_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/61c4eb43d74bb4e3d09a8abecb023ec2.jpg","text":"TemporaryFile(/tmp/multipartBody1159706597044159937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543651813,"filename":"image_25112025_20_59_50_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/1/d2b40e5096205ae89e5fd3264b37b389.jpg","text":"TemporaryFile(/tmp/multipartBody1934311516540579278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543651813,"filename":"image_25112025_21_00_08_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ffeab9359556659aa0caa6f35d494410.jpg","text":"TemporaryFile(/tmp/multipartBody2265274104053020179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543651813,"filename":"image_25112025_20_59_55_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397132278","file1":"1397132164","file0":"1397132092","file4":"1397132462","file5":"1397132484","file3":"1397132400"},"map_files_photo_id_array":[{"photo_id":"1397132484","filename":"file5"},{"photo_id":"1397132278","filename":"file2"},{"photo_id":"1397132462","filename":"file4"},{"photo_id":"1397132164","filename":"file1"},{"photo_id":"1397132092","filename":"file0"},{"photo_id":"1397132400","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397132462":["hashtag1","hashtag2"]},{"1397132278":["hashtag1","hashtag2"]},{"1397132092":["hashtag1","hashtag2"]},{"1397132164":["hashtag1","hashtag2"]},{"1397132484":["hashtag1","hashtag2"]},{"1397132400":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397132462, 1397132278, 1397132092, 1397132164, 1397132484, 1397132400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.23451590538025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 00:00:32.569537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_11_3494.jpg', '/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_14_2523.jpg', '/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_20_2583.jpg', '/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_23_2762.jpg', '/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_27_3648.jpg', '/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_29_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_11_3494.jpg
/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_14_2523.jpg
/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_20_2583.jpg
/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_23_2762.jpg
/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_27_3648.jpg
/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_29_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":["1397132561","1397132525","1397132586","1397132634","1397132724","1397132684"],"photo_ids_order":["1397132525","1397132561","1397132586","1397132634","1397132684","1397132724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a40ddd71fea74114b3cb359e7368d601.jpg","text":"TemporaryFile(/tmp/multipartBody5547111645607823292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543694294,"filename":"image_25112025_21_00_14_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/37a99faf12ba620d32afa3faa8706f73.jpg","text":"TemporaryFile(/tmp/multipartBody3026763067969817767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543694294,"filename":"image_25112025_21_00_11_3494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b59c502c49edea32729fb08c9a884105.jpg","text":"TemporaryFile(/tmp/multipartBody1293159692014461977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543694294,"filename":"image_25112025_21_00_20_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/1/fea1e2db94c487395a58771756108aff.jpg","text":"TemporaryFile(/tmp/multipartBody3291814891671368390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543694294,"filename":"image_25112025_21_00_23_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e8dba377c188ec9c717c569cf50496d3.jpg","text":"TemporaryFile(/tmp/multipartBody6285007456868081072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543694294,"filename":"image_25112025_21_00_29_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dff76ca3410f634acfdec24bc60873bf.jpg","text":"TemporaryFile(/tmp/multipartBody1371867255300918318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543694294,"filename":"image_25112025_21_00_27_3648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397132586","file1":"1397132561","file0":"1397132525","file4":"1397132684","file5":"1397132724","file3":"1397132634"},"map_files_photo_id_array":[{"photo_id":"1397132724","filename":"file5"},{"photo_id":"1397132586","filename":"file2"},{"photo_id":"1397132684","filename":"file4"},{"photo_id":"1397132561","filename":"file1"},{"photo_id":"1397132525","filename":"file0"},{"photo_id":"1397132634","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397132561":["hashtag1","hashtag2"]},{"1397132525":["hashtag1","hashtag2"]},{"1397132586":["hashtag1","hashtag2"]},{"1397132634":["hashtag1","hashtag2"]},{"1397132724":["hashtag1","hashtag2"]},{"1397132684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397132561, 1397132525, 1397132586, 1397132634, 1397132724, 1397132684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26266264915466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 00:01:12.620715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_32_2608.jpg', '/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_35_3628.jpg', '/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_38_2505.jpg', '/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_41_2789.jpg', '/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_44_3698.jpg', '/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_53_3534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_32_2608.jpg
/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_35_3628.jpg
/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_38_2505.jpg
/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_41_2789.jpg
/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_44_3698.jpg
/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_53_3534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397132812","1397132815","1397132799","1397132754","1397132841","1397132771"],"photo_ids_order":["1397132754","1397132771","1397132799","1397132812","1397132815","1397132841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ec71c547356a884461304036840778ec.jpg","text":"TemporaryFile(/tmp/multipartBody5411348465805498187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543734228,"filename":"image_25112025_21_00_41_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/1/53ff8dbd64de6f90fe075914e5bb959c.jpg","text":"TemporaryFile(/tmp/multipartBody78406417012393387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543734228,"filename":"image_25112025_21_00_44_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/1/e1a0990ad2fc4817cc0ae0e3d11f21cd.jpg","text":"TemporaryFile(/tmp/multipartBody5337230246926803559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543734228,"filename":"image_25112025_21_00_38_2505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b3d5668d0d07e77a5d709afe4f1f1db4.jpg","text":"TemporaryFile(/tmp/multipartBody4300917429543356691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543734228,"filename":"image_25112025_21_00_32_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ac3061e2772b933ffb5a182c05ebcafb.jpg","text":"TemporaryFile(/tmp/multipartBody8993673037840303003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543734228,"filename":"image_25112025_21_00_53_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c824448460983afba3f805847d68a788.jpg","text":"TemporaryFile(/tmp/multipartBody4935574561885170930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543734228,"filename":"image_25112025_21_00_35_3628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397132799","file1":"1397132771","file0":"1397132754","file4":"1397132815","file5":"1397132841","file3":"1397132812"},"map_files_photo_id_array":[{"photo_id":"1397132841","filename":"file5"},{"photo_id":"1397132799","filename":"file2"},{"photo_id":"1397132815","filename":"file4"},{"photo_id":"1397132771","filename":"file1"},{"photo_id":"1397132754","filename":"file0"},{"photo_id":"1397132812","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397132812":["hashtag1","hashtag2"]},{"1397132815":["hashtag1","hashtag2"]},{"1397132799":["hashtag1","hashtag2"]},{"1397132754":["hashtag1","hashtag2"]},{"1397132841":["hashtag1","hashtag2"]},{"1397132771":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397132812, 1397132815, 1397132799, 1397132754, 1397132841, 1397132771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72407555580139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:02:02.528360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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_01122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'portfolio_id': 29033749, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1764543783000}
4219
4142558
4219
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/01/image_01122025_00_01_14_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/01/image_01122025_00_01_14_9660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397132856"],"photo_id":"1397132856","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/34e62bc54a96f2646be7de38b1ab31ce.jpg","text":"TemporaryFile(/tmp/multipartBody2271953416204657154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543784091,"filename":"image_01122025_00_01_14_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1397132856"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1397132856"}],"hashtags":[],"portfolio_id":"29033749","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.843666076660156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 00:02:22.034774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/01/image_01122025_00_01_54_9670.jpg', '/home/pi/Desktop/images/01122025/00/02/image_01122025_00_02_13_9716.jpg', '/home/pi/Desktop/images/01122025/00/02/image_01122025_00_02_34_9674.jpg', '/home/pi/Desktop/images/01122025/00/02/image_01122025_00_02_43_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/01/image_01122025_00_01_54_9670.jpg
/home/pi/Desktop/images/01122025/00/02/image_01122025_00_02_13_9716.jpg
/home/pi/Desktop/images/01122025/00/02/image_01122025_00_02_34_9674.jpg
/home/pi/Desktop/images/01122025/00/02/image_01122025_00_02_43_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":["1397132863","1397132865","1397132859","1397132861"],"photo_ids_order":["1397132859","1397132861","1397132863","1397132865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cc1da06d3be57f0f25ea1c25df4cacfc.jpg","text":"TemporaryFile(/tmp/multipartBody4809750096263488870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543802708,"filename":"image_01122025_00_02_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/1/b1f32ffd10a315b4fc3d3265c67a0926.jpg","text":"TemporaryFile(/tmp/multipartBody80549922342690257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543802708,"filename":"image_01122025_00_02_43_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ca31a420600acf457abd14f40e0ffac9.jpg","text":"TemporaryFile(/tmp/multipartBody8189905598623663537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543802708,"filename":"image_01122025_00_01_54_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ced6dd16a991c6e3b0fda31f084dd5f5.jpg","text":"TemporaryFile(/tmp/multipartBody6139133818938825553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543802708,"filename":"image_01122025_00_02_13_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397132863","file1":"1397132861","file0":"1397132859","file3":"1397132865"},"map_files_photo_id_array":[{"photo_id":"1397132863","filename":"file2"},{"photo_id":"1397132861","filename":"file1"},{"photo_id":"1397132859","filename":"file0"},{"photo_id":"1397132865","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397132863":["hashtag1","hashtag2"]},{"1397132865":["hashtag1","hashtag2"]},{"1397132859":["hashtag1","hashtag2"]},{"1397132861":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397132863, 1397132865, 1397132859, 1397132861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.071240186691284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:03:02.752468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_56_2586.jpg', '/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_59_3523.jpg', '/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_14_2607.jpg', '/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_17_3741.jpg', '/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_20_2740.jpg', '/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_23_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_56_2586.jpg
/home/pi/Desktop/images/25112025/21/00/image_25112025_21_00_59_3523.jpg
/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_14_2607.jpg
/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_17_3741.jpg
/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_20_2740.jpg
/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_23_2682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397132921","1397132896","1397132941","1397132944","1397132970","1397132870"],"photo_ids_order":["1397132870","1397132896","1397132921","1397132941","1397132944","1397132970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5012f630d885a6786f7bf297eb26a287.jpg","text":"TemporaryFile(/tmp/multipartBody3218853328835362423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543843959,"filename":"image_25112025_21_01_14_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/1/c973aba31ab4bd968c07030df4add464.jpg","text":"TemporaryFile(/tmp/multipartBody4047663163016253481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543843959,"filename":"image_25112025_21_00_59_3523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/394d22a389b794f0b8f6f6fcc423b715.jpg","text":"TemporaryFile(/tmp/multipartBody5318662897393658446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543843959,"filename":"image_25112025_21_01_17_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/1/062922d1c6cbf37f6d5fd066e25dda43.jpg","text":"TemporaryFile(/tmp/multipartBody3949281282175952268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543843959,"filename":"image_25112025_21_01_20_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/1/d857878d7d2a9c2f24bde9c5eb789ecf.jpg","text":"TemporaryFile(/tmp/multipartBody6123272722952366744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543843959,"filename":"image_25112025_21_01_23_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/1/b754e5aac53f2d4f3f35ea4e2516de30.jpg","text":"TemporaryFile(/tmp/multipartBody4532157698100176948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543843959,"filename":"image_25112025_21_00_56_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397132921","file1":"1397132896","file0":"1397132870","file4":"1397132944","file5":"1397132970","file3":"1397132941"},"map_files_photo_id_array":[{"photo_id":"1397132970","filename":"file5"},{"photo_id":"1397132921","filename":"file2"},{"photo_id":"1397132944","filename":"file4"},{"photo_id":"1397132896","filename":"file1"},{"photo_id":"1397132870","filename":"file0"},{"photo_id":"1397132941","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397132921":["hashtag1","hashtag2"]},{"1397132896":["hashtag1","hashtag2"]},{"1397132941":["hashtag1","hashtag2"]},{"1397132944":["hashtag1","hashtag2"]},{"1397132970":["hashtag1","hashtag2"]},{"1397132870":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397132921, 1397132896, 1397132941, 1397132944, 1397132970, 1397132870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.811052322387695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 00:03:42.319011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_33_3703.jpg', '/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_36_2632.jpg', '/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_39_2664.jpg', '/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_42_3095.jpg', '/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_44_2643.jpg', '/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_48_3664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_33_3703.jpg
/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_36_2632.jpg
/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_39_2664.jpg
/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_42_3095.jpg
/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_44_2643.jpg
/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_48_3664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397133073","1397133019","1397133106","1397133007","1397133042","1397133006"],"photo_ids_order":["1397133006","1397133007","1397133019","1397133042","1397133073","1397133106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9d61176da11ecdc76f7f0d73755829bb.jpg","text":"TemporaryFile(/tmp/multipartBody8642219466136502727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543883139,"filename":"image_01112025_00_04_44_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/338298062c0ffa5e57b41500cb30bc74.jpg","text":"TemporaryFile(/tmp/multipartBody2239413642776812866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543883139,"filename":"image_01112025_00_04_39_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/1/e567acc8dc8ea1b4c27094f11bc192ce.jpg","text":"TemporaryFile(/tmp/multipartBody5026846475356975529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543883139,"filename":"image_01112025_00_04_48_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/1/e870f4ac69e229c3a09afde43a1eb373.jpg","text":"TemporaryFile(/tmp/multipartBody5996641308815260793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543883139,"filename":"image_01112025_00_04_36_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7a2ae1e08a7f29ae73e73adb71c49575.jpg","text":"TemporaryFile(/tmp/multipartBody5425866432130909487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543883139,"filename":"image_01112025_00_04_42_3095.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f715f3e78fb776d6008d8b0cc44f82de.jpg","text":"TemporaryFile(/tmp/multipartBody1656921354374229047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543883139,"filename":"image_01112025_00_04_33_3703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397133019","file1":"1397133007","file0":"1397133006","file4":"1397133073","file5":"1397133106","file3":"1397133042"},"map_files_photo_id_array":[{"photo_id":"1397133106","filename":"file5"},{"photo_id":"1397133019","filename":"file2"},{"photo_id":"1397133073","filename":"file4"},{"photo_id":"1397133007","filename":"file1"},{"photo_id":"1397133006","filename":"file0"},{"photo_id":"1397133042","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397133073":["hashtag1","hashtag2"]},{"1397133019":["hashtag1","hashtag2"]},{"1397133106":["hashtag1","hashtag2"]},{"1397133007":["hashtag1","hashtag2"]},{"1397133042":["hashtag1","hashtag2"]},{"1397133006":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397133073, 1397133019, 1397133106, 1397133007, 1397133042, 1397133006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08939242362976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 00:04:22.646100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/02/image_01122025_00_02_54_10865.jpg', '/home/pi/Desktop/images/01122025/00/02/image_01122025_00_03_04_9828.jpg', '/home/pi/Desktop/images/01122025/00/03/image_01122025_00_03_34_9769.jpg', '/home/pi/Desktop/images/01122025/00/03/image_01122025_00_03_44_9759.jpg', '/home/pi/Desktop/images/01122025/00/03/image_01122025_00_03_54_9725.jpg', '/home/pi/Desktop/images/01122025/00/04/image_01122025_00_04_24_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/02/image_01122025_00_02_54_10865.jpg
/home/pi/Desktop/images/01122025/00/02/image_01122025_00_03_04_9828.jpg
/home/pi/Desktop/images/01122025/00/03/image_01122025_00_03_34_9769.jpg
/home/pi/Desktop/images/01122025/00/03/image_01122025_00_03_44_9759.jpg
/home/pi/Desktop/images/01122025/00/03/image_01122025_00_03_54_9725.jpg
/home/pi/Desktop/images/01122025/00/04/image_01122025_00_04_24_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":["1397133250","1397133244","1397133202","1397133252","1397133228","1397133248"],"photo_ids_order":["1397133202","1397133228","1397133244","1397133248","1397133250","1397133252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e17021f481a6ff9087798fec87db6513.jpg","text":"TemporaryFile(/tmp/multipartBody212244810932077561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543923442,"filename":"image_01122025_00_03_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/1/362180f8b3f953626623f04d2f4b3613.jpg","text":"TemporaryFile(/tmp/multipartBody1492322146222953962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543923442,"filename":"image_01122025_00_03_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/1/5a5f6c1ba004467b1743ead7c4512f27.jpg","text":"TemporaryFile(/tmp/multipartBody4930850558643854743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543923442,"filename":"image_01122025_00_02_54_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/1/2db608427871ea150cd913b312d5548d.jpg","text":"TemporaryFile(/tmp/multipartBody6985283171301797467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543923442,"filename":"image_01122025_00_04_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/1/7003c21364f901332f2d31ce99f6a50a.jpg","text":"TemporaryFile(/tmp/multipartBody3325724397455103209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543923442,"filename":"image_01122025_00_03_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/1/3595fcc87412f76ceb0570c57a82419f.jpg","text":"TemporaryFile(/tmp/multipartBody2599552082137240757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543923442,"filename":"image_01122025_00_03_44_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397133244","file1":"1397133228","file0":"1397133202","file4":"1397133250","file5":"1397133252","file3":"1397133248"},"map_files_photo_id_array":[{"photo_id":"1397133252","filename":"file5"},{"photo_id":"1397133244","filename":"file2"},{"photo_id":"1397133250","filename":"file4"},{"photo_id":"1397133228","filename":"file1"},{"photo_id":"1397133202","filename":"file0"},{"photo_id":"1397133248","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397133250":["hashtag1","hashtag2"]},{"1397133244":["hashtag1","hashtag2"]},{"1397133202":["hashtag1","hashtag2"]},{"1397133252":["hashtag1","hashtag2"]},{"1397133228":["hashtag1","hashtag2"]},{"1397133248":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397133250, 1397133244, 1397133202, 1397133252, 1397133228, 1397133248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.071842670440674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:05:03.248496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_26_3174.jpg', '/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_29_2750.jpg', '/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_32_3677.jpg', '/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_35_2694.jpg', '/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_38_2828.jpg', '/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_42_3575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_26_3174.jpg
/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_29_2750.jpg
/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_32_3677.jpg
/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_35_2694.jpg
/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_38_2828.jpg
/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_42_3575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397133256","1397133259","1397133261","1397133255","1397133263","1397133257"],"photo_ids_order":["1397133255","1397133256","1397133257","1397133259","1397133261","1397133263"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1517f43729fda2bf7077ef1e0aa11373.jpg","text":"TemporaryFile(/tmp/multipartBody5536686463509024311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543964457,"filename":"image_25112025_21_01_29_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5f0368183e10d347a1f49801d01477cf.jpg","text":"TemporaryFile(/tmp/multipartBody3991626382198093536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543964457,"filename":"image_25112025_21_01_35_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e670ee15c0d1e9e8c3ba9932e0095fa8.jpg","text":"TemporaryFile(/tmp/multipartBody687048232032756064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543964457,"filename":"image_25112025_21_01_38_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/1/d3b89414545a226fadc4babc4d156160.jpg","text":"TemporaryFile(/tmp/multipartBody1710462371688908662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543964457,"filename":"image_25112025_21_01_26_3174.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e52a737588930558aab18e09acdb2022.jpg","text":"TemporaryFile(/tmp/multipartBody8315717109070007732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543964457,"filename":"image_25112025_21_01_42_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/1/6c063364a810f0fdcd667d8a210f5f0b.jpg","text":"TemporaryFile(/tmp/multipartBody2326374299614005693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543964457,"filename":"image_25112025_21_01_32_3677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397133257","file1":"1397133256","file0":"1397133255","file4":"1397133261","file5":"1397133263","file3":"1397133259"},"map_files_photo_id_array":[{"photo_id":"1397133263","filename":"file5"},{"photo_id":"1397133257","filename":"file2"},{"photo_id":"1397133261","filename":"file4"},{"photo_id":"1397133256","filename":"file1"},{"photo_id":"1397133255","filename":"file0"},{"photo_id":"1397133259","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397133256":["hashtag1","hashtag2"]},{"1397133259":["hashtag1","hashtag2"]},{"1397133261":["hashtag1","hashtag2"]},{"1397133255":["hashtag1","hashtag2"]},{"1397133263":["hashtag1","hashtag2"]},{"1397133257":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397133256, 1397133259, 1397133261, 1397133255, 1397133263, 1397133257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.081769943237305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 00:05:42.610451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_51_2769.jpg', '/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_54_2736.jpg', '/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_57_3641.jpg', '/home/pi/Desktop/images/01112025/00/04/image_01112025_00_05_00_2683.jpg', '/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_03_2604.jpg', '/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_06_3686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_51_2769.jpg
/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_54_2736.jpg
/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_57_3641.jpg
/home/pi/Desktop/images/01112025/00/04/image_01112025_00_05_00_2683.jpg
/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_03_2604.jpg
/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_06_3686.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7298727035522461 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:06:03.179314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/04/image_01122025_00_04_34_9705.jpg', '/home/pi/Desktop/images/01122025/00/05/image_01122025_00_05_44_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/04/image_01122025_00_04_34_9705.jpg
/home/pi/Desktop/images/01122025/00/05/image_01122025_00_05_44_9718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397133274","1397133275"],"photo_ids_order":["1397133274","1397133275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/abb139fec66d4ee5c5e0ace915b1e7db.jpg","text":"TemporaryFile(/tmp/multipartBody1562370937964122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544023736,"filename":"image_01122025_00_04_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/1/45cd615524cb8bc3acf92c60a0cd379a.jpg","text":"TemporaryFile(/tmp/multipartBody2025212046279159001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544023736,"filename":"image_01122025_00_05_44_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397133275","file0":"1397133274"},"map_files_photo_id_array":[{"photo_id":"1397133275","filename":"file1"},{"photo_id":"1397133274","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397133274":["hashtag1","hashtag2"]},{"1397133275":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397133274, 1397133275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.654719829559326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 00:06:22.810438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/05/image_01122025_00_05_54_10675.jpg', '/home/pi/Desktop/images/01122025/00/05/image_01122025_00_06_04_9752.jpg', '/home/pi/Desktop/images/01122025/00/06/image_01122025_00_06_34_10866.jpg', '/home/pi/Desktop/images/01122025/00/06/image_01122025_00_06_44_9801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/05/image_01122025_00_05_54_10675.jpg
/home/pi/Desktop/images/01122025/00/05/image_01122025_00_06_04_9752.jpg
/home/pi/Desktop/images/01122025/00/06/image_01122025_00_06_34_10866.jpg
/home/pi/Desktop/images/01122025/00/06/image_01122025_00_06_44_9801.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397133280","1397133282","1397133284","1397133278"],"photo_ids_order":["1397133278","1397133280","1397133282","1397133284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dc0066c5d7944b416d8d3a0f898a6655.jpg","text":"TemporaryFile(/tmp/multipartBody8474267730551899381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544043483,"filename":"image_01122025_00_06_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/1/fed151f5ffecd27a820f293212988420.jpg","text":"TemporaryFile(/tmp/multipartBody9114577697027795998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544043483,"filename":"image_01122025_00_06_34_10866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/830e1ea0d8c4bebce3289b10c3735d43.jpg","text":"TemporaryFile(/tmp/multipartBody4705677256047344668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544043483,"filename":"image_01122025_00_06_44_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4af9e905507144bac53ab4662aa4172f.jpg","text":"TemporaryFile(/tmp/multipartBody5018368398642797625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544043483,"filename":"image_01122025_00_05_54_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397133282","file1":"1397133280","file0":"1397133278","file3":"1397133284"},"map_files_photo_id_array":[{"photo_id":"1397133282","filename":"file2"},{"photo_id":"1397133280","filename":"file1"},{"photo_id":"1397133278","filename":"file0"},{"photo_id":"1397133284","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397133280":["hashtag1","hashtag2"]},{"1397133282":["hashtag1","hashtag2"]},{"1397133284":["hashtag1","hashtag2"]},{"1397133278":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397133280, 1397133282, 1397133284, 1397133278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.28259253501892 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:07:02.799473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_44_2603.jpg', '/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_47_2641.jpg', '/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_50_3599.jpg', '/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_53_2859.jpg', '/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_56_2606.jpg', '/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_59_3378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_44_2603.jpg
/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_47_2641.jpg
/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_50_3599.jpg
/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_53_2859.jpg
/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_56_2606.jpg
/home/pi/Desktop/images/25112025/21/01/image_25112025_21_01_59_3378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397133286","1397133285","1397133288","1397133290","1397133287","1397133292"],"photo_ids_order":["1397133285","1397133286","1397133287","1397133288","1397133290","1397133292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dbc4d52a09aaa6fdd5e20441957231db.jpg","text":"TemporaryFile(/tmp/multipartBody4051128985225146856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544083949,"filename":"image_25112025_21_01_47_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/1/d0620f51d4f9c1f171d35430a83b9a4b.jpg","text":"TemporaryFile(/tmp/multipartBody6828823040429875577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544083949,"filename":"image_25112025_21_01_44_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/1/7e14a304c340a34d537bcff4fbf9ddb0.jpg","text":"TemporaryFile(/tmp/multipartBody9041698169948198071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544083949,"filename":"image_25112025_21_01_53_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/1/c849c1ce31dad4b4e0c0fd1f30d2ee4d.jpg","text":"TemporaryFile(/tmp/multipartBody5560410099234831090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544083949,"filename":"image_25112025_21_01_56_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/1/b96e2ab491544c8d090e379d03beef0d.jpg","text":"TemporaryFile(/tmp/multipartBody7719948383518580001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544083949,"filename":"image_25112025_21_01_50_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/db077b6cadfe8f1e93cf73ead51d69dc.jpg","text":"TemporaryFile(/tmp/multipartBody3863934541431561039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544083949,"filename":"image_25112025_21_01_59_3378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397133287","file1":"1397133286","file0":"1397133285","file4":"1397133290","file5":"1397133292","file3":"1397133288"},"map_files_photo_id_array":[{"photo_id":"1397133292","filename":"file5"},{"photo_id":"1397133287","filename":"file2"},{"photo_id":"1397133290","filename":"file4"},{"photo_id":"1397133286","filename":"file1"},{"photo_id":"1397133285","filename":"file0"},{"photo_id":"1397133288","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397133286":["hashtag1","hashtag2"]},{"1397133285":["hashtag1","hashtag2"]},{"1397133288":["hashtag1","hashtag2"]},{"1397133290":["hashtag1","hashtag2"]},{"1397133287":["hashtag1","hashtag2"]},{"1397133292":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397133286, 1397133285, 1397133288, 1397133290, 1397133287, 1397133292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4306583404541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 00:07:42.155789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_51_2769.jpg', '/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_54_2736.jpg', '/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_57_3641.jpg', '/home/pi/Desktop/images/01112025/00/04/image_01112025_00_05_00_2683.jpg', '/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_03_2604.jpg', '/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_06_3686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_51_2769.jpg
/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_54_2736.jpg
/home/pi/Desktop/images/01112025/00/04/image_01112025_00_04_57_3641.jpg
/home/pi/Desktop/images/01112025/00/04/image_01112025_00_05_00_2683.jpg
/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_03_2604.jpg
/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_06_3686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397133298","1397133301","1397133297","1397133300","1397133299","1397133302"],"photo_ids_order":["1397133297","1397133298","1397133299","1397133300","1397133301","1397133302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9fc4748a607882653f8cc0fbc3f2544f.jpg","text":"TemporaryFile(/tmp/multipartBody7559280022573797812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544122883,"filename":"image_01112025_00_04_54_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/1/d4ad93c354a8d692940f516d36ec965b.jpg","text":"TemporaryFile(/tmp/multipartBody8246050620667226135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544122883,"filename":"image_01112025_00_05_03_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/1/2221e1e2b8152ace7af24ece56e042ae.jpg","text":"TemporaryFile(/tmp/multipartBody5347021952688114303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544122883,"filename":"image_01112025_00_04_51_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/1/9caa9debd4f7f7fa3eebd3d5508cf020.jpg","text":"TemporaryFile(/tmp/multipartBody4988046541431700881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544122883,"filename":"image_01112025_00_05_00_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/1/6e5ffe32d30d3c8c47f5287cb53cae92.jpg","text":"TemporaryFile(/tmp/multipartBody1185370011631178095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544122883,"filename":"image_01112025_00_04_57_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/1/23998635435bffa939febf25f8b6f248.jpg","text":"TemporaryFile(/tmp/multipartBody3918498603504021537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544122883,"filename":"image_01112025_00_05_06_3686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397133299","file1":"1397133298","file0":"1397133297","file4":"1397133301","file5":"1397133302","file3":"1397133300"},"map_files_photo_id_array":[{"photo_id":"1397133302","filename":"file5"},{"photo_id":"1397133299","filename":"file2"},{"photo_id":"1397133301","filename":"file4"},{"photo_id":"1397133298","filename":"file1"},{"photo_id":"1397133297","filename":"file0"},{"photo_id":"1397133300","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397133298":["hashtag1","hashtag2"]},{"1397133301":["hashtag1","hashtag2"]},{"1397133297":["hashtag1","hashtag2"]},{"1397133300":["hashtag1","hashtag2"]},{"1397133299":["hashtag1","hashtag2"]},{"1397133302":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397133298, 1397133301, 1397133297, 1397133300, 1397133299, 1397133302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.737279176712036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 00:08:22.363684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/06/image_01122025_00_06_54_9841.jpg', '/home/pi/Desktop/images/01122025/00/07/image_01122025_00_07_34_9584.jpg', '/home/pi/Desktop/images/01122025/00/07/image_01122025_00_08_04_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/06/image_01122025_00_06_54_9841.jpg
/home/pi/Desktop/images/01122025/00/07/image_01122025_00_07_34_9584.jpg
/home/pi/Desktop/images/01122025/00/07/image_01122025_00_08_04_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":["1397133305","1397133307","1397133309"],"photo_ids_order":["1397133305","1397133307","1397133309"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f504da66b911377610845ee33fc59a5d.jpg","text":"TemporaryFile(/tmp/multipartBody5530789753361228485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544162966,"filename":"image_01122025_00_06_54_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/abbf65777dc175d81bc08c6989b19eeb.jpg","text":"TemporaryFile(/tmp/multipartBody7172855195575609094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544162966,"filename":"image_01122025_00_07_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/1/67b3c241a6acd63eeb3636bcc370ad1c.jpg","text":"TemporaryFile(/tmp/multipartBody3169969592125329058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544162966,"filename":"image_01122025_00_08_04_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397133309","file1":"1397133307","file0":"1397133305"},"map_files_photo_id_array":[{"photo_id":"1397133309","filename":"file2"},{"photo_id":"1397133307","filename":"file1"},{"photo_id":"1397133305","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397133305":["hashtag1","hashtag2"]},{"1397133307":["hashtag1","hashtag2"]},{"1397133309":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397133305, 1397133307, 1397133309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.09770178794861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:09:03.575221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_02_2581.jpg', '/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_05_3553.jpg', '/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_11_2569.jpg', '/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_17_2644.jpg', '/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_20_2878.jpg', '/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_23_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_02_2581.jpg
/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_05_3553.jpg
/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_11_2569.jpg
/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_17_2644.jpg
/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_20_2878.jpg
/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_23_2590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397133313","1397133316","1397133318","1397133312","1397133320","1397133314"],"photo_ids_order":["1397133312","1397133313","1397133314","1397133316","1397133318","1397133320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c65f52e9d1e2a693dc4dc9c9db8c0444.jpg","text":"TemporaryFile(/tmp/multipartBody643552928080684454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544206731,"filename":"image_25112025_21_02_05_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1caffafaceb1feaa452c9d3bc8684d4a.jpg","text":"TemporaryFile(/tmp/multipartBody7319929247372965150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544206731,"filename":"image_25112025_21_02_17_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/1/4d166a17b1aed0e7f1407284b33d6d02.jpg","text":"TemporaryFile(/tmp/multipartBody6260843212152893712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544206731,"filename":"image_25112025_21_02_20_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/1/1762d42875579f45891c096f20896e85.jpg","text":"TemporaryFile(/tmp/multipartBody5131972845748008085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544206731,"filename":"image_25112025_21_02_02_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a135d35d69c883b6cd95400e8f12cd79.jpg","text":"TemporaryFile(/tmp/multipartBody6576907924442516074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544206731,"filename":"image_25112025_21_02_23_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/1/1f4dec35f5e89c039b5d5543c1ce5e5e.jpg","text":"TemporaryFile(/tmp/multipartBody4184972436582342326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544206731,"filename":"image_25112025_21_02_11_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397133314","file1":"1397133313","file0":"1397133312","file4":"1397133318","file5":"1397133320","file3":"1397133316"},"map_files_photo_id_array":[{"photo_id":"1397133320","filename":"file5"},{"photo_id":"1397133314","filename":"file2"},{"photo_id":"1397133318","filename":"file4"},{"photo_id":"1397133313","filename":"file1"},{"photo_id":"1397133312","filename":"file0"},{"photo_id":"1397133316","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397133313":["hashtag1","hashtag2"]},{"1397133316":["hashtag1","hashtag2"]},{"1397133318":["hashtag1","hashtag2"]},{"1397133312":["hashtag1","hashtag2"]},{"1397133320":["hashtag1","hashtag2"]},{"1397133314":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397133313, 1397133316, 1397133318, 1397133312, 1397133320, 1397133314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00287842750549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:10:03.156880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/08/image_01122025_00_08_14_9818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/08/image_01122025_00_08_14_9818.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397133323"],"photo_id":"1397133323","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/960831965814f80a80efb59d3777def6.jpg","text":"TemporaryFile(/tmp/multipartBody5354736617666827079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544263675,"filename":"image_01122025_00_08_14_9818.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1397133323"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1397133323"}],"hashtags":[],"portfolio_id":"29033749","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.9438157081604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 00:10:22.707684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/09/image_01122025_00_09_34_9678.jpg', '/home/pi/Desktop/images/01122025/00/09/image_01122025_00_10_04_9676.jpg', '/home/pi/Desktop/images/01122025/00/10/image_01122025_00_10_44_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/09/image_01122025_00_09_34_9678.jpg
/home/pi/Desktop/images/01122025/00/09/image_01122025_00_10_04_9676.jpg
/home/pi/Desktop/images/01122025/00/10/image_01122025_00_10_44_9750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397133326","1397133328","1397133330"],"photo_ids_order":["1397133326","1397133328","1397133330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2f2e04198dcdac0a0c1d26d7a372690d.jpg","text":"TemporaryFile(/tmp/multipartBody6488436052123896435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544283304,"filename":"image_01122025_00_09_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/1/b4c229acf7a18b700075458a4ddd734f.jpg","text":"TemporaryFile(/tmp/multipartBody6831158075876958718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544283304,"filename":"image_01122025_00_10_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/1/dc73b54df61de5cc6c836a6e2a29f1f6.jpg","text":"TemporaryFile(/tmp/multipartBody7438410878144705694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544283304,"filename":"image_01122025_00_10_44_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397133330","file1":"1397133328","file0":"1397133326"},"map_files_photo_id_array":[{"photo_id":"1397133330","filename":"file2"},{"photo_id":"1397133328","filename":"file1"},{"photo_id":"1397133326","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397133326":["hashtag1","hashtag2"]},{"1397133328":["hashtag1","hashtag2"]},{"1397133330":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397133326, 1397133328, 1397133330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.100776433944702 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:11:02.525338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_26_3656.jpg', '/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_29_2626.jpg', '/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_32_2666.jpg', '/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_35_3626.jpg', '/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_38_2562.jpg', '/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_44_2747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_26_3656.jpg
/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_29_2626.jpg
/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_32_2666.jpg
/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_35_3626.jpg
/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_38_2562.jpg
/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_44_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":["1397133337","1397133340","1397133334","1397133333","1397133332","1397133335"],"photo_ids_order":["1397133332","1397133333","1397133334","1397133335","1397133337","1397133340"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/57422b0b1e7c95a050d44ce2aa7bc7cd.jpg","text":"TemporaryFile(/tmp/multipartBody165886523962757082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544323787,"filename":"image_25112025_21_02_38_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/1/50a7a2e86d81b4d896c535a1af6828a8.jpg","text":"TemporaryFile(/tmp/multipartBody284142937877335427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544323787,"filename":"image_25112025_21_02_44_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/1/a14e6caa1adf61f6b3405708bd075079.jpg","text":"TemporaryFile(/tmp/multipartBody5884714231138203745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544323787,"filename":"image_25112025_21_02_32_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/1/659dc90cbab2f73972399054ed399423.jpg","text":"TemporaryFile(/tmp/multipartBody7155065824042499529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544323787,"filename":"image_25112025_21_02_29_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/1/b16bf49fa7f858b7560a0a8aef9007dd.jpg","text":"TemporaryFile(/tmp/multipartBody5441202222696458986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544323787,"filename":"image_25112025_21_02_26_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/1/d8adcab5e01ef8405e142ff96549d599.jpg","text":"TemporaryFile(/tmp/multipartBody1082505252647770141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544323787,"filename":"image_25112025_21_02_35_3626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397133334","file1":"1397133333","file0":"1397133332","file4":"1397133337","file5":"1397133340","file3":"1397133335"},"map_files_photo_id_array":[{"photo_id":"1397133340","filename":"file5"},{"photo_id":"1397133334","filename":"file2"},{"photo_id":"1397133337","filename":"file4"},{"photo_id":"1397133333","filename":"file1"},{"photo_id":"1397133332","filename":"file0"},{"photo_id":"1397133335","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397133337":["hashtag1","hashtag2"]},{"1397133340":["hashtag1","hashtag2"]},{"1397133334":["hashtag1","hashtag2"]},{"1397133333":["hashtag1","hashtag2"]},{"1397133332":["hashtag1","hashtag2"]},{"1397133335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397133337, 1397133340, 1397133334, 1397133333, 1397133332, 1397133335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20870304107666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 00:11:42.034939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_09_2600.jpg', '/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_12_2736.jpg', '/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_15_3672.jpg', '/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_18_2889.jpg', '/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_23_2600.jpg', '/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_27_3756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_09_2600.jpg
/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_12_2736.jpg
/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_15_3672.jpg
/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_18_2889.jpg
/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_23_2600.jpg
/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_27_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":["1397133346","1397133349","1397133348","1397133351","1397133350","1397133347"],"photo_ids_order":["1397133346","1397133347","1397133348","1397133349","1397133350","1397133351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5964dba213195fad9c892542840834bf.jpg","text":"TemporaryFile(/tmp/multipartBody8639456465727248132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544362845,"filename":"image_01112025_00_05_09_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/1/52b94b8bd0b239e6a7cb968d054322ab.jpg","text":"TemporaryFile(/tmp/multipartBody6070758933328707408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544362845,"filename":"image_01112025_00_05_18_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/1/c5a514d74ca1410ae775fb45a4302f32.jpg","text":"TemporaryFile(/tmp/multipartBody292261080210314276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544362845,"filename":"image_01112025_00_05_15_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/1/f19c339cd6923915cc3c06889b68cc4d.jpg","text":"TemporaryFile(/tmp/multipartBody7575677277393659565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544362845,"filename":"image_01112025_00_05_27_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c4c503e1e44bab7ccdc083a66e0cb33c.jpg","text":"TemporaryFile(/tmp/multipartBody8281514235911368175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544362845,"filename":"image_01112025_00_05_23_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/1/1185d50e16377a9f60a12ab3e99cfe60.jpg","text":"TemporaryFile(/tmp/multipartBody4906758077020376076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544362845,"filename":"image_01112025_00_05_12_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397133348","file1":"1397133347","file0":"1397133346","file4":"1397133350","file5":"1397133351","file3":"1397133349"},"map_files_photo_id_array":[{"photo_id":"1397133351","filename":"file5"},{"photo_id":"1397133348","filename":"file2"},{"photo_id":"1397133350","filename":"file4"},{"photo_id":"1397133347","filename":"file1"},{"photo_id":"1397133346","filename":"file0"},{"photo_id":"1397133349","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397133346":["hashtag1","hashtag2"]},{"1397133349":["hashtag1","hashtag2"]},{"1397133348":["hashtag1","hashtag2"]},{"1397133351":["hashtag1","hashtag2"]},{"1397133350":["hashtag1","hashtag2"]},{"1397133347":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397133346, 1397133349, 1397133348, 1397133351, 1397133350, 1397133347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57623338699341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 00:12:22.213066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/10/image_01122025_00_10_54_9754.jpg', '/home/pi/Desktop/images/01122025/00/11/image_01122025_00_11_24_10738.jpg', '/home/pi/Desktop/images/01122025/00/11/image_01122025_00_12_04_9684.jpg', '/home/pi/Desktop/images/01122025/00/12/image_01122025_00_12_13_9684.jpg', '/home/pi/Desktop/images/01122025/00/12/image_01122025_00_12_34_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/10/image_01122025_00_10_54_9754.jpg
/home/pi/Desktop/images/01122025/00/11/image_01122025_00_11_24_10738.jpg
/home/pi/Desktop/images/01122025/00/11/image_01122025_00_12_04_9684.jpg
/home/pi/Desktop/images/01122025/00/12/image_01122025_00_12_13_9684.jpg
/home/pi/Desktop/images/01122025/00/12/image_01122025_00_12_34_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397133355","1397133358","1397133360","1397133353","1397133356"],"photo_ids_order":["1397133353","1397133355","1397133356","1397133358","1397133360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/040191d431b5c4628c8e31db35ada4de.jpg","text":"TemporaryFile(/tmp/multipartBody4345765481976845987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544402908,"filename":"image_01122025_00_11_24_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5b381df296ee28a3e2a2a8a8bc3ad1fa.jpg","text":"TemporaryFile(/tmp/multipartBody865801128659777205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544402908,"filename":"image_01122025_00_12_13_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5433205c94ed4a6de4b93ac9ac0b3890.jpg","text":"TemporaryFile(/tmp/multipartBody3574908965873905768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544402908,"filename":"image_01122025_00_12_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/1/47daf76772fa7eb85098c74c10f6ced5.jpg","text":"TemporaryFile(/tmp/multipartBody6111796340915003535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544402908,"filename":"image_01122025_00_10_54_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/50b529e59d396656c32406fb070de94a.jpg","text":"TemporaryFile(/tmp/multipartBody5358408333079216640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544402908,"filename":"image_01122025_00_12_04_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397133356","file1":"1397133355","file0":"1397133353","file4":"1397133360","file3":"1397133358"},"map_files_photo_id_array":[{"photo_id":"1397133356","filename":"file2"},{"photo_id":"1397133360","filename":"file4"},{"photo_id":"1397133355","filename":"file1"},{"photo_id":"1397133353","filename":"file0"},{"photo_id":"1397133358","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397133355":["hashtag1","hashtag2"]},{"1397133358":["hashtag1","hashtag2"]},{"1397133360":["hashtag1","hashtag2"]},{"1397133353":["hashtag1","hashtag2"]},{"1397133356":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397133355, 1397133358, 1397133360, 1397133353, 1397133356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.717759609222412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:13:03.260167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_47_3010.jpg', '/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_50_2754.jpg', '/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_56_2537.jpg', '/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_59_2583.jpg', '/home/pi/Desktop/images/25112025/21/03/image_25112025_21_03_02_3520.jpg', '/home/pi/Desktop/images/25112025/21/03/image_25112025_21_03_05_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_47_3010.jpg
/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_50_2754.jpg
/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_56_2537.jpg
/home/pi/Desktop/images/25112025/21/02/image_25112025_21_02_59_2583.jpg
/home/pi/Desktop/images/25112025/21/03/image_25112025_21_03_02_3520.jpg
/home/pi/Desktop/images/25112025/21/03/image_25112025_21_03_05_2685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397133370","1397133364","1397133367","1397133363","1397133365","1397133362"],"photo_ids_order":["1397133362","1397133363","1397133364","1397133365","1397133367","1397133370"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a58d71df912e8bb8627a5b8558d1c990.jpg","text":"TemporaryFile(/tmp/multipartBody8361551197559291040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544444395,"filename":"image_25112025_21_03_05_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4344688aa722ca12860b80def1d40e33.jpg","text":"TemporaryFile(/tmp/multipartBody676647386003404303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544444395,"filename":"image_25112025_21_02_56_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/1/dd02835d822fdcc69f05ceed3e36c4d4.jpg","text":"TemporaryFile(/tmp/multipartBody6159231316594995316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544444395,"filename":"image_25112025_21_03_02_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/1/b3bd69db6380ee31d496b4ae6ad03e4a.jpg","text":"TemporaryFile(/tmp/multipartBody1323393240440936276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544444395,"filename":"image_25112025_21_02_50_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/1/a41d815d1bb2cd03808ce0795ff859d2.jpg","text":"TemporaryFile(/tmp/multipartBody3158297210938638260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544444395,"filename":"image_25112025_21_02_59_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/1/4a99bc15e0ad7c816b2aeb720ba5be67.jpg","text":"TemporaryFile(/tmp/multipartBody8263087238632272306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544444395,"filename":"image_25112025_21_02_47_3010.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397133364","file1":"1397133363","file0":"1397133362","file4":"1397133367","file5":"1397133370","file3":"1397133365"},"map_files_photo_id_array":[{"photo_id":"1397133370","filename":"file5"},{"photo_id":"1397133364","filename":"file2"},{"photo_id":"1397133367","filename":"file4"},{"photo_id":"1397133363","filename":"file1"},{"photo_id":"1397133362","filename":"file0"},{"photo_id":"1397133365","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397133370":["hashtag1","hashtag2"]},{"1397133364":["hashtag1","hashtag2"]},{"1397133367":["hashtag1","hashtag2"]},{"1397133363":["hashtag1","hashtag2"]},{"1397133365":["hashtag1","hashtag2"]},{"1397133362":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397133370, 1397133364, 1397133367, 1397133363, 1397133365, 1397133362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81371450424194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 00:13:42.433989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_30_2763.jpg', '/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_32_2504.jpg', '/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_36_3648.jpg', '/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_48_2722.jpg', '/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_50_2761.jpg', '/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_54_3811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_30_2763.jpg
/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_32_2504.jpg
/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_36_3648.jpg
/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_48_2722.jpg
/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_50_2761.jpg
/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_54_3811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397133373","1397133376","1397133375","1397133378","1397133377","1397133374"],"photo_ids_order":["1397133373","1397133374","1397133375","1397133376","1397133377","1397133378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7a85e99bd1f87f419f947f91c7be2d5c.jpg","text":"TemporaryFile(/tmp/multipartBody1823468284805782739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544483241,"filename":"image_01112025_00_05_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/1/edda7ee8e66b79e0345e4ef16dceb43a.jpg","text":"TemporaryFile(/tmp/multipartBody4347045278645600945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544483241,"filename":"image_01112025_00_05_48_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/1/360af6835cf8cf62b548f96eff52013b.jpg","text":"TemporaryFile(/tmp/multipartBody3283125234867754784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544483241,"filename":"image_01112025_00_05_36_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/1/911ab0c8a276e0c986430dc432349774.jpg","text":"TemporaryFile(/tmp/multipartBody3803241180708571719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544483241,"filename":"image_01112025_00_05_54_3811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bd293b68f160feb2ab9440e0ca42f75d.jpg","text":"TemporaryFile(/tmp/multipartBody3371164260846782038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544483241,"filename":"image_01112025_00_05_50_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e3ee8f4a54d5e2c324e4b6994b3bbfba.jpg","text":"TemporaryFile(/tmp/multipartBody7471680297447467353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544483241,"filename":"image_01112025_00_05_32_2504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397133375","file1":"1397133374","file0":"1397133373","file4":"1397133377","file5":"1397133378","file3":"1397133376"},"map_files_photo_id_array":[{"photo_id":"1397133378","filename":"file5"},{"photo_id":"1397133375","filename":"file2"},{"photo_id":"1397133377","filename":"file4"},{"photo_id":"1397133374","filename":"file1"},{"photo_id":"1397133373","filename":"file0"},{"photo_id":"1397133376","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397133373":["hashtag1","hashtag2"]},{"1397133376":["hashtag1","hashtag2"]},{"1397133375":["hashtag1","hashtag2"]},{"1397133378":["hashtag1","hashtag2"]},{"1397133377":["hashtag1","hashtag2"]},{"1397133374":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397133373, 1397133376, 1397133375, 1397133378, 1397133377, 1397133374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01814579963684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 00:14:22.728785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/12/image_01122025_00_12_44_9644.jpg', '/home/pi/Desktop/images/01122025/00/13/image_01122025_00_13_14_9760.jpg', '/home/pi/Desktop/images/01122025/00/13/image_01122025_00_13_24_10587.jpg', '/home/pi/Desktop/images/01122025/00/13/image_01122025_00_13_34_9654.jpg', '/home/pi/Desktop/images/01122025/00/13/image_01122025_00_13_53_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/12/image_01122025_00_12_44_9644.jpg
/home/pi/Desktop/images/01122025/00/13/image_01122025_00_13_14_9760.jpg
/home/pi/Desktop/images/01122025/00/13/image_01122025_00_13_24_10587.jpg
/home/pi/Desktop/images/01122025/00/13/image_01122025_00_13_34_9654.jpg
/home/pi/Desktop/images/01122025/00/13/image_01122025_00_13_53_9784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397133382","1397133384","1397133387","1397133389","1397133386"],"photo_ids_order":["1397133382","1397133384","1397133386","1397133387","1397133389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/657e42ac181a8d9f61c84f7f75caaa16.jpg","text":"TemporaryFile(/tmp/multipartBody5765072086557578014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544523430,"filename":"image_01122025_00_12_44_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9c553d8f47ad124df17aa3dc29b0b7f2.jpg","text":"TemporaryFile(/tmp/multipartBody4073513749739668944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544523430,"filename":"image_01122025_00_13_14_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/781a1f4c28792634e09076ed32673a09.jpg","text":"TemporaryFile(/tmp/multipartBody1223894536392487589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544523430,"filename":"image_01122025_00_13_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/1/3e21dec32f72ad51bf61c82f85b39748.jpg","text":"TemporaryFile(/tmp/multipartBody8233937466220545640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544523430,"filename":"image_01122025_00_13_53_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/1/fb26329c75109ba178277c1d69a8a626.jpg","text":"TemporaryFile(/tmp/multipartBody8839991906581445633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544523430,"filename":"image_01122025_00_13_24_10587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397133386","file1":"1397133384","file0":"1397133382","file4":"1397133389","file3":"1397133387"},"map_files_photo_id_array":[{"photo_id":"1397133386","filename":"file2"},{"photo_id":"1397133389","filename":"file4"},{"photo_id":"1397133384","filename":"file1"},{"photo_id":"1397133382","filename":"file0"},{"photo_id":"1397133387","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397133382":["hashtag1","hashtag2"]},{"1397133384":["hashtag1","hashtag2"]},{"1397133387":["hashtag1","hashtag2"]},{"1397133389":["hashtag1","hashtag2"]},{"1397133386":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397133382, 1397133384, 1397133387, 1397133389, 1397133386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.93611192703247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:15:03.490294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/03/image_25112025_21_03_08_2721.jpg', '/home/pi/Desktop/images/25112025/21/03/image_25112025_21_03_11_3643.jpg', '/home/pi/Desktop/images/25112025/21/03/image_25112025_21_03_14_2554.jpg', '/home/pi/Desktop/images/25112025/21/03/image_25112025_21_03_17_3600.jpg', '/home/pi/Desktop/images/25112025/21/03/image_25112025_21_03_23_2727.jpg', '/home/pi/Desktop/images/25112025/21/03/image_25112025_21_03_29_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/03/image_25112025_21_03_08_2721.jpg
/home/pi/Desktop/images/25112025/21/03/image_25112025_21_03_11_3643.jpg
/home/pi/Desktop/images/25112025/21/03/image_25112025_21_03_14_2554.jpg
/home/pi/Desktop/images/25112025/21/03/image_25112025_21_03_17_3600.jpg
/home/pi/Desktop/images/25112025/21/03/image_25112025_21_03_23_2727.jpg
/home/pi/Desktop/images/25112025/21/03/image_25112025_21_03_29_2752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397133390","1397133393","1397133395","1397133398","1397133392","1397133391"],"photo_ids_order":["1397133390","1397133391","1397133392","1397133393","1397133395","1397133398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/70f3e635823edc6fd187fb63f440c990.jpg","text":"TemporaryFile(/tmp/multipartBody9000702466517737412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544564717,"filename":"image_25112025_21_03_08_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/1/43bc6b98ff945b99ace4e647f4877639.jpg","text":"TemporaryFile(/tmp/multipartBody7153936875023777506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544564717,"filename":"image_25112025_21_03_17_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/1/de4dab555d0c8641ef0ead02e96a5d88.jpg","text":"TemporaryFile(/tmp/multipartBody4124184078851549165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544564717,"filename":"image_25112025_21_03_23_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/1/14045cd3ea83cb73e6e97e76c6de9d72.jpg","text":"TemporaryFile(/tmp/multipartBody1015399444172828529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544564717,"filename":"image_25112025_21_03_29_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2753ae113f841ec83f05342967118148.jpg","text":"TemporaryFile(/tmp/multipartBody44036153488503370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544564717,"filename":"image_25112025_21_03_14_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/184a6e8799855db07b3e252b97c7561c.jpg","text":"TemporaryFile(/tmp/multipartBody2755056237671559725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544564717,"filename":"image_25112025_21_03_11_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397133392","file1":"1397133391","file0":"1397133390","file4":"1397133395","file5":"1397133398","file3":"1397133393"},"map_files_photo_id_array":[{"photo_id":"1397133398","filename":"file5"},{"photo_id":"1397133392","filename":"file2"},{"photo_id":"1397133395","filename":"file4"},{"photo_id":"1397133391","filename":"file1"},{"photo_id":"1397133390","filename":"file0"},{"photo_id":"1397133393","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397133390":["hashtag1","hashtag2"]},{"1397133393":["hashtag1","hashtag2"]},{"1397133395":["hashtag1","hashtag2"]},{"1397133398":["hashtag1","hashtag2"]},{"1397133392":["hashtag1","hashtag2"]},{"1397133391":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397133390, 1397133393, 1397133395, 1397133398, 1397133392, 1397133391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34736967086792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 00:15:42.740824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_57_2670.jpg', '/home/pi/Desktop/images/01112025/00/05/image_01112025_00_06_00_2707.jpg', '/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_03_3608.jpg', '/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_06_2750.jpg', '/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_09_2609.jpg', '/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_15_3711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/05/image_01112025_00_05_57_2670.jpg
/home/pi/Desktop/images/01112025/00/05/image_01112025_00_06_00_2707.jpg
/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_03_3608.jpg
/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_06_2750.jpg
/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_09_2609.jpg
/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_15_3711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397133404","1397133406","1397133403","1397133402","1397133405","1397133401"],"photo_ids_order":["1397133401","1397133402","1397133403","1397133404","1397133405","1397133406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ba131d5c6da8082af255d470084f13ee.jpg","text":"TemporaryFile(/tmp/multipartBody1696392989642785615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544603577,"filename":"image_01112025_00_06_06_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/1/9e6748ecd0a91c3ee6291cc8d72b0202.jpg","text":"TemporaryFile(/tmp/multipartBody3648563908203649493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544603577,"filename":"image_01112025_00_06_15_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/1/814ee8017bd0d221cdbdf4b3f1f87e43.jpg","text":"TemporaryFile(/tmp/multipartBody8084781728319543724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544603577,"filename":"image_01112025_00_06_03_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/1/97c070565d42ddfb0c3e4a786906d8b2.jpg","text":"TemporaryFile(/tmp/multipartBody8256665096680423018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544603577,"filename":"image_01112025_00_06_00_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/1/3233fe3473317134232536a30d810eb4.jpg","text":"TemporaryFile(/tmp/multipartBody7397429205988626675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544603577,"filename":"image_01112025_00_06_09_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/1/f459af4e7657861573f9d5e1e2c72630.jpg","text":"TemporaryFile(/tmp/multipartBody6087188822767997033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544603577,"filename":"image_01112025_00_05_57_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397133403","file1":"1397133402","file0":"1397133401","file4":"1397133405","file5":"1397133406","file3":"1397133404"},"map_files_photo_id_array":[{"photo_id":"1397133406","filename":"file5"},{"photo_id":"1397133403","filename":"file2"},{"photo_id":"1397133405","filename":"file4"},{"photo_id":"1397133402","filename":"file1"},{"photo_id":"1397133401","filename":"file0"},{"photo_id":"1397133404","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397133404":["hashtag1","hashtag2"]},{"1397133406":["hashtag1","hashtag2"]},{"1397133403":["hashtag1","hashtag2"]},{"1397133402":["hashtag1","hashtag2"]},{"1397133405":["hashtag1","hashtag2"]},{"1397133401":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397133404, 1397133406, 1397133403, 1397133402, 1397133405, 1397133401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.908512115478516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 00:16:22.101309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/14/image_01122025_00_14_14_9705.jpg', '/home/pi/Desktop/images/01122025/00/14/image_01122025_00_15_04_9863.jpg', '/home/pi/Desktop/images/01122025/00/15/image_01122025_00_15_44_9686.jpg', '/home/pi/Desktop/images/01122025/00/15/image_01122025_00_15_54_9693.jpg', '/home/pi/Desktop/images/01122025/00/15/image_01122025_00_16_04_10797.jpg', '/home/pi/Desktop/images/01122025/00/16/image_01122025_00_16_14_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/14/image_01122025_00_14_14_9705.jpg
/home/pi/Desktop/images/01122025/00/14/image_01122025_00_15_04_9863.jpg
/home/pi/Desktop/images/01122025/00/15/image_01122025_00_15_44_9686.jpg
/home/pi/Desktop/images/01122025/00/15/image_01122025_00_15_54_9693.jpg
/home/pi/Desktop/images/01122025/00/15/image_01122025_00_16_04_10797.jpg
/home/pi/Desktop/images/01122025/00/16/image_01122025_00_16_14_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":["1397133418","1397133415","1397133417","1397133411","1397133408","1397133413"],"photo_ids_order":["1397133408","1397133411","1397133413","1397133415","1397133417","1397133418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d1af974a3ad00377b9b9dc71878a0d4e.jpg","text":"TemporaryFile(/tmp/multipartBody7306803931513165577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544642885,"filename":"image_01122025_00_16_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/1/1ec0fda29acaba684818ebd402d2d669.jpg","text":"TemporaryFile(/tmp/multipartBody5752845839464230328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544642885,"filename":"image_01122025_00_15_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/1/6973c273431b68396a3d41ba6c44b35f.jpg","text":"TemporaryFile(/tmp/multipartBody3322302463230818533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544642885,"filename":"image_01122025_00_16_04_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/1/5852d95afcf247ce53543504dab60415.jpg","text":"TemporaryFile(/tmp/multipartBody197047685571084817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544642885,"filename":"image_01122025_00_15_04_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/1/6b232017a80fee69555e61c0e793af8b.jpg","text":"TemporaryFile(/tmp/multipartBody2494532043345011059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544642885,"filename":"image_01122025_00_14_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/1/37d04cbb900b6047cbee2505d95d7e42.jpg","text":"TemporaryFile(/tmp/multipartBody3026926996359470049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544642885,"filename":"image_01122025_00_15_44_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397133413","file1":"1397133411","file0":"1397133408","file4":"1397133417","file5":"1397133418","file3":"1397133415"},"map_files_photo_id_array":[{"photo_id":"1397133418","filename":"file5"},{"photo_id":"1397133413","filename":"file2"},{"photo_id":"1397133417","filename":"file4"},{"photo_id":"1397133411","filename":"file1"},{"photo_id":"1397133408","filename":"file0"},{"photo_id":"1397133415","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397133418":["hashtag1","hashtag2"]},{"1397133415":["hashtag1","hashtag2"]},{"1397133417":["hashtag1","hashtag2"]},{"1397133411":["hashtag1","hashtag2"]},{"1397133408":["hashtag1","hashtag2"]},{"1397133413":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397133418, 1397133415, 1397133417, 1397133411, 1397133408, 1397133413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98611760139465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:17:02.770423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/16/image_01122025_00_16_24_10075.jpg', '/home/pi/Desktop/images/01122025/00/16/image_01122025_00_16_44_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/16/image_01122025_00_16_24_10075.jpg
/home/pi/Desktop/images/01122025/00/16/image_01122025_00_16_44_9621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397133419","1397133420"],"photo_ids_order":["1397133419","1397133420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0bf6519c19d95d40deb217abcc2934db.jpg","text":"TemporaryFile(/tmp/multipartBody6243047820839043605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544683340,"filename":"image_01122025_00_16_24_10075.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/760408a80af50da288249ae4e8707eba.jpg","text":"TemporaryFile(/tmp/multipartBody386147551494442812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544683340,"filename":"image_01122025_00_16_44_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397133420","file0":"1397133419"},"map_files_photo_id_array":[{"photo_id":"1397133420","filename":"file1"},{"photo_id":"1397133419","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397133419":["hashtag1","hashtag2"]},{"1397133420":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397133419, 1397133420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.233958959579468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 00:17:22.121309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/16/image_01122025_00_16_54_10742.jpg', '/home/pi/Desktop/images/01122025/00/16/image_01122025_00_17_04_9692.jpg', '/home/pi/Desktop/images/01122025/00/17/image_01122025_00_17_14_9732.jpg', '/home/pi/Desktop/images/01122025/00/17/image_01122025_00_17_24_10661.jpg', '/home/pi/Desktop/images/01122025/00/17/image_01122025_00_17_34_9549.jpg', '/home/pi/Desktop/images/01122025/00/17/image_01122025_00_17_44_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/16/image_01122025_00_16_54_10742.jpg
/home/pi/Desktop/images/01122025/00/16/image_01122025_00_17_04_9692.jpg
/home/pi/Desktop/images/01122025/00/17/image_01122025_00_17_14_9732.jpg
/home/pi/Desktop/images/01122025/00/17/image_01122025_00_17_24_10661.jpg
/home/pi/Desktop/images/01122025/00/17/image_01122025_00_17_34_9549.jpg
/home/pi/Desktop/images/01122025/00/17/image_01122025_00_17_44_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":["1397133430","1397133427","1397133429","1397133423","1397133431","1397133425"],"photo_ids_order":["1397133423","1397133425","1397133427","1397133429","1397133430","1397133431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5d323a100334199d9ecf41114e3d3cb4.jpg","text":"TemporaryFile(/tmp/multipartBody7613257059887926166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544702871,"filename":"image_01122025_00_17_34_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/56874fc68a9d43ed939b1582c80c26fd.jpg","text":"TemporaryFile(/tmp/multipartBody2332293647397174399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544702871,"filename":"image_01122025_00_17_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/1/e973ae33f4b1e48b68f923a8113d7244.jpg","text":"TemporaryFile(/tmp/multipartBody7541772996052213465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544702871,"filename":"image_01122025_00_17_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/1/1a86bab9084d4992d5850d41b2ea238f.jpg","text":"TemporaryFile(/tmp/multipartBody8496784725212381891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544702871,"filename":"image_01122025_00_16_54_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/602a2a4d3b63a680d5767568e1a8fa05.jpg","text":"TemporaryFile(/tmp/multipartBody2646382641568344012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544702871,"filename":"image_01122025_00_17_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/1/05d9b426e31833a90c6dbec2c449f0ba.jpg","text":"TemporaryFile(/tmp/multipartBody4581595797041686472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544702871,"filename":"image_01122025_00_17_04_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397133427","file1":"1397133425","file0":"1397133423","file4":"1397133430","file5":"1397133431","file3":"1397133429"},"map_files_photo_id_array":[{"photo_id":"1397133431","filename":"file5"},{"photo_id":"1397133427","filename":"file2"},{"photo_id":"1397133430","filename":"file4"},{"photo_id":"1397133425","filename":"file1"},{"photo_id":"1397133423","filename":"file0"},{"photo_id":"1397133429","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397133430":["hashtag1","hashtag2"]},{"1397133427":["hashtag1","hashtag2"]},{"1397133429":["hashtag1","hashtag2"]},{"1397133423":["hashtag1","hashtag2"]},{"1397133431":["hashtag1","hashtag2"]},{"1397133425":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397133430, 1397133427, 1397133429, 1397133423, 1397133431, 1397133425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03882074356079 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:18:02.708105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/03/image_25112025_21_03_32_2598.jpg', '/home/pi/Desktop/images/25112025/21/03/image_25112025_21_03_48_7305.jpg', '/home/pi/Desktop/images/25112025/21/03/image_25112025_21_03_50_1721.jpg', '/home/pi/Desktop/images/25112025/21/03/image_25112025_21_03_56_4457.jpg', '/home/pi/Desktop/images/25112025/21/03/image_25112025_21_03_58_1702.jpg', '/home/pi/Desktop/images/25112025/21/03/image_25112025_21_03_59_1531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/03/image_25112025_21_03_32_2598.jpg
/home/pi/Desktop/images/25112025/21/03/image_25112025_21_03_48_7305.jpg
/home/pi/Desktop/images/25112025/21/03/image_25112025_21_03_50_1721.jpg
/home/pi/Desktop/images/25112025/21/03/image_25112025_21_03_56_4457.jpg
/home/pi/Desktop/images/25112025/21/03/image_25112025_21_03_58_1702.jpg
/home/pi/Desktop/images/25112025/21/03/image_25112025_21_03_59_1531.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397133433","1397133435","1397133432","1397133440","1397133434","1397133437"],"photo_ids_order":["1397133432","1397133433","1397133434","1397133435","1397133437","1397133440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a4c65249793f1bab852c347823da1f61.jpg","text":"TemporaryFile(/tmp/multipartBody1387875583976190239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544743847,"filename":"image_25112025_21_03_48_7305.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d45a307bdfde7681b10f58f987db97d7.jpg","text":"TemporaryFile(/tmp/multipartBody2381804714452824776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544743847,"filename":"image_25112025_21_03_56_4457.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0055595fa7d5b1938c7c8801333f29aa.jpg","text":"TemporaryFile(/tmp/multipartBody6944544537499708394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544743847,"filename":"image_25112025_21_03_32_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/1/786001fe1629645259664256c7a7fbf9.jpg","text":"TemporaryFile(/tmp/multipartBody6954837253557433392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544743847,"filename":"image_25112025_21_03_59_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/1/53e952418bc99c7f85a74dab3c62ccfb.jpg","text":"TemporaryFile(/tmp/multipartBody8273848011612747790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544743847,"filename":"image_25112025_21_03_50_1721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4be39e543464184af5b496bdf1a83311.jpg","text":"TemporaryFile(/tmp/multipartBody8098541004390754412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544743847,"filename":"image_25112025_21_03_58_1702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397133434","file1":"1397133433","file0":"1397133432","file4":"1397133437","file5":"1397133440","file3":"1397133435"},"map_files_photo_id_array":[{"photo_id":"1397133440","filename":"file5"},{"photo_id":"1397133434","filename":"file2"},{"photo_id":"1397133437","filename":"file4"},{"photo_id":"1397133433","filename":"file1"},{"photo_id":"1397133432","filename":"file0"},{"photo_id":"1397133435","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397133433":["hashtag1","hashtag2"]},{"1397133435":["hashtag1","hashtag2"]},{"1397133432":["hashtag1","hashtag2"]},{"1397133440":["hashtag1","hashtag2"]},{"1397133434":["hashtag1","hashtag2"]},{"1397133437":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397133433, 1397133435, 1397133432, 1397133440, 1397133434, 1397133437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.419671297073364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 00:18:42.378121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_18_2923.jpg', '/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_21_2829.jpg', '/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_23_2651.jpg', '/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_27_3652.jpg', '/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_30_2717.jpg', '/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_32_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_18_2923.jpg
/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_21_2829.jpg
/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_23_2651.jpg
/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_27_3652.jpg
/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_30_2717.jpg
/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_32_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":["1397133442","1397133445","1397133447","1397133444","1397133443","1397133446"],"photo_ids_order":["1397133442","1397133443","1397133444","1397133445","1397133446","1397133447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0d02c5be8a85b4e18d7d51d763162189.jpg","text":"TemporaryFile(/tmp/multipartBody3389897388122164273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544783222,"filename":"image_01112025_00_06_18_2923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8952ab27771cfd7e20df7ae8d4c51908.jpg","text":"TemporaryFile(/tmp/multipartBody8338575407207873627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544783222,"filename":"image_01112025_00_06_27_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b9a8d5c28f69146832eb1c87a31ffa8b.jpg","text":"TemporaryFile(/tmp/multipartBody5622664443515124164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544783222,"filename":"image_01112025_00_06_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/1/d4bfd68372edfd44febaf22ae3bb0926.jpg","text":"TemporaryFile(/tmp/multipartBody4849284503699505103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544783222,"filename":"image_01112025_00_06_23_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/1/0f58214bdfa6d0d55a3b69569a2af2fa.jpg","text":"TemporaryFile(/tmp/multipartBody7452295831322104467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544783222,"filename":"image_01112025_00_06_21_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/31503f55fef3f27160bb4a39fde0a602.jpg","text":"TemporaryFile(/tmp/multipartBody7902786301920321528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544783222,"filename":"image_01112025_00_06_30_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397133444","file1":"1397133443","file0":"1397133442","file4":"1397133446","file5":"1397133447","file3":"1397133445"},"map_files_photo_id_array":[{"photo_id":"1397133447","filename":"file5"},{"photo_id":"1397133444","filename":"file2"},{"photo_id":"1397133446","filename":"file4"},{"photo_id":"1397133443","filename":"file1"},{"photo_id":"1397133442","filename":"file0"},{"photo_id":"1397133445","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397133442":["hashtag1","hashtag2"]},{"1397133445":["hashtag1","hashtag2"]},{"1397133447":["hashtag1","hashtag2"]},{"1397133444":["hashtag1","hashtag2"]},{"1397133443":["hashtag1","hashtag2"]},{"1397133446":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397133442, 1397133445, 1397133447, 1397133444, 1397133443, 1397133446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31044673919678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 00:19:22.653045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/17/image_01122025_00_17_54_10728.jpg', '/home/pi/Desktop/images/01122025/00/18/image_01122025_00_18_14_9606.jpg', '/home/pi/Desktop/images/01122025/00/18/image_01122025_00_18_24_10709.jpg', '/home/pi/Desktop/images/01122025/00/18/image_01122025_00_18_34_9730.jpg', '/home/pi/Desktop/images/01122025/00/18/image_01122025_00_18_44_9711.jpg', '/home/pi/Desktop/images/01122025/00/18/image_01122025_00_18_54_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/17/image_01122025_00_17_54_10728.jpg
/home/pi/Desktop/images/01122025/00/18/image_01122025_00_18_14_9606.jpg
/home/pi/Desktop/images/01122025/00/18/image_01122025_00_18_24_10709.jpg
/home/pi/Desktop/images/01122025/00/18/image_01122025_00_18_34_9730.jpg
/home/pi/Desktop/images/01122025/00/18/image_01122025_00_18_44_9711.jpg
/home/pi/Desktop/images/01122025/00/18/image_01122025_00_18_54_9716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397133503","1397133454","1397133456","1397133450","1397133467","1397133452"],"photo_ids_order":["1397133450","1397133452","1397133454","1397133456","1397133467","1397133503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3905e6941a8ca1e7480cf3dbdc55d265.jpg","text":"TemporaryFile(/tmp/multipartBody5384939060007242613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544823405,"filename":"image_01122025_00_18_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/1/9d564350998e3cfcb379c20536d98426.jpg","text":"TemporaryFile(/tmp/multipartBody7847151322604037423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544823405,"filename":"image_01122025_00_18_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/1/68ac3e45a69c4e024bb91ca08f944858.jpg","text":"TemporaryFile(/tmp/multipartBody8330106740650037989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544823405,"filename":"image_01122025_00_18_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/1/1672de9d77ede3cb79b1c1eddd36ad88.jpg","text":"TemporaryFile(/tmp/multipartBody4146787191052350395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544823405,"filename":"image_01122025_00_17_54_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3123e14b0015e3605a2d5af947cf4845.jpg","text":"TemporaryFile(/tmp/multipartBody3048606089762010967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544823405,"filename":"image_01122025_00_18_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/1/1859cf464b9f140fc27d7880eac43c57.jpg","text":"TemporaryFile(/tmp/multipartBody776336655008650380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544823405,"filename":"image_01122025_00_18_14_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397133454","file1":"1397133452","file0":"1397133450","file4":"1397133467","file5":"1397133503","file3":"1397133456"},"map_files_photo_id_array":[{"photo_id":"1397133503","filename":"file5"},{"photo_id":"1397133454","filename":"file2"},{"photo_id":"1397133467","filename":"file4"},{"photo_id":"1397133452","filename":"file1"},{"photo_id":"1397133450","filename":"file0"},{"photo_id":"1397133456","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397133503":["hashtag1","hashtag2"]},{"1397133454":["hashtag1","hashtag2"]},{"1397133456":["hashtag1","hashtag2"]},{"1397133450":["hashtag1","hashtag2"]},{"1397133467":["hashtag1","hashtag2"]},{"1397133452":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397133503, 1397133454, 1397133456, 1397133450, 1397133467, 1397133452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.916576623916626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:20:03.213628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/18/image_01122025_00_19_04_10828.jpg', '/home/pi/Desktop/images/01122025/00/19/image_01122025_00_19_14_9885.jpg', '/home/pi/Desktop/images/01122025/00/19/image_01122025_00_19_24_9624.jpg', '/home/pi/Desktop/images/01122025/00/19/image_01122025_00_19_33_9565.jpg', '/home/pi/Desktop/images/01122025/00/19/image_01122025_00_19_44_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/18/image_01122025_00_19_04_10828.jpg
/home/pi/Desktop/images/01122025/00/19/image_01122025_00_19_14_9885.jpg
/home/pi/Desktop/images/01122025/00/19/image_01122025_00_19_24_9624.jpg
/home/pi/Desktop/images/01122025/00/19/image_01122025_00_19_33_9565.jpg
/home/pi/Desktop/images/01122025/00/19/image_01122025_00_19_44_10636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397133643","1397133681","1397133797","1397133755","1397133719"],"photo_ids_order":["1397133643","1397133681","1397133719","1397133755","1397133797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2e705004d3d9fef81e917e3fe2976c3f.jpg","text":"TemporaryFile(/tmp/multipartBody6543472262398505085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544863998,"filename":"image_01122025_00_19_04_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/1/d0524cbdb0bda441f119536117ebc316.jpg","text":"TemporaryFile(/tmp/multipartBody3006517601293968956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544863998,"filename":"image_01122025_00_19_14_9885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a1e6136b9ea570e1b1286b45ee130ad8.jpg","text":"TemporaryFile(/tmp/multipartBody3839998167432586270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544863998,"filename":"image_01122025_00_19_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/1/0675f64b24dc7fb45f93c50060f8f668.jpg","text":"TemporaryFile(/tmp/multipartBody6010495694044123594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544863998,"filename":"image_01122025_00_19_33_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/1/6b9e8f010df68337efe31cc4ceaefca2.jpg","text":"TemporaryFile(/tmp/multipartBody2800784821998157102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544863998,"filename":"image_01122025_00_19_24_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397133719","file1":"1397133681","file0":"1397133643","file4":"1397133797","file3":"1397133755"},"map_files_photo_id_array":[{"photo_id":"1397133719","filename":"file2"},{"photo_id":"1397133797","filename":"file4"},{"photo_id":"1397133681","filename":"file1"},{"photo_id":"1397133643","filename":"file0"},{"photo_id":"1397133755","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397133643":["hashtag1","hashtag2"]},{"1397133681":["hashtag1","hashtag2"]},{"1397133797":["hashtag1","hashtag2"]},{"1397133755":["hashtag1","hashtag2"]},{"1397133719":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397133643, 1397133681, 1397133797, 1397133755, 1397133719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.535347938537598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 00:20:42.857812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_36_3670.jpg', '/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_39_2634.jpg', '/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_41_2560.jpg', '/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_45_3654.jpg', '/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_48_3127.jpg', '/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_51_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_36_3670.jpg
/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_39_2634.jpg
/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_41_2560.jpg
/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_45_3654.jpg
/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_48_3127.jpg
/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_51_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":["1397133979","1397134197","1397134041","1397134364","1397134124","1397134282"],"photo_ids_order":["1397133979","1397134041","1397134124","1397134197","1397134282","1397134364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d36a7970a4a0757fcd2c7111f50f5b04.jpg","text":"TemporaryFile(/tmp/multipartBody1113945251699952398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544903660,"filename":"image_01112025_00_06_36_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/1/d312bd3c8789090df70a46c10b9fce63.jpg","text":"TemporaryFile(/tmp/multipartBody6960573716331684055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544903660,"filename":"image_01112025_00_06_45_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/65d0cba99c769ee41314aae77d51d844.jpg","text":"TemporaryFile(/tmp/multipartBody1632697456018498736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544903660,"filename":"image_01112025_00_06_39_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/1/ab0aeb4043f17ee8350b9234051cf565.jpg","text":"TemporaryFile(/tmp/multipartBody4864645319390664364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544903660,"filename":"image_01112025_00_06_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/1/5f4dc1436c08dcd553f66f4ef68877e9.jpg","text":"TemporaryFile(/tmp/multipartBody2599162856605925168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544903660,"filename":"image_01112025_00_06_41_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/235d87ce1e77996e8a1e15a10733a917.jpg","text":"TemporaryFile(/tmp/multipartBody8333724812801025606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544903660,"filename":"image_01112025_00_06_48_3127.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397134124","file1":"1397134041","file0":"1397133979","file4":"1397134282","file5":"1397134364","file3":"1397134197"},"map_files_photo_id_array":[{"photo_id":"1397134364","filename":"file5"},{"photo_id":"1397134124","filename":"file2"},{"photo_id":"1397134282","filename":"file4"},{"photo_id":"1397134041","filename":"file1"},{"photo_id":"1397133979","filename":"file0"},{"photo_id":"1397134197","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397133979":["hashtag1","hashtag2"]},{"1397134197":["hashtag1","hashtag2"]},{"1397134041":["hashtag1","hashtag2"]},{"1397134364":["hashtag1","hashtag2"]},{"1397134124":["hashtag1","hashtag2"]},{"1397134282":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397133979, 1397134197, 1397134041, 1397134364, 1397134124, 1397134282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85597777366638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 00:21:21.997879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/19/image_01122025_00_19_54_9574.jpg', '/home/pi/Desktop/images/01122025/00/19/image_01122025_00_20_04_10682.jpg', '/home/pi/Desktop/images/01122025/00/20/image_01122025_00_20_14_9671.jpg', '/home/pi/Desktop/images/01122025/00/20/image_01122025_00_20_34_9831.jpg', '/home/pi/Desktop/images/01122025/00/20/image_01122025_00_20_44_10673.jpg', '/home/pi/Desktop/images/01122025/00/20/image_01122025_00_20_54_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/19/image_01122025_00_19_54_9574.jpg
/home/pi/Desktop/images/01122025/00/19/image_01122025_00_20_04_10682.jpg
/home/pi/Desktop/images/01122025/00/20/image_01122025_00_20_14_9671.jpg
/home/pi/Desktop/images/01122025/00/20/image_01122025_00_20_34_9831.jpg
/home/pi/Desktop/images/01122025/00/20/image_01122025_00_20_44_10673.jpg
/home/pi/Desktop/images/01122025/00/20/image_01122025_00_20_54_9738.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6664454936981201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 00:21:31.993444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_02_2585.jpg', '/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_05_2751.jpg', '/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_08_3693.jpg', '/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_11_2614.jpg', '/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_14_2726.jpg', '/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_16_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_02_2585.jpg
/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_05_2751.jpg
/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_08_3693.jpg
/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_11_2614.jpg
/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_14_2726.jpg
/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_16_2702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397134747","1397134669","1397134593","1397134818","1397134634","1397134706"],"photo_ids_order":["1397134593","1397134634","1397134669","1397134706","1397134747","1397134818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/35a936cd90d18fe42c569e3324acaf3a.jpg","text":"TemporaryFile(/tmp/multipartBody6754590738141042267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544953758,"filename":"image_25112025_21_04_14_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/1/2de21fe43dfc14a41e329e2b9c4e6831.jpg","text":"TemporaryFile(/tmp/multipartBody7080740373780102083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544953758,"filename":"image_25112025_21_04_08_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/1/239bdbb0a468892be524d229a2527b36.jpg","text":"TemporaryFile(/tmp/multipartBody3938247981602346619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544953758,"filename":"image_25112025_21_04_02_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/1/7b9e230bd40a3fba31d9e39d51d912ba.jpg","text":"TemporaryFile(/tmp/multipartBody5142067785341808878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544953758,"filename":"image_25112025_21_04_16_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0202206422a44b99eba44de7035588e7.jpg","text":"TemporaryFile(/tmp/multipartBody8273721353778061262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544953758,"filename":"image_25112025_21_04_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/1/b0276f5f6cb25393926c7626c3509224.jpg","text":"TemporaryFile(/tmp/multipartBody3504929481709164352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544953758,"filename":"image_25112025_21_04_11_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397134669","file1":"1397134634","file0":"1397134593","file4":"1397134747","file5":"1397134818","file3":"1397134706"},"map_files_photo_id_array":[{"photo_id":"1397134818","filename":"file5"},{"photo_id":"1397134669","filename":"file2"},{"photo_id":"1397134747","filename":"file4"},{"photo_id":"1397134634","filename":"file1"},{"photo_id":"1397134593","filename":"file0"},{"photo_id":"1397134706","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397134747":["hashtag1","hashtag2"]},{"1397134669":["hashtag1","hashtag2"]},{"1397134593":["hashtag1","hashtag2"]},{"1397134818":["hashtag1","hashtag2"]},{"1397134634":["hashtag1","hashtag2"]},{"1397134706":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397134747, 1397134669, 1397134593, 1397134818, 1397134634, 1397134706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98899555206299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 00:22:12.107687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_20_3565.jpg', '/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_23_2668.jpg', '/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_25_2803.jpg', '/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_29_3699.jpg', '/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_34_2743.jpg', '/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_38_3727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_20_3565.jpg
/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_23_2668.jpg
/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_25_2803.jpg
/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_29_3699.jpg
/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_34_2743.jpg
/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_38_3727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397135178","1397135198","1397135202","1397135156","1397135159","1397135111"],"photo_ids_order":["1397135111","1397135156","1397135159","1397135178","1397135198","1397135202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2dcb3c901ac9e30f1bbf6a33d8f999e2.jpg","text":"TemporaryFile(/tmp/multipartBody8273208122651462490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544993768,"filename":"image_25112025_21_04_29_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/1/0221c644c53b93e773b78832df0eb9dc.jpg","text":"TemporaryFile(/tmp/multipartBody2833755492869374108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544993768,"filename":"image_25112025_21_04_34_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/1/9fb5ec4eccab59fffaa534405a81047b.jpg","text":"TemporaryFile(/tmp/multipartBody4985595804569857029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544993768,"filename":"image_25112025_21_04_38_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/1/c8b9bdff63cca86c86899179e6cdb56e.jpg","text":"TemporaryFile(/tmp/multipartBody6675932264118670950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544993768,"filename":"image_25112025_21_04_23_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/1/db0e347be0794c619b32a1c0de827a48.jpg","text":"TemporaryFile(/tmp/multipartBody5626691970420485195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544993768,"filename":"image_25112025_21_04_25_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/1/e68ac6d278a7852ff42968a4646f6216.jpg","text":"TemporaryFile(/tmp/multipartBody4385993850028688680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764544993768,"filename":"image_25112025_21_04_20_3565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397135159","file1":"1397135156","file0":"1397135111","file4":"1397135198","file5":"1397135202","file3":"1397135178"},"map_files_photo_id_array":[{"photo_id":"1397135202","filename":"file5"},{"photo_id":"1397135159","filename":"file2"},{"photo_id":"1397135198","filename":"file4"},{"photo_id":"1397135156","filename":"file1"},{"photo_id":"1397135111","filename":"file0"},{"photo_id":"1397135178","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397135178":["hashtag1","hashtag2"]},{"1397135198":["hashtag1","hashtag2"]},{"1397135202":["hashtag1","hashtag2"]},{"1397135156":["hashtag1","hashtag2"]},{"1397135159":["hashtag1","hashtag2"]},{"1397135111":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397135178, 1397135198, 1397135202, 1397135156, 1397135159, 1397135111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97718095779419 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:23:03.034334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/19/image_01122025_00_19_54_9574.jpg', '/home/pi/Desktop/images/01122025/00/19/image_01122025_00_20_04_10682.jpg', '/home/pi/Desktop/images/01122025/00/20/image_01122025_00_20_14_9671.jpg', '/home/pi/Desktop/images/01122025/00/20/image_01122025_00_20_34_9831.jpg', '/home/pi/Desktop/images/01122025/00/20/image_01122025_00_20_44_10673.jpg', '/home/pi/Desktop/images/01122025/00/20/image_01122025_00_20_54_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/19/image_01122025_00_19_54_9574.jpg
/home/pi/Desktop/images/01122025/00/19/image_01122025_00_20_04_10682.jpg
/home/pi/Desktop/images/01122025/00/20/image_01122025_00_20_14_9671.jpg
/home/pi/Desktop/images/01122025/00/20/image_01122025_00_20_34_9831.jpg
/home/pi/Desktop/images/01122025/00/20/image_01122025_00_20_44_10673.jpg
/home/pi/Desktop/images/01122025/00/20/image_01122025_00_20_54_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":["1397135424","1397135307","1397135383","1397135344","1397135266","1397135245"],"photo_ids_order":["1397135245","1397135266","1397135307","1397135344","1397135383","1397135424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7ed7811a4f943bcdfa15866e4fa51de4.jpg","text":"TemporaryFile(/tmp/multipartBody3521590729798873069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545043893,"filename":"image_01122025_00_20_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/1/6685c01864ee3c0bbabdfbbcf0a0ce83.jpg","text":"TemporaryFile(/tmp/multipartBody1581939468639849089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545043893,"filename":"image_01122025_00_20_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4060d0c2940c7ba7efa4238fb4c2ff81.jpg","text":"TemporaryFile(/tmp/multipartBody8806364841655426250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545043893,"filename":"image_01122025_00_20_44_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/81ca7b9b4067e50edeaaee6205c7a181.jpg","text":"TemporaryFile(/tmp/multipartBody3534060560525690742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545043893,"filename":"image_01122025_00_20_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/1/f4405d66190bb55ca00905b74fb4abff.jpg","text":"TemporaryFile(/tmp/multipartBody4538086603105041612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545043893,"filename":"image_01122025_00_20_04_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ef1d8e9b18be03de819b0e005bb75b61.jpg","text":"TemporaryFile(/tmp/multipartBody6851109798590618354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545043893,"filename":"image_01122025_00_19_54_9574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397135307","file1":"1397135266","file0":"1397135245","file4":"1397135383","file5":"1397135424","file3":"1397135344"},"map_files_photo_id_array":[{"photo_id":"1397135424","filename":"file5"},{"photo_id":"1397135307","filename":"file2"},{"photo_id":"1397135383","filename":"file4"},{"photo_id":"1397135266","filename":"file1"},{"photo_id":"1397135245","filename":"file0"},{"photo_id":"1397135344","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397135424":["hashtag1","hashtag2"]},{"1397135307":["hashtag1","hashtag2"]},{"1397135383":["hashtag1","hashtag2"]},{"1397135344":["hashtag1","hashtag2"]},{"1397135266":["hashtag1","hashtag2"]},{"1397135245":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397135424, 1397135307, 1397135383, 1397135344, 1397135266, 1397135245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.10723829269409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:24:03.195094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/20/image_01122025_00_21_04_9759.jpg', '/home/pi/Desktop/images/01122025/00/21/image_01122025_00_21_14_9781.jpg', '/home/pi/Desktop/images/01122025/00/21/image_01122025_00_21_24_10579.jpg', '/home/pi/Desktop/images/01122025/00/21/image_01122025_00_21_43_9571.jpg', '/home/pi/Desktop/images/01122025/00/21/image_01122025_00_21_54_10838.jpg', '/home/pi/Desktop/images/01122025/00/21/image_01122025_00_22_04_9582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/20/image_01122025_00_21_04_9759.jpg
/home/pi/Desktop/images/01122025/00/21/image_01122025_00_21_14_9781.jpg
/home/pi/Desktop/images/01122025/00/21/image_01122025_00_21_24_10579.jpg
/home/pi/Desktop/images/01122025/00/21/image_01122025_00_21_43_9571.jpg
/home/pi/Desktop/images/01122025/00/21/image_01122025_00_21_54_10838.jpg
/home/pi/Desktop/images/01122025/00/21/image_01122025_00_22_04_9582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397135595","1397135580","1397135553","1397135640","1397135597","1397135683"],"photo_ids_order":["1397135553","1397135580","1397135595","1397135597","1397135640","1397135683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bbc7287ee925beacb245324571a7f28d.jpg","text":"TemporaryFile(/tmp/multipartBody7588949372265536499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545104001,"filename":"image_01122025_00_21_24_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/1/8cd31f693a4e6baeded5e00edd52e20a.jpg","text":"TemporaryFile(/tmp/multipartBody6636800432434758979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545104001,"filename":"image_01122025_00_21_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/1/4174d0f2bbb563cc6cac4380942663c5.jpg","text":"TemporaryFile(/tmp/multipartBody2669189216749595541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545104001,"filename":"image_01122025_00_21_04_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7e697c1214b26db1e63ce353cfdd1ea5.jpg","text":"TemporaryFile(/tmp/multipartBody3928738890458104602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545104001,"filename":"image_01122025_00_21_54_10838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dae3e852f3d715be09cb4877e83087a9.jpg","text":"TemporaryFile(/tmp/multipartBody3509821471379675154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545104001,"filename":"image_01122025_00_21_43_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/1/088c500c8a8aaa29e04abbd665575d1d.jpg","text":"TemporaryFile(/tmp/multipartBody4165069512804107919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545104001,"filename":"image_01122025_00_22_04_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397135595","file1":"1397135580","file0":"1397135553","file4":"1397135640","file5":"1397135683","file3":"1397135597"},"map_files_photo_id_array":[{"photo_id":"1397135683","filename":"file5"},{"photo_id":"1397135595","filename":"file2"},{"photo_id":"1397135640","filename":"file4"},{"photo_id":"1397135580","filename":"file1"},{"photo_id":"1397135553","filename":"file0"},{"photo_id":"1397135597","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397135595":["hashtag1","hashtag2"]},{"1397135580":["hashtag1","hashtag2"]},{"1397135553":["hashtag1","hashtag2"]},{"1397135640":["hashtag1","hashtag2"]},{"1397135597":["hashtag1","hashtag2"]},{"1397135683":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397135595, 1397135580, 1397135553, 1397135640, 1397135597, 1397135683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.70872116088867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:25:03.301669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/22/image_01122025_00_22_24_10751.jpg', '/home/pi/Desktop/images/01122025/00/22/image_01122025_00_22_44_9654.jpg', '/home/pi/Desktop/images/01122025/00/22/image_01122025_00_22_54_10854.jpg', '/home/pi/Desktop/images/01122025/00/23/image_01122025_00_23_14_9707.jpg', '/home/pi/Desktop/images/01122025/00/23/image_01122025_00_23_23_9737.jpg', '/home/pi/Desktop/images/01122025/00/23/image_01122025_00_23_34_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/22/image_01122025_00_22_24_10751.jpg
/home/pi/Desktop/images/01122025/00/22/image_01122025_00_22_44_9654.jpg
/home/pi/Desktop/images/01122025/00/22/image_01122025_00_22_54_10854.jpg
/home/pi/Desktop/images/01122025/00/23/image_01122025_00_23_14_9707.jpg
/home/pi/Desktop/images/01122025/00/23/image_01122025_00_23_23_9737.jpg
/home/pi/Desktop/images/01122025/00/23/image_01122025_00_23_34_10664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397136066","1397136105","1397135955","1397136031","1397135992","1397136142"],"photo_ids_order":["1397135955","1397135992","1397136031","1397136066","1397136105","1397136142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0c558eb13bc2b320733c935fc698fade.jpg","text":"TemporaryFile(/tmp/multipartBody7009636171997524574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545164104,"filename":"image_01122025_00_23_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/1/daaf8975c68913382ab3051cd68154bc.jpg","text":"TemporaryFile(/tmp/multipartBody1370871935821924992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545164104,"filename":"image_01122025_00_23_23_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/04fcb76fdb779ac69a66bb1eb4bd3193.jpg","text":"TemporaryFile(/tmp/multipartBody6004603476733694296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545164104,"filename":"image_01122025_00_22_24_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f5cbfcc1eda0977d764cc99083aab137.jpg","text":"TemporaryFile(/tmp/multipartBody2834686286396759213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545164104,"filename":"image_01122025_00_22_54_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/1/535a55417c4ccc9a8612e546a074024d.jpg","text":"TemporaryFile(/tmp/multipartBody2841048309219593892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545164104,"filename":"image_01122025_00_22_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/1/42080daed1031b1b74af5a7f4e56e66c.jpg","text":"TemporaryFile(/tmp/multipartBody5503895838855621844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545164104,"filename":"image_01122025_00_23_34_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397136031","file1":"1397135992","file0":"1397135955","file4":"1397136105","file5":"1397136142","file3":"1397136066"},"map_files_photo_id_array":[{"photo_id":"1397136142","filename":"file5"},{"photo_id":"1397136031","filename":"file2"},{"photo_id":"1397136105","filename":"file4"},{"photo_id":"1397135992","filename":"file1"},{"photo_id":"1397135955","filename":"file0"},{"photo_id":"1397136066","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397136066":["hashtag1","hashtag2"]},{"1397136105":["hashtag1","hashtag2"]},{"1397135955":["hashtag1","hashtag2"]},{"1397136031":["hashtag1","hashtag2"]},{"1397135992":["hashtag1","hashtag2"]},{"1397136142":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397136066, 1397136105, 1397135955, 1397136031, 1397135992, 1397136142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.437406063079834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 00:25:42.679902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_53_2679.jpg', '/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_56_2820.jpg', '/home/pi/Desktop/images/01112025/00/06/image_01112025_00_07_00_3653.jpg', '/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_03_2557.jpg', '/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_05_2877.jpg', '/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_09_3780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_53_2679.jpg
/home/pi/Desktop/images/01112025/00/06/image_01112025_00_06_56_2820.jpg
/home/pi/Desktop/images/01112025/00/06/image_01112025_00_07_00_3653.jpg
/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_03_2557.jpg
/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_05_2877.jpg
/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_09_3780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397136462","1397136426","1397136389","1397136281","1397136353","1397136317"],"photo_ids_order":["1397136281","1397136317","1397136353","1397136389","1397136426","1397136462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9b789e948140b9a639d6a72816b849de.jpg","text":"TemporaryFile(/tmp/multipartBody2068414138280524793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545203487,"filename":"image_01112025_00_07_09_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/1/189e2e4f6fa79d02f8b6fc92440b88a7.jpg","text":"TemporaryFile(/tmp/multipartBody1719588871093195127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545203487,"filename":"image_01112025_00_07_05_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/1/c15af0d3d1b992df99ad5c48427f55d8.jpg","text":"TemporaryFile(/tmp/multipartBody7415787522138537845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545203487,"filename":"image_01112025_00_07_03_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/1/57ae99609c39192d5340764210fd5393.jpg","text":"TemporaryFile(/tmp/multipartBody4945740843796481933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545203487,"filename":"image_01112025_00_06_53_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/1/9d1eef70acc1ad66b6b049fbccbd9375.jpg","text":"TemporaryFile(/tmp/multipartBody1395507007730088339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545203487,"filename":"image_01112025_00_07_00_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/1/e1e6fc26113fb55d0c8f1e5a420f9ba7.jpg","text":"TemporaryFile(/tmp/multipartBody8681820359141570409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545203487,"filename":"image_01112025_00_06_56_2820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397136353","file1":"1397136317","file0":"1397136281","file4":"1397136426","file5":"1397136462","file3":"1397136389"},"map_files_photo_id_array":[{"photo_id":"1397136462","filename":"file5"},{"photo_id":"1397136353","filename":"file2"},{"photo_id":"1397136426","filename":"file4"},{"photo_id":"1397136317","filename":"file1"},{"photo_id":"1397136281","filename":"file0"},{"photo_id":"1397136389","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397136462":["hashtag1","hashtag2"]},{"1397136426":["hashtag1","hashtag2"]},{"1397136389":["hashtag1","hashtag2"]},{"1397136281":["hashtag1","hashtag2"]},{"1397136353":["hashtag1","hashtag2"]},{"1397136317":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397136462, 1397136426, 1397136389, 1397136281, 1397136353, 1397136317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58684730529785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 00:26:21.868786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/23/image_01122025_00_23_44_9637.jpg', '/home/pi/Desktop/images/01122025/00/24/image_01122025_00_24_14_9671.jpg', '/home/pi/Desktop/images/01122025/00/24/image_01122025_00_24_34_9875.jpg', '/home/pi/Desktop/images/01122025/00/24/image_01122025_00_24_54_9630.jpg', '/home/pi/Desktop/images/01122025/00/24/image_01122025_00_25_04_9803.jpg', '/home/pi/Desktop/images/01122025/00/25/image_01122025_00_25_24_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/23/image_01122025_00_23_44_9637.jpg
/home/pi/Desktop/images/01122025/00/24/image_01122025_00_24_14_9671.jpg
/home/pi/Desktop/images/01122025/00/24/image_01122025_00_24_34_9875.jpg
/home/pi/Desktop/images/01122025/00/24/image_01122025_00_24_54_9630.jpg
/home/pi/Desktop/images/01122025/00/24/image_01122025_00_25_04_9803.jpg
/home/pi/Desktop/images/01122025/00/25/image_01122025_00_25_24_9732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397136603","1397136695","1397136697","1397136682","1397136643","1397136696"],"photo_ids_order":["1397136603","1397136643","1397136682","1397136695","1397136696","1397136697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b8de9384887ceeeda97697191ce9ca9b.jpg","text":"TemporaryFile(/tmp/multipartBody6279398712297378925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545242620,"filename":"image_01122025_00_23_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/1/b3ede3d9ced6fe73317d30c139edb6b1.jpg","text":"TemporaryFile(/tmp/multipartBody717231696614567122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545242620,"filename":"image_01122025_00_24_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/1/8cf0a4dddb23d825423f9e7bfd65779f.jpg","text":"TemporaryFile(/tmp/multipartBody7360103596588655548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545242620,"filename":"image_01122025_00_25_24_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d06b72be29ad05e6863462558a9a4ea8.jpg","text":"TemporaryFile(/tmp/multipartBody2339470240941536692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545242620,"filename":"image_01122025_00_24_34_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6ee0fedccb6bde0e587fd4b490efb7f3.jpg","text":"TemporaryFile(/tmp/multipartBody2250853288814042451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545242620,"filename":"image_01122025_00_24_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/19781ebda8e5cef615dcefbee69f24c9.jpg","text":"TemporaryFile(/tmp/multipartBody3403540973408016770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545242620,"filename":"image_01122025_00_25_04_9803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397136682","file1":"1397136643","file0":"1397136603","file4":"1397136696","file5":"1397136697","file3":"1397136695"},"map_files_photo_id_array":[{"photo_id":"1397136697","filename":"file5"},{"photo_id":"1397136682","filename":"file2"},{"photo_id":"1397136696","filename":"file4"},{"photo_id":"1397136643","filename":"file1"},{"photo_id":"1397136603","filename":"file0"},{"photo_id":"1397136695","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397136603":["hashtag1","hashtag2"]},{"1397136695":["hashtag1","hashtag2"]},{"1397136697":["hashtag1","hashtag2"]},{"1397136682":["hashtag1","hashtag2"]},{"1397136643":["hashtag1","hashtag2"]},{"1397136696":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397136603, 1397136695, 1397136697, 1397136682, 1397136643, 1397136696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.789700508117676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:27:02.744189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/25/image_01122025_00_25_34_9548.jpg', '/home/pi/Desktop/images/01122025/00/25/image_01122025_00_25_44_10784.jpg', '/home/pi/Desktop/images/01122025/00/25/image_01122025_00_25_54_9632.jpg', '/home/pi/Desktop/images/01122025/00/25/image_01122025_00_26_04_9693.jpg', '/home/pi/Desktop/images/01122025/00/26/image_01122025_00_26_14_10720.jpg', '/home/pi/Desktop/images/01122025/00/26/image_01122025_00_26_24_9921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/25/image_01122025_00_25_34_9548.jpg
/home/pi/Desktop/images/01122025/00/25/image_01122025_00_25_44_10784.jpg
/home/pi/Desktop/images/01122025/00/25/image_01122025_00_25_54_9632.jpg
/home/pi/Desktop/images/01122025/00/25/image_01122025_00_26_04_9693.jpg
/home/pi/Desktop/images/01122025/00/26/image_01122025_00_26_14_10720.jpg
/home/pi/Desktop/images/01122025/00/26/image_01122025_00_26_24_9921.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397136698","1397136705","1397136707","1397136700","1397136703","1397136699"],"photo_ids_order":["1397136698","1397136699","1397136700","1397136703","1397136705","1397136707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/62d125c3eb060fad533bb58aeecd1520.jpg","text":"TemporaryFile(/tmp/multipartBody6779852033640964447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545283521,"filename":"image_01122025_00_25_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/1/b83516b74b854129c15582d2cd2593c1.jpg","text":"TemporaryFile(/tmp/multipartBody5901528080839900150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545283521,"filename":"image_01122025_00_26_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/1/ff6c4c926b6b2bf441636d7b2e60fce4.jpg","text":"TemporaryFile(/tmp/multipartBody2612515283008289427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545283521,"filename":"image_01122025_00_26_24_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/1/810d0456791c7681a395aa43e5abcb5d.jpg","text":"TemporaryFile(/tmp/multipartBody3229132336005337168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545283521,"filename":"image_01122025_00_25_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/1/a4e57bb00f3fe6b4acd5da39b05a3064.jpg","text":"TemporaryFile(/tmp/multipartBody166244954975424298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545283521,"filename":"image_01122025_00_26_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/1/a99fbba1aa0f1efc7a42f1f07f77ebe8.jpg","text":"TemporaryFile(/tmp/multipartBody4150956452956694660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545283521,"filename":"image_01122025_00_25_44_10784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397136700","file1":"1397136699","file0":"1397136698","file4":"1397136705","file5":"1397136707","file3":"1397136703"},"map_files_photo_id_array":[{"photo_id":"1397136707","filename":"file5"},{"photo_id":"1397136700","filename":"file2"},{"photo_id":"1397136705","filename":"file4"},{"photo_id":"1397136699","filename":"file1"},{"photo_id":"1397136698","filename":"file0"},{"photo_id":"1397136703","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397136698":["hashtag1","hashtag2"]},{"1397136705":["hashtag1","hashtag2"]},{"1397136707":["hashtag1","hashtag2"]},{"1397136700":["hashtag1","hashtag2"]},{"1397136703":["hashtag1","hashtag2"]},{"1397136699":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397136698, 1397136705, 1397136707, 1397136700, 1397136703, 1397136699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.53449368476868 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:28:02.696715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/26/image_01122025_00_26_34_9658.jpg', '/home/pi/Desktop/images/01122025/00/26/image_01122025_00_26_44_9614.jpg', '/home/pi/Desktop/images/01122025/00/26/image_01122025_00_27_04_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/26/image_01122025_00_26_34_9658.jpg
/home/pi/Desktop/images/01122025/00/26/image_01122025_00_26_44_9614.jpg
/home/pi/Desktop/images/01122025/00/26/image_01122025_00_27_04_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":["1397136804","1397136900","1397136985"],"photo_ids_order":["1397136804","1397136900","1397136985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f32389fa9768aa7d5ac91bc41653b930.jpg","text":"TemporaryFile(/tmp/multipartBody863701766309847929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545343312,"filename":"image_01122025_00_26_34_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0bf30f757050e1a5d1fd8f7bba2fb0a6.jpg","text":"TemporaryFile(/tmp/multipartBody199223994811471369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545343312,"filename":"image_01122025_00_26_44_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/239229400f1826e9497f6567b9444303.jpg","text":"TemporaryFile(/tmp/multipartBody8631098659463766155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545343312,"filename":"image_01122025_00_27_04_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397136985","file1":"1397136900","file0":"1397136804"},"map_files_photo_id_array":[{"photo_id":"1397136985","filename":"file2"},{"photo_id":"1397136900","filename":"file1"},{"photo_id":"1397136804","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397136804":["hashtag1","hashtag2"]},{"1397136900":["hashtag1","hashtag2"]},{"1397136985":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397136804, 1397136900, 1397136985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 36.98380422592163 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 00:28:42.351674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_12_2580.jpg', '/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_17_2864.jpg', '/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_21_3693.jpg', '/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_24_2627.jpg', '/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_26_2558.jpg', '/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_30_3639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_12_2580.jpg
/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_17_2864.jpg
/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_21_3693.jpg
/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_24_2627.jpg
/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_26_2558.jpg
/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_30_3639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397137107","1397137148","1397137100","1397137103","1397137102","1397137101"],"photo_ids_order":["1397137100","1397137101","1397137102","1397137103","1397137107","1397137148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ba58532b2659dd99304d5c2da221cb07.jpg","text":"TemporaryFile(/tmp/multipartBody7253714705494709331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545383165,"filename":"image_01112025_00_07_26_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/1/bc7bb95b7607141187533e256f0eb108.jpg","text":"TemporaryFile(/tmp/multipartBody1156063831319203027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545383165,"filename":"image_01112025_00_07_30_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7c67a195bcb36509414e9f586233e6ae.jpg","text":"TemporaryFile(/tmp/multipartBody5404704804703118591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545383165,"filename":"image_01112025_00_07_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/1/8c254ae4069f7fe4be5ae8764ed8ed76.jpg","text":"TemporaryFile(/tmp/multipartBody4001678687595965641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545383165,"filename":"image_01112025_00_07_24_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/98bdc28abd10522eb61dd7a9e473da11.jpg","text":"TemporaryFile(/tmp/multipartBody7140530896109893854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545383165,"filename":"image_01112025_00_07_21_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/1/12fd369899ef7142832f3e1a0c88520b.jpg","text":"TemporaryFile(/tmp/multipartBody6558767092408048130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545383165,"filename":"image_01112025_00_07_17_2864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397137102","file1":"1397137101","file0":"1397137100","file4":"1397137107","file5":"1397137148","file3":"1397137103"},"map_files_photo_id_array":[{"photo_id":"1397137148","filename":"file5"},{"photo_id":"1397137102","filename":"file2"},{"photo_id":"1397137107","filename":"file4"},{"photo_id":"1397137101","filename":"file1"},{"photo_id":"1397137100","filename":"file0"},{"photo_id":"1397137103","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397137107":["hashtag1","hashtag2"]},{"1397137148":["hashtag1","hashtag2"]},{"1397137100":["hashtag1","hashtag2"]},{"1397137103":["hashtag1","hashtag2"]},{"1397137102":["hashtag1","hashtag2"]},{"1397137101":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397137107, 1397137148, 1397137100, 1397137103, 1397137102, 1397137101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84212136268616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 00:29:22.605122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/27/image_01122025_00_27_24_10657.jpg', '/home/pi/Desktop/images/01122025/00/27/image_01122025_00_28_04_9846.jpg', '/home/pi/Desktop/images/01122025/00/28/image_01122025_00_28_14_9628.jpg', '/home/pi/Desktop/images/01122025/00/28/image_01122025_00_28_23_9723.jpg', '/home/pi/Desktop/images/01122025/00/28/image_01122025_00_28_44_9707.jpg', '/home/pi/Desktop/images/01122025/00/29/image_01122025_00_29_14_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/27/image_01122025_00_27_24_10657.jpg
/home/pi/Desktop/images/01122025/00/27/image_01122025_00_28_04_9846.jpg
/home/pi/Desktop/images/01122025/00/28/image_01122025_00_28_14_9628.jpg
/home/pi/Desktop/images/01122025/00/28/image_01122025_00_28_23_9723.jpg
/home/pi/Desktop/images/01122025/00/28/image_01122025_00_28_44_9707.jpg
/home/pi/Desktop/images/01122025/00/29/image_01122025_00_29_14_9774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397137268","1397137247","1397137270","1397137272","1397137266","1397137221"],"photo_ids_order":["1397137221","1397137247","1397137266","1397137268","1397137270","1397137272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/006d820cbf2abf4ade507337a39e7cd6.jpg","text":"TemporaryFile(/tmp/multipartBody2330701848959681506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545423364,"filename":"image_01122025_00_28_23_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/209b100c071c21225d4c740f33e3378a.jpg","text":"TemporaryFile(/tmp/multipartBody4368334267901004672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545423364,"filename":"image_01122025_00_28_04_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/1/b1661ff8f4f633ad0c01037e92699a7f.jpg","text":"TemporaryFile(/tmp/multipartBody2078901050086460519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545423364,"filename":"image_01122025_00_28_44_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9f902be8cd71b626553e5b7bc5dc120d.jpg","text":"TemporaryFile(/tmp/multipartBody6289660530667199474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545423364,"filename":"image_01122025_00_29_14_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2a68d6d209f80806946a591aeb4deea4.jpg","text":"TemporaryFile(/tmp/multipartBody5548968873899539547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545423364,"filename":"image_01122025_00_28_14_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b1113cdc5eae295ada422a8f07e9574a.jpg","text":"TemporaryFile(/tmp/multipartBody7735282002892209193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545423364,"filename":"image_01122025_00_27_24_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397137266","file1":"1397137247","file0":"1397137221","file4":"1397137270","file5":"1397137272","file3":"1397137268"},"map_files_photo_id_array":[{"photo_id":"1397137272","filename":"file5"},{"photo_id":"1397137266","filename":"file2"},{"photo_id":"1397137270","filename":"file4"},{"photo_id":"1397137247","filename":"file1"},{"photo_id":"1397137221","filename":"file0"},{"photo_id":"1397137268","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397137268":["hashtag1","hashtag2"]},{"1397137247":["hashtag1","hashtag2"]},{"1397137270":["hashtag1","hashtag2"]},{"1397137272":["hashtag1","hashtag2"]},{"1397137266":["hashtag1","hashtag2"]},{"1397137221":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397137268, 1397137247, 1397137270, 1397137272, 1397137266, 1397137221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.923712730407715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:30:03.308326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/29/image_01122025_00_29_24_9706.jpg', '/home/pi/Desktop/images/01122025/00/29/image_01122025_00_29_34_10616.jpg', '/home/pi/Desktop/images/01122025/00/29/image_01122025_00_29_44_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/29/image_01122025_00_29_24_9706.jpg
/home/pi/Desktop/images/01122025/00/29/image_01122025_00_29_34_10616.jpg
/home/pi/Desktop/images/01122025/00/29/image_01122025_00_29_44_9696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397137274","1397137273","1397137275"],"photo_ids_order":["1397137273","1397137274","1397137275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c196c54cb0404085f6dfe099ceb51f40.jpg","text":"TemporaryFile(/tmp/multipartBody7794900860282764464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545463925,"filename":"image_01122025_00_29_34_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a03cdfa63110e346f8ac6b49ec9be8fa.jpg","text":"TemporaryFile(/tmp/multipartBody1044350388805291308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545463925,"filename":"image_01122025_00_29_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/1/499b241d0e4b0841a17645315875d290.jpg","text":"TemporaryFile(/tmp/multipartBody4779314902387647030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545463925,"filename":"image_01122025_00_29_44_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397137275","file1":"1397137274","file0":"1397137273"},"map_files_photo_id_array":[{"photo_id":"1397137275","filename":"file2"},{"photo_id":"1397137274","filename":"file1"},{"photo_id":"1397137273","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397137274":["hashtag1","hashtag2"]},{"1397137273":["hashtag1","hashtag2"]},{"1397137275":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397137274, 1397137273, 1397137275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.489699602127075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 00:30:32.756965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_53_1851.jpg', '/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_55_2319.jpg', '/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_57_1486.jpg', '/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_58_1802.jpg', '/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_01_2517.jpg', '/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_03_1597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_53_1851.jpg
/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_55_2319.jpg
/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_57_1486.jpg
/home/pi/Desktop/images/25112025/21/04/image_25112025_21_04_58_1802.jpg
/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_01_2517.jpg
/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_03_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":["1397137288","1397137281","1397137290","1397137284","1397137292","1397137286"],"photo_ids_order":["1397137281","1397137284","1397137286","1397137288","1397137290","1397137292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/58653437fb4e9712720548e7dce30af9.jpg","text":"TemporaryFile(/tmp/multipartBody1492352622428995657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545494502,"filename":"image_25112025_21_04_58_1802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/062da5e3889aa86519b722aa9344a7a0.jpg","text":"TemporaryFile(/tmp/multipartBody5818789143721639557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545494502,"filename":"image_25112025_21_04_53_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/1/aff39327f6fee0a2601f80a09e8f4da3.jpg","text":"TemporaryFile(/tmp/multipartBody2206258373421915537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545494502,"filename":"image_25112025_21_05_01_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c17db282de88ae08963b0c4ee2760be0.jpg","text":"TemporaryFile(/tmp/multipartBody4034288919863105463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545494502,"filename":"image_25112025_21_04_55_2319.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5cd5f2260f72a84f73c302e48ebef7b8.jpg","text":"TemporaryFile(/tmp/multipartBody9086666389504756066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545494502,"filename":"image_25112025_21_05_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/1/bfb44153e675c0cbfca23379ccb6d54e.jpg","text":"TemporaryFile(/tmp/multipartBody795365350590418663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545494502,"filename":"image_25112025_21_04_57_1486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397137286","file1":"1397137284","file0":"1397137281","file4":"1397137290","file5":"1397137292","file3":"1397137288"},"map_files_photo_id_array":[{"photo_id":"1397137292","filename":"file5"},{"photo_id":"1397137286","filename":"file2"},{"photo_id":"1397137290","filename":"file4"},{"photo_id":"1397137284","filename":"file1"},{"photo_id":"1397137281","filename":"file0"},{"photo_id":"1397137288","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397137288":["hashtag1","hashtag2"]},{"1397137281":["hashtag1","hashtag2"]},{"1397137290":["hashtag1","hashtag2"]},{"1397137284":["hashtag1","hashtag2"]},{"1397137292":["hashtag1","hashtag2"]},{"1397137286":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397137288, 1397137281, 1397137290, 1397137284, 1397137292, 1397137286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.316468238830566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 00:31:11.916158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_14_1543.jpg', '/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_16_1662.jpg', '/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_18_1675.jpg', '/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_19_1659.jpg', '/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_21_1650.jpg', '/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_22_1572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_14_1543.jpg
/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_16_1662.jpg
/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_18_1675.jpg
/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_19_1659.jpg
/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_21_1650.jpg
/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_22_1572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397137297","1397137301","1397137294","1397137303","1397137299","1397137293"],"photo_ids_order":["1397137293","1397137294","1397137297","1397137299","1397137301","1397137303"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fc68efecf586f7b72cd1c889836e3bbb.jpg","text":"TemporaryFile(/tmp/multipartBody3076254912099686200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545533540,"filename":"image_25112025_21_05_18_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/1/4b803ad9cf094d7c60530a220356b9d2.jpg","text":"TemporaryFile(/tmp/multipartBody6950504916383321304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545533540,"filename":"image_25112025_21_05_21_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/1/0cdf236cf5ad201165d226c5683c235c.jpg","text":"TemporaryFile(/tmp/multipartBody8854461289408068709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545533540,"filename":"image_25112025_21_05_16_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/1/88020b9dbd5d088eafd2f1cd520d06a2.jpg","text":"TemporaryFile(/tmp/multipartBody7267397537935963594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545533540,"filename":"image_25112025_21_05_22_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/1/cbff45dd136e2f627338e2dcb5e2f52d.jpg","text":"TemporaryFile(/tmp/multipartBody5268677414154857239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545533540,"filename":"image_25112025_21_05_19_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/1/b98ba2c7c4e24de5cfeed313a5be191c.jpg","text":"TemporaryFile(/tmp/multipartBody520913168989451089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545533540,"filename":"image_25112025_21_05_14_1543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397137297","file1":"1397137294","file0":"1397137293","file4":"1397137301","file5":"1397137303","file3":"1397137299"},"map_files_photo_id_array":[{"photo_id":"1397137303","filename":"file5"},{"photo_id":"1397137297","filename":"file2"},{"photo_id":"1397137301","filename":"file4"},{"photo_id":"1397137294","filename":"file1"},{"photo_id":"1397137293","filename":"file0"},{"photo_id":"1397137299","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397137297":["hashtag1","hashtag2"]},{"1397137301":["hashtag1","hashtag2"]},{"1397137294":["hashtag1","hashtag2"]},{"1397137303":["hashtag1","hashtag2"]},{"1397137299":["hashtag1","hashtag2"]},{"1397137293":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397137297, 1397137301, 1397137294, 1397137303, 1397137299, 1397137293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06874346733093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:32:02.643062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/29/image_01122025_00_29_54_9754.jpg', '/home/pi/Desktop/images/01122025/00/29/image_01122025_00_30_04_9683.jpg', '/home/pi/Desktop/images/01122025/00/30/image_01122025_00_30_14_10787.jpg', '/home/pi/Desktop/images/01122025/00/30/image_01122025_00_30_24_9757.jpg', '/home/pi/Desktop/images/01122025/00/30/image_01122025_00_30_54_9730.jpg', '/home/pi/Desktop/images/01122025/00/30/image_01122025_00_31_04_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/29/image_01122025_00_29_54_9754.jpg
/home/pi/Desktop/images/01122025/00/29/image_01122025_00_30_04_9683.jpg
/home/pi/Desktop/images/01122025/00/30/image_01122025_00_30_14_10787.jpg
/home/pi/Desktop/images/01122025/00/30/image_01122025_00_30_24_9757.jpg
/home/pi/Desktop/images/01122025/00/30/image_01122025_00_30_54_9730.jpg
/home/pi/Desktop/images/01122025/00/30/image_01122025_00_31_04_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.691032886505127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 00:32:12.063334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_25_2731.jpg', '/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_29_3716.jpg', '/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_35_1572.jpg', '/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_40_4440.jpg', '/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_41_1787.jpg', '/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_46_4143.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_25_2731.jpg
/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_29_3716.jpg
/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_35_1572.jpg
/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_40_4440.jpg
/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_41_1787.jpg
/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_46_4143.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397137307","1397137318","1397137312","1397137309","1397137314","1397137317"],"photo_ids_order":["1397137307","1397137309","1397137312","1397137314","1397137317","1397137318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/583de7e83ebd47a00b25209943ea53ed.jpg","text":"TemporaryFile(/tmp/multipartBody9128551564297702702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545593651,"filename":"image_25112025_21_05_25_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/1/6dd0588428e1767b7822c2bd7dde14ef.jpg","text":"TemporaryFile(/tmp/multipartBody6279841087725125920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545593651,"filename":"image_25112025_21_05_46_4143.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7d06f9e14b7fed6d1ef98f97f754cba6.jpg","text":"TemporaryFile(/tmp/multipartBody1500474216957054767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545593651,"filename":"image_25112025_21_05_35_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/1/08f594d1bec37974f557b6a37adc8395.jpg","text":"TemporaryFile(/tmp/multipartBody2124849105077543997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545593651,"filename":"image_25112025_21_05_29_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/1/a1d71724ab9ca1b60aaf408babd294d1.jpg","text":"TemporaryFile(/tmp/multipartBody465741013651162574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545593651,"filename":"image_25112025_21_05_40_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/1/741624bf7dc422436fe1c961f5827537.jpg","text":"TemporaryFile(/tmp/multipartBody3484793024780031724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545593651,"filename":"image_25112025_21_05_41_1787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397137312","file1":"1397137309","file0":"1397137307","file4":"1397137317","file5":"1397137318","file3":"1397137314"},"map_files_photo_id_array":[{"photo_id":"1397137318","filename":"file5"},{"photo_id":"1397137312","filename":"file2"},{"photo_id":"1397137317","filename":"file4"},{"photo_id":"1397137309","filename":"file1"},{"photo_id":"1397137307","filename":"file0"},{"photo_id":"1397137314","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397137307":["hashtag1","hashtag2"]},{"1397137318":["hashtag1","hashtag2"]},{"1397137312":["hashtag1","hashtag2"]},{"1397137309":["hashtag1","hashtag2"]},{"1397137314":["hashtag1","hashtag2"]},{"1397137317":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397137307, 1397137318, 1397137312, 1397137309, 1397137314, 1397137317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69168448448181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:33:03.029642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/29/image_01122025_00_29_54_9754.jpg', '/home/pi/Desktop/images/01122025/00/29/image_01122025_00_30_04_9683.jpg', '/home/pi/Desktop/images/01122025/00/30/image_01122025_00_30_14_10787.jpg', '/home/pi/Desktop/images/01122025/00/30/image_01122025_00_30_24_9757.jpg', '/home/pi/Desktop/images/01122025/00/30/image_01122025_00_30_54_9730.jpg', '/home/pi/Desktop/images/01122025/00/30/image_01122025_00_31_04_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/29/image_01122025_00_29_54_9754.jpg
/home/pi/Desktop/images/01122025/00/29/image_01122025_00_30_04_9683.jpg
/home/pi/Desktop/images/01122025/00/30/image_01122025_00_30_14_10787.jpg
/home/pi/Desktop/images/01122025/00/30/image_01122025_00_30_24_9757.jpg
/home/pi/Desktop/images/01122025/00/30/image_01122025_00_30_54_9730.jpg
/home/pi/Desktop/images/01122025/00/30/image_01122025_00_31_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":["1397137322","1397137325","1397137319","1397137321","1397137327","1397137320"],"photo_ids_order":["1397137319","1397137320","1397137321","1397137322","1397137325","1397137327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8cca15e023e1e9596111a3d284003490.jpg","text":"TemporaryFile(/tmp/multipartBody648518221604516707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545643863,"filename":"image_01122025_00_30_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/1/29b1119fc4a8ccc2b5758d9a522255ef.jpg","text":"TemporaryFile(/tmp/multipartBody4483019586729768049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545643863,"filename":"image_01122025_00_30_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/1/84c3ea0ab0001eefff6f38b11ea4c47b.jpg","text":"TemporaryFile(/tmp/multipartBody18399032759023619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545643863,"filename":"image_01122025_00_29_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/1/90f5e11d7afac8cd07e664dfa25b6ee5.jpg","text":"TemporaryFile(/tmp/multipartBody1889936777158754147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545643863,"filename":"image_01122025_00_30_14_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/1/f2e7581b2504ba78541e3c143bae4ca9.jpg","text":"TemporaryFile(/tmp/multipartBody302636423677095598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545643863,"filename":"image_01122025_00_31_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/1/6c5c31fbe9e0684188da10886e906eba.jpg","text":"TemporaryFile(/tmp/multipartBody5787170590081094379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545643863,"filename":"image_01122025_00_30_04_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397137321","file1":"1397137320","file0":"1397137319","file4":"1397137325","file5":"1397137327","file3":"1397137322"},"map_files_photo_id_array":[{"photo_id":"1397137327","filename":"file5"},{"photo_id":"1397137321","filename":"file2"},{"photo_id":"1397137325","filename":"file4"},{"photo_id":"1397137320","filename":"file1"},{"photo_id":"1397137319","filename":"file0"},{"photo_id":"1397137322","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397137322":["hashtag1","hashtag2"]},{"1397137325":["hashtag1","hashtag2"]},{"1397137319":["hashtag1","hashtag2"]},{"1397137321":["hashtag1","hashtag2"]},{"1397137327":["hashtag1","hashtag2"]},{"1397137320":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397137322, 1397137325, 1397137319, 1397137321, 1397137327, 1397137320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90393328666687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 00:33:42.284605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_35_2647.jpg', '/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_39_3654.jpg', '/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_41_2532.jpg', '/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_45_3634.jpg', '/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_47_2157.jpg', '/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_51_3893.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_35_2647.jpg
/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_39_3654.jpg
/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_41_2532.jpg
/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_45_3634.jpg
/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_47_2157.jpg
/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_51_3893.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397137331","1397137328","1397137333","1397137330","1397137332","1397137329"],"photo_ids_order":["1397137328","1397137329","1397137330","1397137331","1397137332","1397137333"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/32c5846f4c3316afe62829db4457e4b4.jpg","text":"TemporaryFile(/tmp/multipartBody523482054170228783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545683129,"filename":"image_01112025_00_07_45_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/1/84d0c68406ea928277d651922ca1c7d1.jpg","text":"TemporaryFile(/tmp/multipartBody2428571523434184638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545683129,"filename":"image_01112025_00_07_35_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/1/3347b4abb672823e7e1ccd79d9d894bc.jpg","text":"TemporaryFile(/tmp/multipartBody890770303429767451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545683129,"filename":"image_01112025_00_07_51_3893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/384c9fb8d28c78437f8c56bf2cd634fe.jpg","text":"TemporaryFile(/tmp/multipartBody2439450835479364586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545683129,"filename":"image_01112025_00_07_41_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/1/c1793156d52fc3f59b29847e1e377d6e.jpg","text":"TemporaryFile(/tmp/multipartBody4191882195964361662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545683129,"filename":"image_01112025_00_07_47_2157.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d0d9162605bd46eb694e99054259b384.jpg","text":"TemporaryFile(/tmp/multipartBody4786095464043273282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545683129,"filename":"image_01112025_00_07_39_3654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397137330","file1":"1397137329","file0":"1397137328","file4":"1397137332","file5":"1397137333","file3":"1397137331"},"map_files_photo_id_array":[{"photo_id":"1397137333","filename":"file5"},{"photo_id":"1397137330","filename":"file2"},{"photo_id":"1397137332","filename":"file4"},{"photo_id":"1397137329","filename":"file1"},{"photo_id":"1397137328","filename":"file0"},{"photo_id":"1397137331","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397137331":["hashtag1","hashtag2"]},{"1397137328":["hashtag1","hashtag2"]},{"1397137333":["hashtag1","hashtag2"]},{"1397137330":["hashtag1","hashtag2"]},{"1397137332":["hashtag1","hashtag2"]},{"1397137329":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397137331, 1397137328, 1397137333, 1397137330, 1397137332, 1397137329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.477999687194824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 00:34:22.422134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/31/image_01122025_00_31_24_9784.jpg', '/home/pi/Desktop/images/01122025/00/31/image_01122025_00_31_34_9681.jpg', '/home/pi/Desktop/images/01122025/00/31/image_01122025_00_31_54_9612.jpg', '/home/pi/Desktop/images/01122025/00/32/image_01122025_00_32_54_10783.jpg', '/home/pi/Desktop/images/01122025/00/32/image_01122025_00_33_04_9918.jpg', '/home/pi/Desktop/images/01122025/00/33/image_01122025_00_33_34_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/31/image_01122025_00_31_24_9784.jpg
/home/pi/Desktop/images/01122025/00/31/image_01122025_00_31_34_9681.jpg
/home/pi/Desktop/images/01122025/00/31/image_01122025_00_31_54_9612.jpg
/home/pi/Desktop/images/01122025/00/32/image_01122025_00_32_54_10783.jpg
/home/pi/Desktop/images/01122025/00/32/image_01122025_00_33_04_9918.jpg
/home/pi/Desktop/images/01122025/00/33/image_01122025_00_33_34_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":["1397137487","1397137410","1397137450","1397137372","1397137336","1397137338"],"photo_ids_order":["1397137336","1397137338","1397137372","1397137410","1397137450","1397137487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/83fec986cfef925d2edb2e15bff1a800.jpg","text":"TemporaryFile(/tmp/multipartBody4217646457239924829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545723167,"filename":"image_01122025_00_33_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/1/9b37c6495f93cb180bb03ea7e225797d.jpg","text":"TemporaryFile(/tmp/multipartBody2309451366855806342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545723167,"filename":"image_01122025_00_32_54_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/1/5f93174b9667717cec1e8fdaa41a4402.jpg","text":"TemporaryFile(/tmp/multipartBody171773847433379721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545723167,"filename":"image_01122025_00_33_04_9918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/50d4ad424527012f28555588b569f6ec.jpg","text":"TemporaryFile(/tmp/multipartBody6556668318149076432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545723167,"filename":"image_01122025_00_31_54_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/031a6b3cdaae266e9d4b87b27369a3d3.jpg","text":"TemporaryFile(/tmp/multipartBody5534523881251675588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545723167,"filename":"image_01122025_00_31_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/1/c088375c35f7614caa9c4468ec650e73.jpg","text":"TemporaryFile(/tmp/multipartBody2892510040416931845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545723167,"filename":"image_01122025_00_31_34_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397137372","file1":"1397137338","file0":"1397137336","file4":"1397137450","file5":"1397137487","file3":"1397137410"},"map_files_photo_id_array":[{"photo_id":"1397137487","filename":"file5"},{"photo_id":"1397137372","filename":"file2"},{"photo_id":"1397137450","filename":"file4"},{"photo_id":"1397137338","filename":"file1"},{"photo_id":"1397137336","filename":"file0"},{"photo_id":"1397137410","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397137487":["hashtag1","hashtag2"]},{"1397137410":["hashtag1","hashtag2"]},{"1397137450":["hashtag1","hashtag2"]},{"1397137372":["hashtag1","hashtag2"]},{"1397137336":["hashtag1","hashtag2"]},{"1397137338":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397137487, 1397137410, 1397137450, 1397137372, 1397137336, 1397137338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3979856967926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:35:02.518946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/33/image_01122025_00_33_44_10628.jpg', '/home/pi/Desktop/images/01122025/00/33/image_01122025_00_33_54_9823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/33/image_01122025_00_33_44_10628.jpg
/home/pi/Desktop/images/01122025/00/33/image_01122025_00_33_54_9823.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397137658","1397137623"],"photo_ids_order":["1397137623","1397137658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/01f2d779b23c0d4e4ea48105295c87df.jpg","text":"TemporaryFile(/tmp/multipartBody2704529566147827568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545763121,"filename":"image_01122025_00_33_54_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/75731d60c80415be25142d91586ad27b.jpg","text":"TemporaryFile(/tmp/multipartBody3651494246168861671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545763121,"filename":"image_01122025_00_33_44_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397137658","file0":"1397137623"},"map_files_photo_id_array":[{"photo_id":"1397137658","filename":"file1"},{"photo_id":"1397137623","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397137658":["hashtag1","hashtag2"]},{"1397137623":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397137658, 1397137623)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 2 photos
time to upload: 23.98678755760193 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 00:35:31.826713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_50_2559.jpg', '/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_53_3014.jpg', '/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_59_3682.jpg', '/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_05_5907.jpg', '/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_07_1636.jpg', '/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_08_1637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_50_2559.jpg
/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_53_3014.jpg
/home/pi/Desktop/images/25112025/21/05/image_25112025_21_05_59_3682.jpg
/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_05_5907.jpg
/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_07_1636.jpg
/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_08_1637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397138258","1397138411","1397138490","1397138331","1397138055","1397138183"],"photo_ids_order":["1397138055","1397138183","1397138258","1397138331","1397138411","1397138490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/586b502fa3e318bf24f0ffd96fc0622b.jpg","text":"TemporaryFile(/tmp/multipartBody9047690501049879032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545793565,"filename":"image_25112025_21_05_59_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fc41a66822f57d96b76cc9a7cbe204b9.jpg","text":"TemporaryFile(/tmp/multipartBody3272350975933235013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545793565,"filename":"image_25112025_21_06_07_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/1/77ce5daab9b64af094955c2de80dff82.jpg","text":"TemporaryFile(/tmp/multipartBody424391606575440437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545793565,"filename":"image_25112025_21_06_08_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/1/81fcc10f655f178334950dfb50090e54.jpg","text":"TemporaryFile(/tmp/multipartBody8201314492429841564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545793565,"filename":"image_25112025_21_06_05_5907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/58f4b1d7f287fb20345523a31323a59d.jpg","text":"TemporaryFile(/tmp/multipartBody1317259915212173752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545793565,"filename":"image_25112025_21_05_50_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/1/5096630dfdb51906bc6279ae51160c25.jpg","text":"TemporaryFile(/tmp/multipartBody5167935997736799391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545793565,"filename":"image_25112025_21_05_53_3014.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397138258","file1":"1397138183","file0":"1397138055","file4":"1397138411","file5":"1397138490","file3":"1397138331"},"map_files_photo_id_array":[{"photo_id":"1397138490","filename":"file5"},{"photo_id":"1397138258","filename":"file2"},{"photo_id":"1397138411","filename":"file4"},{"photo_id":"1397138183","filename":"file1"},{"photo_id":"1397138055","filename":"file0"},{"photo_id":"1397138331","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397138258":["hashtag1","hashtag2"]},{"1397138411":["hashtag1","hashtag2"]},{"1397138490":["hashtag1","hashtag2"]},{"1397138331":["hashtag1","hashtag2"]},{"1397138055":["hashtag1","hashtag2"]},{"1397138183":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397138258, 1397138411, 1397138490, 1397138331, 1397138055, 1397138183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.786771059036255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 00:36:22.075532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/34/image_01122025_00_34_24_10693.jpg', '/home/pi/Desktop/images/01122025/00/34/image_01122025_00_35_04_9604.jpg', '/home/pi/Desktop/images/01122025/00/35/image_01122025_00_35_13_9608.jpg', '/home/pi/Desktop/images/01122025/00/35/image_01122025_00_35_24_10700.jpg', '/home/pi/Desktop/images/01122025/00/35/image_01122025_00_36_04_10715.jpg', '/home/pi/Desktop/images/01122025/00/36/image_01122025_00_36_27_12876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/34/image_01122025_00_34_24_10693.jpg
/home/pi/Desktop/images/01122025/00/34/image_01122025_00_35_04_9604.jpg
/home/pi/Desktop/images/01122025/00/35/image_01122025_00_35_13_9608.jpg
/home/pi/Desktop/images/01122025/00/35/image_01122025_00_35_24_10700.jpg
/home/pi/Desktop/images/01122025/00/35/image_01122025_00_36_04_10715.jpg
/home/pi/Desktop/images/01122025/00/36/image_01122025_00_36_27_12876.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397138711","1397138998","1397138791","1397138851","1397138751","1397138925"],"photo_ids_order":["1397138711","1397138751","1397138791","1397138851","1397138925","1397138998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4253d02727593b6df26e6ec15aad5fed.jpg","text":"TemporaryFile(/tmp/multipartBody8061773303510336651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545842819,"filename":"image_01122025_00_34_24_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c69d203cdcd45e2a1d7861575649c668.jpg","text":"TemporaryFile(/tmp/multipartBody1176204822803171039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545842819,"filename":"image_01122025_00_36_27_12876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6c8363a534ec46b5814fd043d654215a.jpg","text":"TemporaryFile(/tmp/multipartBody4033104086026099692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545842819,"filename":"image_01122025_00_35_13_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6257351a93e124731cdff3add405817f.jpg","text":"TemporaryFile(/tmp/multipartBody8420284882579309102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545842819,"filename":"image_01122025_00_35_24_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/1/87dc60c54e72f20be5b694ce92222501.jpg","text":"TemporaryFile(/tmp/multipartBody3129023399282874938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545842819,"filename":"image_01122025_00_35_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/1/1c75a88c3d1f6106a8ffd15f34f5b33e.jpg","text":"TemporaryFile(/tmp/multipartBody748517635133487822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545842819,"filename":"image_01122025_00_36_04_10715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397138791","file1":"1397138751","file0":"1397138711","file4":"1397138925","file5":"1397138998","file3":"1397138851"},"map_files_photo_id_array":[{"photo_id":"1397138998","filename":"file5"},{"photo_id":"1397138791","filename":"file2"},{"photo_id":"1397138925","filename":"file4"},{"photo_id":"1397138751","filename":"file1"},{"photo_id":"1397138711","filename":"file0"},{"photo_id":"1397138851","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397138711":["hashtag1","hashtag2"]},{"1397138998":["hashtag1","hashtag2"]},{"1397138791":["hashtag1","hashtag2"]},{"1397138851":["hashtag1","hashtag2"]},{"1397138751":["hashtag1","hashtag2"]},{"1397138925":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397138711, 1397138998, 1397138791, 1397138851, 1397138751, 1397138925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26743817329407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:37:02.988248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/36/image_01122025_00_36_34_6770.jpg', '/home/pi/Desktop/images/01122025/00/36/image_01122025_00_36_44_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/36/image_01122025_00_36_34_6770.jpg
/home/pi/Desktop/images/01122025/00/36/image_01122025_00_36_44_9770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397139290","1397139359"],"photo_ids_order":["1397139290","1397139359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/394953956559dca0f1dba40be18349da.jpg","text":"TemporaryFile(/tmp/multipartBody7275056044162369093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545883627,"filename":"image_01122025_00_36_34_6770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a237d3ecd28b96eab2297d76d285bbe8.jpg","text":"TemporaryFile(/tmp/multipartBody8116355970844680656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545883627,"filename":"image_01122025_00_36_44_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397139359","file0":"1397139290"},"map_files_photo_id_array":[{"photo_id":"1397139359","filename":"file1"},{"photo_id":"1397139290","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397139290":["hashtag1","hashtag2"]},{"1397139359":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397139290, 1397139359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.411911964416504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 00:37:22.179893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/36/image_01122025_00_36_54_10748.jpg', '/home/pi/Desktop/images/01122025/00/36/image_01122025_00_37_04_9941.jpg', '/home/pi/Desktop/images/01122025/00/37/image_01122025_00_37_14_9592.jpg', '/home/pi/Desktop/images/01122025/00/37/image_01122025_00_37_24_9881.jpg', '/home/pi/Desktop/images/01122025/00/37/image_01122025_00_37_34_10702.jpg', '/home/pi/Desktop/images/01122025/00/37/image_01122025_00_37_44_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/36/image_01122025_00_36_54_10748.jpg
/home/pi/Desktop/images/01122025/00/36/image_01122025_00_37_04_9941.jpg
/home/pi/Desktop/images/01122025/00/37/image_01122025_00_37_14_9592.jpg
/home/pi/Desktop/images/01122025/00/37/image_01122025_00_37_24_9881.jpg
/home/pi/Desktop/images/01122025/00/37/image_01122025_00_37_34_10702.jpg
/home/pi/Desktop/images/01122025/00/37/image_01122025_00_37_44_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":["1397139901","1397139703","1397139837","1397139974","1397139623","1397139775"],"photo_ids_order":["1397139623","1397139703","1397139775","1397139837","1397139901","1397139974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9a842bb82c6d89ab3b9c21415f0f3172.jpg","text":"TemporaryFile(/tmp/multipartBody3226584215209797385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545902924,"filename":"image_01122025_00_37_34_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/1/02cb7c845245647c3282aff3aac4736f.jpg","text":"TemporaryFile(/tmp/multipartBody1129410227900526454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545902924,"filename":"image_01122025_00_37_04_9941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bee974e2bcca37bd83e528836f623c65.jpg","text":"TemporaryFile(/tmp/multipartBody7878379028523466195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545902924,"filename":"image_01122025_00_37_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/1/4659a292fefb1152bc7fbbda2b6b3746.jpg","text":"TemporaryFile(/tmp/multipartBody8830437958489014814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545902924,"filename":"image_01122025_00_37_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/1/5c50460dfc25653244f228b4aac70db1.jpg","text":"TemporaryFile(/tmp/multipartBody4681935035147584666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545902924,"filename":"image_01122025_00_36_54_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9cfdb9e2ae712723a688259ca7cce210.jpg","text":"TemporaryFile(/tmp/multipartBody6206425941595474711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545902924,"filename":"image_01122025_00_37_14_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397139775","file1":"1397139703","file0":"1397139623","file4":"1397139901","file5":"1397139974","file3":"1397139837"},"map_files_photo_id_array":[{"photo_id":"1397139974","filename":"file5"},{"photo_id":"1397139775","filename":"file2"},{"photo_id":"1397139901","filename":"file4"},{"photo_id":"1397139703","filename":"file1"},{"photo_id":"1397139623","filename":"file0"},{"photo_id":"1397139837","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397139901":["hashtag1","hashtag2"]},{"1397139703":["hashtag1","hashtag2"]},{"1397139837":["hashtag1","hashtag2"]},{"1397139974":["hashtag1","hashtag2"]},{"1397139623":["hashtag1","hashtag2"]},{"1397139775":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397139901, 1397139703, 1397139837, 1397139974, 1397139623, 1397139775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09538292884827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:38:02.856385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_11_2498.jpg', '/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_14_2795.jpg', '/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_18_4586.jpg', '/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_20_1834.jpg', '/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_22_2535.jpg', '/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_25_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_11_2498.jpg
/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_14_2795.jpg
/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_18_4586.jpg
/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_20_1834.jpg
/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_22_2535.jpg
/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_25_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397140142","1397140118","1397140144","1397140233","1397140143","1397140163"],"photo_ids_order":["1397140118","1397140142","1397140143","1397140144","1397140163","1397140233"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1dd655ee68a523c65649db8807cbc7ac.jpg","text":"TemporaryFile(/tmp/multipartBody8122242191177232823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545943996,"filename":"image_25112025_21_06_14_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/1/3c9a6250a254721205d95d8e4465c606.jpg","text":"TemporaryFile(/tmp/multipartBody2008057136875103039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545943996,"filename":"image_25112025_21_06_11_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/1/930a89493f5730bd62c375c1ee8eee46.jpg","text":"TemporaryFile(/tmp/multipartBody8991894426296968493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545943996,"filename":"image_25112025_21_06_20_1834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b5c656f97c09368a55755d9a133136a1.jpg","text":"TemporaryFile(/tmp/multipartBody2642459053961300117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545943996,"filename":"image_25112025_21_06_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/1/cf370fd7a9413a8a1853c41ce6f82e0b.jpg","text":"TemporaryFile(/tmp/multipartBody6303503770564611064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545943996,"filename":"image_25112025_21_06_18_4586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/401aeefc5368f6312107b5549c038ceb.jpg","text":"TemporaryFile(/tmp/multipartBody6708326994202992363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545943996,"filename":"image_25112025_21_06_22_2535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397140143","file1":"1397140142","file0":"1397140118","file4":"1397140163","file5":"1397140233","file3":"1397140144"},"map_files_photo_id_array":[{"photo_id":"1397140233","filename":"file5"},{"photo_id":"1397140143","filename":"file2"},{"photo_id":"1397140163","filename":"file4"},{"photo_id":"1397140142","filename":"file1"},{"photo_id":"1397140118","filename":"file0"},{"photo_id":"1397140144","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397140142":["hashtag1","hashtag2"]},{"1397140118":["hashtag1","hashtag2"]},{"1397140144":["hashtag1","hashtag2"]},{"1397140233":["hashtag1","hashtag2"]},{"1397140143":["hashtag1","hashtag2"]},{"1397140163":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397140142, 1397140118, 1397140144, 1397140233, 1397140143, 1397140163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88993167877197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 00:38:42.364724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_54_2549.jpg', '/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_56_2778.jpg', '/home/pi/Desktop/images/01112025/00/07/image_01112025_00_08_00_3574.jpg', '/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_03_2785.jpg', '/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_09_3582.jpg', '/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_12_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_54_2549.jpg
/home/pi/Desktop/images/01112025/00/07/image_01112025_00_07_56_2778.jpg
/home/pi/Desktop/images/01112025/00/07/image_01112025_00_08_00_3574.jpg
/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_03_2785.jpg
/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_09_3582.jpg
/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_12_2684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397140587","1397140389","1397140482","1397140518","1397140437","1397140640"],"photo_ids_order":["1397140389","1397140437","1397140482","1397140518","1397140587","1397140640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/32277a09b906bde2fc55d45116dbda3b.jpg","text":"TemporaryFile(/tmp/multipartBody4561715667770046153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545983190,"filename":"image_01112025_00_08_09_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/1/edcd102c4b15d6c941969f537a1e6e83.jpg","text":"TemporaryFile(/tmp/multipartBody5548794572924886762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545983190,"filename":"image_01112025_00_07_54_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/1/7623c21d6fd1a5641edfccc31e0d6f69.jpg","text":"TemporaryFile(/tmp/multipartBody7443917086856464197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545983190,"filename":"image_01112025_00_08_00_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/1/fcf2269d57346ced04f075530a8b2df5.jpg","text":"TemporaryFile(/tmp/multipartBody2629148068909457449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545983190,"filename":"image_01112025_00_08_03_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/1/6c035fffb636f319de818953dc6d55f7.jpg","text":"TemporaryFile(/tmp/multipartBody3607107286525659177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545983190,"filename":"image_01112025_00_07_56_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/1/d3c9cee38e2048013b110e9a3c4ef3eb.jpg","text":"TemporaryFile(/tmp/multipartBody2746005061917620847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764545983190,"filename":"image_01112025_00_08_12_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397140482","file1":"1397140437","file0":"1397140389","file4":"1397140587","file5":"1397140640","file3":"1397140518"},"map_files_photo_id_array":[{"photo_id":"1397140640","filename":"file5"},{"photo_id":"1397140482","filename":"file2"},{"photo_id":"1397140587","filename":"file4"},{"photo_id":"1397140437","filename":"file1"},{"photo_id":"1397140389","filename":"file0"},{"photo_id":"1397140518","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397140587":["hashtag1","hashtag2"]},{"1397140389":["hashtag1","hashtag2"]},{"1397140482":["hashtag1","hashtag2"]},{"1397140518":["hashtag1","hashtag2"]},{"1397140437":["hashtag1","hashtag2"]},{"1397140640":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397140587, 1397140389, 1397140482, 1397140518, 1397140437, 1397140640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.217461347579956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 00:39:32.559812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_29_3578.jpg', '/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_37_2606.jpg', '/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_41_3641.jpg', '/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_43_2548.jpg', '/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_47_3595.jpg', '/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_50_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_29_3578.jpg
/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_37_2606.jpg
/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_41_3641.jpg
/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_43_2548.jpg
/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_47_3595.jpg
/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_50_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":["1397140934","1397140913","1397140939","1397140938","1397140937","1397140871"],"photo_ids_order":["1397140871","1397140913","1397140934","1397140937","1397140938","1397140939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/71248269dde86c9a8613b728437a9024.jpg","text":"TemporaryFile(/tmp/multipartBody1081281810294584955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546034279,"filename":"image_25112025_21_06_41_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/1/3267ce7c19d4244c3e5f969d6664f773.jpg","text":"TemporaryFile(/tmp/multipartBody1985671591172775589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546034279,"filename":"image_25112025_21_06_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/1/2374e4c710ce232103fee5c0fb3dba70.jpg","text":"TemporaryFile(/tmp/multipartBody1338227080741927754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546034279,"filename":"image_25112025_21_06_50_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/65068ab0563f79e13fe4b49f325857c5.jpg","text":"TemporaryFile(/tmp/multipartBody771299166412346911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546034279,"filename":"image_25112025_21_06_47_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/1/12adf6c700059765ecbb596174257d7a.jpg","text":"TemporaryFile(/tmp/multipartBody7166639289330894473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546034279,"filename":"image_25112025_21_06_43_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c877a8a92cc82bc41453324509a5cbf4.jpg","text":"TemporaryFile(/tmp/multipartBody3309081621413150282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546034279,"filename":"image_25112025_21_06_29_3578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397140934","file1":"1397140913","file0":"1397140871","file4":"1397140938","file5":"1397140939","file3":"1397140937"},"map_files_photo_id_array":[{"photo_id":"1397140939","filename":"file5"},{"photo_id":"1397140934","filename":"file2"},{"photo_id":"1397140938","filename":"file4"},{"photo_id":"1397140913","filename":"file1"},{"photo_id":"1397140871","filename":"file0"},{"photo_id":"1397140937","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397140934":["hashtag1","hashtag2"]},{"1397140913":["hashtag1","hashtag2"]},{"1397140939":["hashtag1","hashtag2"]},{"1397140938":["hashtag1","hashtag2"]},{"1397140937":["hashtag1","hashtag2"]},{"1397140871":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397140934, 1397140913, 1397140939, 1397140938, 1397140937, 1397140871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03286266326904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 00:40:12.567044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_52_2651.jpg', '/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_56_3693.jpg', '/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_58_2577.jpg', '/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_01_2650.jpg', '/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_07_2664.jpg', '/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_10_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_52_2651.jpg
/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_56_3693.jpg
/home/pi/Desktop/images/25112025/21/06/image_25112025_21_06_58_2577.jpg
/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_01_2650.jpg
/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_07_2664.jpg
/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_10_2678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397141068","1397141038","1397141008","1397141064","1397141046","1397141066"],"photo_ids_order":["1397141008","1397141038","1397141046","1397141064","1397141066","1397141068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b679bc9fb42b2596a8169e52a6dfb400.jpg","text":"TemporaryFile(/tmp/multipartBody1277702092202209513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546074181,"filename":"image_25112025_21_07_10_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/1/861a9f788caa45e6adeb44de409407d4.jpg","text":"TemporaryFile(/tmp/multipartBody4615774372475215231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546074181,"filename":"image_25112025_21_06_56_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/1/64269df13203fd7b2489504c604ce69a.jpg","text":"TemporaryFile(/tmp/multipartBody6710751744911379403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546074181,"filename":"image_25112025_21_06_52_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/43cac9443993a374b917308cd467864b.jpg","text":"TemporaryFile(/tmp/multipartBody2658131402309251376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546074181,"filename":"image_25112025_21_07_01_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/1/063538a3d576911bea8ebf21aaa28b65.jpg","text":"TemporaryFile(/tmp/multipartBody8630328161221837866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546074181,"filename":"image_25112025_21_06_58_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/1/3966f19f0c152194eda8ead442426c62.jpg","text":"TemporaryFile(/tmp/multipartBody3352258964097336800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546074181,"filename":"image_25112025_21_07_07_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397141046","file1":"1397141038","file0":"1397141008","file4":"1397141066","file5":"1397141068","file3":"1397141064"},"map_files_photo_id_array":[{"photo_id":"1397141068","filename":"file5"},{"photo_id":"1397141046","filename":"file2"},{"photo_id":"1397141066","filename":"file4"},{"photo_id":"1397141038","filename":"file1"},{"photo_id":"1397141008","filename":"file0"},{"photo_id":"1397141064","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397141068":["hashtag1","hashtag2"]},{"1397141038":["hashtag1","hashtag2"]},{"1397141008":["hashtag1","hashtag2"]},{"1397141064":["hashtag1","hashtag2"]},{"1397141046":["hashtag1","hashtag2"]},{"1397141066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397141068, 1397141038, 1397141008, 1397141064, 1397141046, 1397141066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.256619691848755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:41:02.581274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/37/image_01122025_00_37_54_9774.jpg', '/home/pi/Desktop/images/01122025/00/37/image_01122025_00_38_04_9741.jpg', '/home/pi/Desktop/images/01122025/00/38/image_01122025_00_38_13_9873.jpg', '/home/pi/Desktop/images/01122025/00/38/image_01122025_00_38_24_10656.jpg', '/home/pi/Desktop/images/01122025/00/38/image_01122025_00_38_34_9741.jpg', '/home/pi/Desktop/images/01122025/00/38/image_01122025_00_38_44_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/37/image_01122025_00_37_54_9774.jpg
/home/pi/Desktop/images/01122025/00/37/image_01122025_00_38_04_9741.jpg
/home/pi/Desktop/images/01122025/00/38/image_01122025_00_38_13_9873.jpg
/home/pi/Desktop/images/01122025/00/38/image_01122025_00_38_24_10656.jpg
/home/pi/Desktop/images/01122025/00/38/image_01122025_00_38_34_9741.jpg
/home/pi/Desktop/images/01122025/00/38/image_01122025_00_38_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":["1397141071","1397141074","1397141076","1397141070","1397141072","1397141069"],"photo_ids_order":["1397141069","1397141070","1397141071","1397141072","1397141074","1397141076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d1b44b9fe8e084de28e52e67b65b1739.jpg","text":"TemporaryFile(/tmp/multipartBody690996487993202050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546123511,"filename":"image_01122025_00_38_13_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/1/67adc5667974e8e98600a769e4c26c1b.jpg","text":"TemporaryFile(/tmp/multipartBody4147590962857811394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546123511,"filename":"image_01122025_00_38_34_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/908b8aaeea6e4af9e36d98595436f209.jpg","text":"TemporaryFile(/tmp/multipartBody3057060338583743867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546123511,"filename":"image_01122025_00_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/1/9e3db6af9d5a2db59f76cb25802d0fa1.jpg","text":"TemporaryFile(/tmp/multipartBody3924126826287717871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546123511,"filename":"image_01122025_00_38_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/1/e3af650d905cd089ed20297f23c92371.jpg","text":"TemporaryFile(/tmp/multipartBody6165480628996917331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546123511,"filename":"image_01122025_00_38_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/1/1373c517c796c61c181fb6e647388729.jpg","text":"TemporaryFile(/tmp/multipartBody6216421053363662836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546123511,"filename":"image_01122025_00_37_54_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397141071","file1":"1397141070","file0":"1397141069","file4":"1397141074","file5":"1397141076","file3":"1397141072"},"map_files_photo_id_array":[{"photo_id":"1397141076","filename":"file5"},{"photo_id":"1397141071","filename":"file2"},{"photo_id":"1397141074","filename":"file4"},{"photo_id":"1397141070","filename":"file1"},{"photo_id":"1397141069","filename":"file0"},{"photo_id":"1397141072","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397141071":["hashtag1","hashtag2"]},{"1397141074":["hashtag1","hashtag2"]},{"1397141076":["hashtag1","hashtag2"]},{"1397141070":["hashtag1","hashtag2"]},{"1397141072":["hashtag1","hashtag2"]},{"1397141069":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397141071, 1397141074, 1397141076, 1397141070, 1397141072, 1397141069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63621997833252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 00:41:41.938177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_14_2705.jpg', '/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_17_2764.jpg', '/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_21_3754.jpg', '/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_24_2862.jpg', '/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_26_2661.jpg', '/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_29_2806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_14_2705.jpg
/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_17_2764.jpg
/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_21_3754.jpg
/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_24_2862.jpg
/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_26_2661.jpg
/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_29_2806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397141080","1397141082","1397141085","1397141081","1397141084","1397141083"],"photo_ids_order":["1397141080","1397141081","1397141082","1397141083","1397141084","1397141085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/db88c68a7dcf892b71d5718b98fa3f67.jpg","text":"TemporaryFile(/tmp/multipartBody302193425489301369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546162766,"filename":"image_01112025_00_08_14_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/1/19764c91763108d52e7176f56547cc31.jpg","text":"TemporaryFile(/tmp/multipartBody6288210975821490260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546162766,"filename":"image_01112025_00_08_21_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/1/99c50cfc783684b7a5ff451f2f12068e.jpg","text":"TemporaryFile(/tmp/multipartBody1937807300294829288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546162766,"filename":"image_01112025_00_08_29_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/1/ec10fabec11e8610b3723bcd21e6e5ef.jpg","text":"TemporaryFile(/tmp/multipartBody1495323549357599650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546162766,"filename":"image_01112025_00_08_17_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3e2f197f1390f822e53077030caa1684.jpg","text":"TemporaryFile(/tmp/multipartBody1494076517755090634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546162766,"filename":"image_01112025_00_08_26_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/1/8a93fc10ecaa8488bb0275f478cc1ce9.jpg","text":"TemporaryFile(/tmp/multipartBody1042666601490922714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546162766,"filename":"image_01112025_00_08_24_2862.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397141082","file1":"1397141081","file0":"1397141080","file4":"1397141084","file5":"1397141085","file3":"1397141083"},"map_files_photo_id_array":[{"photo_id":"1397141085","filename":"file5"},{"photo_id":"1397141082","filename":"file2"},{"photo_id":"1397141084","filename":"file4"},{"photo_id":"1397141081","filename":"file1"},{"photo_id":"1397141080","filename":"file0"},{"photo_id":"1397141083","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397141080":["hashtag1","hashtag2"]},{"1397141082":["hashtag1","hashtag2"]},{"1397141085":["hashtag1","hashtag2"]},{"1397141081":["hashtag1","hashtag2"]},{"1397141084":["hashtag1","hashtag2"]},{"1397141083":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397141080, 1397141082, 1397141085, 1397141081, 1397141084, 1397141083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.166239500045776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 00:42:22.077638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/38/image_01122025_00_38_54_10684.jpg', '/home/pi/Desktop/images/01122025/00/38/image_01122025_00_39_04_9771.jpg', '/home/pi/Desktop/images/01122025/00/39/image_01122025_00_39_14_9728.jpg', '/home/pi/Desktop/images/01122025/00/39/image_01122025_00_39_24_9734.jpg', '/home/pi/Desktop/images/01122025/00/39/image_01122025_00_39_54_9658.jpg', '/home/pi/Desktop/images/01122025/00/39/image_01122025_00_40_04_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/38/image_01122025_00_38_54_10684.jpg
/home/pi/Desktop/images/01122025/00/38/image_01122025_00_39_04_9771.jpg
/home/pi/Desktop/images/01122025/00/39/image_01122025_00_39_14_9728.jpg
/home/pi/Desktop/images/01122025/00/39/image_01122025_00_39_24_9734.jpg
/home/pi/Desktop/images/01122025/00/39/image_01122025_00_39_54_9658.jpg
/home/pi/Desktop/images/01122025/00/39/image_01122025_00_40_04_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":["1397141092","1397141095","1397141094","1397141088","1397141090","1397141093"],"photo_ids_order":["1397141088","1397141090","1397141092","1397141093","1397141094","1397141095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/463ff0043d0d0a45828c42405e30c5a5.jpg","text":"TemporaryFile(/tmp/multipartBody3945108871868129675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546202826,"filename":"image_01122025_00_39_14_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8c03cde9cdbef72e36ec27839322afc5.jpg","text":"TemporaryFile(/tmp/multipartBody6129754733378789707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546202826,"filename":"image_01122025_00_40_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/1/46deb4645dba0ea895f84586d9979293.jpg","text":"TemporaryFile(/tmp/multipartBody1702813358002530684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546202826,"filename":"image_01122025_00_39_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/1/9f329d338b14c845d162172b7463262e.jpg","text":"TemporaryFile(/tmp/multipartBody4017401015772876535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546202826,"filename":"image_01122025_00_38_54_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dfeb121d0ef2b7c7ef30c62db4c5cd6d.jpg","text":"TemporaryFile(/tmp/multipartBody2111941786537524088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546202826,"filename":"image_01122025_00_39_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/1/8ae84aacd852a10c8e45bfd78cd46424.jpg","text":"TemporaryFile(/tmp/multipartBody7217631415004719705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546202826,"filename":"image_01122025_00_39_24_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397141092","file1":"1397141090","file0":"1397141088","file4":"1397141094","file5":"1397141095","file3":"1397141093"},"map_files_photo_id_array":[{"photo_id":"1397141095","filename":"file5"},{"photo_id":"1397141092","filename":"file2"},{"photo_id":"1397141094","filename":"file4"},{"photo_id":"1397141090","filename":"file1"},{"photo_id":"1397141088","filename":"file0"},{"photo_id":"1397141093","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397141092":["hashtag1","hashtag2"]},{"1397141095":["hashtag1","hashtag2"]},{"1397141094":["hashtag1","hashtag2"]},{"1397141088":["hashtag1","hashtag2"]},{"1397141090":["hashtag1","hashtag2"]},{"1397141093":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397141092, 1397141095, 1397141094, 1397141088, 1397141090, 1397141093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56598615646362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:43:02.900109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/40/image_01122025_00_40_14_10797.jpg', '/home/pi/Desktop/images/01122025/00/40/image_01122025_00_40_24_9831.jpg', '/home/pi/Desktop/images/01122025/00/40/image_01122025_00_40_34_9545.jpg', '/home/pi/Desktop/images/01122025/00/40/image_01122025_00_40_44_10661.jpg', '/home/pi/Desktop/images/01122025/00/40/image_01122025_00_40_54_9707.jpg', '/home/pi/Desktop/images/01122025/00/40/image_01122025_00_41_04_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/40/image_01122025_00_40_14_10797.jpg
/home/pi/Desktop/images/01122025/00/40/image_01122025_00_40_24_9831.jpg
/home/pi/Desktop/images/01122025/00/40/image_01122025_00_40_34_9545.jpg
/home/pi/Desktop/images/01122025/00/40/image_01122025_00_40_44_10661.jpg
/home/pi/Desktop/images/01122025/00/40/image_01122025_00_40_54_9707.jpg
/home/pi/Desktop/images/01122025/00/40/image_01122025_00_41_04_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":["1397141102","1397141104","1397141097","1397141099","1397141096","1397141098"],"photo_ids_order":["1397141096","1397141097","1397141098","1397141099","1397141102","1397141104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/abfab97502e9fbcc87f712b8e3722784.jpg","text":"TemporaryFile(/tmp/multipartBody6134209644544732739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546243748,"filename":"image_01122025_00_40_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/1/5a9c812476bd0a4f20d309d6103b30b3.jpg","text":"TemporaryFile(/tmp/multipartBody591095336392810600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546243748,"filename":"image_01122025_00_41_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/1/b3131a0deac7ec1ab40583e8551f43de.jpg","text":"TemporaryFile(/tmp/multipartBody5941212584465067937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546243748,"filename":"image_01122025_00_40_24_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4e2e3922202ae68729d23c4e68de57c5.jpg","text":"TemporaryFile(/tmp/multipartBody1811260952361696402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546243748,"filename":"image_01122025_00_40_44_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dd48aadc8a804060dc1d2c88fff9406b.jpg","text":"TemporaryFile(/tmp/multipartBody415178471773382500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546243748,"filename":"image_01122025_00_40_14_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/1/aad70f1a4c277be4e37b81d9908366dd.jpg","text":"TemporaryFile(/tmp/multipartBody8106821726216061130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546243748,"filename":"image_01122025_00_40_34_9545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397141098","file1":"1397141097","file0":"1397141096","file4":"1397141102","file5":"1397141104","file3":"1397141099"},"map_files_photo_id_array":[{"photo_id":"1397141104","filename":"file5"},{"photo_id":"1397141098","filename":"file2"},{"photo_id":"1397141102","filename":"file4"},{"photo_id":"1397141097","filename":"file1"},{"photo_id":"1397141096","filename":"file0"},{"photo_id":"1397141099","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397141102":["hashtag1","hashtag2"]},{"1397141104":["hashtag1","hashtag2"]},{"1397141097":["hashtag1","hashtag2"]},{"1397141099":["hashtag1","hashtag2"]},{"1397141096":["hashtag1","hashtag2"]},{"1397141098":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397141102, 1397141104, 1397141097, 1397141099, 1397141096, 1397141098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13181447982788 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 00:43:42.380066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_33_3569.jpg', '/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_35_2558.jpg', '/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_38_2679.jpg', '/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_42_3548.jpg', '/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_44_2497.jpg', '/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_48_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_33_3569.jpg
/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_35_2558.jpg
/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_38_2679.jpg
/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_42_3548.jpg
/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_44_2497.jpg
/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_48_3682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397141110","1397141107","1397141112","1397141109","1397141111","1397141108"],"photo_ids_order":["1397141107","1397141108","1397141109","1397141110","1397141111","1397141112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9597649371575646051a7f4cf4c99cdf.jpg","text":"TemporaryFile(/tmp/multipartBody7972325416934014417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546283206,"filename":"image_01112025_00_08_42_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/1/79d0e6bfa56491d01bce433621a91e80.jpg","text":"TemporaryFile(/tmp/multipartBody4491144030662657093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546283206,"filename":"image_01112025_00_08_33_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/1/393ac15a2b1ed210245fa14bb46227de.jpg","text":"TemporaryFile(/tmp/multipartBody6416728456479800735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546283206,"filename":"image_01112025_00_08_48_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/93995f7d499a746fc566d91e8c993273.jpg","text":"TemporaryFile(/tmp/multipartBody15174837638608895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546283206,"filename":"image_01112025_00_08_38_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/1/ec57f819ac8c89642669f51c7249fa4e.jpg","text":"TemporaryFile(/tmp/multipartBody6703370801904850036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546283206,"filename":"image_01112025_00_08_44_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/1/7626acdaa0e2c242e1c25b91ba2bf432.jpg","text":"TemporaryFile(/tmp/multipartBody3411498543064442122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546283206,"filename":"image_01112025_00_08_35_2558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397141109","file1":"1397141108","file0":"1397141107","file4":"1397141111","file5":"1397141112","file3":"1397141110"},"map_files_photo_id_array":[{"photo_id":"1397141112","filename":"file5"},{"photo_id":"1397141109","filename":"file2"},{"photo_id":"1397141111","filename":"file4"},{"photo_id":"1397141108","filename":"file1"},{"photo_id":"1397141107","filename":"file0"},{"photo_id":"1397141110","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397141110":["hashtag1","hashtag2"]},{"1397141107":["hashtag1","hashtag2"]},{"1397141112":["hashtag1","hashtag2"]},{"1397141109":["hashtag1","hashtag2"]},{"1397141111":["hashtag1","hashtag2"]},{"1397141108":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397141110, 1397141107, 1397141112, 1397141109, 1397141111, 1397141108)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.356865644454956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 00:44:32.561869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_14_3525.jpg', '/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_16_2711.jpg', '/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_20_3642.jpg', '/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_23_2546.jpg', '/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_25_2648.jpg', '/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_29_3687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_14_3525.jpg
/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_16_2711.jpg
/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_20_3642.jpg
/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_23_2546.jpg
/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_25_2648.jpg
/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_29_3687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397141125","1397141124","1397141118","1397141123","1397141126","1397141120"],"photo_ids_order":["1397141118","1397141120","1397141123","1397141124","1397141125","1397141126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6f9f8ea7323527c67a04ce749148dcdf.jpg","text":"TemporaryFile(/tmp/multipartBody5218590008380010979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546334259,"filename":"image_25112025_21_07_25_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e609a7562c5b4e50107303a749b94a2e.jpg","text":"TemporaryFile(/tmp/multipartBody6906671183740342537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546334259,"filename":"image_25112025_21_07_23_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/1/3257ea47ed6a1b29030e5ef24c59fd9e.jpg","text":"TemporaryFile(/tmp/multipartBody6541208663343729072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546334259,"filename":"image_25112025_21_07_14_3525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/831e51e4a41217cef02742a43663f49d.jpg","text":"TemporaryFile(/tmp/multipartBody7940253754887528060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546334259,"filename":"image_25112025_21_07_20_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e47b4bec8c671761a22359f070cec82b.jpg","text":"TemporaryFile(/tmp/multipartBody5200280452799978771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546334259,"filename":"image_25112025_21_07_29_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/1/a3ff567be12e6d16178b0d87ab5ba163.jpg","text":"TemporaryFile(/tmp/multipartBody3583412611411624756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546334259,"filename":"image_25112025_21_07_16_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397141123","file1":"1397141120","file0":"1397141118","file4":"1397141125","file5":"1397141126","file3":"1397141124"},"map_files_photo_id_array":[{"photo_id":"1397141126","filename":"file5"},{"photo_id":"1397141123","filename":"file2"},{"photo_id":"1397141125","filename":"file4"},{"photo_id":"1397141120","filename":"file1"},{"photo_id":"1397141118","filename":"file0"},{"photo_id":"1397141124","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397141125":["hashtag1","hashtag2"]},{"1397141124":["hashtag1","hashtag2"]},{"1397141118":["hashtag1","hashtag2"]},{"1397141123":["hashtag1","hashtag2"]},{"1397141126":["hashtag1","hashtag2"]},{"1397141120":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397141125, 1397141124, 1397141118, 1397141123, 1397141126, 1397141120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78194046020508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 00:45:12.635807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_32_2782.jpg', '/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_34_2617.jpg', '/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_37_2745.jpg', '/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_41_3719.jpg', '/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_44_2842.jpg', '/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_46_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_32_2782.jpg
/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_34_2617.jpg
/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_37_2745.jpg
/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_41_3719.jpg
/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_44_2842.jpg
/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_46_2575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397141137","1397141131","1397141133","1397141127","1397141135","1397141129"],"photo_ids_order":["1397141127","1397141129","1397141131","1397141133","1397141135","1397141137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f1000ed42595b9fba7b1dcddff8ae797.jpg","text":"TemporaryFile(/tmp/multipartBody3999417489286567511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546374255,"filename":"image_25112025_21_07_46_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/abc5f93f9d914a71ee4f80a710a13c79.jpg","text":"TemporaryFile(/tmp/multipartBody1073779138904680745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546374255,"filename":"image_25112025_21_07_37_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/1/3fb4dd7a09703987b2cc6cfbc66d2788.jpg","text":"TemporaryFile(/tmp/multipartBody6329993425794741540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546374255,"filename":"image_25112025_21_07_41_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8bd6f24118527378af7eab716ecb73ef.jpg","text":"TemporaryFile(/tmp/multipartBody1768375909819466874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546374255,"filename":"image_25112025_21_07_32_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/1/975439e5ff485a0f777884f4b42751af.jpg","text":"TemporaryFile(/tmp/multipartBody2061156937625851315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546374255,"filename":"image_25112025_21_07_44_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ca7b525a02ccc45cb0558960bb6e3d1d.jpg","text":"TemporaryFile(/tmp/multipartBody6013550448377016373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546374255,"filename":"image_25112025_21_07_34_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397141131","file1":"1397141129","file0":"1397141127","file4":"1397141135","file5":"1397141137","file3":"1397141133"},"map_files_photo_id_array":[{"photo_id":"1397141137","filename":"file5"},{"photo_id":"1397141131","filename":"file2"},{"photo_id":"1397141135","filename":"file4"},{"photo_id":"1397141129","filename":"file1"},{"photo_id":"1397141127","filename":"file0"},{"photo_id":"1397141133","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397141137":["hashtag1","hashtag2"]},{"1397141131":["hashtag1","hashtag2"]},{"1397141133":["hashtag1","hashtag2"]},{"1397141127":["hashtag1","hashtag2"]},{"1397141135":["hashtag1","hashtag2"]},{"1397141129":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397141137, 1397141131, 1397141133, 1397141127, 1397141135, 1397141129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31009578704834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:46:02.362385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/41/image_01122025_00_41_13_9646.jpg', '/home/pi/Desktop/images/01122025/00/41/image_01122025_00_41_34_9806.jpg', '/home/pi/Desktop/images/01122025/00/41/image_01122025_00_41_44_9668.jpg', '/home/pi/Desktop/images/01122025/00/41/image_01122025_00_41_54_10650.jpg', '/home/pi/Desktop/images/01122025/00/42/image_01122025_00_42_23_9697.jpg', '/home/pi/Desktop/images/01122025/00/42/image_01122025_00_42_53_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/41/image_01122025_00_41_13_9646.jpg
/home/pi/Desktop/images/01122025/00/41/image_01122025_00_41_34_9806.jpg
/home/pi/Desktop/images/01122025/00/41/image_01122025_00_41_44_9668.jpg
/home/pi/Desktop/images/01122025/00/41/image_01122025_00_41_54_10650.jpg
/home/pi/Desktop/images/01122025/00/42/image_01122025_00_42_23_9697.jpg
/home/pi/Desktop/images/01122025/00/42/image_01122025_00_42_53_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397141140","1397141143","1397141145","1397141139","1397141141","1397141138"],"photo_ids_order":["1397141138","1397141139","1397141140","1397141141","1397141143","1397141145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5fd03fdeef6fe7aec8a79a3ccdb4931d.jpg","text":"TemporaryFile(/tmp/multipartBody1305022393222719313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546423131,"filename":"image_01122025_00_41_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/1/9ef21f6a4ed49df5c5abaaa263bf43ec.jpg","text":"TemporaryFile(/tmp/multipartBody3325999981526330012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546423131,"filename":"image_01122025_00_42_23_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/1/a43adc2210433dd5602861e60121ee1d.jpg","text":"TemporaryFile(/tmp/multipartBody2084091509947803488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546423131,"filename":"image_01122025_00_42_53_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e4f502f996f4c5d8c634b47ba2543b98.jpg","text":"TemporaryFile(/tmp/multipartBody8842761289016001760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546423131,"filename":"image_01122025_00_41_34_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f47c8af677ac49d7b0230b0093fcbcd8.jpg","text":"TemporaryFile(/tmp/multipartBody1491344564920377849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546423131,"filename":"image_01122025_00_41_54_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/1/fed8def0f79536421534091843cb7611.jpg","text":"TemporaryFile(/tmp/multipartBody2672782679202358282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546423131,"filename":"image_01122025_00_41_13_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397141140","file1":"1397141139","file0":"1397141138","file4":"1397141143","file5":"1397141145","file3":"1397141141"},"map_files_photo_id_array":[{"photo_id":"1397141145","filename":"file5"},{"photo_id":"1397141140","filename":"file2"},{"photo_id":"1397141143","filename":"file4"},{"photo_id":"1397141139","filename":"file1"},{"photo_id":"1397141138","filename":"file0"},{"photo_id":"1397141141","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397141140":["hashtag1","hashtag2"]},{"1397141143":["hashtag1","hashtag2"]},{"1397141145":["hashtag1","hashtag2"]},{"1397141139":["hashtag1","hashtag2"]},{"1397141141":["hashtag1","hashtag2"]},{"1397141138":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397141140, 1397141143, 1397141145, 1397141139, 1397141141, 1397141138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20862531661987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 00:46:41.969956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_51_2866.jpg', '/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_54_3144.jpg', '/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_57_2724.jpg', '/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_03_3757.jpg', '/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_05_2653.jpg', '/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_08_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_51_2866.jpg
/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_54_3144.jpg
/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_57_2724.jpg
/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_03_3757.jpg
/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_05_2653.jpg
/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_08_2665.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7292747497558594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:47:02.851648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/43/image_01122025_00_43_23_9565.jpg', '/home/pi/Desktop/images/01122025/00/43/image_01122025_00_43_34_10652.jpg', '/home/pi/Desktop/images/01122025/00/43/image_01122025_00_43_44_9697.jpg', '/home/pi/Desktop/images/01122025/00/43/image_01122025_00_43_53_9637.jpg', '/home/pi/Desktop/images/01122025/00/43/image_01122025_00_44_04_10814.jpg', '/home/pi/Desktop/images/01122025/00/44/image_01122025_00_44_14_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/43/image_01122025_00_43_23_9565.jpg
/home/pi/Desktop/images/01122025/00/43/image_01122025_00_43_34_10652.jpg
/home/pi/Desktop/images/01122025/00/43/image_01122025_00_43_44_9697.jpg
/home/pi/Desktop/images/01122025/00/43/image_01122025_00_43_53_9637.jpg
/home/pi/Desktop/images/01122025/00/43/image_01122025_00_44_04_10814.jpg
/home/pi/Desktop/images/01122025/00/44/image_01122025_00_44_14_9822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397141161","1397141155","1397141158","1397141154","1397141153","1397141156"],"photo_ids_order":["1397141153","1397141154","1397141155","1397141156","1397141158","1397141161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e4933697b46b3ffbc821eca58e196583.jpg","text":"TemporaryFile(/tmp/multipartBody4312732877611378364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546483693,"filename":"image_01122025_00_44_14_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4ee4fdad929c6958bf8eafca63ea636a.jpg","text":"TemporaryFile(/tmp/multipartBody463201452389899470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546483693,"filename":"image_01122025_00_43_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/1/975fbc82bca5c552cf809f18b5550678.jpg","text":"TemporaryFile(/tmp/multipartBody6661677837473246283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546483693,"filename":"image_01122025_00_44_04_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/1/59e51fb23446f3d5c73258a5a4ea5813.jpg","text":"TemporaryFile(/tmp/multipartBody8216181416716975637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546483693,"filename":"image_01122025_00_43_34_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5072cce13b290081bf3bc80c4e6791f2.jpg","text":"TemporaryFile(/tmp/multipartBody8114954334870577187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546483693,"filename":"image_01122025_00_43_23_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/1/23ba0548ca4bae27e288c22d7b638738.jpg","text":"TemporaryFile(/tmp/multipartBody8745508073573282338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546483693,"filename":"image_01122025_00_43_53_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397141155","file1":"1397141154","file0":"1397141153","file4":"1397141158","file5":"1397141161","file3":"1397141156"},"map_files_photo_id_array":[{"photo_id":"1397141161","filename":"file5"},{"photo_id":"1397141155","filename":"file2"},{"photo_id":"1397141158","filename":"file4"},{"photo_id":"1397141154","filename":"file1"},{"photo_id":"1397141153","filename":"file0"},{"photo_id":"1397141156","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397141161":["hashtag1","hashtag2"]},{"1397141155":["hashtag1","hashtag2"]},{"1397141158":["hashtag1","hashtag2"]},{"1397141154":["hashtag1","hashtag2"]},{"1397141153":["hashtag1","hashtag2"]},{"1397141156":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397141161, 1397141155, 1397141158, 1397141154, 1397141153, 1397141156)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.74791741371155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:48:02.778860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/44/image_01122025_00_44_24_9627.jpg', '/home/pi/Desktop/images/01122025/00/45/image_01122025_00_45_14_9802.jpg', '/home/pi/Desktop/images/01122025/00/45/image_01122025_00_45_24_10744.jpg', '/home/pi/Desktop/images/01122025/00/45/image_01122025_00_45_34_9972.jpg', '/home/pi/Desktop/images/01122025/00/45/image_01122025_00_45_54_9667.jpg', '/home/pi/Desktop/images/01122025/00/45/image_01122025_00_46_04_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/44/image_01122025_00_44_24_9627.jpg
/home/pi/Desktop/images/01122025/00/45/image_01122025_00_45_14_9802.jpg
/home/pi/Desktop/images/01122025/00/45/image_01122025_00_45_24_10744.jpg
/home/pi/Desktop/images/01122025/00/45/image_01122025_00_45_34_9972.jpg
/home/pi/Desktop/images/01122025/00/45/image_01122025_00_45_54_9667.jpg
/home/pi/Desktop/images/01122025/00/45/image_01122025_00_46_04_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":["1397141170","1397141169","1397141172","1397141171","1397141174","1397141177"],"photo_ids_order":["1397141169","1397141170","1397141171","1397141172","1397141174","1397141177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b8c0719a249339e0063a2734148f0325.jpg","text":"TemporaryFile(/tmp/multipartBody1808506481574904831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546543557,"filename":"image_01122025_00_45_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/1/34b93c9efecce909deb4ea8054f19e80.jpg","text":"TemporaryFile(/tmp/multipartBody3736966703894386999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546543557,"filename":"image_01122025_00_44_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/1/652f648e13d1efa2a43b98a325196f77.jpg","text":"TemporaryFile(/tmp/multipartBody4923940265774796793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546543557,"filename":"image_01122025_00_45_34_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/1/a437730b28a05c4746cc275f578f4ff5.jpg","text":"TemporaryFile(/tmp/multipartBody4788701851291817711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546543557,"filename":"image_01122025_00_45_24_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/37aa14755757b7f946518b9d6474735a.jpg","text":"TemporaryFile(/tmp/multipartBody377047080348702798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546543557,"filename":"image_01122025_00_45_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/1/b3f119319e2635ad789488a120a2946c.jpg","text":"TemporaryFile(/tmp/multipartBody5250286564345963963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546543557,"filename":"image_01122025_00_46_04_10682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397141171","file1":"1397141170","file0":"1397141169","file4":"1397141174","file5":"1397141177","file3":"1397141172"},"map_files_photo_id_array":[{"photo_id":"1397141177","filename":"file5"},{"photo_id":"1397141171","filename":"file2"},{"photo_id":"1397141174","filename":"file4"},{"photo_id":"1397141170","filename":"file1"},{"photo_id":"1397141169","filename":"file0"},{"photo_id":"1397141172","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397141170":["hashtag1","hashtag2"]},{"1397141169":["hashtag1","hashtag2"]},{"1397141172":["hashtag1","hashtag2"]},{"1397141171":["hashtag1","hashtag2"]},{"1397141174":["hashtag1","hashtag2"]},{"1397141177":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397141170, 1397141169, 1397141172, 1397141171, 1397141174, 1397141177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66133141517639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 00:48:42.313348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_51_2866.jpg', '/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_54_3144.jpg', '/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_57_2724.jpg', '/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_03_3757.jpg', '/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_05_2653.jpg', '/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_08_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_51_2866.jpg
/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_54_3144.jpg
/home/pi/Desktop/images/01112025/00/08/image_01112025_00_08_57_2724.jpg
/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_03_3757.jpg
/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_05_2653.jpg
/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_08_2665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397141179","1397141181","1397141184","1397141180","1397141183","1397141182"],"photo_ids_order":["1397141179","1397141180","1397141181","1397141182","1397141183","1397141184"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4c6d7454fa8ae1f6f25e29b1967952a5.jpg","text":"TemporaryFile(/tmp/multipartBody2670494269319470488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546583026,"filename":"image_01112025_00_08_51_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/422e845b153933421e16c532bb092441.jpg","text":"TemporaryFile(/tmp/multipartBody8684773245375984252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546583026,"filename":"image_01112025_00_08_57_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0320aa0d70cc5a9cec15b8b2005c93a6.jpg","text":"TemporaryFile(/tmp/multipartBody7690981692614175250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546583026,"filename":"image_01112025_00_09_08_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/1/7c8836489d030ba65e1a458fb630cd39.jpg","text":"TemporaryFile(/tmp/multipartBody251505529265532251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546583026,"filename":"image_01112025_00_08_54_3144.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/17681fac87da31649424c1b39df6afe8.jpg","text":"TemporaryFile(/tmp/multipartBody69420520602189521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546583026,"filename":"image_01112025_00_09_05_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/1/c41c9e8040c1f76c404d908835b8829a.jpg","text":"TemporaryFile(/tmp/multipartBody7328707078292847517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546583026,"filename":"image_01112025_00_09_03_3757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397141181","file1":"1397141180","file0":"1397141179","file4":"1397141183","file5":"1397141184","file3":"1397141182"},"map_files_photo_id_array":[{"photo_id":"1397141184","filename":"file5"},{"photo_id":"1397141181","filename":"file2"},{"photo_id":"1397141183","filename":"file4"},{"photo_id":"1397141180","filename":"file1"},{"photo_id":"1397141179","filename":"file0"},{"photo_id":"1397141182","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397141179":["hashtag1","hashtag2"]},{"1397141181":["hashtag1","hashtag2"]},{"1397141184":["hashtag1","hashtag2"]},{"1397141180":["hashtag1","hashtag2"]},{"1397141183":["hashtag1","hashtag2"]},{"1397141182":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397141179, 1397141181, 1397141184, 1397141180, 1397141183, 1397141182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41683578491211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 00:49:22.570332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/46/image_01122025_00_46_14_9911.jpg', '/home/pi/Desktop/images/01122025/00/46/image_01122025_00_46_24_9665.jpg', '/home/pi/Desktop/images/01122025/00/46/image_01122025_00_46_34_9703.jpg', '/home/pi/Desktop/images/01122025/00/46/image_01122025_00_46_44_10800.jpg', '/home/pi/Desktop/images/01122025/00/46/image_01122025_00_46_54_9624.jpg', '/home/pi/Desktop/images/01122025/00/46/image_01122025_00_47_04_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/46/image_01122025_00_46_14_9911.jpg
/home/pi/Desktop/images/01122025/00/46/image_01122025_00_46_24_9665.jpg
/home/pi/Desktop/images/01122025/00/46/image_01122025_00_46_34_9703.jpg
/home/pi/Desktop/images/01122025/00/46/image_01122025_00_46_44_10800.jpg
/home/pi/Desktop/images/01122025/00/46/image_01122025_00_46_54_9624.jpg
/home/pi/Desktop/images/01122025/00/46/image_01122025_00_47_04_9625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397141191","1397141193","1397141187","1397141196","1397141195","1397141189"],"photo_ids_order":["1397141187","1397141189","1397141191","1397141193","1397141195","1397141196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/52a48714216df25e1406595f2933ef21.jpg","text":"TemporaryFile(/tmp/multipartBody3461041134127742190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546623319,"filename":"image_01122025_00_46_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/1/b0a03b04c98351c1c5734297bf8a175a.jpg","text":"TemporaryFile(/tmp/multipartBody8064990817986969110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546623319,"filename":"image_01122025_00_46_44_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/1/9d1bc116b0dead53043876f66b23a135.jpg","text":"TemporaryFile(/tmp/multipartBody7813469679581442792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546623319,"filename":"image_01122025_00_46_14_9911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8e519318746c37a6b31c258dfb7be35f.jpg","text":"TemporaryFile(/tmp/multipartBody5067753368955575163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546623319,"filename":"image_01122025_00_47_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/1/971fe453d17c524c327c7e66992e4172.jpg","text":"TemporaryFile(/tmp/multipartBody5756833871283561952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546623319,"filename":"image_01122025_00_46_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/1/90bcf5bbe725b33a1df037d393e5bd6d.jpg","text":"TemporaryFile(/tmp/multipartBody3138396319943109023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546623319,"filename":"image_01122025_00_46_24_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397141191","file1":"1397141189","file0":"1397141187","file4":"1397141195","file5":"1397141196","file3":"1397141193"},"map_files_photo_id_array":[{"photo_id":"1397141196","filename":"file5"},{"photo_id":"1397141191","filename":"file2"},{"photo_id":"1397141195","filename":"file4"},{"photo_id":"1397141189","filename":"file1"},{"photo_id":"1397141187","filename":"file0"},{"photo_id":"1397141193","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397141191":["hashtag1","hashtag2"]},{"1397141193":["hashtag1","hashtag2"]},{"1397141187":["hashtag1","hashtag2"]},{"1397141196":["hashtag1","hashtag2"]},{"1397141195":["hashtag1","hashtag2"]},{"1397141189":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397141191, 1397141193, 1397141187, 1397141196, 1397141195, 1397141189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.96879315376282 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-01 00:50:20.108671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_50_3649.jpg', '/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_54_4323.jpg', '/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_56_1588.jpg', '/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_58_2646.jpg', '/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_01_2644.jpg', '/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_05_3587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_50_3649.jpg
/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_54_4323.jpg
/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_56_1588.jpg
/home/pi/Desktop/images/25112025/21/07/image_25112025_21_07_58_2646.jpg
/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_01_2644.jpg
/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_05_3587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397141201","1397141203","1397141199","1397141211","1397141208","1397141210"],"photo_ids_order":["1397141199","1397141201","1397141203","1397141208","1397141210","1397141211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/971fdb47baf9bc8ae58ffec58b9872e4.jpg","text":"TemporaryFile(/tmp/multipartBody6518586794692657917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546685624,"filename":"image_25112025_21_07_54_4323.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a8fbe74e8d77e53f53f668ae56b0264e.jpg","text":"TemporaryFile(/tmp/multipartBody3525810097649347689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546685624,"filename":"image_25112025_21_07_56_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/1/5fba349ad3ee25b57e5920a0a836d90f.jpg","text":"TemporaryFile(/tmp/multipartBody4592512455475478441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546685624,"filename":"image_25112025_21_07_50_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/1/88940a9f222c8ad4c923f8b271db0572.jpg","text":"TemporaryFile(/tmp/multipartBody2849954579424002001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546685624,"filename":"image_25112025_21_08_05_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/1/782de7c8e7cba54b4efaecd322cced31.jpg","text":"TemporaryFile(/tmp/multipartBody4490279172973023617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546685624,"filename":"image_25112025_21_07_58_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/34fe008cb7712ed13a18cda46187abbc.jpg","text":"TemporaryFile(/tmp/multipartBody536139006915499323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546685624,"filename":"image_25112025_21_08_01_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397141203","file1":"1397141201","file0":"1397141199","file4":"1397141210","file5":"1397141211","file3":"1397141208"},"map_files_photo_id_array":[{"photo_id":"1397141211","filename":"file5"},{"photo_id":"1397141203","filename":"file2"},{"photo_id":"1397141210","filename":"file4"},{"photo_id":"1397141201","filename":"file1"},{"photo_id":"1397141199","filename":"file0"},{"photo_id":"1397141208","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397141201":["hashtag1","hashtag2"]},{"1397141203":["hashtag1","hashtag2"]},{"1397141199":["hashtag1","hashtag2"]},{"1397141211":["hashtag1","hashtag2"]},{"1397141208":["hashtag1","hashtag2"]},{"1397141210":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397141201, 1397141203, 1397141199, 1397141211, 1397141208, 1397141210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.14551591873169 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 00:51:12.353023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_07_2606.jpg', '/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_11_3542.jpg', '/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_13_2625.jpg', '/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_16_2656.jpg', '/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_20_3713.jpg', '/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_23_2897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_07_2606.jpg
/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_11_3542.jpg
/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_13_2625.jpg
/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_16_2656.jpg
/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_20_3713.jpg
/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_23_2897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397141215","1397141218","1397141212","1397141222","1397141219","1397141213"],"photo_ids_order":["1397141212","1397141213","1397141215","1397141218","1397141219","1397141222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/baec766bc328fbde6d347af11ede59d4.jpg","text":"TemporaryFile(/tmp/multipartBody9196073767750284142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546734073,"filename":"image_25112025_21_08_13_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/1/2c313aa646578b3abfca634c9e64d0fd.jpg","text":"TemporaryFile(/tmp/multipartBody4928068864409653341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546734073,"filename":"image_25112025_21_08_16_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/1/08972dfab0e54d4eeb60475c1266cc10.jpg","text":"TemporaryFile(/tmp/multipartBody8186258529425360312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546734073,"filename":"image_25112025_21_08_07_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c0781633bb7a1866f15c002a6c2926e9.jpg","text":"TemporaryFile(/tmp/multipartBody3323095987002748816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546734073,"filename":"image_25112025_21_08_23_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/1/3b1e4a75fe06d79cd60094fb83219242.jpg","text":"TemporaryFile(/tmp/multipartBody27605460742619028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546734073,"filename":"image_25112025_21_08_20_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/18812456cbe6f7cdb746448565728059.jpg","text":"TemporaryFile(/tmp/multipartBody7244364424107658111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546734073,"filename":"image_25112025_21_08_11_3542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397141215","file1":"1397141213","file0":"1397141212","file4":"1397141219","file5":"1397141222","file3":"1397141218"},"map_files_photo_id_array":[{"photo_id":"1397141222","filename":"file5"},{"photo_id":"1397141215","filename":"file2"},{"photo_id":"1397141219","filename":"file4"},{"photo_id":"1397141213","filename":"file1"},{"photo_id":"1397141212","filename":"file0"},{"photo_id":"1397141218","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397141215":["hashtag1","hashtag2"]},{"1397141218":["hashtag1","hashtag2"]},{"1397141212":["hashtag1","hashtag2"]},{"1397141222":["hashtag1","hashtag2"]},{"1397141219":["hashtag1","hashtag2"]},{"1397141213":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397141215, 1397141218, 1397141212, 1397141222, 1397141219, 1397141213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.31074857711792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:52:02.723372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/47/image_01122025_00_47_24_9768.jpg', '/home/pi/Desktop/images/01122025/00/47/image_01122025_00_47_54_10820.jpg', '/home/pi/Desktop/images/01122025/00/47/image_01122025_00_48_04_9739.jpg', '/home/pi/Desktop/images/01122025/00/48/image_01122025_00_48_14_9716.jpg', '/home/pi/Desktop/images/01122025/00/48/image_01122025_00_48_34_10738.jpg', '/home/pi/Desktop/images/01122025/00/48/image_01122025_00_48_44_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/47/image_01122025_00_47_24_9768.jpg
/home/pi/Desktop/images/01122025/00/47/image_01122025_00_47_54_10820.jpg
/home/pi/Desktop/images/01122025/00/47/image_01122025_00_48_04_9739.jpg
/home/pi/Desktop/images/01122025/00/48/image_01122025_00_48_14_9716.jpg
/home/pi/Desktop/images/01122025/00/48/image_01122025_00_48_34_10738.jpg
/home/pi/Desktop/images/01122025/00/48/image_01122025_00_48_44_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397141230","1397141224","1397141232","1397141226","1397141225","1397141228"],"photo_ids_order":["1397141224","1397141225","1397141226","1397141228","1397141230","1397141232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/34ca762182a24c991aa69c55b9ea29aa.jpg","text":"TemporaryFile(/tmp/multipartBody4113001193220151369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546787129,"filename":"image_01122025_00_48_34_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/1/ac7d9eedd9719ae847d8e7b10c7c8f5e.jpg","text":"TemporaryFile(/tmp/multipartBody5729903436988674037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546787129,"filename":"image_01122025_00_47_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/1/f54fb09e17243a9f7c4c149ea465b194.jpg","text":"TemporaryFile(/tmp/multipartBody6645882064764161316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546787129,"filename":"image_01122025_00_48_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/1/d4af4e82a8c23ab2e2a9e67b3089a416.jpg","text":"TemporaryFile(/tmp/multipartBody6420904451331480588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546787129,"filename":"image_01122025_00_48_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/1/7600810a8df760ba8c9e6bd9eb6c891a.jpg","text":"TemporaryFile(/tmp/multipartBody4624344457950099436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546787129,"filename":"image_01122025_00_47_54_10820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a92d9e0b56f2f8821e3ee30e9e48757b.jpg","text":"TemporaryFile(/tmp/multipartBody4601881545821765637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546787129,"filename":"image_01122025_00_48_14_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397141226","file1":"1397141225","file0":"1397141224","file4":"1397141230","file5":"1397141232","file3":"1397141228"},"map_files_photo_id_array":[{"photo_id":"1397141232","filename":"file5"},{"photo_id":"1397141226","filename":"file2"},{"photo_id":"1397141230","filename":"file4"},{"photo_id":"1397141225","filename":"file1"},{"photo_id":"1397141224","filename":"file0"},{"photo_id":"1397141228","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397141230":["hashtag1","hashtag2"]},{"1397141224":["hashtag1","hashtag2"]},{"1397141232":["hashtag1","hashtag2"]},{"1397141226":["hashtag1","hashtag2"]},{"1397141225":["hashtag1","hashtag2"]},{"1397141228":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397141230, 1397141224, 1397141232, 1397141226, 1397141225, 1397141228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.331122398376465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:53:03.197458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 00:53:12.507611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 00:53:22.533637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/48/image_01122025_00_48_54_9790.jpg', '/home/pi/Desktop/images/01122025/00/49/image_01122025_00_49_14_9900.jpg', '/home/pi/Desktop/images/01122025/00/49/image_01122025_00_49_54_10676.jpg', '/home/pi/Desktop/images/01122025/00/50/image_01122025_00_50_14_9844.jpg', '/home/pi/Desktop/images/01122025/00/50/image_01122025_00_50_24_9912.jpg', '/home/pi/Desktop/images/01122025/00/50/image_01122025_00_50_34_10331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/48/image_01122025_00_48_54_9790.jpg
/home/pi/Desktop/images/01122025/00/49/image_01122025_00_49_14_9900.jpg
/home/pi/Desktop/images/01122025/00/49/image_01122025_00_49_54_10676.jpg
/home/pi/Desktop/images/01122025/00/50/image_01122025_00_50_14_9844.jpg
/home/pi/Desktop/images/01122025/00/50/image_01122025_00_50_24_9912.jpg
/home/pi/Desktop/images/01122025/00/50/image_01122025_00_50_34_10331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397141242","1397141239","1397141241","1397141238","1397141240","1397141237"],"photo_ids_order":["1397141237","1397141238","1397141239","1397141240","1397141241","1397141242"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f97e2306657c9c8c61a7801b3b6555d0.jpg","text":"TemporaryFile(/tmp/multipartBody6344204053971461039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546863244,"filename":"image_01122025_00_50_34_10331.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f8cfd9929e85160d900dafc20a87d72b.jpg","text":"TemporaryFile(/tmp/multipartBody9028321058788383286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546863244,"filename":"image_01122025_00_49_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/1/018ba1c9c0527500655aeab1e890ebc1.jpg","text":"TemporaryFile(/tmp/multipartBody3667917107982255783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546863244,"filename":"image_01122025_00_50_24_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/1/00c575768ffa0ecfcd53d0694d25026d.jpg","text":"TemporaryFile(/tmp/multipartBody5366898292759075397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546863244,"filename":"image_01122025_00_49_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/1/cf387a90447a011b8b9251b85d3dcd5f.jpg","text":"TemporaryFile(/tmp/multipartBody171301099326017377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546863244,"filename":"image_01122025_00_50_14_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/26a92068eea8d51f7ad60d7b2a6bc0dd.jpg","text":"TemporaryFile(/tmp/multipartBody1340209618264788333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546863244,"filename":"image_01122025_00_48_54_9790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397141239","file1":"1397141238","file0":"1397141237","file4":"1397141241","file5":"1397141242","file3":"1397141240"},"map_files_photo_id_array":[{"photo_id":"1397141242","filename":"file5"},{"photo_id":"1397141239","filename":"file2"},{"photo_id":"1397141241","filename":"file4"},{"photo_id":"1397141238","filename":"file1"},{"photo_id":"1397141237","filename":"file0"},{"photo_id":"1397141240","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397141242":["hashtag1","hashtag2"]},{"1397141239":["hashtag1","hashtag2"]},{"1397141241":["hashtag1","hashtag2"]},{"1397141238":["hashtag1","hashtag2"]},{"1397141240":["hashtag1","hashtag2"]},{"1397141237":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397141242, 1397141239, 1397141241, 1397141238, 1397141240, 1397141237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87122178077698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:54:02.562187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/50/image_01122025_00_50_54_10617.jpg', '/home/pi/Desktop/images/01122025/00/51/image_01122025_00_51_14_9858.jpg', '/home/pi/Desktop/images/01122025/00/51/image_01122025_00_51_44_10636.jpg', '/home/pi/Desktop/images/01122025/00/51/image_01122025_00_52_04_9888.jpg', '/home/pi/Desktop/images/01122025/00/52/image_01122025_00_52_34_10704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/50/image_01122025_00_50_54_10617.jpg
/home/pi/Desktop/images/01122025/00/51/image_01122025_00_51_14_9858.jpg
/home/pi/Desktop/images/01122025/00/51/image_01122025_00_51_44_10636.jpg
/home/pi/Desktop/images/01122025/00/51/image_01122025_00_52_04_9888.jpg
/home/pi/Desktop/images/01122025/00/52/image_01122025_00_52_34_10704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397141245","1397141248","1397141244","1397141243","1397141246"],"photo_ids_order":["1397141243","1397141244","1397141245","1397141246","1397141248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c9dd390edc5cb3f64aa115ecdfe54458.jpg","text":"TemporaryFile(/tmp/multipartBody3490867965148999625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546903363,"filename":"image_01122025_00_51_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/1/b07152aad725ba51a2dc22e6f43b59b6.jpg","text":"TemporaryFile(/tmp/multipartBody9088620134973601640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546903363,"filename":"image_01122025_00_52_34_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6bc1ad8d13c465443adf565e23962b7f.jpg","text":"TemporaryFile(/tmp/multipartBody8798818998315914982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546903363,"filename":"image_01122025_00_51_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/1/b91a17e065cd0345426ee7d217c52e61.jpg","text":"TemporaryFile(/tmp/multipartBody2571610969242539295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546903363,"filename":"image_01122025_00_50_54_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4fa734c70658fa3b042905a5f594f6e5.jpg","text":"TemporaryFile(/tmp/multipartBody3815365243788172954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546903363,"filename":"image_01122025_00_52_04_9888.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397141245","file1":"1397141244","file0":"1397141243","file4":"1397141248","file3":"1397141246"},"map_files_photo_id_array":[{"photo_id":"1397141245","filename":"file2"},{"photo_id":"1397141248","filename":"file4"},{"photo_id":"1397141244","filename":"file1"},{"photo_id":"1397141243","filename":"file0"},{"photo_id":"1397141246","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397141245":["hashtag1","hashtag2"]},{"1397141248":["hashtag1","hashtag2"]},{"1397141244":["hashtag1","hashtag2"]},{"1397141243":["hashtag1","hashtag2"]},{"1397141246":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397141245, 1397141248, 1397141244, 1397141243, 1397141246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.846146821975708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 00:54:41.889937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_12_3677.jpg', '/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_14_2559.jpg', '/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_17_2654.jpg', '/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_21_3724.jpg', '/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_23_2625.jpg', '/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_26_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_12_3677.jpg
/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_14_2559.jpg
/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_17_2654.jpg
/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_21_3724.jpg
/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_23_2625.jpg
/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_26_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":["1397141260","1397141254","1397141257","1397141256","1397141259","1397141258"],"photo_ids_order":["1397141254","1397141256","1397141257","1397141258","1397141259","1397141260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d5de57674f3e746010128af4cadc0a10.jpg","text":"TemporaryFile(/tmp/multipartBody1252025563151495437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546942760,"filename":"image_01112025_00_09_26_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/1/545db3910e1919db51abaad90a76bcea.jpg","text":"TemporaryFile(/tmp/multipartBody2862634518029829391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546942760,"filename":"image_01112025_00_09_12_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/1/a3c443d0a312ed7700c50c752ab62f15.jpg","text":"TemporaryFile(/tmp/multipartBody5901385794700532922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546942760,"filename":"image_01112025_00_09_17_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7a57ac0ab20e05db30dde2ba57d12aa1.jpg","text":"TemporaryFile(/tmp/multipartBody6236528259217317310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546942760,"filename":"image_01112025_00_09_14_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/1/3f06e19fd9c37816281ef23d5b487dbf.jpg","text":"TemporaryFile(/tmp/multipartBody1311250675920510234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546942760,"filename":"image_01112025_00_09_23_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/1/478ac78f9501390e8ae5e66b7d4f05a6.jpg","text":"TemporaryFile(/tmp/multipartBody8531704319365781690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546942760,"filename":"image_01112025_00_09_21_3724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397141257","file1":"1397141256","file0":"1397141254","file4":"1397141259","file5":"1397141260","file3":"1397141258"},"map_files_photo_id_array":[{"photo_id":"1397141260","filename":"file5"},{"photo_id":"1397141257","filename":"file2"},{"photo_id":"1397141259","filename":"file4"},{"photo_id":"1397141256","filename":"file1"},{"photo_id":"1397141254","filename":"file0"},{"photo_id":"1397141258","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397141260":["hashtag1","hashtag2"]},{"1397141254":["hashtag1","hashtag2"]},{"1397141257":["hashtag1","hashtag2"]},{"1397141256":["hashtag1","hashtag2"]},{"1397141259":["hashtag1","hashtag2"]},{"1397141258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397141260, 1397141254, 1397141257, 1397141256, 1397141259, 1397141258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06038212776184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 00:55:22.064472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/52/image_01122025_00_52_54_9720.jpg', '/home/pi/Desktop/images/01122025/00/52/image_01122025_00_53_04_10648.jpg', '/home/pi/Desktop/images/01122025/00/53/image_01122025_00_53_14_9738.jpg', '/home/pi/Desktop/images/01122025/00/53/image_01122025_00_53_44_10156.jpg', '/home/pi/Desktop/images/01122025/00/53/image_01122025_00_53_54_9713.jpg', '/home/pi/Desktop/images/01122025/00/53/image_01122025_00_54_04_9994.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/52/image_01122025_00_52_54_9720.jpg
/home/pi/Desktop/images/01122025/00/52/image_01122025_00_53_04_10648.jpg
/home/pi/Desktop/images/01122025/00/53/image_01122025_00_53_14_9738.jpg
/home/pi/Desktop/images/01122025/00/53/image_01122025_00_53_44_10156.jpg
/home/pi/Desktop/images/01122025/00/53/image_01122025_00_53_54_9713.jpg
/home/pi/Desktop/images/01122025/00/53/image_01122025_00_54_04_9994.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397141263","1397141272","1397141269","1397141271","1397141265","1397141267"],"photo_ids_order":["1397141263","1397141265","1397141267","1397141269","1397141271","1397141272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/83c8f9c14557069411d04be4dcc98aa5.jpg","text":"TemporaryFile(/tmp/multipartBody1052721592284421385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546982817,"filename":"image_01122025_00_52_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/1/059b555c94130c623d2b6a6a9df99a99.jpg","text":"TemporaryFile(/tmp/multipartBody7143652686782342316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546982817,"filename":"image_01122025_00_54_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/1/6f3bad480015c2bd98dcb5c8102502b2.jpg","text":"TemporaryFile(/tmp/multipartBody2369439937640149431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546982817,"filename":"image_01122025_00_53_44_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/1/94b3bb071238e8582a3643405ce3af6c.jpg","text":"TemporaryFile(/tmp/multipartBody6734312305671825346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546982817,"filename":"image_01122025_00_53_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/1/aca1d1504c4456a6545d4c7da730fef7.jpg","text":"TemporaryFile(/tmp/multipartBody9146493817534810015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546982817,"filename":"image_01122025_00_53_04_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0b37fdeeab123275cddbe33dd2567154.jpg","text":"TemporaryFile(/tmp/multipartBody5810310138370819723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764546982817,"filename":"image_01122025_00_53_14_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397141267","file1":"1397141265","file0":"1397141263","file4":"1397141271","file5":"1397141272","file3":"1397141269"},"map_files_photo_id_array":[{"photo_id":"1397141272","filename":"file5"},{"photo_id":"1397141267","filename":"file2"},{"photo_id":"1397141271","filename":"file4"},{"photo_id":"1397141265","filename":"file1"},{"photo_id":"1397141263","filename":"file0"},{"photo_id":"1397141269","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397141263":["hashtag1","hashtag2"]},{"1397141272":["hashtag1","hashtag2"]},{"1397141269":["hashtag1","hashtag2"]},{"1397141271":["hashtag1","hashtag2"]},{"1397141265":["hashtag1","hashtag2"]},{"1397141267":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397141263, 1397141272, 1397141269, 1397141271, 1397141265, 1397141267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84782552719116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:56:02.695054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/54/image_01122025_00_54_14_10755.jpg', '/home/pi/Desktop/images/01122025/00/54/image_01122025_00_54_23_9070.jpg', '/home/pi/Desktop/images/01122025/00/54/image_01122025_00_54_34_10693.jpg', '/home/pi/Desktop/images/01122025/00/54/image_01122025_00_54_54_9733.jpg', '/home/pi/Desktop/images/01122025/00/55/image_01122025_00_55_14_9715.jpg', '/home/pi/Desktop/images/01122025/00/55/image_01122025_00_55_34_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/54/image_01122025_00_54_14_10755.jpg
/home/pi/Desktop/images/01122025/00/54/image_01122025_00_54_23_9070.jpg
/home/pi/Desktop/images/01122025/00/54/image_01122025_00_54_34_10693.jpg
/home/pi/Desktop/images/01122025/00/54/image_01122025_00_54_54_9733.jpg
/home/pi/Desktop/images/01122025/00/55/image_01122025_00_55_14_9715.jpg
/home/pi/Desktop/images/01122025/00/55/image_01122025_00_55_34_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.6929895877838135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 00:56:12.174354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_25_2581.jpg', '/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_28_2672.jpg', '/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_31_3540.jpg', '/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_34_2704.jpg', '/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_38_3646.jpg', '/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_41_2864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_25_2581.jpg
/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_28_2672.jpg
/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_31_3540.jpg
/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_34_2704.jpg
/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_38_3646.jpg
/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_41_2864.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397141284","1397141278","1397141286","1397141288","1397141282","1397141276"],"photo_ids_order":["1397141276","1397141278","1397141282","1397141284","1397141286","1397141288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6cb5476dd2d7cd0ffbb445cf06f7eba5.jpg","text":"TemporaryFile(/tmp/multipartBody723915050287051204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547033624,"filename":"image_25112025_21_08_34_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/27076870e79bac225ad1473c99ace666.jpg","text":"TemporaryFile(/tmp/multipartBody5995403708924311841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547033624,"filename":"image_25112025_21_08_28_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/1/9fa02217c3c80bddb70ea942ecf94df5.jpg","text":"TemporaryFile(/tmp/multipartBody4159844652588147794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547033624,"filename":"image_25112025_21_08_38_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/1/bbb71766a5b1da6ed148b01c358f0ff6.jpg","text":"TemporaryFile(/tmp/multipartBody2700776826805396472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547033624,"filename":"image_25112025_21_08_41_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/1/12b7a787cc9218463023f97d745e592d.jpg","text":"TemporaryFile(/tmp/multipartBody9198170528139388034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547033624,"filename":"image_25112025_21_08_31_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4f8d76a4f5d8fff6a1f34e8ba7786ca7.jpg","text":"TemporaryFile(/tmp/multipartBody6610038246627497884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547033624,"filename":"image_25112025_21_08_25_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397141282","file1":"1397141278","file0":"1397141276","file4":"1397141286","file5":"1397141288","file3":"1397141284"},"map_files_photo_id_array":[{"photo_id":"1397141288","filename":"file5"},{"photo_id":"1397141282","filename":"file2"},{"photo_id":"1397141286","filename":"file4"},{"photo_id":"1397141278","filename":"file1"},{"photo_id":"1397141276","filename":"file0"},{"photo_id":"1397141284","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397141284":["hashtag1","hashtag2"]},{"1397141278":["hashtag1","hashtag2"]},{"1397141286":["hashtag1","hashtag2"]},{"1397141288":["hashtag1","hashtag2"]},{"1397141282":["hashtag1","hashtag2"]},{"1397141276":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397141284, 1397141278, 1397141286, 1397141288, 1397141282, 1397141276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36344051361084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:57:03.153207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/54/image_01122025_00_54_14_10755.jpg', '/home/pi/Desktop/images/01122025/00/54/image_01122025_00_54_23_9070.jpg', '/home/pi/Desktop/images/01122025/00/54/image_01122025_00_54_34_10693.jpg', '/home/pi/Desktop/images/01122025/00/54/image_01122025_00_54_54_9733.jpg', '/home/pi/Desktop/images/01122025/00/55/image_01122025_00_55_14_9715.jpg', '/home/pi/Desktop/images/01122025/00/55/image_01122025_00_55_34_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/54/image_01122025_00_54_14_10755.jpg
/home/pi/Desktop/images/01122025/00/54/image_01122025_00_54_23_9070.jpg
/home/pi/Desktop/images/01122025/00/54/image_01122025_00_54_34_10693.jpg
/home/pi/Desktop/images/01122025/00/54/image_01122025_00_54_54_9733.jpg
/home/pi/Desktop/images/01122025/00/55/image_01122025_00_55_14_9715.jpg
/home/pi/Desktop/images/01122025/00/55/image_01122025_00_55_34_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":["1397141293","1397141292","1397141295","1397141297","1397141291","1397141315"],"photo_ids_order":["1397141291","1397141292","1397141293","1397141295","1397141297","1397141315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6a6130e42a80899c2ccd58190348bfbf.jpg","text":"TemporaryFile(/tmp/multipartBody3489360190252033627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547083961,"filename":"image_01122025_00_54_34_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2f130d173e6e59bfdfc78e23302c3c2a.jpg","text":"TemporaryFile(/tmp/multipartBody4503223590146189018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547083961,"filename":"image_01122025_00_54_23_9070.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3daac66b4ebfddc99e1270d3482f8c59.jpg","text":"TemporaryFile(/tmp/multipartBody984587155418196588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547083961,"filename":"image_01122025_00_54_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/1/2b0443d7811bac1f67452588f4a95d09.jpg","text":"TemporaryFile(/tmp/multipartBody8200048755683178789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547083961,"filename":"image_01122025_00_55_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/1/4da1e01556546a94e02c0634a644bd4b.jpg","text":"TemporaryFile(/tmp/multipartBody8198640149983523276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547083961,"filename":"image_01122025_00_54_14_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cea302fda50aaa6398bc4e4142eebc40.jpg","text":"TemporaryFile(/tmp/multipartBody2278533869962494145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547083961,"filename":"image_01122025_00_55_34_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397141293","file1":"1397141292","file0":"1397141291","file4":"1397141297","file5":"1397141315","file3":"1397141295"},"map_files_photo_id_array":[{"photo_id":"1397141315","filename":"file5"},{"photo_id":"1397141293","filename":"file2"},{"photo_id":"1397141297","filename":"file4"},{"photo_id":"1397141292","filename":"file1"},{"photo_id":"1397141291","filename":"file0"},{"photo_id":"1397141295","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397141293":["hashtag1","hashtag2"]},{"1397141292":["hashtag1","hashtag2"]},{"1397141295":["hashtag1","hashtag2"]},{"1397141297":["hashtag1","hashtag2"]},{"1397141291":["hashtag1","hashtag2"]},{"1397141315":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397141293, 1397141292, 1397141295, 1397141297, 1397141291, 1397141315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29448938369751 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 00:57:42.477302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_30_3638.jpg', '/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_32_2555.jpg', '/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_36_3639.jpg', '/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_39_2741.jpg', '/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_41_2589.jpg', '/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_45_3727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_30_3638.jpg
/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_32_2555.jpg
/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_36_3639.jpg
/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_39_2741.jpg
/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_41_2589.jpg
/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_45_3727.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397141440","1397141496","1397141495","1397141477","1397141528","1397141537"],"photo_ids_order":["1397141440","1397141477","1397141495","1397141496","1397141528","1397141537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c085c72524c22d4cbc0821c7143d1817.jpg","text":"TemporaryFile(/tmp/multipartBody4403286822073317856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547123304,"filename":"image_01112025_00_09_30_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/1/a7cc9aeb65f53d486f44e31298997ee2.jpg","text":"TemporaryFile(/tmp/multipartBody3659125020777783254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547123304,"filename":"image_01112025_00_09_39_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/1/d37d70c34295c4945b014ae1854c4a72.jpg","text":"TemporaryFile(/tmp/multipartBody2597579530515782673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547123304,"filename":"image_01112025_00_09_36_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2c99217436af0f3fa274ef6cefd5f3f2.jpg","text":"TemporaryFile(/tmp/multipartBody916643905521211299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547123304,"filename":"image_01112025_00_09_32_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/13cc6f0816025da727e99df4c8b27636.jpg","text":"TemporaryFile(/tmp/multipartBody3441895214534122252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547123304,"filename":"image_01112025_00_09_41_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/1/3c17444eebc3d2b6ed8169aa57eeb1a1.jpg","text":"TemporaryFile(/tmp/multipartBody4684516371340507927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547123304,"filename":"image_01112025_00_09_45_3727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397141495","file1":"1397141477","file0":"1397141440","file4":"1397141528","file5":"1397141537","file3":"1397141496"},"map_files_photo_id_array":[{"photo_id":"1397141537","filename":"file5"},{"photo_id":"1397141495","filename":"file2"},{"photo_id":"1397141528","filename":"file4"},{"photo_id":"1397141477","filename":"file1"},{"photo_id":"1397141440","filename":"file0"},{"photo_id":"1397141496","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397141440":["hashtag1","hashtag2"]},{"1397141496":["hashtag1","hashtag2"]},{"1397141495":["hashtag1","hashtag2"]},{"1397141477":["hashtag1","hashtag2"]},{"1397141528":["hashtag1","hashtag2"]},{"1397141537":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397141440, 1397141496, 1397141495, 1397141477, 1397141528, 1397141537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05793380737305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 00:59:03.938609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/55/image_01122025_00_55_53_9684.jpg', '/home/pi/Desktop/images/01122025/00/55/image_01122025_00_56_04_10722.jpg', '/home/pi/Desktop/images/01122025/00/56/image_01122025_00_56_24_9810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/55/image_01122025_00_55_53_9684.jpg
/home/pi/Desktop/images/01122025/00/55/image_01122025_00_56_04_10722.jpg
/home/pi/Desktop/images/01122025/00/56/image_01122025_00_56_24_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":["1397141545","1397141547","1397141549"],"photo_ids_order":["1397141545","1397141547","1397141549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b1ce526c38a51c59457bd6560094b390.jpg","text":"TemporaryFile(/tmp/multipartBody7764897733331739266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547204703,"filename":"image_01122025_00_55_53_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/1/3fa3bb74e643ae0fdfb56f738f1df0dc.jpg","text":"TemporaryFile(/tmp/multipartBody7784273304429184452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547204703,"filename":"image_01122025_00_56_04_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/1/65ff5df08f8867d2ff5fcd7b28acdbb7.jpg","text":"TemporaryFile(/tmp/multipartBody5707312794152116045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547204703,"filename":"image_01122025_00_56_24_9810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397141549","file1":"1397141547","file0":"1397141545"},"map_files_photo_id_array":[{"photo_id":"1397141549","filename":"file2"},{"photo_id":"1397141547","filename":"file1"},{"photo_id":"1397141545","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397141545":["hashtag1","hashtag2"]},{"1397141547":["hashtag1","hashtag2"]},{"1397141549":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397141545, 1397141547, 1397141549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.84306788444519 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 00:59:32.799465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_43_2661.jpg', '/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_46_2575.jpg', '/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_50_3624.jpg', '/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_52_2638.jpg', '/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_01_2785.jpg', '/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_04_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_43_2661.jpg
/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_46_2575.jpg
/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_50_3624.jpg
/home/pi/Desktop/images/25112025/21/08/image_25112025_21_08_52_2638.jpg
/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_01_2785.jpg
/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_04_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":["1397141680","1397141803","1397141838","1397141721","1397141873","1397141768"],"photo_ids_order":["1397141680","1397141721","1397141768","1397141803","1397141838","1397141873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/69cb75938f443de306eb21b33d2d6e81.jpg","text":"TemporaryFile(/tmp/multipartBody7300749406802036903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547234514,"filename":"image_25112025_21_08_43_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/1/0a2287ad707062fb4815aacbe21f3ffc.jpg","text":"TemporaryFile(/tmp/multipartBody2486960140007658635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547234514,"filename":"image_25112025_21_08_52_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/1/78265b5ebe209ee6cf49f85a3391248b.jpg","text":"TemporaryFile(/tmp/multipartBody7631607215032168569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547234514,"filename":"image_25112025_21_09_01_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/1/2ee3dc3e4b7676f39b987459898790c5.jpg","text":"TemporaryFile(/tmp/multipartBody5837554590247416006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547234514,"filename":"image_25112025_21_08_46_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/db699830d5d6d469282bbc806140eb1b.jpg","text":"TemporaryFile(/tmp/multipartBody1194350863855111289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547234514,"filename":"image_25112025_21_09_04_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/1/1dcc61cc39f75956026936a635db7d45.jpg","text":"TemporaryFile(/tmp/multipartBody3613726722314688329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547234514,"filename":"image_25112025_21_08_50_3624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397141768","file1":"1397141721","file0":"1397141680","file4":"1397141838","file5":"1397141873","file3":"1397141803"},"map_files_photo_id_array":[{"photo_id":"1397141873","filename":"file5"},{"photo_id":"1397141768","filename":"file2"},{"photo_id":"1397141838","filename":"file4"},{"photo_id":"1397141721","filename":"file1"},{"photo_id":"1397141680","filename":"file0"},{"photo_id":"1397141803","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397141680":["hashtag1","hashtag2"]},{"1397141803":["hashtag1","hashtag2"]},{"1397141838":["hashtag1","hashtag2"]},{"1397141721":["hashtag1","hashtag2"]},{"1397141873":["hashtag1","hashtag2"]},{"1397141768":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397141680, 1397141803, 1397141838, 1397141721, 1397141873, 1397141768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8602340221405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 01:00:11.945759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_08_3664.jpg', '/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_10_2583.jpg', '/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_14_3656.jpg', '/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_16_2662.jpg', '/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_19_2722.jpg', '/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_26_3556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_08_3664.jpg
/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_10_2583.jpg
/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_14_3656.jpg
/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_16_2662.jpg
/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_19_2722.jpg
/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_26_3556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397141965","1397141964","1397141984","1397141966","1397141963","1397141962"],"photo_ids_order":["1397141962","1397141963","1397141964","1397141965","1397141966","1397141984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/567777b4de8b029c2a10f21104541ebb.jpg","text":"TemporaryFile(/tmp/multipartBody8534819402738739918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547273568,"filename":"image_25112025_21_09_16_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/1/708563d9628433b762a8313c54b95885.jpg","text":"TemporaryFile(/tmp/multipartBody2716380347875980464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547273568,"filename":"image_25112025_21_09_14_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a91984473d937c1356b7dbae555bba65.jpg","text":"TemporaryFile(/tmp/multipartBody6835506422144113657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547273568,"filename":"image_25112025_21_09_26_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/1/d8e7b9e99246e155827765f218e68ca7.jpg","text":"TemporaryFile(/tmp/multipartBody4687527317563105300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547273568,"filename":"image_25112025_21_09_19_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/1/cff809552a075ba7722a3119e6da973f.jpg","text":"TemporaryFile(/tmp/multipartBody381642138588323933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547273568,"filename":"image_25112025_21_09_10_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5557795ccafafb7caea2a3e58efda7de.jpg","text":"TemporaryFile(/tmp/multipartBody7581906099703831586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547273568,"filename":"image_25112025_21_09_08_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397141964","file1":"1397141963","file0":"1397141962","file4":"1397141966","file5":"1397141984","file3":"1397141965"},"map_files_photo_id_array":[{"photo_id":"1397141984","filename":"file5"},{"photo_id":"1397141964","filename":"file2"},{"photo_id":"1397141966","filename":"file4"},{"photo_id":"1397141963","filename":"file1"},{"photo_id":"1397141962","filename":"file0"},{"photo_id":"1397141965","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397141965":["hashtag1","hashtag2"]},{"1397141964":["hashtag1","hashtag2"]},{"1397141984":["hashtag1","hashtag2"]},{"1397141966":["hashtag1","hashtag2"]},{"1397141963":["hashtag1","hashtag2"]},{"1397141962":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397141965, 1397141964, 1397141984, 1397141966, 1397141963, 1397141962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.368669509887695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:01:02.730923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/00/57/image_01122025_00_57_14_9739.jpg', '/home/pi/Desktop/images/01122025/00/59/image_01122025_01_00_04_9572.jpg', '/home/pi/Desktop/images/01122025/01/00/image_01122025_01_00_13_9657.jpg', '/home/pi/Desktop/images/01122025/01/00/image_01122025_01_00_24_10749.jpg', '/home/pi/Desktop/images/01122025/01/00/image_01122025_01_00_44_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/00/57/image_01122025_00_57_14_9739.jpg
/home/pi/Desktop/images/01122025/00/59/image_01122025_01_00_04_9572.jpg
/home/pi/Desktop/images/01122025/01/00/image_01122025_01_00_13_9657.jpg
/home/pi/Desktop/images/01122025/01/00/image_01122025_01_00_24_10749.jpg
/home/pi/Desktop/images/01122025/01/00/image_01122025_01_00_44_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":["1397142135","1397142159","1397142197","1397142114","1397142149"],"photo_ids_order":["1397142114","1397142135","1397142149","1397142159","1397142197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8b8ab5ac5bf16fac89b3024b4bd99408.jpg","text":"TemporaryFile(/tmp/multipartBody2521061445326581926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547323522,"filename":"image_01122025_01_00_04_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4be5af3f432e6efbd52f013a17bb8ea6.jpg","text":"TemporaryFile(/tmp/multipartBody8156817459217645088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547323522,"filename":"image_01122025_01_00_24_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/1/8dab1013619aa5facf7bd97c4a5fd14f.jpg","text":"TemporaryFile(/tmp/multipartBody217488560787182312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547323522,"filename":"image_01122025_01_00_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/1/bfb0436b46c6a96f9aeb9c06d4a6fd9f.jpg","text":"TemporaryFile(/tmp/multipartBody3330090034742397609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547323522,"filename":"image_01122025_00_57_14_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/baebe1f11c06102d8dceef942907ff3b.jpg","text":"TemporaryFile(/tmp/multipartBody3104135059622375703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547323522,"filename":"image_01122025_01_00_13_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397142149","file1":"1397142135","file0":"1397142114","file4":"1397142197","file3":"1397142159"},"map_files_photo_id_array":[{"photo_id":"1397142149","filename":"file2"},{"photo_id":"1397142197","filename":"file4"},{"photo_id":"1397142135","filename":"file1"},{"photo_id":"1397142114","filename":"file0"},{"photo_id":"1397142159","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397142135":["hashtag1","hashtag2"]},{"1397142159":["hashtag1","hashtag2"]},{"1397142197":["hashtag1","hashtag2"]},{"1397142114":["hashtag1","hashtag2"]},{"1397142149":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397142135, 1397142159, 1397142197, 1397142114, 1397142149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.701035976409912 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 01:01:42.050377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_48_2675.jpg', '/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_50_2674.jpg', '/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_53_2639.jpg', '/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_57_3827.jpg', '/home/pi/Desktop/images/01112025/00/09/image_01112025_00_10_00_2823.jpg', '/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_02_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_48_2675.jpg
/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_50_2674.jpg
/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_53_2639.jpg
/home/pi/Desktop/images/01112025/00/09/image_01112025_00_09_57_3827.jpg
/home/pi/Desktop/images/01112025/00/09/image_01112025_00_10_00_2823.jpg
/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_02_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":["1397142474","1397142363","1397142510","1397142545","1397142440","1397142404"],"photo_ids_order":["1397142363","1397142404","1397142440","1397142474","1397142510","1397142545"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3428ca0137d777e29cb32a22cc83bbdb.jpg","text":"TemporaryFile(/tmp/multipartBody2176855385917638729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547362875,"filename":"image_01112025_00_09_57_3827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/79b438f69de1cc20c82f378ab911d5b4.jpg","text":"TemporaryFile(/tmp/multipartBody5047545230714189182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547362875,"filename":"image_01112025_00_09_48_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b189376824e04a1f6f9cb05687a943b1.jpg","text":"TemporaryFile(/tmp/multipartBody1175870115004033048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547362875,"filename":"image_01112025_00_10_00_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/49df1195b8bb4f4d4a590eb834a51bd7.jpg","text":"TemporaryFile(/tmp/multipartBody732393901643128576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547362875,"filename":"image_01112025_00_10_02_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/92eb50be80e3554c3c5c97d582a10eff.jpg","text":"TemporaryFile(/tmp/multipartBody1296852010842178399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547362875,"filename":"image_01112025_00_09_53_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a5240683bb8fef77e9fe22e3424779a4.jpg","text":"TemporaryFile(/tmp/multipartBody2566185499888600665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547362875,"filename":"image_01112025_00_09_50_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397142440","file1":"1397142404","file0":"1397142363","file4":"1397142510","file5":"1397142545","file3":"1397142474"},"map_files_photo_id_array":[{"photo_id":"1397142545","filename":"file5"},{"photo_id":"1397142440","filename":"file2"},{"photo_id":"1397142510","filename":"file4"},{"photo_id":"1397142404","filename":"file1"},{"photo_id":"1397142363","filename":"file0"},{"photo_id":"1397142474","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397142474":["hashtag1","hashtag2"]},{"1397142363":["hashtag1","hashtag2"]},{"1397142510":["hashtag1","hashtag2"]},{"1397142545":["hashtag1","hashtag2"]},{"1397142440":["hashtag1","hashtag2"]},{"1397142404":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397142474, 1397142363, 1397142510, 1397142545, 1397142440, 1397142404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.04325079917908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 01:02:22.245993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/00/image_01122025_01_00_54_10566.jpg', '/home/pi/Desktop/images/01122025/01/01/image_01122025_01_01_14_9706.jpg', '/home/pi/Desktop/images/01122025/01/01/image_01122025_01_01_24_10634.jpg', '/home/pi/Desktop/images/01122025/01/01/image_01122025_01_01_34_9773.jpg', '/home/pi/Desktop/images/01122025/01/01/image_01122025_01_01_54_9750.jpg', '/home/pi/Desktop/images/01122025/01/01/image_01122025_01_02_04_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/00/image_01122025_01_00_54_10566.jpg
/home/pi/Desktop/images/01122025/01/01/image_01122025_01_01_14_9706.jpg
/home/pi/Desktop/images/01122025/01/01/image_01122025_01_01_24_10634.jpg
/home/pi/Desktop/images/01122025/01/01/image_01122025_01_01_34_9773.jpg
/home/pi/Desktop/images/01122025/01/01/image_01122025_01_01_54_9750.jpg
/home/pi/Desktop/images/01122025/01/01/image_01122025_01_02_04_10636.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6887578964233398 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 01:02:32.188926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_28_2509.jpg', '/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_31_2797.jpg', '/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_35_3776.jpg', '/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_37_2497.jpg', '/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_41_3661.jpg', '/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_43_2589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_28_2509.jpg
/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_31_2797.jpg
/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_35_3776.jpg
/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_37_2497.jpg
/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_41_3661.jpg
/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_43_2589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397142894","1397142843","1397142884","1397142803","1397142895","1397142766"],"photo_ids_order":["1397142766","1397142803","1397142843","1397142884","1397142894","1397142895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8a3a327c606d7744ea7294a575ccd867.jpg","text":"TemporaryFile(/tmp/multipartBody3330036190797878872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547413898,"filename":"image_25112025_21_09_41_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/1/9bf2212114a3d641db1d497a422e81cb.jpg","text":"TemporaryFile(/tmp/multipartBody8592317100007749087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547413898,"filename":"image_25112025_21_09_35_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/1/0dfc1acebadf4c5083c6ff7c65922fff.jpg","text":"TemporaryFile(/tmp/multipartBody1321977927020562329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547413898,"filename":"image_25112025_21_09_37_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/1/3f35636b3e349528bd5d6b5683cf177f.jpg","text":"TemporaryFile(/tmp/multipartBody8126569701894386449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547413898,"filename":"image_25112025_21_09_31_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/1/b827841d746204095479a73bf21a1761.jpg","text":"TemporaryFile(/tmp/multipartBody3526369465340458835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547413898,"filename":"image_25112025_21_09_43_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/41a3faf01d0acb0ebd1ead90bd140eb6.jpg","text":"TemporaryFile(/tmp/multipartBody1826989527905347631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547413898,"filename":"image_25112025_21_09_28_2509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397142843","file1":"1397142803","file0":"1397142766","file4":"1397142894","file5":"1397142895","file3":"1397142884"},"map_files_photo_id_array":[{"photo_id":"1397142895","filename":"file5"},{"photo_id":"1397142843","filename":"file2"},{"photo_id":"1397142894","filename":"file4"},{"photo_id":"1397142803","filename":"file1"},{"photo_id":"1397142766","filename":"file0"},{"photo_id":"1397142884","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397142894":["hashtag1","hashtag2"]},{"1397142843":["hashtag1","hashtag2"]},{"1397142884":["hashtag1","hashtag2"]},{"1397142803":["hashtag1","hashtag2"]},{"1397142895":["hashtag1","hashtag2"]},{"1397142766":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397142894, 1397142843, 1397142884, 1397142803, 1397142895, 1397142766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.83639740943909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 01:03:22.833650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/00/image_01122025_01_00_54_10566.jpg', '/home/pi/Desktop/images/01122025/01/01/image_01122025_01_01_14_9706.jpg', '/home/pi/Desktop/images/01122025/01/01/image_01122025_01_01_24_10634.jpg', '/home/pi/Desktop/images/01122025/01/01/image_01122025_01_01_34_9773.jpg', '/home/pi/Desktop/images/01122025/01/01/image_01122025_01_01_54_9750.jpg', '/home/pi/Desktop/images/01122025/01/01/image_01122025_01_02_04_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/00/image_01122025_01_00_54_10566.jpg
/home/pi/Desktop/images/01122025/01/01/image_01122025_01_01_14_9706.jpg
/home/pi/Desktop/images/01122025/01/01/image_01122025_01_01_24_10634.jpg
/home/pi/Desktop/images/01122025/01/01/image_01122025_01_01_34_9773.jpg
/home/pi/Desktop/images/01122025/01/01/image_01122025_01_01_54_9750.jpg
/home/pi/Desktop/images/01122025/01/01/image_01122025_01_02_04_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":["1397142904","1397142906","1397142900","1397142923","1397142902","1397142898"],"photo_ids_order":["1397142898","1397142900","1397142902","1397142904","1397142906","1397142923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c3ffd13bd4b2324c54dfb720d5d73cf0.jpg","text":"TemporaryFile(/tmp/multipartBody8830318207559605347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547463586,"filename":"image_01122025_01_01_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/1/7b3b3da47f01735c2a3fb2326d90a622.jpg","text":"TemporaryFile(/tmp/multipartBody8168688293179374209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547463586,"filename":"image_01122025_01_01_54_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/eeede2bc381e4445352d6da93d567b70.jpg","text":"TemporaryFile(/tmp/multipartBody1354316666593484153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547463586,"filename":"image_01122025_01_01_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/1/96313bdf660a73b6f0300d5ce13e1b48.jpg","text":"TemporaryFile(/tmp/multipartBody6570121305223995500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547463586,"filename":"image_01122025_01_02_04_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7689df10966df6b60de1492230dbb8ca.jpg","text":"TemporaryFile(/tmp/multipartBody1083841694811541385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547463586,"filename":"image_01122025_01_01_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/1/c16a134ea0370fe2cae7d17c87534bb2.jpg","text":"TemporaryFile(/tmp/multipartBody5768987810887389740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547463586,"filename":"image_01122025_01_00_54_10566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397142902","file1":"1397142900","file0":"1397142898","file4":"1397142906","file5":"1397142923","file3":"1397142904"},"map_files_photo_id_array":[{"photo_id":"1397142923","filename":"file5"},{"photo_id":"1397142902","filename":"file2"},{"photo_id":"1397142906","filename":"file4"},{"photo_id":"1397142900","filename":"file1"},{"photo_id":"1397142898","filename":"file0"},{"photo_id":"1397142904","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397142904":["hashtag1","hashtag2"]},{"1397142906":["hashtag1","hashtag2"]},{"1397142900":["hashtag1","hashtag2"]},{"1397142923":["hashtag1","hashtag2"]},{"1397142902":["hashtag1","hashtag2"]},{"1397142898":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397142904, 1397142906, 1397142900, 1397142923, 1397142902, 1397142898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21316051483154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:04:02.646000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/02/image_01122025_01_02_14_9648.jpg', '/home/pi/Desktop/images/01122025/01/02/image_01122025_01_02_24_9810.jpg', '/home/pi/Desktop/images/01122025/01/02/image_01122025_01_02_44_10670.jpg', '/home/pi/Desktop/images/01122025/01/02/image_01122025_01_03_04_9722.jpg', '/home/pi/Desktop/images/01122025/01/03/image_01122025_01_03_24_10144.jpg', '/home/pi/Desktop/images/01122025/01/03/image_01122025_01_03_34_10733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/02/image_01122025_01_02_14_9648.jpg
/home/pi/Desktop/images/01122025/01/02/image_01122025_01_02_24_9810.jpg
/home/pi/Desktop/images/01122025/01/02/image_01122025_01_02_44_10670.jpg
/home/pi/Desktop/images/01122025/01/02/image_01122025_01_03_04_9722.jpg
/home/pi/Desktop/images/01122025/01/03/image_01122025_01_03_24_10144.jpg
/home/pi/Desktop/images/01122025/01/03/image_01122025_01_03_34_10733.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7460613250732422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 01:04:11.955129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_46_2546.jpg', '/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_50_3732.jpg', '/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_52_2594.jpg', '/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_56_3412.jpg', '/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_58_2620.jpg', '/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_01_2509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_46_2546.jpg
/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_50_3732.jpg
/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_52_2594.jpg
/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_56_3412.jpg
/home/pi/Desktop/images/25112025/21/09/image_25112025_21_09_58_2620.jpg
/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_01_2509.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397143191","1397143128","1397143193","1397143166","1397143217","1397143195"],"photo_ids_order":["1397143128","1397143166","1397143191","1397143193","1397143195","1397143217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ed66e7eaa3cee9907cbe39111aa6b4b2.jpg","text":"TemporaryFile(/tmp/multipartBody3406412023367409591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547513605,"filename":"image_25112025_21_09_52_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/1/cbd9daf50932a552c498b4686c52cf14.jpg","text":"TemporaryFile(/tmp/multipartBody1002071921061265930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547513605,"filename":"image_25112025_21_09_46_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c5bc99ced84ec1ff771eae3ffdd97e40.jpg","text":"TemporaryFile(/tmp/multipartBody2918917881634812895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547513605,"filename":"image_25112025_21_09_56_3412.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5aeba78112ddae45a968f41b0c05db13.jpg","text":"TemporaryFile(/tmp/multipartBody3445650698909781788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547513605,"filename":"image_25112025_21_09_50_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/1/63a68721d968dcd5dc77fd4c2c022eb1.jpg","text":"TemporaryFile(/tmp/multipartBody1067617621055629768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547513605,"filename":"image_25112025_21_10_01_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/1/c2657912305b2f836a07d9a3ec2f8fbc.jpg","text":"TemporaryFile(/tmp/multipartBody4794528098346189026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547513605,"filename":"image_25112025_21_09_58_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397143191","file1":"1397143166","file0":"1397143128","file4":"1397143195","file5":"1397143217","file3":"1397143193"},"map_files_photo_id_array":[{"photo_id":"1397143217","filename":"file5"},{"photo_id":"1397143191","filename":"file2"},{"photo_id":"1397143195","filename":"file4"},{"photo_id":"1397143166","filename":"file1"},{"photo_id":"1397143128","filename":"file0"},{"photo_id":"1397143193","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397143191":["hashtag1","hashtag2"]},{"1397143128":["hashtag1","hashtag2"]},{"1397143193":["hashtag1","hashtag2"]},{"1397143166":["hashtag1","hashtag2"]},{"1397143217":["hashtag1","hashtag2"]},{"1397143195":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397143191, 1397143128, 1397143193, 1397143166, 1397143217, 1397143195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.203787326812744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:05:02.893637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/02/image_01122025_01_02_14_9648.jpg', '/home/pi/Desktop/images/01122025/01/02/image_01122025_01_02_24_9810.jpg', '/home/pi/Desktop/images/01122025/01/02/image_01122025_01_02_44_10670.jpg', '/home/pi/Desktop/images/01122025/01/02/image_01122025_01_03_04_9722.jpg', '/home/pi/Desktop/images/01122025/01/03/image_01122025_01_03_24_10144.jpg', '/home/pi/Desktop/images/01122025/01/03/image_01122025_01_03_34_10733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/02/image_01122025_01_02_14_9648.jpg
/home/pi/Desktop/images/01122025/01/02/image_01122025_01_02_24_9810.jpg
/home/pi/Desktop/images/01122025/01/02/image_01122025_01_02_44_10670.jpg
/home/pi/Desktop/images/01122025/01/02/image_01122025_01_03_04_9722.jpg
/home/pi/Desktop/images/01122025/01/03/image_01122025_01_03_24_10144.jpg
/home/pi/Desktop/images/01122025/01/03/image_01122025_01_03_34_10733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397143320","1397143323","1397143325","1397143319","1397143321","1397143303"],"photo_ids_order":["1397143303","1397143319","1397143320","1397143321","1397143323","1397143325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e652397f4e40702b884e1aed79539bcb.jpg","text":"TemporaryFile(/tmp/multipartBody6217760097116706268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547563743,"filename":"image_01122025_01_02_44_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/92b929f83acee3e30016d597c85500d8.jpg","text":"TemporaryFile(/tmp/multipartBody6026528242353879708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547563743,"filename":"image_01122025_01_03_24_10144.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0c9af621aea9ac86d83d8737012e2fdd.jpg","text":"TemporaryFile(/tmp/multipartBody6458404073268046358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547563743,"filename":"image_01122025_01_03_34_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b3f9091c715dd21204e51b3e50b4f825.jpg","text":"TemporaryFile(/tmp/multipartBody2297547943604161314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547563743,"filename":"image_01122025_01_02_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/1/aaafcd7156374712e461d144b5d101ab.jpg","text":"TemporaryFile(/tmp/multipartBody7076934967070527996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547563743,"filename":"image_01122025_01_03_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/1/494d9a535e4eb2d55226cf3e469bbdaf.jpg","text":"TemporaryFile(/tmp/multipartBody3522761830239775018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547563743,"filename":"image_01122025_01_02_14_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397143320","file1":"1397143319","file0":"1397143303","file4":"1397143323","file5":"1397143325","file3":"1397143321"},"map_files_photo_id_array":[{"photo_id":"1397143325","filename":"file5"},{"photo_id":"1397143320","filename":"file2"},{"photo_id":"1397143323","filename":"file4"},{"photo_id":"1397143319","filename":"file1"},{"photo_id":"1397143303","filename":"file0"},{"photo_id":"1397143321","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397143320":["hashtag1","hashtag2"]},{"1397143323":["hashtag1","hashtag2"]},{"1397143325":["hashtag1","hashtag2"]},{"1397143319":["hashtag1","hashtag2"]},{"1397143321":["hashtag1","hashtag2"]},{"1397143303":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397143320, 1397143323, 1397143325, 1397143319, 1397143321, 1397143303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19556713104248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 01:05:42.189420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_05_2714.jpg', '/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_08_3537.jpg', '/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_11_2644.jpg', '/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_17_2636.jpg', '/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_20_2563.jpg', '/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_24_3728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_05_2714.jpg
/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_08_3537.jpg
/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_11_2644.jpg
/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_17_2636.jpg
/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_20_2563.jpg
/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_24_3728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397143332","1397143335","1397143329","1397143331","1397143334","1397143333"],"photo_ids_order":["1397143329","1397143331","1397143332","1397143333","1397143334","1397143335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/88a7f03dfb4fd0b11ebee2c26cf763fa.jpg","text":"TemporaryFile(/tmp/multipartBody3586456602404352757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547603012,"filename":"image_01112025_00_10_11_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/1/57cab391cc119013356e948f5895101c.jpg","text":"TemporaryFile(/tmp/multipartBody3973478391350328527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547603012,"filename":"image_01112025_00_10_24_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/1/0825cfd2f6456ff03fc93c77c9508419.jpg","text":"TemporaryFile(/tmp/multipartBody1144836090045669284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547603012,"filename":"image_01112025_00_10_05_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/1/29d6555c35c89e73221c1b2bef9b66df.jpg","text":"TemporaryFile(/tmp/multipartBody8297911472434739606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547603012,"filename":"image_01112025_00_10_08_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/1/a0a77479ba2299986d7260dc28764109.jpg","text":"TemporaryFile(/tmp/multipartBody6458064808762898822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547603012,"filename":"image_01112025_00_10_20_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/411214c4b71911a4d5fef8100471b998.jpg","text":"TemporaryFile(/tmp/multipartBody8829033957364600721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547603012,"filename":"image_01112025_00_10_17_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397143332","file1":"1397143331","file0":"1397143329","file4":"1397143334","file5":"1397143335","file3":"1397143333"},"map_files_photo_id_array":[{"photo_id":"1397143335","filename":"file5"},{"photo_id":"1397143332","filename":"file2"},{"photo_id":"1397143334","filename":"file4"},{"photo_id":"1397143331","filename":"file1"},{"photo_id":"1397143329","filename":"file0"},{"photo_id":"1397143333","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397143332":["hashtag1","hashtag2"]},{"1397143335":["hashtag1","hashtag2"]},{"1397143329":["hashtag1","hashtag2"]},{"1397143331":["hashtag1","hashtag2"]},{"1397143334":["hashtag1","hashtag2"]},{"1397143333":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397143332, 1397143335, 1397143329, 1397143331, 1397143334, 1397143333)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.69318866729736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 01:06:32.378175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_05_3893.jpg', '/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_07_2666.jpg', '/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_14_3612.jpg', '/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_16_2757.jpg', '/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_28_2632.jpg', '/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_31_2915.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_05_3893.jpg
/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_07_2666.jpg
/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_14_3612.jpg
/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_16_2757.jpg
/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_28_2632.jpg
/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_31_2915.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397143344","1397143347","1397143343","1397143346","1397143345","1397143342"],"photo_ids_order":["1397143342","1397143343","1397143344","1397143345","1397143346","1397143347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e86bdafee1217757ccc16f85e92fdf4c.jpg","text":"TemporaryFile(/tmp/multipartBody580971662741235694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547665881,"filename":"image_25112025_21_10_14_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a102ae07c8eec06d3630a1728e2fa72d.jpg","text":"TemporaryFile(/tmp/multipartBody1001706293030072508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547665881,"filename":"image_25112025_21_10_31_2915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c4c51c75930c0116de8fbb157aac839e.jpg","text":"TemporaryFile(/tmp/multipartBody121530388236529257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547665881,"filename":"image_25112025_21_10_07_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/aba6823431b9935ff64cabdce2831c00.jpg","text":"TemporaryFile(/tmp/multipartBody5379617075731431133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547665881,"filename":"image_25112025_21_10_28_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f01233bae0cb6871f73f8f6578c93e3c.jpg","text":"TemporaryFile(/tmp/multipartBody5900435828229485810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547665881,"filename":"image_25112025_21_10_16_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9e1a03cd90d5af59a2688f29301010c7.jpg","text":"TemporaryFile(/tmp/multipartBody6313079848112243416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547665881,"filename":"image_25112025_21_10_05_3893.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397143344","file1":"1397143343","file0":"1397143342","file4":"1397143346","file5":"1397143347","file3":"1397143345"},"map_files_photo_id_array":[{"photo_id":"1397143347","filename":"file5"},{"photo_id":"1397143344","filename":"file2"},{"photo_id":"1397143346","filename":"file4"},{"photo_id":"1397143343","filename":"file1"},{"photo_id":"1397143342","filename":"file0"},{"photo_id":"1397143345","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397143344":["hashtag1","hashtag2"]},{"1397143347":["hashtag1","hashtag2"]},{"1397143343":["hashtag1","hashtag2"]},{"1397143346":["hashtag1","hashtag2"]},{"1397143345":["hashtag1","hashtag2"]},{"1397143342":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397143344, 1397143347, 1397143343, 1397143346, 1397143345, 1397143342)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 51.51840686798096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 01:07:32.166977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_34_3628.jpg', '/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_37_2524.jpg', '/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_41_3631.jpg', '/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_43_2725.jpg', '/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_46_2503.jpg', '/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_50_3785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_34_3628.jpg
/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_37_2524.jpg
/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_41_3631.jpg
/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_43_2725.jpg
/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_46_2503.jpg
/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_50_3785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397143356","1397143353","1397143355","1397143358","1397143354","1397143357"],"photo_ids_order":["1397143353","1397143354","1397143355","1397143356","1397143357","1397143358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6862c245ef3b534fc60a64ef67d9d491.jpg","text":"TemporaryFile(/tmp/multipartBody3920015532622697873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547720889,"filename":"image_25112025_21_10_43_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/1/9e58988a71f197655456216d5aacbfc7.jpg","text":"TemporaryFile(/tmp/multipartBody2677135458054976764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547720889,"filename":"image_25112025_21_10_34_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/1/28dc88046461b39c6eb2713bd278d3cf.jpg","text":"TemporaryFile(/tmp/multipartBody1258050432993451343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547720889,"filename":"image_25112025_21_10_41_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/1/a8dd4b6cb30742d44d135be8fa38e9ca.jpg","text":"TemporaryFile(/tmp/multipartBody3667062327637170855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547720889,"filename":"image_25112025_21_10_50_3785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b7a0fcec3d4eee721f3da49530ee6bc8.jpg","text":"TemporaryFile(/tmp/multipartBody4267536191108876313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547720889,"filename":"image_25112025_21_10_37_2524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/822874ffefc94ac36c7a4f06b19cd29f.jpg","text":"TemporaryFile(/tmp/multipartBody7446018578153115815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547720889,"filename":"image_25112025_21_10_46_2503.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397143355","file1":"1397143354","file0":"1397143353","file4":"1397143357","file5":"1397143358","file3":"1397143356"},"map_files_photo_id_array":[{"photo_id":"1397143358","filename":"file5"},{"photo_id":"1397143355","filename":"file2"},{"photo_id":"1397143357","filename":"file4"},{"photo_id":"1397143354","filename":"file1"},{"photo_id":"1397143353","filename":"file0"},{"photo_id":"1397143356","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397143356":["hashtag1","hashtag2"]},{"1397143353":["hashtag1","hashtag2"]},{"1397143355":["hashtag1","hashtag2"]},{"1397143358":["hashtag1","hashtag2"]},{"1397143354":["hashtag1","hashtag2"]},{"1397143357":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397143356, 1397143353, 1397143355, 1397143358, 1397143354, 1397143357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.052398920059204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 01:08:22.317249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/03/image_01122025_01_03_54_9597.jpg', '/home/pi/Desktop/images/01122025/01/03/image_01122025_01_04_04_10746.jpg', '/home/pi/Desktop/images/01122025/01/04/image_01122025_01_04_14_9727.jpg', '/home/pi/Desktop/images/01122025/01/05/image_01122025_01_05_54_9699.jpg', '/home/pi/Desktop/images/01122025/01/05/image_01122025_01_06_04_9657.jpg', '/home/pi/Desktop/images/01122025/01/06/image_01122025_01_06_13_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/03/image_01122025_01_03_54_9597.jpg
/home/pi/Desktop/images/01122025/01/03/image_01122025_01_04_04_10746.jpg
/home/pi/Desktop/images/01122025/01/04/image_01122025_01_04_14_9727.jpg
/home/pi/Desktop/images/01122025/01/05/image_01122025_01_05_54_9699.jpg
/home/pi/Desktop/images/01122025/01/05/image_01122025_01_06_04_9657.jpg
/home/pi/Desktop/images/01122025/01/06/image_01122025_01_06_13_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":["1397143365","1397143368","1397143367","1397143363","1397143366","1397143360"],"photo_ids_order":["1397143360","1397143363","1397143365","1397143366","1397143367","1397143368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/99c889349e28cb2a81cb1b44015694d9.jpg","text":"TemporaryFile(/tmp/multipartBody39488152296963104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547763026,"filename":"image_01122025_01_04_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/1/b7ca66eae7ec234a78491508d43da903.jpg","text":"TemporaryFile(/tmp/multipartBody6167019468210450662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547763026,"filename":"image_01122025_01_06_13_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/1/7aa670fff29d5d6fff03f382444bc458.jpg","text":"TemporaryFile(/tmp/multipartBody7368481263924188697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547763026,"filename":"image_01122025_01_06_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/df41d0f34a807f5a137f9d700d5233de.jpg","text":"TemporaryFile(/tmp/multipartBody6272953425006102406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547763026,"filename":"image_01122025_01_04_04_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/88729df613e15cdd3d4cf1f1bfda1b69.jpg","text":"TemporaryFile(/tmp/multipartBody5460735838457414572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547763026,"filename":"image_01122025_01_05_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/1/f521c00a925cc3c898a4c63314c3d8aa.jpg","text":"TemporaryFile(/tmp/multipartBody6678046518211562559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547763026,"filename":"image_01122025_01_03_54_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397143365","file1":"1397143363","file0":"1397143360","file4":"1397143367","file5":"1397143368","file3":"1397143366"},"map_files_photo_id_array":[{"photo_id":"1397143368","filename":"file5"},{"photo_id":"1397143365","filename":"file2"},{"photo_id":"1397143367","filename":"file4"},{"photo_id":"1397143363","filename":"file1"},{"photo_id":"1397143360","filename":"file0"},{"photo_id":"1397143366","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397143365":["hashtag1","hashtag2"]},{"1397143368":["hashtag1","hashtag2"]},{"1397143367":["hashtag1","hashtag2"]},{"1397143363":["hashtag1","hashtag2"]},{"1397143366":["hashtag1","hashtag2"]},{"1397143360":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397143365, 1397143368, 1397143367, 1397143363, 1397143366, 1397143360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.958317041397095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:09:03.636525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 01:09:12.718041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_52_2681.jpg', '/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_55_2731.jpg', '/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_58_3495.jpg', '/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_07_2557.jpg', '/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_10_2804.jpg', '/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_13_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_52_2681.jpg
/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_55_2731.jpg
/home/pi/Desktop/images/25112025/21/10/image_25112025_21_10_58_3495.jpg
/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_07_2557.jpg
/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_10_2804.jpg
/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_13_2662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397143377","1397143379","1397143373","1397143370","1397143375","1397143369"],"photo_ids_order":["1397143369","1397143370","1397143373","1397143375","1397143377","1397143379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/733bc0b23b6cbc7b42714597f3000764.jpg","text":"TemporaryFile(/tmp/multipartBody8261271627393750543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547814341,"filename":"image_25112025_21_11_10_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/520a569926d414baf54552676876009a.jpg","text":"TemporaryFile(/tmp/multipartBody5570803381624536359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547814341,"filename":"image_25112025_21_11_13_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/1/c4fd204e2246d5e5299f94df442b8e25.jpg","text":"TemporaryFile(/tmp/multipartBody8916193900387010273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547814341,"filename":"image_25112025_21_10_58_3495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ae9942ee880d781afdca7a1fb668df09.jpg","text":"TemporaryFile(/tmp/multipartBody7453559964928228216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547814341,"filename":"image_25112025_21_10_55_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7d4cdbf5052704e6e6783128a358e5ce.jpg","text":"TemporaryFile(/tmp/multipartBody7090729435082487352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547814341,"filename":"image_25112025_21_11_07_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/1/c5dc9efa24fb28a531609b3dedc181be.jpg","text":"TemporaryFile(/tmp/multipartBody4562492775015988742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547814341,"filename":"image_25112025_21_10_52_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397143373","file1":"1397143370","file0":"1397143369","file4":"1397143377","file5":"1397143379","file3":"1397143375"},"map_files_photo_id_array":[{"photo_id":"1397143379","filename":"file5"},{"photo_id":"1397143373","filename":"file2"},{"photo_id":"1397143377","filename":"file4"},{"photo_id":"1397143370","filename":"file1"},{"photo_id":"1397143369","filename":"file0"},{"photo_id":"1397143375","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397143377":["hashtag1","hashtag2"]},{"1397143379":["hashtag1","hashtag2"]},{"1397143373":["hashtag1","hashtag2"]},{"1397143370":["hashtag1","hashtag2"]},{"1397143375":["hashtag1","hashtag2"]},{"1397143369":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397143377, 1397143379, 1397143373, 1397143370, 1397143375, 1397143369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.56298565864563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:10:02.561046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/06/image_01122025_01_06_24_10564.jpg', '/home/pi/Desktop/images/01122025/01/06/image_01122025_01_06_44_9673.jpg', '/home/pi/Desktop/images/01122025/01/06/image_01122025_01_07_04_9345.jpg', '/home/pi/Desktop/images/01122025/01/07/image_01122025_01_07_24_9258.jpg', '/home/pi/Desktop/images/01122025/01/07/image_01122025_01_07_33_9878.jpg', '/home/pi/Desktop/images/01122025/01/07/image_01122025_01_07_46_12386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/06/image_01122025_01_06_24_10564.jpg
/home/pi/Desktop/images/01122025/01/06/image_01122025_01_06_44_9673.jpg
/home/pi/Desktop/images/01122025/01/06/image_01122025_01_07_04_9345.jpg
/home/pi/Desktop/images/01122025/01/07/image_01122025_01_07_24_9258.jpg
/home/pi/Desktop/images/01122025/01/07/image_01122025_01_07_33_9878.jpg
/home/pi/Desktop/images/01122025/01/07/image_01122025_01_07_46_12386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397143383","1397143385","1397143388","1397143382","1397143381","1397143380"],"photo_ids_order":["1397143380","1397143381","1397143382","1397143383","1397143385","1397143388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/53a796dc516d95bc7f9948cbf8c8d7e1.jpg","text":"TemporaryFile(/tmp/multipartBody6284977717796776474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547863340,"filename":"image_01122025_01_07_24_9258.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8f8158c1a9bd6a98fbb4bf22eacbf066.jpg","text":"TemporaryFile(/tmp/multipartBody2588711129257385374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547863340,"filename":"image_01122025_01_07_33_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/1/1891ffb1923c014831f96537239d50bc.jpg","text":"TemporaryFile(/tmp/multipartBody5277373611601259063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547863340,"filename":"image_01122025_01_07_46_12386.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/50038480ad0cc20bcaa5979586ab87eb.jpg","text":"TemporaryFile(/tmp/multipartBody9171816073798368251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547863340,"filename":"image_01122025_01_07_04_9345.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a62a140007ae8d11f95318e30a527e4d.jpg","text":"TemporaryFile(/tmp/multipartBody3430847614680275839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547863340,"filename":"image_01122025_01_06_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/1/c6cc2b502b8932beee53702f53467f83.jpg","text":"TemporaryFile(/tmp/multipartBody2093443063647874264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547863340,"filename":"image_01122025_01_06_24_10564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397143382","file1":"1397143381","file0":"1397143380","file4":"1397143385","file5":"1397143388","file3":"1397143383"},"map_files_photo_id_array":[{"photo_id":"1397143388","filename":"file5"},{"photo_id":"1397143382","filename":"file2"},{"photo_id":"1397143385","filename":"file4"},{"photo_id":"1397143381","filename":"file1"},{"photo_id":"1397143380","filename":"file0"},{"photo_id":"1397143383","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397143383":["hashtag1","hashtag2"]},{"1397143385":["hashtag1","hashtag2"]},{"1397143388":["hashtag1","hashtag2"]},{"1397143382":["hashtag1","hashtag2"]},{"1397143381":["hashtag1","hashtag2"]},{"1397143380":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397143383, 1397143385, 1397143388, 1397143382, 1397143381, 1397143380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30043053627014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 01:10:42.009976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_26_2664.jpg', '/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_29_3023.jpg', '/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_32_2794.jpg', '/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_39_3664.jpg', '/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_45_3674.jpg', '/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_48_2947.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_26_2664.jpg
/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_29_3023.jpg
/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_32_2794.jpg
/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_39_3664.jpg
/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_45_3674.jpg
/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_48_2947.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397143391","1397143394","1397143396","1397143393","1397143392","1397143395"],"photo_ids_order":["1397143391","1397143392","1397143393","1397143394","1397143395","1397143396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/faddc6b3d2d29132c4e3e3d19fedd11a.jpg","text":"TemporaryFile(/tmp/multipartBody2795662223416902848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547902795,"filename":"image_01112025_00_10_26_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/1/e2b05905c1bed4f3178f173127393926.jpg","text":"TemporaryFile(/tmp/multipartBody7498546115833643890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547902795,"filename":"image_01112025_00_10_39_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/1/8eb41dde20493b5b0e897ecb31e8b296.jpg","text":"TemporaryFile(/tmp/multipartBody962286804577496102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547902795,"filename":"image_01112025_00_10_48_2947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e56977014b81e4e493dc08c4a5f2f754.jpg","text":"TemporaryFile(/tmp/multipartBody5238634995464486368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547902795,"filename":"image_01112025_00_10_32_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/17ae9093c56af044a0591e9c09b831f0.jpg","text":"TemporaryFile(/tmp/multipartBody369740349179006630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547902795,"filename":"image_01112025_00_10_29_3023.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3f5ec438f1c014f6c0958e8a550bec98.jpg","text":"TemporaryFile(/tmp/multipartBody7561845858231622395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547902795,"filename":"image_01112025_00_10_45_3674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397143393","file1":"1397143392","file0":"1397143391","file4":"1397143395","file5":"1397143396","file3":"1397143394"},"map_files_photo_id_array":[{"photo_id":"1397143396","filename":"file5"},{"photo_id":"1397143393","filename":"file2"},{"photo_id":"1397143395","filename":"file4"},{"photo_id":"1397143392","filename":"file1"},{"photo_id":"1397143391","filename":"file0"},{"photo_id":"1397143394","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397143391":["hashtag1","hashtag2"]},{"1397143394":["hashtag1","hashtag2"]},{"1397143396":["hashtag1","hashtag2"]},{"1397143393":["hashtag1","hashtag2"]},{"1397143392":["hashtag1","hashtag2"]},{"1397143395":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397143391, 1397143394, 1397143396, 1397143393, 1397143392, 1397143395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4222354888916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 01:11:22.228723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/07/image_01122025_01_08_04_10696.jpg', '/home/pi/Desktop/images/01122025/01/08/image_01122025_01_08_14_9827.jpg', '/home/pi/Desktop/images/01122025/01/08/image_01122025_01_08_24_9745.jpg', '/home/pi/Desktop/images/01122025/01/08/image_01122025_01_08_34_9776.jpg', '/home/pi/Desktop/images/01122025/01/08/image_01122025_01_08_44_10255.jpg', '/home/pi/Desktop/images/01122025/01/08/image_01122025_01_08_54_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/07/image_01122025_01_08_04_10696.jpg
/home/pi/Desktop/images/01122025/01/08/image_01122025_01_08_14_9827.jpg
/home/pi/Desktop/images/01122025/01/08/image_01122025_01_08_24_9745.jpg
/home/pi/Desktop/images/01122025/01/08/image_01122025_01_08_34_9776.jpg
/home/pi/Desktop/images/01122025/01/08/image_01122025_01_08_44_10255.jpg
/home/pi/Desktop/images/01122025/01/08/image_01122025_01_08_54_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397143401","1397143403","1397143406","1397143409","1397143399","1397143405"],"photo_ids_order":["1397143399","1397143401","1397143403","1397143405","1397143406","1397143409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e15f32e9afafec1c2c9dae5dd33f5ad0.jpg","text":"TemporaryFile(/tmp/multipartBody6367839116089173413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547943032,"filename":"image_01122025_01_08_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/1/d27baa1bcc1a680a3717954949811049.jpg","text":"TemporaryFile(/tmp/multipartBody8633661337237700069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547943032,"filename":"image_01122025_01_08_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/1/efbad070f77df92d295d1b9f9ffbe8a8.jpg","text":"TemporaryFile(/tmp/multipartBody6625529771738683427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547943032,"filename":"image_01122025_01_08_44_10255.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bf87ebb4b7976d35a4543a973e88c55e.jpg","text":"TemporaryFile(/tmp/multipartBody8808681699246813154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547943032,"filename":"image_01122025_01_08_54_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9c71fc1f0058f3017f0700e866b39fb7.jpg","text":"TemporaryFile(/tmp/multipartBody5332436675130314299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547943032,"filename":"image_01122025_01_08_04_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3f6f70e6a58b0a5b55ced751ca665d39.jpg","text":"TemporaryFile(/tmp/multipartBody1744063499337600150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547943032,"filename":"image_01122025_01_08_34_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397143403","file1":"1397143401","file0":"1397143399","file4":"1397143406","file5":"1397143409","file3":"1397143405"},"map_files_photo_id_array":[{"photo_id":"1397143409","filename":"file5"},{"photo_id":"1397143403","filename":"file2"},{"photo_id":"1397143406","filename":"file4"},{"photo_id":"1397143401","filename":"file1"},{"photo_id":"1397143399","filename":"file0"},{"photo_id":"1397143405","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397143401":["hashtag1","hashtag2"]},{"1397143403":["hashtag1","hashtag2"]},{"1397143406":["hashtag1","hashtag2"]},{"1397143409":["hashtag1","hashtag2"]},{"1397143399":["hashtag1","hashtag2"]},{"1397143405":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397143401, 1397143403, 1397143406, 1397143409, 1397143399, 1397143405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59353995323181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:12:02.928257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/08/image_01122025_01_09_04_10695.jpg', '/home/pi/Desktop/images/01122025/01/09/image_01122025_01_09_14_9720.jpg', '/home/pi/Desktop/images/01122025/01/09/image_01122025_01_09_34_9831.jpg', '/home/pi/Desktop/images/01122025/01/09/image_01122025_01_09_44_10681.jpg', '/home/pi/Desktop/images/01122025/01/09/image_01122025_01_10_04_9764.jpg', '/home/pi/Desktop/images/01122025/01/10/image_01122025_01_10_54_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/08/image_01122025_01_09_04_10695.jpg
/home/pi/Desktop/images/01122025/01/09/image_01122025_01_09_14_9720.jpg
/home/pi/Desktop/images/01122025/01/09/image_01122025_01_09_34_9831.jpg
/home/pi/Desktop/images/01122025/01/09/image_01122025_01_09_44_10681.jpg
/home/pi/Desktop/images/01122025/01/09/image_01122025_01_10_04_9764.jpg
/home/pi/Desktop/images/01122025/01/10/image_01122025_01_10_54_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397143410","1397143413","1397143416","1397143418","1397143412","1397143411"],"photo_ids_order":["1397143410","1397143411","1397143412","1397143413","1397143416","1397143418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e1f5f67ee3de22d78049e8671b92ff0b.jpg","text":"TemporaryFile(/tmp/multipartBody4404250673987993472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547983711,"filename":"image_01122025_01_09_04_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a7d1afaab42b5d9f2d78628c62004031.jpg","text":"TemporaryFile(/tmp/multipartBody2974064984338643646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547983711,"filename":"image_01122025_01_09_44_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e4147e7c5652f1af73914239effbbc53.jpg","text":"TemporaryFile(/tmp/multipartBody5318981314454512825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547983711,"filename":"image_01122025_01_10_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/1/36cf837c6ad5327a9a44901b24ecad26.jpg","text":"TemporaryFile(/tmp/multipartBody7677638640681850665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547983711,"filename":"image_01122025_01_10_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/1/52e731af46ce65622406568fecbff2c0.jpg","text":"TemporaryFile(/tmp/multipartBody3747419121238037680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547983711,"filename":"image_01122025_01_09_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/1/3afc1c010a030154899e34d1f5219f08.jpg","text":"TemporaryFile(/tmp/multipartBody2730360913173119473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764547983711,"filename":"image_01122025_01_09_14_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397143412","file1":"1397143411","file0":"1397143410","file4":"1397143416","file5":"1397143418","file3":"1397143413"},"map_files_photo_id_array":[{"photo_id":"1397143418","filename":"file5"},{"photo_id":"1397143412","filename":"file2"},{"photo_id":"1397143416","filename":"file4"},{"photo_id":"1397143411","filename":"file1"},{"photo_id":"1397143410","filename":"file0"},{"photo_id":"1397143413","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397143410":["hashtag1","hashtag2"]},{"1397143413":["hashtag1","hashtag2"]},{"1397143416":["hashtag1","hashtag2"]},{"1397143418":["hashtag1","hashtag2"]},{"1397143412":["hashtag1","hashtag2"]},{"1397143411":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397143410, 1397143413, 1397143416, 1397143418, 1397143412, 1397143411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8034553527832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 01:12:42.618786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_50_2528.jpg', '/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_57_3797.jpg', '/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_59_2571.jpg', '/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_02_3141.jpg', '/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_05_2695.jpg', '/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_08_2744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_50_2528.jpg
/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_57_3797.jpg
/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_59_2571.jpg
/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_02_3141.jpg
/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_05_2695.jpg
/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_08_2744.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7311720848083496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:13:03.383476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/10/image_01122025_01_11_04_10660.jpg', '/home/pi/Desktop/images/01122025/01/11/image_01122025_01_11_14_9582.jpg', '/home/pi/Desktop/images/01122025/01/11/image_01122025_01_11_24_9663.jpg', '/home/pi/Desktop/images/01122025/01/11/image_01122025_01_11_33_9847.jpg', '/home/pi/Desktop/images/01122025/01/11/image_01122025_01_11_44_10723.jpg', '/home/pi/Desktop/images/01122025/01/11/image_01122025_01_11_54_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/10/image_01122025_01_11_04_10660.jpg
/home/pi/Desktop/images/01122025/01/11/image_01122025_01_11_14_9582.jpg
/home/pi/Desktop/images/01122025/01/11/image_01122025_01_11_24_9663.jpg
/home/pi/Desktop/images/01122025/01/11/image_01122025_01_11_33_9847.jpg
/home/pi/Desktop/images/01122025/01/11/image_01122025_01_11_44_10723.jpg
/home/pi/Desktop/images/01122025/01/11/image_01122025_01_11_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":["1397143431","1397143434","1397143428","1397143430","1397143427","1397143426"],"photo_ids_order":["1397143426","1397143427","1397143428","1397143430","1397143431","1397143434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9c63889ff5f88ca297dfaa36eee8609f.jpg","text":"TemporaryFile(/tmp/multipartBody7178922672201310988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548044233,"filename":"image_01122025_01_11_44_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fe25fb19b31b03f5b02d9adfa82346f6.jpg","text":"TemporaryFile(/tmp/multipartBody4050347027362489130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548044233,"filename":"image_01122025_01_11_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/1/3368fa494fb418b75cf87840be0bcd7b.jpg","text":"TemporaryFile(/tmp/multipartBody8913328466007885768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548044233,"filename":"image_01122025_01_11_24_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9f54677d68767f9cda68dc44e808650c.jpg","text":"TemporaryFile(/tmp/multipartBody8296613633634924140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548044233,"filename":"image_01122025_01_11_33_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/56cb69cb3ee29e0170f27c1c826748fc.jpg","text":"TemporaryFile(/tmp/multipartBody1578395127866554824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548044233,"filename":"image_01122025_01_11_14_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6c9dddfd806e6c1c98875c2b0eac1e84.jpg","text":"TemporaryFile(/tmp/multipartBody4972200525133967248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548044233,"filename":"image_01122025_01_11_04_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397143428","file1":"1397143427","file0":"1397143426","file4":"1397143431","file5":"1397143434","file3":"1397143430"},"map_files_photo_id_array":[{"photo_id":"1397143434","filename":"file5"},{"photo_id":"1397143428","filename":"file2"},{"photo_id":"1397143431","filename":"file4"},{"photo_id":"1397143427","filename":"file1"},{"photo_id":"1397143426","filename":"file0"},{"photo_id":"1397143430","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397143431":["hashtag1","hashtag2"]},{"1397143434":["hashtag1","hashtag2"]},{"1397143428":["hashtag1","hashtag2"]},{"1397143430":["hashtag1","hashtag2"]},{"1397143427":["hashtag1","hashtag2"]},{"1397143426":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397143431, 1397143434, 1397143428, 1397143430, 1397143427, 1397143426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.019033432006836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 01:13:42.782945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_50_2528.jpg', '/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_57_3797.jpg', '/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_59_2571.jpg', '/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_02_3141.jpg', '/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_05_2695.jpg', '/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_08_2744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_50_2528.jpg
/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_57_3797.jpg
/home/pi/Desktop/images/01112025/00/10/image_01112025_00_10_59_2571.jpg
/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_02_3141.jpg
/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_05_2695.jpg
/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_08_2744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397143437","1397143440","1397143436","1397143439","1397143441","1397143438"],"photo_ids_order":["1397143436","1397143437","1397143438","1397143439","1397143440","1397143441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e25ab81114a2acd36bae1f32e90592c9.jpg","text":"TemporaryFile(/tmp/multipartBody801123167047512660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548083526,"filename":"image_01112025_00_10_57_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/1/68599ed03792b00fa6e63774b52c9f93.jpg","text":"TemporaryFile(/tmp/multipartBody7821264900640527936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548083526,"filename":"image_01112025_00_11_05_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/1/2cee529a202e1fcbd5611806e7c8db6a.jpg","text":"TemporaryFile(/tmp/multipartBody3285577901610126631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548083526,"filename":"image_01112025_00_10_50_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/1/d816fca8735f5f1865bbdfde09028df9.jpg","text":"TemporaryFile(/tmp/multipartBody475074599892713913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548083526,"filename":"image_01112025_00_11_02_3141.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0ea1d12977c61597cc6af3f2edaed172.jpg","text":"TemporaryFile(/tmp/multipartBody2474509046407561525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548083526,"filename":"image_01112025_00_11_08_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3835915051b825f6953b0fe50d23d6c1.jpg","text":"TemporaryFile(/tmp/multipartBody8433239799678387747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548083526,"filename":"image_01112025_00_10_59_2571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397143438","file1":"1397143437","file0":"1397143436","file4":"1397143440","file5":"1397143441","file3":"1397143439"},"map_files_photo_id_array":[{"photo_id":"1397143441","filename":"file5"},{"photo_id":"1397143438","filename":"file2"},{"photo_id":"1397143440","filename":"file4"},{"photo_id":"1397143437","filename":"file1"},{"photo_id":"1397143436","filename":"file0"},{"photo_id":"1397143439","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397143437":["hashtag1","hashtag2"]},{"1397143440":["hashtag1","hashtag2"]},{"1397143436":["hashtag1","hashtag2"]},{"1397143439":["hashtag1","hashtag2"]},{"1397143441":["hashtag1","hashtag2"]},{"1397143438":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397143437, 1397143440, 1397143436, 1397143439, 1397143441, 1397143438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.06059956550598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 01:14:21.969000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/11/image_01122025_01_12_04_9911.jpg', '/home/pi/Desktop/images/01122025/01/13/image_01122025_01_13_14_9592.jpg', '/home/pi/Desktop/images/01122025/01/13/image_01122025_01_13_24_9710.jpg', '/home/pi/Desktop/images/01122025/01/13/image_01122025_01_13_44_9788.jpg', '/home/pi/Desktop/images/01122025/01/13/image_01122025_01_13_54_10106.jpg', '/home/pi/Desktop/images/01122025/01/13/image_01122025_01_14_04_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/11/image_01122025_01_12_04_9911.jpg
/home/pi/Desktop/images/01122025/01/13/image_01122025_01_13_14_9592.jpg
/home/pi/Desktop/images/01122025/01/13/image_01122025_01_13_24_9710.jpg
/home/pi/Desktop/images/01122025/01/13/image_01122025_01_13_44_9788.jpg
/home/pi/Desktop/images/01122025/01/13/image_01122025_01_13_54_10106.jpg
/home/pi/Desktop/images/01122025/01/13/image_01122025_01_14_04_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":["1397143455","1397143452","1397143448","1397143451","1397143445","1397143450"],"photo_ids_order":["1397143445","1397143448","1397143450","1397143451","1397143452","1397143455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/be6b39dd22713baaa3114b35183c1e20.jpg","text":"TemporaryFile(/tmp/multipartBody8901938699470046174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548122723,"filename":"image_01122025_01_14_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/1/d85f7440b550fd8535d357f59ddb62a0.jpg","text":"TemporaryFile(/tmp/multipartBody5774704417534085064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548122723,"filename":"image_01122025_01_13_54_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/1/9abcf795624f704807ee1316f47c9050.jpg","text":"TemporaryFile(/tmp/multipartBody9021271726193043986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548122723,"filename":"image_01122025_01_13_14_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2ac8be97608c08e143c18e329a448378.jpg","text":"TemporaryFile(/tmp/multipartBody9212173956749493533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548122723,"filename":"image_01122025_01_13_44_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/43bd3d68f81e8b1ac8744deb422bd7a1.jpg","text":"TemporaryFile(/tmp/multipartBody6326841626758336116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548122723,"filename":"image_01122025_01_12_04_9911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ae0cd0314dfbe6f383972580a47f66b6.jpg","text":"TemporaryFile(/tmp/multipartBody8367213079801009353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548122723,"filename":"image_01122025_01_13_24_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397143450","file1":"1397143448","file0":"1397143445","file4":"1397143452","file5":"1397143455","file3":"1397143451"},"map_files_photo_id_array":[{"photo_id":"1397143455","filename":"file5"},{"photo_id":"1397143450","filename":"file2"},{"photo_id":"1397143452","filename":"file4"},{"photo_id":"1397143448","filename":"file1"},{"photo_id":"1397143445","filename":"file0"},{"photo_id":"1397143451","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397143455":["hashtag1","hashtag2"]},{"1397143452":["hashtag1","hashtag2"]},{"1397143448":["hashtag1","hashtag2"]},{"1397143451":["hashtag1","hashtag2"]},{"1397143445":["hashtag1","hashtag2"]},{"1397143450":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397143455, 1397143452, 1397143448, 1397143451, 1397143445, 1397143450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.504411935806274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:15:02.672158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/14/image_01122025_01_14_14_10622.jpg', '/home/pi/Desktop/images/01122025/01/14/image_01122025_01_14_24_9828.jpg', '/home/pi/Desktop/images/01122025/01/14/image_01122025_01_14_34_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/14/image_01122025_01_14_14_10622.jpg
/home/pi/Desktop/images/01122025/01/14/image_01122025_01_14_24_9828.jpg
/home/pi/Desktop/images/01122025/01/14/image_01122025_01_14_34_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":["1397143458","1397143457","1397143456"],"photo_ids_order":["1397143456","1397143457","1397143458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fde0d947f785b434add17793eace609e.jpg","text":"TemporaryFile(/tmp/multipartBody2488928137042955771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548163351,"filename":"image_01122025_01_14_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/1/ab971bc6defcc7e2fe567c04354da7f2.jpg","text":"TemporaryFile(/tmp/multipartBody2764626559591927855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548163351,"filename":"image_01122025_01_14_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/1/e4f506acc72b5640249d430beb87c4a7.jpg","text":"TemporaryFile(/tmp/multipartBody4518376916002683278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548163351,"filename":"image_01122025_01_14_14_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397143458","file1":"1397143457","file0":"1397143456"},"map_files_photo_id_array":[{"photo_id":"1397143458","filename":"file2"},{"photo_id":"1397143457","filename":"file1"},{"photo_id":"1397143456","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397143458":["hashtag1","hashtag2"]},{"1397143457":["hashtag1","hashtag2"]},{"1397143456":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397143458, 1397143457, 1397143456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.454450845718384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/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-01 01:15:32.198562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_16_3725.jpg', '/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_19_2722.jpg', '/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_25_3580.jpg', '/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_31_3514.jpg', '/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_34_2762.jpg', '/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_40_3601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_16_3725.jpg
/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_19_2722.jpg
/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_25_3580.jpg
/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_31_3514.jpg
/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_34_2762.jpg
/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_40_3601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397143470","1397143467","1397143466","1397143469","1397143465","1397143468"],"photo_ids_order":["1397143465","1397143466","1397143467","1397143468","1397143469","1397143470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f4c4756dfc399e4b14ad2e7897dfbea9.jpg","text":"TemporaryFile(/tmp/multipartBody1777126226366706306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548204963,"filename":"image_25112025_21_11_40_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/1/7e0eddc370bdb8c3824230a732299101.jpg","text":"TemporaryFile(/tmp/multipartBody308008597660121789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548204963,"filename":"image_25112025_21_11_25_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/1/dc4e468b4ab4316bf55d11c296db026e.jpg","text":"TemporaryFile(/tmp/multipartBody2435395760613704795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548204963,"filename":"image_25112025_21_11_19_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/1/cb3f706ef75c69163ae25fdc26a55943.jpg","text":"TemporaryFile(/tmp/multipartBody3616383307039946753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548204963,"filename":"image_25112025_21_11_34_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f4f298bf0bfe2cb0e8ae210ed50f861a.jpg","text":"TemporaryFile(/tmp/multipartBody2446130407909873176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548204963,"filename":"image_25112025_21_11_16_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/1/a0e67049d0d775dc25f94825faf3c057.jpg","text":"TemporaryFile(/tmp/multipartBody352028758166893640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548204963,"filename":"image_25112025_21_11_31_3514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397143467","file1":"1397143466","file0":"1397143465","file4":"1397143469","file5":"1397143470","file3":"1397143468"},"map_files_photo_id_array":[{"photo_id":"1397143470","filename":"file5"},{"photo_id":"1397143467","filename":"file2"},{"photo_id":"1397143469","filename":"file4"},{"photo_id":"1397143466","filename":"file1"},{"photo_id":"1397143465","filename":"file0"},{"photo_id":"1397143468","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397143470":["hashtag1","hashtag2"]},{"1397143467":["hashtag1","hashtag2"]},{"1397143466":["hashtag1","hashtag2"]},{"1397143469":["hashtag1","hashtag2"]},{"1397143465":["hashtag1","hashtag2"]},{"1397143468":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397143470, 1397143467, 1397143466, 1397143469, 1397143465, 1397143468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.55229830741882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 01:16:22.221944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/14/image_01122025_01_14_43_9563.jpg', '/home/pi/Desktop/images/01122025/01/15/image_01122025_01_15_54_9910.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/14/image_01122025_01_14_43_9563.jpg
/home/pi/Desktop/images/01122025/01/15/image_01122025_01_15_54_9910.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397143475","1397143473"],"photo_ids_order":["1397143473","1397143475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/050860f337fad0261b46be413196e2fd.jpg","text":"TemporaryFile(/tmp/multipartBody8641542225050005953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548242801,"filename":"image_01122025_01_15_54_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/1/73f29ce588fc968711b1d892b70601f9.jpg","text":"TemporaryFile(/tmp/multipartBody6075565211776647341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548242801,"filename":"image_01122025_01_14_43_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397143475","file0":"1397143473"},"map_files_photo_id_array":[{"photo_id":"1397143475","filename":"file1"},{"photo_id":"1397143473","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397143475":["hashtag1","hashtag2"]},{"1397143473":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397143475, 1397143473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.221278190612793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 01:16:42.196264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_11_3524.jpg', '/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_14_2700.jpg', '/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_17_2901.jpg', '/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_23_2689.jpg', '/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_26_2733.jpg', '/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_30_3563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_11_3524.jpg
/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_14_2700.jpg
/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_17_2901.jpg
/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_23_2689.jpg
/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_26_2733.jpg
/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_30_3563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397143482","1397143479","1397143478","1397143481","1397143480","1397143483"],"photo_ids_order":["1397143478","1397143479","1397143480","1397143481","1397143482","1397143483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fdb2fc709659799d1de2e979d9e62666.jpg","text":"TemporaryFile(/tmp/multipartBody1512644674409796393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548263065,"filename":"image_01112025_00_11_26_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/1/170dd783baa6b7c1f4b9fec2512997ab.jpg","text":"TemporaryFile(/tmp/multipartBody6041869411773865956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548263065,"filename":"image_01112025_00_11_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/1/c132a8f30599c965bf93675d9381b58f.jpg","text":"TemporaryFile(/tmp/multipartBody1917519312194690999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548263065,"filename":"image_01112025_00_11_11_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/1/852b62f1b567ed7d4b323b41b1ea7eb0.jpg","text":"TemporaryFile(/tmp/multipartBody8453866118349113022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548263065,"filename":"image_01112025_00_11_23_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/1/1fd3fa7fd002a5ed8a1991d2ce76c715.jpg","text":"TemporaryFile(/tmp/multipartBody1142251854408013221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548263065,"filename":"image_01112025_00_11_17_2901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f95a36687a74aaaa07f2bc3237617f05.jpg","text":"TemporaryFile(/tmp/multipartBody704996372335173154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548263065,"filename":"image_01112025_00_11_30_3563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397143480","file1":"1397143479","file0":"1397143478","file4":"1397143482","file5":"1397143483","file3":"1397143481"},"map_files_photo_id_array":[{"photo_id":"1397143483","filename":"file5"},{"photo_id":"1397143480","filename":"file2"},{"photo_id":"1397143482","filename":"file4"},{"photo_id":"1397143479","filename":"file1"},{"photo_id":"1397143478","filename":"file0"},{"photo_id":"1397143481","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397143482":["hashtag1","hashtag2"]},{"1397143479":["hashtag1","hashtag2"]},{"1397143478":["hashtag1","hashtag2"]},{"1397143481":["hashtag1","hashtag2"]},{"1397143480":["hashtag1","hashtag2"]},{"1397143483":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397143482, 1397143479, 1397143478, 1397143481, 1397143480, 1397143483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55994892120361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 01:17:23.473006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/15/image_01122025_01_16_04_10690.jpg', '/home/pi/Desktop/images/01122025/01/16/image_01122025_01_17_04_9981.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/15/image_01122025_01_16_04_10690.jpg
/home/pi/Desktop/images/01122025/01/16/image_01122025_01_17_04_9981.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397143486","1397143488"],"photo_ids_order":["1397143486","1397143488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/64f789a80cbf2be99f90b4d9a3466a2d.jpg","text":"TemporaryFile(/tmp/multipartBody7014311524877136021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548304049,"filename":"image_01122025_01_16_04_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/df67d80afca51299e09b2308f2fda488.jpg","text":"TemporaryFile(/tmp/multipartBody6376475379792634982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548304049,"filename":"image_01122025_01_17_04_9981.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397143488","file0":"1397143486"},"map_files_photo_id_array":[{"photo_id":"1397143488","filename":"file1"},{"photo_id":"1397143486","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397143486":["hashtag1","hashtag2"]},{"1397143488":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397143486, 1397143488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.462151050567627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 01:17:42.388146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_33_2821.jpg', '/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_35_2730.jpg', '/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_38_2677.jpg', '/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_42_3760.jpg', '/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_44_2591.jpg', '/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_47_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_33_2821.jpg
/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_35_2730.jpg
/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_38_2677.jpg
/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_42_3760.jpg
/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_44_2591.jpg
/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_47_2733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397143493","1397143495","1397143489","1397143492","1397143491","1397143494"],"photo_ids_order":["1397143489","1397143491","1397143492","1397143493","1397143494","1397143495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0fd043bed0dc1132a91678716e7cd8f1.jpg","text":"TemporaryFile(/tmp/multipartBody6981276458816625943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548323246,"filename":"image_01112025_00_11_42_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/1/e4db02dff5b6046e05902a67da263034.jpg","text":"TemporaryFile(/tmp/multipartBody9201668260974737188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548323246,"filename":"image_01112025_00_11_47_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dc7d7e24b6b64833cfff50ec3a1d11c1.jpg","text":"TemporaryFile(/tmp/multipartBody2490774034812701257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548323246,"filename":"image_01112025_00_11_33_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/1/7c8e8107aef49e88786db4f62fc1e33a.jpg","text":"TemporaryFile(/tmp/multipartBody3712070561790580954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548323246,"filename":"image_01112025_00_11_38_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/1/9086a90624f1d00400237a8de5f1fcb9.jpg","text":"TemporaryFile(/tmp/multipartBody4065513719900820064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548323246,"filename":"image_01112025_00_11_35_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ac7e4e5b6d6ccbc64a9ecb91ba6eb81c.jpg","text":"TemporaryFile(/tmp/multipartBody6608869578737509325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548323246,"filename":"image_01112025_00_11_44_2591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397143492","file1":"1397143491","file0":"1397143489","file4":"1397143494","file5":"1397143495","file3":"1397143493"},"map_files_photo_id_array":[{"photo_id":"1397143495","filename":"file5"},{"photo_id":"1397143492","filename":"file2"},{"photo_id":"1397143494","filename":"file4"},{"photo_id":"1397143491","filename":"file1"},{"photo_id":"1397143489","filename":"file0"},{"photo_id":"1397143493","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397143493":["hashtag1","hashtag2"]},{"1397143495":["hashtag1","hashtag2"]},{"1397143489":["hashtag1","hashtag2"]},{"1397143492":["hashtag1","hashtag2"]},{"1397143491":["hashtag1","hashtag2"]},{"1397143494":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397143493, 1397143495, 1397143489, 1397143492, 1397143491, 1397143494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.250651121139526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 01:18:22.580651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/17/image_01122025_01_17_14_10669.jpg', '/home/pi/Desktop/images/01122025/01/18/image_01122025_01_18_34_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/17/image_01122025_01_17_14_10669.jpg
/home/pi/Desktop/images/01122025/01/18/image_01122025_01_18_34_10654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397143500","1397143498"],"photo_ids_order":["1397143498","1397143500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c3708aa6791a0517c1ed20f89411f549.jpg","text":"TemporaryFile(/tmp/multipartBody2486930613511342574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548363138,"filename":"image_01122025_01_18_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/1/b355c3a6fe47b1bfe0615549024fcd33.jpg","text":"TemporaryFile(/tmp/multipartBody8379280356595280474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548363138,"filename":"image_01122025_01_17_14_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397143500","file0":"1397143498"},"map_files_photo_id_array":[{"photo_id":"1397143500","filename":"file1"},{"photo_id":"1397143498","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397143500":["hashtag1","hashtag2"]},{"1397143498":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397143500, 1397143498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.924689054489136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 01:18:42.587800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_50_2792.jpg', '/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_53_3565.jpg', '/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_56_2664.jpg', '/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_59_2732.jpg', '/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_03_3832.jpg', '/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_05_2740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_50_2792.jpg
/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_53_3565.jpg
/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_56_2664.jpg
/home/pi/Desktop/images/01112025/00/11/image_01112025_00_11_59_2732.jpg
/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_03_3832.jpg
/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_05_2740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397143506","1397143503","1397143502","1397143505","1397143501","1397143504"],"photo_ids_order":["1397143501","1397143502","1397143503","1397143504","1397143505","1397143506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f23ddeed6f193dc5869ac51c29ec3862.jpg","text":"TemporaryFile(/tmp/multipartBody1675273750346839736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548383448,"filename":"image_01112025_00_12_05_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/1/abc34f5e6524df90bc51bb7e0670a1ec.jpg","text":"TemporaryFile(/tmp/multipartBody4306155667417203209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548383448,"filename":"image_01112025_00_11_56_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/1/c9a43fa007102a4be0454e0cf5a49926.jpg","text":"TemporaryFile(/tmp/multipartBody5091160167073519204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548383448,"filename":"image_01112025_00_11_53_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/318ec60dda42e48cc07e503955d187f0.jpg","text":"TemporaryFile(/tmp/multipartBody664708136904593138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548383448,"filename":"image_01112025_00_12_03_3832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/18cfd3524a873090e87f7d1bbac87d76.jpg","text":"TemporaryFile(/tmp/multipartBody2758751944162436798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548383448,"filename":"image_01112025_00_11_50_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/1/bd33b81f7f6c06307543989fd15f84ff.jpg","text":"TemporaryFile(/tmp/multipartBody8782868550596455921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548383448,"filename":"image_01112025_00_11_59_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397143503","file1":"1397143502","file0":"1397143501","file4":"1397143505","file5":"1397143506","file3":"1397143504"},"map_files_photo_id_array":[{"photo_id":"1397143506","filename":"file5"},{"photo_id":"1397143503","filename":"file2"},{"photo_id":"1397143505","filename":"file4"},{"photo_id":"1397143502","filename":"file1"},{"photo_id":"1397143501","filename":"file0"},{"photo_id":"1397143504","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397143506":["hashtag1","hashtag2"]},{"1397143503":["hashtag1","hashtag2"]},{"1397143502":["hashtag1","hashtag2"]},{"1397143505":["hashtag1","hashtag2"]},{"1397143501":["hashtag1","hashtag2"]},{"1397143504":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397143506, 1397143503, 1397143502, 1397143505, 1397143501, 1397143504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35003399848938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 01:19:22.764598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/18/image_01122025_01_18_44_9666.jpg', '/home/pi/Desktop/images/01122025/01/18/image_01122025_01_19_04_9939.jpg', '/home/pi/Desktop/images/01122025/01/19/image_01122025_01_19_13_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/18/image_01122025_01_18_44_9666.jpg
/home/pi/Desktop/images/01122025/01/18/image_01122025_01_19_04_9939.jpg
/home/pi/Desktop/images/01122025/01/19/image_01122025_01_19_13_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":["1397143509","1397143511","1397143513"],"photo_ids_order":["1397143509","1397143511","1397143513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f3ac356f843e78e1a44f41a5a47d5e36.jpg","text":"TemporaryFile(/tmp/multipartBody2844009312485385101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548423375,"filename":"image_01122025_01_18_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/1/6ed563afd882dafc4d48fa54580d00f2.jpg","text":"TemporaryFile(/tmp/multipartBody5634851917459341345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548423375,"filename":"image_01122025_01_19_04_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/1/e21c3b08b3ea4464fcd957bc26e56e7a.jpg","text":"TemporaryFile(/tmp/multipartBody5451699421129926239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548423375,"filename":"image_01122025_01_19_13_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397143513","file1":"1397143511","file0":"1397143509"},"map_files_photo_id_array":[{"photo_id":"1397143513","filename":"file2"},{"photo_id":"1397143511","filename":"file1"},{"photo_id":"1397143509","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397143509":["hashtag1","hashtag2"]},{"1397143511":["hashtag1","hashtag2"]},{"1397143513":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397143509, 1397143511, 1397143513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.3685564994812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:20:02.476637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 01:20:15.265488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_43_2593.jpg', '/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_46_2654.jpg', '/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_49_3636.jpg', '/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_52_2675.jpg', '/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_01_2710.jpg', '/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_04_3547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_43_2593.jpg
/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_46_2654.jpg
/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_49_3636.jpg
/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_52_2675.jpg
/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_01_2710.jpg
/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_04_3547.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.9732000827789307 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 01:20:22.078748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_43_2593.jpg', '/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_46_2654.jpg', '/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_49_3636.jpg', '/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_52_2675.jpg', '/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_01_2710.jpg', '/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_04_3547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_43_2593.jpg
/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_46_2654.jpg
/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_49_3636.jpg
/home/pi/Desktop/images/25112025/21/11/image_25112025_21_11_52_2675.jpg
/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_01_2710.jpg
/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_04_3547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397143848","1397143811","1397143736","1397143916","1397143774","1397143882"],"photo_ids_order":["1397143736","1397143774","1397143811","1397143848","1397143882","1397143916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d2e65767f78b9fe9a2690fc8ff36024f.jpg","text":"TemporaryFile(/tmp/multipartBody5711597473582531902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548483603,"filename":"image_25112025_21_11_52_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/1/b6aa7d2d0f09d992ccbf88f5bd8c15b1.jpg","text":"TemporaryFile(/tmp/multipartBody6428116018003240317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548483603,"filename":"image_25112025_21_11_49_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/1/64cd2c9d01d397c72bf4ead4106bcef1.jpg","text":"TemporaryFile(/tmp/multipartBody7011940041902529388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548483603,"filename":"image_25112025_21_11_43_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/1/b239d42cb9620589e6b5320bf91047b7.jpg","text":"TemporaryFile(/tmp/multipartBody4982712921242176602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548483603,"filename":"image_25112025_21_12_04_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/1/52af68e4de388576501581f38636935e.jpg","text":"TemporaryFile(/tmp/multipartBody6997718150261519797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548483603,"filename":"image_25112025_21_11_46_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/1/1d9dd00d2636bd495c681fd3f8b69f9e.jpg","text":"TemporaryFile(/tmp/multipartBody852011328502825214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548483603,"filename":"image_25112025_21_12_01_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397143811","file1":"1397143774","file0":"1397143736","file4":"1397143882","file5":"1397143916","file3":"1397143848"},"map_files_photo_id_array":[{"photo_id":"1397143916","filename":"file5"},{"photo_id":"1397143811","filename":"file2"},{"photo_id":"1397143882","filename":"file4"},{"photo_id":"1397143774","filename":"file1"},{"photo_id":"1397143736","filename":"file0"},{"photo_id":"1397143848","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397143848":["hashtag1","hashtag2"]},{"1397143811":["hashtag1","hashtag2"]},{"1397143736":["hashtag1","hashtag2"]},{"1397143916":["hashtag1","hashtag2"]},{"1397143774":["hashtag1","hashtag2"]},{"1397143882":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397143848, 1397143811, 1397143736, 1397143916, 1397143774, 1397143882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54860854148865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:21:02.913988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_07_2576.jpg', '/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_10_2628.jpg', '/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_13_3555.jpg', '/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_19_2588.jpg', '/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_22_3659.jpg', '/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_25_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_07_2576.jpg
/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_10_2628.jpg
/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_13_3555.jpg
/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_19_2588.jpg
/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_22_3659.jpg
/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_25_2638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397144106","1397144214","1397144065","1397144140","1397144178","1397144250"],"photo_ids_order":["1397144065","1397144106","1397144140","1397144178","1397144214","1397144250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6e1476a2ccfc806b2972e2e1bfef6b7b.jpg","text":"TemporaryFile(/tmp/multipartBody5226428133240333417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548524151,"filename":"image_25112025_21_12_10_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/59f92aed5285f05175dc6d990a90c8df.jpg","text":"TemporaryFile(/tmp/multipartBody4667894251947600907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548524151,"filename":"image_25112025_21_12_22_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a1bd807b7a7d832daaf0922a5bb6a5f9.jpg","text":"TemporaryFile(/tmp/multipartBody4734786020583236854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548524151,"filename":"image_25112025_21_12_07_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/1/05b073c97a891d57465ba7e1d5cf133e.jpg","text":"TemporaryFile(/tmp/multipartBody6303938738784292117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548524151,"filename":"image_25112025_21_12_13_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/1/29f08a458a1d19a2d5f25b03f0cb1cbe.jpg","text":"TemporaryFile(/tmp/multipartBody3472538796042900492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548524151,"filename":"image_25112025_21_12_19_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/1/5a71bfea8fa795762c7ed02844f1cc7e.jpg","text":"TemporaryFile(/tmp/multipartBody3917023967969563024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548524151,"filename":"image_25112025_21_12_25_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397144140","file1":"1397144106","file0":"1397144065","file4":"1397144214","file5":"1397144250","file3":"1397144178"},"map_files_photo_id_array":[{"photo_id":"1397144250","filename":"file5"},{"photo_id":"1397144140","filename":"file2"},{"photo_id":"1397144214","filename":"file4"},{"photo_id":"1397144106","filename":"file1"},{"photo_id":"1397144065","filename":"file0"},{"photo_id":"1397144178","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397144106":["hashtag1","hashtag2"]},{"1397144214":["hashtag1","hashtag2"]},{"1397144065":["hashtag1","hashtag2"]},{"1397144140":["hashtag1","hashtag2"]},{"1397144178":["hashtag1","hashtag2"]},{"1397144250":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397144106, 1397144214, 1397144065, 1397144140, 1397144178, 1397144250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07407593727112 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 01:21:42.260953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_08_2638.jpg', '/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_11_2711.jpg', '/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_15_3801.jpg', '/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_17_2713.jpg', '/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_20_2599.jpg', '/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_24_3700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_08_2638.jpg
/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_11_2711.jpg
/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_15_3801.jpg
/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_17_2713.jpg
/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_20_2599.jpg
/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_24_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":["1397144414","1397144485","1397144449","1397144557","1397144521","1397144376"],"photo_ids_order":["1397144376","1397144414","1397144449","1397144485","1397144521","1397144557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9016abb6c851d2aa7ad78284880930f7.jpg","text":"TemporaryFile(/tmp/multipartBody8425926731834513119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548563125,"filename":"image_01112025_00_12_11_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/1/63f13b84a6e913679bc18cdcc08ade46.jpg","text":"TemporaryFile(/tmp/multipartBody6908192855905885676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548563125,"filename":"image_01112025_00_12_17_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/1/6e32b49bddb0c182be3bf58d3202d7d2.jpg","text":"TemporaryFile(/tmp/multipartBody1219396824347507341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548563125,"filename":"image_01112025_00_12_15_3801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8c8380a26bce203f7684a71ab5f62ca2.jpg","text":"TemporaryFile(/tmp/multipartBody1513692015343961211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548563125,"filename":"image_01112025_00_12_24_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/1/6cdc0ac5d3e6de53b0eb9ce0b5fe7f1f.jpg","text":"TemporaryFile(/tmp/multipartBody7295174303948626689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548563125,"filename":"image_01112025_00_12_20_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/1/b0c19eba11d5747b48e8ef4e6908c7d4.jpg","text":"TemporaryFile(/tmp/multipartBody5611838631245098410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548563125,"filename":"image_01112025_00_12_08_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397144449","file1":"1397144414","file0":"1397144376","file4":"1397144521","file5":"1397144557","file3":"1397144485"},"map_files_photo_id_array":[{"photo_id":"1397144557","filename":"file5"},{"photo_id":"1397144449","filename":"file2"},{"photo_id":"1397144521","filename":"file4"},{"photo_id":"1397144414","filename":"file1"},{"photo_id":"1397144376","filename":"file0"},{"photo_id":"1397144485","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397144414":["hashtag1","hashtag2"]},{"1397144485":["hashtag1","hashtag2"]},{"1397144449":["hashtag1","hashtag2"]},{"1397144557":["hashtag1","hashtag2"]},{"1397144521":["hashtag1","hashtag2"]},{"1397144376":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397144414, 1397144485, 1397144449, 1397144557, 1397144521, 1397144376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18046307563782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 01:22:22.500097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/19/image_01122025_01_19_54_9841.jpg', '/home/pi/Desktop/images/01122025/01/20/image_01122025_01_20_14_9756.jpg', '/home/pi/Desktop/images/01122025/01/20/image_01122025_01_20_34_9653.jpg', '/home/pi/Desktop/images/01122025/01/20/image_01122025_01_21_04_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/19/image_01122025_01_19_54_9841.jpg
/home/pi/Desktop/images/01122025/01/20/image_01122025_01_20_14_9756.jpg
/home/pi/Desktop/images/01122025/01/20/image_01122025_01_20_34_9653.jpg
/home/pi/Desktop/images/01122025/01/20/image_01122025_01_21_04_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":["1397144564","1397144566","1397144560","1397144562"],"photo_ids_order":["1397144560","1397144562","1397144564","1397144566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8673a0e8a50ab2bf0566a7c75647d04d.jpg","text":"TemporaryFile(/tmp/multipartBody9140149246503115572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548603169,"filename":"image_01122025_01_20_34_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3a06dc3aa8678dbc4455d1f517d87af7.jpg","text":"TemporaryFile(/tmp/multipartBody6489917763207688358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548603169,"filename":"image_01122025_01_21_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/1/3de088391df1c64cd07977eb5c00d6a8.jpg","text":"TemporaryFile(/tmp/multipartBody2817221128664584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548603169,"filename":"image_01122025_01_19_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/1/a2395fcc8f9e703bd72cf12ef2d9a92a.jpg","text":"TemporaryFile(/tmp/multipartBody3718696610620104234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548603169,"filename":"image_01122025_01_20_14_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397144564","file1":"1397144562","file0":"1397144560","file3":"1397144566"},"map_files_photo_id_array":[{"photo_id":"1397144564","filename":"file2"},{"photo_id":"1397144562","filename":"file1"},{"photo_id":"1397144560","filename":"file0"},{"photo_id":"1397144566","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397144564":["hashtag1","hashtag2"]},{"1397144566":["hashtag1","hashtag2"]},{"1397144560":["hashtag1","hashtag2"]},{"1397144562":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397144564, 1397144566, 1397144560, 1397144562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.736583471298218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:23:03.355885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_28_2773.jpg', '/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_31_3671.jpg', '/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_34_2602.jpg', '/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_40_3653.jpg', '/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_43_2544.jpg', '/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_46_3554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_28_2773.jpg
/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_31_3671.jpg
/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_34_2602.jpg
/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_40_3653.jpg
/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_43_2544.jpg
/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_46_3554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397144616","1397144576","1397144570","1397144567","1397144569","1397144568"],"photo_ids_order":["1397144567","1397144568","1397144569","1397144570","1397144576","1397144616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8e371bad4c30aa4d0e98bd9878257dbb.jpg","text":"TemporaryFile(/tmp/multipartBody1851632165224720726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548644622,"filename":"image_25112025_21_12_46_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/1/dfd8c45e77063adfe2d88130bc1bbe82.jpg","text":"TemporaryFile(/tmp/multipartBody449990484464043995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548644622,"filename":"image_25112025_21_12_43_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/1/bda2617dad8835c03bdeea01fd4a7a2e.jpg","text":"TemporaryFile(/tmp/multipartBody5431333591427777606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548644622,"filename":"image_25112025_21_12_40_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/1/1ac9fe4ab943ce07ed78b4b868fe76c7.jpg","text":"TemporaryFile(/tmp/multipartBody3470777964682325672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548644622,"filename":"image_25112025_21_12_28_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/185735a265f07af00d2f29f030f9ddd7.jpg","text":"TemporaryFile(/tmp/multipartBody2665353398138971257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548644622,"filename":"image_25112025_21_12_34_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/1/ff655cd2be1ade6f470e08478e29fbdf.jpg","text":"TemporaryFile(/tmp/multipartBody6657247547131484558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548644622,"filename":"image_25112025_21_12_31_3671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397144569","file1":"1397144568","file0":"1397144567","file4":"1397144576","file5":"1397144616","file3":"1397144570"},"map_files_photo_id_array":[{"photo_id":"1397144616","filename":"file5"},{"photo_id":"1397144569","filename":"file2"},{"photo_id":"1397144576","filename":"file4"},{"photo_id":"1397144568","filename":"file1"},{"photo_id":"1397144567","filename":"file0"},{"photo_id":"1397144570","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397144616":["hashtag1","hashtag2"]},{"1397144576":["hashtag1","hashtag2"]},{"1397144570":["hashtag1","hashtag2"]},{"1397144567":["hashtag1","hashtag2"]},{"1397144569":["hashtag1","hashtag2"]},{"1397144568":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397144616, 1397144576, 1397144570, 1397144567, 1397144569, 1397144568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80367088317871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 01:23:42.767414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_26_2590.jpg', '/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_29_2584.jpg', '/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_32_2948.jpg', '/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_35_2992.jpg', '/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_38_3687.jpg', '/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_41_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_26_2590.jpg
/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_29_2584.jpg
/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_32_2948.jpg
/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_35_2992.jpg
/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_38_3687.jpg
/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_41_2633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397144789","1397144825","1397144893","1397144860","1397144755","1397144929"],"photo_ids_order":["1397144755","1397144789","1397144825","1397144860","1397144893","1397144929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1e03c673ba8c36bc64a705e4520869a9.jpg","text":"TemporaryFile(/tmp/multipartBody7965926078590654326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548683593,"filename":"image_01112025_00_12_29_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3ae9cca340903b4efc6a76af4d149de2.jpg","text":"TemporaryFile(/tmp/multipartBody4353433650186845646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548683593,"filename":"image_01112025_00_12_32_2948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d5145e8815a19a6c51cecf8bdf1ef044.jpg","text":"TemporaryFile(/tmp/multipartBody6653921370185667963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548683593,"filename":"image_01112025_00_12_38_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/1/f9cd87e3bd86af6ff4cab855ac107431.jpg","text":"TemporaryFile(/tmp/multipartBody362213588159213775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548683593,"filename":"image_01112025_00_12_35_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/1/cfdf369aa4d484861280647cc5f346c3.jpg","text":"TemporaryFile(/tmp/multipartBody3687117022458139650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548683593,"filename":"image_01112025_00_12_26_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/1/a7a14fb894532e7604f4d2ca7d44ef33.jpg","text":"TemporaryFile(/tmp/multipartBody5853659139798639741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548683593,"filename":"image_01112025_00_12_41_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397144825","file1":"1397144789","file0":"1397144755","file4":"1397144893","file5":"1397144929","file3":"1397144860"},"map_files_photo_id_array":[{"photo_id":"1397144929","filename":"file5"},{"photo_id":"1397144825","filename":"file2"},{"photo_id":"1397144893","filename":"file4"},{"photo_id":"1397144789","filename":"file1"},{"photo_id":"1397144755","filename":"file0"},{"photo_id":"1397144860","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397144789":["hashtag1","hashtag2"]},{"1397144825":["hashtag1","hashtag2"]},{"1397144893":["hashtag1","hashtag2"]},{"1397144860":["hashtag1","hashtag2"]},{"1397144755":["hashtag1","hashtag2"]},{"1397144929":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397144789, 1397144825, 1397144893, 1397144860, 1397144755, 1397144929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9280309677124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 01:24:22.000991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/21/image_01122025_01_21_24_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/21/image_01122025_01_21_24_9698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397144949"],"photo_id":"1397144949","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ed12c3e873dd3ac26e464126b41082aa.jpg","text":"TemporaryFile(/tmp/multipartBody1905402363752760997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548722581,"filename":"image_01122025_01_21_24_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1397144949"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1397144949"}],"hashtags":[],"portfolio_id":"29033749","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.811200380325317 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 01:24:41.957806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_47_2651.jpg', '/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_50_2584.jpg', '/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_53_3665.jpg', '/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_56_2906.jpg', '/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_59_2785.jpg', '/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_02_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_47_2651.jpg
/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_50_2584.jpg
/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_53_3665.jpg
/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_56_2906.jpg
/home/pi/Desktop/images/01112025/00/12/image_01112025_00_12_59_2785.jpg
/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_02_2691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145041","1397145079","1397145100","1397145099","1397145093","1397145024"],"photo_ids_order":["1397145024","1397145041","1397145079","1397145093","1397145099","1397145100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5aca6760f89e3ec4f84acd9f61e64fa2.jpg","text":"TemporaryFile(/tmp/multipartBody8994071688974764345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548742790,"filename":"image_01112025_00_12_50_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/1/13fe3c06ec06b12a236bcb47dc3943f4.jpg","text":"TemporaryFile(/tmp/multipartBody4570841712658010311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548742790,"filename":"image_01112025_00_12_53_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/1/46cb4381ec7d072badad9a81cc70dba6.jpg","text":"TemporaryFile(/tmp/multipartBody113759320551945519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548742790,"filename":"image_01112025_00_13_02_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/1/90b67bcfd3cb95848003beda8db79518.jpg","text":"TemporaryFile(/tmp/multipartBody7076697619286519901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548742790,"filename":"image_01112025_00_12_59_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/1/09182459c9378efcb911cdb67381cfbd.jpg","text":"TemporaryFile(/tmp/multipartBody5398387860042233066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548742790,"filename":"image_01112025_00_12_56_2906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6f3cca9c8ed4aaa0cb78b4f22c77ddc0.jpg","text":"TemporaryFile(/tmp/multipartBody326840178674758211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548742790,"filename":"image_01112025_00_12_47_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145079","file1":"1397145041","file0":"1397145024","file4":"1397145099","file5":"1397145100","file3":"1397145093"},"map_files_photo_id_array":[{"photo_id":"1397145100","filename":"file5"},{"photo_id":"1397145079","filename":"file2"},{"photo_id":"1397145099","filename":"file4"},{"photo_id":"1397145041","filename":"file1"},{"photo_id":"1397145024","filename":"file0"},{"photo_id":"1397145093","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397145041":["hashtag1","hashtag2"]},{"1397145079":["hashtag1","hashtag2"]},{"1397145100":["hashtag1","hashtag2"]},{"1397145099":["hashtag1","hashtag2"]},{"1397145093":["hashtag1","hashtag2"]},{"1397145024":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397145041, 1397145079, 1397145100, 1397145099, 1397145093, 1397145024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.449246644973755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 01:25:22.108070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/24/image_01122025_01_24_34_9717.jpg', '/home/pi/Desktop/images/01122025/01/25/image_01122025_01_25_24_10704.jpg', '/home/pi/Desktop/images/01122025/01/25/image_01122025_01_25_34_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/24/image_01122025_01_24_34_9717.jpg
/home/pi/Desktop/images/01122025/01/25/image_01122025_01_25_24_10704.jpg
/home/pi/Desktop/images/01122025/01/25/image_01122025_01_25_34_9748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145106","1397145103","1397145105"],"photo_ids_order":["1397145103","1397145105","1397145106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0bf498ac614c2707e72d8cdfc2979602.jpg","text":"TemporaryFile(/tmp/multipartBody4132897844336544623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548782717,"filename":"image_01122025_01_25_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/1/5bd052465e41ef309ad964a9a7ee2ffd.jpg","text":"TemporaryFile(/tmp/multipartBody8197094887237561373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548782717,"filename":"image_01122025_01_24_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/1/7322b7c08eff5ffd98e7951d41ec8524.jpg","text":"TemporaryFile(/tmp/multipartBody3317930825104543485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548782717,"filename":"image_01122025_01_25_24_10704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145106","file1":"1397145105","file0":"1397145103"},"map_files_photo_id_array":[{"photo_id":"1397145106","filename":"file2"},{"photo_id":"1397145105","filename":"file1"},{"photo_id":"1397145103","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397145106":["hashtag1","hashtag2"]},{"1397145103":["hashtag1","hashtag2"]},{"1397145105":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397145106, 1397145103, 1397145105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.055557012557983 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:26:02.878109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_49_2812.jpg', '/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_52_2640.jpg', '/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_54_2603.jpg', '/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_58_3597.jpg', '/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_01_2681.jpg', '/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_04_3575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_49_2812.jpg
/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_52_2640.jpg
/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_54_2603.jpg
/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_58_3597.jpg
/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_01_2681.jpg
/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_04_3575.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.9854135513305664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 01:26:12.396245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_49_2812.jpg', '/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_52_2640.jpg', '/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_54_2603.jpg', '/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_58_3597.jpg', '/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_01_2681.jpg', '/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_04_3575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_49_2812.jpg
/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_52_2640.jpg
/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_54_2603.jpg
/home/pi/Desktop/images/25112025/21/12/image_25112025_21_12_58_3597.jpg
/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_01_2681.jpg
/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_04_3575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145119","1397145121","1397145109","1397145117","1397145111","1397145114"],"photo_ids_order":["1397145109","1397145111","1397145114","1397145117","1397145119","1397145121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b0e615e159299c118ec7ebc92e9032ee.jpg","text":"TemporaryFile(/tmp/multipartBody8539711534529625817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548833945,"filename":"image_25112025_21_13_01_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/1/aa2e273a2c9d6f5a2aa52c2ede1b94f5.jpg","text":"TemporaryFile(/tmp/multipartBody133884112037491707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548833945,"filename":"image_25112025_21_13_04_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ae065015bb43d63ff836b0a4836cb4aa.jpg","text":"TemporaryFile(/tmp/multipartBody6620387929453289038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548833945,"filename":"image_25112025_21_12_49_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/1/3aef6ab7b8ff0446f59a9abfab5e3195.jpg","text":"TemporaryFile(/tmp/multipartBody4403244021282000043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548833945,"filename":"image_25112025_21_12_58_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/1/52ad153c8b8e1ec9db03200c4319f43c.jpg","text":"TemporaryFile(/tmp/multipartBody19690151623088584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548833945,"filename":"image_25112025_21_12_52_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4d21e8d3364fd1c9cea137f44ce2dcf1.jpg","text":"TemporaryFile(/tmp/multipartBody6653200245228804661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548833945,"filename":"image_25112025_21_12_54_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145114","file1":"1397145111","file0":"1397145109","file4":"1397145119","file5":"1397145121","file3":"1397145117"},"map_files_photo_id_array":[{"photo_id":"1397145121","filename":"file5"},{"photo_id":"1397145114","filename":"file2"},{"photo_id":"1397145119","filename":"file4"},{"photo_id":"1397145111","filename":"file1"},{"photo_id":"1397145109","filename":"file0"},{"photo_id":"1397145117","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397145119":["hashtag1","hashtag2"]},{"1397145121":["hashtag1","hashtag2"]},{"1397145109":["hashtag1","hashtag2"]},{"1397145117":["hashtag1","hashtag2"]},{"1397145111":["hashtag1","hashtag2"]},{"1397145114":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397145119, 1397145121, 1397145109, 1397145117, 1397145111, 1397145114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.76764369010925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:27:02.525216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/25/image_01122025_01_25_44_9633.jpg', '/home/pi/Desktop/images/01122025/01/26/image_01122025_01_26_34_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/25/image_01122025_01_25_44_9633.jpg
/home/pi/Desktop/images/01122025/01/26/image_01122025_01_26_34_10674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145122","1397145123"],"photo_ids_order":["1397145122","1397145123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7b0759365f6bb496b6ae138db3a5413d.jpg","text":"TemporaryFile(/tmp/multipartBody7904172617824346711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548883167,"filename":"image_01122025_01_25_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/1/105521e9442999907c037210cdd5dc87.jpg","text":"TemporaryFile(/tmp/multipartBody5979972974117376230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548883167,"filename":"image_01122025_01_26_34_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397145123","file0":"1397145122"},"map_files_photo_id_array":[{"photo_id":"1397145123","filename":"file1"},{"photo_id":"1397145122","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397145122":["hashtag1","hashtag2"]},{"1397145123":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397145122, 1397145123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.76788353919983 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 01:27:22.004172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_07_2518.jpg', '/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_10_2682.jpg', '/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_13_3745.jpg', '/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_17_3293.jpg', '/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_19_2720.jpg', '/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_22_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_07_2518.jpg
/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_10_2682.jpg
/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_13_3745.jpg
/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_17_3293.jpg
/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_19_2720.jpg
/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_22_2690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145134","1397145128","1397145130","1397145133","1397145132","1397145126"],"photo_ids_order":["1397145126","1397145128","1397145130","1397145132","1397145133","1397145134"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8577d4ef860bc3ccdbdfc10b4c123a5b.jpg","text":"TemporaryFile(/tmp/multipartBody7661952877648946212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548903731,"filename":"image_25112025_21_13_22_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/1/9047da4de83b95ecc7dbff13dfaaddcc.jpg","text":"TemporaryFile(/tmp/multipartBody4517124378488663490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548903731,"filename":"image_25112025_21_13_10_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/968194b0850b258a1a728d8940e271dd.jpg","text":"TemporaryFile(/tmp/multipartBody4656361555605164646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548903731,"filename":"image_25112025_21_13_13_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/1/5d9c1649a8dc3fa43958457a8112db5b.jpg","text":"TemporaryFile(/tmp/multipartBody4635834112089892679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548903731,"filename":"image_25112025_21_13_19_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/1/6f59150ccf04bc2d34a263bd5d98afaa.jpg","text":"TemporaryFile(/tmp/multipartBody8274476176368728676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548903731,"filename":"image_25112025_21_13_17_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/1/8375fcad085d8204881822d9dc8d3691.jpg","text":"TemporaryFile(/tmp/multipartBody7113263291602367272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548903731,"filename":"image_25112025_21_13_07_2518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145130","file1":"1397145128","file0":"1397145126","file4":"1397145133","file5":"1397145134","file3":"1397145132"},"map_files_photo_id_array":[{"photo_id":"1397145134","filename":"file5"},{"photo_id":"1397145130","filename":"file2"},{"photo_id":"1397145133","filename":"file4"},{"photo_id":"1397145128","filename":"file1"},{"photo_id":"1397145126","filename":"file0"},{"photo_id":"1397145132","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397145134":["hashtag1","hashtag2"]},{"1397145128":["hashtag1","hashtag2"]},{"1397145130":["hashtag1","hashtag2"]},{"1397145133":["hashtag1","hashtag2"]},{"1397145132":["hashtag1","hashtag2"]},{"1397145126":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397145134, 1397145128, 1397145130, 1397145133, 1397145132, 1397145126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.483508825302124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:28:02.644389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_25_2635.jpg', '/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_28_3648.jpg', '/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_37_3698.jpg', '/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_40_2562.jpg', '/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_45_5380.jpg', '/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_57_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_25_2635.jpg
/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_28_3648.jpg
/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_37_3698.jpg
/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_40_2562.jpg
/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_45_5380.jpg
/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_57_9783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145140","1397145137","1397145142","1397145136","1397145135","1397145138"],"photo_ids_order":["1397145135","1397145136","1397145137","1397145138","1397145140","1397145142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/40ac171b7763ea8866968796c51f8076.jpg","text":"TemporaryFile(/tmp/multipartBody8720210388173749262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548943800,"filename":"image_25112025_21_13_45_5380.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fe54545eb9526c909898ca76a9517fb0.jpg","text":"TemporaryFile(/tmp/multipartBody7195967407888262125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548943800,"filename":"image_25112025_21_13_37_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ca37fb9424f682b2791ed9d5643d1dd4.jpg","text":"TemporaryFile(/tmp/multipartBody1656675594334437921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548943800,"filename":"image_25112025_21_13_57_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/1/8f99f1ed4a6ccbdba5990ab20a5a763d.jpg","text":"TemporaryFile(/tmp/multipartBody8655747746335450814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548943800,"filename":"image_25112025_21_13_28_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/1/b0e5fc3973b55e20b9e5872625b1dd44.jpg","text":"TemporaryFile(/tmp/multipartBody8638252412982992792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548943800,"filename":"image_25112025_21_13_25_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/1/d9351e19f64b5d3cfb601e86ad292550.jpg","text":"TemporaryFile(/tmp/multipartBody2625352807354262009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764548943800,"filename":"image_25112025_21_13_40_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145137","file1":"1397145136","file0":"1397145135","file4":"1397145140","file5":"1397145142","file3":"1397145138"},"map_files_photo_id_array":[{"photo_id":"1397145142","filename":"file5"},{"photo_id":"1397145137","filename":"file2"},{"photo_id":"1397145140","filename":"file4"},{"photo_id":"1397145136","filename":"file1"},{"photo_id":"1397145135","filename":"file0"},{"photo_id":"1397145138","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397145140":["hashtag1","hashtag2"]},{"1397145137":["hashtag1","hashtag2"]},{"1397145142":["hashtag1","hashtag2"]},{"1397145136":["hashtag1","hashtag2"]},{"1397145135":["hashtag1","hashtag2"]},{"1397145138":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397145140, 1397145137, 1397145142, 1397145136, 1397145135, 1397145138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.504910469055176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 01:28:42.185399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_05_3136.jpg', '/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_09_3643.jpg', '/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_11_2633.jpg', '/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_14_2653.jpg', '/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_17_2839.jpg', '/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_20_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_05_3136.jpg
/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_09_3643.jpg
/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_11_2633.jpg
/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_14_2653.jpg
/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_17_2839.jpg
/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_20_3649.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7280688285827637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:29:03.243413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/26/image_01122025_01_26_54_9714.jpg', '/home/pi/Desktop/images/01122025/01/28/image_01122025_01_28_23_9812.jpg', '/home/pi/Desktop/images/01122025/01/28/image_01122025_01_28_34_10864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/26/image_01122025_01_26_54_9714.jpg
/home/pi/Desktop/images/01122025/01/28/image_01122025_01_28_23_9812.jpg
/home/pi/Desktop/images/01122025/01/28/image_01122025_01_28_34_10864.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145151","1397145154","1397145153"],"photo_ids_order":["1397145151","1397145153","1397145154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dd1cc3579d20fd2bf2f0f7eddf319963.jpg","text":"TemporaryFile(/tmp/multipartBody7209885467892249905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549004002,"filename":"image_01122025_01_26_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/1/82b1497212fd04f564607b8f1b8f8e1c.jpg","text":"TemporaryFile(/tmp/multipartBody4247896690145048870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549004002,"filename":"image_01122025_01_28_34_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/1/aeab5dfc36a07ff1a46599370d76d4eb.jpg","text":"TemporaryFile(/tmp/multipartBody5287580781951089584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549004002,"filename":"image_01122025_01_28_23_9812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145154","file1":"1397145153","file0":"1397145151"},"map_files_photo_id_array":[{"photo_id":"1397145154","filename":"file2"},{"photo_id":"1397145153","filename":"file1"},{"photo_id":"1397145151","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397145151":["hashtag1","hashtag2"]},{"1397145154":["hashtag1","hashtag2"]},{"1397145153":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397145151, 1397145154, 1397145153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.251218795776367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 01:29:32.474050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_58_1520.jpg', '/home/pi/Desktop/images/25112025/21/13/image_25112025_21_14_00_1624.jpg', '/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_01_1609.jpg', '/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_03_1565.jpg', '/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_05_1744.jpg', '/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_07_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/13/image_25112025_21_13_58_1520.jpg
/home/pi/Desktop/images/25112025/21/13/image_25112025_21_14_00_1624.jpg
/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_01_1609.jpg
/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_03_1565.jpg
/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_05_1744.jpg
/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_07_2588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145164","1397145160","1397145163","1397145166","1397145165","1397145162"],"photo_ids_order":["1397145160","1397145162","1397145163","1397145164","1397145165","1397145166"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5911a9d88e9949671d1e6c01d005228d.jpg","text":"TemporaryFile(/tmp/multipartBody8978012864927078173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549037270,"filename":"image_25112025_21_14_03_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/1/050cd2cfcfe2f2a213fffc76546700c5.jpg","text":"TemporaryFile(/tmp/multipartBody4783662701453376831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549037270,"filename":"image_25112025_21_13_58_1520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/12ee7c4ecaee345d7810a4c3d5169789.jpg","text":"TemporaryFile(/tmp/multipartBody1284853980121468040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549037270,"filename":"image_25112025_21_14_01_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/1/3e0b53f3fa3bc56c6a5dd5d089721da4.jpg","text":"TemporaryFile(/tmp/multipartBody2912325181331954442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549037270,"filename":"image_25112025_21_14_07_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/1/ef3ef2406579102021b7776df6173728.jpg","text":"TemporaryFile(/tmp/multipartBody3713349616245540551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549037270,"filename":"image_25112025_21_14_05_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/1/30221a153f5deeaf2b01e5635f7ce3ff.jpg","text":"TemporaryFile(/tmp/multipartBody6355300530950455843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549037270,"filename":"image_25112025_21_14_00_1624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145163","file1":"1397145162","file0":"1397145160","file4":"1397145165","file5":"1397145166","file3":"1397145164"},"map_files_photo_id_array":[{"photo_id":"1397145166","filename":"file5"},{"photo_id":"1397145163","filename":"file2"},{"photo_id":"1397145165","filename":"file4"},{"photo_id":"1397145162","filename":"file1"},{"photo_id":"1397145160","filename":"file0"},{"photo_id":"1397145164","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397145164":["hashtag1","hashtag2"]},{"1397145160":["hashtag1","hashtag2"]},{"1397145163":["hashtag1","hashtag2"]},{"1397145166":["hashtag1","hashtag2"]},{"1397145165":["hashtag1","hashtag2"]},{"1397145162":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397145164, 1397145160, 1397145163, 1397145166, 1397145165, 1397145162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83426332473755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 01:30:12.500573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_10_2660.jpg', '/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_12_2486.jpg', '/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_16_3648.jpg', '/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_19_2586.jpg', '/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_22_3659.jpg', '/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_25_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_10_2660.jpg
/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_12_2486.jpg
/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_16_3648.jpg
/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_19_2586.jpg
/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_22_3659.jpg
/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_25_2604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145173","1397145167","1397145175","1397145169","1397145171","1397145177"],"photo_ids_order":["1397145167","1397145169","1397145171","1397145173","1397145175","1397145177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5a33f15bb9f276ea3e8ee32a10a43d54.jpg","text":"TemporaryFile(/tmp/multipartBody6713695690651330110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549075495,"filename":"image_25112025_21_14_19_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/1/f9acb33ccd675aa828277d22fc2d909c.jpg","text":"TemporaryFile(/tmp/multipartBody3267291084799935019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549075495,"filename":"image_25112025_21_14_10_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b3c05c80e12a1cb0db75dee39311c7f6.jpg","text":"TemporaryFile(/tmp/multipartBody7879053516026586797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549075495,"filename":"image_25112025_21_14_22_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9be7bb1106367ebb5947961fe9a5c352.jpg","text":"TemporaryFile(/tmp/multipartBody1440822984553776313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549075495,"filename":"image_25112025_21_14_12_2486.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8de0a4a6cc79c3e2890fc352d8150501.jpg","text":"TemporaryFile(/tmp/multipartBody4293095924456580014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549075495,"filename":"image_25112025_21_14_16_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/1/3d8068dd8dbd461dc6f9d30909676f80.jpg","text":"TemporaryFile(/tmp/multipartBody1463442947513547910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549075495,"filename":"image_25112025_21_14_25_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145171","file1":"1397145169","file0":"1397145167","file4":"1397145175","file5":"1397145177","file3":"1397145173"},"map_files_photo_id_array":[{"photo_id":"1397145177","filename":"file5"},{"photo_id":"1397145171","filename":"file2"},{"photo_id":"1397145175","filename":"file4"},{"photo_id":"1397145169","filename":"file1"},{"photo_id":"1397145167","filename":"file0"},{"photo_id":"1397145173","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397145173":["hashtag1","hashtag2"]},{"1397145167":["hashtag1","hashtag2"]},{"1397145175":["hashtag1","hashtag2"]},{"1397145169":["hashtag1","hashtag2"]},{"1397145171":["hashtag1","hashtag2"]},{"1397145177":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397145173, 1397145167, 1397145175, 1397145169, 1397145171, 1397145177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72982692718506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:31:02.967058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/28/image_01122025_01_28_54_9813.jpg', '/home/pi/Desktop/images/01122025/01/29/image_01122025_01_29_24_10734.jpg', '/home/pi/Desktop/images/01122025/01/29/image_01122025_01_29_34_9603.jpg', '/home/pi/Desktop/images/01122025/01/30/image_01122025_01_30_04_9442.jpg', '/home/pi/Desktop/images/01122025/01/30/image_01122025_01_30_24_10565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/28/image_01122025_01_28_54_9813.jpg
/home/pi/Desktop/images/01122025/01/29/image_01122025_01_29_24_10734.jpg
/home/pi/Desktop/images/01122025/01/29/image_01122025_01_29_34_9603.jpg
/home/pi/Desktop/images/01122025/01/30/image_01122025_01_30_04_9442.jpg
/home/pi/Desktop/images/01122025/01/30/image_01122025_01_30_24_10565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145179","1397145181","1397145184","1397145180","1397145182"],"photo_ids_order":["1397145179","1397145180","1397145181","1397145182","1397145184"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c299f67c2a569b2ff611158e5d6ca7c9.jpg","text":"TemporaryFile(/tmp/multipartBody2838651055770786657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549123765,"filename":"image_01122025_01_28_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/1/52d7aa568b611c2a7fc692908a1b0cce.jpg","text":"TemporaryFile(/tmp/multipartBody6069055032468123260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549123765,"filename":"image_01122025_01_29_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/1/9b5d7a273617f86a7da95f956656b7e1.jpg","text":"TemporaryFile(/tmp/multipartBody7700475985599601289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549123765,"filename":"image_01122025_01_30_24_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/20e1d979ed90b27769ed105fbe0e06d5.jpg","text":"TemporaryFile(/tmp/multipartBody4468489806653521787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549123765,"filename":"image_01122025_01_29_24_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/1/fd2d1ea59521b2ecb266588486f07311.jpg","text":"TemporaryFile(/tmp/multipartBody3523641689061445653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549123765,"filename":"image_01122025_01_30_04_9442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145181","file1":"1397145180","file0":"1397145179","file4":"1397145184","file3":"1397145182"},"map_files_photo_id_array":[{"photo_id":"1397145181","filename":"file2"},{"photo_id":"1397145184","filename":"file4"},{"photo_id":"1397145180","filename":"file1"},{"photo_id":"1397145179","filename":"file0"},{"photo_id":"1397145182","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397145179":["hashtag1","hashtag2"]},{"1397145181":["hashtag1","hashtag2"]},{"1397145184":["hashtag1","hashtag2"]},{"1397145180":["hashtag1","hashtag2"]},{"1397145182":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397145179, 1397145181, 1397145184, 1397145180, 1397145182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.284992933273315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 01:31:42.301303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_05_3136.jpg', '/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_09_3643.jpg', '/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_11_2633.jpg', '/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_14_2653.jpg', '/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_17_2839.jpg', '/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_20_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_05_3136.jpg
/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_09_3643.jpg
/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_11_2633.jpg
/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_14_2653.jpg
/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_17_2839.jpg
/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_20_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":["1397145191","1397145188","1397145193","1397145190","1397145192","1397145189"],"photo_ids_order":["1397145188","1397145189","1397145190","1397145191","1397145192","1397145193"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0c17f064047cf0023c475c21b93d9dc2.jpg","text":"TemporaryFile(/tmp/multipartBody274695846633472620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549163010,"filename":"image_01112025_00_13_14_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2ff182730a7842b53ced9edb9caaac56.jpg","text":"TemporaryFile(/tmp/multipartBody8038004665385044746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549163010,"filename":"image_01112025_00_13_05_3136.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d01043ca72f79717d9b2b43e77d0dd8e.jpg","text":"TemporaryFile(/tmp/multipartBody820544262529650042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549163010,"filename":"image_01112025_00_13_20_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/1/0cfa35b5b03e50b498056fcd1e7821ad.jpg","text":"TemporaryFile(/tmp/multipartBody3063605913869571301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549163010,"filename":"image_01112025_00_13_11_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0e25a3943adfa947bac78b18efb92d65.jpg","text":"TemporaryFile(/tmp/multipartBody4807940787088307774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549163010,"filename":"image_01112025_00_13_17_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/436e0340278cefd6d62b197281701107.jpg","text":"TemporaryFile(/tmp/multipartBody390699013415209143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549163010,"filename":"image_01112025_00_13_09_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145190","file1":"1397145189","file0":"1397145188","file4":"1397145192","file5":"1397145193","file3":"1397145191"},"map_files_photo_id_array":[{"photo_id":"1397145193","filename":"file5"},{"photo_id":"1397145190","filename":"file2"},{"photo_id":"1397145192","filename":"file4"},{"photo_id":"1397145189","filename":"file1"},{"photo_id":"1397145188","filename":"file0"},{"photo_id":"1397145191","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397145191":["hashtag1","hashtag2"]},{"1397145188":["hashtag1","hashtag2"]},{"1397145193":["hashtag1","hashtag2"]},{"1397145190":["hashtag1","hashtag2"]},{"1397145192":["hashtag1","hashtag2"]},{"1397145189":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397145191, 1397145188, 1397145193, 1397145190, 1397145192, 1397145189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56786799430847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 01:32:22.481653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/30/image_01122025_01_30_34_9647.jpg', '/home/pi/Desktop/images/01122025/01/31/image_01122025_01_31_24_9694.jpg', '/home/pi/Desktop/images/01122025/01/31/image_01122025_01_31_43_9740.jpg', '/home/pi/Desktop/images/01122025/01/31/image_01122025_01_32_04_9649.jpg', '/home/pi/Desktop/images/01122025/01/32/image_01122025_01_32_34_10064.jpg', '/home/pi/Desktop/images/01122025/01/32/image_01122025_01_32_44_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/30/image_01122025_01_30_34_9647.jpg
/home/pi/Desktop/images/01122025/01/31/image_01122025_01_31_24_9694.jpg
/home/pi/Desktop/images/01122025/01/31/image_01122025_01_31_43_9740.jpg
/home/pi/Desktop/images/01122025/01/31/image_01122025_01_32_04_9649.jpg
/home/pi/Desktop/images/01122025/01/32/image_01122025_01_32_34_10064.jpg
/home/pi/Desktop/images/01122025/01/32/image_01122025_01_32_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":["1397145200","1397145199","1397145196","1397145198","1397145202","1397145201"],"photo_ids_order":["1397145196","1397145198","1397145199","1397145200","1397145201","1397145202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d1c0b2ceb07ceed2fbc1911be1e79342.jpg","text":"TemporaryFile(/tmp/multipartBody2949599494894867212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549203244,"filename":"image_01122025_01_32_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/1/90eed306212e1e440324c66bf710074c.jpg","text":"TemporaryFile(/tmp/multipartBody6385348174339006585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549203244,"filename":"image_01122025_01_31_43_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/1/753e6d85c7fa9129cd4d6924b9f514a3.jpg","text":"TemporaryFile(/tmp/multipartBody2769477781750526956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549203244,"filename":"image_01122025_01_30_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/1/234cf4fe07c63a0a4b6e8189309c9027.jpg","text":"TemporaryFile(/tmp/multipartBody6727734188508857155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549203244,"filename":"image_01122025_01_31_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/1/85422be0bb7ef1e591b6b8f45284cdfb.jpg","text":"TemporaryFile(/tmp/multipartBody5383491816020429229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549203244,"filename":"image_01122025_01_32_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/1/c34e7bcbe7f9f0003d3209f92cca78cb.jpg","text":"TemporaryFile(/tmp/multipartBody2758902303105849974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549203244,"filename":"image_01122025_01_32_34_10064.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145199","file1":"1397145198","file0":"1397145196","file4":"1397145201","file5":"1397145202","file3":"1397145200"},"map_files_photo_id_array":[{"photo_id":"1397145202","filename":"file5"},{"photo_id":"1397145199","filename":"file2"},{"photo_id":"1397145201","filename":"file4"},{"photo_id":"1397145198","filename":"file1"},{"photo_id":"1397145196","filename":"file0"},{"photo_id":"1397145200","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397145200":["hashtag1","hashtag2"]},{"1397145199":["hashtag1","hashtag2"]},{"1397145196":["hashtag1","hashtag2"]},{"1397145198":["hashtag1","hashtag2"]},{"1397145202":["hashtag1","hashtag2"]},{"1397145201":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397145200, 1397145199, 1397145196, 1397145198, 1397145202, 1397145201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97369837760925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:33:03.364381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_27_2561.jpg', '/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_31_3608.jpg', '/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_34_2675.jpg', '/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_37_2804.jpg', '/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_40_3594.jpg', '/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_43_2859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_27_2561.jpg
/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_31_3608.jpg
/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_34_2675.jpg
/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_37_2804.jpg
/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_40_3594.jpg
/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_43_2859.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145209","1397145203","1397145211","1397145205","1397145204","1397145207"],"photo_ids_order":["1397145203","1397145204","1397145205","1397145207","1397145209","1397145211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/eb38ec65437a1d8e40d7b8d993359aa0.jpg","text":"TemporaryFile(/tmp/multipartBody8028083744479310842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549247071,"filename":"image_25112025_21_14_40_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/1/fbaf7fe27edce16ca84b650f1519acee.jpg","text":"TemporaryFile(/tmp/multipartBody5900850135915068937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549247071,"filename":"image_25112025_21_14_27_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7d46d3b9ac04a93fa4977af089809582.jpg","text":"TemporaryFile(/tmp/multipartBody6277233062524002816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549247071,"filename":"image_25112025_21_14_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/1/cad8488ddb440cb873d294a7d4ddebcb.jpg","text":"TemporaryFile(/tmp/multipartBody3302099943108472197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549247071,"filename":"image_25112025_21_14_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/1/ac83b8dbd4719adf1c1771bdfa673f47.jpg","text":"TemporaryFile(/tmp/multipartBody5398500933429623699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549247071,"filename":"image_25112025_21_14_31_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/1/096f6710c4be7697aa9c0183046aaa49.jpg","text":"TemporaryFile(/tmp/multipartBody4642933087563682378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549247071,"filename":"image_25112025_21_14_37_2804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145205","file1":"1397145204","file0":"1397145203","file4":"1397145209","file5":"1397145211","file3":"1397145207"},"map_files_photo_id_array":[{"photo_id":"1397145211","filename":"file5"},{"photo_id":"1397145205","filename":"file2"},{"photo_id":"1397145209","filename":"file4"},{"photo_id":"1397145204","filename":"file1"},{"photo_id":"1397145203","filename":"file0"},{"photo_id":"1397145207","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397145209":["hashtag1","hashtag2"]},{"1397145203":["hashtag1","hashtag2"]},{"1397145211":["hashtag1","hashtag2"]},{"1397145205":["hashtag1","hashtag2"]},{"1397145204":["hashtag1","hashtag2"]},{"1397145207":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397145209, 1397145203, 1397145211, 1397145205, 1397145204, 1397145207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17034316062927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 01:33:42.887535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_23_2801.jpg', '/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_26_2692.jpg', '/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_29_3552.jpg', '/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_32_2606.jpg', '/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_38_3831.jpg', '/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_44_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_23_2801.jpg
/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_26_2692.jpg
/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_29_3552.jpg
/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_32_2606.jpg
/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_38_3831.jpg
/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_44_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":["1397145212","1397145215","1397145217","1397145214","1397145216","1397145213"],"photo_ids_order":["1397145212","1397145213","1397145214","1397145215","1397145216","1397145217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e8a7cc83a0c819f137929ebd0173ec7f.jpg","text":"TemporaryFile(/tmp/multipartBody5874242139443123055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549283753,"filename":"image_01112025_00_13_23_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/1/af16afe77a03cacd6065e330697f8938.jpg","text":"TemporaryFile(/tmp/multipartBody3398135101299936185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549283753,"filename":"image_01112025_00_13_32_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9e5fb479bd18a2605fe0ed7b336ca8d9.jpg","text":"TemporaryFile(/tmp/multipartBody7272299074706700375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549283753,"filename":"image_01112025_00_13_44_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ca234d7dc80cc2eafaeb87925af0ec0a.jpg","text":"TemporaryFile(/tmp/multipartBody5831085622852471328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549283753,"filename":"image_01112025_00_13_29_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/1/6d9386c3f81622bf32bd716ebb77d928.jpg","text":"TemporaryFile(/tmp/multipartBody8257067367069477099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549283753,"filename":"image_01112025_00_13_38_3831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9e6a44db021569943c9706bc96e927ee.jpg","text":"TemporaryFile(/tmp/multipartBody3279709835294309383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549283753,"filename":"image_01112025_00_13_26_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145214","file1":"1397145213","file0":"1397145212","file4":"1397145216","file5":"1397145217","file3":"1397145215"},"map_files_photo_id_array":[{"photo_id":"1397145217","filename":"file5"},{"photo_id":"1397145214","filename":"file2"},{"photo_id":"1397145216","filename":"file4"},{"photo_id":"1397145213","filename":"file1"},{"photo_id":"1397145212","filename":"file0"},{"photo_id":"1397145215","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397145212":["hashtag1","hashtag2"]},{"1397145215":["hashtag1","hashtag2"]},{"1397145217":["hashtag1","hashtag2"]},{"1397145214":["hashtag1","hashtag2"]},{"1397145216":["hashtag1","hashtag2"]},{"1397145213":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397145212, 1397145215, 1397145217, 1397145214, 1397145216, 1397145213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.259766817092896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 01:34:22.170140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/32/image_01122025_01_32_54_9425.jpg', '/home/pi/Desktop/images/01122025/01/32/image_01122025_01_33_04_10758.jpg', '/home/pi/Desktop/images/01122025/01/33/image_01122025_01_33_14_9671.jpg', '/home/pi/Desktop/images/01122025/01/33/image_01122025_01_33_24_9764.jpg', '/home/pi/Desktop/images/01122025/01/33/image_01122025_01_33_54_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/32/image_01122025_01_32_54_9425.jpg
/home/pi/Desktop/images/01122025/01/32/image_01122025_01_33_04_10758.jpg
/home/pi/Desktop/images/01122025/01/33/image_01122025_01_33_14_9671.jpg
/home/pi/Desktop/images/01122025/01/33/image_01122025_01_33_24_9764.jpg
/home/pi/Desktop/images/01122025/01/33/image_01122025_01_33_54_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":["1397145224","1397145226","1397145220","1397145222","1397145225"],"photo_ids_order":["1397145220","1397145222","1397145224","1397145225","1397145226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3ca71643d71cb14da074b9694b6d4e0b.jpg","text":"TemporaryFile(/tmp/multipartBody7998543344413618528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549322883,"filename":"image_01122025_01_33_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8d5fa728181989f2c2d478498afd9601.jpg","text":"TemporaryFile(/tmp/multipartBody3898632189371823771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549322883,"filename":"image_01122025_01_33_54_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fc6ff7c7af5aff24bf908ae6617ff045.jpg","text":"TemporaryFile(/tmp/multipartBody3912127108754497813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549322883,"filename":"image_01122025_01_32_54_9425.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a37a1989e948f75c2b3db344f9ed7286.jpg","text":"TemporaryFile(/tmp/multipartBody458126713723139378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549322883,"filename":"image_01122025_01_33_04_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/1/e837f8315b749f72408fa7f8ec4b320e.jpg","text":"TemporaryFile(/tmp/multipartBody2652777676992079872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549322883,"filename":"image_01122025_01_33_24_9764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145224","file1":"1397145222","file0":"1397145220","file4":"1397145226","file3":"1397145225"},"map_files_photo_id_array":[{"photo_id":"1397145224","filename":"file2"},{"photo_id":"1397145226","filename":"file4"},{"photo_id":"1397145222","filename":"file1"},{"photo_id":"1397145220","filename":"file0"},{"photo_id":"1397145225","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397145224":["hashtag1","hashtag2"]},{"1397145226":["hashtag1","hashtag2"]},{"1397145220":["hashtag1","hashtag2"]},{"1397145222":["hashtag1","hashtag2"]},{"1397145225":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397145224, 1397145226, 1397145220, 1397145222, 1397145225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.67082190513611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:35:02.981071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_46_2754.jpg', '/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_52_3539.jpg', '/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_55_2687.jpg', '/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_58_3573.jpg', '/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_09_10610.jpg', '/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_12_3097.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_46_2754.jpg
/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_52_3539.jpg
/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_55_2687.jpg
/home/pi/Desktop/images/25112025/21/14/image_25112025_21_14_58_3573.jpg
/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_09_10610.jpg
/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_12_3097.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145230","1397145227","1397145232","1397145229","1397145234","1397145228"],"photo_ids_order":["1397145227","1397145228","1397145229","1397145230","1397145232","1397145234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ca5a34ae82dd1b29bab6700ad499ce47.jpg","text":"TemporaryFile(/tmp/multipartBody8580755885075351664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549364227,"filename":"image_25112025_21_14_58_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/1/ed67b17a5414d734d83bbd5989979446.jpg","text":"TemporaryFile(/tmp/multipartBody5500518238674752210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549364227,"filename":"image_25112025_21_14_46_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/1/ac0b672d8dc8bda27cafe0e75deb39d6.jpg","text":"TemporaryFile(/tmp/multipartBody4477593396469599635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549364227,"filename":"image_25112025_21_15_09_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/1/03c91938f2a06acd81760f0cdb83430f.jpg","text":"TemporaryFile(/tmp/multipartBody3871678734379855352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549364227,"filename":"image_25112025_21_14_55_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8bb793d7f44e6daa47f85d7f280b7368.jpg","text":"TemporaryFile(/tmp/multipartBody1905429188522359127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549364227,"filename":"image_25112025_21_15_12_3097.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/74daad32878308b7f494810ab80e51a1.jpg","text":"TemporaryFile(/tmp/multipartBody3958555549163432808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549364227,"filename":"image_25112025_21_14_52_3539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145229","file1":"1397145228","file0":"1397145227","file4":"1397145232","file5":"1397145234","file3":"1397145230"},"map_files_photo_id_array":[{"photo_id":"1397145234","filename":"file5"},{"photo_id":"1397145229","filename":"file2"},{"photo_id":"1397145232","filename":"file4"},{"photo_id":"1397145228","filename":"file1"},{"photo_id":"1397145227","filename":"file0"},{"photo_id":"1397145230","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397145230":["hashtag1","hashtag2"]},{"1397145227":["hashtag1","hashtag2"]},{"1397145232":["hashtag1","hashtag2"]},{"1397145229":["hashtag1","hashtag2"]},{"1397145234":["hashtag1","hashtag2"]},{"1397145228":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397145230, 1397145227, 1397145232, 1397145229, 1397145234, 1397145228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.245176553726196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 01:35:42.306144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_47_3581.jpg', '/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_50_2732.jpg', '/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_53_2780.jpg', '/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_56_2788.jpg', '/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_59_2838.jpg', '/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_02_3664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_47_3581.jpg
/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_50_2732.jpg
/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_53_2780.jpg
/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_56_2788.jpg
/home/pi/Desktop/images/01112025/00/13/image_01112025_00_13_59_2838.jpg
/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_02_3664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145239","1397145242","1397145241","1397145238","1397145240","1397145237"],"photo_ids_order":["1397145237","1397145238","1397145239","1397145240","1397145241","1397145242"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4a2688e5f1973f1235e537be7929d3d5.jpg","text":"TemporaryFile(/tmp/multipartBody6456007169783389067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549403150,"filename":"image_01112025_00_13_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/1/7ee338bb1b94f9ee53df7c468905811d.jpg","text":"TemporaryFile(/tmp/multipartBody8926665501027139300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549403150,"filename":"image_01112025_00_14_02_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/1/dfa1f586f278e14fc0923ed61086ac14.jpg","text":"TemporaryFile(/tmp/multipartBody1492543871285569299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549403150,"filename":"image_01112025_00_13_59_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/1/e3eed6cb74d1edc3aeb24dbd6fc998af.jpg","text":"TemporaryFile(/tmp/multipartBody4609769922702457430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549403150,"filename":"image_01112025_00_13_50_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0cf8d98871dcee769552d9d12a8982b7.jpg","text":"TemporaryFile(/tmp/multipartBody5776339743149524388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549403150,"filename":"image_01112025_00_13_56_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/38f1d6da3e42a97076597a001743def4.jpg","text":"TemporaryFile(/tmp/multipartBody2407640633469644698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549403150,"filename":"image_01112025_00_13_47_3581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145239","file1":"1397145238","file0":"1397145237","file4":"1397145241","file5":"1397145242","file3":"1397145240"},"map_files_photo_id_array":[{"photo_id":"1397145242","filename":"file5"},{"photo_id":"1397145239","filename":"file2"},{"photo_id":"1397145241","filename":"file4"},{"photo_id":"1397145238","filename":"file1"},{"photo_id":"1397145237","filename":"file0"},{"photo_id":"1397145240","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397145239":["hashtag1","hashtag2"]},{"1397145242":["hashtag1","hashtag2"]},{"1397145241":["hashtag1","hashtag2"]},{"1397145238":["hashtag1","hashtag2"]},{"1397145240":["hashtag1","hashtag2"]},{"1397145237":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397145239, 1397145242, 1397145241, 1397145238, 1397145240, 1397145237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.912673473358154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 01:36:22.493588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/33/image_01122025_01_34_04_9693.jpg', '/home/pi/Desktop/images/01122025/01/34/image_01122025_01_35_04_10676.jpg', '/home/pi/Desktop/images/01122025/01/35/image_01122025_01_35_14_9739.jpg', '/home/pi/Desktop/images/01122025/01/35/image_01122025_01_35_24_9784.jpg', '/home/pi/Desktop/images/01122025/01/35/image_01122025_01_35_33_9741.jpg', '/home/pi/Desktop/images/01122025/01/35/image_01122025_01_36_04_9961.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/33/image_01122025_01_34_04_9693.jpg
/home/pi/Desktop/images/01122025/01/34/image_01122025_01_35_04_10676.jpg
/home/pi/Desktop/images/01122025/01/35/image_01122025_01_35_14_9739.jpg
/home/pi/Desktop/images/01122025/01/35/image_01122025_01_35_24_9784.jpg
/home/pi/Desktop/images/01122025/01/35/image_01122025_01_35_33_9741.jpg
/home/pi/Desktop/images/01122025/01/35/image_01122025_01_36_04_9961.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6542024612426758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 01:36:32.538973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_13_1465.jpg', '/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_15_1769.jpg', '/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_17_1600.jpg', '/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_18_1536.jpg', '/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_20_1696.jpg', '/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_22_1679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_13_1465.jpg
/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_15_1769.jpg
/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_17_1600.jpg
/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_18_1536.jpg
/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_20_1696.jpg
/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_22_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":["1397145257","1397145253","1397145256","1397145250","1397145255","1397145258"],"photo_ids_order":["1397145250","1397145253","1397145255","1397145256","1397145257","1397145258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/35cace5dd4922b9fec4789d976d687cd.jpg","text":"TemporaryFile(/tmp/multipartBody3675615022255095247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549454282,"filename":"image_25112025_21_15_20_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/1/b1420cdf44163f8011744352020c71f9.jpg","text":"TemporaryFile(/tmp/multipartBody2195921554289399408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549454282,"filename":"image_25112025_21_15_15_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/1/bea338cc9e70269c1cc2c0d568084356.jpg","text":"TemporaryFile(/tmp/multipartBody2089250069186030426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549454282,"filename":"image_25112025_21_15_18_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/1/b72fa9f59b0fc697cbf318b8d4bb1441.jpg","text":"TemporaryFile(/tmp/multipartBody1880536644231494603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549454282,"filename":"image_25112025_21_15_13_1465.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5295824b21dd98999312415e69a2c6b2.jpg","text":"TemporaryFile(/tmp/multipartBody1304540433122235383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549454282,"filename":"image_25112025_21_15_17_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/1/378a5decdc87d58595a36ba296704c16.jpg","text":"TemporaryFile(/tmp/multipartBody8555499607335565168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549454282,"filename":"image_25112025_21_15_22_1679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145255","file1":"1397145253","file0":"1397145250","file4":"1397145257","file5":"1397145258","file3":"1397145256"},"map_files_photo_id_array":[{"photo_id":"1397145258","filename":"file5"},{"photo_id":"1397145255","filename":"file2"},{"photo_id":"1397145257","filename":"file4"},{"photo_id":"1397145253","filename":"file1"},{"photo_id":"1397145250","filename":"file0"},{"photo_id":"1397145256","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397145257":["hashtag1","hashtag2"]},{"1397145253":["hashtag1","hashtag2"]},{"1397145256":["hashtag1","hashtag2"]},{"1397145250":["hashtag1","hashtag2"]},{"1397145255":["hashtag1","hashtag2"]},{"1397145258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397145257, 1397145253, 1397145256, 1397145250, 1397145255, 1397145258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17028760910034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 01:37:12.614551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_24_2674.jpg', '/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_31_2766.jpg', '/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_37_3688.jpg', '/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_40_2551.jpg', '/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_48_4616.jpg', '/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_52_2525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_24_2674.jpg
/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_31_2766.jpg
/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_37_3688.jpg
/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_40_2551.jpg
/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_48_4616.jpg
/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_52_2525.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145263","1397145260","1397145265","1397145259","1397145267","1397145269"],"photo_ids_order":["1397145259","1397145260","1397145263","1397145265","1397145267","1397145269"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5ab0f9f798058d9183952acc225eae13.jpg","text":"TemporaryFile(/tmp/multipartBody6081133153516958502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549494251,"filename":"image_25112025_21_15_37_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/1/14c75cbe1fd76a4cb4798eadda2739de.jpg","text":"TemporaryFile(/tmp/multipartBody3185744928210661856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549494251,"filename":"image_25112025_21_15_31_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/1/1c62355a2967c97947ab9422e7629c06.jpg","text":"TemporaryFile(/tmp/multipartBody4753338786662278175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549494251,"filename":"image_25112025_21_15_40_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/1/8bca2a3f90e71c5438d0ada6f36ca854.jpg","text":"TemporaryFile(/tmp/multipartBody6999710713763785560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549494251,"filename":"image_25112025_21_15_24_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/1/0d6c7759c80493ff6c3a1c7ddaa76e02.jpg","text":"TemporaryFile(/tmp/multipartBody8050369797747627153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549494251,"filename":"image_25112025_21_15_48_4616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3889cc080c230063b34b12968446f476.jpg","text":"TemporaryFile(/tmp/multipartBody2477967582384117957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549494251,"filename":"image_25112025_21_15_52_2525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145263","file1":"1397145260","file0":"1397145259","file4":"1397145267","file5":"1397145269","file3":"1397145265"},"map_files_photo_id_array":[{"photo_id":"1397145269","filename":"file5"},{"photo_id":"1397145263","filename":"file2"},{"photo_id":"1397145267","filename":"file4"},{"photo_id":"1397145260","filename":"file1"},{"photo_id":"1397145259","filename":"file0"},{"photo_id":"1397145265","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397145263":["hashtag1","hashtag2"]},{"1397145260":["hashtag1","hashtag2"]},{"1397145265":["hashtag1","hashtag2"]},{"1397145259":["hashtag1","hashtag2"]},{"1397145267":["hashtag1","hashtag2"]},{"1397145269":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397145263, 1397145260, 1397145265, 1397145259, 1397145267, 1397145269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.416146993637085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:38:02.322785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/33/image_01122025_01_34_04_9693.jpg', '/home/pi/Desktop/images/01122025/01/34/image_01122025_01_35_04_10676.jpg', '/home/pi/Desktop/images/01122025/01/35/image_01122025_01_35_14_9739.jpg', '/home/pi/Desktop/images/01122025/01/35/image_01122025_01_35_24_9784.jpg', '/home/pi/Desktop/images/01122025/01/35/image_01122025_01_35_33_9741.jpg', '/home/pi/Desktop/images/01122025/01/35/image_01122025_01_36_04_9961.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/33/image_01122025_01_34_04_9693.jpg
/home/pi/Desktop/images/01122025/01/34/image_01122025_01_35_04_10676.jpg
/home/pi/Desktop/images/01122025/01/35/image_01122025_01_35_14_9739.jpg
/home/pi/Desktop/images/01122025/01/35/image_01122025_01_35_24_9784.jpg
/home/pi/Desktop/images/01122025/01/35/image_01122025_01_35_33_9741.jpg
/home/pi/Desktop/images/01122025/01/35/image_01122025_01_36_04_9961.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.2895638942718506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 01:38:11.899630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_54_2554.jpg', '/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_58_3653.jpg', '/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_01_2532.jpg', '/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_03_2759.jpg', '/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_07_3675.jpg', '/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_10_2772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_54_2554.jpg
/home/pi/Desktop/images/25112025/21/15/image_25112025_21_15_58_3653.jpg
/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_01_2532.jpg
/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_03_2759.jpg
/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_07_3675.jpg
/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_10_2772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145272","1397145274","1397145283","1397145277","1397145285","1397145281"],"photo_ids_order":["1397145272","1397145274","1397145277","1397145281","1397145283","1397145285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a4b054871090e7fa2a1f855bd0bf536a.jpg","text":"TemporaryFile(/tmp/multipartBody6817580339745849554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549553549,"filename":"image_25112025_21_15_54_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/edd0616cd4bc7b7bf2e7144ed981586a.jpg","text":"TemporaryFile(/tmp/multipartBody5354748416521780301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549553549,"filename":"image_25112025_21_15_58_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/1/ebb4002f120c2cf7b5dfa00425d7b37b.jpg","text":"TemporaryFile(/tmp/multipartBody2285983387355690587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549553549,"filename":"image_25112025_21_16_07_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/1/f48180f0edec20e2e6074855171d0236.jpg","text":"TemporaryFile(/tmp/multipartBody1018404581845678529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549553549,"filename":"image_25112025_21_16_01_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/1/0ebaa599abf44c624519278840d8012a.jpg","text":"TemporaryFile(/tmp/multipartBody2120944801127749827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549553549,"filename":"image_25112025_21_16_10_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/de72471bdfd08acb9cb0ab26b4b51770.jpg","text":"TemporaryFile(/tmp/multipartBody8975543746927099354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549553549,"filename":"image_25112025_21_16_03_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145277","file1":"1397145274","file0":"1397145272","file4":"1397145283","file5":"1397145285","file3":"1397145281"},"map_files_photo_id_array":[{"photo_id":"1397145285","filename":"file5"},{"photo_id":"1397145277","filename":"file2"},{"photo_id":"1397145283","filename":"file4"},{"photo_id":"1397145274","filename":"file1"},{"photo_id":"1397145272","filename":"file0"},{"photo_id":"1397145281","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397145272":["hashtag1","hashtag2"]},{"1397145274":["hashtag1","hashtag2"]},{"1397145283":["hashtag1","hashtag2"]},{"1397145277":["hashtag1","hashtag2"]},{"1397145285":["hashtag1","hashtag2"]},{"1397145281":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397145272, 1397145274, 1397145283, 1397145277, 1397145285, 1397145281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21621561050415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:39:03.177290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/33/image_01122025_01_34_04_9693.jpg', '/home/pi/Desktop/images/01122025/01/34/image_01122025_01_35_04_10676.jpg', '/home/pi/Desktop/images/01122025/01/35/image_01122025_01_35_14_9739.jpg', '/home/pi/Desktop/images/01122025/01/35/image_01122025_01_35_24_9784.jpg', '/home/pi/Desktop/images/01122025/01/35/image_01122025_01_35_33_9741.jpg', '/home/pi/Desktop/images/01122025/01/35/image_01122025_01_36_04_9961.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/33/image_01122025_01_34_04_9693.jpg
/home/pi/Desktop/images/01122025/01/34/image_01122025_01_35_04_10676.jpg
/home/pi/Desktop/images/01122025/01/35/image_01122025_01_35_14_9739.jpg
/home/pi/Desktop/images/01122025/01/35/image_01122025_01_35_24_9784.jpg
/home/pi/Desktop/images/01122025/01/35/image_01122025_01_35_33_9741.jpg
/home/pi/Desktop/images/01122025/01/35/image_01122025_01_36_04_9961.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145314","1397145317","1397145319","1397145313","1397145321","1397145315"],"photo_ids_order":["1397145313","1397145314","1397145315","1397145317","1397145319","1397145321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2976bbc2700484009ba47f2f0e93d773.jpg","text":"TemporaryFile(/tmp/multipartBody4572747439231423986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549604093,"filename":"image_01122025_01_35_04_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/22b057c11543f4e307c626e464320308.jpg","text":"TemporaryFile(/tmp/multipartBody5029127460955942551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549604093,"filename":"image_01122025_01_35_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/1/8bc129b74009093f70504904088c6c90.jpg","text":"TemporaryFile(/tmp/multipartBody8900611160452708601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549604093,"filename":"image_01122025_01_35_33_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1ffe6f4da6e538e7cd9920d2a1ffa09c.jpg","text":"TemporaryFile(/tmp/multipartBody4402150924216112501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549604093,"filename":"image_01122025_01_34_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/1/9f0df40f90384dbba2db410a429c0549.jpg","text":"TemporaryFile(/tmp/multipartBody1233142408549906079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549604093,"filename":"image_01122025_01_36_04_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/1/9277d2c078aa71bcfea15db265160946.jpg","text":"TemporaryFile(/tmp/multipartBody6535420002861713729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549604093,"filename":"image_01122025_01_35_14_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145315","file1":"1397145314","file0":"1397145313","file4":"1397145319","file5":"1397145321","file3":"1397145317"},"map_files_photo_id_array":[{"photo_id":"1397145321","filename":"file5"},{"photo_id":"1397145315","filename":"file2"},{"photo_id":"1397145319","filename":"file4"},{"photo_id":"1397145314","filename":"file1"},{"photo_id":"1397145313","filename":"file0"},{"photo_id":"1397145317","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397145314":["hashtag1","hashtag2"]},{"1397145317":["hashtag1","hashtag2"]},{"1397145319":["hashtag1","hashtag2"]},{"1397145313":["hashtag1","hashtag2"]},{"1397145321":["hashtag1","hashtag2"]},{"1397145315":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397145314, 1397145317, 1397145319, 1397145313, 1397145321, 1397145315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84939241409302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 01:39:42.088226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_05_2676.jpg', '/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_08_2669.jpg', '/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_11_3753.jpg', '/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_14_2703.jpg', '/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_20_3614.jpg', '/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_23_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_05_2676.jpg
/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_08_2669.jpg
/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_11_3753.jpg
/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_14_2703.jpg
/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_20_3614.jpg
/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_23_2619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145326","1397145329","1397145325","1397145328","1397145327","1397145324"],"photo_ids_order":["1397145324","1397145325","1397145326","1397145327","1397145328","1397145329"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9d8f3ff8c4210998c8f843636ab1909a.jpg","text":"TemporaryFile(/tmp/multipartBody3994476120393418729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549642938,"filename":"image_01112025_00_14_11_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/1/f33afefcdf3792c42ce782c819218d19.jpg","text":"TemporaryFile(/tmp/multipartBody9208950995908353234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549642938,"filename":"image_01112025_00_14_23_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fe5651673cc740b0d9db023790bae822.jpg","text":"TemporaryFile(/tmp/multipartBody6059289937591023942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549642938,"filename":"image_01112025_00_14_08_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/1/a88a05bf6841e492584a2bb8837399f7.jpg","text":"TemporaryFile(/tmp/multipartBody7276893539720374218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549642938,"filename":"image_01112025_00_14_20_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/1/c5e375fa48e833403c7b6f99a917b0ec.jpg","text":"TemporaryFile(/tmp/multipartBody523689470608522824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549642938,"filename":"image_01112025_00_14_14_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/1/701d17e6ec386508972b83f7a148a24b.jpg","text":"TemporaryFile(/tmp/multipartBody3649917321636776294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549642938,"filename":"image_01112025_00_14_05_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145326","file1":"1397145325","file0":"1397145324","file4":"1397145328","file5":"1397145329","file3":"1397145327"},"map_files_photo_id_array":[{"photo_id":"1397145329","filename":"file5"},{"photo_id":"1397145326","filename":"file2"},{"photo_id":"1397145328","filename":"file4"},{"photo_id":"1397145325","filename":"file1"},{"photo_id":"1397145324","filename":"file0"},{"photo_id":"1397145327","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397145326":["hashtag1","hashtag2"]},{"1397145329":["hashtag1","hashtag2"]},{"1397145325":["hashtag1","hashtag2"]},{"1397145328":["hashtag1","hashtag2"]},{"1397145327":["hashtag1","hashtag2"]},{"1397145324":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397145326, 1397145329, 1397145325, 1397145328, 1397145327, 1397145324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55219268798828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 01:40:22.303776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/36/image_01122025_01_36_14_9886.jpg', '/home/pi/Desktop/images/01122025/01/36/image_01122025_01_36_24_10645.jpg', '/home/pi/Desktop/images/01122025/01/36/image_01122025_01_36_34_9675.jpg', '/home/pi/Desktop/images/01122025/01/36/image_01122025_01_36_54_10800.jpg', '/home/pi/Desktop/images/01122025/01/37/image_01122025_01_37_14_9871.jpg', '/home/pi/Desktop/images/01122025/01/37/image_01122025_01_37_34_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/36/image_01122025_01_36_14_9886.jpg
/home/pi/Desktop/images/01122025/01/36/image_01122025_01_36_24_10645.jpg
/home/pi/Desktop/images/01122025/01/36/image_01122025_01_36_34_9675.jpg
/home/pi/Desktop/images/01122025/01/36/image_01122025_01_36_54_10800.jpg
/home/pi/Desktop/images/01122025/01/37/image_01122025_01_37_14_9871.jpg
/home/pi/Desktop/images/01122025/01/37/image_01122025_01_37_34_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":["1397145338","1397145332","1397145334","1397145337","1397145336","1397145339"],"photo_ids_order":["1397145332","1397145334","1397145336","1397145337","1397145338","1397145339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2764b47846eee4a404861b27f2d31a4c.jpg","text":"TemporaryFile(/tmp/multipartBody3044221254151303137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549683061,"filename":"image_01122025_01_37_14_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/122cc79d74d1e05d440b29e7a1114b38.jpg","text":"TemporaryFile(/tmp/multipartBody9093221255719218063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549683061,"filename":"image_01122025_01_36_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/1/3274590a714d4e86e380ae39e5a03274.jpg","text":"TemporaryFile(/tmp/multipartBody7274267360079324167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549683061,"filename":"image_01122025_01_36_24_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/1/b15fb80944faa4fd0bc219f6ef857c82.jpg","text":"TemporaryFile(/tmp/multipartBody2611490074149040680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549683061,"filename":"image_01122025_01_36_54_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/1/4983bd9ea5cc8664e4f185b1de7d1e3b.jpg","text":"TemporaryFile(/tmp/multipartBody6179250296974854835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549683061,"filename":"image_01122025_01_36_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/1/373273a56ecb6747dcabe294f43414b4.jpg","text":"TemporaryFile(/tmp/multipartBody8324530533093419342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549683061,"filename":"image_01122025_01_37_34_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145336","file1":"1397145334","file0":"1397145332","file4":"1397145338","file5":"1397145339","file3":"1397145337"},"map_files_photo_id_array":[{"photo_id":"1397145339","filename":"file5"},{"photo_id":"1397145336","filename":"file2"},{"photo_id":"1397145338","filename":"file4"},{"photo_id":"1397145334","filename":"file1"},{"photo_id":"1397145332","filename":"file0"},{"photo_id":"1397145337","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397145338":["hashtag1","hashtag2"]},{"1397145332":["hashtag1","hashtag2"]},{"1397145334":["hashtag1","hashtag2"]},{"1397145337":["hashtag1","hashtag2"]},{"1397145336":["hashtag1","hashtag2"]},{"1397145339":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397145338, 1397145332, 1397145334, 1397145337, 1397145336, 1397145339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47991108894348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:41:03.212215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/38/image_01122025_01_38_14_10633.jpg', '/home/pi/Desktop/images/01122025/01/38/image_01122025_01_38_24_9629.jpg', '/home/pi/Desktop/images/01122025/01/38/image_01122025_01_38_54_10720.jpg', '/home/pi/Desktop/images/01122025/01/39/image_01122025_01_39_14_9739.jpg', '/home/pi/Desktop/images/01122025/01/39/image_01122025_01_39_24_9824.jpg', '/home/pi/Desktop/images/01122025/01/39/image_01122025_01_39_44_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/38/image_01122025_01_38_14_10633.jpg
/home/pi/Desktop/images/01122025/01/38/image_01122025_01_38_24_9629.jpg
/home/pi/Desktop/images/01122025/01/38/image_01122025_01_38_54_10720.jpg
/home/pi/Desktop/images/01122025/01/39/image_01122025_01_39_14_9739.jpg
/home/pi/Desktop/images/01122025/01/39/image_01122025_01_39_24_9824.jpg
/home/pi/Desktop/images/01122025/01/39/image_01122025_01_39_44_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":["1397145347","1397145341","1397145340","1397145343","1397145346","1397145342"],"photo_ids_order":["1397145340","1397145341","1397145342","1397145343","1397145346","1397145347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/014bf49a033faf86c28d9c1e82e21148.jpg","text":"TemporaryFile(/tmp/multipartBody7387718622099481005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549724051,"filename":"image_01122025_01_39_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/1/c87c998f8ec6c9b6894d15656b9acbe5.jpg","text":"TemporaryFile(/tmp/multipartBody6049526196114921936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549724051,"filename":"image_01122025_01_38_24_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d1ac1c6a7ae4408d8ff7245075d0f52b.jpg","text":"TemporaryFile(/tmp/multipartBody765798114626636262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549724051,"filename":"image_01122025_01_38_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/1/191fcb61e374203ba8de923fa3b1edb3.jpg","text":"TemporaryFile(/tmp/multipartBody2232861334745217410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549724051,"filename":"image_01122025_01_39_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/1/83c73b5e0b8d5c2a3b8dbaedb0589001.jpg","text":"TemporaryFile(/tmp/multipartBody2071526127888301880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549724051,"filename":"image_01122025_01_39_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/1/b41ae26676b8c30c7169461ddc849206.jpg","text":"TemporaryFile(/tmp/multipartBody5846484799855839240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549724051,"filename":"image_01122025_01_38_54_10720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145342","file1":"1397145341","file0":"1397145340","file4":"1397145346","file5":"1397145347","file3":"1397145343"},"map_files_photo_id_array":[{"photo_id":"1397145347","filename":"file5"},{"photo_id":"1397145342","filename":"file2"},{"photo_id":"1397145346","filename":"file4"},{"photo_id":"1397145341","filename":"file1"},{"photo_id":"1397145340","filename":"file0"},{"photo_id":"1397145343","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397145347":["hashtag1","hashtag2"]},{"1397145341":["hashtag1","hashtag2"]},{"1397145340":["hashtag1","hashtag2"]},{"1397145343":["hashtag1","hashtag2"]},{"1397145346":["hashtag1","hashtag2"]},{"1397145342":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397145347, 1397145341, 1397145340, 1397145343, 1397145346, 1397145342)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.69181251525879 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:42:03.204698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/39/image_01122025_01_39_54_9716.jpg', '/home/pi/Desktop/images/01122025/01/39/image_01122025_01_40_03_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/39/image_01122025_01_39_54_9716.jpg
/home/pi/Desktop/images/01122025/01/39/image_01122025_01_40_03_9725.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145388","1397145389"],"photo_ids_order":["1397145388","1397145389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2937884c70cbe7ca97158db7b0465f3c.jpg","text":"TemporaryFile(/tmp/multipartBody4428417096985575675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549783789,"filename":"image_01122025_01_39_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/1/65b6805a2e11ca43fa68b459f35633d9.jpg","text":"TemporaryFile(/tmp/multipartBody3486619045370958888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549783789,"filename":"image_01122025_01_40_03_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397145389","file0":"1397145388"},"map_files_photo_id_array":[{"photo_id":"1397145389","filename":"file1"},{"photo_id":"1397145388","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397145388":["hashtag1","hashtag2"]},{"1397145389":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397145388, 1397145389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.89039373397827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 01:42:22.708173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_12_2599.jpg', '/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_15_2746.jpg', '/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_19_3645.jpg', '/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_21_2585.jpg', '/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_25_3615.jpg', '/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_28_2544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_12_2599.jpg
/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_15_2746.jpg
/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_19_3645.jpg
/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_21_2585.jpg
/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_25_3615.jpg
/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_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":["1397145398","1397145397","1397145394","1397145396","1397145399","1397145392"],"photo_ids_order":["1397145392","1397145394","1397145396","1397145397","1397145398","1397145399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/48def2315e9b8e70162be1f0bdc47d11.jpg","text":"TemporaryFile(/tmp/multipartBody7724482147293835599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549804427,"filename":"image_25112025_21_16_25_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/1/e33a49207962292e2321b217b5df2b4b.jpg","text":"TemporaryFile(/tmp/multipartBody7485343763617705833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549804427,"filename":"image_25112025_21_16_21_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/1/78d4843c93e2fc84c469ac62afcdfee8.jpg","text":"TemporaryFile(/tmp/multipartBody4063611941275003708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549804427,"filename":"image_25112025_21_16_15_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2b79d38a6c065f4e9f8ce573dea1c8b6.jpg","text":"TemporaryFile(/tmp/multipartBody7187089788397234047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549804427,"filename":"image_25112025_21_16_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/1/f5c4c810131bb9f4cb972e380aa0d4c3.jpg","text":"TemporaryFile(/tmp/multipartBody7922885173838727191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549804427,"filename":"image_25112025_21_16_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/1/95fc6bc4a74f20b4ca161bcf51e3b832.jpg","text":"TemporaryFile(/tmp/multipartBody9095089846203927278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549804427,"filename":"image_25112025_21_16_12_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145396","file1":"1397145394","file0":"1397145392","file4":"1397145398","file5":"1397145399","file3":"1397145397"},"map_files_photo_id_array":[{"photo_id":"1397145399","filename":"file5"},{"photo_id":"1397145396","filename":"file2"},{"photo_id":"1397145398","filename":"file4"},{"photo_id":"1397145394","filename":"file1"},{"photo_id":"1397145392","filename":"file0"},{"photo_id":"1397145397","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397145398":["hashtag1","hashtag2"]},{"1397145397":["hashtag1","hashtag2"]},{"1397145394":["hashtag1","hashtag2"]},{"1397145396":["hashtag1","hashtag2"]},{"1397145399":["hashtag1","hashtag2"]},{"1397145392":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397145398, 1397145397, 1397145394, 1397145396, 1397145399, 1397145392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14986276626587 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:43:02.666566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_36_1740.jpg', '/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_37_1815.jpg', '/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_40_2504.jpg', '/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_45_2638.jpg', '/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_49_3521.jpg', '/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_52_3165.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_36_1740.jpg
/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_37_1815.jpg
/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_40_2504.jpg
/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_45_2638.jpg
/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_49_3521.jpg
/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_52_3165.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145407","1397145401","1397145403","1397145400","1397145402","1397145405"],"photo_ids_order":["1397145400","1397145401","1397145402","1397145403","1397145405","1397145407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7a4c06b015925978b8d277593d6e5134.jpg","text":"TemporaryFile(/tmp/multipartBody4573378606511099263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549843871,"filename":"image_25112025_21_16_52_3165.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/84af55ca3778fce8df75da5ea6d0c63a.jpg","text":"TemporaryFile(/tmp/multipartBody6764928100600285600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549843871,"filename":"image_25112025_21_16_37_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/1/37521710017f56496e11ebef44f5c966.jpg","text":"TemporaryFile(/tmp/multipartBody5986547588909371037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549843871,"filename":"image_25112025_21_16_45_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/1/5c33515a7d7d71889d026e45f4b836c6.jpg","text":"TemporaryFile(/tmp/multipartBody6910403833626003613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549843871,"filename":"image_25112025_21_16_36_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/1/697cda0d51afd06422450f084a68a13b.jpg","text":"TemporaryFile(/tmp/multipartBody8655457185088817407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549843871,"filename":"image_25112025_21_16_40_2504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/830994b6f1446cab661bac85e6cf19fd.jpg","text":"TemporaryFile(/tmp/multipartBody6548541328863854729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549843871,"filename":"image_25112025_21_16_49_3521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145402","file1":"1397145401","file0":"1397145400","file4":"1397145405","file5":"1397145407","file3":"1397145403"},"map_files_photo_id_array":[{"photo_id":"1397145407","filename":"file5"},{"photo_id":"1397145402","filename":"file2"},{"photo_id":"1397145405","filename":"file4"},{"photo_id":"1397145401","filename":"file1"},{"photo_id":"1397145400","filename":"file0"},{"photo_id":"1397145403","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397145407":["hashtag1","hashtag2"]},{"1397145401":["hashtag1","hashtag2"]},{"1397145403":["hashtag1","hashtag2"]},{"1397145400":["hashtag1","hashtag2"]},{"1397145402":["hashtag1","hashtag2"]},{"1397145405":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397145407, 1397145401, 1397145403, 1397145400, 1397145402, 1397145405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55015754699707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 01:43:41.949087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_26_2850.jpg', '/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_29_2792.jpg', '/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_32_3562.jpg', '/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_35_2578.jpg', '/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_38_2882.jpg', '/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_41_3717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_26_2850.jpg
/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_29_2792.jpg
/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_32_3562.jpg
/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_35_2578.jpg
/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_38_2882.jpg
/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_41_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":["1397145410","1397145413","1397145415","1397145412","1397145414","1397145411"],"photo_ids_order":["1397145410","1397145411","1397145412","1397145413","1397145414","1397145415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/28a3b6328445b4913749de67ebc3038a.jpg","text":"TemporaryFile(/tmp/multipartBody3126265961037166754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549882818,"filename":"image_01112025_00_14_26_2850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e995743e9808caaa9012985122498693.jpg","text":"TemporaryFile(/tmp/multipartBody5523686995284975316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549882818,"filename":"image_01112025_00_14_35_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/1/c7951976d8b17e2226c6cc239912926a.jpg","text":"TemporaryFile(/tmp/multipartBody2013603776560531793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549882818,"filename":"image_01112025_00_14_41_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/1/c1093defedad52753b8f15d4f1c55fa6.jpg","text":"TemporaryFile(/tmp/multipartBody8653122815071989672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549882818,"filename":"image_01112025_00_14_32_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/1/d31f8c44977464a9a9aa23a7859baa44.jpg","text":"TemporaryFile(/tmp/multipartBody5798594829527741477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549882818,"filename":"image_01112025_00_14_38_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b179b77244db35c35e09a587856ec9f5.jpg","text":"TemporaryFile(/tmp/multipartBody8251574168723583131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549882818,"filename":"image_01112025_00_14_29_2792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145412","file1":"1397145411","file0":"1397145410","file4":"1397145414","file5":"1397145415","file3":"1397145413"},"map_files_photo_id_array":[{"photo_id":"1397145415","filename":"file5"},{"photo_id":"1397145412","filename":"file2"},{"photo_id":"1397145414","filename":"file4"},{"photo_id":"1397145411","filename":"file1"},{"photo_id":"1397145410","filename":"file0"},{"photo_id":"1397145413","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397145410":["hashtag1","hashtag2"]},{"1397145413":["hashtag1","hashtag2"]},{"1397145415":["hashtag1","hashtag2"]},{"1397145412":["hashtag1","hashtag2"]},{"1397145414":["hashtag1","hashtag2"]},{"1397145411":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397145410, 1397145413, 1397145415, 1397145412, 1397145414, 1397145411)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.95688056945801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 01:44:32.097198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_55_2661.jpg', '/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_57_2692.jpg', '/home/pi/Desktop/images/25112025/21/16/image_25112025_21_17_00_2746.jpg', '/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_04_3581.jpg', '/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_06_2595.jpg', '/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_10_3604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_55_2661.jpg
/home/pi/Desktop/images/25112025/21/16/image_25112025_21_16_57_2692.jpg
/home/pi/Desktop/images/25112025/21/16/image_25112025_21_17_00_2746.jpg
/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_04_3581.jpg
/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_06_2595.jpg
/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_10_3604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145431","1397145433","1397145426","1397145435","1397145429","1397145423"],"photo_ids_order":["1397145423","1397145426","1397145429","1397145431","1397145433","1397145435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a46e815dbb02a658d1e3d13f1d580160.jpg","text":"TemporaryFile(/tmp/multipartBody5761216138029910544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549933758,"filename":"image_25112025_21_17_04_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/48ae3e583b1ac20e5d8bb1a9f06b2ab8.jpg","text":"TemporaryFile(/tmp/multipartBody830609455278153080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549933758,"filename":"image_25112025_21_17_06_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ce14e1b995fbf26da4a69eceaccf2cfb.jpg","text":"TemporaryFile(/tmp/multipartBody1001760999010675686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549933758,"filename":"image_25112025_21_16_57_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/1/722545b5387cbc9a0cc012b88e1ffc54.jpg","text":"TemporaryFile(/tmp/multipartBody6816839128606998390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549933758,"filename":"image_25112025_21_17_10_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/1/8fa1548b414abb33ddce110bcad14485.jpg","text":"TemporaryFile(/tmp/multipartBody7795656730230183952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549933758,"filename":"image_25112025_21_17_00_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/1/b4cf3d49b93d40106d2a049bf138af59.jpg","text":"TemporaryFile(/tmp/multipartBody4018879970882946922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549933758,"filename":"image_25112025_21_16_55_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145429","file1":"1397145426","file0":"1397145423","file4":"1397145433","file5":"1397145435","file3":"1397145431"},"map_files_photo_id_array":[{"photo_id":"1397145435","filename":"file5"},{"photo_id":"1397145429","filename":"file2"},{"photo_id":"1397145433","filename":"file4"},{"photo_id":"1397145426","filename":"file1"},{"photo_id":"1397145423","filename":"file0"},{"photo_id":"1397145431","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397145431":["hashtag1","hashtag2"]},{"1397145433":["hashtag1","hashtag2"]},{"1397145426":["hashtag1","hashtag2"]},{"1397145435":["hashtag1","hashtag2"]},{"1397145429":["hashtag1","hashtag2"]},{"1397145423":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397145431, 1397145433, 1397145426, 1397145435, 1397145429, 1397145423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59468126296997 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 01:45:12.295597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_13_2591.jpg', '/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_15_2651.jpg', '/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_19_3618.jpg', '/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_21_2623.jpg', '/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_24_2672.jpg', '/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_28_3530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_13_2591.jpg
/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_15_2651.jpg
/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_19_3618.jpg
/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_21_2623.jpg
/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_24_2672.jpg
/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_28_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":["1397145437","1397145446","1397145442","1397145436","1397145439","1397145444"],"photo_ids_order":["1397145436","1397145437","1397145439","1397145442","1397145444","1397145446"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8a7a490330b12dcc3f884f9e2c9e5f94.jpg","text":"TemporaryFile(/tmp/multipartBody822190783676610666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549974021,"filename":"image_25112025_21_17_15_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/40fa375bef4db0fb7fca6497ffe3762c.jpg","text":"TemporaryFile(/tmp/multipartBody2190838348731339579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549974021,"filename":"image_25112025_21_17_28_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/1/33d8542b9564517bfb470ba0b3425963.jpg","text":"TemporaryFile(/tmp/multipartBody6772537658866503777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549974021,"filename":"image_25112025_21_17_21_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/41ea1d27f2c105e913a986050abcfdef.jpg","text":"TemporaryFile(/tmp/multipartBody926224046560240901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549974021,"filename":"image_25112025_21_17_13_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/02755bdb4ba2c3437f472f3e98a4cb7d.jpg","text":"TemporaryFile(/tmp/multipartBody3015188092498950837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549974021,"filename":"image_25112025_21_17_19_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/1/0db20359793ff7a7d0a2ba2b82ba4523.jpg","text":"TemporaryFile(/tmp/multipartBody8210578061823711377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764549974021,"filename":"image_25112025_21_17_24_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145439","file1":"1397145437","file0":"1397145436","file4":"1397145444","file5":"1397145446","file3":"1397145442"},"map_files_photo_id_array":[{"photo_id":"1397145446","filename":"file5"},{"photo_id":"1397145439","filename":"file2"},{"photo_id":"1397145444","filename":"file4"},{"photo_id":"1397145437","filename":"file1"},{"photo_id":"1397145436","filename":"file0"},{"photo_id":"1397145442","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397145437":["hashtag1","hashtag2"]},{"1397145446":["hashtag1","hashtag2"]},{"1397145442":["hashtag1","hashtag2"]},{"1397145436":["hashtag1","hashtag2"]},{"1397145439":["hashtag1","hashtag2"]},{"1397145444":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397145437, 1397145446, 1397145442, 1397145436, 1397145439, 1397145444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11354637145996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:46:02.931142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/41/image_01122025_01_41_53_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/41/image_01122025_01_41_53_9707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145448"],"photo_id":"1397145448","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6a69bbb69389585de5a25eefe9f8babc.jpg","text":"TemporaryFile(/tmp/multipartBody3637206040113637349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550026019,"filename":"image_01122025_01_41_53_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1397145448"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1397145448"}],"hashtags":[],"portfolio_id":"29033749","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.108980417251587 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 01:46:22.454229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/42/image_01122025_01_43_04_10675.jpg', '/home/pi/Desktop/images/01122025/01/44/image_01122025_01_45_04_9789.jpg', '/home/pi/Desktop/images/01122025/01/45/image_01122025_01_45_14_9840.jpg', '/home/pi/Desktop/images/01122025/01/45/image_01122025_01_45_34_9848.jpg', '/home/pi/Desktop/images/01122025/01/45/image_01122025_01_45_44_9707.jpg', '/home/pi/Desktop/images/01122025/01/46/image_01122025_01_46_14_10710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/42/image_01122025_01_43_04_10675.jpg
/home/pi/Desktop/images/01122025/01/44/image_01122025_01_45_04_9789.jpg
/home/pi/Desktop/images/01122025/01/45/image_01122025_01_45_14_9840.jpg
/home/pi/Desktop/images/01122025/01/45/image_01122025_01_45_34_9848.jpg
/home/pi/Desktop/images/01122025/01/45/image_01122025_01_45_44_9707.jpg
/home/pi/Desktop/images/01122025/01/46/image_01122025_01_46_14_10710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145455","1397145458","1397145451","1397145457","1397145453","1397145456"],"photo_ids_order":["1397145451","1397145453","1397145455","1397145456","1397145457","1397145458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9f62e30f8d131e2407a393808b366568.jpg","text":"TemporaryFile(/tmp/multipartBody1874210070541932478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550043252,"filename":"image_01122025_01_45_14_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6954cd76f0321acc2a863bde2499fec5.jpg","text":"TemporaryFile(/tmp/multipartBody2025146987742775702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550043252,"filename":"image_01122025_01_46_14_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/1/7038af05c03069f5d41f4c9c002119e4.jpg","text":"TemporaryFile(/tmp/multipartBody7736000610597102238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550043252,"filename":"image_01122025_01_43_04_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4f75fbc3c9dd0267a7ad78dbf93957aa.jpg","text":"TemporaryFile(/tmp/multipartBody3925388849058667272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550043252,"filename":"image_01122025_01_45_44_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9fb687e58ac9293ac6440bbd703c4524.jpg","text":"TemporaryFile(/tmp/multipartBody2099028673499964684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550043252,"filename":"image_01122025_01_45_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/1/266670ef013c45b7abf49513fef25edb.jpg","text":"TemporaryFile(/tmp/multipartBody6257896192571815816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550043252,"filename":"image_01122025_01_45_34_9848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145455","file1":"1397145453","file0":"1397145451","file4":"1397145457","file5":"1397145458","file3":"1397145456"},"map_files_photo_id_array":[{"photo_id":"1397145458","filename":"file5"},{"photo_id":"1397145455","filename":"file2"},{"photo_id":"1397145457","filename":"file4"},{"photo_id":"1397145453","filename":"file1"},{"photo_id":"1397145451","filename":"file0"},{"photo_id":"1397145456","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397145455":["hashtag1","hashtag2"]},{"1397145458":["hashtag1","hashtag2"]},{"1397145451":["hashtag1","hashtag2"]},{"1397145457":["hashtag1","hashtag2"]},{"1397145453":["hashtag1","hashtag2"]},{"1397145456":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397145455, 1397145458, 1397145451, 1397145457, 1397145453, 1397145456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45478057861328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:47:02.693592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/46/image_01122025_01_46_24_9761.jpg', '/home/pi/Desktop/images/01122025/01/46/image_01122025_01_46_34_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/46/image_01122025_01_46_24_9761.jpg
/home/pi/Desktop/images/01122025/01/46/image_01122025_01_46_34_9677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145460","1397145459"],"photo_ids_order":["1397145459","1397145460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/789c2e3c9c252d8d3f1f63cfccbac52b.jpg","text":"TemporaryFile(/tmp/multipartBody4911926195855221901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550083355,"filename":"image_01122025_01_46_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/1/e7053b9921dddbb75790a05c4ceb0c9c.jpg","text":"TemporaryFile(/tmp/multipartBody7347754995404046823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550083355,"filename":"image_01122025_01_46_24_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397145460","file0":"1397145459"},"map_files_photo_id_array":[{"photo_id":"1397145460","filename":"file1"},{"photo_id":"1397145459","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397145460":["hashtag1","hashtag2"]},{"1397145459":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397145460, 1397145459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.365899085998535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 01:47:22.084702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/46/image_01122025_01_46_54_5902.jpg', '/home/pi/Desktop/images/01122025/01/47/image_01122025_01_47_04_9921.jpg', '/home/pi/Desktop/images/01122025/01/47/image_01122025_01_47_23_9661.jpg', '/home/pi/Desktop/images/01122025/01/47/image_01122025_01_47_34_10906.jpg', '/home/pi/Desktop/images/01122025/01/47/image_01122025_01_47_44_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/46/image_01122025_01_46_54_5902.jpg
/home/pi/Desktop/images/01122025/01/47/image_01122025_01_47_04_9921.jpg
/home/pi/Desktop/images/01122025/01/47/image_01122025_01_47_23_9661.jpg
/home/pi/Desktop/images/01122025/01/47/image_01122025_01_47_34_10906.jpg
/home/pi/Desktop/images/01122025/01/47/image_01122025_01_47_44_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145464","1397145469","1397145462","1397145468","1397145467"],"photo_ids_order":["1397145462","1397145464","1397145467","1397145468","1397145469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c7062fd3954a764284d715aef980186e.jpg","text":"TemporaryFile(/tmp/multipartBody5477709073934371683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550102835,"filename":"image_01122025_01_47_04_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/1/6692798a6207666b18fa17510d7cafdd.jpg","text":"TemporaryFile(/tmp/multipartBody3707793845183225538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550102835,"filename":"image_01122025_01_47_44_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6f5c523dc9a8abc974cdd7475bd1f725.jpg","text":"TemporaryFile(/tmp/multipartBody3943529302240593463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550102835,"filename":"image_01122025_01_46_54_5902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9bfe2becde57590756ec504615b90bc9.jpg","text":"TemporaryFile(/tmp/multipartBody1995399700788115672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550102835,"filename":"image_01122025_01_47_34_10906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/61205c564e26e0de27a77f0927a51f1b.jpg","text":"TemporaryFile(/tmp/multipartBody8751357241802119219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550102835,"filename":"image_01122025_01_47_23_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145467","file1":"1397145464","file0":"1397145462","file4":"1397145469","file3":"1397145468"},"map_files_photo_id_array":[{"photo_id":"1397145467","filename":"file2"},{"photo_id":"1397145469","filename":"file4"},{"photo_id":"1397145464","filename":"file1"},{"photo_id":"1397145462","filename":"file0"},{"photo_id":"1397145468","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397145464":["hashtag1","hashtag2"]},{"1397145469":["hashtag1","hashtag2"]},{"1397145462":["hashtag1","hashtag2"]},{"1397145468":["hashtag1","hashtag2"]},{"1397145467":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397145464, 1397145469, 1397145462, 1397145468, 1397145467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.273187160491943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:48:02.760261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_30_2668.jpg', '/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_34_3635.jpg', '/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_37_2678.jpg', '/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_39_2607.jpg', '/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_43_3622.jpg', '/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_45_2547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_30_2668.jpg
/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_34_3635.jpg
/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_37_2678.jpg
/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_39_2607.jpg
/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_43_3622.jpg
/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_45_2547.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0397813320159912 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 01:48:12.233944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_30_2668.jpg', '/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_34_3635.jpg', '/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_37_2678.jpg', '/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_39_2607.jpg', '/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_43_3622.jpg', '/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_45_2547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_30_2668.jpg
/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_34_3635.jpg
/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_37_2678.jpg
/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_39_2607.jpg
/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_43_3622.jpg
/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_45_2547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145476","1397145479","1397145481","1397145483","1397145485","1397145473"],"photo_ids_order":["1397145473","1397145476","1397145479","1397145481","1397145483","1397145485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d07687afb391bd70606d31f3c00f0988.jpg","text":"TemporaryFile(/tmp/multipartBody1933228839358299468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550153781,"filename":"image_25112025_21_17_34_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4d187d604a0e728677a6c221290c0102.jpg","text":"TemporaryFile(/tmp/multipartBody6832045791605899993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550153781,"filename":"image_25112025_21_17_37_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7381de29dc28c4854624c53ef4422054.jpg","text":"TemporaryFile(/tmp/multipartBody2470026150927777330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550153781,"filename":"image_25112025_21_17_39_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/1/e8a382572fef028af6a45536e604a99a.jpg","text":"TemporaryFile(/tmp/multipartBody5496248322513578698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550153781,"filename":"image_25112025_21_17_43_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/430d7e32da155535b787c464d99012dc.jpg","text":"TemporaryFile(/tmp/multipartBody8731820506815098880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550153781,"filename":"image_25112025_21_17_45_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/1/df3d6c8022183b7f934073fa813eaa11.jpg","text":"TemporaryFile(/tmp/multipartBody6070585934604718496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550153781,"filename":"image_25112025_21_17_30_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145479","file1":"1397145476","file0":"1397145473","file4":"1397145483","file5":"1397145485","file3":"1397145481"},"map_files_photo_id_array":[{"photo_id":"1397145485","filename":"file5"},{"photo_id":"1397145479","filename":"file2"},{"photo_id":"1397145483","filename":"file4"},{"photo_id":"1397145476","filename":"file1"},{"photo_id":"1397145473","filename":"file0"},{"photo_id":"1397145481","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397145476":["hashtag1","hashtag2"]},{"1397145479":["hashtag1","hashtag2"]},{"1397145481":["hashtag1","hashtag2"]},{"1397145483":["hashtag1","hashtag2"]},{"1397145485":["hashtag1","hashtag2"]},{"1397145473":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397145476, 1397145479, 1397145481, 1397145483, 1397145485, 1397145473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.203474283218384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:49:02.875401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/47/image_01122025_01_47_54_10016.jpg', '/home/pi/Desktop/images/01122025/01/48/image_01122025_01_48_14_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/47/image_01122025_01_47_54_10016.jpg
/home/pi/Desktop/images/01122025/01/48/image_01122025_01_48_14_9765.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145487","1397145486"],"photo_ids_order":["1397145486","1397145487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b14a1bdd9f12af10acec076860f84f1b.jpg","text":"TemporaryFile(/tmp/multipartBody7258143028777880303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550203584,"filename":"image_01122025_01_48_14_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/325a2e382033a80a92633849c239d15d.jpg","text":"TemporaryFile(/tmp/multipartBody8822790890703363509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550203584,"filename":"image_01122025_01_47_54_10016.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397145487","file0":"1397145486"},"map_files_photo_id_array":[{"photo_id":"1397145487","filename":"file1"},{"photo_id":"1397145486","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397145487":["hashtag1","hashtag2"]},{"1397145486":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397145487, 1397145486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.362619876861572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 01:49:21.899651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_48_2607.jpg', '/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_52_3577.jpg', '/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_54_2521.jpg', '/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_57_3394.jpg', '/home/pi/Desktop/images/25112025/21/17/image_25112025_21_18_00_2605.jpg', '/home/pi/Desktop/images/25112025/21/18/image_25112025_21_18_04_3808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_48_2607.jpg
/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_52_3577.jpg
/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_54_2521.jpg
/home/pi/Desktop/images/25112025/21/17/image_25112025_21_17_57_3394.jpg
/home/pi/Desktop/images/25112025/21/17/image_25112025_21_18_00_2605.jpg
/home/pi/Desktop/images/25112025/21/18/image_25112025_21_18_04_3808.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145497","1397145496","1397145490","1397145498","1397145492","1397145494"],"photo_ids_order":["1397145490","1397145492","1397145494","1397145496","1397145497","1397145498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d207878b68c05208169b08169690dc4b.jpg","text":"TemporaryFile(/tmp/multipartBody737246381844031597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550223520,"filename":"image_25112025_21_18_00_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/1/3fb2d3cf57571d3a7e9ee773b26c734e.jpg","text":"TemporaryFile(/tmp/multipartBody4784027233739185140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550223520,"filename":"image_25112025_21_17_57_3394.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/40072a81b02b3e9a61e1553b8faecf51.jpg","text":"TemporaryFile(/tmp/multipartBody2920254510936022673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550223520,"filename":"image_25112025_21_17_48_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/1/846e9653b62c24e407edc9a65939f7d7.jpg","text":"TemporaryFile(/tmp/multipartBody4979058698110998968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550223520,"filename":"image_25112025_21_18_04_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/1/c7c34fdaf157feccd9f373bd33dbd595.jpg","text":"TemporaryFile(/tmp/multipartBody5562882384719594993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550223520,"filename":"image_25112025_21_17_52_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/1/521b9e769865a86f4cbf328d05d9e36e.jpg","text":"TemporaryFile(/tmp/multipartBody7177469730881368209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550223520,"filename":"image_25112025_21_17_54_2521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145494","file1":"1397145492","file0":"1397145490","file4":"1397145497","file5":"1397145498","file3":"1397145496"},"map_files_photo_id_array":[{"photo_id":"1397145498","filename":"file5"},{"photo_id":"1397145494","filename":"file2"},{"photo_id":"1397145497","filename":"file4"},{"photo_id":"1397145492","filename":"file1"},{"photo_id":"1397145490","filename":"file0"},{"photo_id":"1397145496","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397145497":["hashtag1","hashtag2"]},{"1397145496":["hashtag1","hashtag2"]},{"1397145490":["hashtag1","hashtag2"]},{"1397145498":["hashtag1","hashtag2"]},{"1397145492":["hashtag1","hashtag2"]},{"1397145494":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397145497, 1397145496, 1397145490, 1397145498, 1397145492, 1397145494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61715602874756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:50:02.547507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/18/image_25112025_21_18_16_2666.jpg', '/home/pi/Desktop/images/25112025/21/18/image_25112025_21_18_20_4112.jpg', '/home/pi/Desktop/images/25112025/21/18/image_25112025_21_18_21_1588.jpg', '/home/pi/Desktop/images/25112025/21/18/image_25112025_21_18_28_6388.jpg', '/home/pi/Desktop/images/25112025/21/18/image_25112025_21_18_39_11760.jpg', '/home/pi/Desktop/images/25112025/21/18/image_25112025_21_18_41_1690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/18/image_25112025_21_18_16_2666.jpg
/home/pi/Desktop/images/25112025/21/18/image_25112025_21_18_20_4112.jpg
/home/pi/Desktop/images/25112025/21/18/image_25112025_21_18_21_1588.jpg
/home/pi/Desktop/images/25112025/21/18/image_25112025_21_18_28_6388.jpg
/home/pi/Desktop/images/25112025/21/18/image_25112025_21_18_39_11760.jpg
/home/pi/Desktop/images/25112025/21/18/image_25112025_21_18_41_1690.jpg
 val : 1 : upload photos already in 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":["1397145506","1397145500","1397145499","1397145502","1397145501","1397145504"],"photo_ids_order":["1397145499","1397145500","1397145501","1397145502","1397145504","1397145506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8d501d6a09cdb81c3147a57e195beb7e.jpg","text":"TemporaryFile(/tmp/multipartBody6385968216499883433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550263726,"filename":"image_25112025_21_18_41_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/1/3dd24f9377d171530666a11713b328bf.jpg","text":"TemporaryFile(/tmp/multipartBody2212609173917031143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550263726,"filename":"image_25112025_21_18_20_4112.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9d0d0cebde99f08a8673ac60d93c939b.jpg","text":"TemporaryFile(/tmp/multipartBody8725598192701514431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550263726,"filename":"image_25112025_21_18_16_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/1/b8177d62275aba1581a9ea91761467b4.jpg","text":"TemporaryFile(/tmp/multipartBody2123741606571023291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550263726,"filename":"image_25112025_21_18_28_6388.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f770b61b863442a0c72a4622b8fe955b.jpg","text":"TemporaryFile(/tmp/multipartBody321341005846263970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550263726,"filename":"image_25112025_21_18_21_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/1/af08c1249215fb85ddc639e8a93b4163.jpg","text":"TemporaryFile(/tmp/multipartBody367747279001429288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550263726,"filename":"image_25112025_21_18_39_11760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145501","file1":"1397145500","file0":"1397145499","file4":"1397145504","file5":"1397145506","file3":"1397145502"},"map_files_photo_id_array":[{"photo_id":"1397145506","filename":"file5"},{"photo_id":"1397145501","filename":"file2"},{"photo_id":"1397145504","filename":"file4"},{"photo_id":"1397145500","filename":"file1"},{"photo_id":"1397145499","filename":"file0"},{"photo_id":"1397145502","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397145506":["hashtag1","hashtag2"]},{"1397145500":["hashtag1","hashtag2"]},{"1397145499":["hashtag1","hashtag2"]},{"1397145502":["hashtag1","hashtag2"]},{"1397145501":["hashtag1","hashtag2"]},{"1397145504":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397145506, 1397145500, 1397145499, 1397145502, 1397145501, 1397145504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.635172843933105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:51:03.177437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/18/image_25112025_21_18_59_5913.jpg', '/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_01_1554.jpg', '/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_02_1615.jpg', '/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_04_1590.jpg', '/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_06_1766.jpg', '/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_09_1643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/18/image_25112025_21_18_59_5913.jpg
/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_01_1554.jpg
/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_02_1615.jpg
/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_04_1590.jpg
/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_06_1766.jpg
/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_09_1643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145518","1397145512","1397145514","1397145511","1397145516","1397145510"],"photo_ids_order":["1397145510","1397145511","1397145512","1397145514","1397145516","1397145518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/64717a386f656bfce40cff2eecae04b6.jpg","text":"TemporaryFile(/tmp/multipartBody3028357967944763539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550324428,"filename":"image_25112025_21_19_09_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/1/7db17df337fc682c01d54ae37b6e679d.jpg","text":"TemporaryFile(/tmp/multipartBody9090251196338237847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550324428,"filename":"image_25112025_21_19_02_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/90f8f01737ab437d77e079d87000410d.jpg","text":"TemporaryFile(/tmp/multipartBody4509812901884010101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550324428,"filename":"image_25112025_21_19_04_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/1/f87e5eadc4cccb43ebe1d27ab2cd279c.jpg","text":"TemporaryFile(/tmp/multipartBody2114044903490395129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550324428,"filename":"image_25112025_21_19_01_1554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/86ff74b18ffad85e0c8f9c72b63fa230.jpg","text":"TemporaryFile(/tmp/multipartBody8638880624100133385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550324428,"filename":"image_25112025_21_19_06_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/1/5eaae1f3f233b061a150db93e313d419.jpg","text":"TemporaryFile(/tmp/multipartBody4001132115310008417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550324428,"filename":"image_25112025_21_18_59_5913.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145512","file1":"1397145511","file0":"1397145510","file4":"1397145516","file5":"1397145518","file3":"1397145514"},"map_files_photo_id_array":[{"photo_id":"1397145518","filename":"file5"},{"photo_id":"1397145512","filename":"file2"},{"photo_id":"1397145516","filename":"file4"},{"photo_id":"1397145511","filename":"file1"},{"photo_id":"1397145510","filename":"file0"},{"photo_id":"1397145514","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397145518":["hashtag1","hashtag2"]},{"1397145512":["hashtag1","hashtag2"]},{"1397145514":["hashtag1","hashtag2"]},{"1397145511":["hashtag1","hashtag2"]},{"1397145516":["hashtag1","hashtag2"]},{"1397145510":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397145518, 1397145512, 1397145514, 1397145511, 1397145516, 1397145510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05016756057739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 01:51:42.766769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_44_2647.jpg', '/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_47_2715.jpg', '/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_50_2871.jpg', '/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_53_3716.jpg', '/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_56_2579.jpg', '/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_58_2559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_44_2647.jpg
/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_47_2715.jpg
/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_50_2871.jpg
/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_53_3716.jpg
/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_56_2579.jpg
/home/pi/Desktop/images/01112025/00/14/image_01112025_00_14_58_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":["1397145521","1397145524","1397145520","1397145523","1397145519","1397145522"],"photo_ids_order":["1397145519","1397145520","1397145521","1397145522","1397145523","1397145524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/28fbd49ca0b6f45d5d105af8bbce8214.jpg","text":"TemporaryFile(/tmp/multipartBody4606779632187114466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550363598,"filename":"image_01112025_00_14_50_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/902f8d45b94aeafba3c1186be0dcfe22.jpg","text":"TemporaryFile(/tmp/multipartBody5133773893267541871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550363598,"filename":"image_01112025_00_14_58_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/185023d0cd8cc8ae845fbc607363acd7.jpg","text":"TemporaryFile(/tmp/multipartBody2196575392622150867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550363598,"filename":"image_01112025_00_14_47_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/1/9f0618ee65a898c7c03c919b08025b27.jpg","text":"TemporaryFile(/tmp/multipartBody8028383027433768770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550363598,"filename":"image_01112025_00_14_56_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6c545504c81ba276f1bab6b102ddfe87.jpg","text":"TemporaryFile(/tmp/multipartBody3936179627212874615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550363598,"filename":"image_01112025_00_14_44_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/1/6904e64c4fe3c6787ce3bfc5a3bd4f5e.jpg","text":"TemporaryFile(/tmp/multipartBody7624572144855456406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550363598,"filename":"image_01112025_00_14_53_3716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145521","file1":"1397145520","file0":"1397145519","file4":"1397145523","file5":"1397145524","file3":"1397145522"},"map_files_photo_id_array":[{"photo_id":"1397145524","filename":"file5"},{"photo_id":"1397145521","filename":"file2"},{"photo_id":"1397145523","filename":"file4"},{"photo_id":"1397145520","filename":"file1"},{"photo_id":"1397145519","filename":"file0"},{"photo_id":"1397145522","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397145521":["hashtag1","hashtag2"]},{"1397145524":["hashtag1","hashtag2"]},{"1397145520":["hashtag1","hashtag2"]},{"1397145523":["hashtag1","hashtag2"]},{"1397145519":["hashtag1","hashtag2"]},{"1397145522":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397145521, 1397145524, 1397145520, 1397145523, 1397145519, 1397145522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52993845939636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 01:52:21.945881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/48/image_01122025_01_48_43_9596.jpg', '/home/pi/Desktop/images/01122025/01/51/image_01122025_01_52_04_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/48/image_01122025_01_48_43_9596.jpg
/home/pi/Desktop/images/01122025/01/51/image_01122025_01_52_04_9611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145527","1397145529"],"photo_ids_order":["1397145527","1397145529"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/79e9d643bfb7ad608aecb93b17cd5e19.jpg","text":"TemporaryFile(/tmp/multipartBody4517945326548429309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550402522,"filename":"image_01122025_01_48_43_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/1/f34f35a3ae312a3d4aeae8ebebac40bf.jpg","text":"TemporaryFile(/tmp/multipartBody5488967983201633780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550402522,"filename":"image_01122025_01_52_04_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397145529","file0":"1397145527"},"map_files_photo_id_array":[{"photo_id":"1397145529","filename":"file1"},{"photo_id":"1397145527","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397145527":["hashtag1","hashtag2"]},{"1397145529":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397145527, 1397145529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.47075390815735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 01:52:41.910185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_02_3879.jpg', '/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_05_2606.jpg', '/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_08_2649.jpg', '/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_11_3353.jpg', '/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_14_2776.jpg', '/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_17_2864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_02_3879.jpg
/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_05_2606.jpg
/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_08_2649.jpg
/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_11_3353.jpg
/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_14_2776.jpg
/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_17_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":["1397145536","1397145533","1397145532","1397145535","1397145537","1397145534"],"photo_ids_order":["1397145532","1397145533","1397145534","1397145535","1397145536","1397145537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/546e22007f3c837430710a03189b972a.jpg","text":"TemporaryFile(/tmp/multipartBody7679610627052128402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550422764,"filename":"image_01112025_00_15_14_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/1/b31ce6269124c822efc88206f140b352.jpg","text":"TemporaryFile(/tmp/multipartBody8987353662805817157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550422764,"filename":"image_01112025_00_15_05_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e081d84f481c67e7c4e406f9b284f424.jpg","text":"TemporaryFile(/tmp/multipartBody5333010248594574811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550422764,"filename":"image_01112025_00_15_02_3879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2d92b5ab900f21c1afff3ddb2995fd0d.jpg","text":"TemporaryFile(/tmp/multipartBody2468950514729756519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550422764,"filename":"image_01112025_00_15_11_3353.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a59553912571247aeb31976ef11a3369.jpg","text":"TemporaryFile(/tmp/multipartBody1266731952300382021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550422764,"filename":"image_01112025_00_15_17_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/1/41ffad0d8a130f3377ce5afff388124f.jpg","text":"TemporaryFile(/tmp/multipartBody1491360918838512517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550422764,"filename":"image_01112025_00_15_08_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145534","file1":"1397145533","file0":"1397145532","file4":"1397145536","file5":"1397145537","file3":"1397145535"},"map_files_photo_id_array":[{"photo_id":"1397145537","filename":"file5"},{"photo_id":"1397145534","filename":"file2"},{"photo_id":"1397145536","filename":"file4"},{"photo_id":"1397145533","filename":"file1"},{"photo_id":"1397145532","filename":"file0"},{"photo_id":"1397145535","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397145536":["hashtag1","hashtag2"]},{"1397145533":["hashtag1","hashtag2"]},{"1397145532":["hashtag1","hashtag2"]},{"1397145535":["hashtag1","hashtag2"]},{"1397145537":["hashtag1","hashtag2"]},{"1397145534":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397145536, 1397145533, 1397145532, 1397145535, 1397145537, 1397145534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.941946029663086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 01:53:22.255291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/52/image_01122025_01_52_34_10819.jpg', '/home/pi/Desktop/images/01122025/01/53/image_01122025_01_53_14_10710.jpg', '/home/pi/Desktop/images/01122025/01/53/image_01122025_01_53_44_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/52/image_01122025_01_52_34_10819.jpg
/home/pi/Desktop/images/01122025/01/53/image_01122025_01_53_14_10710.jpg
/home/pi/Desktop/images/01122025/01/53/image_01122025_01_53_44_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":["1397145542","1397145544","1397145540"],"photo_ids_order":["1397145540","1397145542","1397145544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ce3ba01cb0f6c3f08e63a7bcf6a96df6.jpg","text":"TemporaryFile(/tmp/multipartBody831292294190016309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550462873,"filename":"image_01122025_01_53_14_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/1/58333f5fc141bdd78a9e6a752e6d64a1.jpg","text":"TemporaryFile(/tmp/multipartBody1677350891004163268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550462873,"filename":"image_01122025_01_53_44_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f8829342e0d0d98f6bac648df89dfbf4.jpg","text":"TemporaryFile(/tmp/multipartBody3647918971960110962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550462873,"filename":"image_01122025_01_52_34_10819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145544","file1":"1397145542","file0":"1397145540"},"map_files_photo_id_array":[{"photo_id":"1397145544","filename":"file2"},{"photo_id":"1397145542","filename":"file1"},{"photo_id":"1397145540","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397145542":["hashtag1","hashtag2"]},{"1397145544":["hashtag1","hashtag2"]},{"1397145540":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397145542, 1397145544, 1397145540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 27.37634301185608 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:54:03.033555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_11_1628.jpg', '/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_12_1571.jpg', '/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_14_1602.jpg', '/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_15_1509.jpg', '/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_17_1542.jpg', '/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_20_1716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_11_1628.jpg
/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_12_1571.jpg
/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_14_1602.jpg
/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_15_1509.jpg
/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_17_1542.jpg
/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_20_1716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145548","1397145545","1397145550","1397145547","1397145552","1397145546"],"photo_ids_order":["1397145545","1397145546","1397145547","1397145548","1397145550","1397145552"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9a04be063f678335d26f7aa77a5ff6ee.jpg","text":"TemporaryFile(/tmp/multipartBody7574859541591548930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550504205,"filename":"image_25112025_21_19_15_1509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b45bed488f9d4988f7927df2cde8b721.jpg","text":"TemporaryFile(/tmp/multipartBody1642924608979710448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550504205,"filename":"image_25112025_21_19_11_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ef03247dc47779875e269b13dea19926.jpg","text":"TemporaryFile(/tmp/multipartBody812314553039599195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550504205,"filename":"image_25112025_21_19_17_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e9f78dddbdfbbb02e7a973268e92e3bd.jpg","text":"TemporaryFile(/tmp/multipartBody8714531336798726773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550504205,"filename":"image_25112025_21_19_14_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/1/b46373e268effe00b80308e951461fc3.jpg","text":"TemporaryFile(/tmp/multipartBody2974113909942526079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550504205,"filename":"image_25112025_21_19_20_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/1/3d2020aa4fe2fb0b3f95f3cc7dfee55d.jpg","text":"TemporaryFile(/tmp/multipartBody5103617076462296992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550504205,"filename":"image_25112025_21_19_12_1571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145547","file1":"1397145546","file0":"1397145545","file4":"1397145550","file5":"1397145552","file3":"1397145548"},"map_files_photo_id_array":[{"photo_id":"1397145552","filename":"file5"},{"photo_id":"1397145547","filename":"file2"},{"photo_id":"1397145550","filename":"file4"},{"photo_id":"1397145546","filename":"file1"},{"photo_id":"1397145545","filename":"file0"},{"photo_id":"1397145548","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397145548":["hashtag1","hashtag2"]},{"1397145545":["hashtag1","hashtag2"]},{"1397145550":["hashtag1","hashtag2"]},{"1397145547":["hashtag1","hashtag2"]},{"1397145552":["hashtag1","hashtag2"]},{"1397145546":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397145548, 1397145545, 1397145550, 1397145547, 1397145552, 1397145546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70140719413757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 01:54:42.385077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_20_3526.jpg', '/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_23_2667.jpg', '/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_25_2719.jpg', '/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_29_3808.jpg', '/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_32_2700.jpg', '/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_35_2838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_20_3526.jpg
/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_23_2667.jpg
/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_25_2719.jpg
/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_29_3808.jpg
/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_32_2700.jpg
/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_35_2838.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145560","1397145557","1397145559","1397145556","1397145561","1397145558"],"photo_ids_order":["1397145556","1397145557","1397145558","1397145559","1397145560","1397145561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ce5949a782d3a7a1199f8dc1676e3dfd.jpg","text":"TemporaryFile(/tmp/multipartBody8003781793215147922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550543218,"filename":"image_01112025_00_15_32_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/1/e2e1356858fa69cc61727c51facc8730.jpg","text":"TemporaryFile(/tmp/multipartBody8322356822661787430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550543218,"filename":"image_01112025_00_15_23_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6a5c2fcda4250d2c4172f7c2dd37821c.jpg","text":"TemporaryFile(/tmp/multipartBody4360856086652271830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550543218,"filename":"image_01112025_00_15_29_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/1/45f924740c226cfc4e10d3f49ff3b1e0.jpg","text":"TemporaryFile(/tmp/multipartBody8115459607848484434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550543218,"filename":"image_01112025_00_15_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/1/c6c2c466bdae5fcdbca95d0844f00ce3.jpg","text":"TemporaryFile(/tmp/multipartBody1084626865604206852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550543218,"filename":"image_01112025_00_15_35_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/1/ff57a716fddacef0eb558774a7f9f693.jpg","text":"TemporaryFile(/tmp/multipartBody79129046304238965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550543218,"filename":"image_01112025_00_15_25_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145558","file1":"1397145557","file0":"1397145556","file4":"1397145560","file5":"1397145561","file3":"1397145559"},"map_files_photo_id_array":[{"photo_id":"1397145561","filename":"file5"},{"photo_id":"1397145558","filename":"file2"},{"photo_id":"1397145560","filename":"file4"},{"photo_id":"1397145557","filename":"file1"},{"photo_id":"1397145556","filename":"file0"},{"photo_id":"1397145559","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397145560":["hashtag1","hashtag2"]},{"1397145557":["hashtag1","hashtag2"]},{"1397145559":["hashtag1","hashtag2"]},{"1397145556":["hashtag1","hashtag2"]},{"1397145561":["hashtag1","hashtag2"]},{"1397145558":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397145560, 1397145557, 1397145559, 1397145556, 1397145561, 1397145558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29629707336426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 01:55:22.540530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/53/image_01122025_01_53_54_9635.jpg', '/home/pi/Desktop/images/01122025/01/54/image_01122025_01_54_44_9733.jpg', '/home/pi/Desktop/images/01122025/01/54/image_01122025_01_54_54_10265.jpg', '/home/pi/Desktop/images/01122025/01/55/image_01122025_01_55_14_10659.jpg', '/home/pi/Desktop/images/01122025/01/55/image_01122025_01_55_34_10596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/53/image_01122025_01_53_54_9635.jpg
/home/pi/Desktop/images/01122025/01/54/image_01122025_01_54_44_9733.jpg
/home/pi/Desktop/images/01122025/01/54/image_01122025_01_54_54_10265.jpg
/home/pi/Desktop/images/01122025/01/55/image_01122025_01_55_14_10659.jpg
/home/pi/Desktop/images/01122025/01/55/image_01122025_01_55_34_10596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145568","1397145570","1397145564","1397145572","1397145566"],"photo_ids_order":["1397145564","1397145566","1397145568","1397145570","1397145572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/696da34a23a5063ac493d3bb020f75ad.jpg","text":"TemporaryFile(/tmp/multipartBody8303139965753190902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550583254,"filename":"image_01122025_01_54_54_10265.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/114054ee34e46a278d4c5986be4e6e91.jpg","text":"TemporaryFile(/tmp/multipartBody6200167669152844181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550583254,"filename":"image_01122025_01_55_14_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c8c09657ed4a6ee580a7ae14f760a93a.jpg","text":"TemporaryFile(/tmp/multipartBody4677199419165067021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550583254,"filename":"image_01122025_01_53_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/1/a48916a3c389caa401f28386a27657ad.jpg","text":"TemporaryFile(/tmp/multipartBody4690502302765268646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550583254,"filename":"image_01122025_01_55_34_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6f704625e2cee812c59ef25fb1e05eb5.jpg","text":"TemporaryFile(/tmp/multipartBody9024661275251407936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550583254,"filename":"image_01122025_01_54_44_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145568","file1":"1397145566","file0":"1397145564","file4":"1397145572","file3":"1397145570"},"map_files_photo_id_array":[{"photo_id":"1397145568","filename":"file2"},{"photo_id":"1397145572","filename":"file4"},{"photo_id":"1397145566","filename":"file1"},{"photo_id":"1397145564","filename":"file0"},{"photo_id":"1397145570","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397145568":["hashtag1","hashtag2"]},{"1397145570":["hashtag1","hashtag2"]},{"1397145564":["hashtag1","hashtag2"]},{"1397145572":["hashtag1","hashtag2"]},{"1397145566":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397145568, 1397145570, 1397145564, 1397145572, 1397145566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.53120493888855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:56:03.296760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 01:56:12.737771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_22_1771.jpg', '/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_24_2540.jpg', '/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_33_2604.jpg', '/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_37_3611.jpg', '/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_39_2579.jpg', '/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_42_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_22_1771.jpg
/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_24_2540.jpg
/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_33_2604.jpg
/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_37_3611.jpg
/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_39_2579.jpg
/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_42_2674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145581","1397145583","1397145574","1397145573","1397145576","1397145579"],"photo_ids_order":["1397145573","1397145574","1397145576","1397145579","1397145581","1397145583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a56ab7e9ffaacb2e1cfa57d75f6a38ae.jpg","text":"TemporaryFile(/tmp/multipartBody2822055779335629604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550634363,"filename":"image_25112025_21_19_39_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/759a0ff666ed01bcc75633cd89679f82.jpg","text":"TemporaryFile(/tmp/multipartBody3827928649063376028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550634363,"filename":"image_25112025_21_19_42_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/73b36b0071085b3189a6b358fc423381.jpg","text":"TemporaryFile(/tmp/multipartBody4753452083653117982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550634363,"filename":"image_25112025_21_19_24_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c041040e21b038d0a67332100d0a8255.jpg","text":"TemporaryFile(/tmp/multipartBody8607624641247084786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550634363,"filename":"image_25112025_21_19_22_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/1/8d28735f5b3ecde5dc71b85b1fb8dbc5.jpg","text":"TemporaryFile(/tmp/multipartBody528338132347580861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550634363,"filename":"image_25112025_21_19_33_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e899b03d28bf11459ddc771c2b703104.jpg","text":"TemporaryFile(/tmp/multipartBody511942271143049663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550634363,"filename":"image_25112025_21_19_37_3611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145576","file1":"1397145574","file0":"1397145573","file4":"1397145581","file5":"1397145583","file3":"1397145579"},"map_files_photo_id_array":[{"photo_id":"1397145583","filename":"file5"},{"photo_id":"1397145576","filename":"file2"},{"photo_id":"1397145581","filename":"file4"},{"photo_id":"1397145574","filename":"file1"},{"photo_id":"1397145573","filename":"file0"},{"photo_id":"1397145579","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397145581":["hashtag1","hashtag2"]},{"1397145583":["hashtag1","hashtag2"]},{"1397145574":["hashtag1","hashtag2"]},{"1397145573":["hashtag1","hashtag2"]},{"1397145576":["hashtag1","hashtag2"]},{"1397145579":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397145581, 1397145583, 1397145574, 1397145573, 1397145576, 1397145579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01227831840515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:57:02.640753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/55/image_01122025_01_55_54_9575.jpg', '/home/pi/Desktop/images/01122025/01/56/image_01122025_01_56_34_9683.jpg', '/home/pi/Desktop/images/01122025/01/56/image_01122025_01_56_44_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/55/image_01122025_01_55_54_9575.jpg
/home/pi/Desktop/images/01122025/01/56/image_01122025_01_56_34_9683.jpg
/home/pi/Desktop/images/01122025/01/56/image_01122025_01_56_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":["1397145589","1397145588","1397145590"],"photo_ids_order":["1397145588","1397145589","1397145590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b964eec565f4be7587dd6a847836ac4c.jpg","text":"TemporaryFile(/tmp/multipartBody5015016501998338728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550683287,"filename":"image_01122025_01_56_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/1/6d3061b5e0e5ce25a69886c68e1c1f62.jpg","text":"TemporaryFile(/tmp/multipartBody8111568111403426939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550683287,"filename":"image_01122025_01_55_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/1/77a434ee63ee28dce8997c8f6f818b04.jpg","text":"TemporaryFile(/tmp/multipartBody1656891730229023355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550683287,"filename":"image_01122025_01_56_44_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145590","file1":"1397145589","file0":"1397145588"},"map_files_photo_id_array":[{"photo_id":"1397145590","filename":"file2"},{"photo_id":"1397145589","filename":"file1"},{"photo_id":"1397145588","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397145589":["hashtag1","hashtag2"]},{"1397145588":["hashtag1","hashtag2"]},{"1397145590":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397145589, 1397145588, 1397145590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.776769876480103 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 01:57:31.926749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_46_3600.jpg', '/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_48_2828.jpg', '/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_55_3575.jpg', '/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_57_2652.jpg', '/home/pi/Desktop/images/25112025/21/19/image_25112025_21_20_00_2849.jpg', '/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_04_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_46_3600.jpg
/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_48_2828.jpg
/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_55_3575.jpg
/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_57_2652.jpg
/home/pi/Desktop/images/25112025/21/19/image_25112025_21_20_00_2849.jpg
/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_04_3612.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.548435926437378 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 01:57:41.965729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_38_3526.jpg', '/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_41_2730.jpg', '/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_44_2670.jpg', '/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_46_2677.jpg', '/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_50_3583.jpg', '/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_53_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_38_3526.jpg
/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_41_2730.jpg
/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_44_2670.jpg
/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_46_2677.jpg
/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_50_3583.jpg
/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_53_2649.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397145605","1397145598","1397145601","1397145604","1397145600","1397145603"],"photo_ids_order":["1397145598","1397145600","1397145601","1397145603","1397145604","1397145605"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9873258eff5d15ade35f70b87444604c.jpg","text":"TemporaryFile(/tmp/multipartBody6403065958212943686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550722805,"filename":"image_01112025_00_15_53_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0a8226672a4ed6f8b69e008d689e81b4.jpg","text":"TemporaryFile(/tmp/multipartBody1695814906863614798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550722805,"filename":"image_01112025_00_15_38_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/1/8f5cefc4f1d5d3b3c0a96b9264e56ad9.jpg","text":"TemporaryFile(/tmp/multipartBody1401250826556326362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550722805,"filename":"image_01112025_00_15_44_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/1/0ebfa6b6989e399c4a55169bbbce43ea.jpg","text":"TemporaryFile(/tmp/multipartBody8646465475552763073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550722805,"filename":"image_01112025_00_15_50_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a3e483c9546d6f7d32338de37457d7f7.jpg","text":"TemporaryFile(/tmp/multipartBody7105700718860381157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550722805,"filename":"image_01112025_00_15_41_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/1/be5bf8f8a5cad9911bd9def9d0851d96.jpg","text":"TemporaryFile(/tmp/multipartBody6757723606581199817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550722805,"filename":"image_01112025_00_15_46_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397145601","file1":"1397145600","file0":"1397145598","file4":"1397145604","file5":"1397145605","file3":"1397145603"},"map_files_photo_id_array":[{"photo_id":"1397145605","filename":"file5"},{"photo_id":"1397145601","filename":"file2"},{"photo_id":"1397145604","filename":"file4"},{"photo_id":"1397145600","filename":"file1"},{"photo_id":"1397145598","filename":"file0"},{"photo_id":"1397145603","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397145605":["hashtag1","hashtag2"]},{"1397145598":["hashtag1","hashtag2"]},{"1397145601":["hashtag1","hashtag2"]},{"1397145604":["hashtag1","hashtag2"]},{"1397145600":["hashtag1","hashtag2"]},{"1397145603":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397145605, 1397145598, 1397145601, 1397145604, 1397145600, 1397145603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.925278186798096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 01:59:03.240372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/56/image_01122025_01_56_54_10603.jpg', '/home/pi/Desktop/images/01122025/01/57/image_01122025_01_57_14_10249.jpg', '/home/pi/Desktop/images/01122025/01/57/image_01122025_01_57_24_9841.jpg', '/home/pi/Desktop/images/01122025/01/57/image_01122025_01_57_54_10635.jpg', '/home/pi/Desktop/images/01122025/01/58/image_01122025_01_58_14_9808.jpg', '/home/pi/Desktop/images/01122025/01/58/image_01122025_01_58_34_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/56/image_01122025_01_56_54_10603.jpg
/home/pi/Desktop/images/01122025/01/57/image_01122025_01_57_14_10249.jpg
/home/pi/Desktop/images/01122025/01/57/image_01122025_01_57_24_9841.jpg
/home/pi/Desktop/images/01122025/01/57/image_01122025_01_57_54_10635.jpg
/home/pi/Desktop/images/01122025/01/58/image_01122025_01_58_14_9808.jpg
/home/pi/Desktop/images/01122025/01/58/image_01122025_01_58_34_9621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397146148","1397146111","1397146000","1397146071","1397146035","1397146196"],"photo_ids_order":["1397146000","1397146035","1397146071","1397146111","1397146148","1397146196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/45631dce4b38f9a64c4574ea53317382.jpg","text":"TemporaryFile(/tmp/multipartBody6095764123662774977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550804282,"filename":"image_01122025_01_58_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/1/1ec1767c1487e6637a8c0baa7ca7249a.jpg","text":"TemporaryFile(/tmp/multipartBody322914324235059564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550804282,"filename":"image_01122025_01_57_54_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/1/ca445f8980a694251c7ddaf45c2d0635.jpg","text":"TemporaryFile(/tmp/multipartBody4198332282255124262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550804282,"filename":"image_01122025_01_56_54_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9f3320fa9475c06d71d2800b04707818.jpg","text":"TemporaryFile(/tmp/multipartBody6562755138188205115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550804282,"filename":"image_01122025_01_57_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/1/0352dcb3c6a974e59d10a300e23e1022.jpg","text":"TemporaryFile(/tmp/multipartBody6533525316249629727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550804282,"filename":"image_01122025_01_57_14_10249.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e07bcc1968fc4eee23cda09c992edfdd.jpg","text":"TemporaryFile(/tmp/multipartBody5719295569567749109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550804282,"filename":"image_01122025_01_58_34_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397146071","file1":"1397146035","file0":"1397146000","file4":"1397146148","file5":"1397146196","file3":"1397146111"},"map_files_photo_id_array":[{"photo_id":"1397146196","filename":"file5"},{"photo_id":"1397146071","filename":"file2"},{"photo_id":"1397146148","filename":"file4"},{"photo_id":"1397146035","filename":"file1"},{"photo_id":"1397146000","filename":"file0"},{"photo_id":"1397146111","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397146148":["hashtag1","hashtag2"]},{"1397146111":["hashtag1","hashtag2"]},{"1397146000":["hashtag1","hashtag2"]},{"1397146071":["hashtag1","hashtag2"]},{"1397146035":["hashtag1","hashtag2"]},{"1397146196":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397146148, 1397146111, 1397146000, 1397146071, 1397146035, 1397146196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47530508041382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 01:59:42.468518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_55_2721.jpg', '/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_59_3686.jpg', '/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_02_2714.jpg', '/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_05_2748.jpg', '/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_08_3566.jpg', '/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_11_2887.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_55_2721.jpg
/home/pi/Desktop/images/01112025/00/15/image_01112025_00_15_59_3686.jpg
/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_02_2714.jpg
/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_05_2748.jpg
/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_08_3566.jpg
/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_11_2887.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397146424","1397146558","1397146485","1397146702","1397146602","1397146664"],"photo_ids_order":["1397146424","1397146485","1397146558","1397146602","1397146664","1397146702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5467dc3b8edd24a975045af54f260d42.jpg","text":"TemporaryFile(/tmp/multipartBody2703317932123629235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550843342,"filename":"image_01112025_00_15_55_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/1/a5a5f64458e56e6d062800fb13a77434.jpg","text":"TemporaryFile(/tmp/multipartBody5585208095982585416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550843342,"filename":"image_01112025_00_16_02_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/1/2651be0240cc4682b0d828cfae06018f.jpg","text":"TemporaryFile(/tmp/multipartBody9208436093123341350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550843342,"filename":"image_01112025_00_15_59_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/61fc836b6774d84c0b4631356f487595.jpg","text":"TemporaryFile(/tmp/multipartBody6828740203981972765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550843342,"filename":"image_01112025_00_16_11_2887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b8a4016cf2c641ea26c489375d37062d.jpg","text":"TemporaryFile(/tmp/multipartBody1426984993358476727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550843342,"filename":"image_01112025_00_16_05_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/1/a2258b70aa964427a7200d91ee311a5f.jpg","text":"TemporaryFile(/tmp/multipartBody4884356588902906262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550843342,"filename":"image_01112025_00_16_08_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397146558","file1":"1397146485","file0":"1397146424","file4":"1397146664","file5":"1397146702","file3":"1397146602"},"map_files_photo_id_array":[{"photo_id":"1397146702","filename":"file5"},{"photo_id":"1397146558","filename":"file2"},{"photo_id":"1397146664","filename":"file4"},{"photo_id":"1397146485","filename":"file1"},{"photo_id":"1397146424","filename":"file0"},{"photo_id":"1397146602","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397146424":["hashtag1","hashtag2"]},{"1397146558":["hashtag1","hashtag2"]},{"1397146485":["hashtag1","hashtag2"]},{"1397146702":["hashtag1","hashtag2"]},{"1397146602":["hashtag1","hashtag2"]},{"1397146664":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397146424, 1397146558, 1397146485, 1397146702, 1397146602, 1397146664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.925270318984985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 02:00:22.602692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/01/58/image_01122025_01_58_54_10694.jpg', '/home/pi/Desktop/images/01122025/01/58/image_01122025_01_59_04_9588.jpg', '/home/pi/Desktop/images/01122025/01/59/image_01122025_01_59_14_9721.jpg', '/home/pi/Desktop/images/01122025/01/59/image_01122025_01_59_24_10650.jpg', '/home/pi/Desktop/images/01122025/02/00/image_01122025_02_00_14_9611.jpg', '/home/pi/Desktop/images/01122025/02/00/image_01122025_02_00_34_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/01/58/image_01122025_01_58_54_10694.jpg
/home/pi/Desktop/images/01122025/01/58/image_01122025_01_59_04_9588.jpg
/home/pi/Desktop/images/01122025/01/59/image_01122025_01_59_14_9721.jpg
/home/pi/Desktop/images/01122025/01/59/image_01122025_01_59_24_10650.jpg
/home/pi/Desktop/images/01122025/02/00/image_01122025_02_00_14_9611.jpg
/home/pi/Desktop/images/01122025/02/00/image_01122025_02_00_34_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":["1397147329","1397146969","1397146896","1397147226","1397147040","1397147121"],"photo_ids_order":["1397146896","1397146969","1397147040","1397147121","1397147226","1397147329"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/579d9a9021bcb1e558f52a45e5eade63.jpg","text":"TemporaryFile(/tmp/multipartBody421269839258252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550883358,"filename":"image_01122025_02_00_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/1/c232ed4362fdbcbf9151fb7401180d8d.jpg","text":"TemporaryFile(/tmp/multipartBody4421691516675373230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550883358,"filename":"image_01122025_01_59_04_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9adbb10b33589ac6a24537fd221ba428.jpg","text":"TemporaryFile(/tmp/multipartBody3672716921253001572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550883358,"filename":"image_01122025_01_58_54_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2e632d211857bcb9d515fd512cbb8c02.jpg","text":"TemporaryFile(/tmp/multipartBody7798927162080171863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550883358,"filename":"image_01122025_02_00_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/1/d5e9b3d44d2111e851d4d04bc17cf190.jpg","text":"TemporaryFile(/tmp/multipartBody5081818788778984044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550883358,"filename":"image_01122025_01_59_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/1/8d464dbe7a663b3036f3b90ff48ea0e7.jpg","text":"TemporaryFile(/tmp/multipartBody3742858834658956494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550883358,"filename":"image_01122025_01_59_24_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397147040","file1":"1397146969","file0":"1397146896","file4":"1397147226","file5":"1397147329","file3":"1397147121"},"map_files_photo_id_array":[{"photo_id":"1397147329","filename":"file5"},{"photo_id":"1397147040","filename":"file2"},{"photo_id":"1397147226","filename":"file4"},{"photo_id":"1397146969","filename":"file1"},{"photo_id":"1397146896","filename":"file0"},{"photo_id":"1397147121","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397147329":["hashtag1","hashtag2"]},{"1397146969":["hashtag1","hashtag2"]},{"1397146896":["hashtag1","hashtag2"]},{"1397147226":["hashtag1","hashtag2"]},{"1397147040":["hashtag1","hashtag2"]},{"1397147121":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397147329, 1397146969, 1397146896, 1397147226, 1397147040, 1397147121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.145336389541626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:01:03.405036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_46_3600.jpg', '/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_48_2828.jpg', '/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_55_3575.jpg', '/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_57_2652.jpg', '/home/pi/Desktop/images/25112025/21/19/image_25112025_21_20_00_2849.jpg', '/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_04_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_46_3600.jpg
/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_48_2828.jpg
/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_55_3575.jpg
/home/pi/Desktop/images/25112025/21/19/image_25112025_21_19_57_2652.jpg
/home/pi/Desktop/images/25112025/21/19/image_25112025_21_20_00_2849.jpg
/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_04_3612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397147950","1397148414","1397148188","1397148311","1397148056","1397147822"],"photo_ids_order":["1397147822","1397147950","1397148056","1397148188","1397148311","1397148414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ad506a1b737b54439916fdcb7615d496.jpg","text":"TemporaryFile(/tmp/multipartBody2008640964965525204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550924516,"filename":"image_25112025_21_19_48_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/1/8b2cf19b16c93723620cfbb4a2ecfb36.jpg","text":"TemporaryFile(/tmp/multipartBody4376465275321357857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550924516,"filename":"image_25112025_21_20_04_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/96382ad2d409dcc7aa273677dadcd193.jpg","text":"TemporaryFile(/tmp/multipartBody2228871953288064663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550924516,"filename":"image_25112025_21_19_57_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/1/c24a4c727935b75c9520b82abfaa98bf.jpg","text":"TemporaryFile(/tmp/multipartBody3333130514794906464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550924516,"filename":"image_25112025_21_20_00_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/1/71a000a073b185ae1cd4965add0e96c1.jpg","text":"TemporaryFile(/tmp/multipartBody1380494057836163813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550924516,"filename":"image_25112025_21_19_55_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/1/55f3cc9f68dd2a0c68c0ebdf9aa25577.jpg","text":"TemporaryFile(/tmp/multipartBody4632086077771459817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550924516,"filename":"image_25112025_21_19_46_3600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397148056","file1":"1397147950","file0":"1397147822","file4":"1397148311","file5":"1397148414","file3":"1397148188"},"map_files_photo_id_array":[{"photo_id":"1397148414","filename":"file5"},{"photo_id":"1397148056","filename":"file2"},{"photo_id":"1397148311","filename":"file4"},{"photo_id":"1397147950","filename":"file1"},{"photo_id":"1397147822","filename":"file0"},{"photo_id":"1397148188","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397147950":["hashtag1","hashtag2"]},{"1397148414":["hashtag1","hashtag2"]},{"1397148188":["hashtag1","hashtag2"]},{"1397148311":["hashtag1","hashtag2"]},{"1397148056":["hashtag1","hashtag2"]},{"1397147822":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397147950, 1397148414, 1397148188, 1397148311, 1397148056, 1397147822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.355366706848145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 02:01:42.785617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_14_2922.jpg', '/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_17_3177.jpg', '/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_20_2751.jpg', '/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_22_2661.jpg', '/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_26_3727.jpg', '/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_29_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_14_2922.jpg
/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_17_3177.jpg
/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_20_2751.jpg
/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_22_2661.jpg
/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_26_3727.jpg
/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_29_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":["1397149071","1397149190","1397148839","1397148973","1397149123","1397148757"],"photo_ids_order":["1397148757","1397148839","1397148973","1397149071","1397149123","1397149190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a4b83ef1f9ff28afce164772971d37d2.jpg","text":"TemporaryFile(/tmp/multipartBody1216951472534101805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550963619,"filename":"image_01112025_00_16_22_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d32cc5de42d481169a7ddcf01b3cac1d.jpg","text":"TemporaryFile(/tmp/multipartBody8407645732344932165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550963619,"filename":"image_01112025_00_16_29_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/1/eee76ff0027c6a832a7d7439433db960.jpg","text":"TemporaryFile(/tmp/multipartBody1502942126921545783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550963619,"filename":"image_01112025_00_16_17_3177.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/140ed0caf58fd458bc92e60afe4a9afb.jpg","text":"TemporaryFile(/tmp/multipartBody3284371594450033227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550963619,"filename":"image_01112025_00_16_20_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/1/29e08f2472f858868fe6ec895c3db73c.jpg","text":"TemporaryFile(/tmp/multipartBody4645238988615638119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550963619,"filename":"image_01112025_00_16_26_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2af031a9ec60b85e5d628e12ee6f3835.jpg","text":"TemporaryFile(/tmp/multipartBody248967021361310187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764550963619,"filename":"image_01112025_00_16_14_2922.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397148973","file1":"1397148839","file0":"1397148757","file4":"1397149123","file5":"1397149190","file3":"1397149071"},"map_files_photo_id_array":[{"photo_id":"1397149190","filename":"file5"},{"photo_id":"1397148973","filename":"file2"},{"photo_id":"1397149123","filename":"file4"},{"photo_id":"1397148839","filename":"file1"},{"photo_id":"1397148757","filename":"file0"},{"photo_id":"1397149071","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397149071":["hashtag1","hashtag2"]},{"1397149190":["hashtag1","hashtag2"]},{"1397148839":["hashtag1","hashtag2"]},{"1397148973":["hashtag1","hashtag2"]},{"1397149123":["hashtag1","hashtag2"]},{"1397148757":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397149071, 1397149190, 1397148839, 1397148973, 1397149123, 1397148757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65637922286987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 02:02:22.965436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/00/image_01122025_02_00_44_9621.jpg', '/home/pi/Desktop/images/01122025/02/01/image_01122025_02_01_34_10536.jpg', '/home/pi/Desktop/images/01122025/02/01/image_01122025_02_01_44_9700.jpg', '/home/pi/Desktop/images/01122025/02/01/image_01122025_02_01_54_9719.jpg', '/home/pi/Desktop/images/01122025/02/01/image_01122025_02_02_04_9936.jpg', '/home/pi/Desktop/images/01122025/02/02/image_01122025_02_02_13_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/00/image_01122025_02_00_44_9621.jpg
/home/pi/Desktop/images/01122025/02/01/image_01122025_02_01_34_10536.jpg
/home/pi/Desktop/images/01122025/02/01/image_01122025_02_01_44_9700.jpg
/home/pi/Desktop/images/01122025/02/01/image_01122025_02_01_54_9719.jpg
/home/pi/Desktop/images/01122025/02/01/image_01122025_02_02_04_9936.jpg
/home/pi/Desktop/images/01122025/02/02/image_01122025_02_02_13_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":["1397149545","1397149679","1397149733","1397149610","1397149390","1397149470"],"photo_ids_order":["1397149390","1397149470","1397149545","1397149610","1397149679","1397149733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6d8d33b5e8ce4611ecac7b0dc01a7106.jpg","text":"TemporaryFile(/tmp/multipartBody7131804983464686613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551003689,"filename":"image_01122025_02_01_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/1/36881f163fe7d4bcc88679a8d5ca0f70.jpg","text":"TemporaryFile(/tmp/multipartBody7317206921500824387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551003689,"filename":"image_01122025_02_02_04_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/1/59410a2a4fc80303810f93f9ee901e37.jpg","text":"TemporaryFile(/tmp/multipartBody1252159546671883406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551003689,"filename":"image_01122025_02_02_13_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/1/a7eda3337ff4a5367d707ce49eda2165.jpg","text":"TemporaryFile(/tmp/multipartBody6287878032831668240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551003689,"filename":"image_01122025_02_01_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/1/71f97f3c62dfc923c4f7f726c1a7942e.jpg","text":"TemporaryFile(/tmp/multipartBody4590989639487240726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551003689,"filename":"image_01122025_02_00_44_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/87cd064ecd54a10432eca204a1c45eda.jpg","text":"TemporaryFile(/tmp/multipartBody198521274710519752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551003689,"filename":"image_01122025_02_01_34_10536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397149545","file1":"1397149470","file0":"1397149390","file4":"1397149679","file5":"1397149733","file3":"1397149610"},"map_files_photo_id_array":[{"photo_id":"1397149733","filename":"file5"},{"photo_id":"1397149545","filename":"file2"},{"photo_id":"1397149679","filename":"file4"},{"photo_id":"1397149470","filename":"file1"},{"photo_id":"1397149390","filename":"file0"},{"photo_id":"1397149610","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397149545":["hashtag1","hashtag2"]},{"1397149679":["hashtag1","hashtag2"]},{"1397149733":["hashtag1","hashtag2"]},{"1397149610":["hashtag1","hashtag2"]},{"1397149390":["hashtag1","hashtag2"]},{"1397149470":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397149545, 1397149679, 1397149733, 1397149610, 1397149390, 1397149470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.299585819244385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:03:02.934231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/02/image_01122025_02_02_24_10733.jpg', '/home/pi/Desktop/images/01122025/02/02/image_01122025_02_02_44_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/02/image_01122025_02_02_24_10733.jpg
/home/pi/Desktop/images/01122025/02/02/image_01122025_02_02_44_9748.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397149837","1397149810"],"photo_ids_order":["1397149810","1397149837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7a49d3160de7d7582ceed51419c2048c.jpg","text":"TemporaryFile(/tmp/multipartBody7575780508616289517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551043570,"filename":"image_01122025_02_02_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/1/acab5ff2b621151fa03cf08b9c024fcb.jpg","text":"TemporaryFile(/tmp/multipartBody3958780400665109594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551043570,"filename":"image_01122025_02_02_24_10733.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397149837","file0":"1397149810"},"map_files_photo_id_array":[{"photo_id":"1397149837","filename":"file1"},{"photo_id":"1397149810","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397149837":["hashtag1","hashtag2"]},{"1397149810":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397149837, 1397149810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.675347328186035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 02:03:22.292613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_06_2570.jpg', '/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_09_2687.jpg', '/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_13_3639.jpg', '/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_15_2526.jpg', '/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_19_3565.jpg', '/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_21_2515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_06_2570.jpg
/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_09_2687.jpg
/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_13_3639.jpg
/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_15_2526.jpg
/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_19_3565.jpg
/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_21_2515.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397149959","1397149994","1397149889","1397149883","1397149925","1397150029"],"photo_ids_order":["1397149883","1397149889","1397149925","1397149959","1397149994","1397150029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b71cb4c732a0b929b9ecf415586a6c8f.jpg","text":"TemporaryFile(/tmp/multipartBody5276544564475679094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551063942,"filename":"image_25112025_21_20_15_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e3be4ea368f09c7d618e51b32592f27f.jpg","text":"TemporaryFile(/tmp/multipartBody6547854610308918948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551063942,"filename":"image_25112025_21_20_19_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/990946ab94a3be47d25c6bcc206b9c76.jpg","text":"TemporaryFile(/tmp/multipartBody6473524540928508093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551063942,"filename":"image_25112025_21_20_09_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/1/c4f7b84b01c869a00ae0b95f20421da5.jpg","text":"TemporaryFile(/tmp/multipartBody8516150017473235368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551063942,"filename":"image_25112025_21_20_06_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/1/24946f63e3db80f05d166517775d2291.jpg","text":"TemporaryFile(/tmp/multipartBody3547999387655834992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551063942,"filename":"image_25112025_21_20_13_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0400379cf4beb4e5671fa86c8df006a1.jpg","text":"TemporaryFile(/tmp/multipartBody5935478662262646525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551063942,"filename":"image_25112025_21_20_21_2515.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397149925","file1":"1397149889","file0":"1397149883","file4":"1397149994","file5":"1397150029","file3":"1397149959"},"map_files_photo_id_array":[{"photo_id":"1397150029","filename":"file5"},{"photo_id":"1397149925","filename":"file2"},{"photo_id":"1397149994","filename":"file4"},{"photo_id":"1397149889","filename":"file1"},{"photo_id":"1397149883","filename":"file0"},{"photo_id":"1397149959","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397149959":["hashtag1","hashtag2"]},{"1397149994":["hashtag1","hashtag2"]},{"1397149889":["hashtag1","hashtag2"]},{"1397149883":["hashtag1","hashtag2"]},{"1397149925":["hashtag1","hashtag2"]},{"1397150029":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397149959, 1397149994, 1397149889, 1397149883, 1397149925, 1397150029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0780565738678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:04:03.206705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 02:04:22.542104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_24_2839.jpg', '/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_28_3628.jpg', '/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_30_2699.jpg', '/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_33_2547.jpg', '/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_37_3776.jpg', '/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_39_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_24_2839.jpg
/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_28_3628.jpg
/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_30_2699.jpg
/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_33_2547.jpg
/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_37_3776.jpg
/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_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":["1397150298","1397150225","1397150219","1397150275","1397150239","1397150227"],"photo_ids_order":["1397150219","1397150225","1397150227","1397150239","1397150275","1397150298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1832dbcd577b9f5191379f9b0064aad2.jpg","text":"TemporaryFile(/tmp/multipartBody2746689787580837553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551124189,"filename":"image_25112025_21_20_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/1/7704b5a95786e7278a94054d86ae3b3b.jpg","text":"TemporaryFile(/tmp/multipartBody4721257494627514302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551124189,"filename":"image_25112025_21_20_28_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/1/8832bccb61ef88c8f2c69e8830a0c181.jpg","text":"TemporaryFile(/tmp/multipartBody1436096566257645366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551124189,"filename":"image_25112025_21_20_24_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4a393e105639e0f9cebc84c9159e8575.jpg","text":"TemporaryFile(/tmp/multipartBody346127003780283581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551124189,"filename":"image_25112025_21_20_37_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/1/2f9e9d32570d165d61162d2f0125b583.jpg","text":"TemporaryFile(/tmp/multipartBody2547918710542700017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551124189,"filename":"image_25112025_21_20_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/1/dadfd2b6d20a1e03f41c2370b6719877.jpg","text":"TemporaryFile(/tmp/multipartBody371093972067867369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551124189,"filename":"image_25112025_21_20_30_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150227","file1":"1397150225","file0":"1397150219","file4":"1397150275","file5":"1397150298","file3":"1397150239"},"map_files_photo_id_array":[{"photo_id":"1397150298","filename":"file5"},{"photo_id":"1397150227","filename":"file2"},{"photo_id":"1397150275","filename":"file4"},{"photo_id":"1397150225","filename":"file1"},{"photo_id":"1397150219","filename":"file0"},{"photo_id":"1397150239","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397150298":["hashtag1","hashtag2"]},{"1397150225":["hashtag1","hashtag2"]},{"1397150219":["hashtag1","hashtag2"]},{"1397150275":["hashtag1","hashtag2"]},{"1397150239":["hashtag1","hashtag2"]},{"1397150227":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397150298, 1397150225, 1397150219, 1397150275, 1397150239, 1397150227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94535851478577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:05:02.677530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 02:05:12.149809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_42_2635.jpg', '/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_46_3685.jpg', '/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_48_2569.jpg', '/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_51_2584.jpg', '/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_54_3645.jpg', '/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_57_2509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_42_2635.jpg
/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_46_3685.jpg
/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_48_2569.jpg
/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_51_2584.jpg
/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_54_3645.jpg
/home/pi/Desktop/images/25112025/21/20/image_25112025_21_20_57_2509.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150308","1397150302","1397150310","1397150303","1397150311","1397150305"],"photo_ids_order":["1397150302","1397150303","1397150305","1397150308","1397150310","1397150311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7fff06d6c1c9cdd6c679a93cbaa5d30a.jpg","text":"TemporaryFile(/tmp/multipartBody5768611855825155350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551173769,"filename":"image_25112025_21_20_51_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/1/d466407a7d8df4e1ca401edcd244fb38.jpg","text":"TemporaryFile(/tmp/multipartBody2641780192371456036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551173769,"filename":"image_25112025_21_20_42_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/1/9b19a94893aa18b3655c128335c310a4.jpg","text":"TemporaryFile(/tmp/multipartBody3055499095944519694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551173769,"filename":"image_25112025_21_20_54_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3369d803535d489fc2d1966a28e5ca3d.jpg","text":"TemporaryFile(/tmp/multipartBody244690077779877303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551173769,"filename":"image_25112025_21_20_46_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/1/33616d50476c01bc2f02d049d8f2b809.jpg","text":"TemporaryFile(/tmp/multipartBody7394767394211078710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551173769,"filename":"image_25112025_21_20_57_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/1/9809b48bf752f6c2ac11e5c2a919391a.jpg","text":"TemporaryFile(/tmp/multipartBody6467215265832899554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551173769,"filename":"image_25112025_21_20_48_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150305","file1":"1397150303","file0":"1397150302","file4":"1397150310","file5":"1397150311","file3":"1397150308"},"map_files_photo_id_array":[{"photo_id":"1397150311","filename":"file5"},{"photo_id":"1397150305","filename":"file2"},{"photo_id":"1397150310","filename":"file4"},{"photo_id":"1397150303","filename":"file1"},{"photo_id":"1397150302","filename":"file0"},{"photo_id":"1397150308","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397150308":["hashtag1","hashtag2"]},{"1397150302":["hashtag1","hashtag2"]},{"1397150310":["hashtag1","hashtag2"]},{"1397150303":["hashtag1","hashtag2"]},{"1397150311":["hashtag1","hashtag2"]},{"1397150305":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397150308, 1397150302, 1397150310, 1397150303, 1397150311, 1397150305)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 55.9629442691803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 02:06:13.086285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/20/image_25112025_21_21_01_3708.jpg', '/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_03_2611.jpg', '/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_06_2583.jpg', '/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_09_3650.jpg', '/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_12_2637.jpg', '/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_15_2802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/20/image_25112025_21_21_01_3708.jpg
/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_03_2611.jpg
/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_06_2583.jpg
/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_09_3650.jpg
/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_12_2637.jpg
/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_15_2802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150322","1397150328","1397150330","1397150324","1397150332","1397150326"],"photo_ids_order":["1397150322","1397150324","1397150326","1397150328","1397150330","1397150332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/94ee4980ca0c5c174b66ee1dab51d09f.jpg","text":"TemporaryFile(/tmp/multipartBody1340929282580816290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551234825,"filename":"image_25112025_21_21_01_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6ee590709bd80013732019df1ee8dca7.jpg","text":"TemporaryFile(/tmp/multipartBody3493212665744455461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551234825,"filename":"image_25112025_21_21_09_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/1/4aa2f964de827fbc28c51bb50a7fbf25.jpg","text":"TemporaryFile(/tmp/multipartBody6178679254246737755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551234825,"filename":"image_25112025_21_21_12_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a57ef6fab7a8d345ebf9965ea29841c9.jpg","text":"TemporaryFile(/tmp/multipartBody7908576835202922285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551234825,"filename":"image_25112025_21_21_03_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5de61230bdc88a9f546cd32b1083a0b4.jpg","text":"TemporaryFile(/tmp/multipartBody7712787083738989708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551234825,"filename":"image_25112025_21_21_15_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1e4da7df06c9c91b875412199c6bda5f.jpg","text":"TemporaryFile(/tmp/multipartBody3604797914946737310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551234825,"filename":"image_25112025_21_21_06_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150326","file1":"1397150324","file0":"1397150322","file4":"1397150330","file5":"1397150332","file3":"1397150328"},"map_files_photo_id_array":[{"photo_id":"1397150332","filename":"file5"},{"photo_id":"1397150326","filename":"file2"},{"photo_id":"1397150330","filename":"file4"},{"photo_id":"1397150324","filename":"file1"},{"photo_id":"1397150322","filename":"file0"},{"photo_id":"1397150328","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397150322":["hashtag1","hashtag2"]},{"1397150328":["hashtag1","hashtag2"]},{"1397150330":["hashtag1","hashtag2"]},{"1397150324":["hashtag1","hashtag2"]},{"1397150332":["hashtag1","hashtag2"]},{"1397150326":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397150322, 1397150328, 1397150330, 1397150324, 1397150332, 1397150326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86209154129028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:07:02.816941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/02/image_01122025_02_02_53_9810.jpg', '/home/pi/Desktop/images/01122025/02/04/image_01122025_02_04_14_9610.jpg', '/home/pi/Desktop/images/01122025/02/04/image_01122025_02_04_24_10815.jpg', '/home/pi/Desktop/images/01122025/02/04/image_01122025_02_04_54_10685.jpg', '/home/pi/Desktop/images/01122025/02/05/image_01122025_02_05_24_9665.jpg', '/home/pi/Desktop/images/01122025/02/05/image_01122025_02_05_40_16032.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/02/image_01122025_02_02_53_9810.jpg
/home/pi/Desktop/images/01122025/02/04/image_01122025_02_04_14_9610.jpg
/home/pi/Desktop/images/01122025/02/04/image_01122025_02_04_24_10815.jpg
/home/pi/Desktop/images/01122025/02/04/image_01122025_02_04_54_10685.jpg
/home/pi/Desktop/images/01122025/02/05/image_01122025_02_05_24_9665.jpg
/home/pi/Desktop/images/01122025/02/05/image_01122025_02_05_40_16032.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150335","1397150334","1397150337","1397150339","1397150342","1397150336"],"photo_ids_order":["1397150334","1397150335","1397150336","1397150337","1397150339","1397150342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/56458c71e57894c93257412e21335c79.jpg","text":"TemporaryFile(/tmp/multipartBody1959331662211925409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551283658,"filename":"image_01122025_02_04_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/1/e3561491f4b3be64bb9f7b674d7eb3c7.jpg","text":"TemporaryFile(/tmp/multipartBody2689415362759601824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551283658,"filename":"image_01122025_02_02_53_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/1/cd6a2f5215e3f79a622d49a8137db075.jpg","text":"TemporaryFile(/tmp/multipartBody1187172862228989390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551283658,"filename":"image_01122025_02_04_54_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f2d00ab1e58809c9759ad547e03aa412.jpg","text":"TemporaryFile(/tmp/multipartBody4672413090350175703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551283658,"filename":"image_01122025_02_05_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/1/cf5ddfd424432d69ca13f100e331a02f.jpg","text":"TemporaryFile(/tmp/multipartBody1576944597488355691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551283658,"filename":"image_01122025_02_05_40_16032.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f972c6f7e639c9eb2d9ea104dd7dbb75.jpg","text":"TemporaryFile(/tmp/multipartBody7102073083613287249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551283658,"filename":"image_01122025_02_04_24_10815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150336","file1":"1397150335","file0":"1397150334","file4":"1397150339","file5":"1397150342","file3":"1397150337"},"map_files_photo_id_array":[{"photo_id":"1397150342","filename":"file5"},{"photo_id":"1397150336","filename":"file2"},{"photo_id":"1397150339","filename":"file4"},{"photo_id":"1397150335","filename":"file1"},{"photo_id":"1397150334","filename":"file0"},{"photo_id":"1397150337","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397150335":["hashtag1","hashtag2"]},{"1397150334":["hashtag1","hashtag2"]},{"1397150337":["hashtag1","hashtag2"]},{"1397150339":["hashtag1","hashtag2"]},{"1397150342":["hashtag1","hashtag2"]},{"1397150336":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397150335, 1397150334, 1397150337, 1397150339, 1397150342, 1397150336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88750958442688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 02:07:42.090313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_31_2671.jpg', '/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_38_2685.jpg', '/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_41_2680.jpg', '/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_43_2870.jpg', '/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_46_2929.jpg', '/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_50_3853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_31_2671.jpg
/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_38_2685.jpg
/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_41_2680.jpg
/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_43_2870.jpg
/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_46_2929.jpg
/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_50_3853.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150349","1397150346","1397150345","1397150348","1397150344","1397150347"],"photo_ids_order":["1397150344","1397150345","1397150346","1397150347","1397150348","1397150349"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/eb9d865a6c7061adb7c73fc24f6087bc.jpg","text":"TemporaryFile(/tmp/multipartBody5924749055275584426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551322971,"filename":"image_01112025_00_16_50_3853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e9c7f417ce85cb4a0ffa5c5b0eeabef9.jpg","text":"TemporaryFile(/tmp/multipartBody6195880765591409620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551322971,"filename":"image_01112025_00_16_41_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/1/72526fa1d86343a5f431500473cba7a5.jpg","text":"TemporaryFile(/tmp/multipartBody247622004503501050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551322971,"filename":"image_01112025_00_16_38_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7bf8f8460a7dacc34ecca89f50054a17.jpg","text":"TemporaryFile(/tmp/multipartBody3781407463187536665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551322971,"filename":"image_01112025_00_16_46_2929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e998a2b75fadfc965071d1d1b0ff47f8.jpg","text":"TemporaryFile(/tmp/multipartBody6835235903516019348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551322971,"filename":"image_01112025_00_16_31_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/84319a764978ffe80df95af4089526c8.jpg","text":"TemporaryFile(/tmp/multipartBody7918764558165911134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551322971,"filename":"image_01112025_00_16_43_2870.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150346","file1":"1397150345","file0":"1397150344","file4":"1397150348","file5":"1397150349","file3":"1397150347"},"map_files_photo_id_array":[{"photo_id":"1397150349","filename":"file5"},{"photo_id":"1397150346","filename":"file2"},{"photo_id":"1397150348","filename":"file4"},{"photo_id":"1397150345","filename":"file1"},{"photo_id":"1397150344","filename":"file0"},{"photo_id":"1397150347","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397150349":["hashtag1","hashtag2"]},{"1397150346":["hashtag1","hashtag2"]},{"1397150345":["hashtag1","hashtag2"]},{"1397150348":["hashtag1","hashtag2"]},{"1397150344":["hashtag1","hashtag2"]},{"1397150347":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397150349, 1397150346, 1397150345, 1397150348, 1397150344, 1397150347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.736029863357544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 02:08:22.226280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/05/image_01122025_02_05_44_3926.jpg', '/home/pi/Desktop/images/01122025/02/05/image_01122025_02_05_53_9602.jpg', '/home/pi/Desktop/images/01122025/02/06/image_01122025_02_06_24_9695.jpg', '/home/pi/Desktop/images/01122025/02/08/image_01122025_02_08_34_9804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/05/image_01122025_02_05_44_3926.jpg
/home/pi/Desktop/images/01122025/02/05/image_01122025_02_05_53_9602.jpg
/home/pi/Desktop/images/01122025/02/06/image_01122025_02_06_24_9695.jpg
/home/pi/Desktop/images/01122025/02/08/image_01122025_02_08_34_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":["1397150357","1397150351","1397150356","1397150353"],"photo_ids_order":["1397150351","1397150353","1397150356","1397150357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4dde4d99d41e625cd5478555b7d85f99.jpg","text":"TemporaryFile(/tmp/multipartBody1715768224220022861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551362864,"filename":"image_01122025_02_08_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/1/7e01aade9858af0ebf2f96651529dc92.jpg","text":"TemporaryFile(/tmp/multipartBody8959439679140697203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551362864,"filename":"image_01122025_02_05_44_3926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ee1ca1a5e8415763fc0412b58e824692.jpg","text":"TemporaryFile(/tmp/multipartBody1395175512955176860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551362864,"filename":"image_01122025_02_06_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/1/f5e5f64294d7f52c883fdb47d142c51f.jpg","text":"TemporaryFile(/tmp/multipartBody4620396907245133815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551362864,"filename":"image_01122025_02_05_53_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150356","file1":"1397150353","file0":"1397150351","file3":"1397150357"},"map_files_photo_id_array":[{"photo_id":"1397150356","filename":"file2"},{"photo_id":"1397150353","filename":"file1"},{"photo_id":"1397150351","filename":"file0"},{"photo_id":"1397150357","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397150357":["hashtag1","hashtag2"]},{"1397150351":["hashtag1","hashtag2"]},{"1397150356":["hashtag1","hashtag2"]},{"1397150353":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397150357, 1397150351, 1397150356, 1397150353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.4675509929657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:09:03.252447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_27_2652.jpg', '/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_30_2617.jpg', '/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_34_3729.jpg', '/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_36_2655.jpg', '/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_39_2510.jpg', '/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_42_3540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_27_2652.jpg
/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_30_2617.jpg
/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_34_3729.jpg
/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_36_2655.jpg
/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_39_2510.jpg
/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_42_3540.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150382","1397150376","1397150375","1397150378","1397150380","1397150374"],"photo_ids_order":["1397150374","1397150375","1397150376","1397150378","1397150380","1397150382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6544dab0bd5c802784901c63e01a110b.jpg","text":"TemporaryFile(/tmp/multipartBody452512289851450908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551404544,"filename":"image_25112025_21_21_42_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/1/893d0ecf7584c46dc6565bff303a3c64.jpg","text":"TemporaryFile(/tmp/multipartBody5856021622396808342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551404544,"filename":"image_25112025_21_21_34_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/740a9d71ed9d46baf3770591c910ffff.jpg","text":"TemporaryFile(/tmp/multipartBody7088894211067328530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551404544,"filename":"image_25112025_21_21_30_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/1/5d97a24b5968f6caae8421cce01e03f6.jpg","text":"TemporaryFile(/tmp/multipartBody2499406426609888930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551404544,"filename":"image_25112025_21_21_36_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/1/25bb198f8a338a34ce6c3d7bd7baa7bb.jpg","text":"TemporaryFile(/tmp/multipartBody3633390230773446244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551404544,"filename":"image_25112025_21_21_39_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/1/0f847bedc872ebeeb549c54a6291b379.jpg","text":"TemporaryFile(/tmp/multipartBody1669604896253267614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551404544,"filename":"image_25112025_21_21_27_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150376","file1":"1397150375","file0":"1397150374","file4":"1397150380","file5":"1397150382","file3":"1397150378"},"map_files_photo_id_array":[{"photo_id":"1397150382","filename":"file5"},{"photo_id":"1397150376","filename":"file2"},{"photo_id":"1397150380","filename":"file4"},{"photo_id":"1397150375","filename":"file1"},{"photo_id":"1397150374","filename":"file0"},{"photo_id":"1397150378","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397150382":["hashtag1","hashtag2"]},{"1397150376":["hashtag1","hashtag2"]},{"1397150375":["hashtag1","hashtag2"]},{"1397150378":["hashtag1","hashtag2"]},{"1397150380":["hashtag1","hashtag2"]},{"1397150374":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397150382, 1397150376, 1397150375, 1397150378, 1397150380, 1397150374)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.614245653152466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:10:02.987169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/08/image_01122025_02_08_44_10619.jpg', '/home/pi/Desktop/images/01122025/02/09/image_01122025_02_09_24_9823.jpg', '/home/pi/Desktop/images/01122025/02/09/image_01122025_02_09_34_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/08/image_01122025_02_08_44_10619.jpg
/home/pi/Desktop/images/01122025/02/09/image_01122025_02_09_24_9823.jpg
/home/pi/Desktop/images/01122025/02/09/image_01122025_02_09_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":["1397150385","1397150384","1397150383"],"photo_ids_order":["1397150383","1397150384","1397150385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d2a2da98a19a01257e86defaa8146f42.jpg","text":"TemporaryFile(/tmp/multipartBody1742897555464430983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551463646,"filename":"image_01122025_02_09_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/1/dcd222d32dee48e52c041ecbae45eef8.jpg","text":"TemporaryFile(/tmp/multipartBody8237565044111396082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551463646,"filename":"image_01122025_02_09_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/1/af2605ed9a89acb247e3e4f0ce3a473f.jpg","text":"TemporaryFile(/tmp/multipartBody7898284536723379669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551463646,"filename":"image_01122025_02_08_44_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150385","file1":"1397150384","file0":"1397150383"},"map_files_photo_id_array":[{"photo_id":"1397150385","filename":"file2"},{"photo_id":"1397150384","filename":"file1"},{"photo_id":"1397150383","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397150385":["hashtag1","hashtag2"]},{"1397150384":["hashtag1","hashtag2"]},{"1397150383":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397150385, 1397150384, 1397150383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.519507884979248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 02:10:32.676651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_45_2826.jpg', '/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_48_2543.jpg', '/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_51_3659.jpg', '/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_57_3226.jpg', '/home/pi/Desktop/images/25112025/21/21/image_25112025_21_22_00_2724.jpg', '/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_03_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_45_2826.jpg
/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_48_2543.jpg
/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_51_3659.jpg
/home/pi/Desktop/images/25112025/21/21/image_25112025_21_21_57_3226.jpg
/home/pi/Desktop/images/25112025/21/21/image_25112025_21_22_00_2724.jpg
/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_03_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150397","1397150394","1397150396","1397150390","1397150392","1397150395"],"photo_ids_order":["1397150390","1397150392","1397150394","1397150395","1397150396","1397150397"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d1d154ba94e14175e8e564746f72e039.jpg","text":"TemporaryFile(/tmp/multipartBody8751202486764504526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551494406,"filename":"image_25112025_21_22_03_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d47b5ff166571a48691da079d301df16.jpg","text":"TemporaryFile(/tmp/multipartBody3718105519600176207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551494406,"filename":"image_25112025_21_21_51_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/1/5acc862fafd99774470a48b0c5c593c3.jpg","text":"TemporaryFile(/tmp/multipartBody6023783372774095538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551494406,"filename":"image_25112025_21_22_00_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/73f98bd4948f8ee31c51bfbb6d2bd124.jpg","text":"TemporaryFile(/tmp/multipartBody2716038038643356707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551494406,"filename":"image_25112025_21_21_45_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/273210b1d100b03cdf348e63e5eec25a.jpg","text":"TemporaryFile(/tmp/multipartBody5360094337697404695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551494406,"filename":"image_25112025_21_21_48_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3aa33e879ce16325b92e4d6a81237b3c.jpg","text":"TemporaryFile(/tmp/multipartBody4679659087658238067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551494406,"filename":"image_25112025_21_21_57_3226.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150394","file1":"1397150392","file0":"1397150390","file4":"1397150396","file5":"1397150397","file3":"1397150395"},"map_files_photo_id_array":[{"photo_id":"1397150397","filename":"file5"},{"photo_id":"1397150394","filename":"file2"},{"photo_id":"1397150396","filename":"file4"},{"photo_id":"1397150392","filename":"file1"},{"photo_id":"1397150390","filename":"file0"},{"photo_id":"1397150395","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397150397":["hashtag1","hashtag2"]},{"1397150394":["hashtag1","hashtag2"]},{"1397150396":["hashtag1","hashtag2"]},{"1397150390":["hashtag1","hashtag2"]},{"1397150392":["hashtag1","hashtag2"]},{"1397150395":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397150397, 1397150394, 1397150396, 1397150390, 1397150392, 1397150395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09892988204956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 02:11:21.873486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/09/image_01122025_02_09_44_9779.jpg', '/home/pi/Desktop/images/01122025/02/10/image_01122025_02_10_14_9687.jpg', '/home/pi/Desktop/images/01122025/02/10/image_01122025_02_10_24_10653.jpg', '/home/pi/Desktop/images/01122025/02/10/image_01122025_02_10_44_9676.jpg', '/home/pi/Desktop/images/01122025/02/10/image_01122025_02_11_04_9764.jpg', '/home/pi/Desktop/images/01122025/02/11/image_01122025_02_11_14_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/09/image_01122025_02_09_44_9779.jpg
/home/pi/Desktop/images/01122025/02/10/image_01122025_02_10_14_9687.jpg
/home/pi/Desktop/images/01122025/02/10/image_01122025_02_10_24_10653.jpg
/home/pi/Desktop/images/01122025/02/10/image_01122025_02_10_44_9676.jpg
/home/pi/Desktop/images/01122025/02/10/image_01122025_02_11_04_9764.jpg
/home/pi/Desktop/images/01122025/02/11/image_01122025_02_11_14_9728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150403","1397150406","1397150400","1397150402","1397150405","1397150404"],"photo_ids_order":["1397150400","1397150402","1397150403","1397150404","1397150405","1397150406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/29c3451c00b8d9e094034944a560181f.jpg","text":"TemporaryFile(/tmp/multipartBody7890462178844745786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551542629,"filename":"image_01122025_02_10_24_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/370c23dfcdeb40598f0490269da73d90.jpg","text":"TemporaryFile(/tmp/multipartBody9137158764411313937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551542629,"filename":"image_01122025_02_11_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/1/67f37af19925b3d163aa4fbe34d14428.jpg","text":"TemporaryFile(/tmp/multipartBody2191343832914880297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551542629,"filename":"image_01122025_02_09_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/1/e2a86838d3c014b72c513db96213650a.jpg","text":"TemporaryFile(/tmp/multipartBody4067449088048403231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551542629,"filename":"image_01122025_02_10_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/1/c270090cea3505e1945f8e17b9717417.jpg","text":"TemporaryFile(/tmp/multipartBody3199098311545009782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551542629,"filename":"image_01122025_02_11_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/1/7e137d5655ff808defad99603ed4e60d.jpg","text":"TemporaryFile(/tmp/multipartBody3824412997182706829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551542629,"filename":"image_01122025_02_10_44_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150403","file1":"1397150402","file0":"1397150400","file4":"1397150405","file5":"1397150406","file3":"1397150404"},"map_files_photo_id_array":[{"photo_id":"1397150406","filename":"file5"},{"photo_id":"1397150403","filename":"file2"},{"photo_id":"1397150405","filename":"file4"},{"photo_id":"1397150402","filename":"file1"},{"photo_id":"1397150400","filename":"file0"},{"photo_id":"1397150404","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397150403":["hashtag1","hashtag2"]},{"1397150406":["hashtag1","hashtag2"]},{"1397150400":["hashtag1","hashtag2"]},{"1397150402":["hashtag1","hashtag2"]},{"1397150405":["hashtag1","hashtag2"]},{"1397150404":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397150403, 1397150406, 1397150400, 1397150402, 1397150405, 1397150404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80656123161316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:12:02.486521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/11/image_01122025_02_11_34_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/11/image_01122025_02_11_34_10617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150435"],"photo_id":"1397150435","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f567a8007cffd2b1f0ccce917877bf5f.jpg","text":"TemporaryFile(/tmp/multipartBody3230954922929507378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551583022,"filename":"image_01122025_02_11_34_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1397150435"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1397150435"}],"hashtags":[],"portfolio_id":"29033749","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.799728631973267 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 02:12:22.089023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/11/image_01122025_02_11_44_9762.jpg', '/home/pi/Desktop/images/01122025/02/12/image_01122025_02_12_04_10131.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/11/image_01122025_02_11_44_9762.jpg
/home/pi/Desktop/images/01122025/02/12/image_01122025_02_12_04_10131.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.464998722076416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 02:12:32.176333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_10_1789.jpg', '/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_12_2563.jpg', '/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_15_2583.jpg', '/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_18_2620.jpg', '/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_21_3649.jpg', '/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_24_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_10_1789.jpg
/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_12_2563.jpg
/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_15_2583.jpg
/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_18_2620.jpg
/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_21_3649.jpg
/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_24_2703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150448","1397150445","1397150444","1397150447","1397150443","1397150446"],"photo_ids_order":["1397150443","1397150444","1397150445","1397150446","1397150447","1397150448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f5d64bbc4edd00afad9731ae3a7f1884.jpg","text":"TemporaryFile(/tmp/multipartBody5628145394969293778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551623674,"filename":"image_25112025_21_22_24_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/1/b3630da1fec575cc63932ba3ea8ff66a.jpg","text":"TemporaryFile(/tmp/multipartBody5289595256313775843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551623674,"filename":"image_25112025_21_22_15_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4494ffacb0cf995032d8df74d80ef5b7.jpg","text":"TemporaryFile(/tmp/multipartBody1472191032936297279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551623674,"filename":"image_25112025_21_22_12_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/1/91056233d70279bc2a0c021e6833805c.jpg","text":"TemporaryFile(/tmp/multipartBody3328873870975252411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551623674,"filename":"image_25112025_21_22_21_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8b232c9793f025b47a2c4873978cb3e3.jpg","text":"TemporaryFile(/tmp/multipartBody5513927140324123502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551623674,"filename":"image_25112025_21_22_10_1789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6f25a3b9dca64cefab0af7badab1d53c.jpg","text":"TemporaryFile(/tmp/multipartBody8195369224844963864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551623674,"filename":"image_25112025_21_22_18_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150445","file1":"1397150444","file0":"1397150443","file4":"1397150447","file5":"1397150448","file3":"1397150446"},"map_files_photo_id_array":[{"photo_id":"1397150448","filename":"file5"},{"photo_id":"1397150445","filename":"file2"},{"photo_id":"1397150447","filename":"file4"},{"photo_id":"1397150444","filename":"file1"},{"photo_id":"1397150443","filename":"file0"},{"photo_id":"1397150446","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397150448":["hashtag1","hashtag2"]},{"1397150445":["hashtag1","hashtag2"]},{"1397150444":["hashtag1","hashtag2"]},{"1397150447":["hashtag1","hashtag2"]},{"1397150443":["hashtag1","hashtag2"]},{"1397150446":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397150448, 1397150445, 1397150444, 1397150447, 1397150443, 1397150446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.60279417037964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 02:13:22.103620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/11/image_01122025_02_11_44_9762.jpg', '/home/pi/Desktop/images/01122025/02/12/image_01122025_02_12_04_10131.jpg', '/home/pi/Desktop/images/01122025/02/12/image_01122025_02_12_54_10749.jpg', '/home/pi/Desktop/images/01122025/02/13/image_01122025_02_13_14_9755.jpg', '/home/pi/Desktop/images/01122025/02/13/image_01122025_02_13_24_9856.jpg', '/home/pi/Desktop/images/01122025/02/13/image_01122025_02_13_33_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/11/image_01122025_02_11_44_9762.jpg
/home/pi/Desktop/images/01122025/02/12/image_01122025_02_12_04_10131.jpg
/home/pi/Desktop/images/01122025/02/12/image_01122025_02_12_54_10749.jpg
/home/pi/Desktop/images/01122025/02/13/image_01122025_02_13_14_9755.jpg
/home/pi/Desktop/images/01122025/02/13/image_01122025_02_13_24_9856.jpg
/home/pi/Desktop/images/01122025/02/13/image_01122025_02_13_33_9725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150451","1397150457","1397150456","1397150453","1397150455","1397150458"],"photo_ids_order":["1397150451","1397150453","1397150455","1397150456","1397150457","1397150458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ba30454fab64fcb7baa226604966aab7.jpg","text":"TemporaryFile(/tmp/multipartBody6577640405760941052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551662829,"filename":"image_01122025_02_11_44_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/161a6c59bff1ffc55c44d41ec008da12.jpg","text":"TemporaryFile(/tmp/multipartBody1252096987303713505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551662829,"filename":"image_01122025_02_13_24_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/14745dcf17f950e27d804b16f7177053.jpg","text":"TemporaryFile(/tmp/multipartBody308082395292997503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551662829,"filename":"image_01122025_02_13_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/1/6489088ded88f750c05d7a7ef7bd88fd.jpg","text":"TemporaryFile(/tmp/multipartBody943143933338780493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551662829,"filename":"image_01122025_02_12_04_10131.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5c278eb84e3c761d482a9cf439360e91.jpg","text":"TemporaryFile(/tmp/multipartBody5624217271614602602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551662829,"filename":"image_01122025_02_12_54_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fc0d8597a7bc7aa71fbf40caf3b8209f.jpg","text":"TemporaryFile(/tmp/multipartBody3929284754431669046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551662829,"filename":"image_01122025_02_13_33_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150455","file1":"1397150453","file0":"1397150451","file4":"1397150457","file5":"1397150458","file3":"1397150456"},"map_files_photo_id_array":[{"photo_id":"1397150458","filename":"file5"},{"photo_id":"1397150455","filename":"file2"},{"photo_id":"1397150457","filename":"file4"},{"photo_id":"1397150453","filename":"file1"},{"photo_id":"1397150451","filename":"file0"},{"photo_id":"1397150456","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397150451":["hashtag1","hashtag2"]},{"1397150457":["hashtag1","hashtag2"]},{"1397150456":["hashtag1","hashtag2"]},{"1397150453":["hashtag1","hashtag2"]},{"1397150455":["hashtag1","hashtag2"]},{"1397150458":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397150451, 1397150457, 1397150456, 1397150453, 1397150455, 1397150458)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.35568428039551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 02:14:12.523942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_27_2647.jpg', '/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_30_3288.jpg', '/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_33_2669.jpg', '/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_40_7070.jpg', '/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_41_1491.jpg', '/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_43_1787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_27_2647.jpg
/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_30_3288.jpg
/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_33_2669.jpg
/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_40_7070.jpg
/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_41_1491.jpg
/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_43_1787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150472","1397150460","1397150462","1397150465","1397150467","1397150470"],"photo_ids_order":["1397150460","1397150462","1397150465","1397150467","1397150470","1397150472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4ae25c86d7a93699b68c9fda84ba38fd.jpg","text":"TemporaryFile(/tmp/multipartBody6044345329010453680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551716161,"filename":"image_25112025_21_22_43_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/1/76692b4b72a156a8cdd718524b3963af.jpg","text":"TemporaryFile(/tmp/multipartBody6549603072307955873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551716161,"filename":"image_25112025_21_22_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/1/61f26641aaded66d506e4babe193a87b.jpg","text":"TemporaryFile(/tmp/multipartBody3951097305436646094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551716161,"filename":"image_25112025_21_22_30_3288.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b128078d9d20e23ff3062f9f2600c02d.jpg","text":"TemporaryFile(/tmp/multipartBody9662827583226039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551716161,"filename":"image_25112025_21_22_33_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/1/44b0b55fdd905777271f4b97c90c2968.jpg","text":"TemporaryFile(/tmp/multipartBody6382465772347757232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551716161,"filename":"image_25112025_21_22_40_7070.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2cae54fc022cf5e43a1343f809ab0c7b.jpg","text":"TemporaryFile(/tmp/multipartBody4051468588873800698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551716161,"filename":"image_25112025_21_22_41_1491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150465","file1":"1397150462","file0":"1397150460","file4":"1397150470","file5":"1397150472","file3":"1397150467"},"map_files_photo_id_array":[{"photo_id":"1397150472","filename":"file5"},{"photo_id":"1397150465","filename":"file2"},{"photo_id":"1397150470","filename":"file4"},{"photo_id":"1397150462","filename":"file1"},{"photo_id":"1397150460","filename":"file0"},{"photo_id":"1397150467","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397150472":["hashtag1","hashtag2"]},{"1397150460":["hashtag1","hashtag2"]},{"1397150462":["hashtag1","hashtag2"]},{"1397150465":["hashtag1","hashtag2"]},{"1397150467":["hashtag1","hashtag2"]},{"1397150470":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397150472, 1397150460, 1397150462, 1397150465, 1397150467, 1397150470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.64191484451294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:15:02.629290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/13/image_01122025_02_13_44_10784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/13/image_01122025_02_13_44_10784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397150497"],"photo_id":"1397150497","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/aef764bd4d371eabf67090b67f512f3e.jpg","text":"TemporaryFile(/tmp/multipartBody6722439993349452514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551767736,"filename":"image_01122025_02_13_44_10784.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1397150497"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1397150497"}],"hashtags":[],"portfolio_id":"29033749","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 23.20486307144165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 02:15:32.112095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_48_2618.jpg', '/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_53_5221.jpg', '/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_02_8799.jpg', '/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_04_1543.jpg', '/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_08_4358.jpg', '/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_10_1559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_48_2618.jpg
/home/pi/Desktop/images/25112025/21/22/image_25112025_21_22_53_5221.jpg
/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_02_8799.jpg
/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_04_1543.jpg
/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_08_4358.jpg
/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_10_1559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150506","1397150502","1397150505","1397150507","1397150504","1397150503"],"photo_ids_order":["1397150502","1397150503","1397150504","1397150505","1397150506","1397150507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9f5e17122495f674bec7f53d16b78208.jpg","text":"TemporaryFile(/tmp/multipartBody6186312747979441488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551807081,"filename":"image_25112025_21_23_08_4358.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cce39fab7ae772486e63e91117d79cdf.jpg","text":"TemporaryFile(/tmp/multipartBody1249450205130147522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551807081,"filename":"image_25112025_21_22_48_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/1/04df577f8126fbd015fb89c131fa39a0.jpg","text":"TemporaryFile(/tmp/multipartBody2862459883317085926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551807081,"filename":"image_25112025_21_23_04_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/1/a31d2fe2e2585f6159f311db737cc81d.jpg","text":"TemporaryFile(/tmp/multipartBody9147433131487129225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551807081,"filename":"image_25112025_21_23_10_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/1/51ee25735e565f2836574c36d277adb2.jpg","text":"TemporaryFile(/tmp/multipartBody5503735595130843379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551807081,"filename":"image_25112025_21_23_02_8799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9e938d5f50cda40a9db6d804c7343349.jpg","text":"TemporaryFile(/tmp/multipartBody1785425357267098439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551807081,"filename":"image_25112025_21_22_53_5221.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150504","file1":"1397150503","file0":"1397150502","file4":"1397150506","file5":"1397150507","file3":"1397150505"},"map_files_photo_id_array":[{"photo_id":"1397150507","filename":"file5"},{"photo_id":"1397150504","filename":"file2"},{"photo_id":"1397150506","filename":"file4"},{"photo_id":"1397150503","filename":"file1"},{"photo_id":"1397150502","filename":"file0"},{"photo_id":"1397150505","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397150506":["hashtag1","hashtag2"]},{"1397150502":["hashtag1","hashtag2"]},{"1397150505":["hashtag1","hashtag2"]},{"1397150507":["hashtag1","hashtag2"]},{"1397150504":["hashtag1","hashtag2"]},{"1397150503":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397150506, 1397150502, 1397150505, 1397150507, 1397150504, 1397150503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.74989032745361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 02:16:22.804041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/13/image_01122025_02_13_54_9580.jpg', '/home/pi/Desktop/images/01122025/02/14/image_01122025_02_14_14_10022.jpg', '/home/pi/Desktop/images/01122025/02/14/image_01122025_02_14_34_10847.jpg', '/home/pi/Desktop/images/01122025/02/14/image_01122025_02_14_54_9782.jpg', '/home/pi/Desktop/images/01122025/02/14/image_01122025_02_15_04_9806.jpg', '/home/pi/Desktop/images/01122025/02/15/image_01122025_02_15_14_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/13/image_01122025_02_13_54_9580.jpg
/home/pi/Desktop/images/01122025/02/14/image_01122025_02_14_14_10022.jpg
/home/pi/Desktop/images/01122025/02/14/image_01122025_02_14_34_10847.jpg
/home/pi/Desktop/images/01122025/02/14/image_01122025_02_14_54_9782.jpg
/home/pi/Desktop/images/01122025/02/14/image_01122025_02_15_04_9806.jpg
/home/pi/Desktop/images/01122025/02/15/image_01122025_02_15_14_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":["1397150512","1397150514","1397150519","1397150510","1397150516","1397150518"],"photo_ids_order":["1397150510","1397150512","1397150514","1397150516","1397150518","1397150519"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b0b2ab9e8efd0fbf807b5923b644fb68.jpg","text":"TemporaryFile(/tmp/multipartBody4062897185373980795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551843568,"filename":"image_01122025_02_14_14_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/1/c69790e493b54320eb7884c554c1d133.jpg","text":"TemporaryFile(/tmp/multipartBody6355906470459038750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551843568,"filename":"image_01122025_02_14_34_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/1/43b4044fc91753cce53ca4303b62cac3.jpg","text":"TemporaryFile(/tmp/multipartBody5550952436112921868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551843568,"filename":"image_01122025_02_15_14_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/1/5a33c31f335584c49606967c35d6946f.jpg","text":"TemporaryFile(/tmp/multipartBody7651169521621588626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551843568,"filename":"image_01122025_02_13_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/1/d772fb8ce2db4a234098abdf84efa46d.jpg","text":"TemporaryFile(/tmp/multipartBody9051948046972582934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551843568,"filename":"image_01122025_02_14_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/1/975f750a3d980e1729d129a29d90cb82.jpg","text":"TemporaryFile(/tmp/multipartBody8741197635121820921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551843568,"filename":"image_01122025_02_15_04_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150514","file1":"1397150512","file0":"1397150510","file4":"1397150518","file5":"1397150519","file3":"1397150516"},"map_files_photo_id_array":[{"photo_id":"1397150519","filename":"file5"},{"photo_id":"1397150514","filename":"file2"},{"photo_id":"1397150518","filename":"file4"},{"photo_id":"1397150512","filename":"file1"},{"photo_id":"1397150510","filename":"file0"},{"photo_id":"1397150516","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397150512":["hashtag1","hashtag2"]},{"1397150514":["hashtag1","hashtag2"]},{"1397150519":["hashtag1","hashtag2"]},{"1397150510":["hashtag1","hashtag2"]},{"1397150516":["hashtag1","hashtag2"]},{"1397150518":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397150512, 1397150514, 1397150519, 1397150510, 1397150516, 1397150518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26002502441406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:17:02.617487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/15/image_01122025_02_15_24_9828.jpg', '/home/pi/Desktop/images/01122025/02/15/image_01122025_02_15_34_9635.jpg', '/home/pi/Desktop/images/01122025/02/15/image_01122025_02_15_43_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/15/image_01122025_02_15_24_9828.jpg
/home/pi/Desktop/images/01122025/02/15/image_01122025_02_15_34_9635.jpg
/home/pi/Desktop/images/01122025/02/15/image_01122025_02_15_43_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":["1397150520","1397150522","1397150521"],"photo_ids_order":["1397150520","1397150521","1397150522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/20766351abda56c89b37d95b23ef3833.jpg","text":"TemporaryFile(/tmp/multipartBody878831383221307956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551883293,"filename":"image_01122025_02_15_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/1/ad6f8812d57fe65e9dd906e20a964bda.jpg","text":"TemporaryFile(/tmp/multipartBody7226736504699927592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551883293,"filename":"image_01122025_02_15_43_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/1/1213811386d38690f91d5f98c90d3e00.jpg","text":"TemporaryFile(/tmp/multipartBody9212731946715288392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551883293,"filename":"image_01122025_02_15_34_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150522","file1":"1397150521","file0":"1397150520"},"map_files_photo_id_array":[{"photo_id":"1397150522","filename":"file2"},{"photo_id":"1397150521","filename":"file1"},{"photo_id":"1397150520","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397150520":["hashtag1","hashtag2"]},{"1397150522":["hashtag1","hashtag2"]},{"1397150521":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397150520, 1397150522, 1397150521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.2840793132782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 02:17:31.996494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_11_1724.jpg', '/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_15_2259.jpg', '/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_17_1587.jpg', '/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_23_6273.jpg', '/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_29_1575.jpg', '/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_39_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_11_1724.jpg
/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_15_2259.jpg
/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_17_1587.jpg
/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_23_6273.jpg
/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_29_1575.jpg
/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_39_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":["1397150533","1397150527","1397150532","1397150531","1397150528","1397150530"],"photo_ids_order":["1397150527","1397150528","1397150530","1397150531","1397150532","1397150533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/262541022c20e7a8745fcdf5d5d1938f.jpg","text":"TemporaryFile(/tmp/multipartBody3089563279532849448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551913741,"filename":"image_25112025_21_23_39_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/1/5833c7486bd23685c443cc5dfd7e3873.jpg","text":"TemporaryFile(/tmp/multipartBody3511973701841293512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551913741,"filename":"image_25112025_21_23_11_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/1/12deacfa2f5f4fe8cb6425ae670adc6b.jpg","text":"TemporaryFile(/tmp/multipartBody1418392380649690980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551913741,"filename":"image_25112025_21_23_29_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/1/31c31d9d9e064808f93774af8c2f35bd.jpg","text":"TemporaryFile(/tmp/multipartBody2977045123875661565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551913741,"filename":"image_25112025_21_23_23_6273.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fe5fc70c410433bdcef8f286b6e5da88.jpg","text":"TemporaryFile(/tmp/multipartBody1626972647834476295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551913741,"filename":"image_25112025_21_23_15_2259.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5ac9814464600d571a9b88a9834de6f9.jpg","text":"TemporaryFile(/tmp/multipartBody3443345916503198836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551913741,"filename":"image_25112025_21_23_17_1587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150530","file1":"1397150528","file0":"1397150527","file4":"1397150532","file5":"1397150533","file3":"1397150531"},"map_files_photo_id_array":[{"photo_id":"1397150533","filename":"file5"},{"photo_id":"1397150530","filename":"file2"},{"photo_id":"1397150532","filename":"file4"},{"photo_id":"1397150528","filename":"file1"},{"photo_id":"1397150527","filename":"file0"},{"photo_id":"1397150531","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397150533":["hashtag1","hashtag2"]},{"1397150527":["hashtag1","hashtag2"]},{"1397150532":["hashtag1","hashtag2"]},{"1397150531":["hashtag1","hashtag2"]},{"1397150528":["hashtag1","hashtag2"]},{"1397150530":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397150533, 1397150527, 1397150532, 1397150531, 1397150528, 1397150530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70662713050842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 02:18:12.103597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_41_1789.jpg', '/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_42_1618.jpg', '/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_47_1807.jpg', '/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_49_1526.jpg', '/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_50_1571.jpg', '/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_57_2515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_41_1789.jpg
/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_42_1618.jpg
/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_47_1807.jpg
/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_49_1526.jpg
/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_50_1571.jpg
/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_57_2515.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7882099151611328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 02:18:22.142731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/15/image_01122025_02_15_54_10458.jpg', '/home/pi/Desktop/images/01122025/02/15/image_01122025_02_16_03_9604.jpg', '/home/pi/Desktop/images/01122025/02/16/image_01122025_02_16_24_9670.jpg', '/home/pi/Desktop/images/01122025/02/16/image_01122025_02_16_44_10886.jpg', '/home/pi/Desktop/images/01122025/02/17/image_01122025_02_17_14_9878.jpg', '/home/pi/Desktop/images/01122025/02/17/image_01122025_02_17_24_10844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/15/image_01122025_02_15_54_10458.jpg
/home/pi/Desktop/images/01122025/02/15/image_01122025_02_16_03_9604.jpg
/home/pi/Desktop/images/01122025/02/16/image_01122025_02_16_24_9670.jpg
/home/pi/Desktop/images/01122025/02/16/image_01122025_02_16_44_10886.jpg
/home/pi/Desktop/images/01122025/02/17/image_01122025_02_17_14_9878.jpg
/home/pi/Desktop/images/01122025/02/17/image_01122025_02_17_24_10844.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150550","1397150547","1397150541","1397150544","1397150537","1397150549"],"photo_ids_order":["1397150537","1397150541","1397150544","1397150547","1397150549","1397150550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d55b7d94b471df24e6163e6ee35e9608.jpg","text":"TemporaryFile(/tmp/multipartBody6382172928488977792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551962903,"filename":"image_01122025_02_17_24_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/1/1e2aa4dee9edea21c64eaf4748f4cdfa.jpg","text":"TemporaryFile(/tmp/multipartBody5932037648953281567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551962903,"filename":"image_01122025_02_16_44_10886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f16a1aa0f3940dec6b9cb5cde6dfc19c.jpg","text":"TemporaryFile(/tmp/multipartBody6688183523826014145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551962903,"filename":"image_01122025_02_16_03_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/1/62cfe0b07ef1e76c3349ac3030a3a798.jpg","text":"TemporaryFile(/tmp/multipartBody6455713898984380029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551962903,"filename":"image_01122025_02_16_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/1/9e068f84dc6a24422170b9ac25892c76.jpg","text":"TemporaryFile(/tmp/multipartBody4121391399226793038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551962903,"filename":"image_01122025_02_15_54_10458.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b044c49b8b9e0d283f0ca9543f989067.jpg","text":"TemporaryFile(/tmp/multipartBody7782872724948094717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764551962903,"filename":"image_01122025_02_17_14_9878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150544","file1":"1397150541","file0":"1397150537","file4":"1397150549","file5":"1397150550","file3":"1397150547"},"map_files_photo_id_array":[{"photo_id":"1397150550","filename":"file5"},{"photo_id":"1397150544","filename":"file2"},{"photo_id":"1397150549","filename":"file4"},{"photo_id":"1397150541","filename":"file1"},{"photo_id":"1397150537","filename":"file0"},{"photo_id":"1397150547","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397150550":["hashtag1","hashtag2"]},{"1397150547":["hashtag1","hashtag2"]},{"1397150541":["hashtag1","hashtag2"]},{"1397150544":["hashtag1","hashtag2"]},{"1397150537":["hashtag1","hashtag2"]},{"1397150549":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397150550, 1397150547, 1397150541, 1397150544, 1397150537, 1397150549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58236861228943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:19:03.314440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/17/image_01122025_02_17_34_9734.jpg', '/home/pi/Desktop/images/01122025/02/17/image_01122025_02_17_54_10359.jpg', '/home/pi/Desktop/images/01122025/02/17/image_01122025_02_18_04_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/17/image_01122025_02_17_34_9734.jpg
/home/pi/Desktop/images/01122025/02/17/image_01122025_02_17_54_10359.jpg
/home/pi/Desktop/images/01122025/02/17/image_01122025_02_18_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":["1397150553","1397150552","1397150554"],"photo_ids_order":["1397150552","1397150553","1397150554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7d23cbbc606ff1f7195789c50eed9965.jpg","text":"TemporaryFile(/tmp/multipartBody5544134518010321423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552009003,"filename":"image_01122025_02_17_54_10359.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ac09722284052d71c264d54edf569b5e.jpg","text":"TemporaryFile(/tmp/multipartBody8647824247598427011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552009003,"filename":"image_01122025_02_17_34_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/063155f7bec2c7c57f58b0103cbdc5eb.jpg","text":"TemporaryFile(/tmp/multipartBody4049693076919432330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552009003,"filename":"image_01122025_02_18_04_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150554","file1":"1397150553","file0":"1397150552"},"map_files_photo_id_array":[{"photo_id":"1397150554","filename":"file2"},{"photo_id":"1397150553","filename":"file1"},{"photo_id":"1397150552","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397150553":["hashtag1","hashtag2"]},{"1397150552":["hashtag1","hashtag2"]},{"1397150554":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397150553, 1397150552, 1397150554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 28.112109661102295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 02:19:32.388203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_41_1789.jpg', '/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_42_1618.jpg', '/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_47_1807.jpg', '/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_49_1526.jpg', '/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_50_1571.jpg', '/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_57_2515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_41_1789.jpg
/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_42_1618.jpg
/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_47_1807.jpg
/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_49_1526.jpg
/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_50_1571.jpg
/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_57_2515.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5337343215942383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 02:19:42.295343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_53_2665.jpg', '/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_55_2671.jpg', '/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_59_3677.jpg', '/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_02_2624.jpg', '/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_04_2534.jpg', '/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_08_3631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_53_2665.jpg
/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_55_2671.jpg
/home/pi/Desktop/images/01112025/00/16/image_01112025_00_16_59_3677.jpg
/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_02_2624.jpg
/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_04_2534.jpg
/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_08_3631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150568","1397150562","1397150570","1397150564","1397150566","1397150569"],"photo_ids_order":["1397150562","1397150564","1397150566","1397150568","1397150569","1397150570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/54452ab1a8ad3e2c0d434133e608f29b.jpg","text":"TemporaryFile(/tmp/multipartBody4658558895950531680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552043142,"filename":"image_01112025_00_17_02_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/1/8c10a5e6a19f84202d0ca302ac266ebb.jpg","text":"TemporaryFile(/tmp/multipartBody8051376775902603607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552043142,"filename":"image_01112025_00_16_53_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/1/78940dfc1ce604dd1ac3513f475da9df.jpg","text":"TemporaryFile(/tmp/multipartBody5779353034424116220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552043142,"filename":"image_01112025_00_17_08_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b1e8ef99fef592bd4578708e8b77c25e.jpg","text":"TemporaryFile(/tmp/multipartBody6370478203218857032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552043142,"filename":"image_01112025_00_16_55_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/88a5ca4c7db93208ebe2b7d880a4bd8d.jpg","text":"TemporaryFile(/tmp/multipartBody5074270199381192054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552043142,"filename":"image_01112025_00_16_59_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9997a2fc3587b4674026b93540563273.jpg","text":"TemporaryFile(/tmp/multipartBody1838198360778750452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552043142,"filename":"image_01112025_00_17_04_2534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150566","file1":"1397150564","file0":"1397150562","file4":"1397150569","file5":"1397150570","file3":"1397150568"},"map_files_photo_id_array":[{"photo_id":"1397150570","filename":"file5"},{"photo_id":"1397150566","filename":"file2"},{"photo_id":"1397150569","filename":"file4"},{"photo_id":"1397150564","filename":"file1"},{"photo_id":"1397150562","filename":"file0"},{"photo_id":"1397150568","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397150568":["hashtag1","hashtag2"]},{"1397150562":["hashtag1","hashtag2"]},{"1397150570":["hashtag1","hashtag2"]},{"1397150564":["hashtag1","hashtag2"]},{"1397150566":["hashtag1","hashtag2"]},{"1397150569":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397150568, 1397150562, 1397150570, 1397150564, 1397150566, 1397150569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79068350791931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 02:20:22.462711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/18/image_01122025_02_18_14_9721.jpg', '/home/pi/Desktop/images/01122025/02/19/image_01122025_02_19_23_9708.jpg', '/home/pi/Desktop/images/01122025/02/19/image_01122025_02_19_34_10720.jpg', '/home/pi/Desktop/images/01122025/02/19/image_01122025_02_19_54_9613.jpg', '/home/pi/Desktop/images/01122025/02/20/image_01122025_02_20_34_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/18/image_01122025_02_18_14_9721.jpg
/home/pi/Desktop/images/01122025/02/19/image_01122025_02_19_23_9708.jpg
/home/pi/Desktop/images/01122025/02/19/image_01122025_02_19_34_10720.jpg
/home/pi/Desktop/images/01122025/02/19/image_01122025_02_19_54_9613.jpg
/home/pi/Desktop/images/01122025/02/20/image_01122025_02_20_34_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":["1397150577","1397150573","1397150579","1397150581","1397150575"],"photo_ids_order":["1397150573","1397150575","1397150577","1397150579","1397150581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3c1037b2a7f0b7958d988f8c050dcd01.jpg","text":"TemporaryFile(/tmp/multipartBody3839360154826086070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552083181,"filename":"image_01122025_02_19_34_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b4dd5b2047d7e1ec5138356e3fb473c7.jpg","text":"TemporaryFile(/tmp/multipartBody2175474314729814816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552083181,"filename":"image_01122025_02_18_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/1/52c08899e39a30f692e64550a34bc46d.jpg","text":"TemporaryFile(/tmp/multipartBody5718796990799440538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552083181,"filename":"image_01122025_02_19_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/1/8f76efae4f5fa9a37b9831eac608591a.jpg","text":"TemporaryFile(/tmp/multipartBody1846426113247619207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552083181,"filename":"image_01122025_02_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/1/8bca119e223838fb2ecbebe26f4f09c2.jpg","text":"TemporaryFile(/tmp/multipartBody74710896684782780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552083181,"filename":"image_01122025_02_19_23_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150577","file1":"1397150575","file0":"1397150573","file4":"1397150581","file3":"1397150579"},"map_files_photo_id_array":[{"photo_id":"1397150577","filename":"file2"},{"photo_id":"1397150581","filename":"file4"},{"photo_id":"1397150575","filename":"file1"},{"photo_id":"1397150573","filename":"file0"},{"photo_id":"1397150579","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397150577":["hashtag1","hashtag2"]},{"1397150573":["hashtag1","hashtag2"]},{"1397150579":["hashtag1","hashtag2"]},{"1397150581":["hashtag1","hashtag2"]},{"1397150575":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397150577, 1397150573, 1397150579, 1397150581, 1397150575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.29605722427368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:21:03.344973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_41_1789.jpg', '/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_42_1618.jpg', '/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_47_1807.jpg', '/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_49_1526.jpg', '/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_50_1571.jpg', '/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_57_2515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_41_1789.jpg
/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_42_1618.jpg
/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_47_1807.jpg
/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_49_1526.jpg
/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_50_1571.jpg
/home/pi/Desktop/images/25112025/21/23/image_25112025_21_23_57_2515.jpg
 val : 1 : upload photos already in 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":["1397150592","1397150586","1397150585","1397150590","1397150584","1397150587"],"photo_ids_order":["1397150584","1397150585","1397150586","1397150587","1397150590","1397150592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7f9e1c81d7547f907df274be133719a5.jpg","text":"TemporaryFile(/tmp/multipartBody5254643181601513276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552124471,"filename":"image_25112025_21_23_57_2515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/440a4e8ba23ae902c06779c0223594c7.jpg","text":"TemporaryFile(/tmp/multipartBody6597410602854991874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552124471,"filename":"image_25112025_21_23_47_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/1/285021aa8fe916578f4cc58877989bc7.jpg","text":"TemporaryFile(/tmp/multipartBody6714372872252903380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552124471,"filename":"image_25112025_21_23_42_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/1/b369475f842698f432939d7e335c0472.jpg","text":"TemporaryFile(/tmp/multipartBody6700623870405394556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552124471,"filename":"image_25112025_21_23_50_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/1/f9c7fa1591aabf34adc2890d49e68a1a.jpg","text":"TemporaryFile(/tmp/multipartBody7061965461568271047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552124471,"filename":"image_25112025_21_23_41_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/1/6066489a1f15135084a603724a9dbc96.jpg","text":"TemporaryFile(/tmp/multipartBody2858720474148204698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552124471,"filename":"image_25112025_21_23_49_1526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150586","file1":"1397150585","file0":"1397150584","file4":"1397150590","file5":"1397150592","file3":"1397150587"},"map_files_photo_id_array":[{"photo_id":"1397150592","filename":"file5"},{"photo_id":"1397150586","filename":"file2"},{"photo_id":"1397150590","filename":"file4"},{"photo_id":"1397150585","filename":"file1"},{"photo_id":"1397150584","filename":"file0"},{"photo_id":"1397150587","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397150592":["hashtag1","hashtag2"]},{"1397150586":["hashtag1","hashtag2"]},{"1397150585":["hashtag1","hashtag2"]},{"1397150590":["hashtag1","hashtag2"]},{"1397150584":["hashtag1","hashtag2"]},{"1397150587":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397150592, 1397150586, 1397150585, 1397150590, 1397150584, 1397150587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.178924560546875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:22:03.058252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/20/image_01122025_02_20_43_9626.jpg', '/home/pi/Desktop/images/01122025/02/21/image_01122025_02_21_34_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/20/image_01122025_02_20_43_9626.jpg
/home/pi/Desktop/images/01122025/02/21/image_01122025_02_21_34_10707.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.49686574935913086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 02:22:12.520406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/23/image_25112025_21_24_00_3657.jpg', '/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_03_2661.jpg', '/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_05_2522.jpg', '/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_09_3722.jpg', '/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_12_2646.jpg', '/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_14_2715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/23/image_25112025_21_24_00_3657.jpg
/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_03_2661.jpg
/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_05_2522.jpg
/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_09_3722.jpg
/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_12_2646.jpg
/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_14_2715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150598","1397150604","1397150606","1397150600","1397150596","1397150602"],"photo_ids_order":["1397150596","1397150598","1397150600","1397150602","1397150604","1397150606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5176fb1fc677f440d097f25ff12b02e3.jpg","text":"TemporaryFile(/tmp/multipartBody2683291282880458362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552194164,"filename":"image_25112025_21_24_03_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/1/203b7a40bb37fe394b0d3a9b39e6e30a.jpg","text":"TemporaryFile(/tmp/multipartBody8328597976555592871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552194164,"filename":"image_25112025_21_24_12_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/52d4d23d37a338477c190bad893bcb38.jpg","text":"TemporaryFile(/tmp/multipartBody3444526407614966839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552194164,"filename":"image_25112025_21_24_14_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/1/b26f2129f6f97b1d49d61ca305efaf5b.jpg","text":"TemporaryFile(/tmp/multipartBody4199728845856158609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552194164,"filename":"image_25112025_21_24_05_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/19e62a51e7ffafcba1605e7c7399d77b.jpg","text":"TemporaryFile(/tmp/multipartBody1877308273046368569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552194164,"filename":"image_25112025_21_24_00_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/1/4930df1759b09cb90f6f7ec9d75122d1.jpg","text":"TemporaryFile(/tmp/multipartBody2029404751466302046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552194164,"filename":"image_25112025_21_24_09_3722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150600","file1":"1397150598","file0":"1397150596","file4":"1397150604","file5":"1397150606","file3":"1397150602"},"map_files_photo_id_array":[{"photo_id":"1397150606","filename":"file5"},{"photo_id":"1397150600","filename":"file2"},{"photo_id":"1397150604","filename":"file4"},{"photo_id":"1397150598","filename":"file1"},{"photo_id":"1397150596","filename":"file0"},{"photo_id":"1397150602","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397150598":["hashtag1","hashtag2"]},{"1397150604":["hashtag1","hashtag2"]},{"1397150606":["hashtag1","hashtag2"]},{"1397150600":["hashtag1","hashtag2"]},{"1397150596":["hashtag1","hashtag2"]},{"1397150602":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397150598, 1397150604, 1397150606, 1397150600, 1397150596, 1397150602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96580624580383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:23:03.425621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/20/image_01122025_02_20_43_9626.jpg', '/home/pi/Desktop/images/01122025/02/21/image_01122025_02_21_34_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/20/image_01122025_02_20_43_9626.jpg
/home/pi/Desktop/images/01122025/02/21/image_01122025_02_21_34_10707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150608","1397150609"],"photo_ids_order":["1397150608","1397150609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/da5c1ab9a086fbdabd3ee3412677195d.jpg","text":"TemporaryFile(/tmp/multipartBody2844243468584182808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552244053,"filename":"image_01122025_02_20_43_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f66860d4978bf823c78fe70a0d60deeb.jpg","text":"TemporaryFile(/tmp/multipartBody6092875531858371957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552244053,"filename":"image_01122025_02_21_34_10707.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397150609","file0":"1397150608"},"map_files_photo_id_array":[{"photo_id":"1397150609","filename":"file1"},{"photo_id":"1397150608","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397150608":["hashtag1","hashtag2"]},{"1397150609":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397150608, 1397150609)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 2 photos
time to upload: 22.24174427986145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 02:23:32.796547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_18_3652.jpg', '/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_21_2533.jpg', '/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_24_3587.jpg', '/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_27_2623.jpg', '/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_30_2743.jpg', '/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_33_3547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_18_3652.jpg
/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_21_2533.jpg
/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_24_3587.jpg
/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_27_2623.jpg
/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_30_2743.jpg
/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_33_3547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150626","1397150625","1397150624","1397150618","1397150615","1397150617"],"photo_ids_order":["1397150615","1397150617","1397150618","1397150624","1397150625","1397150626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1f2d9347581213aa2af33aefdae5eb47.jpg","text":"TemporaryFile(/tmp/multipartBody7129450880645291755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552274532,"filename":"image_25112025_21_24_33_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/1/3826a6f6656a8ba5af857f0d6397f951.jpg","text":"TemporaryFile(/tmp/multipartBody25124466879813452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552274532,"filename":"image_25112025_21_24_30_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a9ef80da40321db8d48edf4f49314272.jpg","text":"TemporaryFile(/tmp/multipartBody584025863470849588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552274532,"filename":"image_25112025_21_24_27_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a9257edde3c1372df418a57d528b482a.jpg","text":"TemporaryFile(/tmp/multipartBody2125054699326919482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552274532,"filename":"image_25112025_21_24_24_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/1/8d0961a313d7108a91f2394282ffb21e.jpg","text":"TemporaryFile(/tmp/multipartBody5319115711392387624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552274532,"filename":"image_25112025_21_24_18_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/1/31d114d570be2dd569a509cc373e6634.jpg","text":"TemporaryFile(/tmp/multipartBody5460783384055424350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552274532,"filename":"image_25112025_21_24_21_2533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150618","file1":"1397150617","file0":"1397150615","file4":"1397150625","file5":"1397150626","file3":"1397150624"},"map_files_photo_id_array":[{"photo_id":"1397150626","filename":"file5"},{"photo_id":"1397150618","filename":"file2"},{"photo_id":"1397150625","filename":"file4"},{"photo_id":"1397150617","filename":"file1"},{"photo_id":"1397150615","filename":"file0"},{"photo_id":"1397150624","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397150626":["hashtag1","hashtag2"]},{"1397150625":["hashtag1","hashtag2"]},{"1397150624":["hashtag1","hashtag2"]},{"1397150618":["hashtag1","hashtag2"]},{"1397150615":["hashtag1","hashtag2"]},{"1397150617":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397150626, 1397150625, 1397150624, 1397150618, 1397150615, 1397150617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.071794509887695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 02:24:11.892947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_36_2691.jpg', '/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_39_2665.jpg', '/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_42_3967.jpg', '/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_45_2693.jpg', '/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_02_16993.jpg', '/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_07_1603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_36_2691.jpg
/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_39_2665.jpg
/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_42_3967.jpg
/home/pi/Desktop/images/25112025/21/24/image_25112025_21_24_45_2693.jpg
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_02_16993.jpg
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_07_1603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150631","1397150628","1397150636","1397150633","1397150627","1397150635"],"photo_ids_order":["1397150627","1397150628","1397150631","1397150633","1397150635","1397150636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9a5690aa70d7b84a16adedfd88e1c961.jpg","text":"TemporaryFile(/tmp/multipartBody1930864693392334653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552313581,"filename":"image_25112025_21_24_42_3967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/98c4494f645f6413dade3955a3e6e225.jpg","text":"TemporaryFile(/tmp/multipartBody5369698916344217540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552313581,"filename":"image_25112025_21_24_39_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/1/91c5de362cd3a70828ded70abd9cee1e.jpg","text":"TemporaryFile(/tmp/multipartBody559946976309144759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552313581,"filename":"image_25112025_21_25_07_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/1/9504f1111e286a2418e6590da38f0d88.jpg","text":"TemporaryFile(/tmp/multipartBody6603646294017984627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552313581,"filename":"image_25112025_21_24_45_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/1/19791c2515cd0004765d2b00bc35620c.jpg","text":"TemporaryFile(/tmp/multipartBody2178353329708743916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552313581,"filename":"image_25112025_21_24_36_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/1/d26b6b4817e1403d5653fd4735a44abe.jpg","text":"TemporaryFile(/tmp/multipartBody4755321060188709524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552313581,"filename":"image_25112025_21_25_02_16993.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150631","file1":"1397150628","file0":"1397150627","file4":"1397150635","file5":"1397150636","file3":"1397150633"},"map_files_photo_id_array":[{"photo_id":"1397150636","filename":"file5"},{"photo_id":"1397150631","filename":"file2"},{"photo_id":"1397150635","filename":"file4"},{"photo_id":"1397150628","filename":"file1"},{"photo_id":"1397150627","filename":"file0"},{"photo_id":"1397150633","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397150631":["hashtag1","hashtag2"]},{"1397150628":["hashtag1","hashtag2"]},{"1397150636":["hashtag1","hashtag2"]},{"1397150633":["hashtag1","hashtag2"]},{"1397150627":["hashtag1","hashtag2"]},{"1397150635":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397150631, 1397150628, 1397150636, 1397150633, 1397150627, 1397150635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.232752323150635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:25:02.797687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/21/image_01122025_02_21_44_9841.jpg', '/home/pi/Desktop/images/01122025/02/21/image_01122025_02_22_04_10699.jpg', '/home/pi/Desktop/images/01122025/02/22/image_01122025_02_22_54_10434.jpg', '/home/pi/Desktop/images/01122025/02/24/image_01122025_02_24_24_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/21/image_01122025_02_21_44_9841.jpg
/home/pi/Desktop/images/01122025/02/21/image_01122025_02_22_04_10699.jpg
/home/pi/Desktop/images/01122025/02/22/image_01122025_02_22_54_10434.jpg
/home/pi/Desktop/images/01122025/02/24/image_01122025_02_24_24_9757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150637","1397150639","1397150641","1397150638"],"photo_ids_order":["1397150637","1397150638","1397150639","1397150641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/03ec704696186677e5be39986ba525b7.jpg","text":"TemporaryFile(/tmp/multipartBody1139804302101715933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552363679,"filename":"image_01122025_02_21_44_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/110d9352a0ce2f55f6cbeda0409f7019.jpg","text":"TemporaryFile(/tmp/multipartBody40825043322938983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552363679,"filename":"image_01122025_02_22_54_10434.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d1346b41df79cb64d780a668575084a5.jpg","text":"TemporaryFile(/tmp/multipartBody9193099736694955289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552363679,"filename":"image_01122025_02_24_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/1/5884be7a3f8259d51b13e42e3b71026c.jpg","text":"TemporaryFile(/tmp/multipartBody2632602062900300682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552363679,"filename":"image_01122025_02_22_04_10699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150639","file1":"1397150638","file0":"1397150637","file3":"1397150641"},"map_files_photo_id_array":[{"photo_id":"1397150639","filename":"file2"},{"photo_id":"1397150638","filename":"file1"},{"photo_id":"1397150637","filename":"file0"},{"photo_id":"1397150641","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397150637":["hashtag1","hashtag2"]},{"1397150639":["hashtag1","hashtag2"]},{"1397150641":["hashtag1","hashtag2"]},{"1397150638":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397150637, 1397150639, 1397150641, 1397150638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.214170455932617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 02:25:32.190142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_09_1717.jpg', '/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_10_1593.jpg', '/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_12_1705.jpg', '/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_14_1642.jpg', '/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_15_1673.jpg', '/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_25_1718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_09_1717.jpg
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_10_1593.jpg
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_12_1705.jpg
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_14_1642.jpg
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_15_1673.jpg
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_25_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":["1397150646","1397150649","1397150645","1397150648","1397150647","1397150650"],"photo_ids_order":["1397150645","1397150646","1397150647","1397150648","1397150649","1397150650"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8df6200a84c17fae144c6f7dde911030.jpg","text":"TemporaryFile(/tmp/multipartBody6009720902100522292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552393905,"filename":"image_25112025_21_25_10_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/1/0d5b0fc9292e8143c1ec0a676e152db9.jpg","text":"TemporaryFile(/tmp/multipartBody4108063717965019665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552393905,"filename":"image_25112025_21_25_15_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/88967123e704eed193e5f8aa3eaa4ee9.jpg","text":"TemporaryFile(/tmp/multipartBody5123322795988569351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552393905,"filename":"image_25112025_21_25_09_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/1/3c9ea061b1c127c159c6cdd2287e54dc.jpg","text":"TemporaryFile(/tmp/multipartBody4369703255502734348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552393905,"filename":"image_25112025_21_25_14_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/1/a33519858f0fee469560a5d47bb62ed9.jpg","text":"TemporaryFile(/tmp/multipartBody1945535674250100190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552393905,"filename":"image_25112025_21_25_12_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/1/6d94ce782460064a4eefdb55d99bad2f.jpg","text":"TemporaryFile(/tmp/multipartBody5561297455496567135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552393905,"filename":"image_25112025_21_25_25_1718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150647","file1":"1397150646","file0":"1397150645","file4":"1397150649","file5":"1397150650","file3":"1397150648"},"map_files_photo_id_array":[{"photo_id":"1397150650","filename":"file5"},{"photo_id":"1397150647","filename":"file2"},{"photo_id":"1397150649","filename":"file4"},{"photo_id":"1397150646","filename":"file1"},{"photo_id":"1397150645","filename":"file0"},{"photo_id":"1397150648","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397150646":["hashtag1","hashtag2"]},{"1397150649":["hashtag1","hashtag2"]},{"1397150645":["hashtag1","hashtag2"]},{"1397150648":["hashtag1","hashtag2"]},{"1397150647":["hashtag1","hashtag2"]},{"1397150650":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397150646, 1397150649, 1397150645, 1397150648, 1397150647, 1397150650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15754556655884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 02:26:12.346319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_27_1734.jpg', '/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_30_1522.jpg', '/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_31_1594.jpg', '/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_33_1746.jpg', '/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_36_2610.jpg', '/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_38_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_27_1734.jpg
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_30_1522.jpg
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_31_1594.jpg
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_33_1746.jpg
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_36_2610.jpg
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_38_2662.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.540421962738037 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 02:26:22.405532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/24/image_01122025_02_24_54_9888.jpg', '/home/pi/Desktop/images/01122025/02/24/image_01122025_02_25_04_9817.jpg', '/home/pi/Desktop/images/01122025/02/25/image_01122025_02_25_14_9948.jpg', '/home/pi/Desktop/images/01122025/02/25/image_01122025_02_25_34_10735.jpg', '/home/pi/Desktop/images/01122025/02/25/image_01122025_02_25_44_9714.jpg', '/home/pi/Desktop/images/01122025/02/25/image_01122025_02_25_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/24/image_01122025_02_24_54_9888.jpg
/home/pi/Desktop/images/01122025/02/24/image_01122025_02_25_04_9817.jpg
/home/pi/Desktop/images/01122025/02/25/image_01122025_02_25_14_9948.jpg
/home/pi/Desktop/images/01122025/02/25/image_01122025_02_25_34_10735.jpg
/home/pi/Desktop/images/01122025/02/25/image_01122025_02_25_44_9714.jpg
/home/pi/Desktop/images/01122025/02/25/image_01122025_02_25_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":["1397150664","1397150669","1397150666","1397150659","1397150662","1397150656"],"photo_ids_order":["1397150656","1397150659","1397150662","1397150664","1397150666","1397150669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dcce0d5c375aada21d97e557e0806a20.jpg","text":"TemporaryFile(/tmp/multipartBody3322818131324877560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552443222,"filename":"image_01122025_02_25_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/1/a5f5a289239615bae5f77c4d3a492efb.jpg","text":"TemporaryFile(/tmp/multipartBody5192683415684070319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552443222,"filename":"image_01122025_02_25_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/1/29addec13e07f76de206ad6a240b541c.jpg","text":"TemporaryFile(/tmp/multipartBody546961454469875808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552443222,"filename":"image_01122025_02_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/1/cd508de8bceeb508756a6028ba2689fe.jpg","text":"TemporaryFile(/tmp/multipartBody2276573240589027815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552443222,"filename":"image_01122025_02_25_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/1/a23ef1fb0e5ddb0664b2f2b34a820b1b.jpg","text":"TemporaryFile(/tmp/multipartBody8039604280791732427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552443222,"filename":"image_01122025_02_25_14_9948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/891427245ed9a5aab7cb37c64a4ef64c.jpg","text":"TemporaryFile(/tmp/multipartBody5743622258900400255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552443222,"filename":"image_01122025_02_24_54_9888.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150662","file1":"1397150659","file0":"1397150656","file4":"1397150666","file5":"1397150669","file3":"1397150664"},"map_files_photo_id_array":[{"photo_id":"1397150669","filename":"file5"},{"photo_id":"1397150662","filename":"file2"},{"photo_id":"1397150666","filename":"file4"},{"photo_id":"1397150659","filename":"file1"},{"photo_id":"1397150656","filename":"file0"},{"photo_id":"1397150664","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397150664":["hashtag1","hashtag2"]},{"1397150669":["hashtag1","hashtag2"]},{"1397150666":["hashtag1","hashtag2"]},{"1397150659":["hashtag1","hashtag2"]},{"1397150662":["hashtag1","hashtag2"]},{"1397150656":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397150664, 1397150669, 1397150666, 1397150659, 1397150662, 1397150656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19343662261963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:27:03.253666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/25/image_01122025_02_26_04_10715.jpg', '/home/pi/Desktop/images/01122025/02/26/image_01122025_02_26_33_9601.jpg', '/home/pi/Desktop/images/01122025/02/26/image_01122025_02_26_44_10738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/25/image_01122025_02_26_04_10715.jpg
/home/pi/Desktop/images/01122025/02/26/image_01122025_02_26_33_9601.jpg
/home/pi/Desktop/images/01122025/02/26/image_01122025_02_26_44_10738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150670","1397150672","1397150671"],"photo_ids_order":["1397150670","1397150671","1397150672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0a200794533e27e3f93535d5db1c0847.jpg","text":"TemporaryFile(/tmp/multipartBody5126789003586534721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552483900,"filename":"image_01122025_02_26_04_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/1/3cec843e3622b4747ff92ddbecc77289.jpg","text":"TemporaryFile(/tmp/multipartBody8868940104151062437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552483900,"filename":"image_01122025_02_26_44_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/1/643d6b38f838ddd9de1caa86b4270683.jpg","text":"TemporaryFile(/tmp/multipartBody5379126517735528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552483900,"filename":"image_01122025_02_26_33_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150672","file1":"1397150671","file0":"1397150670"},"map_files_photo_id_array":[{"photo_id":"1397150672","filename":"file2"},{"photo_id":"1397150671","filename":"file1"},{"photo_id":"1397150670","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397150670":["hashtag1","hashtag2"]},{"1397150672":["hashtag1","hashtag2"]},{"1397150671":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397150670, 1397150672, 1397150671)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 3 photos
time to upload: 34.20084762573242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 02:27:42.640111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_11_2809.jpg', '/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_13_2613.jpg', '/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_17_3121.jpg', '/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_19_2658.jpg', '/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_23_3700.jpg', '/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_25_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_11_2809.jpg
/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_13_2613.jpg
/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_17_3121.jpg
/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_19_2658.jpg
/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_23_3700.jpg
/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_25_2609.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7547452449798584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:28:03.208973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/26/image_01122025_02_26_54_9678.jpg', '/home/pi/Desktop/images/01122025/02/27/image_01122025_02_27_14_10747.jpg', '/home/pi/Desktop/images/01122025/02/27/image_01122025_02_27_24_9729.jpg', '/home/pi/Desktop/images/01122025/02/27/image_01122025_02_27_34_9831.jpg', '/home/pi/Desktop/images/01122025/02/27/image_01122025_02_27_44_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/26/image_01122025_02_26_54_9678.jpg
/home/pi/Desktop/images/01122025/02/27/image_01122025_02_27_14_10747.jpg
/home/pi/Desktop/images/01122025/02/27/image_01122025_02_27_24_9729.jpg
/home/pi/Desktop/images/01122025/02/27/image_01122025_02_27_34_9831.jpg
/home/pi/Desktop/images/01122025/02/27/image_01122025_02_27_44_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":["1397150688","1397150691","1397150685","1397150687","1397150686"],"photo_ids_order":["1397150685","1397150686","1397150687","1397150688","1397150691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f40c7d6ea4b4bcbea29c2510018205cd.jpg","text":"TemporaryFile(/tmp/multipartBody8956315514081989461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552543977,"filename":"image_01122025_02_27_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/1/9f700abd451788f16ddcc78bdf18b58b.jpg","text":"TemporaryFile(/tmp/multipartBody2973365929791330158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552543977,"filename":"image_01122025_02_27_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/1/2af64abfac0b84192f5848f422c918f7.jpg","text":"TemporaryFile(/tmp/multipartBody3353371658076253292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552543977,"filename":"image_01122025_02_26_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/1/cb1c071ecb5c5b97e3194c255bc12fb8.jpg","text":"TemporaryFile(/tmp/multipartBody8962962609539325577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552543977,"filename":"image_01122025_02_27_24_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/396005911d48cf0f3877bb3e34c7df0a.jpg","text":"TemporaryFile(/tmp/multipartBody6869726193521601960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552543977,"filename":"image_01122025_02_27_14_10747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150687","file1":"1397150686","file0":"1397150685","file4":"1397150691","file3":"1397150688"},"map_files_photo_id_array":[{"photo_id":"1397150687","filename":"file2"},{"photo_id":"1397150691","filename":"file4"},{"photo_id":"1397150686","filename":"file1"},{"photo_id":"1397150685","filename":"file0"},{"photo_id":"1397150688","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397150688":["hashtag1","hashtag2"]},{"1397150691":["hashtag1","hashtag2"]},{"1397150685":["hashtag1","hashtag2"]},{"1397150687":["hashtag1","hashtag2"]},{"1397150686":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397150688, 1397150691, 1397150685, 1397150687, 1397150686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.26506805419922 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 02:28:42.811958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_11_2809.jpg', '/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_13_2613.jpg', '/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_17_3121.jpg', '/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_19_2658.jpg', '/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_23_3700.jpg', '/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_25_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_11_2809.jpg
/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_13_2613.jpg
/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_17_3121.jpg
/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_19_2658.jpg
/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_23_3700.jpg
/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_25_2609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150694","1397150697","1397150699","1397150696","1397150695","1397150698"],"photo_ids_order":["1397150694","1397150695","1397150696","1397150697","1397150698","1397150699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/48d32a65b268013bdd2de95c16e1dc48.jpg","text":"TemporaryFile(/tmp/multipartBody5159336765838947806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552583494,"filename":"image_01112025_00_17_11_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/728bc6c92f33d9cf61a807a8d57c2814.jpg","text":"TemporaryFile(/tmp/multipartBody260611331706466064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552583494,"filename":"image_01112025_00_17_19_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/1/d5649e349fa33db905d5641a952d50a8.jpg","text":"TemporaryFile(/tmp/multipartBody4486050690652601279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552583494,"filename":"image_01112025_00_17_25_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/45edab132d106480ff9183da984b8246.jpg","text":"TemporaryFile(/tmp/multipartBody6387946881940251958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552583494,"filename":"image_01112025_00_17_17_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/1/0e130b609c10168748cfb603beb4e47e.jpg","text":"TemporaryFile(/tmp/multipartBody2652519788800450481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552583494,"filename":"image_01112025_00_17_13_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/1/7efa5e01ea121dd950c7f67384960e41.jpg","text":"TemporaryFile(/tmp/multipartBody6905638474846633336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552583494,"filename":"image_01112025_00_17_23_3700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150696","file1":"1397150695","file0":"1397150694","file4":"1397150698","file5":"1397150699","file3":"1397150697"},"map_files_photo_id_array":[{"photo_id":"1397150699","filename":"file5"},{"photo_id":"1397150696","filename":"file2"},{"photo_id":"1397150698","filename":"file4"},{"photo_id":"1397150695","filename":"file1"},{"photo_id":"1397150694","filename":"file0"},{"photo_id":"1397150697","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397150694":["hashtag1","hashtag2"]},{"1397150697":["hashtag1","hashtag2"]},{"1397150699":["hashtag1","hashtag2"]},{"1397150696":["hashtag1","hashtag2"]},{"1397150695":["hashtag1","hashtag2"]},{"1397150698":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397150694, 1397150697, 1397150699, 1397150696, 1397150695, 1397150698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74104642868042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 02:29:22.089068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/27/image_01122025_02_27_54_10664.jpg', '/home/pi/Desktop/images/01122025/02/28/image_01122025_02_28_24_9787.jpg', '/home/pi/Desktop/images/01122025/02/28/image_01122025_02_28_34_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/27/image_01122025_02_27_54_10664.jpg
/home/pi/Desktop/images/01122025/02/28/image_01122025_02_28_24_9787.jpg
/home/pi/Desktop/images/01122025/02/28/image_01122025_02_28_34_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":["1397150706","1397150703","1397150708"],"photo_ids_order":["1397150703","1397150706","1397150708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0d0c3096a3540396bc554c28fd06c8d4.jpg","text":"TemporaryFile(/tmp/multipartBody3355368759259175041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552622714,"filename":"image_01122025_02_28_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/1/a95e692fe58bf4d0c8bb9186c0da7e71.jpg","text":"TemporaryFile(/tmp/multipartBody465037698153860211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552622714,"filename":"image_01122025_02_27_54_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/1/1da4ff97db90cf6cd811d4f0f8cb4ac1.jpg","text":"TemporaryFile(/tmp/multipartBody764986796078338930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552622714,"filename":"image_01122025_02_28_34_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150708","file1":"1397150706","file0":"1397150703"},"map_files_photo_id_array":[{"photo_id":"1397150708","filename":"file2"},{"photo_id":"1397150706","filename":"file1"},{"photo_id":"1397150703","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397150706":["hashtag1","hashtag2"]},{"1397150703":["hashtag1","hashtag2"]},{"1397150708":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397150706, 1397150703, 1397150708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.20549726486206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:30:02.751976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_27_1734.jpg', '/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_30_1522.jpg', '/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_31_1594.jpg', '/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_33_1746.jpg', '/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_36_2610.jpg', '/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_38_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_27_1734.jpg
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_30_1522.jpg
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_31_1594.jpg
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_33_1746.jpg
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_36_2610.jpg
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_38_2662.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9321856498718262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 02:30:12.230890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_27_1734.jpg', '/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_30_1522.jpg', '/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_31_1594.jpg', '/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_33_1746.jpg', '/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_36_2610.jpg', '/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_38_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_27_1734.jpg
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_30_1522.jpg
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_31_1594.jpg
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_33_1746.jpg
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_36_2610.jpg
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_38_2662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150725","1397150724","1397150721","1397150715","1397150718","1397150723"],"photo_ids_order":["1397150715","1397150718","1397150721","1397150723","1397150724","1397150725"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/55bb6526039580e7bda42135d7864c8c.jpg","text":"TemporaryFile(/tmp/multipartBody3319768284505801797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552673596,"filename":"image_25112025_21_25_38_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/1/26204ec2eb4f4d3cfb81e5824b698cce.jpg","text":"TemporaryFile(/tmp/multipartBody2103979235256434277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552673596,"filename":"image_25112025_21_25_36_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a4ba5da5c83dc4c57e72ae7d37cf26bf.jpg","text":"TemporaryFile(/tmp/multipartBody4682047677507588210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552673596,"filename":"image_25112025_21_25_31_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/1/87424b8dd18ec96da54ebee7cbd59a55.jpg","text":"TemporaryFile(/tmp/multipartBody4063688961665850266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552673596,"filename":"image_25112025_21_25_27_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/1/483acb57cdf654d5b0744b697127ad2d.jpg","text":"TemporaryFile(/tmp/multipartBody6947628359761505735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552673596,"filename":"image_25112025_21_25_30_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/1/ede4c1386f3d06bd4f5f26819f9bd842.jpg","text":"TemporaryFile(/tmp/multipartBody912688377284283796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552673596,"filename":"image_25112025_21_25_33_1746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150721","file1":"1397150718","file0":"1397150715","file4":"1397150724","file5":"1397150725","file3":"1397150723"},"map_files_photo_id_array":[{"photo_id":"1397150725","filename":"file5"},{"photo_id":"1397150721","filename":"file2"},{"photo_id":"1397150724","filename":"file4"},{"photo_id":"1397150718","filename":"file1"},{"photo_id":"1397150715","filename":"file0"},{"photo_id":"1397150723","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397150725":["hashtag1","hashtag2"]},{"1397150724":["hashtag1","hashtag2"]},{"1397150721":["hashtag1","hashtag2"]},{"1397150715":["hashtag1","hashtag2"]},{"1397150718":["hashtag1","hashtag2"]},{"1397150723":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397150725, 1397150724, 1397150721, 1397150715, 1397150718, 1397150723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.537116050720215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:31:02.766553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/29/image_01122025_02_29_34_10597.jpg', '/home/pi/Desktop/images/01122025/02/29/image_01122025_02_30_04_9852.jpg', '/home/pi/Desktop/images/01122025/02/30/image_01122025_02_30_34_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/29/image_01122025_02_29_34_10597.jpg
/home/pi/Desktop/images/01122025/02/29/image_01122025_02_30_04_9852.jpg
/home/pi/Desktop/images/01122025/02/30/image_01122025_02_30_34_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":["1397150727","1397150726","1397150728"],"photo_ids_order":["1397150726","1397150727","1397150728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f90442cab6ffce53d16220f21667dd9f.jpg","text":"TemporaryFile(/tmp/multipartBody2147334265162172961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552723567,"filename":"image_01122025_02_30_04_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/adb79e80c29b67c3da0e4cbfaacbb704.jpg","text":"TemporaryFile(/tmp/multipartBody8012355511993524612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552723567,"filename":"image_01122025_02_29_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/1/34c9d2308767fd8284ed8d36e2bc35af.jpg","text":"TemporaryFile(/tmp/multipartBody2262655627487399592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552723567,"filename":"image_01122025_02_30_34_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150728","file1":"1397150727","file0":"1397150726"},"map_files_photo_id_array":[{"photo_id":"1397150728","filename":"file2"},{"photo_id":"1397150727","filename":"file1"},{"photo_id":"1397150726","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397150727":["hashtag1","hashtag2"]},{"1397150726":["hashtag1","hashtag2"]},{"1397150728":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397150727, 1397150726, 1397150728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.013200759887695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 02:31:32.367594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_42_3602.jpg', '/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_45_2668.jpg', '/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_47_2655.jpg', '/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_50_2787.jpg', '/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_54_4055.jpg', '/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_57_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_42_3602.jpg
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_45_2668.jpg
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_47_2655.jpg
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_50_2787.jpg
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_54_4055.jpg
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_25_57_2634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150733","1397150736","1397150735","1397150738","1397150734","1397150737"],"photo_ids_order":["1397150733","1397150734","1397150735","1397150736","1397150737","1397150738"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f09f1de8db2576ea497726b40676cff7.jpg","text":"TemporaryFile(/tmp/multipartBody1516431856558723874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552754094,"filename":"image_25112025_21_25_42_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/edf8b0c982773d3babac6aa466a40cfa.jpg","text":"TemporaryFile(/tmp/multipartBody5866381818288957222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552754094,"filename":"image_25112025_21_25_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/1/34098394db1b9571f83bb4c88cc4e4ed.jpg","text":"TemporaryFile(/tmp/multipartBody3697876140095008673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552754094,"filename":"image_25112025_21_25_47_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/1/c97cf4e826eac2203c4c2ab853e45ae6.jpg","text":"TemporaryFile(/tmp/multipartBody9204220950549839936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552754094,"filename":"image_25112025_21_25_57_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d79fa48b0db8288961f7514312696406.jpg","text":"TemporaryFile(/tmp/multipartBody3455531096399039636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552754094,"filename":"image_25112025_21_25_45_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/1/54467b9a1c32b582c294c2a614075920.jpg","text":"TemporaryFile(/tmp/multipartBody7669296084499533563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552754094,"filename":"image_25112025_21_25_54_4055.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150735","file1":"1397150734","file0":"1397150733","file4":"1397150737","file5":"1397150738","file3":"1397150736"},"map_files_photo_id_array":[{"photo_id":"1397150738","filename":"file5"},{"photo_id":"1397150735","filename":"file2"},{"photo_id":"1397150737","filename":"file4"},{"photo_id":"1397150734","filename":"file1"},{"photo_id":"1397150733","filename":"file0"},{"photo_id":"1397150736","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397150733":["hashtag1","hashtag2"]},{"1397150736":["hashtag1","hashtag2"]},{"1397150735":["hashtag1","hashtag2"]},{"1397150738":["hashtag1","hashtag2"]},{"1397150734":["hashtag1","hashtag2"]},{"1397150737":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397150733, 1397150736, 1397150735, 1397150738, 1397150734, 1397150737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22595739364624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 02:32:12.587266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/25/image_25112025_21_26_00_2871.jpg', '/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_05_2619.jpg', '/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_09_3654.jpg', '/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_13_4262.jpg', '/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_16_2818.jpg', '/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_18_1635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/25/image_25112025_21_26_00_2871.jpg
/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_05_2619.jpg
/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_09_3654.jpg
/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_13_4262.jpg
/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_16_2818.jpg
/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_18_1635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150745","1397150739","1397150741","1397150747","1397150749","1397150743"],"photo_ids_order":["1397150739","1397150741","1397150743","1397150745","1397150747","1397150749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/35891950d06f4078d844030d13ba384c.jpg","text":"TemporaryFile(/tmp/multipartBody2053129272542788211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552794225,"filename":"image_25112025_21_26_13_4262.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e914af9f74a7e7959af0b80cdb33674c.jpg","text":"TemporaryFile(/tmp/multipartBody7729548221198612464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552794225,"filename":"image_25112025_21_26_00_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8a430e8346924b0452bb5adbbd7b2568.jpg","text":"TemporaryFile(/tmp/multipartBody6373010266771585835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552794225,"filename":"image_25112025_21_26_05_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/1/5e4769180d18c71d131d3d05c6fdc179.jpg","text":"TemporaryFile(/tmp/multipartBody662565163523608206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552794225,"filename":"image_25112025_21_26_16_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/1/b3cebfb4e0a110589714215ef71faf6b.jpg","text":"TemporaryFile(/tmp/multipartBody2850944995774996915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552794225,"filename":"image_25112025_21_26_18_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/1/203850f5bcee8a129bec505882d4ee66.jpg","text":"TemporaryFile(/tmp/multipartBody2748429796046005508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552794225,"filename":"image_25112025_21_26_09_3654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150743","file1":"1397150741","file0":"1397150739","file4":"1397150747","file5":"1397150749","file3":"1397150745"},"map_files_photo_id_array":[{"photo_id":"1397150749","filename":"file5"},{"photo_id":"1397150743","filename":"file2"},{"photo_id":"1397150747","filename":"file4"},{"photo_id":"1397150741","filename":"file1"},{"photo_id":"1397150739","filename":"file0"},{"photo_id":"1397150745","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397150745":["hashtag1","hashtag2"]},{"1397150739":["hashtag1","hashtag2"]},{"1397150741":["hashtag1","hashtag2"]},{"1397150747":["hashtag1","hashtag2"]},{"1397150749":["hashtag1","hashtag2"]},{"1397150743":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397150745, 1397150739, 1397150741, 1397150747, 1397150749, 1397150743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.038084983825684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:33:02.679201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/30/image_01122025_02_30_54_9834.jpg', '/home/pi/Desktop/images/01122025/02/31/image_01122025_02_32_04_9704.jpg', '/home/pi/Desktop/images/01122025/02/32/image_01122025_02_32_34_9863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/30/image_01122025_02_30_54_9834.jpg
/home/pi/Desktop/images/01122025/02/31/image_01122025_02_32_04_9704.jpg
/home/pi/Desktop/images/01122025/02/32/image_01122025_02_32_34_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":["1397150754","1397150753","1397150755"],"photo_ids_order":["1397150753","1397150754","1397150755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/df5442504e50bee6fb8add3af5ad5235.jpg","text":"TemporaryFile(/tmp/multipartBody1142048420293439343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552843407,"filename":"image_01122025_02_32_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/1/d7764e63ff3ae0d97610f929307375c4.jpg","text":"TemporaryFile(/tmp/multipartBody4956703913278208281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552843407,"filename":"image_01122025_02_30_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/1/86d7ac320c70ed70594c3935255f5ecb.jpg","text":"TemporaryFile(/tmp/multipartBody3470020285435789729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552843407,"filename":"image_01122025_02_32_34_9863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150755","file1":"1397150754","file0":"1397150753"},"map_files_photo_id_array":[{"photo_id":"1397150755","filename":"file2"},{"photo_id":"1397150754","filename":"file1"},{"photo_id":"1397150753","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397150754":["hashtag1","hashtag2"]},{"1397150753":["hashtag1","hashtag2"]},{"1397150755":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397150754, 1397150753, 1397150755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.44783353805542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 02:33:32.052233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_21_3516.jpg', '/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_26_2698.jpg', '/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_30_3576.jpg', '/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_33_2603.jpg', '/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_35_2614.jpg', '/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_39_3722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_21_3516.jpg
/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_26_2698.jpg
/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_30_3576.jpg
/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_33_2603.jpg
/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_35_2614.jpg
/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_39_3722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150760","1397150766","1397150762","1397150765","1397150764","1397150767"],"photo_ids_order":["1397150760","1397150762","1397150764","1397150765","1397150766","1397150767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3bd2684a1fe245460cc5f7047c743242.jpg","text":"TemporaryFile(/tmp/multipartBody7002019000134069709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552873792,"filename":"image_25112025_21_26_21_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/1/055014647dd309bba42894d4a5670d4f.jpg","text":"TemporaryFile(/tmp/multipartBody7324851244702202737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552873792,"filename":"image_25112025_21_26_35_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/1/34f8ad330d30752b8e670b59027dd3c5.jpg","text":"TemporaryFile(/tmp/multipartBody6172859623485151476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552873792,"filename":"image_25112025_21_26_26_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/1/7f807d31eca3f2532d724019e08cf928.jpg","text":"TemporaryFile(/tmp/multipartBody7227133503409222777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552873792,"filename":"image_25112025_21_26_33_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/1/830da63c1de0a422df2efe6954aab83a.jpg","text":"TemporaryFile(/tmp/multipartBody3520264831723333109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552873792,"filename":"image_25112025_21_26_30_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/1/b139d43681afb80ca452dcfc8636a59f.jpg","text":"TemporaryFile(/tmp/multipartBody165099392976230600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552873792,"filename":"image_25112025_21_26_39_3722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150764","file1":"1397150762","file0":"1397150760","file4":"1397150766","file5":"1397150767","file3":"1397150765"},"map_files_photo_id_array":[{"photo_id":"1397150767","filename":"file5"},{"photo_id":"1397150764","filename":"file2"},{"photo_id":"1397150766","filename":"file4"},{"photo_id":"1397150762","filename":"file1"},{"photo_id":"1397150760","filename":"file0"},{"photo_id":"1397150765","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397150760":["hashtag1","hashtag2"]},{"1397150766":["hashtag1","hashtag2"]},{"1397150762":["hashtag1","hashtag2"]},{"1397150765":["hashtag1","hashtag2"]},{"1397150764":["hashtag1","hashtag2"]},{"1397150767":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397150760, 1397150766, 1397150762, 1397150765, 1397150764, 1397150767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34164810180664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 02:34:12.022210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_42_2677.jpg', '/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_44_2527.jpg', '/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_48_3614.jpg', '/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_50_2608.jpg', '/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_53_2763.jpg', '/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_57_3777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_42_2677.jpg
/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_44_2527.jpg
/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_48_3614.jpg
/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_50_2608.jpg
/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_53_2763.jpg
/home/pi/Desktop/images/25112025/21/26/image_25112025_21_26_57_3777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150775","1397150769","1397150778","1397150771","1397150768","1397150773"],"photo_ids_order":["1397150768","1397150769","1397150771","1397150773","1397150775","1397150778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f397dbfe666a65b08cd9f800b224cb7a.jpg","text":"TemporaryFile(/tmp/multipartBody4085210475400749582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552913678,"filename":"image_25112025_21_26_53_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/1/546c183ed5705615e67538777eb29333.jpg","text":"TemporaryFile(/tmp/multipartBody6156981730476160287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552913678,"filename":"image_25112025_21_26_44_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/1/ff96498b7012390b4f094cd33049ac8d.jpg","text":"TemporaryFile(/tmp/multipartBody3139287578983242091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552913678,"filename":"image_25112025_21_26_57_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6773d74d8eab3d38ae95651f42762fa8.jpg","text":"TemporaryFile(/tmp/multipartBody1781952853171653507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552913678,"filename":"image_25112025_21_26_48_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/1/88e141cb9db8df81281c168b17e90302.jpg","text":"TemporaryFile(/tmp/multipartBody3962240891770955469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552913678,"filename":"image_25112025_21_26_42_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/1/18aebfe9b09b45850a5e0cd86f16f6a6.jpg","text":"TemporaryFile(/tmp/multipartBody7669892188758604957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552913678,"filename":"image_25112025_21_26_50_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150771","file1":"1397150769","file0":"1397150768","file4":"1397150775","file5":"1397150778","file3":"1397150773"},"map_files_photo_id_array":[{"photo_id":"1397150778","filename":"file5"},{"photo_id":"1397150771","filename":"file2"},{"photo_id":"1397150775","filename":"file4"},{"photo_id":"1397150769","filename":"file1"},{"photo_id":"1397150768","filename":"file0"},{"photo_id":"1397150773","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397150775":["hashtag1","hashtag2"]},{"1397150769":["hashtag1","hashtag2"]},{"1397150778":["hashtag1","hashtag2"]},{"1397150771":["hashtag1","hashtag2"]},{"1397150768":["hashtag1","hashtag2"]},{"1397150773":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397150775, 1397150769, 1397150778, 1397150771, 1397150768, 1397150773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36866211891174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:35:03.020144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/32/image_01122025_02_32_44_9593.jpg', '/home/pi/Desktop/images/01122025/02/33/image_01122025_02_33_23_9646.jpg', '/home/pi/Desktop/images/01122025/02/33/image_01122025_02_33_34_10727.jpg', '/home/pi/Desktop/images/01122025/02/33/image_01122025_02_33_44_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/32/image_01122025_02_32_44_9593.jpg
/home/pi/Desktop/images/01122025/02/33/image_01122025_02_33_23_9646.jpg
/home/pi/Desktop/images/01122025/02/33/image_01122025_02_33_34_10727.jpg
/home/pi/Desktop/images/01122025/02/33/image_01122025_02_33_44_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150781","1397150780","1397150783","1397150779"],"photo_ids_order":["1397150779","1397150780","1397150781","1397150783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9d80fdb13526d64f0f0db101e5fc1c69.jpg","text":"TemporaryFile(/tmp/multipartBody7224522059278719507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552963710,"filename":"image_01122025_02_33_34_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/497b09930694080be35cdee0877fadc2.jpg","text":"TemporaryFile(/tmp/multipartBody714180048993621846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552963710,"filename":"image_01122025_02_33_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/1/490e6bd9f7df81809a7eb190814fc16e.jpg","text":"TemporaryFile(/tmp/multipartBody1744844494219750002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552963710,"filename":"image_01122025_02_33_44_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b340aa1d67ea8d0a87399fc3234ccc16.jpg","text":"TemporaryFile(/tmp/multipartBody2114551619828642169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764552963710,"filename":"image_01122025_02_32_44_9593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150781","file1":"1397150780","file0":"1397150779","file3":"1397150783"},"map_files_photo_id_array":[{"photo_id":"1397150781","filename":"file2"},{"photo_id":"1397150780","filename":"file1"},{"photo_id":"1397150779","filename":"file0"},{"photo_id":"1397150783","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397150781":["hashtag1","hashtag2"]},{"1397150780":["hashtag1","hashtag2"]},{"1397150783":["hashtag1","hashtag2"]},{"1397150779":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397150781, 1397150780, 1397150783, 1397150779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.91530704498291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 02:35:42.330583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_28_2682.jpg', '/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_32_3787.jpg', '/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_35_2672.jpg', '/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_37_2700.jpg', '/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_41_3728.jpg', '/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_44_2865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_28_2682.jpg
/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_32_3787.jpg
/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_35_2672.jpg
/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_37_2700.jpg
/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_41_3728.jpg
/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_44_2865.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150793","1397150790","1397150792","1397150789","1397150794","1397150791"],"photo_ids_order":["1397150789","1397150790","1397150791","1397150792","1397150793","1397150794"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/254e05df557083f60becf1a3f391efb0.jpg","text":"TemporaryFile(/tmp/multipartBody7138113569680066274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553003172,"filename":"image_01112025_00_17_41_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/1/5085b8757f97dc996aaf1367a8898fba.jpg","text":"TemporaryFile(/tmp/multipartBody7218541522597776687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553003172,"filename":"image_01112025_00_17_32_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/1/dfe1ced57ce937b0c97227c0fa36d706.jpg","text":"TemporaryFile(/tmp/multipartBody6219838680787186407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553003172,"filename":"image_01112025_00_17_37_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/1/6851a5a713ebf30ac219fd989391eb68.jpg","text":"TemporaryFile(/tmp/multipartBody285445640141419008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553003172,"filename":"image_01112025_00_17_28_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7a0c94711f3c2da8fed1e08f82a2b3ff.jpg","text":"TemporaryFile(/tmp/multipartBody7274177419325384376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553003172,"filename":"image_01112025_00_17_44_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/1/28e878c0d5b45224a39b34f0fef423d4.jpg","text":"TemporaryFile(/tmp/multipartBody3011545220106623043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553003172,"filename":"image_01112025_00_17_35_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150791","file1":"1397150790","file0":"1397150789","file4":"1397150793","file5":"1397150794","file3":"1397150792"},"map_files_photo_id_array":[{"photo_id":"1397150794","filename":"file5"},{"photo_id":"1397150791","filename":"file2"},{"photo_id":"1397150793","filename":"file4"},{"photo_id":"1397150790","filename":"file1"},{"photo_id":"1397150789","filename":"file0"},{"photo_id":"1397150792","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397150793":["hashtag1","hashtag2"]},{"1397150790":["hashtag1","hashtag2"]},{"1397150792":["hashtag1","hashtag2"]},{"1397150789":["hashtag1","hashtag2"]},{"1397150794":["hashtag1","hashtag2"]},{"1397150791":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397150793, 1397150790, 1397150792, 1397150789, 1397150794, 1397150791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.675328493118286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 02:36:22.495652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/34/image_01122025_02_34_24_9821.jpg', '/home/pi/Desktop/images/01122025/02/35/image_01122025_02_35_14_9790.jpg', '/home/pi/Desktop/images/01122025/02/35/image_01122025_02_35_24_10816.jpg', '/home/pi/Desktop/images/01122025/02/35/image_01122025_02_35_34_9774.jpg', '/home/pi/Desktop/images/01122025/02/36/image_01122025_02_36_14_10715.jpg', '/home/pi/Desktop/images/01122025/02/36/image_01122025_02_36_24_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/34/image_01122025_02_34_24_9821.jpg
/home/pi/Desktop/images/01122025/02/35/image_01122025_02_35_14_9790.jpg
/home/pi/Desktop/images/01122025/02/35/image_01122025_02_35_24_10816.jpg
/home/pi/Desktop/images/01122025/02/35/image_01122025_02_35_34_9774.jpg
/home/pi/Desktop/images/01122025/02/36/image_01122025_02_36_14_10715.jpg
/home/pi/Desktop/images/01122025/02/36/image_01122025_02_36_24_9656.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7014431953430176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 02:36:32.647056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/26/image_25112025_21_27_00_2605.jpg', '/home/pi/Desktop/images/25112025/21/27/image_25112025_21_27_02_2761.jpg', '/home/pi/Desktop/images/25112025/21/27/image_25112025_21_27_07_5088.jpg', '/home/pi/Desktop/images/25112025/21/27/image_25112025_21_27_09_1653.jpg', '/home/pi/Desktop/images/25112025/21/27/image_25112025_21_27_12_2558.jpg', '/home/pi/Desktop/images/25112025/21/27/image_25112025_21_27_14_2754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/26/image_25112025_21_27_00_2605.jpg
/home/pi/Desktop/images/25112025/21/27/image_25112025_21_27_02_2761.jpg
/home/pi/Desktop/images/25112025/21/27/image_25112025_21_27_07_5088.jpg
/home/pi/Desktop/images/25112025/21/27/image_25112025_21_27_09_1653.jpg
/home/pi/Desktop/images/25112025/21/27/image_25112025_21_27_12_2558.jpg
/home/pi/Desktop/images/25112025/21/27/image_25112025_21_27_14_2754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150811","1397150805","1397150808","1397150802","1397150810","1397150809"],"photo_ids_order":["1397150802","1397150805","1397150808","1397150809","1397150810","1397150811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/526413505d8ab9bed992c25141e5cc23.jpg","text":"TemporaryFile(/tmp/multipartBody2450448022092932405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553054424,"filename":"image_25112025_21_27_14_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/1/0aef5831ff4490a91a39d3aafbe0580d.jpg","text":"TemporaryFile(/tmp/multipartBody567249941937911057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553054424,"filename":"image_25112025_21_27_02_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8b9d49e96daafeb7f8acbb13246d4558.jpg","text":"TemporaryFile(/tmp/multipartBody4568101226982816438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553054424,"filename":"image_25112025_21_27_07_5088.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/677b47f0cd39154bdb0fe512d1465a54.jpg","text":"TemporaryFile(/tmp/multipartBody1225296538900894312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553054424,"filename":"image_25112025_21_27_00_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/1/a9555e9c1b4ad1bea29cb2df84267942.jpg","text":"TemporaryFile(/tmp/multipartBody3182340087391735146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553054424,"filename":"image_25112025_21_27_12_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/1/a62b2dcd0f405b8dfe05e438a24202d7.jpg","text":"TemporaryFile(/tmp/multipartBody1219227941557707156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553054424,"filename":"image_25112025_21_27_09_1653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150808","file1":"1397150805","file0":"1397150802","file4":"1397150810","file5":"1397150811","file3":"1397150809"},"map_files_photo_id_array":[{"photo_id":"1397150811","filename":"file5"},{"photo_id":"1397150808","filename":"file2"},{"photo_id":"1397150810","filename":"file4"},{"photo_id":"1397150805","filename":"file1"},{"photo_id":"1397150802","filename":"file0"},{"photo_id":"1397150809","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397150811":["hashtag1","hashtag2"]},{"1397150805":["hashtag1","hashtag2"]},{"1397150808":["hashtag1","hashtag2"]},{"1397150802":["hashtag1","hashtag2"]},{"1397150810":["hashtag1","hashtag2"]},{"1397150809":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397150811, 1397150805, 1397150808, 1397150802, 1397150810, 1397150809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76296138763428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 02:37:12.731888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/27/image_25112025_21_27_18_3628.jpg', '/home/pi/Desktop/images/25112025/21/27/image_25112025_21_27_23_5195.jpg', '/home/pi/Desktop/images/25112025/21/27/image_25112025_21_27_25_1767.jpg', '/home/pi/Desktop/images/25112025/21/27/image_25112025_21_27_31_6216.jpg', '/home/pi/Desktop/images/25112025/21/27/image_25112025_21_27_36_1568.jpg', '/home/pi/Desktop/images/25112025/21/27/image_25112025_21_27_54_11713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/27/image_25112025_21_27_18_3628.jpg
/home/pi/Desktop/images/25112025/21/27/image_25112025_21_27_23_5195.jpg
/home/pi/Desktop/images/25112025/21/27/image_25112025_21_27_25_1767.jpg
/home/pi/Desktop/images/25112025/21/27/image_25112025_21_27_31_6216.jpg
/home/pi/Desktop/images/25112025/21/27/image_25112025_21_27_36_1568.jpg
/home/pi/Desktop/images/25112025/21/27/image_25112025_21_27_54_11713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150823","1397150817","1397150819","1397150813","1397150821","1397150815"],"photo_ids_order":["1397150813","1397150815","1397150817","1397150819","1397150821","1397150823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6c330c2754c35144bd2d57a212e39e89.jpg","text":"TemporaryFile(/tmp/multipartBody4059238453352076431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553094362,"filename":"image_25112025_21_27_54_11713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/368d74c14998a0de9d6b062995c6c0d1.jpg","text":"TemporaryFile(/tmp/multipartBody6765569577878064352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553094362,"filename":"image_25112025_21_27_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/1/43a30526c9171b73fbd67d8adf4abb73.jpg","text":"TemporaryFile(/tmp/multipartBody6745722488996233225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553094362,"filename":"image_25112025_21_27_31_6216.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0ce48346b6d5c494aedaf04abe7c1323.jpg","text":"TemporaryFile(/tmp/multipartBody3443395378733726131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553094362,"filename":"image_25112025_21_27_18_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/1/8273b760aafaa7cfea0c8e66c9229b6c.jpg","text":"TemporaryFile(/tmp/multipartBody2767309222993343012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553094362,"filename":"image_25112025_21_27_36_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/1/2a3651a420b1440983784c395dc7157b.jpg","text":"TemporaryFile(/tmp/multipartBody8185500178328817515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553094362,"filename":"image_25112025_21_27_23_5195.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150817","file1":"1397150815","file0":"1397150813","file4":"1397150821","file5":"1397150823","file3":"1397150819"},"map_files_photo_id_array":[{"photo_id":"1397150823","filename":"file5"},{"photo_id":"1397150817","filename":"file2"},{"photo_id":"1397150821","filename":"file4"},{"photo_id":"1397150815","filename":"file1"},{"photo_id":"1397150813","filename":"file0"},{"photo_id":"1397150819","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397150823":["hashtag1","hashtag2"]},{"1397150817":["hashtag1","hashtag2"]},{"1397150819":["hashtag1","hashtag2"]},{"1397150813":["hashtag1","hashtag2"]},{"1397150821":["hashtag1","hashtag2"]},{"1397150815":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397150823, 1397150817, 1397150819, 1397150813, 1397150821, 1397150815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38550114631653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:38:02.528795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/34/image_01122025_02_34_24_9821.jpg', '/home/pi/Desktop/images/01122025/02/35/image_01122025_02_35_14_9790.jpg', '/home/pi/Desktop/images/01122025/02/35/image_01122025_02_35_24_10816.jpg', '/home/pi/Desktop/images/01122025/02/35/image_01122025_02_35_34_9774.jpg', '/home/pi/Desktop/images/01122025/02/36/image_01122025_02_36_14_10715.jpg', '/home/pi/Desktop/images/01122025/02/36/image_01122025_02_36_24_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/34/image_01122025_02_34_24_9821.jpg
/home/pi/Desktop/images/01122025/02/35/image_01122025_02_35_14_9790.jpg
/home/pi/Desktop/images/01122025/02/35/image_01122025_02_35_24_10816.jpg
/home/pi/Desktop/images/01122025/02/35/image_01122025_02_35_34_9774.jpg
/home/pi/Desktop/images/01122025/02/36/image_01122025_02_36_14_10715.jpg
/home/pi/Desktop/images/01122025/02/36/image_01122025_02_36_24_9656.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.660935640335083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 02:38:11.931320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/27/image_25112025_21_27_55_1648.jpg', '/home/pi/Desktop/images/25112025/21/27/image_25112025_21_27_57_1761.jpg', '/home/pi/Desktop/images/25112025/21/27/image_25112025_21_27_59_1731.jpg', '/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_01_2064.jpg', '/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_02_1555.jpg', '/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_04_1651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/27/image_25112025_21_27_55_1648.jpg
/home/pi/Desktop/images/25112025/21/27/image_25112025_21_27_57_1761.jpg
/home/pi/Desktop/images/25112025/21/27/image_25112025_21_27_59_1731.jpg
/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_01_2064.jpg
/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_02_1555.jpg
/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_04_1651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150838","1397150832","1397150829","1397150834","1397150827","1397150836"],"photo_ids_order":["1397150827","1397150829","1397150832","1397150834","1397150836","1397150838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9f59011038d2186e193bc6bdce0f17bb.jpg","text":"TemporaryFile(/tmp/multipartBody3183694183808924750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553153419,"filename":"image_25112025_21_28_04_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/1/01fb1c47ae9c7493cf20a69ae43a7528.jpg","text":"TemporaryFile(/tmp/multipartBody7399334159810418075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553153419,"filename":"image_25112025_21_27_59_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/1/ae95341cefd460de42c09e4480ca50ff.jpg","text":"TemporaryFile(/tmp/multipartBody3505739540537870227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553153419,"filename":"image_25112025_21_27_57_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/1/1c52d20ba8c343f40a2ba14f2d23333f.jpg","text":"TemporaryFile(/tmp/multipartBody1556057609651157671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553153419,"filename":"image_25112025_21_28_01_2064.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bbcd53927a172ad3cbaa082d081685e3.jpg","text":"TemporaryFile(/tmp/multipartBody2212126190756133670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553153419,"filename":"image_25112025_21_27_55_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/1/51b69add22dc822541367f21b1efbeef.jpg","text":"TemporaryFile(/tmp/multipartBody5782368378363308352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553153419,"filename":"image_25112025_21_28_02_1555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150832","file1":"1397150829","file0":"1397150827","file4":"1397150836","file5":"1397150838","file3":"1397150834"},"map_files_photo_id_array":[{"photo_id":"1397150838","filename":"file5"},{"photo_id":"1397150832","filename":"file2"},{"photo_id":"1397150836","filename":"file4"},{"photo_id":"1397150829","filename":"file1"},{"photo_id":"1397150827","filename":"file0"},{"photo_id":"1397150834","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397150838":["hashtag1","hashtag2"]},{"1397150832":["hashtag1","hashtag2"]},{"1397150829":["hashtag1","hashtag2"]},{"1397150834":["hashtag1","hashtag2"]},{"1397150827":["hashtag1","hashtag2"]},{"1397150836":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397150838, 1397150832, 1397150829, 1397150834, 1397150827, 1397150836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.230130672454834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:39:03.037998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/34/image_01122025_02_34_24_9821.jpg', '/home/pi/Desktop/images/01122025/02/35/image_01122025_02_35_14_9790.jpg', '/home/pi/Desktop/images/01122025/02/35/image_01122025_02_35_24_10816.jpg', '/home/pi/Desktop/images/01122025/02/35/image_01122025_02_35_34_9774.jpg', '/home/pi/Desktop/images/01122025/02/36/image_01122025_02_36_14_10715.jpg', '/home/pi/Desktop/images/01122025/02/36/image_01122025_02_36_24_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/34/image_01122025_02_34_24_9821.jpg
/home/pi/Desktop/images/01122025/02/35/image_01122025_02_35_14_9790.jpg
/home/pi/Desktop/images/01122025/02/35/image_01122025_02_35_24_10816.jpg
/home/pi/Desktop/images/01122025/02/35/image_01122025_02_35_34_9774.jpg
/home/pi/Desktop/images/01122025/02/36/image_01122025_02_36_14_10715.jpg
/home/pi/Desktop/images/01122025/02/36/image_01122025_02_36_24_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150841","1397150844","1397150847","1397150849","1397150843","1397150842"],"photo_ids_order":["1397150841","1397150842","1397150843","1397150844","1397150847","1397150849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/167d765212d97fce57c462bc19862cd3.jpg","text":"TemporaryFile(/tmp/multipartBody3526620089976965559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553204056,"filename":"image_01122025_02_34_24_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1158f9a4b2d48fb95ae61853e2a6fd9a.jpg","text":"TemporaryFile(/tmp/multipartBody2798573615282817077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553204056,"filename":"image_01122025_02_35_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/1/62f6db41c7f07cdae3e13f67f644b716.jpg","text":"TemporaryFile(/tmp/multipartBody2322622224710597465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553204056,"filename":"image_01122025_02_36_14_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6fa7fe3f185f1c88034c96c176f443c1.jpg","text":"TemporaryFile(/tmp/multipartBody7006419837554347654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553204056,"filename":"image_01122025_02_36_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/1/5cadde599a8bb97c11e75636c16f345d.jpg","text":"TemporaryFile(/tmp/multipartBody8977674038651138833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553204056,"filename":"image_01122025_02_35_24_10816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b39925b21fc4c9f6753af48a450c5729.jpg","text":"TemporaryFile(/tmp/multipartBody8032329964523995128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553204056,"filename":"image_01122025_02_35_14_9790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150843","file1":"1397150842","file0":"1397150841","file4":"1397150847","file5":"1397150849","file3":"1397150844"},"map_files_photo_id_array":[{"photo_id":"1397150849","filename":"file5"},{"photo_id":"1397150843","filename":"file2"},{"photo_id":"1397150847","filename":"file4"},{"photo_id":"1397150842","filename":"file1"},{"photo_id":"1397150841","filename":"file0"},{"photo_id":"1397150844","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397150841":["hashtag1","hashtag2"]},{"1397150844":["hashtag1","hashtag2"]},{"1397150847":["hashtag1","hashtag2"]},{"1397150849":["hashtag1","hashtag2"]},{"1397150843":["hashtag1","hashtag2"]},{"1397150842":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397150841, 1397150844, 1397150847, 1397150849, 1397150843, 1397150842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42754125595093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 02:39:42.184712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_47_2749.jpg', '/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_50_3236.jpg', '/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_52_2509.jpg', '/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_55_2706.jpg', '/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_59_3710.jpg', '/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_05_3648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_47_2749.jpg
/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_50_3236.jpg
/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_52_2509.jpg
/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_55_2706.jpg
/home/pi/Desktop/images/01112025/00/17/image_01112025_00_17_59_3710.jpg
/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_05_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":["1397150856","1397150853","1397150852","1397150855","1397150857","1397150854"],"photo_ids_order":["1397150852","1397150853","1397150854","1397150855","1397150856","1397150857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/221cb29488cd6b03e17e91e87a1b2036.jpg","text":"TemporaryFile(/tmp/multipartBody3438653960746519904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553243079,"filename":"image_01112025_00_17_59_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6e81083e3a2ae593213ffdbc3a3e2f79.jpg","text":"TemporaryFile(/tmp/multipartBody5856200300468667014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553243079,"filename":"image_01112025_00_17_50_3236.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1fcab40d3464406474c5b70bf2f775bb.jpg","text":"TemporaryFile(/tmp/multipartBody8855077194597015906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553243079,"filename":"image_01112025_00_17_47_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2f8f5d2ccab66d8c7931a25041c08b90.jpg","text":"TemporaryFile(/tmp/multipartBody8593873499844773791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553243079,"filename":"image_01112025_00_17_55_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2b5cb6d3cdc421249fa0fa7131aa107a.jpg","text":"TemporaryFile(/tmp/multipartBody7228626872631279820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553243079,"filename":"image_01112025_00_18_05_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/1/9bed82c845c0574015132ffaf48fccd6.jpg","text":"TemporaryFile(/tmp/multipartBody6006264718670226718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553243079,"filename":"image_01112025_00_17_52_2509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150854","file1":"1397150853","file0":"1397150852","file4":"1397150856","file5":"1397150857","file3":"1397150855"},"map_files_photo_id_array":[{"photo_id":"1397150857","filename":"file5"},{"photo_id":"1397150854","filename":"file2"},{"photo_id":"1397150856","filename":"file4"},{"photo_id":"1397150853","filename":"file1"},{"photo_id":"1397150852","filename":"file0"},{"photo_id":"1397150855","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397150856":["hashtag1","hashtag2"]},{"1397150853":["hashtag1","hashtag2"]},{"1397150852":["hashtag1","hashtag2"]},{"1397150855":["hashtag1","hashtag2"]},{"1397150857":["hashtag1","hashtag2"]},{"1397150854":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397150856, 1397150853, 1397150852, 1397150855, 1397150857, 1397150854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40009379386902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 02:40:22.342855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/36/image_01122025_02_36_34_9840.jpg', '/home/pi/Desktop/images/01122025/02/36/image_01122025_02_36_43_9566.jpg', '/home/pi/Desktop/images/01122025/02/36/image_01122025_02_36_54_10712.jpg', '/home/pi/Desktop/images/01122025/02/37/image_01122025_02_37_14_9744.jpg', '/home/pi/Desktop/images/01122025/02/37/image_01122025_02_37_23_9806.jpg', '/home/pi/Desktop/images/01122025/02/37/image_01122025_02_37_54_9935.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/36/image_01122025_02_36_34_9840.jpg
/home/pi/Desktop/images/01122025/02/36/image_01122025_02_36_43_9566.jpg
/home/pi/Desktop/images/01122025/02/36/image_01122025_02_36_54_10712.jpg
/home/pi/Desktop/images/01122025/02/37/image_01122025_02_37_14_9744.jpg
/home/pi/Desktop/images/01122025/02/37/image_01122025_02_37_23_9806.jpg
/home/pi/Desktop/images/01122025/02/37/image_01122025_02_37_54_9935.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150868","1397150862","1397150867","1397150864","1397150866","1397150860"],"photo_ids_order":["1397150860","1397150862","1397150864","1397150866","1397150867","1397150868"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b6c42441b18b96c29cb5ac36bac3fe69.jpg","text":"TemporaryFile(/tmp/multipartBody3103924449684548269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553283120,"filename":"image_01122025_02_37_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/1/43bc33ff76fef6d73096064dce1469a4.jpg","text":"TemporaryFile(/tmp/multipartBody6513890390618937224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553283120,"filename":"image_01122025_02_36_43_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/1/bf340a2382b0cff12bb25a2f990b3d89.jpg","text":"TemporaryFile(/tmp/multipartBody6151791335177009359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553283120,"filename":"image_01122025_02_37_23_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bb4938e90fef2e0044d619298c0191ab.jpg","text":"TemporaryFile(/tmp/multipartBody24704202851411520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553283120,"filename":"image_01122025_02_36_54_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3ed20432f6bf56819b4fc382e5bcc60e.jpg","text":"TemporaryFile(/tmp/multipartBody1099219377517802468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553283120,"filename":"image_01122025_02_37_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/1/d0584d47f13cde46da2a4e228612ffae.jpg","text":"TemporaryFile(/tmp/multipartBody7391206893113288748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553283120,"filename":"image_01122025_02_36_34_9840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150864","file1":"1397150862","file0":"1397150860","file4":"1397150867","file5":"1397150868","file3":"1397150866"},"map_files_photo_id_array":[{"photo_id":"1397150868","filename":"file5"},{"photo_id":"1397150864","filename":"file2"},{"photo_id":"1397150867","filename":"file4"},{"photo_id":"1397150862","filename":"file1"},{"photo_id":"1397150860","filename":"file0"},{"photo_id":"1397150866","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397150868":["hashtag1","hashtag2"]},{"1397150862":["hashtag1","hashtag2"]},{"1397150867":["hashtag1","hashtag2"]},{"1397150864":["hashtag1","hashtag2"]},{"1397150866":["hashtag1","hashtag2"]},{"1397150860":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397150868, 1397150862, 1397150867, 1397150864, 1397150866, 1397150860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98833084106445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:41:02.963205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/38/image_01122025_02_38_14_10715.jpg', '/home/pi/Desktop/images/01122025/02/38/image_01122025_02_38_24_9660.jpg', '/home/pi/Desktop/images/01122025/02/38/image_01122025_02_38_34_9691.jpg', '/home/pi/Desktop/images/01122025/02/39/image_01122025_02_39_54_10684.jpg', '/home/pi/Desktop/images/01122025/02/40/image_01122025_02_40_24_9946.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/38/image_01122025_02_38_14_10715.jpg
/home/pi/Desktop/images/01122025/02/38/image_01122025_02_38_24_9660.jpg
/home/pi/Desktop/images/01122025/02/38/image_01122025_02_38_34_9691.jpg
/home/pi/Desktop/images/01122025/02/39/image_01122025_02_39_54_10684.jpg
/home/pi/Desktop/images/01122025/02/40/image_01122025_02_40_24_9946.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150871","1397150870","1397150875","1397150872","1397150869"],"photo_ids_order":["1397150869","1397150870","1397150871","1397150872","1397150875"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/37cf46f7fd15a55f93412470020670a9.jpg","text":"TemporaryFile(/tmp/multipartBody7065487175474373703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553323779,"filename":"image_01122025_02_38_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/1/bbe6592a27ef5a5c7f25180ca3e7cd14.jpg","text":"TemporaryFile(/tmp/multipartBody7565846634582130810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553323779,"filename":"image_01122025_02_38_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/1/fb0cb141d15470bfd55b24537b32ba99.jpg","text":"TemporaryFile(/tmp/multipartBody479373450038658223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553323779,"filename":"image_01122025_02_40_24_9946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c00a2a34f36f837ed2af94601ff1095f.jpg","text":"TemporaryFile(/tmp/multipartBody8940724850735524037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553323779,"filename":"image_01122025_02_39_54_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0f56eaff4fffc4ee23427c23cb213fa7.jpg","text":"TemporaryFile(/tmp/multipartBody8524309447085136983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553323779,"filename":"image_01122025_02_38_14_10715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150871","file1":"1397150870","file0":"1397150869","file4":"1397150875","file3":"1397150872"},"map_files_photo_id_array":[{"photo_id":"1397150871","filename":"file2"},{"photo_id":"1397150875","filename":"file4"},{"photo_id":"1397150870","filename":"file1"},{"photo_id":"1397150869","filename":"file0"},{"photo_id":"1397150872","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397150871":["hashtag1","hashtag2"]},{"1397150870":["hashtag1","hashtag2"]},{"1397150875":["hashtag1","hashtag2"]},{"1397150872":["hashtag1","hashtag2"]},{"1397150869":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397150871, 1397150870, 1397150875, 1397150872, 1397150869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.3891921043396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 02:41:42.685595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_08_2731.jpg', '/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_10_2718.jpg', '/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_13_2741.jpg', '/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_20_2866.jpg', '/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_25_2626.jpg', '/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_28_2775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_08_2731.jpg
/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_10_2718.jpg
/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_13_2741.jpg
/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_20_2866.jpg
/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_25_2626.jpg
/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_28_2775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150880","1397150883","1397150879","1397150882","1397150881","1397150884"],"photo_ids_order":["1397150879","1397150880","1397150881","1397150882","1397150883","1397150884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0049cb2d6029e7d0beb7544332fb5d95.jpg","text":"TemporaryFile(/tmp/multipartBody7839926607314002427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553363521,"filename":"image_01112025_00_18_10_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/08433131659bddc0508d2a129790ac5a.jpg","text":"TemporaryFile(/tmp/multipartBody6898064664405308930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553363521,"filename":"image_01112025_00_18_25_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1c5f122557760b670ce54339a8b3c72e.jpg","text":"TemporaryFile(/tmp/multipartBody5320185041396862005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553363521,"filename":"image_01112025_00_18_08_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0b8ff837c46d257de003e2532aeb0f15.jpg","text":"TemporaryFile(/tmp/multipartBody7629566514117821147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553363521,"filename":"image_01112025_00_18_20_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/50cd0458b9a84df4a1d541da99346832.jpg","text":"TemporaryFile(/tmp/multipartBody203256635877888550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553363521,"filename":"image_01112025_00_18_13_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/1/e5f0290c476e99fe5ba3f79095cee50e.jpg","text":"TemporaryFile(/tmp/multipartBody6472550589681883251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553363521,"filename":"image_01112025_00_18_28_2775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150881","file1":"1397150880","file0":"1397150879","file4":"1397150883","file5":"1397150884","file3":"1397150882"},"map_files_photo_id_array":[{"photo_id":"1397150884","filename":"file5"},{"photo_id":"1397150881","filename":"file2"},{"photo_id":"1397150883","filename":"file4"},{"photo_id":"1397150880","filename":"file1"},{"photo_id":"1397150879","filename":"file0"},{"photo_id":"1397150882","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397150880":["hashtag1","hashtag2"]},{"1397150883":["hashtag1","hashtag2"]},{"1397150879":["hashtag1","hashtag2"]},{"1397150882":["hashtag1","hashtag2"]},{"1397150881":["hashtag1","hashtag2"]},{"1397150884":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397150880, 1397150883, 1397150879, 1397150882, 1397150881, 1397150884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25982666015625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 02:42:21.849537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/40/image_01122025_02_40_34_9703.jpg', '/home/pi/Desktop/images/01122025/02/41/image_01122025_02_41_44_9766.jpg', '/home/pi/Desktop/images/01122025/02/41/image_01122025_02_42_04_10817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/40/image_01122025_02_40_34_9703.jpg
/home/pi/Desktop/images/01122025/02/41/image_01122025_02_41_44_9766.jpg
/home/pi/Desktop/images/01122025/02/41/image_01122025_02_42_04_10817.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150886","1397150888","1397150890"],"photo_ids_order":["1397150886","1397150888","1397150890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ae3442de8a3997aeecb25f5bea3ee7ed.jpg","text":"TemporaryFile(/tmp/multipartBody8530451345865466320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553402474,"filename":"image_01122025_02_40_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/1/fc11dfd7fa5184a4a8af628253a89b06.jpg","text":"TemporaryFile(/tmp/multipartBody6172712982992048266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553402474,"filename":"image_01122025_02_41_44_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c05dfd67aebd24ff4b77ef47a5d78211.jpg","text":"TemporaryFile(/tmp/multipartBody4840298623365634070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553402474,"filename":"image_01122025_02_42_04_10817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150890","file1":"1397150888","file0":"1397150886"},"map_files_photo_id_array":[{"photo_id":"1397150890","filename":"file2"},{"photo_id":"1397150888","filename":"file1"},{"photo_id":"1397150886","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397150886":["hashtag1","hashtag2"]},{"1397150888":["hashtag1","hashtag2"]},{"1397150890":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397150886, 1397150888, 1397150890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.652159214019775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:43:02.837625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_08_1563.jpg', '/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_09_1630.jpg', '/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_11_1566.jpg', '/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_14_3075.jpg', '/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_15_1571.jpg', '/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_17_1658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_08_1563.jpg
/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_09_1630.jpg
/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_11_1566.jpg
/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_14_3075.jpg
/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_15_1571.jpg
/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_17_1658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150902","1397150898","1397150904","1397150897","1397150900","1397150899"],"photo_ids_order":["1397150897","1397150898","1397150899","1397150900","1397150902","1397150904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dcff0dc6101383185fc585dd79f9e53f.jpg","text":"TemporaryFile(/tmp/multipartBody8118292124033489680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553444047,"filename":"image_25112025_21_28_15_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/1/72e88c9d8a02cb874d2a74a6664c2719.jpg","text":"TemporaryFile(/tmp/multipartBody6836333368574011706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553444047,"filename":"image_25112025_21_28_09_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/1/84766a423aefba39270220c71c9a61f6.jpg","text":"TemporaryFile(/tmp/multipartBody7553318344408001937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553444047,"filename":"image_25112025_21_28_17_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/1/c50fd39880df7fe2474b60cda08b8870.jpg","text":"TemporaryFile(/tmp/multipartBody2950109283767715834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553444047,"filename":"image_25112025_21_28_08_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/1/83b843c36090496b138a3c3b55af61f1.jpg","text":"TemporaryFile(/tmp/multipartBody245962299589564717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553444047,"filename":"image_25112025_21_28_14_3075.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/47e3e230b2988eb47220544aa86c64a0.jpg","text":"TemporaryFile(/tmp/multipartBody6059394923380267376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553444047,"filename":"image_25112025_21_28_11_1566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150899","file1":"1397150898","file0":"1397150897","file4":"1397150902","file5":"1397150904","file3":"1397150900"},"map_files_photo_id_array":[{"photo_id":"1397150904","filename":"file5"},{"photo_id":"1397150899","filename":"file2"},{"photo_id":"1397150902","filename":"file4"},{"photo_id":"1397150898","filename":"file1"},{"photo_id":"1397150897","filename":"file0"},{"photo_id":"1397150900","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397150902":["hashtag1","hashtag2"]},{"1397150898":["hashtag1","hashtag2"]},{"1397150904":["hashtag1","hashtag2"]},{"1397150897":["hashtag1","hashtag2"]},{"1397150900":["hashtag1","hashtag2"]},{"1397150899":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397150902, 1397150898, 1397150904, 1397150897, 1397150900, 1397150899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.392536640167236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 02:43:42.150622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_32_3575.jpg', '/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_34_2761.jpg', '/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_38_3576.jpg', '/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_41_2658.jpg', '/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_47_3692.jpg', '/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_50_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_32_3575.jpg
/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_34_2761.jpg
/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_38_3576.jpg
/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_41_2658.jpg
/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_47_3692.jpg
/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_50_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":["1397150910","1397150913","1397150909","1397150912","1397150911","1397150908"],"photo_ids_order":["1397150908","1397150909","1397150910","1397150911","1397150912","1397150913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/84d9dc682aa12f237aaf4081d4cafe35.jpg","text":"TemporaryFile(/tmp/multipartBody6189689328921521810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553482996,"filename":"image_01112025_00_18_38_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/1/844da09e146765be963d7df368790868.jpg","text":"TemporaryFile(/tmp/multipartBody4836943265436809579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553482996,"filename":"image_01112025_00_18_50_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e7a6893a7dd608b632fd7af39afd5362.jpg","text":"TemporaryFile(/tmp/multipartBody2614288108451282176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553482996,"filename":"image_01112025_00_18_34_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/014c1c4e245ae811f589f1f391cd4abc.jpg","text":"TemporaryFile(/tmp/multipartBody5018929643387574754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553482996,"filename":"image_01112025_00_18_47_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/1/42b14b211db8724b1d95990a4ac28d64.jpg","text":"TemporaryFile(/tmp/multipartBody4417877326364629256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553482996,"filename":"image_01112025_00_18_41_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f81e5a710a55624dbfb030ed07a62f8f.jpg","text":"TemporaryFile(/tmp/multipartBody5718017998922133658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553482996,"filename":"image_01112025_00_18_32_3575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150910","file1":"1397150909","file0":"1397150908","file4":"1397150912","file5":"1397150913","file3":"1397150911"},"map_files_photo_id_array":[{"photo_id":"1397150913","filename":"file5"},{"photo_id":"1397150910","filename":"file2"},{"photo_id":"1397150912","filename":"file4"},{"photo_id":"1397150909","filename":"file1"},{"photo_id":"1397150908","filename":"file0"},{"photo_id":"1397150911","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397150910":["hashtag1","hashtag2"]},{"1397150913":["hashtag1","hashtag2"]},{"1397150909":["hashtag1","hashtag2"]},{"1397150912":["hashtag1","hashtag2"]},{"1397150911":["hashtag1","hashtag2"]},{"1397150908":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397150910, 1397150913, 1397150909, 1397150912, 1397150911, 1397150908)","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: 49.693110704422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 02:44:42.294956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_53_2983.jpg', '/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_55_2634.jpg', '/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_59_3564.jpg', '/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_01_2643.jpg', '/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_04_2590.jpg', '/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_08_3583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_53_2983.jpg
/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_55_2634.jpg
/home/pi/Desktop/images/01112025/00/18/image_01112025_00_18_59_3564.jpg
/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_01_2643.jpg
/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_04_2590.jpg
/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_08_3583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150922","1397150931","1397150933","1397150930","1397150932","1397150929"],"photo_ids_order":["1397150922","1397150929","1397150930","1397150931","1397150932","1397150933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/aaa1296a1b49eb4fc313c02428c4e0bf.jpg","text":"TemporaryFile(/tmp/multipartBody3567992477434616840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553543126,"filename":"image_01112025_00_18_53_2983.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/31e8569a83c5818d9c8f151e3ab55067.jpg","text":"TemporaryFile(/tmp/multipartBody8154961387007122794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553543126,"filename":"image_01112025_00_19_01_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8067f66d04785bfb942a1c7b5b640236.jpg","text":"TemporaryFile(/tmp/multipartBody7567745366425429750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553543126,"filename":"image_01112025_00_19_08_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ad1ca61a7990f82a9fc85584cd5c7275.jpg","text":"TemporaryFile(/tmp/multipartBody2907900546648485541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553543126,"filename":"image_01112025_00_18_59_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/1/661a6b3ed6ae9354765200d26721006b.jpg","text":"TemporaryFile(/tmp/multipartBody743098203379912705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553543126,"filename":"image_01112025_00_19_04_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/1/40b1b86e095eccd3c828a8fae43ff082.jpg","text":"TemporaryFile(/tmp/multipartBody7329574371386543114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553543126,"filename":"image_01112025_00_18_55_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150930","file1":"1397150929","file0":"1397150922","file4":"1397150932","file5":"1397150933","file3":"1397150931"},"map_files_photo_id_array":[{"photo_id":"1397150933","filename":"file5"},{"photo_id":"1397150930","filename":"file2"},{"photo_id":"1397150932","filename":"file4"},{"photo_id":"1397150929","filename":"file1"},{"photo_id":"1397150922","filename":"file0"},{"photo_id":"1397150931","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397150922":["hashtag1","hashtag2"]},{"1397150931":["hashtag1","hashtag2"]},{"1397150933":["hashtag1","hashtag2"]},{"1397150930":["hashtag1","hashtag2"]},{"1397150932":["hashtag1","hashtag2"]},{"1397150929":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397150922, 1397150931, 1397150933, 1397150930, 1397150932, 1397150929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94664454460144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 02:45:22.507572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/42/image_01122025_02_42_54_9633.jpg', '/home/pi/Desktop/images/01122025/02/42/image_01122025_02_43_04_10723.jpg', '/home/pi/Desktop/images/01122025/02/43/image_01122025_02_43_14_9606.jpg', '/home/pi/Desktop/images/01122025/02/43/image_01122025_02_43_34_9840.jpg', '/home/pi/Desktop/images/01122025/02/43/image_01122025_02_43_44_10681.jpg', '/home/pi/Desktop/images/01122025/02/43/image_01122025_02_43_54_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/42/image_01122025_02_42_54_9633.jpg
/home/pi/Desktop/images/01122025/02/42/image_01122025_02_43_04_10723.jpg
/home/pi/Desktop/images/01122025/02/43/image_01122025_02_43_14_9606.jpg
/home/pi/Desktop/images/01122025/02/43/image_01122025_02_43_34_9840.jpg
/home/pi/Desktop/images/01122025/02/43/image_01122025_02_43_44_10681.jpg
/home/pi/Desktop/images/01122025/02/43/image_01122025_02_43_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":["1397150940","1397150943","1397150942","1397150936","1397150944","1397150938"],"photo_ids_order":["1397150936","1397150938","1397150940","1397150942","1397150943","1397150944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/429b4e68d7e1530395e477b25c30279a.jpg","text":"TemporaryFile(/tmp/multipartBody7768472228730074042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553583273,"filename":"image_01122025_02_43_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/1/a12959ed026659e347d8a4c999166ac9.jpg","text":"TemporaryFile(/tmp/multipartBody4189373206748529742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553583273,"filename":"image_01122025_02_43_44_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/807c21f15e55b20d2a41a22ea9a68c53.jpg","text":"TemporaryFile(/tmp/multipartBody6569447909129504616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553583273,"filename":"image_01122025_02_43_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/1/57d36747127705540b9147cd8c42bcb5.jpg","text":"TemporaryFile(/tmp/multipartBody5729506180782726556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553583273,"filename":"image_01122025_02_42_54_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1f8e9871a92dec0e746bfe9764b2eb47.jpg","text":"TemporaryFile(/tmp/multipartBody1433816110281238384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553583273,"filename":"image_01122025_02_43_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/1/3103d2d7b2037b7cf594bdc612a2221f.jpg","text":"TemporaryFile(/tmp/multipartBody6867719385967292241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553583273,"filename":"image_01122025_02_43_04_10723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150940","file1":"1397150938","file0":"1397150936","file4":"1397150943","file5":"1397150944","file3":"1397150942"},"map_files_photo_id_array":[{"photo_id":"1397150944","filename":"file5"},{"photo_id":"1397150940","filename":"file2"},{"photo_id":"1397150943","filename":"file4"},{"photo_id":"1397150938","filename":"file1"},{"photo_id":"1397150936","filename":"file0"},{"photo_id":"1397150942","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397150940":["hashtag1","hashtag2"]},{"1397150943":["hashtag1","hashtag2"]},{"1397150942":["hashtag1","hashtag2"]},{"1397150936":["hashtag1","hashtag2"]},{"1397150944":["hashtag1","hashtag2"]},{"1397150938":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397150940, 1397150943, 1397150942, 1397150936, 1397150944, 1397150938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46964883804321 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:46:03.259433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/43/image_01122025_02_44_04_9740.jpg', '/home/pi/Desktop/images/01122025/02/44/image_01122025_02_44_24_9863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/43/image_01122025_02_44_04_9740.jpg
/home/pi/Desktop/images/01122025/02/44/image_01122025_02_44_24_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.4802377223968506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 02:46:12.810960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_21_3521.jpg', '/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_23_2555.jpg', '/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_27_3683.jpg', '/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_32_2630.jpg', '/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_36_3634.jpg', '/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_41_2746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_21_3521.jpg
/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_23_2555.jpg
/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_27_3683.jpg
/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_32_2630.jpg
/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_36_3634.jpg
/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_41_2746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150952","1397150946","1397150954","1397150956","1397150950","1397150947"],"photo_ids_order":["1397150946","1397150947","1397150950","1397150952","1397150954","1397150956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e95132e4b64afdb3ee2ceab53574f0cb.jpg","text":"TemporaryFile(/tmp/multipartBody1853843261878349770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553634432,"filename":"image_25112025_21_28_32_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/1/3fa944e7640a31418546525de00201d4.jpg","text":"TemporaryFile(/tmp/multipartBody7780813189298675475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553634432,"filename":"image_25112025_21_28_21_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/1/7c5e9516244d088a3e482cffc2155108.jpg","text":"TemporaryFile(/tmp/multipartBody2916379285074672672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553634432,"filename":"image_25112025_21_28_36_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/1/712cb0322aa93e4ab36cb0b7d2fb24b6.jpg","text":"TemporaryFile(/tmp/multipartBody5477420071329621585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553634432,"filename":"image_25112025_21_28_41_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/1/33791944daa203af63d08cc51100c310.jpg","text":"TemporaryFile(/tmp/multipartBody1842609272826188819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553634432,"filename":"image_25112025_21_28_27_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/1/ad2069e4124141d56cac255ff042fc9d.jpg","text":"TemporaryFile(/tmp/multipartBody175068584355320374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553634432,"filename":"image_25112025_21_28_23_2555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150950","file1":"1397150947","file0":"1397150946","file4":"1397150954","file5":"1397150956","file3":"1397150952"},"map_files_photo_id_array":[{"photo_id":"1397150956","filename":"file5"},{"photo_id":"1397150950","filename":"file2"},{"photo_id":"1397150954","filename":"file4"},{"photo_id":"1397150947","filename":"file1"},{"photo_id":"1397150946","filename":"file0"},{"photo_id":"1397150952","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397150952":["hashtag1","hashtag2"]},{"1397150946":["hashtag1","hashtag2"]},{"1397150954":["hashtag1","hashtag2"]},{"1397150956":["hashtag1","hashtag2"]},{"1397150950":["hashtag1","hashtag2"]},{"1397150947":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397150952, 1397150946, 1397150954, 1397150956, 1397150950, 1397150947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.901238679885864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:47:02.615737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/43/image_01122025_02_44_04_9740.jpg', '/home/pi/Desktop/images/01122025/02/44/image_01122025_02_44_24_9863.jpg', '/home/pi/Desktop/images/01122025/02/44/image_01122025_02_44_44_9855.jpg', '/home/pi/Desktop/images/01122025/02/44/image_01122025_02_45_04_10692.jpg', '/home/pi/Desktop/images/01122025/02/45/image_01122025_02_45_14_9831.jpg', '/home/pi/Desktop/images/01122025/02/45/image_01122025_02_45_24_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/43/image_01122025_02_44_04_9740.jpg
/home/pi/Desktop/images/01122025/02/44/image_01122025_02_44_24_9863.jpg
/home/pi/Desktop/images/01122025/02/44/image_01122025_02_44_44_9855.jpg
/home/pi/Desktop/images/01122025/02/44/image_01122025_02_45_04_10692.jpg
/home/pi/Desktop/images/01122025/02/45/image_01122025_02_45_14_9831.jpg
/home/pi/Desktop/images/01122025/02/45/image_01122025_02_45_24_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":["1397150964","1397150958","1397150960","1397150957","1397150962","1397150959"],"photo_ids_order":["1397150957","1397150958","1397150959","1397150960","1397150962","1397150964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4b5d678c7e57c7d28de77b817b5d6f64.jpg","text":"TemporaryFile(/tmp/multipartBody6046859487248432393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553683535,"filename":"image_01122025_02_45_24_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/74571ae82d52479710dbfe30568a7a8b.jpg","text":"TemporaryFile(/tmp/multipartBody9170540484093532040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553683535,"filename":"image_01122025_02_44_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/1/55df6d7283d95597926c6a2546c014c8.jpg","text":"TemporaryFile(/tmp/multipartBody5340247688558253701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553683535,"filename":"image_01122025_02_45_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/1/690d283614d761900b4198a7c0b97e75.jpg","text":"TemporaryFile(/tmp/multipartBody5521987880101959192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553683535,"filename":"image_01122025_02_44_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/1/42d7f19100dd99802bb94a283da63b87.jpg","text":"TemporaryFile(/tmp/multipartBody720863205961015192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553683535,"filename":"image_01122025_02_45_14_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1dfa4a6cb5bd83ac6bb178eaeb03330c.jpg","text":"TemporaryFile(/tmp/multipartBody3572361477392154257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553683535,"filename":"image_01122025_02_44_44_9855.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150959","file1":"1397150958","file0":"1397150957","file4":"1397150962","file5":"1397150964","file3":"1397150960"},"map_files_photo_id_array":[{"photo_id":"1397150964","filename":"file5"},{"photo_id":"1397150959","filename":"file2"},{"photo_id":"1397150962","filename":"file4"},{"photo_id":"1397150958","filename":"file1"},{"photo_id":"1397150957","filename":"file0"},{"photo_id":"1397150960","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397150964":["hashtag1","hashtag2"]},{"1397150958":["hashtag1","hashtag2"]},{"1397150960":["hashtag1","hashtag2"]},{"1397150957":["hashtag1","hashtag2"]},{"1397150962":["hashtag1","hashtag2"]},{"1397150959":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397150964, 1397150958, 1397150960, 1397150957, 1397150962, 1397150959)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.02962923049927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:48:03.117895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/45/image_01122025_02_45_54_9643.jpg', '/home/pi/Desktop/images/01122025/02/45/image_01122025_02_46_03_9673.jpg', '/home/pi/Desktop/images/01122025/02/46/image_01122025_02_46_14_10655.jpg', '/home/pi/Desktop/images/01122025/02/46/image_01122025_02_46_34_9900.jpg', '/home/pi/Desktop/images/01122025/02/46/image_01122025_02_47_04_9815.jpg', '/home/pi/Desktop/images/01122025/02/47/image_01122025_02_47_44_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/45/image_01122025_02_45_54_9643.jpg
/home/pi/Desktop/images/01122025/02/45/image_01122025_02_46_03_9673.jpg
/home/pi/Desktop/images/01122025/02/46/image_01122025_02_46_14_10655.jpg
/home/pi/Desktop/images/01122025/02/46/image_01122025_02_46_34_9900.jpg
/home/pi/Desktop/images/01122025/02/46/image_01122025_02_47_04_9815.jpg
/home/pi/Desktop/images/01122025/02/47/image_01122025_02_47_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":["1397150973","1397150978","1397150972","1397150975","1397150980","1397150974"],"photo_ids_order":["1397150972","1397150973","1397150974","1397150975","1397150978","1397150980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/445fb8366c4406a605424e406b85abc2.jpg","text":"TemporaryFile(/tmp/multipartBody6354311796877287967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553743891,"filename":"image_01122025_02_46_03_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/1/85b2032093b79912d7e5c90892ccc7f4.jpg","text":"TemporaryFile(/tmp/multipartBody1196445716216806742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553743891,"filename":"image_01122025_02_47_04_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e55742ad1c83739d40b9770c99c67976.jpg","text":"TemporaryFile(/tmp/multipartBody4589128996508587799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553743891,"filename":"image_01122025_02_45_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/1/d3b2e878183183e25e6ae9dc11ef1159.jpg","text":"TemporaryFile(/tmp/multipartBody2010721049252980048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553743891,"filename":"image_01122025_02_46_34_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/1/9f6f8bf0eb15610c74a92b74089519b7.jpg","text":"TemporaryFile(/tmp/multipartBody7615277442414668418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553743891,"filename":"image_01122025_02_47_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/1/eac40f77a8ad39777e46b7793b812ec2.jpg","text":"TemporaryFile(/tmp/multipartBody7614658902527601507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553743891,"filename":"image_01122025_02_46_14_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150974","file1":"1397150973","file0":"1397150972","file4":"1397150978","file5":"1397150980","file3":"1397150975"},"map_files_photo_id_array":[{"photo_id":"1397150980","filename":"file5"},{"photo_id":"1397150974","filename":"file2"},{"photo_id":"1397150978","filename":"file4"},{"photo_id":"1397150973","filename":"file1"},{"photo_id":"1397150972","filename":"file0"},{"photo_id":"1397150975","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397150973":["hashtag1","hashtag2"]},{"1397150978":["hashtag1","hashtag2"]},{"1397150972":["hashtag1","hashtag2"]},{"1397150975":["hashtag1","hashtag2"]},{"1397150980":["hashtag1","hashtag2"]},{"1397150974":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397150973, 1397150978, 1397150972, 1397150975, 1397150980, 1397150974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89548182487488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 02:48:42.614870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_10_2502.jpg', '/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_14_3664.jpg', '/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_19_2690.jpg', '/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_22_2734.jpg', '/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_26_3863.jpg', '/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_28_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_10_2502.jpg
/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_14_3664.jpg
/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_19_2690.jpg
/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_22_2734.jpg
/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_26_3863.jpg
/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_28_2637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150985","1397150982","1397150984","1397150987","1397150983","1397150986"],"photo_ids_order":["1397150982","1397150983","1397150984","1397150985","1397150986","1397150987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/eb1b7ad91481dcbf29c2714c4944326f.jpg","text":"TemporaryFile(/tmp/multipartBody3312976714226209640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553783454,"filename":"image_01112025_00_19_22_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/1/5953f2d40dab60aa475661c579b3af05.jpg","text":"TemporaryFile(/tmp/multipartBody4053706829059274789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553783454,"filename":"image_01112025_00_19_10_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/1/fa15bdd2a76e4c3b3e791337f2466a47.jpg","text":"TemporaryFile(/tmp/multipartBody4930957337063698367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553783454,"filename":"image_01112025_00_19_19_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/1/030cc055acee2e5ba3cd83bfbe7da5e1.jpg","text":"TemporaryFile(/tmp/multipartBody2840437504639091486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553783454,"filename":"image_01112025_00_19_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/1/d0244cb471ef34123b2e5fbc6535645e.jpg","text":"TemporaryFile(/tmp/multipartBody2035917109577594620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553783454,"filename":"image_01112025_00_19_14_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/1/e93ede53dcf989f440a8d73b5cdeeba7.jpg","text":"TemporaryFile(/tmp/multipartBody5156799091648174081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553783454,"filename":"image_01112025_00_19_26_3863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150984","file1":"1397150983","file0":"1397150982","file4":"1397150986","file5":"1397150987","file3":"1397150985"},"map_files_photo_id_array":[{"photo_id":"1397150987","filename":"file5"},{"photo_id":"1397150984","filename":"file2"},{"photo_id":"1397150986","filename":"file4"},{"photo_id":"1397150983","filename":"file1"},{"photo_id":"1397150982","filename":"file0"},{"photo_id":"1397150985","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397150985":["hashtag1","hashtag2"]},{"1397150982":["hashtag1","hashtag2"]},{"1397150984":["hashtag1","hashtag2"]},{"1397150987":["hashtag1","hashtag2"]},{"1397150983":["hashtag1","hashtag2"]},{"1397150986":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397150985, 1397150982, 1397150984, 1397150987, 1397150983, 1397150986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01447153091431 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 02:49:22.727721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/47/image_01122025_02_47_54_9782.jpg', '/home/pi/Desktop/images/01122025/02/48/image_01122025_02_48_33_9597.jpg', '/home/pi/Desktop/images/01122025/02/49/image_01122025_02_49_23_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/47/image_01122025_02_47_54_9782.jpg
/home/pi/Desktop/images/01122025/02/48/image_01122025_02_48_33_9597.jpg
/home/pi/Desktop/images/01122025/02/49/image_01122025_02_49_23_9735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150994","1397150990","1397150992"],"photo_ids_order":["1397150990","1397150992","1397150994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b05526c965ee4969df67cde48da0389e.jpg","text":"TemporaryFile(/tmp/multipartBody5995026554158408973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553823345,"filename":"image_01122025_02_49_23_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5af6906e6ed7f257ffd3ed209fc5d35f.jpg","text":"TemporaryFile(/tmp/multipartBody6805488714828133345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553823345,"filename":"image_01122025_02_47_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/1/050b5ed1e85cdfa5cbbb39e48b8466fc.jpg","text":"TemporaryFile(/tmp/multipartBody4422837378895059750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553823345,"filename":"image_01122025_02_48_33_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150994","file1":"1397150992","file0":"1397150990"},"map_files_photo_id_array":[{"photo_id":"1397150994","filename":"file2"},{"photo_id":"1397150992","filename":"file1"},{"photo_id":"1397150990","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397150994":["hashtag1","hashtag2"]},{"1397150990":["hashtag1","hashtag2"]},{"1397150992":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397150994, 1397150990, 1397150992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.064360857009888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:50:02.328820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_45_3661.jpg', '/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_54_9370.jpg', '/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_57_3149.jpg', '/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_59_1678.jpg', '/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_02_3135.jpg', '/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_04_1662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_45_3661.jpg
/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_54_9370.jpg
/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_57_3149.jpg
/home/pi/Desktop/images/25112025/21/28/image_25112025_21_28_59_1678.jpg
/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_02_3135.jpg
/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_04_1662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397150997","1397151000","1397150996","1397151002","1397150995","1397150998"],"photo_ids_order":["1397150995","1397150996","1397150997","1397150998","1397151000","1397151002"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/60228779833c7aa9cf2158a867ce144f.jpg","text":"TemporaryFile(/tmp/multipartBody3882744324239215466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553863475,"filename":"image_25112025_21_28_57_3149.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b85df0322eb4625b98c595a55049eb92.jpg","text":"TemporaryFile(/tmp/multipartBody788343623036327016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553863475,"filename":"image_25112025_21_29_02_3135.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a2f87fccbe93be88d74ad2d0509847b5.jpg","text":"TemporaryFile(/tmp/multipartBody5831997863734712908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553863475,"filename":"image_25112025_21_28_54_9370.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d375cf5c2e0e98f7ba9aa92f1a694b51.jpg","text":"TemporaryFile(/tmp/multipartBody4668915391939713541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553863475,"filename":"image_25112025_21_29_04_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/334b581ed991d4bcbdd4bd75c718b4f9.jpg","text":"TemporaryFile(/tmp/multipartBody8381357466063206783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553863475,"filename":"image_25112025_21_28_45_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1dd481f47494319a95f2d4e56e541ab0.jpg","text":"TemporaryFile(/tmp/multipartBody9220875116110655436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553863475,"filename":"image_25112025_21_28_59_1678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397150997","file1":"1397150996","file0":"1397150995","file4":"1397151000","file5":"1397151002","file3":"1397150998"},"map_files_photo_id_array":[{"photo_id":"1397151002","filename":"file5"},{"photo_id":"1397150997","filename":"file2"},{"photo_id":"1397151000","filename":"file4"},{"photo_id":"1397150996","filename":"file1"},{"photo_id":"1397150995","filename":"file0"},{"photo_id":"1397150998","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397150997":["hashtag1","hashtag2"]},{"1397151000":["hashtag1","hashtag2"]},{"1397150996":["hashtag1","hashtag2"]},{"1397151002":["hashtag1","hashtag2"]},{"1397150995":["hashtag1","hashtag2"]},{"1397150998":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397150997, 1397151000, 1397150996, 1397151002, 1397150995, 1397150998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7561194896698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 02:50:42.013351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_31_2591.jpg', '/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_35_3833.jpg', '/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_38_2679.jpg', '/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_40_2809.jpg', '/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_43_2851.jpg', '/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_47_3666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_31_2591.jpg
/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_35_3833.jpg
/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_38_2679.jpg
/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_40_2809.jpg
/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_43_2851.jpg
/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_47_3666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397151018","1397151015","1397151020","1397151017","1397151008","1397151019"],"photo_ids_order":["1397151008","1397151015","1397151017","1397151018","1397151019","1397151020"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/798a1636ac91f73f841a066eca8f47e2.jpg","text":"TemporaryFile(/tmp/multipartBody744361295229939420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553902889,"filename":"image_01112025_00_19_40_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/1/e65c099b51adb4f87ef39416f483189a.jpg","text":"TemporaryFile(/tmp/multipartBody1482552218767866975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553902889,"filename":"image_01112025_00_19_35_3833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4e9acfa2cbbd51eb2e1cac8b1171e8d3.jpg","text":"TemporaryFile(/tmp/multipartBody4343268398959002973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553902889,"filename":"image_01112025_00_19_47_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/1/17bc1acf1ff375489eb501bb827027dc.jpg","text":"TemporaryFile(/tmp/multipartBody4278066768568589997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553902889,"filename":"image_01112025_00_19_38_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/1/cde92f3e03ffcc02670fef52fae3d8af.jpg","text":"TemporaryFile(/tmp/multipartBody2955277733730580824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553902889,"filename":"image_01112025_00_19_31_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ef92a9974aa974e18423555cb8d37622.jpg","text":"TemporaryFile(/tmp/multipartBody7018742413671302051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553902889,"filename":"image_01112025_00_19_43_2851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397151017","file1":"1397151015","file0":"1397151008","file4":"1397151019","file5":"1397151020","file3":"1397151018"},"map_files_photo_id_array":[{"photo_id":"1397151020","filename":"file5"},{"photo_id":"1397151017","filename":"file2"},{"photo_id":"1397151019","filename":"file4"},{"photo_id":"1397151015","filename":"file1"},{"photo_id":"1397151008","filename":"file0"},{"photo_id":"1397151018","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397151018":["hashtag1","hashtag2"]},{"1397151015":["hashtag1","hashtag2"]},{"1397151020":["hashtag1","hashtag2"]},{"1397151017":["hashtag1","hashtag2"]},{"1397151008":["hashtag1","hashtag2"]},{"1397151019":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397151018, 1397151015, 1397151020, 1397151017, 1397151008, 1397151019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28468298912048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 02:51:22.234807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/49/image_01122025_02_49_44_9927.jpg', '/home/pi/Desktop/images/01122025/02/49/image_01122025_02_50_04_9829.jpg', '/home/pi/Desktop/images/01122025/02/50/image_01122025_02_50_14_9848.jpg', '/home/pi/Desktop/images/01122025/02/50/image_01122025_02_50_34_10679.jpg', '/home/pi/Desktop/images/01122025/02/50/image_01122025_02_50_44_9955.jpg', '/home/pi/Desktop/images/01122025/02/51/image_01122025_02_51_34_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/49/image_01122025_02_49_44_9927.jpg
/home/pi/Desktop/images/01122025/02/49/image_01122025_02_50_04_9829.jpg
/home/pi/Desktop/images/01122025/02/50/image_01122025_02_50_14_9848.jpg
/home/pi/Desktop/images/01122025/02/50/image_01122025_02_50_34_10679.jpg
/home/pi/Desktop/images/01122025/02/50/image_01122025_02_50_44_9955.jpg
/home/pi/Desktop/images/01122025/02/51/image_01122025_02_51_34_9564.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6687710285186768 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 02:51:32.190243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_05_1551.jpg', '/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_07_1753.jpg', '/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_12_2774.jpg', '/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_14_2535.jpg', '/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_18_3675.jpg', '/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_21_2792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_05_1551.jpg
/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_07_1753.jpg
/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_12_2774.jpg
/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_14_2535.jpg
/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_18_3675.jpg
/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_21_2792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397151036","1397151033","1397151035","1397151031","1397151034","1397151028"],"photo_ids_order":["1397151028","1397151031","1397151033","1397151034","1397151035","1397151036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/72fb454bf7972c6c413da60e77f4b07c.jpg","text":"TemporaryFile(/tmp/multipartBody1017201378354846098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553953941,"filename":"image_25112025_21_29_21_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/1/7fa039c92b4946616107e90a5e0f3f9c.jpg","text":"TemporaryFile(/tmp/multipartBody1853308063633374565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553953941,"filename":"image_25112025_21_29_12_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/1/d00f40f8c10de6c0593585da61d08419.jpg","text":"TemporaryFile(/tmp/multipartBody4806005465787704930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553953941,"filename":"image_25112025_21_29_18_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/1/89ef5793fbc9cbc4df130d222d982a38.jpg","text":"TemporaryFile(/tmp/multipartBody1248124314770820148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553953941,"filename":"image_25112025_21_29_07_1753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bb79796f1da9789c902c9d515a0428ba.jpg","text":"TemporaryFile(/tmp/multipartBody5244350830128217284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553953941,"filename":"image_25112025_21_29_14_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bc01cdffd73f49a52f730a22483e6ded.jpg","text":"TemporaryFile(/tmp/multipartBody5337452377908491835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553953941,"filename":"image_25112025_21_29_05_1551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397151033","file1":"1397151031","file0":"1397151028","file4":"1397151035","file5":"1397151036","file3":"1397151034"},"map_files_photo_id_array":[{"photo_id":"1397151036","filename":"file5"},{"photo_id":"1397151033","filename":"file2"},{"photo_id":"1397151035","filename":"file4"},{"photo_id":"1397151031","filename":"file1"},{"photo_id":"1397151028","filename":"file0"},{"photo_id":"1397151034","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397151036":["hashtag1","hashtag2"]},{"1397151033":["hashtag1","hashtag2"]},{"1397151035":["hashtag1","hashtag2"]},{"1397151031":["hashtag1","hashtag2"]},{"1397151034":["hashtag1","hashtag2"]},{"1397151028":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397151036, 1397151033, 1397151035, 1397151031, 1397151034, 1397151028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04495596885681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 02:52:12.415443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_23_2550.jpg', '/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_26_2709.jpg', '/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_29_3568.jpg', '/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_45_15320.jpg', '/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_54_8884.jpg', '/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_55_1564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_23_2550.jpg
/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_26_2709.jpg
/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_29_3568.jpg
/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_45_15320.jpg
/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_54_8884.jpg
/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_55_1564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397151045","1397151039","1397151047","1397151041","1397151043","1397151037"],"photo_ids_order":["1397151037","1397151039","1397151041","1397151043","1397151045","1397151047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3df4d43ad89ccd40676e4d9c654fa8d0.jpg","text":"TemporaryFile(/tmp/multipartBody7216372703360640386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553994064,"filename":"image_25112025_21_29_54_8884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/35c9a720f4f1549c88a0ff8016df7290.jpg","text":"TemporaryFile(/tmp/multipartBody6354742337444989925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553994064,"filename":"image_25112025_21_29_26_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/1/83220caf75c133179122df9d5bddaefb.jpg","text":"TemporaryFile(/tmp/multipartBody3516973237995767295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553994064,"filename":"image_25112025_21_29_55_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/1/d863a2415d94b9d876522aa51782383c.jpg","text":"TemporaryFile(/tmp/multipartBody3035577054063911090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553994064,"filename":"image_25112025_21_29_29_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/1/372e3920581741e4b5b6de813c7df5b6.jpg","text":"TemporaryFile(/tmp/multipartBody6634153777633241709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553994064,"filename":"image_25112025_21_29_45_15320.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/150d2bc27957664b32fef7cba3b870a7.jpg","text":"TemporaryFile(/tmp/multipartBody2360074971559534139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764553994064,"filename":"image_25112025_21_29_23_2550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397151041","file1":"1397151039","file0":"1397151037","file4":"1397151045","file5":"1397151047","file3":"1397151043"},"map_files_photo_id_array":[{"photo_id":"1397151047","filename":"file5"},{"photo_id":"1397151041","filename":"file2"},{"photo_id":"1397151045","filename":"file4"},{"photo_id":"1397151039","filename":"file1"},{"photo_id":"1397151037","filename":"file0"},{"photo_id":"1397151043","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397151045":["hashtag1","hashtag2"]},{"1397151039":["hashtag1","hashtag2"]},{"1397151047":["hashtag1","hashtag2"]},{"1397151041":["hashtag1","hashtag2"]},{"1397151043":["hashtag1","hashtag2"]},{"1397151037":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397151045, 1397151039, 1397151047, 1397151041, 1397151043, 1397151037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.477765798568726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:53:03.172544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/49/image_01122025_02_49_44_9927.jpg', '/home/pi/Desktop/images/01122025/02/49/image_01122025_02_50_04_9829.jpg', '/home/pi/Desktop/images/01122025/02/50/image_01122025_02_50_14_9848.jpg', '/home/pi/Desktop/images/01122025/02/50/image_01122025_02_50_34_10679.jpg', '/home/pi/Desktop/images/01122025/02/50/image_01122025_02_50_44_9955.jpg', '/home/pi/Desktop/images/01122025/02/51/image_01122025_02_51_34_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/49/image_01122025_02_49_44_9927.jpg
/home/pi/Desktop/images/01122025/02/49/image_01122025_02_50_04_9829.jpg
/home/pi/Desktop/images/01122025/02/50/image_01122025_02_50_14_9848.jpg
/home/pi/Desktop/images/01122025/02/50/image_01122025_02_50_34_10679.jpg
/home/pi/Desktop/images/01122025/02/50/image_01122025_02_50_44_9955.jpg
/home/pi/Desktop/images/01122025/02/51/image_01122025_02_51_34_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":["1397151048","1397151051","1397151050","1397151053","1397151055","1397151049"],"photo_ids_order":["1397151048","1397151049","1397151050","1397151051","1397151053","1397151055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3f4d398d8c469f7dcfd394f1b88dd51e.jpg","text":"TemporaryFile(/tmp/multipartBody6472018153149864188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554044046,"filename":"image_01122025_02_49_44_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/1/5d47a3bcebde6af12c1e4ba061789793.jpg","text":"TemporaryFile(/tmp/multipartBody8318223571603454922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554044046,"filename":"image_01122025_02_50_34_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b1c0c2742f35b982f781c2c7db9e9e1c.jpg","text":"TemporaryFile(/tmp/multipartBody2272516064849469498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554044046,"filename":"image_01122025_02_50_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/1/a4f4cf391806faf61b207dffe3c30e08.jpg","text":"TemporaryFile(/tmp/multipartBody92414845164987686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554044046,"filename":"image_01122025_02_50_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/1/07300a499665630cb3afae858d567be5.jpg","text":"TemporaryFile(/tmp/multipartBody1806987216163919527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554044046,"filename":"image_01122025_02_51_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/1/e130a8e183f0eb74a4c11989e66e28ed.jpg","text":"TemporaryFile(/tmp/multipartBody4338207563923116037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554044046,"filename":"image_01122025_02_50_04_9829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397151050","file1":"1397151049","file0":"1397151048","file4":"1397151053","file5":"1397151055","file3":"1397151051"},"map_files_photo_id_array":[{"photo_id":"1397151055","filename":"file5"},{"photo_id":"1397151050","filename":"file2"},{"photo_id":"1397151053","filename":"file4"},{"photo_id":"1397151049","filename":"file1"},{"photo_id":"1397151048","filename":"file0"},{"photo_id":"1397151051","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397151048":["hashtag1","hashtag2"]},{"1397151051":["hashtag1","hashtag2"]},{"1397151050":["hashtag1","hashtag2"]},{"1397151053":["hashtag1","hashtag2"]},{"1397151055":["hashtag1","hashtag2"]},{"1397151049":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397151048, 1397151051, 1397151050, 1397151053, 1397151055, 1397151049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19786071777344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 02:53:42.559334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_55_2654.jpg', '/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_58_2757.jpg', '/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_01_2658.jpg', '/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_05_3868.jpg', '/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_07_2640.jpg', '/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_10_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_55_2654.jpg
/home/pi/Desktop/images/01112025/00/19/image_01112025_00_19_58_2757.jpg
/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_01_2658.jpg
/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_05_3868.jpg
/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_07_2640.jpg
/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_10_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":["1397151063","1397151062","1397151065","1397151061","1397151064","1397151066"],"photo_ids_order":["1397151061","1397151062","1397151063","1397151064","1397151065","1397151066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a82b257d03eed81cbf59d1575b8aaaec.jpg","text":"TemporaryFile(/tmp/multipartBody7950541235499455285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554083408,"filename":"image_01112025_00_20_01_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/1/c511324a9954125d08dc64e3edfb1ddc.jpg","text":"TemporaryFile(/tmp/multipartBody360259994809601210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554083408,"filename":"image_01112025_00_19_58_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/769570eb21e7632c1d9cc2db6d82e338.jpg","text":"TemporaryFile(/tmp/multipartBody9133282818669242516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554083408,"filename":"image_01112025_00_20_07_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ed6763656f399a35076c2a20a469a95d.jpg","text":"TemporaryFile(/tmp/multipartBody2048040601679116003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554083408,"filename":"image_01112025_00_19_55_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/1/03fa76cf0f8d3b1e907afe497b052692.jpg","text":"TemporaryFile(/tmp/multipartBody2898487349439088902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554083408,"filename":"image_01112025_00_20_05_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/1/61b74d8c97df01ab678a39a569eb733f.jpg","text":"TemporaryFile(/tmp/multipartBody2175405867264625443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554083408,"filename":"image_01112025_00_20_10_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397151063","file1":"1397151062","file0":"1397151061","file4":"1397151065","file5":"1397151066","file3":"1397151064"},"map_files_photo_id_array":[{"photo_id":"1397151066","filename":"file5"},{"photo_id":"1397151063","filename":"file2"},{"photo_id":"1397151065","filename":"file4"},{"photo_id":"1397151062","filename":"file1"},{"photo_id":"1397151061","filename":"file0"},{"photo_id":"1397151064","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397151063":["hashtag1","hashtag2"]},{"1397151062":["hashtag1","hashtag2"]},{"1397151065":["hashtag1","hashtag2"]},{"1397151061":["hashtag1","hashtag2"]},{"1397151064":["hashtag1","hashtag2"]},{"1397151066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397151063, 1397151062, 1397151065, 1397151061, 1397151064, 1397151066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9040744304657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 02:54:22.710908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/51/image_01122025_02_51_44_10783.jpg', '/home/pi/Desktop/images/01122025/02/52/image_01122025_02_52_34_9739.jpg', '/home/pi/Desktop/images/01122025/02/52/image_01122025_02_52_44_10641.jpg', '/home/pi/Desktop/images/01122025/02/52/image_01122025_02_53_04_9888.jpg', '/home/pi/Desktop/images/01122025/02/53/image_01122025_02_53_14_9710.jpg', '/home/pi/Desktop/images/01122025/02/53/image_01122025_02_53_44_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/51/image_01122025_02_51_44_10783.jpg
/home/pi/Desktop/images/01122025/02/52/image_01122025_02_52_34_9739.jpg
/home/pi/Desktop/images/01122025/02/52/image_01122025_02_52_44_10641.jpg
/home/pi/Desktop/images/01122025/02/52/image_01122025_02_53_04_9888.jpg
/home/pi/Desktop/images/01122025/02/53/image_01122025_02_53_14_9710.jpg
/home/pi/Desktop/images/01122025/02/53/image_01122025_02_53_44_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":["1397151075","1397151069","1397151078","1397151077","1397151071","1397151073"],"photo_ids_order":["1397151069","1397151071","1397151073","1397151075","1397151077","1397151078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dac09505d9337e10505ac2751e75e862.jpg","text":"TemporaryFile(/tmp/multipartBody6528938775513295609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554123469,"filename":"image_01122025_02_53_04_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/1/6c1132b7fbd850537e1f27ebd8953ca5.jpg","text":"TemporaryFile(/tmp/multipartBody4472060624254536570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554123469,"filename":"image_01122025_02_51_44_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/1/824a9b24107348b1add51c85edef34d9.jpg","text":"TemporaryFile(/tmp/multipartBody286373443642045892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554123469,"filename":"image_01122025_02_53_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/1/984f2209180d5dfad7df0902d7d83476.jpg","text":"TemporaryFile(/tmp/multipartBody7113357621408179023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554123469,"filename":"image_01122025_02_53_14_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/84f903c99a0312d1a44c967f99baaac4.jpg","text":"TemporaryFile(/tmp/multipartBody2661951557458710362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554123469,"filename":"image_01122025_02_52_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/1/a6816ecf962ecfa1624dcb676d68f0cc.jpg","text":"TemporaryFile(/tmp/multipartBody1236666127844426874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554123469,"filename":"image_01122025_02_52_44_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397151073","file1":"1397151071","file0":"1397151069","file4":"1397151077","file5":"1397151078","file3":"1397151075"},"map_files_photo_id_array":[{"photo_id":"1397151078","filename":"file5"},{"photo_id":"1397151073","filename":"file2"},{"photo_id":"1397151077","filename":"file4"},{"photo_id":"1397151071","filename":"file1"},{"photo_id":"1397151069","filename":"file0"},{"photo_id":"1397151075","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397151075":["hashtag1","hashtag2"]},{"1397151069":["hashtag1","hashtag2"]},{"1397151078":["hashtag1","hashtag2"]},{"1397151077":["hashtag1","hashtag2"]},{"1397151071":["hashtag1","hashtag2"]},{"1397151073":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397151075, 1397151069, 1397151078, 1397151077, 1397151071, 1397151073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92806434631348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:55:02.589372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/53/image_01122025_02_53_54_10629.jpg', '/home/pi/Desktop/images/01122025/02/53/image_01122025_02_54_04_9720.jpg', '/home/pi/Desktop/images/01122025/02/54/image_01122025_02_54_14_9643.jpg', '/home/pi/Desktop/images/01122025/02/54/image_01122025_02_54_24_10621.jpg', '/home/pi/Desktop/images/01122025/02/54/image_01122025_02_54_34_9619.jpg', '/home/pi/Desktop/images/01122025/02/54/image_01122025_02_54_44_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/53/image_01122025_02_53_54_10629.jpg
/home/pi/Desktop/images/01122025/02/53/image_01122025_02_54_04_9720.jpg
/home/pi/Desktop/images/01122025/02/54/image_01122025_02_54_14_9643.jpg
/home/pi/Desktop/images/01122025/02/54/image_01122025_02_54_24_10621.jpg
/home/pi/Desktop/images/01122025/02/54/image_01122025_02_54_34_9619.jpg
/home/pi/Desktop/images/01122025/02/54/image_01122025_02_54_44_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":["1397151081","1397151083","1397151086","1397151088","1397151082","1397151079"],"photo_ids_order":["1397151079","1397151081","1397151082","1397151083","1397151086","1397151088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c6ece87b62ef7040af9141b8e4f83d24.jpg","text":"TemporaryFile(/tmp/multipartBody1830462450334150648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554163434,"filename":"image_01122025_02_54_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/1/78f04dd492c44ea3f0e4d83454b14622.jpg","text":"TemporaryFile(/tmp/multipartBody7404173875976433127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554163434,"filename":"image_01122025_02_54_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/1/db5071b7debb9a9c2f00507fe7091aa0.jpg","text":"TemporaryFile(/tmp/multipartBody3994937048153554017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554163434,"filename":"image_01122025_02_54_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/1/9e281b3da04a33649f780154b8c2297e.jpg","text":"TemporaryFile(/tmp/multipartBody4696363576508860134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554163434,"filename":"image_01122025_02_54_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/1/68b58e57aed43620633d3f3e45a1ad6b.jpg","text":"TemporaryFile(/tmp/multipartBody5781113686993730367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554163434,"filename":"image_01122025_02_54_14_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/40542cfda9826c3423e2434796c0782a.jpg","text":"TemporaryFile(/tmp/multipartBody1044790093441124239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554163434,"filename":"image_01122025_02_53_54_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397151082","file1":"1397151081","file0":"1397151079","file4":"1397151086","file5":"1397151088","file3":"1397151083"},"map_files_photo_id_array":[{"photo_id":"1397151088","filename":"file5"},{"photo_id":"1397151082","filename":"file2"},{"photo_id":"1397151086","filename":"file4"},{"photo_id":"1397151081","filename":"file1"},{"photo_id":"1397151079","filename":"file0"},{"photo_id":"1397151083","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397151081":["hashtag1","hashtag2"]},{"1397151083":["hashtag1","hashtag2"]},{"1397151086":["hashtag1","hashtag2"]},{"1397151088":["hashtag1","hashtag2"]},{"1397151082":["hashtag1","hashtag2"]},{"1397151079":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397151081, 1397151083, 1397151086, 1397151088, 1397151082, 1397151079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.499494552612305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 02:55:41.978438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_14_3676.jpg', '/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_16_2667.jpg', '/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_19_2702.jpg', '/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_23_3709.jpg', '/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_25_2642.jpg', '/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_28_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_14_3676.jpg
/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_16_2667.jpg
/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_19_2702.jpg
/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_23_3709.jpg
/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_25_2642.jpg
/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_28_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":["1397151096","1397151095","1397151092","1397151091","1397151094","1397151093"],"photo_ids_order":["1397151091","1397151092","1397151093","1397151094","1397151095","1397151096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/18d3485c11889d858b24fdb8fdd52463.jpg","text":"TemporaryFile(/tmp/multipartBody4933695737469978252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554202815,"filename":"image_01112025_00_20_28_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/1/7c6617a51c4c840ea126789e67354a98.jpg","text":"TemporaryFile(/tmp/multipartBody7113788919624074099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554202815,"filename":"image_01112025_00_20_25_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/1/fd2b40885bff7aa1e6d908a729e8eb67.jpg","text":"TemporaryFile(/tmp/multipartBody1881635805721588349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554202815,"filename":"image_01112025_00_20_16_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2dbea6055233ebf245863ada480ae92e.jpg","text":"TemporaryFile(/tmp/multipartBody7795500846120558154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554202815,"filename":"image_01112025_00_20_14_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/1/38989b6a6c046cfed4673b67c42b33ae.jpg","text":"TemporaryFile(/tmp/multipartBody8695264045258472205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554202815,"filename":"image_01112025_00_20_23_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/1/515726418e050d5490e174849abacbe9.jpg","text":"TemporaryFile(/tmp/multipartBody1351090097844108240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554202815,"filename":"image_01112025_00_20_19_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397151093","file1":"1397151092","file0":"1397151091","file4":"1397151095","file5":"1397151096","file3":"1397151094"},"map_files_photo_id_array":[{"photo_id":"1397151096","filename":"file5"},{"photo_id":"1397151093","filename":"file2"},{"photo_id":"1397151095","filename":"file4"},{"photo_id":"1397151092","filename":"file1"},{"photo_id":"1397151091","filename":"file0"},{"photo_id":"1397151094","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397151096":["hashtag1","hashtag2"]},{"1397151095":["hashtag1","hashtag2"]},{"1397151092":["hashtag1","hashtag2"]},{"1397151091":["hashtag1","hashtag2"]},{"1397151094":["hashtag1","hashtag2"]},{"1397151093":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397151096, 1397151095, 1397151092, 1397151091, 1397151094, 1397151093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.610254764556885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 02:56:22.144986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/54/image_01122025_02_54_53_9771.jpg', '/home/pi/Desktop/images/01122025/02/55/image_01122025_02_55_14_9771.jpg', '/home/pi/Desktop/images/01122025/02/55/image_01122025_02_55_24_9671.jpg', '/home/pi/Desktop/images/01122025/02/55/image_01122025_02_55_44_9938.jpg', '/home/pi/Desktop/images/01122025/02/55/image_01122025_02_55_54_9852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/54/image_01122025_02_54_53_9771.jpg
/home/pi/Desktop/images/01122025/02/55/image_01122025_02_55_14_9771.jpg
/home/pi/Desktop/images/01122025/02/55/image_01122025_02_55_24_9671.jpg
/home/pi/Desktop/images/01122025/02/55/image_01122025_02_55_44_9938.jpg
/home/pi/Desktop/images/01122025/02/55/image_01122025_02_55_54_9852.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397151102","1397151098","1397151104","1397151106","1397151100"],"photo_ids_order":["1397151098","1397151100","1397151102","1397151104","1397151106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0b1284bad9905de2f050e7b1a8c051ba.jpg","text":"TemporaryFile(/tmp/multipartBody973951635806386702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554242850,"filename":"image_01122025_02_55_24_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c5b7bce5941baad252b69b3919a1a923.jpg","text":"TemporaryFile(/tmp/multipartBody9158759007102053424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554242850,"filename":"image_01122025_02_54_53_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/1/4061e19704995477aa74a5f10f2db09d.jpg","text":"TemporaryFile(/tmp/multipartBody7426321463708584261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554242850,"filename":"image_01122025_02_55_44_9938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c8d6051385210facd8b1e716a2966457.jpg","text":"TemporaryFile(/tmp/multipartBody2515038983000124038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554242850,"filename":"image_01122025_02_55_54_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/720ec687ea072f52c13a326a6687eca5.jpg","text":"TemporaryFile(/tmp/multipartBody8354522192068701240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554242850,"filename":"image_01122025_02_55_14_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397151102","file1":"1397151100","file0":"1397151098","file4":"1397151106","file3":"1397151104"},"map_files_photo_id_array":[{"photo_id":"1397151102","filename":"file2"},{"photo_id":"1397151106","filename":"file4"},{"photo_id":"1397151100","filename":"file1"},{"photo_id":"1397151098","filename":"file0"},{"photo_id":"1397151104","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397151102":["hashtag1","hashtag2"]},{"1397151098":["hashtag1","hashtag2"]},{"1397151104":["hashtag1","hashtag2"]},{"1397151106":["hashtag1","hashtag2"]},{"1397151100":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397151102, 1397151098, 1397151104, 1397151106, 1397151100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.550803661346436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:57:03.043986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_57_1529.jpg', '/home/pi/Desktop/images/25112025/21/31/image_25112025_21_31_10_3662.jpg', '/home/pi/Desktop/images/25112025/21/31/image_25112025_21_31_13_2619.jpg', '/home/pi/Desktop/images/25112025/21/31/image_25112025_21_31_15_2723.jpg', '/home/pi/Desktop/images/25112025/21/31/image_25112025_21_31_22_2710.jpg', '/home/pi/Desktop/images/25112025/21/31/image_25112025_21_31_24_2775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/29/image_25112025_21_29_57_1529.jpg
/home/pi/Desktop/images/25112025/21/31/image_25112025_21_31_10_3662.jpg
/home/pi/Desktop/images/25112025/21/31/image_25112025_21_31_13_2619.jpg
/home/pi/Desktop/images/25112025/21/31/image_25112025_21_31_15_2723.jpg
/home/pi/Desktop/images/25112025/21/31/image_25112025_21_31_22_2710.jpg
/home/pi/Desktop/images/25112025/21/31/image_25112025_21_31_24_2775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397151111","1397151114","1397151110","1397151139","1397151112","1397151109"],"photo_ids_order":["1397151109","1397151110","1397151111","1397151112","1397151114","1397151139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/90975ad423b472687df3ac98424c839e.jpg","text":"TemporaryFile(/tmp/multipartBody5407933407508331725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554284269,"filename":"image_25112025_21_31_13_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/1/77b52bbc6b476def91c62c218081b959.jpg","text":"TemporaryFile(/tmp/multipartBody3091179297666272547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554284269,"filename":"image_25112025_21_31_22_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/1/e1e731eb8dea9e5b9c6bd96d7c77a6ad.jpg","text":"TemporaryFile(/tmp/multipartBody6062373374428827742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554284269,"filename":"image_25112025_21_31_10_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/1/d90195c61625aeac1ced30158faac0cb.jpg","text":"TemporaryFile(/tmp/multipartBody6880330816275276090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554284269,"filename":"image_25112025_21_31_24_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1a0f5a44755907465dffe88addffd110.jpg","text":"TemporaryFile(/tmp/multipartBody3267136512933207368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554284269,"filename":"image_25112025_21_31_15_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/1/c67a190ae906de485039b13780604166.jpg","text":"TemporaryFile(/tmp/multipartBody1515518829156049815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554284269,"filename":"image_25112025_21_29_57_1529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397151111","file1":"1397151110","file0":"1397151109","file4":"1397151114","file5":"1397151139","file3":"1397151112"},"map_files_photo_id_array":[{"photo_id":"1397151139","filename":"file5"},{"photo_id":"1397151111","filename":"file2"},{"photo_id":"1397151114","filename":"file4"},{"photo_id":"1397151110","filename":"file1"},{"photo_id":"1397151109","filename":"file0"},{"photo_id":"1397151112","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397151111":["hashtag1","hashtag2"]},{"1397151114":["hashtag1","hashtag2"]},{"1397151110":["hashtag1","hashtag2"]},{"1397151139":["hashtag1","hashtag2"]},{"1397151112":["hashtag1","hashtag2"]},{"1397151109":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397151111, 1397151114, 1397151110, 1397151139, 1397151112, 1397151109)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.04010772705078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 02:59:03.816492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/56/image_01122025_02_56_14_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/56/image_01122025_02_56_14_9711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397151652"],"photo_id":"1397151652","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/299b8a174af59ab25a6f0ac1cf872ed4.jpg","text":"TemporaryFile(/tmp/multipartBody4308541438219474223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554404421,"filename":"image_01122025_02_56_14_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1397151652"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1397151652"}],"hashtags":[],"portfolio_id":"29033749","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.588940620422363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 02:59:22.815421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/57/image_01122025_02_57_54_10784.jpg', '/home/pi/Desktop/images/01122025/02/57/image_01122025_02_58_04_9596.jpg', '/home/pi/Desktop/images/01122025/02/58/image_01122025_02_58_23_9779.jpg', '/home/pi/Desktop/images/01122025/02/58/image_01122025_02_58_34_10611.jpg', '/home/pi/Desktop/images/01122025/02/58/image_01122025_02_58_54_9851.jpg', '/home/pi/Desktop/images/01122025/02/58/image_01122025_02_59_04_10743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/57/image_01122025_02_57_54_10784.jpg
/home/pi/Desktop/images/01122025/02/57/image_01122025_02_58_04_9596.jpg
/home/pi/Desktop/images/01122025/02/58/image_01122025_02_58_23_9779.jpg
/home/pi/Desktop/images/01122025/02/58/image_01122025_02_58_34_10611.jpg
/home/pi/Desktop/images/01122025/02/58/image_01122025_02_58_54_9851.jpg
/home/pi/Desktop/images/01122025/02/58/image_01122025_02_59_04_10743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397152110","1397152181","1397151900","1397152040","1397151967","1397151820"],"photo_ids_order":["1397151820","1397151900","1397151967","1397152040","1397152110","1397152181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/860d170fd17bd80bdbad8fc0fc02d08c.jpg","text":"TemporaryFile(/tmp/multipartBody6744836248038161469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554423549,"filename":"image_01122025_02_58_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/1/d8aa3011d1ec09a8682d2ab1144b9aff.jpg","text":"TemporaryFile(/tmp/multipartBody7915361161147693860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554423549,"filename":"image_01122025_02_59_04_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/1/2f235e11424ac7e9351899e2baba04bc.jpg","text":"TemporaryFile(/tmp/multipartBody7698426060245334295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554423549,"filename":"image_01122025_02_58_04_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2442e8c481ba5f2bc65dab5bbe6ab680.jpg","text":"TemporaryFile(/tmp/multipartBody5994168796830702855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554423549,"filename":"image_01122025_02_58_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/1/1a981e2ad8264b0797bbb59260937072.jpg","text":"TemporaryFile(/tmp/multipartBody6187837686674619849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554423549,"filename":"image_01122025_02_58_23_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/1/c37e3a6b459bf7b92e72db1396da153b.jpg","text":"TemporaryFile(/tmp/multipartBody2776779401787804610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554423549,"filename":"image_01122025_02_57_54_10784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397151967","file1":"1397151900","file0":"1397151820","file4":"1397152110","file5":"1397152181","file3":"1397152040"},"map_files_photo_id_array":[{"photo_id":"1397152181","filename":"file5"},{"photo_id":"1397151967","filename":"file2"},{"photo_id":"1397152110","filename":"file4"},{"photo_id":"1397151900","filename":"file1"},{"photo_id":"1397151820","filename":"file0"},{"photo_id":"1397152040","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397152110":["hashtag1","hashtag2"]},{"1397152181":["hashtag1","hashtag2"]},{"1397151900":["hashtag1","hashtag2"]},{"1397152040":["hashtag1","hashtag2"]},{"1397151967":["hashtag1","hashtag2"]},{"1397151820":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397152110, 1397152181, 1397151900, 1397152040, 1397151967, 1397151820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51646041870117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:00:02.503039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/31/image_25112025_21_31_28_3642.jpg', '/home/pi/Desktop/images/25112025/21/31/image_25112025_21_31_31_2724.jpg', '/home/pi/Desktop/images/25112025/21/31/image_25112025_21_31_33_2606.jpg', '/home/pi/Desktop/images/25112025/21/31/image_25112025_21_31_37_3733.jpg', '/home/pi/Desktop/images/25112025/21/31/image_25112025_21_31_52_2590.jpg', '/home/pi/Desktop/images/25112025/21/31/image_25112025_21_31_54_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/31/image_25112025_21_31_28_3642.jpg
/home/pi/Desktop/images/25112025/21/31/image_25112025_21_31_31_2724.jpg
/home/pi/Desktop/images/25112025/21/31/image_25112025_21_31_33_2606.jpg
/home/pi/Desktop/images/25112025/21/31/image_25112025_21_31_37_3733.jpg
/home/pi/Desktop/images/25112025/21/31/image_25112025_21_31_52_2590.jpg
/home/pi/Desktop/images/25112025/21/31/image_25112025_21_31_54_2561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397152493","1397152526","1397152564","1397152705","1397152455","1397152635"],"photo_ids_order":["1397152455","1397152493","1397152526","1397152564","1397152635","1397152705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7794d1cc7c5244bc8fcaba61bf289011.jpg","text":"TemporaryFile(/tmp/multipartBody3426592498551517038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554463646,"filename":"image_25112025_21_31_31_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/24eec3f7061fc1a18fa5589308265e75.jpg","text":"TemporaryFile(/tmp/multipartBody780442494776067120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554463646,"filename":"image_25112025_21_31_33_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/affc3e80552894dcc63f3cba1b4d23e0.jpg","text":"TemporaryFile(/tmp/multipartBody3687468759092602837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554463646,"filename":"image_25112025_21_31_37_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/1/4b1f38317ba96ed12fa60888a9339030.jpg","text":"TemporaryFile(/tmp/multipartBody1541427216423284545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554463646,"filename":"image_25112025_21_31_54_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/310d25604984f802926626ab1b07335f.jpg","text":"TemporaryFile(/tmp/multipartBody1887329556729414615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554463646,"filename":"image_25112025_21_31_28_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/1/996405912697a2d2dd34dc1beab733cd.jpg","text":"TemporaryFile(/tmp/multipartBody3015329985542518084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554463646,"filename":"image_25112025_21_31_52_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397152526","file1":"1397152493","file0":"1397152455","file4":"1397152635","file5":"1397152705","file3":"1397152564"},"map_files_photo_id_array":[{"photo_id":"1397152705","filename":"file5"},{"photo_id":"1397152526","filename":"file2"},{"photo_id":"1397152635","filename":"file4"},{"photo_id":"1397152493","filename":"file1"},{"photo_id":"1397152455","filename":"file0"},{"photo_id":"1397152564","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397152493":["hashtag1","hashtag2"]},{"1397152526":["hashtag1","hashtag2"]},{"1397152564":["hashtag1","hashtag2"]},{"1397152705":["hashtag1","hashtag2"]},{"1397152455":["hashtag1","hashtag2"]},{"1397152635":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397152493, 1397152526, 1397152564, 1397152705, 1397152455, 1397152635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.503867864608765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 03:00:42.070812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_32_3566.jpg', '/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_34_2727.jpg', '/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_37_2605.jpg', '/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_41_3733.jpg', '/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_43_2621.jpg', '/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_46_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_32_3566.jpg
/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_34_2727.jpg
/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_37_2605.jpg
/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_41_3733.jpg
/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_43_2621.jpg
/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_46_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":["1397152806","1397152811","1397152808","1397152810","1397152807","1397152809"],"photo_ids_order":["1397152806","1397152807","1397152808","1397152809","1397152810","1397152811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/588148c28002da0f40c94d8680d6d17e.jpg","text":"TemporaryFile(/tmp/multipartBody3217724734770858379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554502899,"filename":"image_01112025_00_20_32_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/1/c32e8c3e4cb568e07349b2353f61d7c2.jpg","text":"TemporaryFile(/tmp/multipartBody856491635592367654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554502899,"filename":"image_01112025_00_20_46_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/74a15227b2d4b1bc9761fb1c9703bf03.jpg","text":"TemporaryFile(/tmp/multipartBody8117066947935797895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554502899,"filename":"image_01112025_00_20_37_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/1/d61f23a651a064358ce1fb6b06893df9.jpg","text":"TemporaryFile(/tmp/multipartBody6447559392260975326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554502899,"filename":"image_01112025_00_20_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/1/c2d1e0d07ab74b41f548438cc4d1ab1b.jpg","text":"TemporaryFile(/tmp/multipartBody6275364879516944326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554502899,"filename":"image_01112025_00_20_34_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/1/a5e6206869b4fa736923a27328a4290c.jpg","text":"TemporaryFile(/tmp/multipartBody10524952036902152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554502899,"filename":"image_01112025_00_20_41_3733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397152808","file1":"1397152807","file0":"1397152806","file4":"1397152810","file5":"1397152811","file3":"1397152809"},"map_files_photo_id_array":[{"photo_id":"1397152811","filename":"file5"},{"photo_id":"1397152808","filename":"file2"},{"photo_id":"1397152810","filename":"file4"},{"photo_id":"1397152807","filename":"file1"},{"photo_id":"1397152806","filename":"file0"},{"photo_id":"1397152809","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397152806":["hashtag1","hashtag2"]},{"1397152811":["hashtag1","hashtag2"]},{"1397152808":["hashtag1","hashtag2"]},{"1397152810":["hashtag1","hashtag2"]},{"1397152807":["hashtag1","hashtag2"]},{"1397152809":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397152806, 1397152811, 1397152808, 1397152810, 1397152807, 1397152809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.122350454330444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 03:01:22.287477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/02/59/image_01122025_02_59_24_9748.jpg', '/home/pi/Desktop/images/01122025/03/00/image_01122025_03_00_34_10564.jpg', '/home/pi/Desktop/images/01122025/03/00/image_01122025_03_00_54_9754.jpg', '/home/pi/Desktop/images/01122025/03/00/image_01122025_03_01_04_9660.jpg', '/home/pi/Desktop/images/01122025/03/01/image_01122025_03_01_34_9735.jpg', '/home/pi/Desktop/images/01122025/03/01/image_01122025_03_01_44_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/02/59/image_01122025_02_59_24_9748.jpg
/home/pi/Desktop/images/01122025/03/00/image_01122025_03_00_34_10564.jpg
/home/pi/Desktop/images/01122025/03/00/image_01122025_03_00_54_9754.jpg
/home/pi/Desktop/images/01122025/03/00/image_01122025_03_01_04_9660.jpg
/home/pi/Desktop/images/01122025/03/01/image_01122025_03_01_34_9735.jpg
/home/pi/Desktop/images/01122025/03/01/image_01122025_03_01_44_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":["1397153015","1397152988","1397152924","1397152989","1397152983","1397152959"],"photo_ids_order":["1397152924","1397152959","1397152983","1397152988","1397152989","1397153015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a093841bcca6041e53dcafa8403a10eb.jpg","text":"TemporaryFile(/tmp/multipartBody336862955631635437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554543033,"filename":"image_01122025_03_01_44_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/58b09f27bdf99ddb7446055692796982.jpg","text":"TemporaryFile(/tmp/multipartBody7244164398564660305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554543033,"filename":"image_01122025_03_01_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/1/aa1d751fb703f42f87c79415be93f793.jpg","text":"TemporaryFile(/tmp/multipartBody8691669358178191704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554543033,"filename":"image_01122025_02_59_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/1/5e482855be76622597cc515f581a4ec1.jpg","text":"TemporaryFile(/tmp/multipartBody3582651476751672893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554543033,"filename":"image_01122025_03_01_34_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b8ddfbd7d5e6d761f6a52641d7fc1f73.jpg","text":"TemporaryFile(/tmp/multipartBody49607287970160397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554543033,"filename":"image_01122025_03_00_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/1/10081d6ea78785ba7bf31c46960da123.jpg","text":"TemporaryFile(/tmp/multipartBody1038043110986852520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554543033,"filename":"image_01122025_03_00_34_10564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397152983","file1":"1397152959","file0":"1397152924","file4":"1397152989","file5":"1397153015","file3":"1397152988"},"map_files_photo_id_array":[{"photo_id":"1397153015","filename":"file5"},{"photo_id":"1397152983","filename":"file2"},{"photo_id":"1397152989","filename":"file4"},{"photo_id":"1397152959","filename":"file1"},{"photo_id":"1397152924","filename":"file0"},{"photo_id":"1397152988","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153015":["hashtag1","hashtag2"]},{"1397152988":["hashtag1","hashtag2"]},{"1397152924":["hashtag1","hashtag2"]},{"1397152989":["hashtag1","hashtag2"]},{"1397152983":["hashtag1","hashtag2"]},{"1397152959":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153015, 1397152988, 1397152924, 1397152989, 1397152983, 1397152959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.688175201416016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:02:02.859126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/31/image_25112025_21_31_58_3562.jpg', '/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_01_2753.jpg', '/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_03_2702.jpg', '/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_07_3703.jpg', '/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_10_2562.jpg', '/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_16_2482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/31/image_25112025_21_31_58_3562.jpg
/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_01_2753.jpg
/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_03_2702.jpg
/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_07_3703.jpg
/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_10_2562.jpg
/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_16_2482.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153065","1397153068","1397153070","1397153067","1397153072","1397153066"],"photo_ids_order":["1397153065","1397153066","1397153067","1397153068","1397153070","1397153072"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dba47eef7128f595fe35780fade28bf6.jpg","text":"TemporaryFile(/tmp/multipartBody5131105720348190832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554584001,"filename":"image_25112025_21_31_58_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/1/19c9d578402ca7801db8fd364d5b7b14.jpg","text":"TemporaryFile(/tmp/multipartBody7000854659797853160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554584001,"filename":"image_25112025_21_32_07_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0447f5c7b3b357a3cb1338a810826d59.jpg","text":"TemporaryFile(/tmp/multipartBody7439061649571393786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554584001,"filename":"image_25112025_21_32_10_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/1/b75599f4653d2f5b1ce96fe46e5bd8a0.jpg","text":"TemporaryFile(/tmp/multipartBody4306705194710357796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554584001,"filename":"image_25112025_21_32_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/1/6b2ba270abf642f8fbefce7290e17c8d.jpg","text":"TemporaryFile(/tmp/multipartBody935194519558704331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554584001,"filename":"image_25112025_21_32_16_2482.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4bc254a404a7043357c51b0a016bb661.jpg","text":"TemporaryFile(/tmp/multipartBody3404772155698477678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554584001,"filename":"image_25112025_21_32_01_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153067","file1":"1397153066","file0":"1397153065","file4":"1397153070","file5":"1397153072","file3":"1397153068"},"map_files_photo_id_array":[{"photo_id":"1397153072","filename":"file5"},{"photo_id":"1397153067","filename":"file2"},{"photo_id":"1397153070","filename":"file4"},{"photo_id":"1397153066","filename":"file1"},{"photo_id":"1397153065","filename":"file0"},{"photo_id":"1397153068","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397153065":["hashtag1","hashtag2"]},{"1397153068":["hashtag1","hashtag2"]},{"1397153070":["hashtag1","hashtag2"]},{"1397153067":["hashtag1","hashtag2"]},{"1397153072":["hashtag1","hashtag2"]},{"1397153066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397153065, 1397153068, 1397153070, 1397153067, 1397153072, 1397153066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19898462295532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 03:02:42.523526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_56_3293.jpg', '/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_01_2682.jpg', '/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_08_2780.jpg', '/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_13_2648.jpg', '/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_17_3695.jpg', '/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_19_2569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/20/image_01112025_00_20_56_3293.jpg
/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_01_2682.jpg
/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_08_2780.jpg
/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_13_2648.jpg
/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_17_3695.jpg
/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_19_2569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153080","1397153083","1397153085","1397153082","1397153084","1397153078"],"photo_ids_order":["1397153078","1397153080","1397153082","1397153083","1397153084","1397153085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a0ac1474f88b2a16ead6880d7172268b.jpg","text":"TemporaryFile(/tmp/multipartBody6055459153119586735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554623368,"filename":"image_01112025_00_21_01_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/1/828facafb3555466e29b5bc8c8d806ac.jpg","text":"TemporaryFile(/tmp/multipartBody5710332895146312525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554623368,"filename":"image_01112025_00_21_13_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/1/357e9f86d8778ec4ebff5dbec226ed8a.jpg","text":"TemporaryFile(/tmp/multipartBody936850759580782292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554623368,"filename":"image_01112025_00_21_19_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/1/b1d7ab8901eb4e42211e16d2cd1c559f.jpg","text":"TemporaryFile(/tmp/multipartBody8992737508479279191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554623368,"filename":"image_01112025_00_21_08_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/1/11d4e465c6b2cc2049002fc117be9f3d.jpg","text":"TemporaryFile(/tmp/multipartBody6724072167879360379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554623368,"filename":"image_01112025_00_21_17_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/1/88a7a2086e3a6458155cbb3484908845.jpg","text":"TemporaryFile(/tmp/multipartBody1791173883055961459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554623368,"filename":"image_01112025_00_20_56_3293.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153082","file1":"1397153080","file0":"1397153078","file4":"1397153084","file5":"1397153085","file3":"1397153083"},"map_files_photo_id_array":[{"photo_id":"1397153085","filename":"file5"},{"photo_id":"1397153082","filename":"file2"},{"photo_id":"1397153084","filename":"file4"},{"photo_id":"1397153080","filename":"file1"},{"photo_id":"1397153078","filename":"file0"},{"photo_id":"1397153083","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397153080":["hashtag1","hashtag2"]},{"1397153083":["hashtag1","hashtag2"]},{"1397153085":["hashtag1","hashtag2"]},{"1397153082":["hashtag1","hashtag2"]},{"1397153084":["hashtag1","hashtag2"]},{"1397153078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397153080, 1397153083, 1397153085, 1397153082, 1397153084, 1397153078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.329243898391724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 03:03:22.735622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/01/image_01122025_03_01_54_9689.jpg', '/home/pi/Desktop/images/01122025/03/01/image_01122025_03_02_04_9721.jpg', '/home/pi/Desktop/images/01122025/03/02/image_01122025_03_02_43_9659.jpg', '/home/pi/Desktop/images/01122025/03/02/image_01122025_03_02_54_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/01/image_01122025_03_01_54_9689.jpg
/home/pi/Desktop/images/01122025/03/01/image_01122025_03_02_04_9721.jpg
/home/pi/Desktop/images/01122025/03/02/image_01122025_03_02_43_9659.jpg
/home/pi/Desktop/images/01122025/03/02/image_01122025_03_02_54_10617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153092","1397153088","1397153090","1397153093"],"photo_ids_order":["1397153088","1397153090","1397153092","1397153093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b1a196b9b8339bd01980d9f82c0a311b.jpg","text":"TemporaryFile(/tmp/multipartBody4727260750532109424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554663397,"filename":"image_01122025_03_02_43_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/1/e103928929c1bd04fcb6070e6bdf5e0a.jpg","text":"TemporaryFile(/tmp/multipartBody4696993588869034270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554663397,"filename":"image_01122025_03_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/1/6c159acff36f8eca434ec0a4f5d47610.jpg","text":"TemporaryFile(/tmp/multipartBody1646828963542970503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554663397,"filename":"image_01122025_03_02_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/1/d528ca3904d9ef7fd566a3d40edaef79.jpg","text":"TemporaryFile(/tmp/multipartBody3540848062502566198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554663397,"filename":"image_01122025_03_02_54_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153092","file1":"1397153090","file0":"1397153088","file3":"1397153093"},"map_files_photo_id_array":[{"photo_id":"1397153092","filename":"file2"},{"photo_id":"1397153090","filename":"file1"},{"photo_id":"1397153088","filename":"file0"},{"photo_id":"1397153093","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153092":["hashtag1","hashtag2"]},{"1397153088":["hashtag1","hashtag2"]},{"1397153090":["hashtag1","hashtag2"]},{"1397153093":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153092, 1397153088, 1397153090, 1397153093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.64921522140503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:04:02.561885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_18_2807.jpg', '/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_22_3685.jpg', '/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_25_2672.jpg', '/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_27_2627.jpg', '/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_31_3656.jpg', '/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_34_2537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_18_2807.jpg
/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_22_3685.jpg
/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_25_2672.jpg
/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_27_2627.jpg
/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_31_3656.jpg
/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_34_2537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153102","1397153095","1397153094","1397153097","1397153096","1397153099"],"photo_ids_order":["1397153094","1397153095","1397153096","1397153097","1397153099","1397153102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/54a7b9e9542bb50839c078ae9b14e822.jpg","text":"TemporaryFile(/tmp/multipartBody7342015217313247440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554703804,"filename":"image_25112025_21_32_34_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/1/e7d343fdb0742895f297f06af3753a27.jpg","text":"TemporaryFile(/tmp/multipartBody2392876577000446149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554703804,"filename":"image_25112025_21_32_22_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/1/c5a3efd86cd3ffd2a00ca50350c114d3.jpg","text":"TemporaryFile(/tmp/multipartBody7424347951102126388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554703804,"filename":"image_25112025_21_32_18_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4c660b88af11a599ede1575e37248f6c.jpg","text":"TemporaryFile(/tmp/multipartBody8266445279626439188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554703804,"filename":"image_25112025_21_32_27_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/1/952a34f6b0606d174e5095f7efa80833.jpg","text":"TemporaryFile(/tmp/multipartBody2354441038306653537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554703804,"filename":"image_25112025_21_32_25_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/1/d48af81611c426f8970b8abbb10d24ba.jpg","text":"TemporaryFile(/tmp/multipartBody742071211084316423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554703804,"filename":"image_25112025_21_32_31_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153096","file1":"1397153095","file0":"1397153094","file4":"1397153099","file5":"1397153102","file3":"1397153097"},"map_files_photo_id_array":[{"photo_id":"1397153102","filename":"file5"},{"photo_id":"1397153096","filename":"file2"},{"photo_id":"1397153099","filename":"file4"},{"photo_id":"1397153095","filename":"file1"},{"photo_id":"1397153094","filename":"file0"},{"photo_id":"1397153097","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397153102":["hashtag1","hashtag2"]},{"1397153095":["hashtag1","hashtag2"]},{"1397153094":["hashtag1","hashtag2"]},{"1397153097":["hashtag1","hashtag2"]},{"1397153096":["hashtag1","hashtag2"]},{"1397153099":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397153102, 1397153095, 1397153094, 1397153097, 1397153096, 1397153099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10877728462219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 03:04:41.836790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_23_3637.jpg', '/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_25_2744.jpg', '/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_28_2766.jpg', '/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_31_2795.jpg', '/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_34_2769.jpg', '/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_37_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_23_3637.jpg
/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_25_2744.jpg
/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_28_2766.jpg
/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_31_2795.jpg
/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_34_2769.jpg
/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_37_3612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153105","1397153108","1397153107","1397153104","1397153106","1397153103"],"photo_ids_order":["1397153103","1397153104","1397153105","1397153106","1397153107","1397153108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f31bdc8bdefe4ded7a84911bd83e8791.jpg","text":"TemporaryFile(/tmp/multipartBody3713157783680010978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554742701,"filename":"image_01112025_00_21_28_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/1/6bba0e3b2528b4be1be948e2c64067fd.jpg","text":"TemporaryFile(/tmp/multipartBody3323579253501927556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554742701,"filename":"image_01112025_00_21_37_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/76d74399a68a614b5fdbb15d42f758ae.jpg","text":"TemporaryFile(/tmp/multipartBody451072023481332480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554742701,"filename":"image_01112025_00_21_34_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/1/2cd2796ac0cad78e960a546902106e63.jpg","text":"TemporaryFile(/tmp/multipartBody3981235874224877266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554742701,"filename":"image_01112025_00_21_25_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/1/6b24f9e31ab276b13654ebfb5988c35f.jpg","text":"TemporaryFile(/tmp/multipartBody138368172046080578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554742701,"filename":"image_01112025_00_21_31_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/1/a717c70dec25f21e4665bf87b070ffb2.jpg","text":"TemporaryFile(/tmp/multipartBody1132149583765317924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554742701,"filename":"image_01112025_00_21_23_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153105","file1":"1397153104","file0":"1397153103","file4":"1397153107","file5":"1397153108","file3":"1397153106"},"map_files_photo_id_array":[{"photo_id":"1397153108","filename":"file5"},{"photo_id":"1397153105","filename":"file2"},{"photo_id":"1397153107","filename":"file4"},{"photo_id":"1397153104","filename":"file1"},{"photo_id":"1397153103","filename":"file0"},{"photo_id":"1397153106","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397153105":["hashtag1","hashtag2"]},{"1397153108":["hashtag1","hashtag2"]},{"1397153107":["hashtag1","hashtag2"]},{"1397153104":["hashtag1","hashtag2"]},{"1397153106":["hashtag1","hashtag2"]},{"1397153103":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397153105, 1397153108, 1397153107, 1397153104, 1397153106, 1397153103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45617938041687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 03:05:21.997057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/02/image_01122025_03_03_04_9740.jpg', '/home/pi/Desktop/images/01122025/03/04/image_01122025_03_04_24_9684.jpg', '/home/pi/Desktop/images/01122025/03/04/image_01122025_03_04_44_9763.jpg', '/home/pi/Desktop/images/01122025/03/04/image_01122025_03_04_54_9822.jpg', '/home/pi/Desktop/images/01122025/03/05/image_01122025_03_05_24_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/02/image_01122025_03_03_04_9740.jpg
/home/pi/Desktop/images/01122025/03/04/image_01122025_03_04_24_9684.jpg
/home/pi/Desktop/images/01122025/03/04/image_01122025_03_04_44_9763.jpg
/home/pi/Desktop/images/01122025/03/04/image_01122025_03_04_54_9822.jpg
/home/pi/Desktop/images/01122025/03/05/image_01122025_03_05_24_9570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153117","1397153111","1397153113","1397153116","1397153115"],"photo_ids_order":["1397153111","1397153113","1397153115","1397153116","1397153117"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a9c204f89419d67d00a41880a3229422.jpg","text":"TemporaryFile(/tmp/multipartBody5177589002840225194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554782703,"filename":"image_01122025_03_05_24_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3867032be4e163c6b715fb98a95a03f7.jpg","text":"TemporaryFile(/tmp/multipartBody762757418319763300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554782703,"filename":"image_01122025_03_03_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/1/31748480ed0cfb238ec034fc8ca68a5a.jpg","text":"TemporaryFile(/tmp/multipartBody8912689449501213080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554782703,"filename":"image_01122025_03_04_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/1/350bca5621889473f73c76dddfcf33d3.jpg","text":"TemporaryFile(/tmp/multipartBody3058150517157241853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554782703,"filename":"image_01122025_03_04_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/1/f3f2cedd36da4704e08b2c94b3c715aa.jpg","text":"TemporaryFile(/tmp/multipartBody8758944790454634088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554782703,"filename":"image_01122025_03_04_44_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153115","file1":"1397153113","file0":"1397153111","file4":"1397153117","file3":"1397153116"},"map_files_photo_id_array":[{"photo_id":"1397153115","filename":"file2"},{"photo_id":"1397153117","filename":"file4"},{"photo_id":"1397153113","filename":"file1"},{"photo_id":"1397153111","filename":"file0"},{"photo_id":"1397153116","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153117":["hashtag1","hashtag2"]},{"1397153111":["hashtag1","hashtag2"]},{"1397153113":["hashtag1","hashtag2"]},{"1397153116":["hashtag1","hashtag2"]},{"1397153115":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153117, 1397153111, 1397153113, 1397153116, 1397153115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.04277491569519 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:06:02.722181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_36_2730.jpg', '/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_40_3512.jpg', '/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_42_2325.jpg', '/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_46_3581.jpg', '/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_48_2693.jpg', '/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_51_2725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_36_2730.jpg
/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_40_3512.jpg
/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_42_2325.jpg
/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_46_3581.jpg
/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_48_2693.jpg
/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_51_2725.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0826787948608398 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 03:06:12.215026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_36_2730.jpg', '/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_40_3512.jpg', '/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_42_2325.jpg', '/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_46_3581.jpg', '/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_48_2693.jpg', '/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_51_2725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_36_2730.jpg
/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_40_3512.jpg
/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_42_2325.jpg
/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_46_3581.jpg
/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_48_2693.jpg
/home/pi/Desktop/images/25112025/21/32/image_25112025_21_32_51_2725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153132","1397153129","1397153138","1397153126","1397153134","1397153136"],"photo_ids_order":["1397153126","1397153129","1397153132","1397153134","1397153136","1397153138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b0c8a523d425a563f327500b511809b0.jpg","text":"TemporaryFile(/tmp/multipartBody4719995074321966355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554833736,"filename":"image_25112025_21_32_42_2325.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/256bfb9aa453f88274bc88609e30cf12.jpg","text":"TemporaryFile(/tmp/multipartBody7819901290686900384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554833736,"filename":"image_25112025_21_32_40_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/1/9536bcf7ba0bdfa4ded33e4d69b45e62.jpg","text":"TemporaryFile(/tmp/multipartBody6191045597511686322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554833736,"filename":"image_25112025_21_32_51_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/1/da0ea3172890532f781d5ce80aea4041.jpg","text":"TemporaryFile(/tmp/multipartBody3411746510155236165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554833736,"filename":"image_25112025_21_32_36_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/1/c0b25dc4660a056e25ec861e1ad1a7dd.jpg","text":"TemporaryFile(/tmp/multipartBody8512707554393104104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554833736,"filename":"image_25112025_21_32_46_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0c71fedff10f8d6a128fe989081dcf3b.jpg","text":"TemporaryFile(/tmp/multipartBody4377268751917343893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554833736,"filename":"image_25112025_21_32_48_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153132","file1":"1397153129","file0":"1397153126","file4":"1397153136","file5":"1397153138","file3":"1397153134"},"map_files_photo_id_array":[{"photo_id":"1397153138","filename":"file5"},{"photo_id":"1397153132","filename":"file2"},{"photo_id":"1397153136","filename":"file4"},{"photo_id":"1397153129","filename":"file1"},{"photo_id":"1397153126","filename":"file0"},{"photo_id":"1397153134","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397153132":["hashtag1","hashtag2"]},{"1397153129":["hashtag1","hashtag2"]},{"1397153138":["hashtag1","hashtag2"]},{"1397153126":["hashtag1","hashtag2"]},{"1397153134":["hashtag1","hashtag2"]},{"1397153136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397153132, 1397153129, 1397153138, 1397153126, 1397153134, 1397153136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51124572753906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:07:03.183652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/05/image_01122025_03_05_54_10694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/05/image_01122025_03_05_54_10694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153139"],"photo_id":"1397153139","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f0280aae0652c5adefc9c5c197bd5807.jpg","text":"TemporaryFile(/tmp/multipartBody3995017062022114818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554883746,"filename":"image_01122025_03_05_54_10694.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1397153139"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1397153139"}],"hashtags":[],"portfolio_id":"29033749","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.57811975479126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 03:07:22.494867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/06/image_01122025_03_06_54_9786.jpg', '/home/pi/Desktop/images/01122025/03/06/image_01122025_03_07_03_9945.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/06/image_01122025_03_06_54_9786.jpg
/home/pi/Desktop/images/01122025/03/06/image_01122025_03_07_03_9945.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397153144","1397153142"],"photo_ids_order":["1397153142","1397153144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/00b7e8471bba1f9e47ef3eccbcb94914.jpg","text":"TemporaryFile(/tmp/multipartBody7071949319981266380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554903054,"filename":"image_01122025_03_07_03_9945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1c8e9b27bc4c1e8ca5e98252fd94fa81.jpg","text":"TemporaryFile(/tmp/multipartBody15226232234628596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554903054,"filename":"image_01122025_03_06_54_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397153144","file0":"1397153142"},"map_files_photo_id_array":[{"photo_id":"1397153144","filename":"file1"},{"photo_id":"1397153142","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153144":["hashtag1","hashtag2"]},{"1397153142":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153144, 1397153142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.925086498260498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:08:02.755394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/32/image_25112025_21_33_01_3525.jpg', '/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_03_2559.jpg', '/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_07_3760.jpg', '/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_13_2633.jpg', '/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_15_2634.jpg', '/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_19_3507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/32/image_25112025_21_33_01_3525.jpg
/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_03_2559.jpg
/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_07_3760.jpg
/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_13_2633.jpg
/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_15_2634.jpg
/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_19_3507.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153156","1397153152","1397153149","1397153154","1397153148","1397153150"],"photo_ids_order":["1397153148","1397153149","1397153150","1397153152","1397153154","1397153156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ba78b257e1e517434b04d2f76043376c.jpg","text":"TemporaryFile(/tmp/multipartBody8167008352377616742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554946932,"filename":"image_25112025_21_33_19_3507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/de4715229feab1668e6dfa05bd6e3bfe.jpg","text":"TemporaryFile(/tmp/multipartBody4629502747667525084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554946932,"filename":"image_25112025_21_33_13_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/070256805c23df77cbfaf41aaec72281.jpg","text":"TemporaryFile(/tmp/multipartBody7892278495049290691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554946932,"filename":"image_25112025_21_33_03_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bb98f4d3cab0de753664249ad062254a.jpg","text":"TemporaryFile(/tmp/multipartBody4270823302702448426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554946932,"filename":"image_25112025_21_33_15_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7e00928ca9d22def543a5d6a5cfa6783.jpg","text":"TemporaryFile(/tmp/multipartBody2297365284002422749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554946932,"filename":"image_25112025_21_33_01_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/1/f04c9fde1075a68db69ea75edfb528f1.jpg","text":"TemporaryFile(/tmp/multipartBody2742113362261845725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764554946932,"filename":"image_25112025_21_33_07_3760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153150","file1":"1397153149","file0":"1397153148","file4":"1397153154","file5":"1397153156","file3":"1397153152"},"map_files_photo_id_array":[{"photo_id":"1397153156","filename":"file5"},{"photo_id":"1397153150","filename":"file2"},{"photo_id":"1397153154","filename":"file4"},{"photo_id":"1397153149","filename":"file1"},{"photo_id":"1397153148","filename":"file0"},{"photo_id":"1397153152","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397153156":["hashtag1","hashtag2"]},{"1397153152":["hashtag1","hashtag2"]},{"1397153149":["hashtag1","hashtag2"]},{"1397153154":["hashtag1","hashtag2"]},{"1397153148":["hashtag1","hashtag2"]},{"1397153150":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397153156, 1397153152, 1397153149, 1397153154, 1397153148, 1397153150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.32724905014038 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:09:03.360848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/07/image_01122025_03_07_54_9749.jpg', '/home/pi/Desktop/images/01122025/03/07/image_01122025_03_08_04_9769.jpg', '/home/pi/Desktop/images/01122025/03/08/image_01122025_03_08_24_10752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/07/image_01122025_03_07_54_9749.jpg
/home/pi/Desktop/images/01122025/03/07/image_01122025_03_08_04_9769.jpg
/home/pi/Desktop/images/01122025/03/08/image_01122025_03_08_24_10752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153168","1397153167","1397153166"],"photo_ids_order":["1397153166","1397153167","1397153168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4565499f1e4cab32e4918fc2506353e5.jpg","text":"TemporaryFile(/tmp/multipartBody1810348984470789668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555004166,"filename":"image_01122025_03_08_24_10752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c65906dc528ddfd07dbb4ff72e3c52d6.jpg","text":"TemporaryFile(/tmp/multipartBody2676499947474846900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555004166,"filename":"image_01122025_03_08_04_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/45fd09996f652c13c5576379ba3e81e4.jpg","text":"TemporaryFile(/tmp/multipartBody1789937105215308171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555004166,"filename":"image_01122025_03_07_54_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153168","file1":"1397153167","file0":"1397153166"},"map_files_photo_id_array":[{"photo_id":"1397153168","filename":"file2"},{"photo_id":"1397153167","filename":"file1"},{"photo_id":"1397153166","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153168":["hashtag1","hashtag2"]},{"1397153167":["hashtag1","hashtag2"]},{"1397153166":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153168, 1397153167, 1397153166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.163810968399048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 03:09:32.486885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_22_2787.jpg', '/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_24_2596.jpg', '/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_28_3638.jpg', '/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_31_2637.jpg', '/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_33_2617.jpg', '/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_37_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_22_2787.jpg
/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_24_2596.jpg
/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_28_3638.jpg
/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_31_2637.jpg
/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_33_2617.jpg
/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_37_3694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153180","1397153179","1397153173","1397153175","1397153178","1397153177"],"photo_ids_order":["1397153173","1397153175","1397153177","1397153178","1397153179","1397153180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1c9a84e322c2decd749c8611e2a795f2.jpg","text":"TemporaryFile(/tmp/multipartBody8742436118276399616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555034194,"filename":"image_25112025_21_33_37_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/af7fd672df403b723f3438edb4b3bab9.jpg","text":"TemporaryFile(/tmp/multipartBody181382406912089396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555034194,"filename":"image_25112025_21_33_33_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/1/5a490e27a889879ffcc159d5f61d4ba3.jpg","text":"TemporaryFile(/tmp/multipartBody3528495929191843041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555034194,"filename":"image_25112025_21_33_22_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/1/5c7af28b807d20ba5b41cd2898a68972.jpg","text":"TemporaryFile(/tmp/multipartBody1182351031097726486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555034194,"filename":"image_25112025_21_33_24_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/1/fc9dd549a7a711713085e44c1b3b853a.jpg","text":"TemporaryFile(/tmp/multipartBody3061022969258787588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555034194,"filename":"image_25112025_21_33_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/1/1e499641f9c80db9610782057d78693d.jpg","text":"TemporaryFile(/tmp/multipartBody8864135703466750504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555034194,"filename":"image_25112025_21_33_28_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153177","file1":"1397153175","file0":"1397153173","file4":"1397153179","file5":"1397153180","file3":"1397153178"},"map_files_photo_id_array":[{"photo_id":"1397153180","filename":"file5"},{"photo_id":"1397153177","filename":"file2"},{"photo_id":"1397153179","filename":"file4"},{"photo_id":"1397153175","filename":"file1"},{"photo_id":"1397153173","filename":"file0"},{"photo_id":"1397153178","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397153180":["hashtag1","hashtag2"]},{"1397153179":["hashtag1","hashtag2"]},{"1397153173":["hashtag1","hashtag2"]},{"1397153175":["hashtag1","hashtag2"]},{"1397153178":["hashtag1","hashtag2"]},{"1397153177":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397153180, 1397153179, 1397153173, 1397153175, 1397153178, 1397153177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00749754905701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 03:10:12.544856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_39_2602.jpg', '/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_43_3590.jpg', '/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_46_2514.jpg', '/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_48_2580.jpg', '/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_52_3585.jpg', '/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_54_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_39_2602.jpg
/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_43_3590.jpg
/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_46_2514.jpg
/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_48_2580.jpg
/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_52_3585.jpg
/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_54_2680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153189","1397153188","1397153185","1397153187","1397153181","1397153183"],"photo_ids_order":["1397153181","1397153183","1397153185","1397153187","1397153188","1397153189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/86a1fb3a3ccff5af696b84bdc3ab496a.jpg","text":"TemporaryFile(/tmp/multipartBody1535726562279525743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555074164,"filename":"image_25112025_21_33_54_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0d483b3124056e051fd99be23e752661.jpg","text":"TemporaryFile(/tmp/multipartBody1820415818043276058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555074164,"filename":"image_25112025_21_33_52_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/1/19a2a181bbc4c9ea69c4076c49857a8d.jpg","text":"TemporaryFile(/tmp/multipartBody34671290793729132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555074164,"filename":"image_25112025_21_33_46_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4244c3439bb17631f2c95e7127b9da5d.jpg","text":"TemporaryFile(/tmp/multipartBody2936754066339201122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555074164,"filename":"image_25112025_21_33_48_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/1/ad74e68e7d50811d50eede9a5f56e215.jpg","text":"TemporaryFile(/tmp/multipartBody816092985188022407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555074164,"filename":"image_25112025_21_33_39_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6bc90fa68f60edfb2e705101e5171c22.jpg","text":"TemporaryFile(/tmp/multipartBody4352798298643115894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555074164,"filename":"image_25112025_21_33_43_3590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153185","file1":"1397153183","file0":"1397153181","file4":"1397153188","file5":"1397153189","file3":"1397153187"},"map_files_photo_id_array":[{"photo_id":"1397153189","filename":"file5"},{"photo_id":"1397153185","filename":"file2"},{"photo_id":"1397153188","filename":"file4"},{"photo_id":"1397153183","filename":"file1"},{"photo_id":"1397153181","filename":"file0"},{"photo_id":"1397153187","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397153189":["hashtag1","hashtag2"]},{"1397153188":["hashtag1","hashtag2"]},{"1397153185":["hashtag1","hashtag2"]},{"1397153187":["hashtag1","hashtag2"]},{"1397153181":["hashtag1","hashtag2"]},{"1397153183":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397153189, 1397153188, 1397153185, 1397153187, 1397153181, 1397153183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.3764865398407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:11:04.085385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 03:11:13.394440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_57_2739.jpg', '/home/pi/Desktop/images/25112025/21/33/image_25112025_21_34_01_3595.jpg', '/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_03_2582.jpg', '/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_07_3539.jpg', '/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_09_2616.jpg', '/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_12_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/33/image_25112025_21_33_57_2739.jpg
/home/pi/Desktop/images/25112025/21/33/image_25112025_21_34_01_3595.jpg
/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_03_2582.jpg
/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_07_3539.jpg
/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_09_2616.jpg
/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_12_2641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153194","1397153200","1397153190","1397153196","1397153198","1397153192"],"photo_ids_order":["1397153190","1397153192","1397153194","1397153196","1397153198","1397153200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/91cd22a77c13a030c497a56ceaa3b38d.jpg","text":"TemporaryFile(/tmp/multipartBody7608928521371452036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555137267,"filename":"image_25112025_21_34_03_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/1/a60026db2fe6bdef7533c0f07fc8750a.jpg","text":"TemporaryFile(/tmp/multipartBody1688025040407949235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555137267,"filename":"image_25112025_21_34_12_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/1/c8ab263041dd733d8e5008f2ecea5ae3.jpg","text":"TemporaryFile(/tmp/multipartBody311609213362682770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555137267,"filename":"image_25112025_21_33_57_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/1/05f8bd83d453fc0c2e1fb7b9cfb27cf2.jpg","text":"TemporaryFile(/tmp/multipartBody6799498593524641277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555137267,"filename":"image_25112025_21_34_07_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/889ecaa5d146901eb823f7e545bc3ee6.jpg","text":"TemporaryFile(/tmp/multipartBody5164165843437445591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555137267,"filename":"image_25112025_21_34_09_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/1/d8d6edce89b592a77f43091f94d46e4f.jpg","text":"TemporaryFile(/tmp/multipartBody1151680900859400485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555137267,"filename":"image_25112025_21_34_01_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153194","file1":"1397153192","file0":"1397153190","file4":"1397153198","file5":"1397153200","file3":"1397153196"},"map_files_photo_id_array":[{"photo_id":"1397153200","filename":"file5"},{"photo_id":"1397153194","filename":"file2"},{"photo_id":"1397153198","filename":"file4"},{"photo_id":"1397153192","filename":"file1"},{"photo_id":"1397153190","filename":"file0"},{"photo_id":"1397153196","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397153194":["hashtag1","hashtag2"]},{"1397153200":["hashtag1","hashtag2"]},{"1397153190":["hashtag1","hashtag2"]},{"1397153196":["hashtag1","hashtag2"]},{"1397153198":["hashtag1","hashtag2"]},{"1397153192":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397153194, 1397153200, 1397153190, 1397153196, 1397153198, 1397153192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.93919014930725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:12:03.419533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/08/image_01122025_03_08_44_9611.jpg', '/home/pi/Desktop/images/01122025/03/09/image_01122025_03_09_24_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/08/image_01122025_03_08_44_9611.jpg
/home/pi/Desktop/images/01122025/03/09/image_01122025_03_09_24_9706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153207","1397153206"],"photo_ids_order":["1397153206","1397153207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d5d7978b89cd6dd7ad66c1a64986861f.jpg","text":"TemporaryFile(/tmp/multipartBody2270104300114797223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555186527,"filename":"image_01122025_03_09_24_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d395f119d8f3434f5087ab74b2a4c017.jpg","text":"TemporaryFile(/tmp/multipartBody5082937543297704988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555186527,"filename":"image_01122025_03_08_44_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397153207","file0":"1397153206"},"map_files_photo_id_array":[{"photo_id":"1397153207","filename":"file1"},{"photo_id":"1397153206","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153207":["hashtag1","hashtag2"]},{"1397153206":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153207, 1397153206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.21527600288391 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 03:12:33.061432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_16_3718.jpg', '/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_18_2554.jpg', '/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_21_2701.jpg', '/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_28_2772.jpg', '/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_30_2670.jpg', '/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_34_3660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_16_3718.jpg
/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_18_2554.jpg
/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_21_2701.jpg
/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_28_2772.jpg
/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_30_2670.jpg
/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_34_3660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153216","1397153212","1397153215","1397153218","1397153217","1397153214"],"photo_ids_order":["1397153212","1397153214","1397153215","1397153216","1397153217","1397153218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b726b75205228e8f5e50dfba0fe91d52.jpg","text":"TemporaryFile(/tmp/multipartBody8265083748706174312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555214784,"filename":"image_25112025_21_34_28_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f4236b71b168fad0a5d576c87d420a50.jpg","text":"TemporaryFile(/tmp/multipartBody2189587630905861212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555214784,"filename":"image_25112025_21_34_16_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6716b8f4da242f4509b93ce14a048804.jpg","text":"TemporaryFile(/tmp/multipartBody1626354841595882994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555214784,"filename":"image_25112025_21_34_21_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fe2914d18b526f837d0181bb7a338eee.jpg","text":"TemporaryFile(/tmp/multipartBody749054579626167604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555214784,"filename":"image_25112025_21_34_34_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/09cbf3f8d5d5415dcd4f7f76f33f1957.jpg","text":"TemporaryFile(/tmp/multipartBody5930622899091429928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555214784,"filename":"image_25112025_21_34_30_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/1/77f561b130484aea797214c7f1b1356f.jpg","text":"TemporaryFile(/tmp/multipartBody5362168962468726346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555214784,"filename":"image_25112025_21_34_18_2554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153215","file1":"1397153214","file0":"1397153212","file4":"1397153217","file5":"1397153218","file3":"1397153216"},"map_files_photo_id_array":[{"photo_id":"1397153218","filename":"file5"},{"photo_id":"1397153215","filename":"file2"},{"photo_id":"1397153217","filename":"file4"},{"photo_id":"1397153214","filename":"file1"},{"photo_id":"1397153212","filename":"file0"},{"photo_id":"1397153216","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397153216":["hashtag1","hashtag2"]},{"1397153212":["hashtag1","hashtag2"]},{"1397153215":["hashtag1","hashtag2"]},{"1397153218":["hashtag1","hashtag2"]},{"1397153217":["hashtag1","hashtag2"]},{"1397153214":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397153216, 1397153212, 1397153215, 1397153218, 1397153217, 1397153214)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.171672105789185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 03:13:22.286023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/10/image_01122025_03_10_54_10839.jpg', '/home/pi/Desktop/images/01122025/03/10/image_01122025_03_11_04_9707.jpg', '/home/pi/Desktop/images/01122025/03/11/image_01122025_03_11_34_10715.jpg', '/home/pi/Desktop/images/01122025/03/11/image_01122025_03_11_54_10228.jpg', '/home/pi/Desktop/images/01122025/03/11/image_01122025_03_12_04_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/10/image_01122025_03_10_54_10839.jpg
/home/pi/Desktop/images/01122025/03/10/image_01122025_03_11_04_9707.jpg
/home/pi/Desktop/images/01122025/03/11/image_01122025_03_11_34_10715.jpg
/home/pi/Desktop/images/01122025/03/11/image_01122025_03_11_54_10228.jpg
/home/pi/Desktop/images/01122025/03/11/image_01122025_03_12_04_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":["1397153228","1397153225","1397153227","1397153221","1397153223"],"photo_ids_order":["1397153221","1397153223","1397153225","1397153227","1397153228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dc17379d3163c0c45d468eda85d86ada.jpg","text":"TemporaryFile(/tmp/multipartBody6945454689940495964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555262947,"filename":"image_01122025_03_12_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/1/0a78e4529f604d08ae10c3c596020b01.jpg","text":"TemporaryFile(/tmp/multipartBody7876169545924980830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555262947,"filename":"image_01122025_03_11_34_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7a7e0b8c9bf437a4fe9a80eb0278de44.jpg","text":"TemporaryFile(/tmp/multipartBody7932029184947522295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555262947,"filename":"image_01122025_03_11_54_10228.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d2c3b0e3ecab562c5aff44571230fe0f.jpg","text":"TemporaryFile(/tmp/multipartBody6068084675363654958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555262947,"filename":"image_01122025_03_10_54_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/1/9971f575118f536dad092bd8a39324d0.jpg","text":"TemporaryFile(/tmp/multipartBody4680988808172734521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555262947,"filename":"image_01122025_03_11_04_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153225","file1":"1397153223","file0":"1397153221","file4":"1397153228","file3":"1397153227"},"map_files_photo_id_array":[{"photo_id":"1397153225","filename":"file2"},{"photo_id":"1397153228","filename":"file4"},{"photo_id":"1397153223","filename":"file1"},{"photo_id":"1397153221","filename":"file0"},{"photo_id":"1397153227","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153228":["hashtag1","hashtag2"]},{"1397153225":["hashtag1","hashtag2"]},{"1397153227":["hashtag1","hashtag2"]},{"1397153221":["hashtag1","hashtag2"]},{"1397153223":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153228, 1397153225, 1397153227, 1397153221, 1397153223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.313498973846436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:14:03.372189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 03:14:12.789337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_37_2606.jpg', '/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_39_2647.jpg', '/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_43_3780.jpg', '/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_46_2740.jpg', '/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_49_3471.jpg', '/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_52_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_37_2606.jpg
/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_39_2647.jpg
/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_43_3780.jpg
/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_46_2740.jpg
/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_49_3471.jpg
/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_52_2686.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6133153438568115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 03:14:22.762184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/12/image_01122025_03_12_54_10312.jpg', '/home/pi/Desktop/images/01122025/03/13/image_01122025_03_13_14_10600.jpg', '/home/pi/Desktop/images/01122025/03/13/image_01122025_03_13_24_9581.jpg', '/home/pi/Desktop/images/01122025/03/14/image_01122025_03_14_24_9616.jpg', '/home/pi/Desktop/images/01122025/03/14/image_01122025_03_14_34_10768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/12/image_01122025_03_12_54_10312.jpg
/home/pi/Desktop/images/01122025/03/13/image_01122025_03_13_14_10600.jpg
/home/pi/Desktop/images/01122025/03/13/image_01122025_03_13_24_9581.jpg
/home/pi/Desktop/images/01122025/03/14/image_01122025_03_14_24_9616.jpg
/home/pi/Desktop/images/01122025/03/14/image_01122025_03_14_34_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":["1397153246","1397153233","1397153241","1397153244","1397153238"],"photo_ids_order":["1397153233","1397153238","1397153241","1397153244","1397153246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a0d68049b681fe42f24e520f3932e977.jpg","text":"TemporaryFile(/tmp/multipartBody1089012112193005062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555323402,"filename":"image_01122025_03_14_34_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/1/d96169922bd1eb58be3db5a791030292.jpg","text":"TemporaryFile(/tmp/multipartBody7679823013331113605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555323402,"filename":"image_01122025_03_12_54_10312.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ef43ec6ae74ce2bfaea3f2167c33fa49.jpg","text":"TemporaryFile(/tmp/multipartBody4224934360712896196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555323402,"filename":"image_01122025_03_13_24_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/56fdfd4b4d6e50dd8c696f4786d1ccc9.jpg","text":"TemporaryFile(/tmp/multipartBody4308339080090424636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555323402,"filename":"image_01122025_03_14_24_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5419ec5ef77e626dc5a370c74fa0d1b4.jpg","text":"TemporaryFile(/tmp/multipartBody5805919955916375479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555323402,"filename":"image_01122025_03_13_14_10600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153241","file1":"1397153238","file0":"1397153233","file4":"1397153246","file3":"1397153244"},"map_files_photo_id_array":[{"photo_id":"1397153241","filename":"file2"},{"photo_id":"1397153246","filename":"file4"},{"photo_id":"1397153238","filename":"file1"},{"photo_id":"1397153233","filename":"file0"},{"photo_id":"1397153244","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153246":["hashtag1","hashtag2"]},{"1397153233":["hashtag1","hashtag2"]},{"1397153241":["hashtag1","hashtag2"]},{"1397153244":["hashtag1","hashtag2"]},{"1397153238":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153246, 1397153233, 1397153241, 1397153244, 1397153238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.65520668029785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:15:02.644060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_37_2606.jpg', '/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_39_2647.jpg', '/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_43_3780.jpg', '/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_46_2740.jpg', '/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_49_3471.jpg', '/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_52_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_37_2606.jpg
/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_39_2647.jpg
/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_43_3780.jpg
/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_46_2740.jpg
/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_49_3471.jpg
/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_52_2686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153267","1397153261","1397153260","1397153263","1397153265","1397153262"],"photo_ids_order":["1397153260","1397153261","1397153262","1397153263","1397153265","1397153267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2836f867539a44ca6143d374532f4e27.jpg","text":"TemporaryFile(/tmp/multipartBody1695396320883748794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555363768,"filename":"image_25112025_21_34_52_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/137fa1f5a9495cba7baf8a215c98f035.jpg","text":"TemporaryFile(/tmp/multipartBody7363813821051101172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555363768,"filename":"image_25112025_21_34_39_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/1/973752481011923204e0bfe997f4c392.jpg","text":"TemporaryFile(/tmp/multipartBody203534688664785944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555363768,"filename":"image_25112025_21_34_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/1/3e2fe86e2bb366dc30afcdf887036b9c.jpg","text":"TemporaryFile(/tmp/multipartBody4749135577748776349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555363768,"filename":"image_25112025_21_34_46_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f9604c0bd9e841a1d9c3758d93d55f45.jpg","text":"TemporaryFile(/tmp/multipartBody7327369291906059535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555363768,"filename":"image_25112025_21_34_49_3471.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/71f1ee648ec75b39a126f0e8d94cbb7e.jpg","text":"TemporaryFile(/tmp/multipartBody4943603237435452854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555363768,"filename":"image_25112025_21_34_43_3780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153262","file1":"1397153261","file0":"1397153260","file4":"1397153265","file5":"1397153267","file3":"1397153263"},"map_files_photo_id_array":[{"photo_id":"1397153267","filename":"file5"},{"photo_id":"1397153262","filename":"file2"},{"photo_id":"1397153265","filename":"file4"},{"photo_id":"1397153261","filename":"file1"},{"photo_id":"1397153260","filename":"file0"},{"photo_id":"1397153263","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397153267":["hashtag1","hashtag2"]},{"1397153261":["hashtag1","hashtag2"]},{"1397153260":["hashtag1","hashtag2"]},{"1397153263":["hashtag1","hashtag2"]},{"1397153265":["hashtag1","hashtag2"]},{"1397153262":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397153267, 1397153261, 1397153260, 1397153263, 1397153265, 1397153262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3060998916626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 03:15:41.887697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_40_2706.jpg', '/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_43_2756.jpg', '/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_47_3698.jpg', '/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_49_2646.jpg', '/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_52_2629.jpg', '/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_56_3671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_40_2706.jpg
/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_43_2756.jpg
/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_47_3698.jpg
/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_49_2646.jpg
/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_52_2629.jpg
/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_56_3671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153275","1397153278","1397153272","1397153274","1397153277","1397153276"],"photo_ids_order":["1397153272","1397153274","1397153275","1397153276","1397153277","1397153278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/24829faa40908beea1f69a21ec541ad8.jpg","text":"TemporaryFile(/tmp/multipartBody2066518205171324983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555402708,"filename":"image_01112025_00_21_47_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/1/c707eb64f798ac0a630b3c8793bff0c6.jpg","text":"TemporaryFile(/tmp/multipartBody3835404812417604109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555402708,"filename":"image_01112025_00_21_56_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/1/94d4afb01e50f8c4b581fd8cb11959de.jpg","text":"TemporaryFile(/tmp/multipartBody7673258042449030852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555402708,"filename":"image_01112025_00_21_40_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fb26722fd433f7e8a29eecd7086544c0.jpg","text":"TemporaryFile(/tmp/multipartBody323819410270327983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555402708,"filename":"image_01112025_00_21_43_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/1/7855a4d024ed3a406f0f967b9ae5f9d2.jpg","text":"TemporaryFile(/tmp/multipartBody6727076303870794237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555402708,"filename":"image_01112025_00_21_52_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/1/dc195ab24ac8e9581fcd70808c3423c4.jpg","text":"TemporaryFile(/tmp/multipartBody3086431832799033196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555402708,"filename":"image_01112025_00_21_49_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153275","file1":"1397153274","file0":"1397153272","file4":"1397153277","file5":"1397153278","file3":"1397153276"},"map_files_photo_id_array":[{"photo_id":"1397153278","filename":"file5"},{"photo_id":"1397153275","filename":"file2"},{"photo_id":"1397153277","filename":"file4"},{"photo_id":"1397153274","filename":"file1"},{"photo_id":"1397153272","filename":"file0"},{"photo_id":"1397153276","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397153275":["hashtag1","hashtag2"]},{"1397153278":["hashtag1","hashtag2"]},{"1397153272":["hashtag1","hashtag2"]},{"1397153274":["hashtag1","hashtag2"]},{"1397153277":["hashtag1","hashtag2"]},{"1397153276":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397153275, 1397153278, 1397153272, 1397153274, 1397153277, 1397153276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.574065923690796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 03:16:22.165521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/14/image_01122025_03_14_44_9810.jpg', '/home/pi/Desktop/images/01122025/03/14/image_01122025_03_15_04_10761.jpg', '/home/pi/Desktop/images/01122025/03/15/image_01122025_03_15_44_9732.jpg', '/home/pi/Desktop/images/01122025/03/16/image_01122025_03_16_34_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/14/image_01122025_03_14_44_9810.jpg
/home/pi/Desktop/images/01122025/03/14/image_01122025_03_15_04_10761.jpg
/home/pi/Desktop/images/01122025/03/15/image_01122025_03_15_44_9732.jpg
/home/pi/Desktop/images/01122025/03/16/image_01122025_03_16_34_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":["1397153281","1397153283","1397153286","1397153285"],"photo_ids_order":["1397153281","1397153283","1397153285","1397153286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ae81508e20244751f0d2f3dad6155093.jpg","text":"TemporaryFile(/tmp/multipartBody8791817463914204546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555442831,"filename":"image_01122025_03_14_44_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/14697425a898fa853f6fbf9f14b665fd.jpg","text":"TemporaryFile(/tmp/multipartBody2848707390063561331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555442831,"filename":"image_01122025_03_15_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/1/445522e955b4e6f718bb50375a8ea59f.jpg","text":"TemporaryFile(/tmp/multipartBody3192190205565268866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555442831,"filename":"image_01122025_03_16_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/1/a7ee054ed5fecb7eeac9ff422262de18.jpg","text":"TemporaryFile(/tmp/multipartBody3045037710430239968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555442831,"filename":"image_01122025_03_15_44_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153285","file1":"1397153283","file0":"1397153281","file3":"1397153286"},"map_files_photo_id_array":[{"photo_id":"1397153285","filename":"file2"},{"photo_id":"1397153283","filename":"file1"},{"photo_id":"1397153281","filename":"file0"},{"photo_id":"1397153286","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153281":["hashtag1","hashtag2"]},{"1397153283":["hashtag1","hashtag2"]},{"1397153286":["hashtag1","hashtag2"]},{"1397153285":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153281, 1397153283, 1397153286, 1397153285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.0078022480011 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:17:03.058387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_54_2624.jpg', '/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_57_2571.jpg', '/home/pi/Desktop/images/25112025/21/34/image_25112025_21_35_01_3593.jpg', '/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_04_2914.jpg', '/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_16_1622.jpg', '/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_18_1597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_54_2624.jpg
/home/pi/Desktop/images/25112025/21/34/image_25112025_21_34_57_2571.jpg
/home/pi/Desktop/images/25112025/21/34/image_25112025_21_35_01_3593.jpg
/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_04_2914.jpg
/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_16_1622.jpg
/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_18_1597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153288","1397153287","1397153290","1397153292","1397153289","1397153294"],"photo_ids_order":["1397153287","1397153288","1397153289","1397153290","1397153292","1397153294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/652e076e0d89080a12b48d3ba9a3ee62.jpg","text":"TemporaryFile(/tmp/multipartBody1814654667610308100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555484269,"filename":"image_25112025_21_34_57_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6c0af1dacfdd1c368f7376ee24e7a26e.jpg","text":"TemporaryFile(/tmp/multipartBody911745956977212972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555484269,"filename":"image_25112025_21_34_54_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/1/be88ab475ed6a7873cc001fcaeef35bc.jpg","text":"TemporaryFile(/tmp/multipartBody5444243847603481878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555484269,"filename":"image_25112025_21_35_04_2914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4864bd753cce239b8d0cfa1c80ac88e0.jpg","text":"TemporaryFile(/tmp/multipartBody3881460660632043642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555484269,"filename":"image_25112025_21_35_16_1622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2874684ca27a6edd500076ce2894688e.jpg","text":"TemporaryFile(/tmp/multipartBody6667256351404498236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555484269,"filename":"image_25112025_21_35_01_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/1/96e322d26c3697f3afc22bacfe47efb4.jpg","text":"TemporaryFile(/tmp/multipartBody309037432250911856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555484269,"filename":"image_25112025_21_35_18_1597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153289","file1":"1397153288","file0":"1397153287","file4":"1397153292","file5":"1397153294","file3":"1397153290"},"map_files_photo_id_array":[{"photo_id":"1397153294","filename":"file5"},{"photo_id":"1397153289","filename":"file2"},{"photo_id":"1397153292","filename":"file4"},{"photo_id":"1397153288","filename":"file1"},{"photo_id":"1397153287","filename":"file0"},{"photo_id":"1397153290","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397153288":["hashtag1","hashtag2"]},{"1397153287":["hashtag1","hashtag2"]},{"1397153290":["hashtag1","hashtag2"]},{"1397153292":["hashtag1","hashtag2"]},{"1397153289":["hashtag1","hashtag2"]},{"1397153294":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397153288, 1397153287, 1397153290, 1397153292, 1397153289, 1397153294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22729206085205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 03:17:42.860863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_58_2797.jpg', '/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_08_3548.jpg', '/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_10_2609.jpg', '/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_13_2612.jpg', '/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_16_3617.jpg', '/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_19_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/21/image_01112025_00_21_58_2797.jpg
/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_08_3548.jpg
/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_10_2609.jpg
/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_13_2612.jpg
/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_16_3617.jpg
/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_19_2602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153318","1397153317","1397153320","1397153295","1397153316","1397153319"],"photo_ids_order":["1397153295","1397153316","1397153317","1397153318","1397153319","1397153320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8f3f9c0972a252a490f197ee74d43b2c.jpg","text":"TemporaryFile(/tmp/multipartBody231548720828524724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555527492,"filename":"image_01112025_00_22_13_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/1/70f9bcc74608719f0544c303945dc086.jpg","text":"TemporaryFile(/tmp/multipartBody3271067297283075332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555527492,"filename":"image_01112025_00_22_10_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/106faec11cd59182f26d0e911b866487.jpg","text":"TemporaryFile(/tmp/multipartBody7919806791956465429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555527492,"filename":"image_01112025_00_22_19_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/43813dd94ba7a62c5b8390940292a4a2.jpg","text":"TemporaryFile(/tmp/multipartBody8035844165769555688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555527492,"filename":"image_01112025_00_21_58_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b1bcef45144636e35746b35de04eb87c.jpg","text":"TemporaryFile(/tmp/multipartBody8337191809495151160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555527492,"filename":"image_01112025_00_22_08_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a99d79864af370d733e6d49a0c462a26.jpg","text":"TemporaryFile(/tmp/multipartBody1588187899252547682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555527492,"filename":"image_01112025_00_22_16_3617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153317","file1":"1397153316","file0":"1397153295","file4":"1397153319","file5":"1397153320","file3":"1397153318"},"map_files_photo_id_array":[{"photo_id":"1397153320","filename":"file5"},{"photo_id":"1397153317","filename":"file2"},{"photo_id":"1397153319","filename":"file4"},{"photo_id":"1397153316","filename":"file1"},{"photo_id":"1397153295","filename":"file0"},{"photo_id":"1397153318","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397153318":["hashtag1","hashtag2"]},{"1397153317":["hashtag1","hashtag2"]},{"1397153320":["hashtag1","hashtag2"]},{"1397153295":["hashtag1","hashtag2"]},{"1397153316":["hashtag1","hashtag2"]},{"1397153319":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397153318, 1397153317, 1397153320, 1397153295, 1397153316, 1397153319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84750413894653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 03:18:32.254645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_20_1687.jpg', '/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_21_1516.jpg', '/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_25_3614.jpg', '/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_27_2636.jpg', '/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_30_2686.jpg', '/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_34_3686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_20_1687.jpg
/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_21_1516.jpg
/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_25_3614.jpg
/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_27_2636.jpg
/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_30_2686.jpg
/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_34_3686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153330","1397153327","1397153329","1397153328","1397153331","1397153325"],"photo_ids_order":["1397153325","1397153327","1397153328","1397153329","1397153330","1397153331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1cc1d85c76e1b147cccbc2acdee27471.jpg","text":"TemporaryFile(/tmp/multipartBody6730775300621342547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555574017,"filename":"image_25112025_21_35_30_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7b0856537db7078a192a4a35fceab3a7.jpg","text":"TemporaryFile(/tmp/multipartBody5533906285798307349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555574017,"filename":"image_25112025_21_35_21_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/1/fbe5450f1044f5e9a864ba524e6cbbe6.jpg","text":"TemporaryFile(/tmp/multipartBody4344656165898494723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555574017,"filename":"image_25112025_21_35_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/1/7b24b24dfcd41f525965abf4805ca4aa.jpg","text":"TemporaryFile(/tmp/multipartBody487469472253664802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555574017,"filename":"image_25112025_21_35_25_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/1/0c03ef94e1a18316cd7fb0c5d3c8de79.jpg","text":"TemporaryFile(/tmp/multipartBody650850791435792027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555574017,"filename":"image_25112025_21_35_34_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7e611d143089ae71c4b20cee1ab42111.jpg","text":"TemporaryFile(/tmp/multipartBody19080810701088184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555574017,"filename":"image_25112025_21_35_20_1687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153328","file1":"1397153327","file0":"1397153325","file4":"1397153330","file5":"1397153331","file3":"1397153329"},"map_files_photo_id_array":[{"photo_id":"1397153331","filename":"file5"},{"photo_id":"1397153328","filename":"file2"},{"photo_id":"1397153330","filename":"file4"},{"photo_id":"1397153327","filename":"file1"},{"photo_id":"1397153325","filename":"file0"},{"photo_id":"1397153329","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397153330":["hashtag1","hashtag2"]},{"1397153327":["hashtag1","hashtag2"]},{"1397153329":["hashtag1","hashtag2"]},{"1397153328":["hashtag1","hashtag2"]},{"1397153331":["hashtag1","hashtag2"]},{"1397153325":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397153330, 1397153327, 1397153329, 1397153328, 1397153331, 1397153325)","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 = 1397153328 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_25_3614.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 56.98568892478943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 03:19:32.817035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_36_2524.jpg', '/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_40_3718.jpg', '/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_42_2518.jpg', '/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_45_2653.jpg', '/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_49_3624.jpg', '/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_51_2303.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_36_2524.jpg
/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_40_3718.jpg
/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_42_2518.jpg
/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_45_2653.jpg
/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_49_3624.jpg
/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_51_2303.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153339","1397153342","1397153336","1397153341","1397153338","1397153340"],"photo_ids_order":["1397153336","1397153338","1397153339","1397153340","1397153341","1397153342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dff76ead849d40c8b38760c26c29ea90.jpg","text":"TemporaryFile(/tmp/multipartBody2019336889924815864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555634471,"filename":"image_25112025_21_35_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/1/92e1e290baaf9223a3ffde84295ec2a2.jpg","text":"TemporaryFile(/tmp/multipartBody1750319625508817719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555634471,"filename":"image_25112025_21_35_51_2303.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/78df5595f362ba9ee802f8a06f337666.jpg","text":"TemporaryFile(/tmp/multipartBody26073770552098334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555634471,"filename":"image_25112025_21_35_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/1/b323ccab8e2df9c36864a86436823c23.jpg","text":"TemporaryFile(/tmp/multipartBody2557726962149738612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555634471,"filename":"image_25112025_21_35_49_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e61dd62513cecb344026eb80f751f226.jpg","text":"TemporaryFile(/tmp/multipartBody1933305148992237530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555634471,"filename":"image_25112025_21_35_40_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/1/294c8d38397a77ca107c01e3227e186b.jpg","text":"TemporaryFile(/tmp/multipartBody723472234007251568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555634471,"filename":"image_25112025_21_35_45_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153339","file1":"1397153338","file0":"1397153336","file4":"1397153341","file5":"1397153342","file3":"1397153340"},"map_files_photo_id_array":[{"photo_id":"1397153342","filename":"file5"},{"photo_id":"1397153339","filename":"file2"},{"photo_id":"1397153341","filename":"file4"},{"photo_id":"1397153338","filename":"file1"},{"photo_id":"1397153336","filename":"file0"},{"photo_id":"1397153340","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397153339":["hashtag1","hashtag2"]},{"1397153342":["hashtag1","hashtag2"]},{"1397153336":["hashtag1","hashtag2"]},{"1397153341":["hashtag1","hashtag2"]},{"1397153338":["hashtag1","hashtag2"]},{"1397153340":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397153339, 1397153342, 1397153336, 1397153341, 1397153338, 1397153340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.535395860672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 03:20:12.240443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_55_3603.jpg', '/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_57_2493.jpg', '/home/pi/Desktop/images/25112025/21/35/image_25112025_21_36_01_3502.jpg', '/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_03_2550.jpg', '/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_06_2802.jpg', '/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_10_3664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_55_3603.jpg
/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_57_2493.jpg
/home/pi/Desktop/images/25112025/21/35/image_25112025_21_36_01_3502.jpg
/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_03_2550.jpg
/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_06_2802.jpg
/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_10_3664.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.524435043334961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 03:20:22.360176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/16/image_01122025_03_16_54_9660.jpg', '/home/pi/Desktop/images/01122025/03/17/image_01122025_03_17_14_9590.jpg', '/home/pi/Desktop/images/01122025/03/17/image_01122025_03_17_24_10718.jpg', '/home/pi/Desktop/images/01122025/03/17/image_01122025_03_17_54_10655.jpg', '/home/pi/Desktop/images/01122025/03/17/image_01122025_03_18_04_9772.jpg', '/home/pi/Desktop/images/01122025/03/18/image_01122025_03_18_14_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/16/image_01122025_03_16_54_9660.jpg
/home/pi/Desktop/images/01122025/03/17/image_01122025_03_17_14_9590.jpg
/home/pi/Desktop/images/01122025/03/17/image_01122025_03_17_24_10718.jpg
/home/pi/Desktop/images/01122025/03/17/image_01122025_03_17_54_10655.jpg
/home/pi/Desktop/images/01122025/03/17/image_01122025_03_18_04_9772.jpg
/home/pi/Desktop/images/01122025/03/18/image_01122025_03_18_14_9693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153351","1397153354","1397153348","1397153353","1397153356","1397153355"],"photo_ids_order":["1397153348","1397153351","1397153353","1397153354","1397153355","1397153356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d45ae1149ff7d480e3a6f42dafa8e468.jpg","text":"TemporaryFile(/tmp/multipartBody6054499453952339331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555683100,"filename":"image_01122025_03_17_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/1/cf8f27c6a2a0edf73a489b4ae3f4fcce.jpg","text":"TemporaryFile(/tmp/multipartBody2362541476232412056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555683100,"filename":"image_01122025_03_17_54_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a32b700dce26627f45c40b0b4d106d21.jpg","text":"TemporaryFile(/tmp/multipartBody8306180620578447781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555683100,"filename":"image_01122025_03_16_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/1/3e15d698eec2f016dea35a5094b6a2f0.jpg","text":"TemporaryFile(/tmp/multipartBody5503167487124799481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555683100,"filename":"image_01122025_03_17_24_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3a33728061a9018f136113313a160542.jpg","text":"TemporaryFile(/tmp/multipartBody4227036700970102147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555683100,"filename":"image_01122025_03_18_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/1/f72ee5cf6dc6eec0701d6d172087d76e.jpg","text":"TemporaryFile(/tmp/multipartBody9200006468343601160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555683100,"filename":"image_01122025_03_18_04_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153353","file1":"1397153351","file0":"1397153348","file4":"1397153355","file5":"1397153356","file3":"1397153354"},"map_files_photo_id_array":[{"photo_id":"1397153356","filename":"file5"},{"photo_id":"1397153353","filename":"file2"},{"photo_id":"1397153355","filename":"file4"},{"photo_id":"1397153351","filename":"file1"},{"photo_id":"1397153348","filename":"file0"},{"photo_id":"1397153354","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153351":["hashtag1","hashtag2"]},{"1397153354":["hashtag1","hashtag2"]},{"1397153348":["hashtag1","hashtag2"]},{"1397153353":["hashtag1","hashtag2"]},{"1397153356":["hashtag1","hashtag2"]},{"1397153355":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153351, 1397153354, 1397153348, 1397153353, 1397153356, 1397153355)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.691617488861084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 03:21:12.414050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_55_3603.jpg', '/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_57_2493.jpg', '/home/pi/Desktop/images/25112025/21/35/image_25112025_21_36_01_3502.jpg', '/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_03_2550.jpg', '/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_06_2802.jpg', '/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_10_3664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_55_3603.jpg
/home/pi/Desktop/images/25112025/21/35/image_25112025_21_35_57_2493.jpg
/home/pi/Desktop/images/25112025/21/35/image_25112025_21_36_01_3502.jpg
/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_03_2550.jpg
/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_06_2802.jpg
/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_10_3664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153386","1397153389","1397153383","1397153379","1397153381","1397153378"],"photo_ids_order":["1397153378","1397153379","1397153381","1397153383","1397153386","1397153389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cdf3551f75b486ebd0687054b12f9bfa.jpg","text":"TemporaryFile(/tmp/multipartBody8230154059466323877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555734144,"filename":"image_25112025_21_36_06_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/74c4926609a713ddc0a59aa43e0c88c1.jpg","text":"TemporaryFile(/tmp/multipartBody8123661008904730196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555734144,"filename":"image_25112025_21_36_10_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/1/40d75dd33a4a6e0a64d5a8c0d6574064.jpg","text":"TemporaryFile(/tmp/multipartBody8277157432184664449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555734144,"filename":"image_25112025_21_36_03_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/1/6505cb5b15eb04667db1fa8b413ee277.jpg","text":"TemporaryFile(/tmp/multipartBody5774463007709883590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555734144,"filename":"image_25112025_21_35_57_2493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6f5d2f93517cd5617036e96622898e00.jpg","text":"TemporaryFile(/tmp/multipartBody5435677894622490154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555734144,"filename":"image_25112025_21_36_01_3502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/68c256ce2cfd13994a7cba720f529a13.jpg","text":"TemporaryFile(/tmp/multipartBody8062194658017241897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555734144,"filename":"image_25112025_21_35_55_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153381","file1":"1397153379","file0":"1397153378","file4":"1397153386","file5":"1397153389","file3":"1397153383"},"map_files_photo_id_array":[{"photo_id":"1397153389","filename":"file5"},{"photo_id":"1397153381","filename":"file2"},{"photo_id":"1397153386","filename":"file4"},{"photo_id":"1397153379","filename":"file1"},{"photo_id":"1397153378","filename":"file0"},{"photo_id":"1397153383","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397153386":["hashtag1","hashtag2"]},{"1397153389":["hashtag1","hashtag2"]},{"1397153383":["hashtag1","hashtag2"]},{"1397153379":["hashtag1","hashtag2"]},{"1397153381":["hashtag1","hashtag2"]},{"1397153378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397153386, 1397153389, 1397153383, 1397153379, 1397153381, 1397153378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.63362526893616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:22:07.023317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 03:22:14.243502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_12_2606.jpg', '/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_15_2676.jpg', '/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_19_3674.jpg', '/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_21_2626.jpg', '/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_24_2880.jpg', '/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_28_3672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_12_2606.jpg
/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_15_2676.jpg
/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_19_3674.jpg
/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_21_2626.jpg
/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_24_2880.jpg
/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_28_3672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153402","1397153405","1397153395","1397153404","1397153397","1397153400"],"photo_ids_order":["1397153395","1397153397","1397153400","1397153402","1397153404","1397153405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/833a4cf314e085c549d23bad9847e8cd.jpg","text":"TemporaryFile(/tmp/multipartBody7175196241020056112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555796948,"filename":"image_25112025_21_36_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/1/1443317276fb3d86698e171ae5490895.jpg","text":"TemporaryFile(/tmp/multipartBody8509727380037077672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555796948,"filename":"image_25112025_21_36_28_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/1/5a261e2218b61b95238f5166bf6f0109.jpg","text":"TemporaryFile(/tmp/multipartBody7688363098887573549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555796948,"filename":"image_25112025_21_36_12_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f53e88862a30037136df95d1a000ceae.jpg","text":"TemporaryFile(/tmp/multipartBody7031748398343916032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555796948,"filename":"image_25112025_21_36_24_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/1/81845955ef4009c644bd04f097bd4814.jpg","text":"TemporaryFile(/tmp/multipartBody6557188155185894921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555796948,"filename":"image_25112025_21_36_15_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/1/6f8b962bb5c02fd98ce9967c33874906.jpg","text":"TemporaryFile(/tmp/multipartBody3922600907615186496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555796948,"filename":"image_25112025_21_36_19_3674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153400","file1":"1397153397","file0":"1397153395","file4":"1397153404","file5":"1397153405","file3":"1397153402"},"map_files_photo_id_array":[{"photo_id":"1397153405","filename":"file5"},{"photo_id":"1397153400","filename":"file2"},{"photo_id":"1397153404","filename":"file4"},{"photo_id":"1397153397","filename":"file1"},{"photo_id":"1397153395","filename":"file0"},{"photo_id":"1397153402","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397153402":["hashtag1","hashtag2"]},{"1397153405":["hashtag1","hashtag2"]},{"1397153395":["hashtag1","hashtag2"]},{"1397153404":["hashtag1","hashtag2"]},{"1397153397":["hashtag1","hashtag2"]},{"1397153400":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397153402, 1397153405, 1397153395, 1397153404, 1397153397, 1397153400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70429849624634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:23:02.846038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 03:23:12.300468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 03:23:22.344921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/18/image_01122025_03_18_23_9725.jpg', '/home/pi/Desktop/images/01122025/03/18/image_01122025_03_18_34_10660.jpg', '/home/pi/Desktop/images/01122025/03/18/image_01122025_03_18_44_9800.jpg', '/home/pi/Desktop/images/01122025/03/18/image_01122025_03_18_53_9542.jpg', '/home/pi/Desktop/images/01122025/03/19/image_01122025_03_19_14_9761.jpg', '/home/pi/Desktop/images/01122025/03/19/image_01122025_03_19_24_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/18/image_01122025_03_18_23_9725.jpg
/home/pi/Desktop/images/01122025/03/18/image_01122025_03_18_34_10660.jpg
/home/pi/Desktop/images/01122025/03/18/image_01122025_03_18_44_9800.jpg
/home/pi/Desktop/images/01122025/03/18/image_01122025_03_18_53_9542.jpg
/home/pi/Desktop/images/01122025/03/19/image_01122025_03_19_14_9761.jpg
/home/pi/Desktop/images/01122025/03/19/image_01122025_03_19_24_9732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153414","1397153408","1397153416","1397153410","1397153415","1397153412"],"photo_ids_order":["1397153408","1397153410","1397153412","1397153414","1397153415","1397153416"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2c98e3212397c5613815dea439664257.jpg","text":"TemporaryFile(/tmp/multipartBody1193649364538226498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555863046,"filename":"image_01122025_03_18_53_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/1/04b1a526342401433896d02b0f1c7589.jpg","text":"TemporaryFile(/tmp/multipartBody7095006060597927669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555863046,"filename":"image_01122025_03_18_23_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/00c4281e6495dc3e777a8b43a89db3a9.jpg","text":"TemporaryFile(/tmp/multipartBody8729257318348352695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555863046,"filename":"image_01122025_03_19_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/1/58d088987dc29f35e81e4e224d0d265c.jpg","text":"TemporaryFile(/tmp/multipartBody7331889211506306045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555863046,"filename":"image_01122025_03_18_34_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/1/e40ae99fe18f0463930065360ff9e93d.jpg","text":"TemporaryFile(/tmp/multipartBody3520627549132094251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555863046,"filename":"image_01122025_03_19_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/1/6913119fec5ecb6f1687eabf482cb1cc.jpg","text":"TemporaryFile(/tmp/multipartBody7174888113948624550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555863046,"filename":"image_01122025_03_18_44_9800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153412","file1":"1397153410","file0":"1397153408","file4":"1397153415","file5":"1397153416","file3":"1397153414"},"map_files_photo_id_array":[{"photo_id":"1397153416","filename":"file5"},{"photo_id":"1397153412","filename":"file2"},{"photo_id":"1397153415","filename":"file4"},{"photo_id":"1397153410","filename":"file1"},{"photo_id":"1397153408","filename":"file0"},{"photo_id":"1397153414","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153414":["hashtag1","hashtag2"]},{"1397153408":["hashtag1","hashtag2"]},{"1397153416":["hashtag1","hashtag2"]},{"1397153410":["hashtag1","hashtag2"]},{"1397153415":["hashtag1","hashtag2"]},{"1397153412":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153414, 1397153408, 1397153416, 1397153410, 1397153415, 1397153412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55842041969299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:24:02.738010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/19/image_01122025_03_19_34_9884.jpg', '/home/pi/Desktop/images/01122025/03/19/image_01122025_03_19_43_9765.jpg', '/home/pi/Desktop/images/01122025/03/20/image_01122025_03_20_16_11792.jpg', '/home/pi/Desktop/images/01122025/03/20/image_01122025_03_20_23_7813.jpg', '/home/pi/Desktop/images/01122025/03/20/image_01122025_03_20_34_10709.jpg', '/home/pi/Desktop/images/01122025/03/20/image_01122025_03_20_54_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/19/image_01122025_03_19_34_9884.jpg
/home/pi/Desktop/images/01122025/03/19/image_01122025_03_19_43_9765.jpg
/home/pi/Desktop/images/01122025/03/20/image_01122025_03_20_16_11792.jpg
/home/pi/Desktop/images/01122025/03/20/image_01122025_03_20_23_7813.jpg
/home/pi/Desktop/images/01122025/03/20/image_01122025_03_20_34_10709.jpg
/home/pi/Desktop/images/01122025/03/20/image_01122025_03_20_54_9807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153438","1397153435","1397153440","1397153434","1397153442","1397153436"],"photo_ids_order":["1397153434","1397153435","1397153436","1397153438","1397153440","1397153442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e79977009ae34c1fa38bc9e14cf19c49.jpg","text":"TemporaryFile(/tmp/multipartBody1766734074347424478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555906119,"filename":"image_01122025_03_20_23_7813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2bf39630d200da67567952b03da76571.jpg","text":"TemporaryFile(/tmp/multipartBody4221390012314067381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555906119,"filename":"image_01122025_03_19_43_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/1/8f035291fd8d653b3b4cd0e772fa0814.jpg","text":"TemporaryFile(/tmp/multipartBody2561240824154270265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555906119,"filename":"image_01122025_03_20_34_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/47b7d10aebde31b3d4dd6934d0dc8403.jpg","text":"TemporaryFile(/tmp/multipartBody1556783939549773370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555906119,"filename":"image_01122025_03_19_34_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/1/3f3502f191349d5ab4212b642cf5db8d.jpg","text":"TemporaryFile(/tmp/multipartBody6019529069269290798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555906119,"filename":"image_01122025_03_20_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/1/0a6b93927712902a82bb4ef244dd3d0f.jpg","text":"TemporaryFile(/tmp/multipartBody9214517548991575563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555906119,"filename":"image_01122025_03_20_16_11792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153436","file1":"1397153435","file0":"1397153434","file4":"1397153440","file5":"1397153442","file3":"1397153438"},"map_files_photo_id_array":[{"photo_id":"1397153442","filename":"file5"},{"photo_id":"1397153436","filename":"file2"},{"photo_id":"1397153440","filename":"file4"},{"photo_id":"1397153435","filename":"file1"},{"photo_id":"1397153434","filename":"file0"},{"photo_id":"1397153438","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153438":["hashtag1","hashtag2"]},{"1397153435":["hashtag1","hashtag2"]},{"1397153440":["hashtag1","hashtag2"]},{"1397153434":["hashtag1","hashtag2"]},{"1397153442":["hashtag1","hashtag2"]},{"1397153436":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153438, 1397153435, 1397153440, 1397153434, 1397153442, 1397153436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51305055618286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 03:24:42.179659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_22_2697.jpg', '/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_25_3650.jpg', '/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_28_2699.jpg', '/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_34_3622.jpg', '/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_37_2570.jpg', '/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_41_3669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_22_2697.jpg
/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_25_3650.jpg
/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_28_2699.jpg
/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_34_3622.jpg
/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_37_2570.jpg
/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_41_3669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153444","1397153447","1397153443","1397153446","1397153445","1397153448"],"photo_ids_order":["1397153443","1397153444","1397153445","1397153446","1397153447","1397153448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9f4c86c88a66060e08b32b5d11aa00c9.jpg","text":"TemporaryFile(/tmp/multipartBody3581167761053486345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555943010,"filename":"image_01112025_00_22_25_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ffa9294933d66e5be04bc14f720a463c.jpg","text":"TemporaryFile(/tmp/multipartBody8920255153767845129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555943010,"filename":"image_01112025_00_22_37_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/1/2c91134fed3d0278037edd396ff5ce6c.jpg","text":"TemporaryFile(/tmp/multipartBody6048431872147886888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555943010,"filename":"image_01112025_00_22_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/1/3977d6c71a0c2a76f28781efd660039b.jpg","text":"TemporaryFile(/tmp/multipartBody1270326098847180363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555943010,"filename":"image_01112025_00_22_34_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/1/3709b0a6aeaba6876aa4586115201c34.jpg","text":"TemporaryFile(/tmp/multipartBody1593406558993386432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555943010,"filename":"image_01112025_00_22_28_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d90bbe1ca05070d974081659a846983f.jpg","text":"TemporaryFile(/tmp/multipartBody2610196998250634942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555943010,"filename":"image_01112025_00_22_41_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153445","file1":"1397153444","file0":"1397153443","file4":"1397153447","file5":"1397153448","file3":"1397153446"},"map_files_photo_id_array":[{"photo_id":"1397153448","filename":"file5"},{"photo_id":"1397153445","filename":"file2"},{"photo_id":"1397153447","filename":"file4"},{"photo_id":"1397153444","filename":"file1"},{"photo_id":"1397153443","filename":"file0"},{"photo_id":"1397153446","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397153444":["hashtag1","hashtag2"]},{"1397153447":["hashtag1","hashtag2"]},{"1397153443":["hashtag1","hashtag2"]},{"1397153446":["hashtag1","hashtag2"]},{"1397153445":["hashtag1","hashtag2"]},{"1397153448":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397153444, 1397153447, 1397153443, 1397153446, 1397153445, 1397153448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.508477449417114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 03:25:22.281432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/20/image_01122025_03_21_04_10677.jpg', '/home/pi/Desktop/images/01122025/03/21/image_01122025_03_21_24_9702.jpg', '/home/pi/Desktop/images/01122025/03/21/image_01122025_03_21_44_9587.jpg', '/home/pi/Desktop/images/01122025/03/21/image_01122025_03_21_54_9650.jpg', '/home/pi/Desktop/images/01122025/03/21/image_01122025_03_22_04_10181.jpg', '/home/pi/Desktop/images/01122025/03/22/image_01122025_03_22_14_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/20/image_01122025_03_21_04_10677.jpg
/home/pi/Desktop/images/01122025/03/21/image_01122025_03_21_24_9702.jpg
/home/pi/Desktop/images/01122025/03/21/image_01122025_03_21_44_9587.jpg
/home/pi/Desktop/images/01122025/03/21/image_01122025_03_21_54_9650.jpg
/home/pi/Desktop/images/01122025/03/21/image_01122025_03_22_04_10181.jpg
/home/pi/Desktop/images/01122025/03/22/image_01122025_03_22_14_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":["1397153459","1397153453","1397153455","1397153451","1397153460","1397153457"],"photo_ids_order":["1397153451","1397153453","1397153455","1397153457","1397153459","1397153460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2c5132299140df0560dbc2147f66fbdd.jpg","text":"TemporaryFile(/tmp/multipartBody8174770578394820518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555982977,"filename":"image_01122025_03_22_04_10181.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f8e8aa7dcc9137643ace697619bf4acd.jpg","text":"TemporaryFile(/tmp/multipartBody6902930233040999077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555982977,"filename":"image_01122025_03_21_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/1/72479a61aced47cd76cd35e2a2928a79.jpg","text":"TemporaryFile(/tmp/multipartBody4832826613299485035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555982977,"filename":"image_01122025_03_21_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/1/a8ebdbb5ac36c62032b059cddfb89fde.jpg","text":"TemporaryFile(/tmp/multipartBody2062645206635824396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555982977,"filename":"image_01122025_03_21_04_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a869e28a38d2332db4c3e9218ccb712a.jpg","text":"TemporaryFile(/tmp/multipartBody1663859090893414843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555982977,"filename":"image_01122025_03_22_14_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/41d1fa6f3da85ca96a657678ae27d771.jpg","text":"TemporaryFile(/tmp/multipartBody151981541349375090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764555982977,"filename":"image_01122025_03_21_54_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153455","file1":"1397153453","file0":"1397153451","file4":"1397153459","file5":"1397153460","file3":"1397153457"},"map_files_photo_id_array":[{"photo_id":"1397153460","filename":"file5"},{"photo_id":"1397153455","filename":"file2"},{"photo_id":"1397153459","filename":"file4"},{"photo_id":"1397153453","filename":"file1"},{"photo_id":"1397153451","filename":"file0"},{"photo_id":"1397153457","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153459":["hashtag1","hashtag2"]},{"1397153453":["hashtag1","hashtag2"]},{"1397153455":["hashtag1","hashtag2"]},{"1397153451":["hashtag1","hashtag2"]},{"1397153460":["hashtag1","hashtag2"]},{"1397153457":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153459, 1397153453, 1397153455, 1397153451, 1397153460, 1397153457)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.36963438987732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 03:26:12.609999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_30_2495.jpg', '/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_33_2589.jpg', '/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_37_3811.jpg', '/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_39_2611.jpg', '/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_42_2649.jpg', '/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_45_3515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_30_2495.jpg
/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_33_2589.jpg
/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_37_3811.jpg
/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_39_2611.jpg
/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_42_2649.jpg
/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_45_3515.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153465","1397153470","1397153467","1397153461","1397153463","1397153469"],"photo_ids_order":["1397153461","1397153463","1397153465","1397153467","1397153469","1397153470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9fcd4eecb3f5557d34bca9d63ac1e420.jpg","text":"TemporaryFile(/tmp/multipartBody75925493799113748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556034055,"filename":"image_25112025_21_36_37_3811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2137ea135e4f03d2a9e1ee873ad8294d.jpg","text":"TemporaryFile(/tmp/multipartBody1209551689906985871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556034055,"filename":"image_25112025_21_36_45_3515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/37f0b2514b3137ea359f7f92be9657e3.jpg","text":"TemporaryFile(/tmp/multipartBody1357265101801724886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556034055,"filename":"image_25112025_21_36_39_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/84ec1ed759d871454af60f9fadad96e4.jpg","text":"TemporaryFile(/tmp/multipartBody4454839436426217135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556034055,"filename":"image_25112025_21_36_30_2495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/56227f68563c9247ea350eb6c1d5303c.jpg","text":"TemporaryFile(/tmp/multipartBody6602128730824937908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556034055,"filename":"image_25112025_21_36_33_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a3e0c521a066574bae53baf5b1df38eb.jpg","text":"TemporaryFile(/tmp/multipartBody1304774829217610708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556034055,"filename":"image_25112025_21_36_42_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153465","file1":"1397153463","file0":"1397153461","file4":"1397153469","file5":"1397153470","file3":"1397153467"},"map_files_photo_id_array":[{"photo_id":"1397153470","filename":"file5"},{"photo_id":"1397153465","filename":"file2"},{"photo_id":"1397153469","filename":"file4"},{"photo_id":"1397153463","filename":"file1"},{"photo_id":"1397153461","filename":"file0"},{"photo_id":"1397153467","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397153465":["hashtag1","hashtag2"]},{"1397153470":["hashtag1","hashtag2"]},{"1397153467":["hashtag1","hashtag2"]},{"1397153461":["hashtag1","hashtag2"]},{"1397153463":["hashtag1","hashtag2"]},{"1397153469":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397153465, 1397153470, 1397153467, 1397153461, 1397153463, 1397153469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01306915283203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:27:03.377236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/22/image_01122025_03_22_24_10718.jpg', '/home/pi/Desktop/images/01122025/03/22/image_01122025_03_22_54_9902.jpg', '/home/pi/Desktop/images/01122025/03/22/image_01122025_03_23_03_9717.jpg', '/home/pi/Desktop/images/01122025/03/23/image_01122025_03_23_14_10553.jpg', '/home/pi/Desktop/images/01122025/03/23/image_01122025_03_23_24_9659.jpg', '/home/pi/Desktop/images/01122025/03/23/image_01122025_03_23_33_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/22/image_01122025_03_22_24_10718.jpg
/home/pi/Desktop/images/01122025/03/22/image_01122025_03_22_54_9902.jpg
/home/pi/Desktop/images/01122025/03/22/image_01122025_03_23_03_9717.jpg
/home/pi/Desktop/images/01122025/03/23/image_01122025_03_23_14_10553.jpg
/home/pi/Desktop/images/01122025/03/23/image_01122025_03_23_24_9659.jpg
/home/pi/Desktop/images/01122025/03/23/image_01122025_03_23_33_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":["1397153510","1397153504","1397153503","1397153506","1397153508","1397153502"],"photo_ids_order":["1397153502","1397153503","1397153504","1397153506","1397153508","1397153510"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9bc86bc7d60f4082a59856f1e12916b9.jpg","text":"TemporaryFile(/tmp/multipartBody592420317107959366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556084194,"filename":"image_01122025_03_23_33_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/1/59d5d5f86b89d28fd0dca10e7652f44e.jpg","text":"TemporaryFile(/tmp/multipartBody3006447122698954580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556084194,"filename":"image_01122025_03_23_03_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/1/0131384ddee436d1aa3341fb9d8efe49.jpg","text":"TemporaryFile(/tmp/multipartBody1310126542376119662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556084194,"filename":"image_01122025_03_22_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/1/617a0a829254b60755f2c3ff7fbd9044.jpg","text":"TemporaryFile(/tmp/multipartBody5525969316824424507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556084194,"filename":"image_01122025_03_23_14_10553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1c42fada9e416b3c54741d3e367b103b.jpg","text":"TemporaryFile(/tmp/multipartBody87142190448698360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556084194,"filename":"image_01122025_03_23_24_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/97ff1d82af814fb8ab39973dd66d9ea6.jpg","text":"TemporaryFile(/tmp/multipartBody2802624624113988897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556084194,"filename":"image_01122025_03_22_24_10718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153504","file1":"1397153503","file0":"1397153502","file4":"1397153508","file5":"1397153510","file3":"1397153506"},"map_files_photo_id_array":[{"photo_id":"1397153510","filename":"file5"},{"photo_id":"1397153504","filename":"file2"},{"photo_id":"1397153508","filename":"file4"},{"photo_id":"1397153503","filename":"file1"},{"photo_id":"1397153502","filename":"file0"},{"photo_id":"1397153506","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153510":["hashtag1","hashtag2"]},{"1397153504":["hashtag1","hashtag2"]},{"1397153503":["hashtag1","hashtag2"]},{"1397153506":["hashtag1","hashtag2"]},{"1397153508":["hashtag1","hashtag2"]},{"1397153502":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153510, 1397153504, 1397153503, 1397153506, 1397153508, 1397153502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09197425842285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 03:27:42.985435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_43_2641.jpg', '/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_46_2563.jpg', '/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_50_3755.jpg', '/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_52_2585.jpg', '/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_55_2779.jpg', '/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_59_3647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_43_2641.jpg
/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_46_2563.jpg
/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_50_3755.jpg
/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_52_2585.jpg
/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_55_2779.jpg
/home/pi/Desktop/images/01112025/00/22/image_01112025_00_22_59_3647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153513","1397153516","1397153515","1397153518","1397153514","1397153517"],"photo_ids_order":["1397153513","1397153514","1397153515","1397153516","1397153517","1397153518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5e4d405c73865ef972652b9a7155c7e3.jpg","text":"TemporaryFile(/tmp/multipartBody2450140877911202292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556123821,"filename":"image_01112025_00_22_43_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/008f9561e646ec14acd319811282fad1.jpg","text":"TemporaryFile(/tmp/multipartBody6416575511356323027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556123821,"filename":"image_01112025_00_22_52_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/1/c7d301edd0ef2aec1149f13df13ed208.jpg","text":"TemporaryFile(/tmp/multipartBody201552023326145101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556123821,"filename":"image_01112025_00_22_50_3755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8790a47141553f7d16d0f8d158e7e031.jpg","text":"TemporaryFile(/tmp/multipartBody5535243106873754188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556123821,"filename":"image_01112025_00_22_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/1/4697d6480494bd9527ebcb5c1e0aee3d.jpg","text":"TemporaryFile(/tmp/multipartBody7973508226846665173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556123821,"filename":"image_01112025_00_22_46_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/1/bbd8c940d9543960418d40d91590adc8.jpg","text":"TemporaryFile(/tmp/multipartBody2462468369944815546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556123821,"filename":"image_01112025_00_22_55_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153515","file1":"1397153514","file0":"1397153513","file4":"1397153517","file5":"1397153518","file3":"1397153516"},"map_files_photo_id_array":[{"photo_id":"1397153518","filename":"file5"},{"photo_id":"1397153515","filename":"file2"},{"photo_id":"1397153517","filename":"file4"},{"photo_id":"1397153514","filename":"file1"},{"photo_id":"1397153513","filename":"file0"},{"photo_id":"1397153516","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397153513":["hashtag1","hashtag2"]},{"1397153516":["hashtag1","hashtag2"]},{"1397153515":["hashtag1","hashtag2"]},{"1397153518":["hashtag1","hashtag2"]},{"1397153514":["hashtag1","hashtag2"]},{"1397153517":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397153513, 1397153516, 1397153515, 1397153518, 1397153514, 1397153517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.523285150527954 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-01 03:28:32.168949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_48_2608.jpg', '/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_52_3578.jpg', '/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_54_2771.jpg', '/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_57_2561.jpg', '/home/pi/Desktop/images/25112025/21/36/image_25112025_21_37_01_3631.jpg', '/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_03_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_48_2608.jpg
/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_52_3578.jpg
/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_54_2771.jpg
/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_57_2561.jpg
/home/pi/Desktop/images/25112025/21/36/image_25112025_21_37_01_3631.jpg
/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_03_2605.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.6148169040679932 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 03:28:42.170024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/23/image_01112025_00_23_01_2805.jpg', '/home/pi/Desktop/images/01112025/00/23/image_01112025_00_23_07_2650.jpg', '/home/pi/Desktop/images/01112025/00/23/image_01112025_00_23_10_3578.jpg', '/home/pi/Desktop/images/01112025/00/23/image_01112025_00_23_13_2792.jpg', '/home/pi/Desktop/images/01112025/00/23/image_01112025_00_23_16_2558.jpg', '/home/pi/Desktop/images/01112025/00/23/image_01112025_00_23_19_3644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/23/image_01112025_00_23_01_2805.jpg
/home/pi/Desktop/images/01112025/00/23/image_01112025_00_23_07_2650.jpg
/home/pi/Desktop/images/01112025/00/23/image_01112025_00_23_10_3578.jpg
/home/pi/Desktop/images/01112025/00/23/image_01112025_00_23_13_2792.jpg
/home/pi/Desktop/images/01112025/00/23/image_01112025_00_23_16_2558.jpg
/home/pi/Desktop/images/01112025/00/23/image_01112025_00_23_19_3644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153534","1397153528","1397153533","1397153530","1397153532","1397153535"],"photo_ids_order":["1397153528","1397153530","1397153532","1397153533","1397153534","1397153535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/734db97a5da1666f4717fc891799018b.jpg","text":"TemporaryFile(/tmp/multipartBody1627837240237813373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556183041,"filename":"image_01112025_00_23_16_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9a5c42c4126d85056f40cf9850c9f271.jpg","text":"TemporaryFile(/tmp/multipartBody4722797340665728221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556183041,"filename":"image_01112025_00_23_01_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cabba38d9a192c06b76afb5f13a5ef11.jpg","text":"TemporaryFile(/tmp/multipartBody3715141226836157018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556183041,"filename":"image_01112025_00_23_13_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/1/bae6e174acf291b634fe5fd32b9330f3.jpg","text":"TemporaryFile(/tmp/multipartBody8774250465466752976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556183041,"filename":"image_01112025_00_23_07_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/1/dfb947b9623b1ce028ed02d5a4def378.jpg","text":"TemporaryFile(/tmp/multipartBody8562624504409744313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556183041,"filename":"image_01112025_00_23_10_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/81380eaa3f3fe0ec0cff17788111b3bb.jpg","text":"TemporaryFile(/tmp/multipartBody7501383594162676942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556183041,"filename":"image_01112025_00_23_19_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153532","file1":"1397153530","file0":"1397153528","file4":"1397153534","file5":"1397153535","file3":"1397153533"},"map_files_photo_id_array":[{"photo_id":"1397153535","filename":"file5"},{"photo_id":"1397153532","filename":"file2"},{"photo_id":"1397153534","filename":"file4"},{"photo_id":"1397153530","filename":"file1"},{"photo_id":"1397153528","filename":"file0"},{"photo_id":"1397153533","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397153534":["hashtag1","hashtag2"]},{"1397153528":["hashtag1","hashtag2"]},{"1397153533":["hashtag1","hashtag2"]},{"1397153530":["hashtag1","hashtag2"]},{"1397153532":["hashtag1","hashtag2"]},{"1397153535":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397153534, 1397153528, 1397153533, 1397153530, 1397153532, 1397153535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36429691314697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 03:29:22.415254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/23/image_01122025_03_23_44_10690.jpg', '/home/pi/Desktop/images/01122025/03/23/image_01122025_03_23_54_10049.jpg', '/home/pi/Desktop/images/01122025/03/23/image_01122025_03_24_04_9540.jpg', '/home/pi/Desktop/images/01122025/03/24/image_01122025_03_24_14_10303.jpg', '/home/pi/Desktop/images/01122025/03/24/image_01122025_03_24_24_9654.jpg', '/home/pi/Desktop/images/01122025/03/24/image_01122025_03_24_34_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/23/image_01122025_03_23_44_10690.jpg
/home/pi/Desktop/images/01122025/03/23/image_01122025_03_23_54_10049.jpg
/home/pi/Desktop/images/01122025/03/23/image_01122025_03_24_04_9540.jpg
/home/pi/Desktop/images/01122025/03/24/image_01122025_03_24_14_10303.jpg
/home/pi/Desktop/images/01122025/03/24/image_01122025_03_24_24_9654.jpg
/home/pi/Desktop/images/01122025/03/24/image_01122025_03_24_34_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":["1397153546","1397153548","1397153542","1397153539","1397153544","1397153549"],"photo_ids_order":["1397153539","1397153542","1397153544","1397153546","1397153548","1397153549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6c8ea35609f71164c6f58a3417925ef8.jpg","text":"TemporaryFile(/tmp/multipartBody405879288520017240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556223151,"filename":"image_01122025_03_24_14_10303.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dd15d27108c6f33d3eb37a318bf964a3.jpg","text":"TemporaryFile(/tmp/multipartBody1651681880593326751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556223151,"filename":"image_01122025_03_24_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/1/083210649295f1e07b17f8ad33a1b713.jpg","text":"TemporaryFile(/tmp/multipartBody8525025067107760650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556223151,"filename":"image_01122025_03_23_54_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/1/49a5867cbfb1a2a8205789d3639892da.jpg","text":"TemporaryFile(/tmp/multipartBody919121982186059332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556223151,"filename":"image_01122025_03_23_44_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/65faff1d162e73bd116f9520175c92e7.jpg","text":"TemporaryFile(/tmp/multipartBody2571662872647197868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556223151,"filename":"image_01122025_03_24_04_9540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fb30708b75547759e0129820224aaf23.jpg","text":"TemporaryFile(/tmp/multipartBody5613262909888390257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556223151,"filename":"image_01122025_03_24_34_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153544","file1":"1397153542","file0":"1397153539","file4":"1397153548","file5":"1397153549","file3":"1397153546"},"map_files_photo_id_array":[{"photo_id":"1397153549","filename":"file5"},{"photo_id":"1397153544","filename":"file2"},{"photo_id":"1397153548","filename":"file4"},{"photo_id":"1397153542","filename":"file1"},{"photo_id":"1397153539","filename":"file0"},{"photo_id":"1397153546","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153546":["hashtag1","hashtag2"]},{"1397153548":["hashtag1","hashtag2"]},{"1397153542":["hashtag1","hashtag2"]},{"1397153539":["hashtag1","hashtag2"]},{"1397153544":["hashtag1","hashtag2"]},{"1397153549":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153546, 1397153548, 1397153542, 1397153539, 1397153544, 1397153549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34214901924133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:30:03.169112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/24/image_01122025_03_24_54_9816.jpg', '/home/pi/Desktop/images/01122025/03/24/image_01122025_03_25_04_9838.jpg', '/home/pi/Desktop/images/01122025/03/25/image_01122025_03_25_23_9142.jpg', '/home/pi/Desktop/images/01122025/03/25/image_01122025_03_25_34_10682.jpg', '/home/pi/Desktop/images/01122025/03/25/image_01122025_03_25_44_9732.jpg', '/home/pi/Desktop/images/01122025/03/25/image_01122025_03_26_04_10779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/24/image_01122025_03_24_54_9816.jpg
/home/pi/Desktop/images/01122025/03/24/image_01122025_03_25_04_9838.jpg
/home/pi/Desktop/images/01122025/03/25/image_01122025_03_25_23_9142.jpg
/home/pi/Desktop/images/01122025/03/25/image_01122025_03_25_34_10682.jpg
/home/pi/Desktop/images/01122025/03/25/image_01122025_03_25_44_9732.jpg
/home/pi/Desktop/images/01122025/03/25/image_01122025_03_26_04_10779.jpg
 val : 1 : upload photos 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":["1397153579","1397153578","1397153581","1397153580","1397153577","1397153582"],"photo_ids_order":["1397153577","1397153578","1397153579","1397153580","1397153581","1397153582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/31654b7bd43a09818edab87d62fe989c.jpg","text":"TemporaryFile(/tmp/multipartBody4178615863785979094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556290105,"filename":"image_01122025_03_25_23_9142.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b5c4d72b9c39d3f63c583ad3a68f19c8.jpg","text":"TemporaryFile(/tmp/multipartBody1545294738233785676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556290105,"filename":"image_01122025_03_25_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/1/2e25f95f56f5d4ef44e0ad6b4c8aa321.jpg","text":"TemporaryFile(/tmp/multipartBody8873059703997116656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556290105,"filename":"image_01122025_03_25_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/1/2f59ed6737567f0ffcc3fa55f4fa4d0c.jpg","text":"TemporaryFile(/tmp/multipartBody6066577129195116913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556290105,"filename":"image_01122025_03_25_34_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d307a8ab4b020a7f7266ff2ced94ff59.jpg","text":"TemporaryFile(/tmp/multipartBody7572228454901717011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556290105,"filename":"image_01122025_03_24_54_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bb49d129352d0746aedb6f3507e32f16.jpg","text":"TemporaryFile(/tmp/multipartBody2602204637070304455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556290105,"filename":"image_01122025_03_26_04_10779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153579","file1":"1397153578","file0":"1397153577","file4":"1397153581","file5":"1397153582","file3":"1397153580"},"map_files_photo_id_array":[{"photo_id":"1397153582","filename":"file5"},{"photo_id":"1397153579","filename":"file2"},{"photo_id":"1397153581","filename":"file4"},{"photo_id":"1397153578","filename":"file1"},{"photo_id":"1397153577","filename":"file0"},{"photo_id":"1397153580","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153579":["hashtag1","hashtag2"]},{"1397153578":["hashtag1","hashtag2"]},{"1397153581":["hashtag1","hashtag2"]},{"1397153580":["hashtag1","hashtag2"]},{"1397153577":["hashtag1","hashtag2"]},{"1397153582":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153579, 1397153578, 1397153581, 1397153580, 1397153577, 1397153582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.65817046165466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 03:31:11.870906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_48_2608.jpg', '/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_52_3578.jpg', '/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_54_2771.jpg', '/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_57_2561.jpg', '/home/pi/Desktop/images/25112025/21/36/image_25112025_21_37_01_3631.jpg', '/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_03_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_48_2608.jpg
/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_52_3578.jpg
/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_54_2771.jpg
/home/pi/Desktop/images/25112025/21/36/image_25112025_21_36_57_2561.jpg
/home/pi/Desktop/images/25112025/21/36/image_25112025_21_37_01_3631.jpg
/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_03_2605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153590","1397153584","1397153593","1397153583","1397153586","1397153588"],"photo_ids_order":["1397153583","1397153584","1397153586","1397153588","1397153590","1397153593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/98b9e84b66ed42179360d402747bc94a.jpg","text":"TemporaryFile(/tmp/multipartBody2195008593651647999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556333417,"filename":"image_25112025_21_37_01_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/1/d254e0b7b72d29aceed139943936ba9c.jpg","text":"TemporaryFile(/tmp/multipartBody7412456010504291039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556333417,"filename":"image_25112025_21_36_52_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/1/a3a51865e8e9120115f0c56ca2b03627.jpg","text":"TemporaryFile(/tmp/multipartBody7636589498482181249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556333417,"filename":"image_25112025_21_37_03_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6662a50f999d6b41108079400611799c.jpg","text":"TemporaryFile(/tmp/multipartBody1254641569791108927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556333417,"filename":"image_25112025_21_36_48_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a63de6712758e01f99ff718571065365.jpg","text":"TemporaryFile(/tmp/multipartBody8722750765847795293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556333417,"filename":"image_25112025_21_36_54_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/1/4c6bf8186e611afba96390121b4d4172.jpg","text":"TemporaryFile(/tmp/multipartBody5352977255289757482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556333417,"filename":"image_25112025_21_36_57_2561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153586","file1":"1397153584","file0":"1397153583","file4":"1397153590","file5":"1397153593","file3":"1397153588"},"map_files_photo_id_array":[{"photo_id":"1397153593","filename":"file5"},{"photo_id":"1397153586","filename":"file2"},{"photo_id":"1397153590","filename":"file4"},{"photo_id":"1397153584","filename":"file1"},{"photo_id":"1397153583","filename":"file0"},{"photo_id":"1397153588","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397153590":["hashtag1","hashtag2"]},{"1397153584":["hashtag1","hashtag2"]},{"1397153593":["hashtag1","hashtag2"]},{"1397153583":["hashtag1","hashtag2"]},{"1397153586":["hashtag1","hashtag2"]},{"1397153588":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397153590, 1397153584, 1397153593, 1397153583, 1397153586, 1397153588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94636559486389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:32:06.422291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 03:32:12.937242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_07_3537.jpg', '/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_12_2665.jpg', '/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_16_3776.jpg', '/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_18_2582.jpg', '/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_21_2569.jpg', '/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_25_3656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_07_3537.jpg
/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_12_2665.jpg
/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_16_3776.jpg
/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_18_2582.jpg
/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_21_2569.jpg
/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_25_3656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153603","1397153599","1397153602","1397153595","1397153601","1397153597"],"photo_ids_order":["1397153595","1397153597","1397153599","1397153601","1397153602","1397153603"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1fbf62824ace1aa90167a35c974f9bdc.jpg","text":"TemporaryFile(/tmp/multipartBody7873677634917174183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556397181,"filename":"image_25112025_21_37_25_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fafacb9e63c3934b586c0715d415bb5c.jpg","text":"TemporaryFile(/tmp/multipartBody7741646483489777928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556397181,"filename":"image_25112025_21_37_16_3776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3032b5ecb20aaec3632e3d33caf4388c.jpg","text":"TemporaryFile(/tmp/multipartBody4227728660273102496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556397181,"filename":"image_25112025_21_37_21_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/1/c1847251efbe8e1ee31a68fd5627988d.jpg","text":"TemporaryFile(/tmp/multipartBody121180041197969536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556397181,"filename":"image_25112025_21_37_07_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/1/dea7cd03ec6448e5de836713951ac805.jpg","text":"TemporaryFile(/tmp/multipartBody1737313362269953821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556397181,"filename":"image_25112025_21_37_18_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d7922559e2beedc706807d5fe13ba61c.jpg","text":"TemporaryFile(/tmp/multipartBody5183784881920285926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556397181,"filename":"image_25112025_21_37_12_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153599","file1":"1397153597","file0":"1397153595","file4":"1397153602","file5":"1397153603","file3":"1397153601"},"map_files_photo_id_array":[{"photo_id":"1397153603","filename":"file5"},{"photo_id":"1397153599","filename":"file2"},{"photo_id":"1397153602","filename":"file4"},{"photo_id":"1397153597","filename":"file1"},{"photo_id":"1397153595","filename":"file0"},{"photo_id":"1397153601","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397153603":["hashtag1","hashtag2"]},{"1397153599":["hashtag1","hashtag2"]},{"1397153602":["hashtag1","hashtag2"]},{"1397153595":["hashtag1","hashtag2"]},{"1397153601":["hashtag1","hashtag2"]},{"1397153597":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397153603, 1397153599, 1397153602, 1397153595, 1397153601, 1397153597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.021018981933594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:33:02.655966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/26/image_01122025_03_26_34_10676.jpg', '/home/pi/Desktop/images/01122025/03/26/image_01122025_03_26_44_9633.jpg', '/home/pi/Desktop/images/01122025/03/26/image_01122025_03_26_54_9686.jpg', '/home/pi/Desktop/images/01122025/03/26/image_01122025_03_27_04_10662.jpg', '/home/pi/Desktop/images/01122025/03/27/image_01122025_03_27_24_9841.jpg', '/home/pi/Desktop/images/01122025/03/27/image_01122025_03_27_34_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/26/image_01122025_03_26_34_10676.jpg
/home/pi/Desktop/images/01122025/03/26/image_01122025_03_26_44_9633.jpg
/home/pi/Desktop/images/01122025/03/26/image_01122025_03_26_54_9686.jpg
/home/pi/Desktop/images/01122025/03/26/image_01122025_03_27_04_10662.jpg
/home/pi/Desktop/images/01122025/03/27/image_01122025_03_27_24_9841.jpg
/home/pi/Desktop/images/01122025/03/27/image_01122025_03_27_34_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":["1397153612","1397153606","1397153605","1397153608","1397153607","1397153610"],"photo_ids_order":["1397153605","1397153606","1397153607","1397153608","1397153610","1397153612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bebb58303a68101a5fd7e35397df04a8.jpg","text":"TemporaryFile(/tmp/multipartBody7339989355164273255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556443536,"filename":"image_01122025_03_27_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/1/ed232d9947a1bcecde32fc79cc7a4815.jpg","text":"TemporaryFile(/tmp/multipartBody8819079652824963194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556443536,"filename":"image_01122025_03_26_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/1/b58a0747c453110940f30119145c4c17.jpg","text":"TemporaryFile(/tmp/multipartBody8216797471363549277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556443536,"filename":"image_01122025_03_26_34_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d51edecb74684182b80fa370e56fb396.jpg","text":"TemporaryFile(/tmp/multipartBody5851035436887042536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556443536,"filename":"image_01122025_03_27_04_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/771647094a6c395f02647fb711fddfdf.jpg","text":"TemporaryFile(/tmp/multipartBody2902829123487996389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556443536,"filename":"image_01122025_03_26_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/1/c1488291aee064bd4e7a9f336c38dff0.jpg","text":"TemporaryFile(/tmp/multipartBody4778210326821412342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556443536,"filename":"image_01122025_03_27_24_9841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153607","file1":"1397153606","file0":"1397153605","file4":"1397153610","file5":"1397153612","file3":"1397153608"},"map_files_photo_id_array":[{"photo_id":"1397153612","filename":"file5"},{"photo_id":"1397153607","filename":"file2"},{"photo_id":"1397153610","filename":"file4"},{"photo_id":"1397153606","filename":"file1"},{"photo_id":"1397153605","filename":"file0"},{"photo_id":"1397153608","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153612":["hashtag1","hashtag2"]},{"1397153606":["hashtag1","hashtag2"]},{"1397153605":["hashtag1","hashtag2"]},{"1397153608":["hashtag1","hashtag2"]},{"1397153607":["hashtag1","hashtag2"]},{"1397153610":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153612, 1397153606, 1397153605, 1397153608, 1397153607, 1397153610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.524436950683594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 03:33:41.995436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/23/image_01112025_00_23_37_3501.jpg', '/home/pi/Desktop/images/01112025/00/23/image_01112025_00_23_40_2656.jpg', '/home/pi/Desktop/images/01112025/00/23/image_01112025_00_23_43_2555.jpg', '/home/pi/Desktop/images/01112025/00/23/image_01112025_00_23_46_3796.jpg', '/home/pi/Desktop/images/01112025/00/23/image_01112025_00_23_49_2701.jpg', '/home/pi/Desktop/images/01112025/00/23/image_01112025_00_23_52_2777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/23/image_01112025_00_23_37_3501.jpg
/home/pi/Desktop/images/01112025/00/23/image_01112025_00_23_40_2656.jpg
/home/pi/Desktop/images/01112025/00/23/image_01112025_00_23_43_2555.jpg
/home/pi/Desktop/images/01112025/00/23/image_01112025_00_23_46_3796.jpg
/home/pi/Desktop/images/01112025/00/23/image_01112025_00_23_49_2701.jpg
/home/pi/Desktop/images/01112025/00/23/image_01112025_00_23_52_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":["1397153621","1397153618","1397153620","1397153617","1397153622","1397153619"],"photo_ids_order":["1397153617","1397153618","1397153619","1397153620","1397153621","1397153622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/933ab1e32429ca540085c1b028dec2c8.jpg","text":"TemporaryFile(/tmp/multipartBody3123190393931803528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556482801,"filename":"image_01112025_00_23_49_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4bf5417680b476936ff209194815c895.jpg","text":"TemporaryFile(/tmp/multipartBody3781710075982065526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556482801,"filename":"image_01112025_00_23_40_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/1/9c28be2976b6755b6633cbe8e3422b89.jpg","text":"TemporaryFile(/tmp/multipartBody1212236701032852166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556482801,"filename":"image_01112025_00_23_46_3796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ddf719a64555a48aebd61c879ab71ee7.jpg","text":"TemporaryFile(/tmp/multipartBody4855466941522272042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556482801,"filename":"image_01112025_00_23_37_3501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f95e966a9324274e78944ea74cce009a.jpg","text":"TemporaryFile(/tmp/multipartBody7523675387537912319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556482801,"filename":"image_01112025_00_23_52_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/1/57760f3d6a28efb727a6e64bf3e2b12b.jpg","text":"TemporaryFile(/tmp/multipartBody3111989828465439233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556482801,"filename":"image_01112025_00_23_43_2555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153619","file1":"1397153618","file0":"1397153617","file4":"1397153621","file5":"1397153622","file3":"1397153620"},"map_files_photo_id_array":[{"photo_id":"1397153622","filename":"file5"},{"photo_id":"1397153619","filename":"file2"},{"photo_id":"1397153621","filename":"file4"},{"photo_id":"1397153618","filename":"file1"},{"photo_id":"1397153617","filename":"file0"},{"photo_id":"1397153620","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397153621":["hashtag1","hashtag2"]},{"1397153618":["hashtag1","hashtag2"]},{"1397153620":["hashtag1","hashtag2"]},{"1397153617":["hashtag1","hashtag2"]},{"1397153622":["hashtag1","hashtag2"]},{"1397153619":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397153621, 1397153618, 1397153620, 1397153617, 1397153622, 1397153619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27009391784668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 03:34:22.240474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/27/image_01122025_03_27_44_9887.jpg', '/home/pi/Desktop/images/01122025/03/27/image_01122025_03_28_04_9724.jpg', '/home/pi/Desktop/images/01122025/03/28/image_01122025_03_28_14_9722.jpg', '/home/pi/Desktop/images/01122025/03/28/image_01122025_03_28_24_10014.jpg', '/home/pi/Desktop/images/01122025/03/28/image_01122025_03_28_34_10717.jpg', '/home/pi/Desktop/images/01122025/03/28/image_01122025_03_28_44_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/27/image_01122025_03_27_44_9887.jpg
/home/pi/Desktop/images/01122025/03/27/image_01122025_03_28_04_9724.jpg
/home/pi/Desktop/images/01122025/03/28/image_01122025_03_28_14_9722.jpg
/home/pi/Desktop/images/01122025/03/28/image_01122025_03_28_24_10014.jpg
/home/pi/Desktop/images/01122025/03/28/image_01122025_03_28_34_10717.jpg
/home/pi/Desktop/images/01122025/03/28/image_01122025_03_28_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":["1397153633","1397153627","1397153629","1397153631","1397153625","1397153634"],"photo_ids_order":["1397153625","1397153627","1397153629","1397153631","1397153633","1397153634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d7cadc20900d59fadf7580fe8746f034.jpg","text":"TemporaryFile(/tmp/multipartBody1965327097861009683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556522978,"filename":"image_01122025_03_28_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/1/07e0a233075a877551bdc4a5ff5cd580.jpg","text":"TemporaryFile(/tmp/multipartBody3781289775016507971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556522978,"filename":"image_01122025_03_28_04_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f100573fd89d6403b33a804a0ca34a0c.jpg","text":"TemporaryFile(/tmp/multipartBody5427734813838318607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556522978,"filename":"image_01122025_03_28_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/1/a9aba9b64f1311ce2f4c44d563781475.jpg","text":"TemporaryFile(/tmp/multipartBody5512640061833259306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556522978,"filename":"image_01122025_03_28_24_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/1/d8e23e54c4abd06f4f95324091397a0e.jpg","text":"TemporaryFile(/tmp/multipartBody1596925398989673354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556522978,"filename":"image_01122025_03_27_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/1/0ae4c3369ef28148973c0099141ffecd.jpg","text":"TemporaryFile(/tmp/multipartBody5086448447596859755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556522978,"filename":"image_01122025_03_28_44_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153629","file1":"1397153627","file0":"1397153625","file4":"1397153633","file5":"1397153634","file3":"1397153631"},"map_files_photo_id_array":[{"photo_id":"1397153634","filename":"file5"},{"photo_id":"1397153629","filename":"file2"},{"photo_id":"1397153633","filename":"file4"},{"photo_id":"1397153627","filename":"file1"},{"photo_id":"1397153625","filename":"file0"},{"photo_id":"1397153631","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153633":["hashtag1","hashtag2"]},{"1397153627":["hashtag1","hashtag2"]},{"1397153629":["hashtag1","hashtag2"]},{"1397153631":["hashtag1","hashtag2"]},{"1397153625":["hashtag1","hashtag2"]},{"1397153634":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153633, 1397153627, 1397153629, 1397153631, 1397153625, 1397153634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7889564037323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:35:03.003306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/28/image_01122025_03_28_54_9857.jpg', '/home/pi/Desktop/images/01122025/03/29/image_01122025_03_29_14_10818.jpg', '/home/pi/Desktop/images/01122025/03/29/image_01122025_03_29_24_9822.jpg', '/home/pi/Desktop/images/01122025/03/29/image_01122025_03_29_34_9768.jpg', '/home/pi/Desktop/images/01122025/03/29/image_01122025_03_29_44_9679.jpg', '/home/pi/Desktop/images/01122025/03/29/image_01122025_03_30_04_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/28/image_01122025_03_28_54_9857.jpg
/home/pi/Desktop/images/01122025/03/29/image_01122025_03_29_14_10818.jpg
/home/pi/Desktop/images/01122025/03/29/image_01122025_03_29_24_9822.jpg
/home/pi/Desktop/images/01122025/03/29/image_01122025_03_29_34_9768.jpg
/home/pi/Desktop/images/01122025/03/29/image_01122025_03_29_44_9679.jpg
/home/pi/Desktop/images/01122025/03/29/image_01122025_03_30_04_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":["1397153642","1397153636","1397153635","1397153638","1397153640","1397153637"],"photo_ids_order":["1397153635","1397153636","1397153637","1397153638","1397153640","1397153642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ec9ba3d9031030ae6f6725ecd299d804.jpg","text":"TemporaryFile(/tmp/multipartBody2574033218637938868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556563882,"filename":"image_01122025_03_30_04_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/911c617d717b97ae1470e3e47ed74d6b.jpg","text":"TemporaryFile(/tmp/multipartBody7982760991796300971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556563882,"filename":"image_01122025_03_29_14_10818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fa504932bc8b23de97e937ed1ca0fb0d.jpg","text":"TemporaryFile(/tmp/multipartBody8532207426386688558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556563882,"filename":"image_01122025_03_28_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/1/1ddf43bc1c370a7629209dea67b12768.jpg","text":"TemporaryFile(/tmp/multipartBody2005042903467072859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556563882,"filename":"image_01122025_03_29_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/1/d9200edf51e2a44e0d9ee0009bac3a42.jpg","text":"TemporaryFile(/tmp/multipartBody2361899788294585385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556563882,"filename":"image_01122025_03_29_44_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/95d67d91592203f37b3195bed03894c2.jpg","text":"TemporaryFile(/tmp/multipartBody6338398370705897238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556563882,"filename":"image_01122025_03_29_24_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153637","file1":"1397153636","file0":"1397153635","file4":"1397153640","file5":"1397153642","file3":"1397153638"},"map_files_photo_id_array":[{"photo_id":"1397153642","filename":"file5"},{"photo_id":"1397153637","filename":"file2"},{"photo_id":"1397153640","filename":"file4"},{"photo_id":"1397153636","filename":"file1"},{"photo_id":"1397153635","filename":"file0"},{"photo_id":"1397153638","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153642":["hashtag1","hashtag2"]},{"1397153636":["hashtag1","hashtag2"]},{"1397153635":["hashtag1","hashtag2"]},{"1397153638":["hashtag1","hashtag2"]},{"1397153640":["hashtag1","hashtag2"]},{"1397153637":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153642, 1397153636, 1397153635, 1397153638, 1397153640, 1397153637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.131290435791016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 03:35:42.550744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/23/image_01112025_00_23_54_2664.jpg', '/home/pi/Desktop/images/01112025/00/23/image_01112025_00_23_58_3760.jpg', '/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_01_2741.jpg', '/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_04_2899.jpg', '/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_07_2951.jpg', '/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_10_3236.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/23/image_01112025_00_23_54_2664.jpg
/home/pi/Desktop/images/01112025/00/23/image_01112025_00_23_58_3760.jpg
/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_01_2741.jpg
/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_04_2899.jpg
/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_07_2951.jpg
/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_10_3236.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153651","1397153645","1397153650","1397153652","1397153649","1397153648"],"photo_ids_order":["1397153645","1397153648","1397153649","1397153650","1397153651","1397153652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4a407e01da2ff3063bdda05c80844c59.jpg","text":"TemporaryFile(/tmp/multipartBody7581383488010781953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556603389,"filename":"image_01112025_00_24_07_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/1/cc8d240db802b303a3454cb75223b839.jpg","text":"TemporaryFile(/tmp/multipartBody6321103042640496627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556603389,"filename":"image_01112025_00_23_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/1/61a2adecd07f6a00be8df3db3a83fe42.jpg","text":"TemporaryFile(/tmp/multipartBody3118854735737243004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556603389,"filename":"image_01112025_00_24_04_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/1/e19c8b88eb10914cea30f3f56eee649f.jpg","text":"TemporaryFile(/tmp/multipartBody8030459500307350440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556603389,"filename":"image_01112025_00_24_10_3236.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8ff15351cf72ae2adeb002ee5f1c7d26.jpg","text":"TemporaryFile(/tmp/multipartBody3649483386713716742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556603389,"filename":"image_01112025_00_24_01_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/1/7cd0610f6ea7286ded4211143b7e06e5.jpg","text":"TemporaryFile(/tmp/multipartBody841260621831240790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556603389,"filename":"image_01112025_00_23_58_3760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153649","file1":"1397153648","file0":"1397153645","file4":"1397153651","file5":"1397153652","file3":"1397153650"},"map_files_photo_id_array":[{"photo_id":"1397153652","filename":"file5"},{"photo_id":"1397153649","filename":"file2"},{"photo_id":"1397153651","filename":"file4"},{"photo_id":"1397153648","filename":"file1"},{"photo_id":"1397153645","filename":"file0"},{"photo_id":"1397153650","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397153651":["hashtag1","hashtag2"]},{"1397153645":["hashtag1","hashtag2"]},{"1397153650":["hashtag1","hashtag2"]},{"1397153652":["hashtag1","hashtag2"]},{"1397153649":["hashtag1","hashtag2"]},{"1397153648":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397153651, 1397153645, 1397153650, 1397153652, 1397153649, 1397153648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.331875801086426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 03:36:22.707910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/30/image_01122025_03_30_14_9708.jpg', '/home/pi/Desktop/images/01122025/03/30/image_01122025_03_30_24_9713.jpg', '/home/pi/Desktop/images/01122025/03/30/image_01122025_03_30_34_10715.jpg', '/home/pi/Desktop/images/01122025/03/30/image_01122025_03_30_44_9796.jpg', '/home/pi/Desktop/images/01122025/03/30/image_01122025_03_30_54_9692.jpg', '/home/pi/Desktop/images/01122025/03/30/image_01122025_03_31_04_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/30/image_01122025_03_30_14_9708.jpg
/home/pi/Desktop/images/01122025/03/30/image_01122025_03_30_24_9713.jpg
/home/pi/Desktop/images/01122025/03/30/image_01122025_03_30_34_10715.jpg
/home/pi/Desktop/images/01122025/03/30/image_01122025_03_30_44_9796.jpg
/home/pi/Desktop/images/01122025/03/30/image_01122025_03_30_54_9692.jpg
/home/pi/Desktop/images/01122025/03/30/image_01122025_03_31_04_10645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153656","1397153661","1397153658","1397153655","1397153660","1397153654"],"photo_ids_order":["1397153654","1397153655","1397153656","1397153658","1397153660","1397153661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8def35d3394077dac4de58d2e3fa221b.jpg","text":"TemporaryFile(/tmp/multipartBody1698045124603737774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556643442,"filename":"image_01122025_03_30_34_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9ebe486e4f6ca7b49906041091264275.jpg","text":"TemporaryFile(/tmp/multipartBody5271461196541608900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556643442,"filename":"image_01122025_03_31_04_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/1/5738d0cd444993109aa0d35652a28578.jpg","text":"TemporaryFile(/tmp/multipartBody6645873221937347785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556643442,"filename":"image_01122025_03_30_44_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d6615624616478d1a7dbd1e7dab5598d.jpg","text":"TemporaryFile(/tmp/multipartBody1568705364402503812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556643442,"filename":"image_01122025_03_30_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/1/a692a31f019af49daf27e410b5434f52.jpg","text":"TemporaryFile(/tmp/multipartBody4257075452446815840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556643442,"filename":"image_01122025_03_30_54_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/95973d6c7ecf9ef4a0685b1d3c21d14b.jpg","text":"TemporaryFile(/tmp/multipartBody8789342406990552886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556643442,"filename":"image_01122025_03_30_14_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153656","file1":"1397153655","file0":"1397153654","file4":"1397153660","file5":"1397153661","file3":"1397153658"},"map_files_photo_id_array":[{"photo_id":"1397153661","filename":"file5"},{"photo_id":"1397153656","filename":"file2"},{"photo_id":"1397153660","filename":"file4"},{"photo_id":"1397153655","filename":"file1"},{"photo_id":"1397153654","filename":"file0"},{"photo_id":"1397153658","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153656":["hashtag1","hashtag2"]},{"1397153661":["hashtag1","hashtag2"]},{"1397153658":["hashtag1","hashtag2"]},{"1397153655":["hashtag1","hashtag2"]},{"1397153660":["hashtag1","hashtag2"]},{"1397153654":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153656, 1397153661, 1397153658, 1397153655, 1397153660, 1397153654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28419065475464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:37:02.496185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/31/image_01122025_03_31_14_9667.jpg', '/home/pi/Desktop/images/01122025/03/31/image_01122025_03_31_24_9774.jpg', '/home/pi/Desktop/images/01122025/03/31/image_01122025_03_31_33_9585.jpg', '/home/pi/Desktop/images/01122025/03/31/image_01122025_03_31_54_9920.jpg', '/home/pi/Desktop/images/01122025/03/31/image_01122025_03_32_04_9708.jpg', '/home/pi/Desktop/images/01122025/03/32/image_01122025_03_32_14_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/31/image_01122025_03_31_14_9667.jpg
/home/pi/Desktop/images/01122025/03/31/image_01122025_03_31_24_9774.jpg
/home/pi/Desktop/images/01122025/03/31/image_01122025_03_31_33_9585.jpg
/home/pi/Desktop/images/01122025/03/31/image_01122025_03_31_54_9920.jpg
/home/pi/Desktop/images/01122025/03/31/image_01122025_03_32_04_9708.jpg
/home/pi/Desktop/images/01122025/03/32/image_01122025_03_32_14_10623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153663","1397153665","1397153662","1397153670","1397153664","1397153667"],"photo_ids_order":["1397153662","1397153663","1397153664","1397153665","1397153667","1397153670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e97c3c9cfa672bffb86cfa7878679128.jpg","text":"TemporaryFile(/tmp/multipartBody8463671633666446792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556683319,"filename":"image_01122025_03_31_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/1/ee1aafb7166654e80fcf8225e7b84d5f.jpg","text":"TemporaryFile(/tmp/multipartBody3385907046592568297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556683319,"filename":"image_01122025_03_31_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/1/4cdabb0331acadfec73c8eee9b571f90.jpg","text":"TemporaryFile(/tmp/multipartBody664328939677364091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556683319,"filename":"image_01122025_03_31_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/1/e22c08abcc2107290dd61548e934a4ee.jpg","text":"TemporaryFile(/tmp/multipartBody1229679978227493100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556683319,"filename":"image_01122025_03_32_14_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f17c43fd47d77643434715e524452eab.jpg","text":"TemporaryFile(/tmp/multipartBody9149892047763182400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556683319,"filename":"image_01122025_03_31_33_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/1/16289e2a8eeafdc428fc37142d4d3e73.jpg","text":"TemporaryFile(/tmp/multipartBody1379714900423675721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556683319,"filename":"image_01122025_03_32_04_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153664","file1":"1397153663","file0":"1397153662","file4":"1397153667","file5":"1397153670","file3":"1397153665"},"map_files_photo_id_array":[{"photo_id":"1397153670","filename":"file5"},{"photo_id":"1397153664","filename":"file2"},{"photo_id":"1397153667","filename":"file4"},{"photo_id":"1397153663","filename":"file1"},{"photo_id":"1397153662","filename":"file0"},{"photo_id":"1397153665","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153663":["hashtag1","hashtag2"]},{"1397153665":["hashtag1","hashtag2"]},{"1397153662":["hashtag1","hashtag2"]},{"1397153670":["hashtag1","hashtag2"]},{"1397153664":["hashtag1","hashtag2"]},{"1397153667":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153663, 1397153665, 1397153662, 1397153670, 1397153664, 1397153667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.253432512283325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 03:37:41.926417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_13_2744.jpg', '/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_16_2696.jpg', '/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_19_3651.jpg', '/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_22_2682.jpg', '/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_28_3565.jpg', '/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_31_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_13_2744.jpg
/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_16_2696.jpg
/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_19_3651.jpg
/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_22_2682.jpg
/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_28_3565.jpg
/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_31_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":["1397153678","1397153677","1397153674","1397153676","1397153673","1397153675"],"photo_ids_order":["1397153673","1397153674","1397153675","1397153676","1397153677","1397153678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e640afb474d97c1fdc6ec1e7089fab77.jpg","text":"TemporaryFile(/tmp/multipartBody302022614249035111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556722761,"filename":"image_01112025_00_24_31_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/1/adceef93f759bc92af6eef7aa929b72c.jpg","text":"TemporaryFile(/tmp/multipartBody2595102509840935213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556722761,"filename":"image_01112025_00_24_28_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ee981f801924e235338a06a2e989ca55.jpg","text":"TemporaryFile(/tmp/multipartBody2317491216268603954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556722761,"filename":"image_01112025_00_24_16_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b9abdd526ed0f0f2b6edc51c51988936.jpg","text":"TemporaryFile(/tmp/multipartBody7560497375777726560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556722761,"filename":"image_01112025_00_24_22_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fd2f231f4a0b917aff37def4135867a8.jpg","text":"TemporaryFile(/tmp/multipartBody4968036805058311195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556722761,"filename":"image_01112025_00_24_13_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/1/01fe390f6182489c20c952954e689717.jpg","text":"TemporaryFile(/tmp/multipartBody5487949401337605590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556722761,"filename":"image_01112025_00_24_19_3651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153675","file1":"1397153674","file0":"1397153673","file4":"1397153677","file5":"1397153678","file3":"1397153676"},"map_files_photo_id_array":[{"photo_id":"1397153678","filename":"file5"},{"photo_id":"1397153675","filename":"file2"},{"photo_id":"1397153677","filename":"file4"},{"photo_id":"1397153674","filename":"file1"},{"photo_id":"1397153673","filename":"file0"},{"photo_id":"1397153676","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397153678":["hashtag1","hashtag2"]},{"1397153677":["hashtag1","hashtag2"]},{"1397153674":["hashtag1","hashtag2"]},{"1397153676":["hashtag1","hashtag2"]},{"1397153673":["hashtag1","hashtag2"]},{"1397153675":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397153678, 1397153677, 1397153674, 1397153676, 1397153673, 1397153675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50656986236572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 03:38:22.083510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/32/image_01122025_03_32_24_9667.jpg', '/home/pi/Desktop/images/01122025/03/32/image_01122025_03_32_34_9650.jpg', '/home/pi/Desktop/images/01122025/03/32/image_01122025_03_32_44_10726.jpg', '/home/pi/Desktop/images/01122025/03/33/image_01122025_03_33_14_9925.jpg', '/home/pi/Desktop/images/01122025/03/33/image_01122025_03_33_34_9687.jpg', '/home/pi/Desktop/images/01122025/03/33/image_01122025_03_33_44_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/32/image_01122025_03_32_24_9667.jpg
/home/pi/Desktop/images/01122025/03/32/image_01122025_03_32_34_9650.jpg
/home/pi/Desktop/images/01122025/03/32/image_01122025_03_32_44_10726.jpg
/home/pi/Desktop/images/01122025/03/33/image_01122025_03_33_14_9925.jpg
/home/pi/Desktop/images/01122025/03/33/image_01122025_03_33_34_9687.jpg
/home/pi/Desktop/images/01122025/03/33/image_01122025_03_33_44_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153683","1397153689","1397153688","1397153691","1397153685","1397153681"],"photo_ids_order":["1397153681","1397153683","1397153685","1397153688","1397153689","1397153691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/71803b32e2c3a097e45813052d525c68.jpg","text":"TemporaryFile(/tmp/multipartBody8110652770138057878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556762853,"filename":"image_01122025_03_32_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/1/67bcdc04331b504ef3be47b82df363dc.jpg","text":"TemporaryFile(/tmp/multipartBody3401475683575745172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556762853,"filename":"image_01122025_03_33_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/1/8096447d30181262476eeec087fad6c9.jpg","text":"TemporaryFile(/tmp/multipartBody537026005275964793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556762853,"filename":"image_01122025_03_33_14_9925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1dcc8666224af625e66bcd36dedc6569.jpg","text":"TemporaryFile(/tmp/multipartBody1399235407748917266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556762853,"filename":"image_01122025_03_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/1/5ea3ef6662ebacfdef93d990d9c0d656.jpg","text":"TemporaryFile(/tmp/multipartBody5123126387989436889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556762853,"filename":"image_01122025_03_32_44_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/1/0b064a6c57106e910437a55781700d1e.jpg","text":"TemporaryFile(/tmp/multipartBody9116146457945957653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556762853,"filename":"image_01122025_03_32_24_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153685","file1":"1397153683","file0":"1397153681","file4":"1397153689","file5":"1397153691","file3":"1397153688"},"map_files_photo_id_array":[{"photo_id":"1397153691","filename":"file5"},{"photo_id":"1397153685","filename":"file2"},{"photo_id":"1397153689","filename":"file4"},{"photo_id":"1397153683","filename":"file1"},{"photo_id":"1397153681","filename":"file0"},{"photo_id":"1397153688","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153683":["hashtag1","hashtag2"]},{"1397153689":["hashtag1","hashtag2"]},{"1397153688":["hashtag1","hashtag2"]},{"1397153691":["hashtag1","hashtag2"]},{"1397153685":["hashtag1","hashtag2"]},{"1397153681":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153683, 1397153689, 1397153688, 1397153691, 1397153685, 1397153681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06124448776245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:39:03.188021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/33/image_01122025_03_33_54_10645.jpg', '/home/pi/Desktop/images/01122025/03/33/image_01122025_03_34_04_9580.jpg', '/home/pi/Desktop/images/01122025/03/34/image_01122025_03_34_14_9712.jpg', '/home/pi/Desktop/images/01122025/03/34/image_01122025_03_34_34_9873.jpg', '/home/pi/Desktop/images/01122025/03/34/image_01122025_03_34_44_9763.jpg', '/home/pi/Desktop/images/01122025/03/34/image_01122025_03_35_03_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/33/image_01122025_03_33_54_10645.jpg
/home/pi/Desktop/images/01122025/03/33/image_01122025_03_34_04_9580.jpg
/home/pi/Desktop/images/01122025/03/34/image_01122025_03_34_14_9712.jpg
/home/pi/Desktop/images/01122025/03/34/image_01122025_03_34_34_9873.jpg
/home/pi/Desktop/images/01122025/03/34/image_01122025_03_34_44_9763.jpg
/home/pi/Desktop/images/01122025/03/34/image_01122025_03_35_03_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":["1397153695","1397153692","1397153694","1397153697","1397153699","1397153693"],"photo_ids_order":["1397153692","1397153693","1397153694","1397153695","1397153697","1397153699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/64c680ca7108dea2bdb7b25f01aaf15c.jpg","text":"TemporaryFile(/tmp/multipartBody4723266270712164674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556804156,"filename":"image_01122025_03_34_34_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/19eed4788646d1f9700f6ee60761c1e6.jpg","text":"TemporaryFile(/tmp/multipartBody8624604706059698945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556804156,"filename":"image_01122025_03_33_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/1/eec4b4c15401682bc0786184bafbd5a1.jpg","text":"TemporaryFile(/tmp/multipartBody292397898627357647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556804156,"filename":"image_01122025_03_34_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/1/d1063145c7e6ff56b8f0c576c6c28210.jpg","text":"TemporaryFile(/tmp/multipartBody2895964072821127604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556804156,"filename":"image_01122025_03_34_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/1/cbbffe32f9bb5560b9f8a24988ddb694.jpg","text":"TemporaryFile(/tmp/multipartBody6540254514731944899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556804156,"filename":"image_01122025_03_35_03_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/1/98d257998f7a34d822a6794316596901.jpg","text":"TemporaryFile(/tmp/multipartBody4428971439952831215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556804156,"filename":"image_01122025_03_34_04_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153694","file1":"1397153693","file0":"1397153692","file4":"1397153697","file5":"1397153699","file3":"1397153695"},"map_files_photo_id_array":[{"photo_id":"1397153699","filename":"file5"},{"photo_id":"1397153694","filename":"file2"},{"photo_id":"1397153697","filename":"file4"},{"photo_id":"1397153693","filename":"file1"},{"photo_id":"1397153692","filename":"file0"},{"photo_id":"1397153695","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153695":["hashtag1","hashtag2"]},{"1397153692":["hashtag1","hashtag2"]},{"1397153694":["hashtag1","hashtag2"]},{"1397153697":["hashtag1","hashtag2"]},{"1397153699":["hashtag1","hashtag2"]},{"1397153693":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153695, 1397153692, 1397153694, 1397153697, 1397153699, 1397153693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.879602670669556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 03:39:42.324528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_37_2656.jpg', '/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_42_2613.jpg', '/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_46_3795.jpg', '/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_52_2787.jpg', '/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_55_3632.jpg', '/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_58_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_37_2656.jpg
/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_42_2613.jpg
/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_46_3795.jpg
/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_52_2787.jpg
/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_55_3632.jpg
/home/pi/Desktop/images/01112025/00/24/image_01112025_00_24_58_2588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153702","1397153705","1397153701","1397153704","1397153706","1397153703"],"photo_ids_order":["1397153701","1397153702","1397153703","1397153704","1397153705","1397153706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/89478413e35e1bcd0de3f71fa3c9cbc4.jpg","text":"TemporaryFile(/tmp/multipartBody7941963961042674108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556843174,"filename":"image_01112025_00_24_42_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/1/03b40958e5897eadbaf09e9338c09f19.jpg","text":"TemporaryFile(/tmp/multipartBody6617574850282339606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556843174,"filename":"image_01112025_00_24_55_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/1/f11882901cc6508b10f24186cebf41ef.jpg","text":"TemporaryFile(/tmp/multipartBody5615376598180589515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556843174,"filename":"image_01112025_00_24_37_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fb7c3ae249c778a4d84c87ebc94126a2.jpg","text":"TemporaryFile(/tmp/multipartBody5803801875260129627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556843174,"filename":"image_01112025_00_24_52_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/1/a9ded1da025acb3987ccda7b535482f5.jpg","text":"TemporaryFile(/tmp/multipartBody299347970263955620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556843174,"filename":"image_01112025_00_24_58_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/1/7f470fd2698056af5a87ab55ddaa4423.jpg","text":"TemporaryFile(/tmp/multipartBody5975226091460470741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556843174,"filename":"image_01112025_00_24_46_3795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153703","file1":"1397153702","file0":"1397153701","file4":"1397153705","file5":"1397153706","file3":"1397153704"},"map_files_photo_id_array":[{"photo_id":"1397153706","filename":"file5"},{"photo_id":"1397153703","filename":"file2"},{"photo_id":"1397153705","filename":"file4"},{"photo_id":"1397153702","filename":"file1"},{"photo_id":"1397153701","filename":"file0"},{"photo_id":"1397153704","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397153702":["hashtag1","hashtag2"]},{"1397153705":["hashtag1","hashtag2"]},{"1397153701":["hashtag1","hashtag2"]},{"1397153704":["hashtag1","hashtag2"]},{"1397153706":["hashtag1","hashtag2"]},{"1397153703":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397153702, 1397153705, 1397153701, 1397153704, 1397153706, 1397153703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73034858703613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 03:40:22.523326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/35/image_01122025_03_35_34_9591.jpg', '/home/pi/Desktop/images/01122025/03/35/image_01122025_03_35_44_9994.jpg', '/home/pi/Desktop/images/01122025/03/35/image_01122025_03_35_54_10757.jpg', '/home/pi/Desktop/images/01122025/03/35/image_01122025_03_36_04_9665.jpg', '/home/pi/Desktop/images/01122025/03/36/image_01122025_03_36_14_9650.jpg', '/home/pi/Desktop/images/01122025/03/36/image_01122025_03_36_24_10712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/35/image_01122025_03_35_34_9591.jpg
/home/pi/Desktop/images/01122025/03/35/image_01122025_03_35_44_9994.jpg
/home/pi/Desktop/images/01122025/03/35/image_01122025_03_35_54_10757.jpg
/home/pi/Desktop/images/01122025/03/35/image_01122025_03_36_04_9665.jpg
/home/pi/Desktop/images/01122025/03/36/image_01122025_03_36_14_9650.jpg
/home/pi/Desktop/images/01122025/03/36/image_01122025_03_36_24_10712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153717","1397153711","1397153713","1397153716","1397153715","1397153709"],"photo_ids_order":["1397153709","1397153711","1397153713","1397153715","1397153716","1397153717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f7720ad42355b132fe7d598b22cc1d9e.jpg","text":"TemporaryFile(/tmp/multipartBody1179666624167329636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556883303,"filename":"image_01122025_03_36_24_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/1/fada890c4df9ad2d2a7cbc02a9329171.jpg","text":"TemporaryFile(/tmp/multipartBody4116869885658531515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556883303,"filename":"image_01122025_03_35_44_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/1/0dc27d6496294c5cbed25c18cdb84125.jpg","text":"TemporaryFile(/tmp/multipartBody468068293462052155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556883303,"filename":"image_01122025_03_35_54_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/152b65e558ea0b56db196a2d20178211.jpg","text":"TemporaryFile(/tmp/multipartBody767938095822895255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556883303,"filename":"image_01122025_03_36_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/1/fed87139e3570f88f616ea2885360953.jpg","text":"TemporaryFile(/tmp/multipartBody8377075692888694621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556883303,"filename":"image_01122025_03_36_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/1/bd8f276e42e3afaca98926f52abb1aa3.jpg","text":"TemporaryFile(/tmp/multipartBody4973398987850482054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556883303,"filename":"image_01122025_03_35_34_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153713","file1":"1397153711","file0":"1397153709","file4":"1397153716","file5":"1397153717","file3":"1397153715"},"map_files_photo_id_array":[{"photo_id":"1397153717","filename":"file5"},{"photo_id":"1397153713","filename":"file2"},{"photo_id":"1397153716","filename":"file4"},{"photo_id":"1397153711","filename":"file1"},{"photo_id":"1397153709","filename":"file0"},{"photo_id":"1397153715","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153717":["hashtag1","hashtag2"]},{"1397153711":["hashtag1","hashtag2"]},{"1397153713":["hashtag1","hashtag2"]},{"1397153716":["hashtag1","hashtag2"]},{"1397153715":["hashtag1","hashtag2"]},{"1397153709":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153717, 1397153711, 1397153713, 1397153716, 1397153715, 1397153709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42523765563965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:41:03.374759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/36/image_01122025_03_36_34_9844.jpg', '/home/pi/Desktop/images/01122025/03/36/image_01122025_03_36_44_9718.jpg', '/home/pi/Desktop/images/01122025/03/36/image_01122025_03_36_54_9682.jpg', '/home/pi/Desktop/images/01122025/03/36/image_01122025_03_37_04_10717.jpg', '/home/pi/Desktop/images/01122025/03/37/image_01122025_03_37_14_9717.jpg', '/home/pi/Desktop/images/01122025/03/37/image_01122025_03_37_24_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/36/image_01122025_03_36_34_9844.jpg
/home/pi/Desktop/images/01122025/03/36/image_01122025_03_36_44_9718.jpg
/home/pi/Desktop/images/01122025/03/36/image_01122025_03_36_54_9682.jpg
/home/pi/Desktop/images/01122025/03/36/image_01122025_03_37_04_10717.jpg
/home/pi/Desktop/images/01122025/03/37/image_01122025_03_37_14_9717.jpg
/home/pi/Desktop/images/01122025/03/37/image_01122025_03_37_24_9684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153720","1397153723","1397153725","1397153719","1397153718","1397153721"],"photo_ids_order":["1397153718","1397153719","1397153720","1397153721","1397153723","1397153725"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/94495c2353c825cd359adf448eefd210.jpg","text":"TemporaryFile(/tmp/multipartBody5352082691409286550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556924168,"filename":"image_01122025_03_36_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/1/5ef9740e850c87cf6275cfa5829669a6.jpg","text":"TemporaryFile(/tmp/multipartBody8273074663591973249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556924168,"filename":"image_01122025_03_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/1/6859eb30a7ef2c34355e9fc9bdcd5213.jpg","text":"TemporaryFile(/tmp/multipartBody2418907993034784061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556924168,"filename":"image_01122025_03_37_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/1/5930a8b20036bfb6fdbdb8fe4d421283.jpg","text":"TemporaryFile(/tmp/multipartBody8756355533692703036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556924168,"filename":"image_01122025_03_36_44_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/839f7b003169a17a63f9dee3f16141ce.jpg","text":"TemporaryFile(/tmp/multipartBody588009882176935000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556924168,"filename":"image_01122025_03_36_34_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c57b8cea5155172ab969497d836e7ef0.jpg","text":"TemporaryFile(/tmp/multipartBody7366902147875776726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556924168,"filename":"image_01122025_03_37_04_10717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153720","file1":"1397153719","file0":"1397153718","file4":"1397153723","file5":"1397153725","file3":"1397153721"},"map_files_photo_id_array":[{"photo_id":"1397153725","filename":"file5"},{"photo_id":"1397153720","filename":"file2"},{"photo_id":"1397153723","filename":"file4"},{"photo_id":"1397153719","filename":"file1"},{"photo_id":"1397153718","filename":"file0"},{"photo_id":"1397153721","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153720":["hashtag1","hashtag2"]},{"1397153723":["hashtag1","hashtag2"]},{"1397153725":["hashtag1","hashtag2"]},{"1397153719":["hashtag1","hashtag2"]},{"1397153718":["hashtag1","hashtag2"]},{"1397153721":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153720, 1397153723, 1397153725, 1397153719, 1397153718, 1397153721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.359214067459106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 03:41:42.666629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_04_3590.jpg', '/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_07_2776.jpg', '/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_10_3199.jpg', '/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_13_2770.jpg', '/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_16_2678.jpg', '/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_19_2780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_04_3590.jpg
/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_07_2776.jpg
/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_10_3199.jpg
/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_13_2770.jpg
/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_16_2678.jpg
/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_19_2780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153735","1397153732","1397153734","1397153736","1397153730","1397153733"],"photo_ids_order":["1397153730","1397153732","1397153733","1397153734","1397153735","1397153736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8bcc6c43d97249973852855c5cc34540.jpg","text":"TemporaryFile(/tmp/multipartBody5680413772921424431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556963505,"filename":"image_01112025_00_25_16_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/1/21860b1d6181def93e8bb008d1c9209c.jpg","text":"TemporaryFile(/tmp/multipartBody1564372657044525305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556963505,"filename":"image_01112025_00_25_07_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/1/4ce9cdbea71d1a566dc5a7dd98e87995.jpg","text":"TemporaryFile(/tmp/multipartBody522920595990107034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556963505,"filename":"image_01112025_00_25_13_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/1/d712ec5e1735ce962c1e3cb94922f036.jpg","text":"TemporaryFile(/tmp/multipartBody6508249614430059669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556963505,"filename":"image_01112025_00_25_19_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b93714f659236b283a84cd7dd4d21abe.jpg","text":"TemporaryFile(/tmp/multipartBody2643958333134073819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556963505,"filename":"image_01112025_00_25_04_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/1/47069bd06ccce0a35de5172e8ef9ecaf.jpg","text":"TemporaryFile(/tmp/multipartBody1861759530341446872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764556963505,"filename":"image_01112025_00_25_10_3199.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153733","file1":"1397153732","file0":"1397153730","file4":"1397153735","file5":"1397153736","file3":"1397153734"},"map_files_photo_id_array":[{"photo_id":"1397153736","filename":"file5"},{"photo_id":"1397153733","filename":"file2"},{"photo_id":"1397153735","filename":"file4"},{"photo_id":"1397153732","filename":"file1"},{"photo_id":"1397153730","filename":"file0"},{"photo_id":"1397153734","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397153735":["hashtag1","hashtag2"]},{"1397153732":["hashtag1","hashtag2"]},{"1397153734":["hashtag1","hashtag2"]},{"1397153736":["hashtag1","hashtag2"]},{"1397153730":["hashtag1","hashtag2"]},{"1397153733":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397153735, 1397153732, 1397153734, 1397153736, 1397153730, 1397153733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.362661600112915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 03:42:21.921059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/37/image_01122025_03_37_34_10648.jpg', '/home/pi/Desktop/images/01122025/03/37/image_01122025_03_37_44_9784.jpg', '/home/pi/Desktop/images/01122025/03/37/image_01122025_03_37_54_9721.jpg', '/home/pi/Desktop/images/01122025/03/37/image_01122025_03_38_04_9789.jpg', '/home/pi/Desktop/images/01122025/03/38/image_01122025_03_38_14_10698.jpg', '/home/pi/Desktop/images/01122025/03/38/image_01122025_03_38_24_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/37/image_01122025_03_37_34_10648.jpg
/home/pi/Desktop/images/01122025/03/37/image_01122025_03_37_44_9784.jpg
/home/pi/Desktop/images/01122025/03/37/image_01122025_03_37_54_9721.jpg
/home/pi/Desktop/images/01122025/03/37/image_01122025_03_38_04_9789.jpg
/home/pi/Desktop/images/01122025/03/38/image_01122025_03_38_14_10698.jpg
/home/pi/Desktop/images/01122025/03/38/image_01122025_03_38_24_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":["1397153750","1397153738","1397153740","1397153742","1397153745","1397153748"],"photo_ids_order":["1397153738","1397153740","1397153742","1397153745","1397153748","1397153750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/577bd49d24d01404881bec58f375e52f.jpg","text":"TemporaryFile(/tmp/multipartBody5267035236430775045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557002689,"filename":"image_01122025_03_38_24_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/1/890915df322327b571cfa56de8f8c9f5.jpg","text":"TemporaryFile(/tmp/multipartBody1690979415558617383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557002689,"filename":"image_01122025_03_37_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/425b528cc056e78696499289f91378d2.jpg","text":"TemporaryFile(/tmp/multipartBody3420942347055611656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557002689,"filename":"image_01122025_03_37_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/1/baed1b8b54cfa2241e873e0fa604b300.jpg","text":"TemporaryFile(/tmp/multipartBody8366927608854869062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557002689,"filename":"image_01122025_03_37_54_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/462e0950a0576fbe45578fb022566628.jpg","text":"TemporaryFile(/tmp/multipartBody3253183856640451919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557002689,"filename":"image_01122025_03_38_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/1/fab3af210b682a44d4b6e48fb54e26f0.jpg","text":"TemporaryFile(/tmp/multipartBody4219705629544814102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557002689,"filename":"image_01122025_03_38_14_10698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153742","file1":"1397153740","file0":"1397153738","file4":"1397153748","file5":"1397153750","file3":"1397153745"},"map_files_photo_id_array":[{"photo_id":"1397153750","filename":"file5"},{"photo_id":"1397153742","filename":"file2"},{"photo_id":"1397153748","filename":"file4"},{"photo_id":"1397153740","filename":"file1"},{"photo_id":"1397153738","filename":"file0"},{"photo_id":"1397153745","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153750":["hashtag1","hashtag2"]},{"1397153738":["hashtag1","hashtag2"]},{"1397153740":["hashtag1","hashtag2"]},{"1397153742":["hashtag1","hashtag2"]},{"1397153745":["hashtag1","hashtag2"]},{"1397153748":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153750, 1397153738, 1397153740, 1397153742, 1397153745, 1397153748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05088829994202 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:43:02.709578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/38/image_01122025_03_38_34_9585.jpg', '/home/pi/Desktop/images/01122025/03/38/image_01122025_03_38_43_9721.jpg', '/home/pi/Desktop/images/01122025/03/38/image_01122025_03_38_54_10640.jpg', '/home/pi/Desktop/images/01122025/03/38/image_01122025_03_39_04_9686.jpg', '/home/pi/Desktop/images/01122025/03/39/image_01122025_03_39_14_9722.jpg', '/home/pi/Desktop/images/01122025/03/39/image_01122025_03_39_24_10698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/38/image_01122025_03_38_34_9585.jpg
/home/pi/Desktop/images/01122025/03/38/image_01122025_03_38_43_9721.jpg
/home/pi/Desktop/images/01122025/03/38/image_01122025_03_38_54_10640.jpg
/home/pi/Desktop/images/01122025/03/38/image_01122025_03_39_04_9686.jpg
/home/pi/Desktop/images/01122025/03/39/image_01122025_03_39_14_9722.jpg
/home/pi/Desktop/images/01122025/03/39/image_01122025_03_39_24_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":["1397153756","1397153759","1397153761","1397153755","1397153754","1397153757"],"photo_ids_order":["1397153754","1397153755","1397153756","1397153757","1397153759","1397153761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f12596be79d94324a87f8f9351363db4.jpg","text":"TemporaryFile(/tmp/multipartBody5529527666404433525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557043497,"filename":"image_01122025_03_38_54_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cfbbd0dde2a7d06465820e3b07e969dd.jpg","text":"TemporaryFile(/tmp/multipartBody44385515459008507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557043497,"filename":"image_01122025_03_39_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/1/637e9103391ce6e6bc7847fcb230f82f.jpg","text":"TemporaryFile(/tmp/multipartBody6739014718031698862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557043497,"filename":"image_01122025_03_39_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/1/f77bfbfa633e413f60c001ece56b4d0a.jpg","text":"TemporaryFile(/tmp/multipartBody6333317323613434162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557043497,"filename":"image_01122025_03_38_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/1/3afe911e695a3921b132f31563b9b827.jpg","text":"TemporaryFile(/tmp/multipartBody9078999945257738805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557043497,"filename":"image_01122025_03_38_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/1/4b93f8bc95d2aea2df49d4d1ccd1a6f6.jpg","text":"TemporaryFile(/tmp/multipartBody8272429091760114882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557043497,"filename":"image_01122025_03_39_04_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153756","file1":"1397153755","file0":"1397153754","file4":"1397153759","file5":"1397153761","file3":"1397153757"},"map_files_photo_id_array":[{"photo_id":"1397153761","filename":"file5"},{"photo_id":"1397153756","filename":"file2"},{"photo_id":"1397153759","filename":"file4"},{"photo_id":"1397153755","filename":"file1"},{"photo_id":"1397153754","filename":"file0"},{"photo_id":"1397153757","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153756":["hashtag1","hashtag2"]},{"1397153759":["hashtag1","hashtag2"]},{"1397153761":["hashtag1","hashtag2"]},{"1397153755":["hashtag1","hashtag2"]},{"1397153754":["hashtag1","hashtag2"]},{"1397153757":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153756, 1397153759, 1397153761, 1397153755, 1397153754, 1397153757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.792946577072144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 03:43:42.198505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_22_3666.jpg', '/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_27_2671.jpg', '/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_34_2600.jpg', '/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_36_2689.jpg', '/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_40_3274.jpg', '/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_42_2756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_22_3666.jpg
/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_27_2671.jpg
/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_34_2600.jpg
/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_36_2689.jpg
/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_40_3274.jpg
/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_42_2756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153770","1397153767","1397153769","1397153766","1397153771","1397153768"],"photo_ids_order":["1397153766","1397153767","1397153768","1397153769","1397153770","1397153771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7cff3d7259b9c3ac703daa8e21c01aa9.jpg","text":"TemporaryFile(/tmp/multipartBody1389680723851562162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557083068,"filename":"image_01112025_00_25_40_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/1/3f33a7c6162f0659b87c26d16b3ed5fc.jpg","text":"TemporaryFile(/tmp/multipartBody253439850039052844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557083068,"filename":"image_01112025_00_25_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/1/e4eb43ce1140233e6f51c10cd9014c1b.jpg","text":"TemporaryFile(/tmp/multipartBody364681495696710288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557083068,"filename":"image_01112025_00_25_36_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/77c3adf2ea6f1dda5a86ab5aec0dbb2b.jpg","text":"TemporaryFile(/tmp/multipartBody1691088519111203735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557083068,"filename":"image_01112025_00_25_22_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/1/b86e0000783f00af6884d80f5eb95ac1.jpg","text":"TemporaryFile(/tmp/multipartBody1153872266047429847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557083068,"filename":"image_01112025_00_25_42_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/1/38ff2db60f3b4dd9617ae741555f34d3.jpg","text":"TemporaryFile(/tmp/multipartBody6502404963830788808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557083068,"filename":"image_01112025_00_25_34_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153768","file1":"1397153767","file0":"1397153766","file4":"1397153770","file5":"1397153771","file3":"1397153769"},"map_files_photo_id_array":[{"photo_id":"1397153771","filename":"file5"},{"photo_id":"1397153768","filename":"file2"},{"photo_id":"1397153770","filename":"file4"},{"photo_id":"1397153767","filename":"file1"},{"photo_id":"1397153766","filename":"file0"},{"photo_id":"1397153769","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397153770":["hashtag1","hashtag2"]},{"1397153767":["hashtag1","hashtag2"]},{"1397153769":["hashtag1","hashtag2"]},{"1397153766":["hashtag1","hashtag2"]},{"1397153771":["hashtag1","hashtag2"]},{"1397153768":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397153770, 1397153767, 1397153769, 1397153766, 1397153771, 1397153768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.195966958999634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 03:44:22.513619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/39/image_01122025_03_39_34_9671.jpg', '/home/pi/Desktop/images/01122025/03/39/image_01122025_03_39_44_9877.jpg', '/home/pi/Desktop/images/01122025/03/39/image_01122025_03_39_54_9846.jpg', '/home/pi/Desktop/images/01122025/03/40/image_01122025_03_40_14_9613.jpg', '/home/pi/Desktop/images/01122025/03/40/image_01122025_03_40_34_10632.jpg', '/home/pi/Desktop/images/01122025/03/40/image_01122025_03_40_43_9138.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/39/image_01122025_03_39_34_9671.jpg
/home/pi/Desktop/images/01122025/03/39/image_01122025_03_39_44_9877.jpg
/home/pi/Desktop/images/01122025/03/39/image_01122025_03_39_54_9846.jpg
/home/pi/Desktop/images/01122025/03/40/image_01122025_03_40_14_9613.jpg
/home/pi/Desktop/images/01122025/03/40/image_01122025_03_40_34_10632.jpg
/home/pi/Desktop/images/01122025/03/40/image_01122025_03_40_43_9138.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153776","1397153785","1397153784","1397153778","1397153783","1397153780"],"photo_ids_order":["1397153776","1397153778","1397153780","1397153783","1397153784","1397153785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a8e4f6ad3f7a52910f733bcadb5a7a59.jpg","text":"TemporaryFile(/tmp/multipartBody6294975309751229440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557123308,"filename":"image_01122025_03_39_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/1/85becedeaf389e734666afa658d4194a.jpg","text":"TemporaryFile(/tmp/multipartBody2638231960669315873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557123308,"filename":"image_01122025_03_40_43_9138.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dfc6adf52ffa6e0f7300f232c7cef0fe.jpg","text":"TemporaryFile(/tmp/multipartBody5430769698032335605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557123308,"filename":"image_01122025_03_40_34_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/483bafe26d2e37ce314cc5b93e07d056.jpg","text":"TemporaryFile(/tmp/multipartBody865852583803614136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557123308,"filename":"image_01122025_03_39_44_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c188336c965336a8aea8aa0600f86ff5.jpg","text":"TemporaryFile(/tmp/multipartBody8880989405036423223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557123308,"filename":"image_01122025_03_40_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/1/f27e8496c0ba1aa5a44260bbb7f711af.jpg","text":"TemporaryFile(/tmp/multipartBody4947376240362454429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557123308,"filename":"image_01122025_03_39_54_9846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153780","file1":"1397153778","file0":"1397153776","file4":"1397153784","file5":"1397153785","file3":"1397153783"},"map_files_photo_id_array":[{"photo_id":"1397153785","filename":"file5"},{"photo_id":"1397153780","filename":"file2"},{"photo_id":"1397153784","filename":"file4"},{"photo_id":"1397153778","filename":"file1"},{"photo_id":"1397153776","filename":"file0"},{"photo_id":"1397153783","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153776":["hashtag1","hashtag2"]},{"1397153785":["hashtag1","hashtag2"]},{"1397153784":["hashtag1","hashtag2"]},{"1397153778":["hashtag1","hashtag2"]},{"1397153783":["hashtag1","hashtag2"]},{"1397153780":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153776, 1397153785, 1397153784, 1397153778, 1397153783, 1397153780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84971237182617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:45:03.298241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/40/image_01122025_03_40_54_10718.jpg', '/home/pi/Desktop/images/01122025/03/40/image_01122025_03_41_04_9750.jpg', '/home/pi/Desktop/images/01122025/03/41/image_01122025_03_41_14_9709.jpg', '/home/pi/Desktop/images/01122025/03/41/image_01122025_03_41_24_10716.jpg', '/home/pi/Desktop/images/01122025/03/41/image_01122025_03_41_34_9703.jpg', '/home/pi/Desktop/images/01122025/03/41/image_01122025_03_41_44_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/40/image_01122025_03_40_54_10718.jpg
/home/pi/Desktop/images/01122025/03/40/image_01122025_03_41_04_9750.jpg
/home/pi/Desktop/images/01122025/03/41/image_01122025_03_41_14_9709.jpg
/home/pi/Desktop/images/01122025/03/41/image_01122025_03_41_24_10716.jpg
/home/pi/Desktop/images/01122025/03/41/image_01122025_03_41_34_9703.jpg
/home/pi/Desktop/images/01122025/03/41/image_01122025_03_41_44_9590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153794","1397153788","1397153787","1397153792","1397153786","1397153789"],"photo_ids_order":["1397153786","1397153787","1397153788","1397153789","1397153792","1397153794"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d7a8a55442b3142219284dfa4e959797.jpg","text":"TemporaryFile(/tmp/multipartBody3396519689043927491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557164073,"filename":"image_01122025_03_41_44_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/08b0d06e4df079d94b08741803cb498e.jpg","text":"TemporaryFile(/tmp/multipartBody8960076453652520047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557164073,"filename":"image_01122025_03_41_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/1/9f45a67af47e17d92a62c74d1cc8cda3.jpg","text":"TemporaryFile(/tmp/multipartBody8152886970029996473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557164073,"filename":"image_01122025_03_41_04_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0b829009e5f0aec2c616e3e21c4e1d99.jpg","text":"TemporaryFile(/tmp/multipartBody1053493279850839807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557164073,"filename":"image_01122025_03_41_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/1/413792c2b7ff503b34c355a8ba2fddae.jpg","text":"TemporaryFile(/tmp/multipartBody1005386982678248555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557164073,"filename":"image_01122025_03_40_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/1/b85ec0807af0b77a548eaa1956f083ec.jpg","text":"TemporaryFile(/tmp/multipartBody7877315076144295584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557164073,"filename":"image_01122025_03_41_24_10716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153788","file1":"1397153787","file0":"1397153786","file4":"1397153792","file5":"1397153794","file3":"1397153789"},"map_files_photo_id_array":[{"photo_id":"1397153794","filename":"file5"},{"photo_id":"1397153788","filename":"file2"},{"photo_id":"1397153792","filename":"file4"},{"photo_id":"1397153787","filename":"file1"},{"photo_id":"1397153786","filename":"file0"},{"photo_id":"1397153789","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153794":["hashtag1","hashtag2"]},{"1397153788":["hashtag1","hashtag2"]},{"1397153787":["hashtag1","hashtag2"]},{"1397153792":["hashtag1","hashtag2"]},{"1397153786":["hashtag1","hashtag2"]},{"1397153789":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153794, 1397153788, 1397153787, 1397153792, 1397153786, 1397153789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76910352706909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 03:45:42.551761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_46_3783.jpg', '/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_49_2754.jpg', '/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_52_2641.jpg', '/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_54_2675.jpg', '/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_58_3597.jpg', '/home/pi/Desktop/images/01112025/00/25/image_01112025_00_26_00_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_46_3783.jpg
/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_49_2754.jpg
/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_52_2641.jpg
/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_54_2675.jpg
/home/pi/Desktop/images/01112025/00/25/image_01112025_00_25_58_3597.jpg
/home/pi/Desktop/images/01112025/00/25/image_01112025_00_26_00_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":["1397153797","1397153800","1397153799","1397153796","1397153798","1397153795"],"photo_ids_order":["1397153795","1397153796","1397153797","1397153798","1397153799","1397153800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/63b1378f65d30857213499ef0c8721d6.jpg","text":"TemporaryFile(/tmp/multipartBody912680832631254328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557203418,"filename":"image_01112025_00_25_52_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/db6d956fc03b0e86ec16929cc785e867.jpg","text":"TemporaryFile(/tmp/multipartBody3828231009206073105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557203418,"filename":"image_01112025_00_26_00_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/1/d2d66fa36ef6afac9bd7c477c26aa03e.jpg","text":"TemporaryFile(/tmp/multipartBody496383993343796098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557203418,"filename":"image_01112025_00_25_58_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/1/4e6635c5b1f762e26a9943acc754b3b8.jpg","text":"TemporaryFile(/tmp/multipartBody8283609968235200778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557203418,"filename":"image_01112025_00_25_49_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b6bac83f057fdf457e056798b664218b.jpg","text":"TemporaryFile(/tmp/multipartBody9056133885292875149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557203418,"filename":"image_01112025_00_25_54_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/1/7530e78711f0749c366d3ebb362067b8.jpg","text":"TemporaryFile(/tmp/multipartBody2899984565383749391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557203418,"filename":"image_01112025_00_25_46_3783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153797","file1":"1397153796","file0":"1397153795","file4":"1397153799","file5":"1397153800","file3":"1397153798"},"map_files_photo_id_array":[{"photo_id":"1397153800","filename":"file5"},{"photo_id":"1397153797","filename":"file2"},{"photo_id":"1397153799","filename":"file4"},{"photo_id":"1397153796","filename":"file1"},{"photo_id":"1397153795","filename":"file0"},{"photo_id":"1397153798","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397153797":["hashtag1","hashtag2"]},{"1397153800":["hashtag1","hashtag2"]},{"1397153799":["hashtag1","hashtag2"]},{"1397153796":["hashtag1","hashtag2"]},{"1397153798":["hashtag1","hashtag2"]},{"1397153795":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397153797, 1397153800, 1397153799, 1397153796, 1397153798, 1397153795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.401652812957764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 03:46:22.785814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/41/image_01122025_03_41_54_10737.jpg', '/home/pi/Desktop/images/01122025/03/41/image_01122025_03_42_04_9575.jpg', '/home/pi/Desktop/images/01122025/03/42/image_01122025_03_42_34_10593.jpg', '/home/pi/Desktop/images/01122025/03/42/image_01122025_03_42_44_9619.jpg', '/home/pi/Desktop/images/01122025/03/42/image_01122025_03_42_53_9770.jpg', '/home/pi/Desktop/images/01122025/03/42/image_01122025_03_43_04_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/41/image_01122025_03_41_54_10737.jpg
/home/pi/Desktop/images/01122025/03/41/image_01122025_03_42_04_9575.jpg
/home/pi/Desktop/images/01122025/03/42/image_01122025_03_42_34_10593.jpg
/home/pi/Desktop/images/01122025/03/42/image_01122025_03_42_44_9619.jpg
/home/pi/Desktop/images/01122025/03/42/image_01122025_03_42_53_9770.jpg
/home/pi/Desktop/images/01122025/03/42/image_01122025_03_43_04_10630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153807","1397153809","1397153803","1397153806","1397153805","1397153808"],"photo_ids_order":["1397153803","1397153805","1397153806","1397153807","1397153808","1397153809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b96d947435e975df2fdc87d756057728.jpg","text":"TemporaryFile(/tmp/multipartBody4553183250258715192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557243525,"filename":"image_01122025_03_42_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/1/ec3c205c5802bb0c356e16648da4c97c.jpg","text":"TemporaryFile(/tmp/multipartBody3172301872329070085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557243525,"filename":"image_01122025_03_43_04_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/809bb966593060715da66cbaabb824b1.jpg","text":"TemporaryFile(/tmp/multipartBody1652849099808598750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557243525,"filename":"image_01122025_03_41_54_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7c942ae074da202359c9a9e449384bd4.jpg","text":"TemporaryFile(/tmp/multipartBody8302433389756923337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557243525,"filename":"image_01122025_03_42_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/1/6d3ac658dc0bce4dcef41dc270763c5b.jpg","text":"TemporaryFile(/tmp/multipartBody7591064935949889409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557243525,"filename":"image_01122025_03_42_04_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/493109ae8b8e36b9a86d77ab46ecbc2b.jpg","text":"TemporaryFile(/tmp/multipartBody2090882200611872583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557243525,"filename":"image_01122025_03_42_53_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153806","file1":"1397153805","file0":"1397153803","file4":"1397153808","file5":"1397153809","file3":"1397153807"},"map_files_photo_id_array":[{"photo_id":"1397153809","filename":"file5"},{"photo_id":"1397153806","filename":"file2"},{"photo_id":"1397153808","filename":"file4"},{"photo_id":"1397153805","filename":"file1"},{"photo_id":"1397153803","filename":"file0"},{"photo_id":"1397153807","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153807":["hashtag1","hashtag2"]},{"1397153809":["hashtag1","hashtag2"]},{"1397153803":["hashtag1","hashtag2"]},{"1397153806":["hashtag1","hashtag2"]},{"1397153805":["hashtag1","hashtag2"]},{"1397153808":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153807, 1397153809, 1397153803, 1397153806, 1397153805, 1397153808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70049786567688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:47:02.716025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/43/image_01122025_03_43_14_9682.jpg', '/home/pi/Desktop/images/01122025/03/43/image_01122025_03_43_24_10604.jpg', '/home/pi/Desktop/images/01122025/03/43/image_01122025_03_43_34_9528.jpg', '/home/pi/Desktop/images/01122025/03/43/image_01122025_03_43_44_9688.jpg', '/home/pi/Desktop/images/01122025/03/43/image_01122025_03_43_54_10684.jpg', '/home/pi/Desktop/images/01122025/03/43/image_01122025_03_44_04_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/43/image_01122025_03_43_14_9682.jpg
/home/pi/Desktop/images/01122025/03/43/image_01122025_03_43_24_10604.jpg
/home/pi/Desktop/images/01122025/03/43/image_01122025_03_43_34_9528.jpg
/home/pi/Desktop/images/01122025/03/43/image_01122025_03_43_44_9688.jpg
/home/pi/Desktop/images/01122025/03/43/image_01122025_03_43_54_10684.jpg
/home/pi/Desktop/images/01122025/03/43/image_01122025_03_44_04_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":["1397153810","1397153813","1397153812","1397153815","1397153818","1397153811"],"photo_ids_order":["1397153810","1397153811","1397153812","1397153813","1397153815","1397153818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/11814235d5b9491e9c1027db24d3b94d.jpg","text":"TemporaryFile(/tmp/multipartBody3806851609731326114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557283496,"filename":"image_01122025_03_43_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/1/32df1de3b344e674d5eb5bdaaf30869c.jpg","text":"TemporaryFile(/tmp/multipartBody4594746264191536871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557283496,"filename":"image_01122025_03_43_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/1/70197c45be63b42e9254757181278124.jpg","text":"TemporaryFile(/tmp/multipartBody3851358949404400729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557283496,"filename":"image_01122025_03_43_34_9528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/db6b906e2b2656bdf9c3ad0322d37c5e.jpg","text":"TemporaryFile(/tmp/multipartBody6286848116970104293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557283496,"filename":"image_01122025_03_43_54_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/38704a57f383fcd56bb1353b12ebc1e3.jpg","text":"TemporaryFile(/tmp/multipartBody4767300353201989654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557283496,"filename":"image_01122025_03_44_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/1/6176150991941261b2e011e3186ad528.jpg","text":"TemporaryFile(/tmp/multipartBody8036150821554175005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557283496,"filename":"image_01122025_03_43_24_10604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153812","file1":"1397153811","file0":"1397153810","file4":"1397153815","file5":"1397153818","file3":"1397153813"},"map_files_photo_id_array":[{"photo_id":"1397153818","filename":"file5"},{"photo_id":"1397153812","filename":"file2"},{"photo_id":"1397153815","filename":"file4"},{"photo_id":"1397153811","filename":"file1"},{"photo_id":"1397153810","filename":"file0"},{"photo_id":"1397153813","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153810":["hashtag1","hashtag2"]},{"1397153813":["hashtag1","hashtag2"]},{"1397153812":["hashtag1","hashtag2"]},{"1397153815":["hashtag1","hashtag2"]},{"1397153818":["hashtag1","hashtag2"]},{"1397153811":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153810, 1397153813, 1397153812, 1397153815, 1397153818, 1397153811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.593204498291016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 03:47:41.888375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/26/image_01112025_00_26_04_3677.jpg', '/home/pi/Desktop/images/01112025/00/26/image_01112025_00_26_07_2621.jpg', '/home/pi/Desktop/images/01112025/00/26/image_01112025_00_26_25_3736.jpg', '/home/pi/Desktop/images/01112025/00/26/image_01112025_00_26_28_2672.jpg', '/home/pi/Desktop/images/01112025/00/26/image_01112025_00_26_31_2735.jpg', '/home/pi/Desktop/images/01112025/00/26/image_01112025_00_26_33_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/26/image_01112025_00_26_04_3677.jpg
/home/pi/Desktop/images/01112025/00/26/image_01112025_00_26_07_2621.jpg
/home/pi/Desktop/images/01112025/00/26/image_01112025_00_26_25_3736.jpg
/home/pi/Desktop/images/01112025/00/26/image_01112025_00_26_28_2672.jpg
/home/pi/Desktop/images/01112025/00/26/image_01112025_00_26_31_2735.jpg
/home/pi/Desktop/images/01112025/00/26/image_01112025_00_26_33_2717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153822","1397153825","1397153821","1397153824","1397153823","1397153820"],"photo_ids_order":["1397153820","1397153821","1397153822","1397153823","1397153824","1397153825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e9d9d2d9d90952f551aab066d3643dea.jpg","text":"TemporaryFile(/tmp/multipartBody5256279356219002947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557322766,"filename":"image_01112025_00_26_25_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9e57b12e7e19d1ef1757821cc28bda17.jpg","text":"TemporaryFile(/tmp/multipartBody4743076608474496979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557322766,"filename":"image_01112025_00_26_33_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9146c96bd60dd717bc0b5d446e0d3746.jpg","text":"TemporaryFile(/tmp/multipartBody7817879861792235079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557322766,"filename":"image_01112025_00_26_07_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8785b9a3251132967ad3b94ec19c7735.jpg","text":"TemporaryFile(/tmp/multipartBody7733506470878471066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557322766,"filename":"image_01112025_00_26_31_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2f14be47124b142bd721fe1159d04868.jpg","text":"TemporaryFile(/tmp/multipartBody555495365288792069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557322766,"filename":"image_01112025_00_26_28_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/1/d2a0c478d6e3b1bad6eefd8ad8f8b207.jpg","text":"TemporaryFile(/tmp/multipartBody5009808595705267375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557322766,"filename":"image_01112025_00_26_04_3677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153822","file1":"1397153821","file0":"1397153820","file4":"1397153824","file5":"1397153825","file3":"1397153823"},"map_files_photo_id_array":[{"photo_id":"1397153825","filename":"file5"},{"photo_id":"1397153822","filename":"file2"},{"photo_id":"1397153824","filename":"file4"},{"photo_id":"1397153821","filename":"file1"},{"photo_id":"1397153820","filename":"file0"},{"photo_id":"1397153823","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397153822":["hashtag1","hashtag2"]},{"1397153825":["hashtag1","hashtag2"]},{"1397153821":["hashtag1","hashtag2"]},{"1397153824":["hashtag1","hashtag2"]},{"1397153823":["hashtag1","hashtag2"]},{"1397153820":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397153822, 1397153825, 1397153821, 1397153824, 1397153823, 1397153820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29994535446167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 03:48:22.058567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/44/image_01122025_03_44_15_11433.jpg', '/home/pi/Desktop/images/01122025/03/44/image_01122025_03_44_24_8678.jpg', '/home/pi/Desktop/images/01122025/03/44/image_01122025_03_44_34_9749.jpg', '/home/pi/Desktop/images/01122025/03/44/image_01122025_03_44_44_10626.jpg', '/home/pi/Desktop/images/01122025/03/44/image_01122025_03_44_54_9352.jpg', '/home/pi/Desktop/images/01122025/03/44/image_01122025_03_45_04_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/44/image_01122025_03_44_15_11433.jpg
/home/pi/Desktop/images/01122025/03/44/image_01122025_03_44_24_8678.jpg
/home/pi/Desktop/images/01122025/03/44/image_01122025_03_44_34_9749.jpg
/home/pi/Desktop/images/01122025/03/44/image_01122025_03_44_44_10626.jpg
/home/pi/Desktop/images/01122025/03/44/image_01122025_03_44_54_9352.jpg
/home/pi/Desktop/images/01122025/03/44/image_01122025_03_45_04_9778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153834","1397153830","1397153833","1397153827","1397153835","1397153832"],"photo_ids_order":["1397153827","1397153830","1397153832","1397153833","1397153834","1397153835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dc2a29dfed1bbdf3e6b672782e1d6c83.jpg","text":"TemporaryFile(/tmp/multipartBody3260303424496828169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557362807,"filename":"image_01122025_03_44_54_9352.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/18874d6deec84d7d9e2373fc9a80ff2c.jpg","text":"TemporaryFile(/tmp/multipartBody5764042424915193855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557362807,"filename":"image_01122025_03_44_24_8678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1bfaf76bead7dea004b6ad4f1b312a00.jpg","text":"TemporaryFile(/tmp/multipartBody8961849603133102533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557362807,"filename":"image_01122025_03_44_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/1/babffc7d2569beb4c4d580107ea46d9f.jpg","text":"TemporaryFile(/tmp/multipartBody6102874315470930154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557362807,"filename":"image_01122025_03_44_15_11433.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3dffae859228a07ea25ac058223e049d.jpg","text":"TemporaryFile(/tmp/multipartBody156118554853323250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557362807,"filename":"image_01122025_03_45_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/1/059445b740a8d73b96954b60ff9a501a.jpg","text":"TemporaryFile(/tmp/multipartBody1767540761283188103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557362807,"filename":"image_01122025_03_44_34_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153832","file1":"1397153830","file0":"1397153827","file4":"1397153834","file5":"1397153835","file3":"1397153833"},"map_files_photo_id_array":[{"photo_id":"1397153835","filename":"file5"},{"photo_id":"1397153832","filename":"file2"},{"photo_id":"1397153834","filename":"file4"},{"photo_id":"1397153830","filename":"file1"},{"photo_id":"1397153827","filename":"file0"},{"photo_id":"1397153833","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153834":["hashtag1","hashtag2"]},{"1397153830":["hashtag1","hashtag2"]},{"1397153833":["hashtag1","hashtag2"]},{"1397153827":["hashtag1","hashtag2"]},{"1397153835":["hashtag1","hashtag2"]},{"1397153832":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153834, 1397153830, 1397153833, 1397153827, 1397153835, 1397153832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92124962806702 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:49:03.230356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/45/image_01122025_03_45_13_9955.jpg', '/home/pi/Desktop/images/01122025/03/45/image_01122025_03_45_24_10055.jpg', '/home/pi/Desktop/images/01122025/03/45/image_01122025_03_45_54_9798.jpg', '/home/pi/Desktop/images/01122025/03/45/image_01122025_03_46_04_9856.jpg', '/home/pi/Desktop/images/01122025/03/46/image_01122025_03_46_14_10737.jpg', '/home/pi/Desktop/images/01122025/03/46/image_01122025_03_46_24_9837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/45/image_01122025_03_45_13_9955.jpg
/home/pi/Desktop/images/01122025/03/45/image_01122025_03_45_24_10055.jpg
/home/pi/Desktop/images/01122025/03/45/image_01122025_03_45_54_9798.jpg
/home/pi/Desktop/images/01122025/03/45/image_01122025_03_46_04_9856.jpg
/home/pi/Desktop/images/01122025/03/46/image_01122025_03_46_14_10737.jpg
/home/pi/Desktop/images/01122025/03/46/image_01122025_03_46_24_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":["1397153840","1397153837","1397153842","1397153836","1397153844","1397153838"],"photo_ids_order":["1397153836","1397153837","1397153838","1397153840","1397153842","1397153844"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b59f93f006c3e0787fb63332a94d4b08.jpg","text":"TemporaryFile(/tmp/multipartBody351943217177412678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557404175,"filename":"image_01122025_03_46_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/1/a884e609aef2331f016ea6204ed70b68.jpg","text":"TemporaryFile(/tmp/multipartBody2675640833831844005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557404175,"filename":"image_01122025_03_45_24_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/1/38a9ca886e1cb3b3e65d2e0368f4e2b1.jpg","text":"TemporaryFile(/tmp/multipartBody3874617019636630218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557404175,"filename":"image_01122025_03_46_14_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/1/e49923d237f896cf696661d8f64b5e4e.jpg","text":"TemporaryFile(/tmp/multipartBody4248676672983148324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557404175,"filename":"image_01122025_03_45_13_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/1/90ec1ba5728c7a9456a8166b5ce52a6f.jpg","text":"TemporaryFile(/tmp/multipartBody3891951700113591767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557404175,"filename":"image_01122025_03_46_24_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b13205544eccf20d42bfaa4281d069f4.jpg","text":"TemporaryFile(/tmp/multipartBody1045233980831456462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557404175,"filename":"image_01122025_03_45_54_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153838","file1":"1397153837","file0":"1397153836","file4":"1397153842","file5":"1397153844","file3":"1397153840"},"map_files_photo_id_array":[{"photo_id":"1397153844","filename":"file5"},{"photo_id":"1397153838","filename":"file2"},{"photo_id":"1397153842","filename":"file4"},{"photo_id":"1397153837","filename":"file1"},{"photo_id":"1397153836","filename":"file0"},{"photo_id":"1397153840","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153840":["hashtag1","hashtag2"]},{"1397153837":["hashtag1","hashtag2"]},{"1397153842":["hashtag1","hashtag2"]},{"1397153836":["hashtag1","hashtag2"]},{"1397153844":["hashtag1","hashtag2"]},{"1397153838":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153840, 1397153837, 1397153842, 1397153836, 1397153844, 1397153838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.395254135131836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 03:49:42.313150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/26/image_01112025_00_26_37_3625.jpg', '/home/pi/Desktop/images/01112025/00/26/image_01112025_00_26_40_2646.jpg', '/home/pi/Desktop/images/01112025/00/26/image_01112025_00_26_49_3672.jpg', '/home/pi/Desktop/images/01112025/00/26/image_01112025_00_26_52_2621.jpg', '/home/pi/Desktop/images/01112025/00/26/image_01112025_00_26_58_3524.jpg', '/home/pi/Desktop/images/01112025/00/26/image_01112025_00_27_00_2526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/26/image_01112025_00_26_37_3625.jpg
/home/pi/Desktop/images/01112025/00/26/image_01112025_00_26_40_2646.jpg
/home/pi/Desktop/images/01112025/00/26/image_01112025_00_26_49_3672.jpg
/home/pi/Desktop/images/01112025/00/26/image_01112025_00_26_52_2621.jpg
/home/pi/Desktop/images/01112025/00/26/image_01112025_00_26_58_3524.jpg
/home/pi/Desktop/images/01112025/00/26/image_01112025_00_27_00_2526.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153849","1397153851","1397153848","1397153850","1397153847","1397153852"],"photo_ids_order":["1397153847","1397153848","1397153849","1397153850","1397153851","1397153852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b8ccaf68245501fccbbbba1dd67d542c.jpg","text":"TemporaryFile(/tmp/multipartBody3559790781040400970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557443201,"filename":"image_01112025_00_26_49_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/1/99c6c3e2f27343318d6e1c78e068880b.jpg","text":"TemporaryFile(/tmp/multipartBody2998750023653017640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557443201,"filename":"image_01112025_00_26_58_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/1/cb018bd7330c086ebc992f4d0eac9262.jpg","text":"TemporaryFile(/tmp/multipartBody5308748763027005698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557443201,"filename":"image_01112025_00_26_40_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/1/d1b299deaf45daa732c464c3f35d8b7c.jpg","text":"TemporaryFile(/tmp/multipartBody1805570734861559224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557443201,"filename":"image_01112025_00_26_52_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/1/eafc7b74259669fa6dc834f1026dd0c4.jpg","text":"TemporaryFile(/tmp/multipartBody4689972909293108724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557443201,"filename":"image_01112025_00_26_37_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/1/458eddf5ea9a257e96b7bf0757010979.jpg","text":"TemporaryFile(/tmp/multipartBody5502922336378101865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557443201,"filename":"image_01112025_00_27_00_2526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153849","file1":"1397153848","file0":"1397153847","file4":"1397153851","file5":"1397153852","file3":"1397153850"},"map_files_photo_id_array":[{"photo_id":"1397153852","filename":"file5"},{"photo_id":"1397153849","filename":"file2"},{"photo_id":"1397153851","filename":"file4"},{"photo_id":"1397153848","filename":"file1"},{"photo_id":"1397153847","filename":"file0"},{"photo_id":"1397153850","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397153849":["hashtag1","hashtag2"]},{"1397153851":["hashtag1","hashtag2"]},{"1397153848":["hashtag1","hashtag2"]},{"1397153850":["hashtag1","hashtag2"]},{"1397153847":["hashtag1","hashtag2"]},{"1397153852":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397153849, 1397153851, 1397153848, 1397153850, 1397153847, 1397153852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06394672393799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 03:50:22.461574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/46/image_01122025_03_46_34_9675.jpg', '/home/pi/Desktop/images/01122025/03/46/image_01122025_03_46_44_9811.jpg', '/home/pi/Desktop/images/01122025/03/46/image_01122025_03_46_54_9795.jpg', '/home/pi/Desktop/images/01122025/03/46/image_01122025_03_47_04_10612.jpg', '/home/pi/Desktop/images/01122025/03/47/image_01122025_03_47_24_9718.jpg', '/home/pi/Desktop/images/01122025/03/47/image_01122025_03_47_34_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/46/image_01122025_03_46_34_9675.jpg
/home/pi/Desktop/images/01122025/03/46/image_01122025_03_46_44_9811.jpg
/home/pi/Desktop/images/01122025/03/46/image_01122025_03_46_54_9795.jpg
/home/pi/Desktop/images/01122025/03/46/image_01122025_03_47_04_10612.jpg
/home/pi/Desktop/images/01122025/03/47/image_01122025_03_47_24_9718.jpg
/home/pi/Desktop/images/01122025/03/47/image_01122025_03_47_34_10686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153858","1397153860","1397153854","1397153862","1397153856","1397153865"],"photo_ids_order":["1397153854","1397153856","1397153858","1397153860","1397153862","1397153865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5e55474ecefcbe3eec56da98fce6c412.jpg","text":"TemporaryFile(/tmp/multipartBody9109505572886930746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557483191,"filename":"image_01122025_03_46_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/1/b693d95065f15e5b8004993621a8b815.jpg","text":"TemporaryFile(/tmp/multipartBody8870430007795044097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557483191,"filename":"image_01122025_03_47_04_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/afd1d5bf93a19415007cb1a1a9a55b3a.jpg","text":"TemporaryFile(/tmp/multipartBody6947283140226593999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557483191,"filename":"image_01122025_03_46_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/1/9c7b3e6447587adf3131c0deef3d8c68.jpg","text":"TemporaryFile(/tmp/multipartBody7501124805463337676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557483191,"filename":"image_01122025_03_47_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/1/cdf23b1bbfc395b5846b65b812d3bc10.jpg","text":"TemporaryFile(/tmp/multipartBody2887988545463799136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557483191,"filename":"image_01122025_03_46_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/1/e506d79a810cdc204daf9e5928cc25a5.jpg","text":"TemporaryFile(/tmp/multipartBody717030539671282808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557483191,"filename":"image_01122025_03_47_34_10686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153858","file1":"1397153856","file0":"1397153854","file4":"1397153862","file5":"1397153865","file3":"1397153860"},"map_files_photo_id_array":[{"photo_id":"1397153865","filename":"file5"},{"photo_id":"1397153858","filename":"file2"},{"photo_id":"1397153862","filename":"file4"},{"photo_id":"1397153856","filename":"file1"},{"photo_id":"1397153854","filename":"file0"},{"photo_id":"1397153860","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153858":["hashtag1","hashtag2"]},{"1397153860":["hashtag1","hashtag2"]},{"1397153854":["hashtag1","hashtag2"]},{"1397153862":["hashtag1","hashtag2"]},{"1397153856":["hashtag1","hashtag2"]},{"1397153865":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153858, 1397153860, 1397153854, 1397153862, 1397153856, 1397153865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39912962913513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:51:03.426851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/47/image_01122025_03_47_54_9760.jpg', '/home/pi/Desktop/images/01122025/03/47/image_01122025_03_48_04_10635.jpg', '/home/pi/Desktop/images/01122025/03/48/image_01122025_03_48_24_9657.jpg', '/home/pi/Desktop/images/01122025/03/48/image_01122025_03_48_34_10605.jpg', '/home/pi/Desktop/images/01122025/03/48/image_01122025_03_48_44_9597.jpg', '/home/pi/Desktop/images/01122025/03/49/image_01122025_03_49_14_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/47/image_01122025_03_47_54_9760.jpg
/home/pi/Desktop/images/01122025/03/47/image_01122025_03_48_04_10635.jpg
/home/pi/Desktop/images/01122025/03/48/image_01122025_03_48_24_9657.jpg
/home/pi/Desktop/images/01122025/03/48/image_01122025_03_48_34_10605.jpg
/home/pi/Desktop/images/01122025/03/48/image_01122025_03_48_44_9597.jpg
/home/pi/Desktop/images/01122025/03/49/image_01122025_03_49_14_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":["1397153869","1397153866","1397153871","1397153874","1397153868","1397153867"],"photo_ids_order":["1397153866","1397153867","1397153868","1397153869","1397153871","1397153874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9b7bd774dacfa333c6902e83b0d39482.jpg","text":"TemporaryFile(/tmp/multipartBody2549792627066809685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557524236,"filename":"image_01122025_03_48_34_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2def62f285115cd932a4c2eab67cf88a.jpg","text":"TemporaryFile(/tmp/multipartBody7050934286698356645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557524236,"filename":"image_01122025_03_47_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/1/b6bf2498e2156f300f5756ea22ee6cd8.jpg","text":"TemporaryFile(/tmp/multipartBody2759775107152755903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557524236,"filename":"image_01122025_03_48_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/1/fa0b3534843f7d7a45d6c8d33f05ff1f.jpg","text":"TemporaryFile(/tmp/multipartBody3783018308750798689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557524236,"filename":"image_01122025_03_49_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/1/466f4325f6a1d5f885b8e3320038cc83.jpg","text":"TemporaryFile(/tmp/multipartBody5571033252558771036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557524236,"filename":"image_01122025_03_48_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/1/f5c480d23e27518543d9e1f42f94b4b5.jpg","text":"TemporaryFile(/tmp/multipartBody2940888830912223295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557524236,"filename":"image_01122025_03_48_04_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153868","file1":"1397153867","file0":"1397153866","file4":"1397153871","file5":"1397153874","file3":"1397153869"},"map_files_photo_id_array":[{"photo_id":"1397153874","filename":"file5"},{"photo_id":"1397153868","filename":"file2"},{"photo_id":"1397153871","filename":"file4"},{"photo_id":"1397153867","filename":"file1"},{"photo_id":"1397153866","filename":"file0"},{"photo_id":"1397153869","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153869":["hashtag1","hashtag2"]},{"1397153866":["hashtag1","hashtag2"]},{"1397153871":["hashtag1","hashtag2"]},{"1397153874":["hashtag1","hashtag2"]},{"1397153868":["hashtag1","hashtag2"]},{"1397153867":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153869, 1397153866, 1397153871, 1397153874, 1397153868, 1397153867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08615064620972 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 03:51:42.735539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_04_3723.jpg', '/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_09_2708.jpg', '/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_13_3541.jpg', '/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_16_2895.jpg', '/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_19_2844.jpg', '/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_21_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_04_3723.jpg
/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_09_2708.jpg
/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_13_3541.jpg
/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_16_2895.jpg
/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_19_2844.jpg
/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_21_2588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153876","1397153881","1397153878","1397153880","1397153877","1397153879"],"photo_ids_order":["1397153876","1397153877","1397153878","1397153879","1397153880","1397153881"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/07f3a0211078772a27a5489c47645224.jpg","text":"TemporaryFile(/tmp/multipartBody5639510898577139060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557563580,"filename":"image_01112025_00_27_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/1/815cfa990c5c4938d79618d8cdb1b091.jpg","text":"TemporaryFile(/tmp/multipartBody6620797971026224497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557563580,"filename":"image_01112025_00_27_21_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/1/63d13818865604121fe6e1e59926bb33.jpg","text":"TemporaryFile(/tmp/multipartBody3413394388812996114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557563580,"filename":"image_01112025_00_27_13_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/1/c5b70d1eb5cdc0d2021c97d3254ce39a.jpg","text":"TemporaryFile(/tmp/multipartBody7403628360301318029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557563580,"filename":"image_01112025_00_27_19_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/1/498a4190c1e3bb235b313f330ad29ac2.jpg","text":"TemporaryFile(/tmp/multipartBody263144244885988664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557563580,"filename":"image_01112025_00_27_09_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/1/f1a51e17875dbfc96d221e29254e1155.jpg","text":"TemporaryFile(/tmp/multipartBody737356856683149432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557563580,"filename":"image_01112025_00_27_16_2895.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153878","file1":"1397153877","file0":"1397153876","file4":"1397153880","file5":"1397153881","file3":"1397153879"},"map_files_photo_id_array":[{"photo_id":"1397153881","filename":"file5"},{"photo_id":"1397153878","filename":"file2"},{"photo_id":"1397153880","filename":"file4"},{"photo_id":"1397153877","filename":"file1"},{"photo_id":"1397153876","filename":"file0"},{"photo_id":"1397153879","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397153876":["hashtag1","hashtag2"]},{"1397153881":["hashtag1","hashtag2"]},{"1397153878":["hashtag1","hashtag2"]},{"1397153880":["hashtag1","hashtag2"]},{"1397153877":["hashtag1","hashtag2"]},{"1397153879":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397153876, 1397153881, 1397153878, 1397153880, 1397153877, 1397153879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.381046295166016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 03:52:21.895872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/49/image_01122025_03_49_24_9702.jpg', '/home/pi/Desktop/images/01122025/03/49/image_01122025_03_49_33_9719.jpg', '/home/pi/Desktop/images/01122025/03/49/image_01122025_03_49_44_10882.jpg', '/home/pi/Desktop/images/01122025/03/49/image_01122025_03_49_54_9577.jpg', '/home/pi/Desktop/images/01122025/03/49/image_01122025_03_50_04_9752.jpg', '/home/pi/Desktop/images/01122025/03/50/image_01122025_03_50_14_9899.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/49/image_01122025_03_49_24_9702.jpg
/home/pi/Desktop/images/01122025/03/49/image_01122025_03_49_33_9719.jpg
/home/pi/Desktop/images/01122025/03/49/image_01122025_03_49_44_10882.jpg
/home/pi/Desktop/images/01122025/03/49/image_01122025_03_49_54_9577.jpg
/home/pi/Desktop/images/01122025/03/49/image_01122025_03_50_04_9752.jpg
/home/pi/Desktop/images/01122025/03/50/image_01122025_03_50_14_9899.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153887","1397153890","1397153884","1397153886","1397153889","1397153888"],"photo_ids_order":["1397153884","1397153886","1397153887","1397153888","1397153889","1397153890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e87bfde2800937c86015a9c420b4fbfa.jpg","text":"TemporaryFile(/tmp/multipartBody1431635380151116120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557602654,"filename":"image_01122025_03_49_44_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/1/3c547b4c4ba3da5ce7fb9efe0ce30556.jpg","text":"TemporaryFile(/tmp/multipartBody3322484492393313844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557602654,"filename":"image_01122025_03_50_14_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/1/2515b39340ea8b5e06e66e516fca61f6.jpg","text":"TemporaryFile(/tmp/multipartBody3861174120618863483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557602654,"filename":"image_01122025_03_49_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/1/c6cb045c05e31dccf82d27cc52625d67.jpg","text":"TemporaryFile(/tmp/multipartBody7575288911359819927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557602654,"filename":"image_01122025_03_49_33_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/1/405c08df24fec82f9187e2d00f0e90a6.jpg","text":"TemporaryFile(/tmp/multipartBody4555162397333776725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557602654,"filename":"image_01122025_03_50_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/1/ef0c1f4e5b94af049d7965d3e42d9d54.jpg","text":"TemporaryFile(/tmp/multipartBody743561295138470395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557602654,"filename":"image_01122025_03_49_54_9577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153887","file1":"1397153886","file0":"1397153884","file4":"1397153889","file5":"1397153890","file3":"1397153888"},"map_files_photo_id_array":[{"photo_id":"1397153890","filename":"file5"},{"photo_id":"1397153887","filename":"file2"},{"photo_id":"1397153889","filename":"file4"},{"photo_id":"1397153886","filename":"file1"},{"photo_id":"1397153884","filename":"file0"},{"photo_id":"1397153888","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153887":["hashtag1","hashtag2"]},{"1397153890":["hashtag1","hashtag2"]},{"1397153884":["hashtag1","hashtag2"]},{"1397153886":["hashtag1","hashtag2"]},{"1397153889":["hashtag1","hashtag2"]},{"1397153888":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153887, 1397153890, 1397153884, 1397153886, 1397153889, 1397153888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27956438064575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:53:02.772158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/50/image_01122025_03_50_24_10688.jpg', '/home/pi/Desktop/images/01122025/03/50/image_01122025_03_50_34_9791.jpg', '/home/pi/Desktop/images/01122025/03/50/image_01122025_03_50_54_10578.jpg', '/home/pi/Desktop/images/01122025/03/51/image_01122025_03_51_14_9797.jpg', '/home/pi/Desktop/images/01122025/03/51/image_01122025_03_51_24_10615.jpg', '/home/pi/Desktop/images/01122025/03/51/image_01122025_03_51_34_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/50/image_01122025_03_50_24_10688.jpg
/home/pi/Desktop/images/01122025/03/50/image_01122025_03_50_34_9791.jpg
/home/pi/Desktop/images/01122025/03/50/image_01122025_03_50_54_10578.jpg
/home/pi/Desktop/images/01122025/03/51/image_01122025_03_51_14_9797.jpg
/home/pi/Desktop/images/01122025/03/51/image_01122025_03_51_24_10615.jpg
/home/pi/Desktop/images/01122025/03/51/image_01122025_03_51_34_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153893","1397153896","1397153898","1397153892","1397153891","1397153894"],"photo_ids_order":["1397153891","1397153892","1397153893","1397153894","1397153896","1397153898"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/95c68f7b7a4c9e49934f79163117da28.jpg","text":"TemporaryFile(/tmp/multipartBody181337775978339264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557643569,"filename":"image_01122025_03_50_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/1/c3038c1a35a3ed092d8bdfc326393f76.jpg","text":"TemporaryFile(/tmp/multipartBody6384883639767384741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557643569,"filename":"image_01122025_03_51_24_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6fa3dc917796b65b476c2504597c6afe.jpg","text":"TemporaryFile(/tmp/multipartBody6707807759829800199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557643569,"filename":"image_01122025_03_51_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/1/99d4e97ac6440f6edc91503d38af0c88.jpg","text":"TemporaryFile(/tmp/multipartBody5329330456253538152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557643569,"filename":"image_01122025_03_50_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/1/ef7d6bc63016b502535c2e1aa9055473.jpg","text":"TemporaryFile(/tmp/multipartBody3743243724373803450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557643569,"filename":"image_01122025_03_50_24_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a818df8ba3d5674f1eab7f04b186a322.jpg","text":"TemporaryFile(/tmp/multipartBody7715461336575665359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557643569,"filename":"image_01122025_03_51_14_9797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153893","file1":"1397153892","file0":"1397153891","file4":"1397153896","file5":"1397153898","file3":"1397153894"},"map_files_photo_id_array":[{"photo_id":"1397153898","filename":"file5"},{"photo_id":"1397153893","filename":"file2"},{"photo_id":"1397153896","filename":"file4"},{"photo_id":"1397153892","filename":"file1"},{"photo_id":"1397153891","filename":"file0"},{"photo_id":"1397153894","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153893":["hashtag1","hashtag2"]},{"1397153896":["hashtag1","hashtag2"]},{"1397153898":["hashtag1","hashtag2"]},{"1397153892":["hashtag1","hashtag2"]},{"1397153891":["hashtag1","hashtag2"]},{"1397153894":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153893, 1397153896, 1397153898, 1397153892, 1397153891, 1397153894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.154409885406494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 03:53:42.092170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_25_3636.jpg', '/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_30_2731.jpg', '/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_37_2607.jpg', '/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_39_2681.jpg', '/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_43_3676.jpg', '/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_46_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_25_3636.jpg
/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_30_2731.jpg
/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_37_2607.jpg
/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_39_2681.jpg
/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_43_3676.jpg
/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_46_2683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153903","1397153906","1397153908","1397153905","1397153904","1397153907"],"photo_ids_order":["1397153903","1397153904","1397153905","1397153906","1397153907","1397153908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/45ec8f11fe80bea45b2921ad88a78ca7.jpg","text":"TemporaryFile(/tmp/multipartBody1555811351066775750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557682934,"filename":"image_01112025_00_27_25_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/1/d1f051dd592038913301c8fb29b1cea5.jpg","text":"TemporaryFile(/tmp/multipartBody4861347523217455802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557682934,"filename":"image_01112025_00_27_39_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/1/1a6052f7e8eac90fda360e38ab6f99f1.jpg","text":"TemporaryFile(/tmp/multipartBody8409157912471861386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557682934,"filename":"image_01112025_00_27_46_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c7d71e2d9079a3d49f397deb0ade6d9f.jpg","text":"TemporaryFile(/tmp/multipartBody66155852483789231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557682934,"filename":"image_01112025_00_27_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/1/3a1ea173db6568cb956e5c9889cb78ad.jpg","text":"TemporaryFile(/tmp/multipartBody1547983577313583381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557682934,"filename":"image_01112025_00_27_30_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/1/b8e53fb6c5bf12032134c7a22ea07759.jpg","text":"TemporaryFile(/tmp/multipartBody4336777892915899233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557682934,"filename":"image_01112025_00_27_43_3676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153905","file1":"1397153904","file0":"1397153903","file4":"1397153907","file5":"1397153908","file3":"1397153906"},"map_files_photo_id_array":[{"photo_id":"1397153908","filename":"file5"},{"photo_id":"1397153905","filename":"file2"},{"photo_id":"1397153907","filename":"file4"},{"photo_id":"1397153904","filename":"file1"},{"photo_id":"1397153903","filename":"file0"},{"photo_id":"1397153906","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397153903":["hashtag1","hashtag2"]},{"1397153906":["hashtag1","hashtag2"]},{"1397153908":["hashtag1","hashtag2"]},{"1397153905":["hashtag1","hashtag2"]},{"1397153904":["hashtag1","hashtag2"]},{"1397153907":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397153903, 1397153906, 1397153908, 1397153905, 1397153904, 1397153907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00687313079834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 03:54:22.241830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/51/image_01122025_03_51_44_9626.jpg', '/home/pi/Desktop/images/01122025/03/51/image_01122025_03_51_54_10790.jpg', '/home/pi/Desktop/images/01122025/03/51/image_01122025_03_52_04_9612.jpg', '/home/pi/Desktop/images/01122025/03/52/image_01122025_03_52_14_9879.jpg', '/home/pi/Desktop/images/01122025/03/52/image_01122025_03_52_24_9792.jpg', '/home/pi/Desktop/images/01122025/03/52/image_01122025_03_52_34_10581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/51/image_01122025_03_51_44_9626.jpg
/home/pi/Desktop/images/01122025/03/51/image_01122025_03_51_54_10790.jpg
/home/pi/Desktop/images/01122025/03/51/image_01122025_03_52_04_9612.jpg
/home/pi/Desktop/images/01122025/03/52/image_01122025_03_52_14_9879.jpg
/home/pi/Desktop/images/01122025/03/52/image_01122025_03_52_24_9792.jpg
/home/pi/Desktop/images/01122025/03/52/image_01122025_03_52_34_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":["1397153915","1397153918","1397153911","1397153917","1397153916","1397153913"],"photo_ids_order":["1397153911","1397153913","1397153915","1397153916","1397153917","1397153918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/885757f0e6a258a41c53a18b63bbb893.jpg","text":"TemporaryFile(/tmp/multipartBody5760972083446260740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557722989,"filename":"image_01122025_03_52_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/1/462d38437e7ce6674d41affbc2e91d8a.jpg","text":"TemporaryFile(/tmp/multipartBody3344395460164366027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557722989,"filename":"image_01122025_03_52_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/1/ba03a1a90f7688297db9bb9833b5e4bc.jpg","text":"TemporaryFile(/tmp/multipartBody1449921751723732778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557722989,"filename":"image_01122025_03_51_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/1/187172f5c7e1225b68685f6574498a9a.jpg","text":"TemporaryFile(/tmp/multipartBody5278498878815649704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557722989,"filename":"image_01122025_03_52_24_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5d50758c772eae6a817b6f5bc1f7e410.jpg","text":"TemporaryFile(/tmp/multipartBody199196455590682745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557722989,"filename":"image_01122025_03_52_14_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/1/e4cbc2e385b1a04897c8d6cbfb5caa01.jpg","text":"TemporaryFile(/tmp/multipartBody8643040127650247247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557722989,"filename":"image_01122025_03_51_54_10790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153915","file1":"1397153913","file0":"1397153911","file4":"1397153917","file5":"1397153918","file3":"1397153916"},"map_files_photo_id_array":[{"photo_id":"1397153918","filename":"file5"},{"photo_id":"1397153915","filename":"file2"},{"photo_id":"1397153917","filename":"file4"},{"photo_id":"1397153913","filename":"file1"},{"photo_id":"1397153911","filename":"file0"},{"photo_id":"1397153916","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153915":["hashtag1","hashtag2"]},{"1397153918":["hashtag1","hashtag2"]},{"1397153911":["hashtag1","hashtag2"]},{"1397153917":["hashtag1","hashtag2"]},{"1397153916":["hashtag1","hashtag2"]},{"1397153913":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153915, 1397153918, 1397153911, 1397153917, 1397153916, 1397153913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62622570991516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:55:03.043901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/52/image_01122025_03_52_44_9830.jpg', '/home/pi/Desktop/images/01122025/03/52/image_01122025_03_52_54_9561.jpg', '/home/pi/Desktop/images/01122025/03/52/image_01122025_03_53_04_10605.jpg', '/home/pi/Desktop/images/01122025/03/53/image_01122025_03_53_33_9603.jpg', '/home/pi/Desktop/images/01122025/03/53/image_01122025_03_53_44_10858.jpg', '/home/pi/Desktop/images/01122025/03/53/image_01122025_03_53_54_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/52/image_01122025_03_52_44_9830.jpg
/home/pi/Desktop/images/01122025/03/52/image_01122025_03_52_54_9561.jpg
/home/pi/Desktop/images/01122025/03/52/image_01122025_03_53_04_10605.jpg
/home/pi/Desktop/images/01122025/03/53/image_01122025_03_53_33_9603.jpg
/home/pi/Desktop/images/01122025/03/53/image_01122025_03_53_44_10858.jpg
/home/pi/Desktop/images/01122025/03/53/image_01122025_03_53_54_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":["1397153921","1397153924","1397153926","1397153920","1397153922","1397153919"],"photo_ids_order":["1397153919","1397153920","1397153921","1397153922","1397153924","1397153926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f9a775cf1c0ba42b90044df3291a1ab7.jpg","text":"TemporaryFile(/tmp/multipartBody1719932227476757151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557763824,"filename":"image_01122025_03_53_04_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/1/7821b0acb8442683f58a8183631db1be.jpg","text":"TemporaryFile(/tmp/multipartBody7701249937123382732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557763824,"filename":"image_01122025_03_53_44_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/1/5364a727903db0795d8b2dbd62c09cab.jpg","text":"TemporaryFile(/tmp/multipartBody4206597532024347289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557763824,"filename":"image_01122025_03_53_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/1/b6b11e58e607a9bbfd2daa3a9a56da5f.jpg","text":"TemporaryFile(/tmp/multipartBody3920259557915178514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557763824,"filename":"image_01122025_03_52_54_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fb4d8db282a5d9a96cf2fe87120dbd64.jpg","text":"TemporaryFile(/tmp/multipartBody6956508655293927879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557763824,"filename":"image_01122025_03_53_33_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/1/576d1e1bd79a373dd8d863fe77e3c4fe.jpg","text":"TemporaryFile(/tmp/multipartBody1541134367754083718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557763824,"filename":"image_01122025_03_52_44_9830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153921","file1":"1397153920","file0":"1397153919","file4":"1397153924","file5":"1397153926","file3":"1397153922"},"map_files_photo_id_array":[{"photo_id":"1397153926","filename":"file5"},{"photo_id":"1397153921","filename":"file2"},{"photo_id":"1397153924","filename":"file4"},{"photo_id":"1397153920","filename":"file1"},{"photo_id":"1397153919","filename":"file0"},{"photo_id":"1397153922","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153921":["hashtag1","hashtag2"]},{"1397153924":["hashtag1","hashtag2"]},{"1397153926":["hashtag1","hashtag2"]},{"1397153920":["hashtag1","hashtag2"]},{"1397153922":["hashtag1","hashtag2"]},{"1397153919":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153921, 1397153924, 1397153926, 1397153920, 1397153922, 1397153919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7710645198822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 03:55:42.458382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_49_2823.jpg', '/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_54_2792.jpg', '/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_58_3857.jpg', '/home/pi/Desktop/images/01112025/00/28/image_01112025_00_28_01_2529.jpg', '/home/pi/Desktop/images/01112025/00/28/image_01112025_00_28_07_3654.jpg', '/home/pi/Desktop/images/01112025/00/28/image_01112025_00_28_10_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_49_2823.jpg
/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_54_2792.jpg
/home/pi/Desktop/images/01112025/00/27/image_01112025_00_27_58_3857.jpg
/home/pi/Desktop/images/01112025/00/28/image_01112025_00_28_01_2529.jpg
/home/pi/Desktop/images/01112025/00/28/image_01112025_00_28_07_3654.jpg
/home/pi/Desktop/images/01112025/00/28/image_01112025_00_28_10_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":["1397153933","1397153936","1397153932","1397153935","1397153934","1397153931"],"photo_ids_order":["1397153931","1397153932","1397153933","1397153934","1397153935","1397153936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d0b0db7838979b0de1add2e48e346196.jpg","text":"TemporaryFile(/tmp/multipartBody9027369843349355535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557803300,"filename":"image_01112025_00_27_58_3857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7cdb1f8f9dc7ce92c8901415d902ac40.jpg","text":"TemporaryFile(/tmp/multipartBody6426188825039461847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557803300,"filename":"image_01112025_00_28_10_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/1/f77e9e148af7283d062c22620319a992.jpg","text":"TemporaryFile(/tmp/multipartBody459761943057744878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557803300,"filename":"image_01112025_00_27_54_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/1/53fd2feb64e2d3529bcc0d5c827b09e7.jpg","text":"TemporaryFile(/tmp/multipartBody4868776399818257577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557803300,"filename":"image_01112025_00_28_07_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3b9ef1526109750f899979582fcc9402.jpg","text":"TemporaryFile(/tmp/multipartBody242124207765550966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557803300,"filename":"image_01112025_00_28_01_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/930fff3426cb276f53b6d4de9cfc7d8d.jpg","text":"TemporaryFile(/tmp/multipartBody147119872537773854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557803300,"filename":"image_01112025_00_27_49_2823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153933","file1":"1397153932","file0":"1397153931","file4":"1397153935","file5":"1397153936","file3":"1397153934"},"map_files_photo_id_array":[{"photo_id":"1397153936","filename":"file5"},{"photo_id":"1397153933","filename":"file2"},{"photo_id":"1397153935","filename":"file4"},{"photo_id":"1397153932","filename":"file1"},{"photo_id":"1397153931","filename":"file0"},{"photo_id":"1397153934","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397153933":["hashtag1","hashtag2"]},{"1397153936":["hashtag1","hashtag2"]},{"1397153932":["hashtag1","hashtag2"]},{"1397153935":["hashtag1","hashtag2"]},{"1397153934":["hashtag1","hashtag2"]},{"1397153931":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397153933, 1397153936, 1397153932, 1397153935, 1397153934, 1397153931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91437363624573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 03:56:22.646904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/53/image_01122025_03_54_04_9678.jpg', '/home/pi/Desktop/images/01122025/03/54/image_01122025_03_54_13_9707.jpg', '/home/pi/Desktop/images/01122025/03/54/image_01122025_03_54_24_10797.jpg', '/home/pi/Desktop/images/01122025/03/54/image_01122025_03_54_34_9787.jpg', '/home/pi/Desktop/images/01122025/03/54/image_01122025_03_54_44_9599.jpg', '/home/pi/Desktop/images/01122025/03/54/image_01122025_03_54_54_10747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/53/image_01122025_03_54_04_9678.jpg
/home/pi/Desktop/images/01122025/03/54/image_01122025_03_54_13_9707.jpg
/home/pi/Desktop/images/01122025/03/54/image_01122025_03_54_24_10797.jpg
/home/pi/Desktop/images/01122025/03/54/image_01122025_03_54_34_9787.jpg
/home/pi/Desktop/images/01122025/03/54/image_01122025_03_54_44_9599.jpg
/home/pi/Desktop/images/01122025/03/54/image_01122025_03_54_54_10747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153948","1397153939","1397153941","1397153950","1397153943","1397153946"],"photo_ids_order":["1397153939","1397153941","1397153943","1397153946","1397153948","1397153950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2e4ddc6966fc151d00dbf2a6e281f841.jpg","text":"TemporaryFile(/tmp/multipartBody8201360972763537779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557843374,"filename":"image_01122025_03_54_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/1/14f660cf5c28d95393cda182fe0478e4.jpg","text":"TemporaryFile(/tmp/multipartBody8354928112521698123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557843374,"filename":"image_01122025_03_54_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/1/e59f108c8e5d61d44de5a99f312215dd.jpg","text":"TemporaryFile(/tmp/multipartBody7354545072199340191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557843374,"filename":"image_01122025_03_54_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/1/3799803d23fe6260727a129a8689314e.jpg","text":"TemporaryFile(/tmp/multipartBody3350913263687660351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557843374,"filename":"image_01122025_03_54_54_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/487c82a08db5ae5ea3523bba0057392c.jpg","text":"TemporaryFile(/tmp/multipartBody6735264773564137980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557843374,"filename":"image_01122025_03_54_24_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/1/17a2ce1b8dcd49c0869862d8b86e89ae.jpg","text":"TemporaryFile(/tmp/multipartBody8975121444116492589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557843374,"filename":"image_01122025_03_54_34_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153943","file1":"1397153941","file0":"1397153939","file4":"1397153948","file5":"1397153950","file3":"1397153946"},"map_files_photo_id_array":[{"photo_id":"1397153950","filename":"file5"},{"photo_id":"1397153943","filename":"file2"},{"photo_id":"1397153948","filename":"file4"},{"photo_id":"1397153941","filename":"file1"},{"photo_id":"1397153939","filename":"file0"},{"photo_id":"1397153946","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153948":["hashtag1","hashtag2"]},{"1397153939":["hashtag1","hashtag2"]},{"1397153941":["hashtag1","hashtag2"]},{"1397153950":["hashtag1","hashtag2"]},{"1397153943":["hashtag1","hashtag2"]},{"1397153946":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153948, 1397153939, 1397153941, 1397153950, 1397153943, 1397153946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21745181083679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:57:02.594490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/54/image_01122025_03_55_04_9671.jpg', '/home/pi/Desktop/images/01122025/03/55/image_01122025_03_55_14_9674.jpg', '/home/pi/Desktop/images/01122025/03/55/image_01122025_03_55_23_9661.jpg', '/home/pi/Desktop/images/01122025/03/55/image_01122025_03_55_34_10747.jpg', '/home/pi/Desktop/images/01122025/03/55/image_01122025_03_55_44_9725.jpg', '/home/pi/Desktop/images/01122025/03/55/image_01122025_03_56_04_9844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/54/image_01122025_03_55_04_9671.jpg
/home/pi/Desktop/images/01122025/03/55/image_01122025_03_55_14_9674.jpg
/home/pi/Desktop/images/01122025/03/55/image_01122025_03_55_23_9661.jpg
/home/pi/Desktop/images/01122025/03/55/image_01122025_03_55_34_10747.jpg
/home/pi/Desktop/images/01122025/03/55/image_01122025_03_55_44_9725.jpg
/home/pi/Desktop/images/01122025/03/55/image_01122025_03_56_04_9844.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397153960","1397153954","1397153957","1397153953","1397153952","1397153955"],"photo_ids_order":["1397153952","1397153953","1397153954","1397153955","1397153957","1397153960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fbbad6cc50297f3eeaca935c33ad1c59.jpg","text":"TemporaryFile(/tmp/multipartBody1290107195285777721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557883366,"filename":"image_01122025_03_56_04_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f362b68fab3dff3c641421ee5df07128.jpg","text":"TemporaryFile(/tmp/multipartBody1805648834477584150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557883366,"filename":"image_01122025_03_55_23_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/1/aafa1c1813f047cd23b2bc3869a0ebb3.jpg","text":"TemporaryFile(/tmp/multipartBody1159502136509675548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557883366,"filename":"image_01122025_03_55_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/1/f09255924cc726a578b1badf5664181c.jpg","text":"TemporaryFile(/tmp/multipartBody8741968063322127643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557883366,"filename":"image_01122025_03_55_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/1/5cc1beffc870660a3187b43425a71bce.jpg","text":"TemporaryFile(/tmp/multipartBody4473144177900915825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557883366,"filename":"image_01122025_03_55_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/1/97cd389e5eabd2c1b665b748bec54d56.jpg","text":"TemporaryFile(/tmp/multipartBody4915603055434524059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764557883366,"filename":"image_01122025_03_55_34_10747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397153954","file1":"1397153953","file0":"1397153952","file4":"1397153957","file5":"1397153960","file3":"1397153955"},"map_files_photo_id_array":[{"photo_id":"1397153960","filename":"file5"},{"photo_id":"1397153954","filename":"file2"},{"photo_id":"1397153957","filename":"file4"},{"photo_id":"1397153953","filename":"file1"},{"photo_id":"1397153952","filename":"file0"},{"photo_id":"1397153955","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397153960":["hashtag1","hashtag2"]},{"1397153954":["hashtag1","hashtag2"]},{"1397153957":["hashtag1","hashtag2"]},{"1397153953":["hashtag1","hashtag2"]},{"1397153952":["hashtag1","hashtag2"]},{"1397153955":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397153960, 1397153954, 1397153957, 1397153953, 1397153952, 1397153955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.97537899017334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 03:59:03.121334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/56/image_01122025_03_56_14_10670.jpg', '/home/pi/Desktop/images/01122025/03/56/image_01122025_03_56_24_9808.jpg', '/home/pi/Desktop/images/01122025/03/56/image_01122025_03_56_44_10586.jpg', '/home/pi/Desktop/images/01122025/03/56/image_01122025_03_56_54_9690.jpg', '/home/pi/Desktop/images/01122025/03/57/image_01122025_03_57_14_10688.jpg', '/home/pi/Desktop/images/01122025/03/57/image_01122025_03_57_24_9558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/56/image_01122025_03_56_14_10670.jpg
/home/pi/Desktop/images/01122025/03/56/image_01122025_03_56_24_9808.jpg
/home/pi/Desktop/images/01122025/03/56/image_01122025_03_56_44_10586.jpg
/home/pi/Desktop/images/01122025/03/56/image_01122025_03_56_54_9690.jpg
/home/pi/Desktop/images/01122025/03/57/image_01122025_03_57_14_10688.jpg
/home/pi/Desktop/images/01122025/03/57/image_01122025_03_57_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":["1397154137","1397154181","1397154256","1397154103","1397154030","1397154065"],"photo_ids_order":["1397154030","1397154065","1397154103","1397154137","1397154181","1397154256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cf797993d1a12f8089c0575aa9c31f04.jpg","text":"TemporaryFile(/tmp/multipartBody3750528473044741315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558004075,"filename":"image_01122025_03_56_54_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d227b81481ef7130941c29d38bde0f38.jpg","text":"TemporaryFile(/tmp/multipartBody1556754229246558672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558004075,"filename":"image_01122025_03_57_14_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/17f457e31ba21e24a82767346b3900a2.jpg","text":"TemporaryFile(/tmp/multipartBody4243982639064925538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558004075,"filename":"image_01122025_03_57_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/1/c95a6fca411e46b0435d16b4bfd97625.jpg","text":"TemporaryFile(/tmp/multipartBody3204360572213912334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558004075,"filename":"image_01122025_03_56_44_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6e89f39684db06f01f22a1573bdb10fd.jpg","text":"TemporaryFile(/tmp/multipartBody4677641702528377159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558004075,"filename":"image_01122025_03_56_14_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/1/502a1aba0b51084e57ca9bc1bb881b17.jpg","text":"TemporaryFile(/tmp/multipartBody2408695816468607584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558004075,"filename":"image_01122025_03_56_24_9808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397154103","file1":"1397154065","file0":"1397154030","file4":"1397154181","file5":"1397154256","file3":"1397154137"},"map_files_photo_id_array":[{"photo_id":"1397154256","filename":"file5"},{"photo_id":"1397154103","filename":"file2"},{"photo_id":"1397154181","filename":"file4"},{"photo_id":"1397154065","filename":"file1"},{"photo_id":"1397154030","filename":"file0"},{"photo_id":"1397154137","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397154137":["hashtag1","hashtag2"]},{"1397154181":["hashtag1","hashtag2"]},{"1397154256":["hashtag1","hashtag2"]},{"1397154103":["hashtag1","hashtag2"]},{"1397154030":["hashtag1","hashtag2"]},{"1397154065":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397154137, 1397154181, 1397154256, 1397154103, 1397154030, 1397154065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26866269111633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 03:59:42.266259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/28/image_01112025_00_28_16_3646.jpg', '/home/pi/Desktop/images/01112025/00/28/image_01112025_00_28_28_3672.jpg', '/home/pi/Desktop/images/01112025/00/28/image_01112025_00_28_40_3564.jpg', '/home/pi/Desktop/images/01112025/00/28/image_01112025_00_28_42_2750.jpg', '/home/pi/Desktop/images/01112025/00/28/image_01112025_00_28_45_2662.jpg', '/home/pi/Desktop/images/01112025/00/28/image_01112025_00_28_49_3913.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/28/image_01112025_00_28_16_3646.jpg
/home/pi/Desktop/images/01112025/00/28/image_01112025_00_28_28_3672.jpg
/home/pi/Desktop/images/01112025/00/28/image_01112025_00_28_40_3564.jpg
/home/pi/Desktop/images/01112025/00/28/image_01112025_00_28_42_2750.jpg
/home/pi/Desktop/images/01112025/00/28/image_01112025_00_28_45_2662.jpg
/home/pi/Desktop/images/01112025/00/28/image_01112025_00_28_49_3913.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397154580","1397154817","1397154780","1397154729","1397154510","1397154653"],"photo_ids_order":["1397154510","1397154580","1397154653","1397154729","1397154780","1397154817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/57b825dab894efb331fedf376af3dd93.jpg","text":"TemporaryFile(/tmp/multipartBody2793153446466573306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558043117,"filename":"image_01112025_00_28_28_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/1/be699a5eee042cc3954afe336c85a7fa.jpg","text":"TemporaryFile(/tmp/multipartBody4523710239437041825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558043117,"filename":"image_01112025_00_28_49_3913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a23c2778b5e38278ef6c9e29236d10a4.jpg","text":"TemporaryFile(/tmp/multipartBody2012034524036736280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558043117,"filename":"image_01112025_00_28_45_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/429e83ea13086a43728ae2b4a26ab48f.jpg","text":"TemporaryFile(/tmp/multipartBody5705429281399921933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558043117,"filename":"image_01112025_00_28_42_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/1/512473c5826506e958e5b7d28603b295.jpg","text":"TemporaryFile(/tmp/multipartBody4339234802812020225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558043117,"filename":"image_01112025_00_28_16_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/1/20e2674f2c424e8691df7a397016273f.jpg","text":"TemporaryFile(/tmp/multipartBody2957264232330703466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558043117,"filename":"image_01112025_00_28_40_3564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397154653","file1":"1397154580","file0":"1397154510","file4":"1397154780","file5":"1397154817","file3":"1397154729"},"map_files_photo_id_array":[{"photo_id":"1397154817","filename":"file5"},{"photo_id":"1397154653","filename":"file2"},{"photo_id":"1397154780","filename":"file4"},{"photo_id":"1397154580","filename":"file1"},{"photo_id":"1397154510","filename":"file0"},{"photo_id":"1397154729","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397154580":["hashtag1","hashtag2"]},{"1397154817":["hashtag1","hashtag2"]},{"1397154780":["hashtag1","hashtag2"]},{"1397154729":["hashtag1","hashtag2"]},{"1397154510":["hashtag1","hashtag2"]},{"1397154653":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397154580, 1397154817, 1397154780, 1397154729, 1397154510, 1397154653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84742975234985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 04:00:22.448262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/57/image_01122025_03_57_34_9699.jpg', '/home/pi/Desktop/images/01122025/03/57/image_01122025_03_57_54_9580.jpg', '/home/pi/Desktop/images/01122025/03/57/image_01122025_03_58_04_9803.jpg', '/home/pi/Desktop/images/01122025/03/58/image_01122025_03_58_14_10690.jpg', '/home/pi/Desktop/images/01122025/03/58/image_01122025_03_58_24_9683.jpg', '/home/pi/Desktop/images/01122025/03/58/image_01122025_03_58_34_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/57/image_01122025_03_57_34_9699.jpg
/home/pi/Desktop/images/01122025/03/57/image_01122025_03_57_54_9580.jpg
/home/pi/Desktop/images/01122025/03/57/image_01122025_03_58_04_9803.jpg
/home/pi/Desktop/images/01122025/03/58/image_01122025_03_58_14_10690.jpg
/home/pi/Desktop/images/01122025/03/58/image_01122025_03_58_24_9683.jpg
/home/pi/Desktop/images/01122025/03/58/image_01122025_03_58_34_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":["1397154897","1397154901","1397155035","1397154968","1397154899","1397154914"],"photo_ids_order":["1397154897","1397154899","1397154901","1397154914","1397154968","1397155035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fb180230b0808af84da286c9d54f6f65.jpg","text":"TemporaryFile(/tmp/multipartBody7271288520765141896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558083198,"filename":"image_01122025_03_57_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/1/c77b93e5972fb356607f59b318f56fe9.jpg","text":"TemporaryFile(/tmp/multipartBody2769813007467943118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558083198,"filename":"image_01122025_03_58_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/1/f66e497090b4aacb451f06914dc5ccd3.jpg","text":"TemporaryFile(/tmp/multipartBody1620139519181785836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558083198,"filename":"image_01122025_03_58_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/1/1ee802419f31f3583caadfc0ff38e618.jpg","text":"TemporaryFile(/tmp/multipartBody3028981232386826776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558083198,"filename":"image_01122025_03_58_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/1/14b53b744d6e43ea9808ea5b5efce0fb.jpg","text":"TemporaryFile(/tmp/multipartBody1622339089748993920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558083198,"filename":"image_01122025_03_57_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/1/a82181e95422267b21bed1937b18ecbb.jpg","text":"TemporaryFile(/tmp/multipartBody9024939026473553909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558083198,"filename":"image_01122025_03_58_14_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397154901","file1":"1397154899","file0":"1397154897","file4":"1397154968","file5":"1397155035","file3":"1397154914"},"map_files_photo_id_array":[{"photo_id":"1397155035","filename":"file5"},{"photo_id":"1397154901","filename":"file2"},{"photo_id":"1397154968","filename":"file4"},{"photo_id":"1397154899","filename":"file1"},{"photo_id":"1397154897","filename":"file0"},{"photo_id":"1397154914","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397154897":["hashtag1","hashtag2"]},{"1397154901":["hashtag1","hashtag2"]},{"1397155035":["hashtag1","hashtag2"]},{"1397154968":["hashtag1","hashtag2"]},{"1397154899":["hashtag1","hashtag2"]},{"1397154914":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397154897, 1397154901, 1397155035, 1397154968, 1397154899, 1397154914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3056914806366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:01:03.229283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/58/image_01122025_03_58_44_9737.jpg', '/home/pi/Desktop/images/01122025/03/58/image_01122025_03_59_04_9651.jpg', '/home/pi/Desktop/images/01122025/03/59/image_01122025_03_59_14_9792.jpg', '/home/pi/Desktop/images/01122025/03/59/image_01122025_03_59_24_10742.jpg', '/home/pi/Desktop/images/01122025/03/59/image_01122025_03_59_34_9656.jpg', '/home/pi/Desktop/images/01122025/03/59/image_01122025_03_59_44_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/58/image_01122025_03_58_44_9737.jpg
/home/pi/Desktop/images/01122025/03/58/image_01122025_03_59_04_9651.jpg
/home/pi/Desktop/images/01122025/03/59/image_01122025_03_59_14_9792.jpg
/home/pi/Desktop/images/01122025/03/59/image_01122025_03_59_24_10742.jpg
/home/pi/Desktop/images/01122025/03/59/image_01122025_03_59_34_9656.jpg
/home/pi/Desktop/images/01122025/03/59/image_01122025_03_59_44_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":["1397155312","1397155257","1397155251","1397155305","1397155271","1397155258"],"photo_ids_order":["1397155251","1397155257","1397155258","1397155271","1397155305","1397155312"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8fbf0b074ed82d215e3c7d09094a3a89.jpg","text":"TemporaryFile(/tmp/multipartBody5660315548116951724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558126496,"filename":"image_01122025_03_59_44_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4ba632b66734919d3eea31a320d233a6.jpg","text":"TemporaryFile(/tmp/multipartBody1786608569016026787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558126496,"filename":"image_01122025_03_59_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/15b23475b61584da8a332d7690e82a45.jpg","text":"TemporaryFile(/tmp/multipartBody1751317029938149809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558126496,"filename":"image_01122025_03_58_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/1/e5039b3e2380e61207ac645c3fbb8f48.jpg","text":"TemporaryFile(/tmp/multipartBody1630734550577080315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558126496,"filename":"image_01122025_03_59_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/1/0a4e03bf393beba714aa7b6b1fb3f78a.jpg","text":"TemporaryFile(/tmp/multipartBody486527001191439944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558126496,"filename":"image_01122025_03_59_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/1/bf2f032073ed85321246c983fa3a531a.jpg","text":"TemporaryFile(/tmp/multipartBody607046543479954276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558126496,"filename":"image_01122025_03_59_14_9792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155258","file1":"1397155257","file0":"1397155251","file4":"1397155305","file5":"1397155312","file3":"1397155271"},"map_files_photo_id_array":[{"photo_id":"1397155312","filename":"file5"},{"photo_id":"1397155258","filename":"file2"},{"photo_id":"1397155305","filename":"file4"},{"photo_id":"1397155257","filename":"file1"},{"photo_id":"1397155251","filename":"file0"},{"photo_id":"1397155271","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397155312":["hashtag1","hashtag2"]},{"1397155257":["hashtag1","hashtag2"]},{"1397155251":["hashtag1","hashtag2"]},{"1397155305":["hashtag1","hashtag2"]},{"1397155271":["hashtag1","hashtag2"]},{"1397155258":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397155312, 1397155257, 1397155251, 1397155305, 1397155271, 1397155258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.39247918128967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:02:05.968141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/03/59/image_01122025_04_00_04_9777.jpg', '/home/pi/Desktop/images/01122025/04/00/image_01122025_04_00_14_9619.jpg', '/home/pi/Desktop/images/01122025/04/00/image_01122025_04_00_24_9801.jpg', '/home/pi/Desktop/images/01122025/04/00/image_01122025_04_00_34_10623.jpg', '/home/pi/Desktop/images/01122025/04/00/image_01122025_04_01_04_10657.jpg', '/home/pi/Desktop/images/01122025/04/01/image_01122025_04_01_14_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/03/59/image_01122025_04_00_04_9777.jpg
/home/pi/Desktop/images/01122025/04/00/image_01122025_04_00_14_9619.jpg
/home/pi/Desktop/images/01122025/04/00/image_01122025_04_00_24_9801.jpg
/home/pi/Desktop/images/01122025/04/00/image_01122025_04_00_34_10623.jpg
/home/pi/Desktop/images/01122025/04/00/image_01122025_04_01_04_10657.jpg
/home/pi/Desktop/images/01122025/04/01/image_01122025_04_01_14_9632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155366","1397155368","1397155362","1397155370","1397155364","1397155363"],"photo_ids_order":["1397155362","1397155363","1397155364","1397155366","1397155368","1397155370"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d0d38296ecdf685d7bf4e593a696173c.jpg","text":"TemporaryFile(/tmp/multipartBody7188588506276888156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558186715,"filename":"image_01122025_04_00_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/1/54d873f51e1133f7d5792071101676ab.jpg","text":"TemporaryFile(/tmp/multipartBody1380579507281438950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558186715,"filename":"image_01122025_04_01_04_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2561e6e55f931f60ef56edbc44c9c9ce.jpg","text":"TemporaryFile(/tmp/multipartBody6448218511803944442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558186715,"filename":"image_01122025_04_00_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/1/8fc537143a792c536f558599bf084f59.jpg","text":"TemporaryFile(/tmp/multipartBody5638538749490688308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558186715,"filename":"image_01122025_04_01_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/1/a80554914dc89599873e4edda73bb133.jpg","text":"TemporaryFile(/tmp/multipartBody4277417195756060348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558186715,"filename":"image_01122025_04_00_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/1/ccf61aad8713505713f6429a0607996d.jpg","text":"TemporaryFile(/tmp/multipartBody5854950431908130467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558186715,"filename":"image_01122025_04_00_14_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155364","file1":"1397155363","file0":"1397155362","file4":"1397155368","file5":"1397155370","file3":"1397155366"},"map_files_photo_id_array":[{"photo_id":"1397155370","filename":"file5"},{"photo_id":"1397155364","filename":"file2"},{"photo_id":"1397155368","filename":"file4"},{"photo_id":"1397155363","filename":"file1"},{"photo_id":"1397155362","filename":"file0"},{"photo_id":"1397155366","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397155366":["hashtag1","hashtag2"]},{"1397155368":["hashtag1","hashtag2"]},{"1397155362":["hashtag1","hashtag2"]},{"1397155370":["hashtag1","hashtag2"]},{"1397155364":["hashtag1","hashtag2"]},{"1397155363":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397155366, 1397155368, 1397155362, 1397155370, 1397155364, 1397155363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02805757522583 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 04:02:45.581304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/28/image_01112025_00_28_52_2854.jpg', '/home/pi/Desktop/images/01112025/00/28/image_01112025_00_28_57_2689.jpg', '/home/pi/Desktop/images/01112025/00/28/image_01112025_00_29_01_3726.jpg', '/home/pi/Desktop/images/01112025/00/29/image_01112025_00_29_06_2660.jpg', '/home/pi/Desktop/images/01112025/00/29/image_01112025_00_29_09_2634.jpg', '/home/pi/Desktop/images/01112025/00/29/image_01112025_00_29_13_3691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/28/image_01112025_00_28_52_2854.jpg
/home/pi/Desktop/images/01112025/00/28/image_01112025_00_28_57_2689.jpg
/home/pi/Desktop/images/01112025/00/28/image_01112025_00_29_01_3726.jpg
/home/pi/Desktop/images/01112025/00/29/image_01112025_00_29_06_2660.jpg
/home/pi/Desktop/images/01112025/00/29/image_01112025_00_29_09_2634.jpg
/home/pi/Desktop/images/01112025/00/29/image_01112025_00_29_13_3691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155383","1397155376","1397155385","1397155381","1397155384","1397155378"],"photo_ids_order":["1397155376","1397155378","1397155381","1397155383","1397155384","1397155385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ce13ece240c8c13cddb0bc293dbf6542.jpg","text":"TemporaryFile(/tmp/multipartBody3610280325592739401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558231674,"filename":"image_01112025_00_29_06_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3e57d5c343e3b8ab059e9380111814d6.jpg","text":"TemporaryFile(/tmp/multipartBody8800496728294155572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558231674,"filename":"image_01112025_00_28_52_2854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/70849efe9e35425fe4e1cd965e88ea7b.jpg","text":"TemporaryFile(/tmp/multipartBody3720137379117463863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558231674,"filename":"image_01112025_00_29_13_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/1/ca3f88300565758a6decb351b9bf50d0.jpg","text":"TemporaryFile(/tmp/multipartBody5996628111117024920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558231674,"filename":"image_01112025_00_29_01_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7d9827024454f455477f84b0fa64f772.jpg","text":"TemporaryFile(/tmp/multipartBody7245205103380945795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558231674,"filename":"image_01112025_00_29_09_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/1/d44b743992508b80c56ff6e63f57e036.jpg","text":"TemporaryFile(/tmp/multipartBody7168371536462119246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558231674,"filename":"image_01112025_00_28_57_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155381","file1":"1397155378","file0":"1397155376","file4":"1397155384","file5":"1397155385","file3":"1397155383"},"map_files_photo_id_array":[{"photo_id":"1397155385","filename":"file5"},{"photo_id":"1397155381","filename":"file2"},{"photo_id":"1397155384","filename":"file4"},{"photo_id":"1397155378","filename":"file1"},{"photo_id":"1397155376","filename":"file0"},{"photo_id":"1397155383","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397155383":["hashtag1","hashtag2"]},{"1397155376":["hashtag1","hashtag2"]},{"1397155385":["hashtag1","hashtag2"]},{"1397155381":["hashtag1","hashtag2"]},{"1397155384":["hashtag1","hashtag2"]},{"1397155378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397155383, 1397155376, 1397155385, 1397155381, 1397155384, 1397155378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.68535232543945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 04:03:32.783612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_27_2692.jpg', '/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_30_2569.jpg', '/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_33_3579.jpg', '/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_36_2507.jpg', '/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_39_3574.jpg', '/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_42_2806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_27_2692.jpg
/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_30_2569.jpg
/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_33_3579.jpg
/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_36_2507.jpg
/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_39_3574.jpg
/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_42_2806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155398","1397155389","1397155394","1397155391","1397155396","1397155390"],"photo_ids_order":["1397155389","1397155390","1397155391","1397155394","1397155396","1397155398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fe273979385cdec156ab30fb20fc9e22.jpg","text":"TemporaryFile(/tmp/multipartBody1050222918104794231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558274495,"filename":"image_25112025_21_37_42_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/1/97128f2d01448248236c2ea509a1d97b.jpg","text":"TemporaryFile(/tmp/multipartBody1411332574596357574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558274495,"filename":"image_25112025_21_37_27_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/1/6f417783b599a984cd4f7b4bb3551806.jpg","text":"TemporaryFile(/tmp/multipartBody7764049213669737070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558274495,"filename":"image_25112025_21_37_36_2507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/506353d1a12e439c5bd3d8815088c5cd.jpg","text":"TemporaryFile(/tmp/multipartBody3722255320308606737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558274495,"filename":"image_25112025_21_37_33_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/1/a9c4c451116b3ff6ee45a3f6c7bd4d8e.jpg","text":"TemporaryFile(/tmp/multipartBody6806274142487808917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558274495,"filename":"image_25112025_21_37_39_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/1/8ec5597326435350478e27d380b5271e.jpg","text":"TemporaryFile(/tmp/multipartBody35695352979466168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558274495,"filename":"image_25112025_21_37_30_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155391","file1":"1397155390","file0":"1397155389","file4":"1397155396","file5":"1397155398","file3":"1397155394"},"map_files_photo_id_array":[{"photo_id":"1397155398","filename":"file5"},{"photo_id":"1397155391","filename":"file2"},{"photo_id":"1397155396","filename":"file4"},{"photo_id":"1397155390","filename":"file1"},{"photo_id":"1397155389","filename":"file0"},{"photo_id":"1397155394","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397155398":["hashtag1","hashtag2"]},{"1397155389":["hashtag1","hashtag2"]},{"1397155394":["hashtag1","hashtag2"]},{"1397155391":["hashtag1","hashtag2"]},{"1397155396":["hashtag1","hashtag2"]},{"1397155390":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397155398, 1397155389, 1397155394, 1397155391, 1397155396, 1397155390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74856877326965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 04:04:16.185634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_45_2605.jpg', '/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_48_3617.jpg', '/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_53_4647.jpg', '/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_55_1543.jpg', '/home/pi/Desktop/images/25112025/21/37/image_25112025_21_38_00_2667.jpg', '/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_06_3665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_45_2605.jpg
/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_48_3617.jpg
/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_53_4647.jpg
/home/pi/Desktop/images/25112025/21/37/image_25112025_21_37_55_1543.jpg
/home/pi/Desktop/images/25112025/21/37/image_25112025_21_38_00_2667.jpg
/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_06_3665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155405","1397155408","1397155410","1397155401","1397155409","1397155403"],"photo_ids_order":["1397155401","1397155403","1397155405","1397155408","1397155409","1397155410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c479eb5f1e4bea54e6126d6aa52b6b1f.jpg","text":"TemporaryFile(/tmp/multipartBody3568779466632026537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558317842,"filename":"image_25112025_21_37_53_4647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7906937eefb4b13840bd632d60104525.jpg","text":"TemporaryFile(/tmp/multipartBody2673073898887344618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558317842,"filename":"image_25112025_21_37_55_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/1/6b2905394d6618cfa8b53280d370c8fe.jpg","text":"TemporaryFile(/tmp/multipartBody1985413658585135965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558317842,"filename":"image_25112025_21_38_06_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fc17a6b4ee573008ff10b7e59a7deac9.jpg","text":"TemporaryFile(/tmp/multipartBody17562722131462028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558317842,"filename":"image_25112025_21_37_45_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/1/1328b7cb5da4606d9f6b6e4eb553c887.jpg","text":"TemporaryFile(/tmp/multipartBody8572914707044939905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558317842,"filename":"image_25112025_21_38_00_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/1/bec94bce58dc4d529de97f7e351d374f.jpg","text":"TemporaryFile(/tmp/multipartBody4965345645726446128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558317842,"filename":"image_25112025_21_37_48_3617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155405","file1":"1397155403","file0":"1397155401","file4":"1397155409","file5":"1397155410","file3":"1397155408"},"map_files_photo_id_array":[{"photo_id":"1397155410","filename":"file5"},{"photo_id":"1397155405","filename":"file2"},{"photo_id":"1397155409","filename":"file4"},{"photo_id":"1397155403","filename":"file1"},{"photo_id":"1397155401","filename":"file0"},{"photo_id":"1397155408","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397155405":["hashtag1","hashtag2"]},{"1397155408":["hashtag1","hashtag2"]},{"1397155410":["hashtag1","hashtag2"]},{"1397155401":["hashtag1","hashtag2"]},{"1397155409":["hashtag1","hashtag2"]},{"1397155403":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397155405, 1397155408, 1397155410, 1397155401, 1397155409, 1397155403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07223653793335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:05:03.111979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/01/image_01122025_04_01_24_9785.jpg', '/home/pi/Desktop/images/01122025/04/01/image_01122025_04_01_34_10736.jpg', '/home/pi/Desktop/images/01122025/04/01/image_01122025_04_01_44_9673.jpg', '/home/pi/Desktop/images/01122025/04/01/image_01122025_04_02_04_9818.jpg', '/home/pi/Desktop/images/01122025/04/02/image_01122025_04_02_14_10722.jpg', '/home/pi/Desktop/images/01122025/04/02/image_01122025_04_02_34_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/01/image_01122025_04_01_24_9785.jpg
/home/pi/Desktop/images/01122025/04/01/image_01122025_04_01_34_10736.jpg
/home/pi/Desktop/images/01122025/04/01/image_01122025_04_01_44_9673.jpg
/home/pi/Desktop/images/01122025/04/01/image_01122025_04_02_04_9818.jpg
/home/pi/Desktop/images/01122025/04/02/image_01122025_04_02_14_10722.jpg
/home/pi/Desktop/images/01122025/04/02/image_01122025_04_02_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":["1397155423","1397155420","1397155416","1397155425","1397155419","1397155418"],"photo_ids_order":["1397155416","1397155418","1397155419","1397155420","1397155423","1397155425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/43b546df1d9df30fd0ebb6fb1c35a6ea.jpg","text":"TemporaryFile(/tmp/multipartBody4437122493751882212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558363908,"filename":"image_01122025_04_02_14_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/1/5737890f9f7b09f8f5772c479bb83193.jpg","text":"TemporaryFile(/tmp/multipartBody4583937877561914562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558363908,"filename":"image_01122025_04_02_04_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9776d431e7263369d622b910a856c90c.jpg","text":"TemporaryFile(/tmp/multipartBody2306973622960112280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558363908,"filename":"image_01122025_04_01_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/1/cb3578503150de8159909a7bd94916f3.jpg","text":"TemporaryFile(/tmp/multipartBody4900966682327507188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558363908,"filename":"image_01122025_04_02_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/1/d829732468b87b02dee01ab6f3eb8851.jpg","text":"TemporaryFile(/tmp/multipartBody151090840179146802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558363908,"filename":"image_01122025_04_01_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/1/32c4ca24d5aa19e8b335acb5620e882d.jpg","text":"TemporaryFile(/tmp/multipartBody8525796553919595915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558363908,"filename":"image_01122025_04_01_34_10736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155419","file1":"1397155418","file0":"1397155416","file4":"1397155423","file5":"1397155425","file3":"1397155420"},"map_files_photo_id_array":[{"photo_id":"1397155425","filename":"file5"},{"photo_id":"1397155419","filename":"file2"},{"photo_id":"1397155423","filename":"file4"},{"photo_id":"1397155418","filename":"file1"},{"photo_id":"1397155416","filename":"file0"},{"photo_id":"1397155420","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397155423":["hashtag1","hashtag2"]},{"1397155420":["hashtag1","hashtag2"]},{"1397155416":["hashtag1","hashtag2"]},{"1397155425":["hashtag1","hashtag2"]},{"1397155419":["hashtag1","hashtag2"]},{"1397155418":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397155423, 1397155420, 1397155416, 1397155425, 1397155419, 1397155418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32652497291565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 04:05:42.344556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/29/image_01112025_00_29_15_2628.jpg', '/home/pi/Desktop/images/01112025/00/29/image_01112025_00_29_18_2840.jpg', '/home/pi/Desktop/images/01112025/00/29/image_01112025_00_29_25_3565.jpg', '/home/pi/Desktop/images/01112025/00/29/image_01112025_00_29_33_2746.jpg', '/home/pi/Desktop/images/01112025/00/29/image_01112025_00_29_37_3622.jpg', '/home/pi/Desktop/images/01112025/00/29/image_01112025_00_29_39_2818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/29/image_01112025_00_29_15_2628.jpg
/home/pi/Desktop/images/01112025/00/29/image_01112025_00_29_18_2840.jpg
/home/pi/Desktop/images/01112025/00/29/image_01112025_00_29_25_3565.jpg
/home/pi/Desktop/images/01112025/00/29/image_01112025_00_29_33_2746.jpg
/home/pi/Desktop/images/01112025/00/29/image_01112025_00_29_37_3622.jpg
/home/pi/Desktop/images/01112025/00/29/image_01112025_00_29_39_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":["1397155435","1397155437","1397155431","1397155428","1397155439","1397155433"],"photo_ids_order":["1397155428","1397155431","1397155433","1397155435","1397155437","1397155439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cd33cfaaacb671fd1975c3e179141f26.jpg","text":"TemporaryFile(/tmp/multipartBody6252705706963096903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558403189,"filename":"image_01112025_00_29_33_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/1/e0c97a5f0254fea97de292c410f4c196.jpg","text":"TemporaryFile(/tmp/multipartBody3406332162616164711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558403189,"filename":"image_01112025_00_29_37_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/1/6aefde7d3e878f5cbd6baa71d3ab3835.jpg","text":"TemporaryFile(/tmp/multipartBody2537732043032350317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558403189,"filename":"image_01112025_00_29_18_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/1/fd2134d81ddc03c0510093b692a4a688.jpg","text":"TemporaryFile(/tmp/multipartBody2491357161157174411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558403189,"filename":"image_01112025_00_29_15_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/013c5025856bc5f7ae2f5e8838572233.jpg","text":"TemporaryFile(/tmp/multipartBody8213482838912521729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558403189,"filename":"image_01112025_00_29_39_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/1/74ce703494342bda6449f1cb3abeee66.jpg","text":"TemporaryFile(/tmp/multipartBody6951207655057994344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558403189,"filename":"image_01112025_00_29_25_3565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155433","file1":"1397155431","file0":"1397155428","file4":"1397155437","file5":"1397155439","file3":"1397155435"},"map_files_photo_id_array":[{"photo_id":"1397155439","filename":"file5"},{"photo_id":"1397155433","filename":"file2"},{"photo_id":"1397155437","filename":"file4"},{"photo_id":"1397155431","filename":"file1"},{"photo_id":"1397155428","filename":"file0"},{"photo_id":"1397155435","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397155435":["hashtag1","hashtag2"]},{"1397155437":["hashtag1","hashtag2"]},{"1397155431":["hashtag1","hashtag2"]},{"1397155428":["hashtag1","hashtag2"]},{"1397155439":["hashtag1","hashtag2"]},{"1397155433":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397155435, 1397155437, 1397155431, 1397155428, 1397155439, 1397155433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.043490409851074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 04:06:22.596843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/02/image_01122025_04_02_44_9763.jpg', '/home/pi/Desktop/images/01122025/04/02/image_01122025_04_02_53_9736.jpg', '/home/pi/Desktop/images/01122025/04/03/image_01122025_04_03_23_9739.jpg', '/home/pi/Desktop/images/01122025/04/03/image_01122025_04_03_34_10629.jpg', '/home/pi/Desktop/images/01122025/04/03/image_01122025_04_03_44_9645.jpg', '/home/pi/Desktop/images/01122025/04/03/image_01122025_04_03_54_9835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/02/image_01122025_04_02_44_9763.jpg
/home/pi/Desktop/images/01122025/04/02/image_01122025_04_02_53_9736.jpg
/home/pi/Desktop/images/01122025/04/03/image_01122025_04_03_23_9739.jpg
/home/pi/Desktop/images/01122025/04/03/image_01122025_04_03_34_10629.jpg
/home/pi/Desktop/images/01122025/04/03/image_01122025_04_03_44_9645.jpg
/home/pi/Desktop/images/01122025/04/03/image_01122025_04_03_54_9835.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155450","1397155444","1397155453","1397155447","1397155445","1397155442"],"photo_ids_order":["1397155442","1397155444","1397155445","1397155447","1397155450","1397155453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c3fb4d0475c4b9a11dff9d03e32227f9.jpg","text":"TemporaryFile(/tmp/multipartBody7965553093281148173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558443328,"filename":"image_01122025_04_03_44_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7c76447685394137bcce34decd76a20a.jpg","text":"TemporaryFile(/tmp/multipartBody5864465982879945425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558443328,"filename":"image_01122025_04_02_53_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/1/0b3745f43e66ac2ed85ccf321eda978b.jpg","text":"TemporaryFile(/tmp/multipartBody3527322975485081304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558443328,"filename":"image_01122025_04_03_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/1/4c8de23da302a7048ca64584b0ad2f92.jpg","text":"TemporaryFile(/tmp/multipartBody6485406652169106732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558443328,"filename":"image_01122025_04_03_34_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/15b8e7f7566c10d6d3097417853527ab.jpg","text":"TemporaryFile(/tmp/multipartBody7351675425785882288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558443328,"filename":"image_01122025_04_03_23_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/1/9ea09286809e9102a26b87a36364056a.jpg","text":"TemporaryFile(/tmp/multipartBody5989639237535583635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558443328,"filename":"image_01122025_04_02_44_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155445","file1":"1397155444","file0":"1397155442","file4":"1397155450","file5":"1397155453","file3":"1397155447"},"map_files_photo_id_array":[{"photo_id":"1397155453","filename":"file5"},{"photo_id":"1397155445","filename":"file2"},{"photo_id":"1397155450","filename":"file4"},{"photo_id":"1397155444","filename":"file1"},{"photo_id":"1397155442","filename":"file0"},{"photo_id":"1397155447","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397155450":["hashtag1","hashtag2"]},{"1397155444":["hashtag1","hashtag2"]},{"1397155453":["hashtag1","hashtag2"]},{"1397155447":["hashtag1","hashtag2"]},{"1397155445":["hashtag1","hashtag2"]},{"1397155442":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397155450, 1397155444, 1397155453, 1397155447, 1397155445, 1397155442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37392330169678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:07:03.266479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/03/image_01122025_04_04_04_10639.jpg', '/home/pi/Desktop/images/01122025/04/04/image_01122025_04_04_14_9575.jpg', '/home/pi/Desktop/images/01122025/04/04/image_01122025_04_04_24_10593.jpg', '/home/pi/Desktop/images/01122025/04/04/image_01122025_04_04_44_9789.jpg', '/home/pi/Desktop/images/01122025/04/04/image_01122025_04_04_54_9701.jpg', '/home/pi/Desktop/images/01122025/04/04/image_01122025_04_05_04_10744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/03/image_01122025_04_04_04_10639.jpg
/home/pi/Desktop/images/01122025/04/04/image_01122025_04_04_14_9575.jpg
/home/pi/Desktop/images/01122025/04/04/image_01122025_04_04_24_10593.jpg
/home/pi/Desktop/images/01122025/04/04/image_01122025_04_04_44_9789.jpg
/home/pi/Desktop/images/01122025/04/04/image_01122025_04_04_54_9701.jpg
/home/pi/Desktop/images/01122025/04/04/image_01122025_04_05_04_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":["1397155459","1397155467","1397155461","1397155464","1397155460","1397155462"],"photo_ids_order":["1397155459","1397155460","1397155461","1397155462","1397155464","1397155467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6786d4fd46a87fbdefdd1c0e61ce6f46.jpg","text":"TemporaryFile(/tmp/multipartBody8089240338505250333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558484094,"filename":"image_01122025_04_04_04_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/df4e16e980e302fabcbd8c470eac3870.jpg","text":"TemporaryFile(/tmp/multipartBody1208351054355091879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558484094,"filename":"image_01122025_04_05_04_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d95502e624eeafb6351670038abdc9f4.jpg","text":"TemporaryFile(/tmp/multipartBody3622748070389868794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558484094,"filename":"image_01122025_04_04_24_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/976027e5cfc81aab9ddbda202c6b7732.jpg","text":"TemporaryFile(/tmp/multipartBody1864519970348304133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558484094,"filename":"image_01122025_04_04_54_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5d7bbadfd771ad06b8b803b0f374c9a6.jpg","text":"TemporaryFile(/tmp/multipartBody6823020659379670130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558484094,"filename":"image_01122025_04_04_14_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/99de8d1bec64d1a3e5f24fafad24e845.jpg","text":"TemporaryFile(/tmp/multipartBody1600097492789247854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558484094,"filename":"image_01122025_04_04_44_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155461","file1":"1397155460","file0":"1397155459","file4":"1397155464","file5":"1397155467","file3":"1397155462"},"map_files_photo_id_array":[{"photo_id":"1397155467","filename":"file5"},{"photo_id":"1397155461","filename":"file2"},{"photo_id":"1397155464","filename":"file4"},{"photo_id":"1397155460","filename":"file1"},{"photo_id":"1397155459","filename":"file0"},{"photo_id":"1397155462","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397155459":["hashtag1","hashtag2"]},{"1397155467":["hashtag1","hashtag2"]},{"1397155461":["hashtag1","hashtag2"]},{"1397155464":["hashtag1","hashtag2"]},{"1397155460":["hashtag1","hashtag2"]},{"1397155462":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397155459, 1397155467, 1397155461, 1397155464, 1397155460, 1397155462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9714241027832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 04:07:42.747553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/29/image_01112025_00_29_46_3569.jpg', '/home/pi/Desktop/images/01112025/00/29/image_01112025_00_29_48_2679.jpg', '/home/pi/Desktop/images/01112025/00/29/image_01112025_00_30_01_3714.jpg', '/home/pi/Desktop/images/01112025/00/30/image_01112025_00_30_04_3155.jpg', '/home/pi/Desktop/images/01112025/00/30/image_01112025_00_30_07_3077.jpg', '/home/pi/Desktop/images/01112025/00/30/image_01112025_00_30_10_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/29/image_01112025_00_29_46_3569.jpg
/home/pi/Desktop/images/01112025/00/29/image_01112025_00_29_48_2679.jpg
/home/pi/Desktop/images/01112025/00/29/image_01112025_00_30_01_3714.jpg
/home/pi/Desktop/images/01112025/00/30/image_01112025_00_30_04_3155.jpg
/home/pi/Desktop/images/01112025/00/30/image_01112025_00_30_07_3077.jpg
/home/pi/Desktop/images/01112025/00/30/image_01112025_00_30_10_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":["1397155471","1397155479","1397155473","1397155476","1397155469","1397155468"],"photo_ids_order":["1397155468","1397155469","1397155471","1397155473","1397155476","1397155479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5727c8749719250c3e5e432b3aa21ec2.jpg","text":"TemporaryFile(/tmp/multipartBody3721262908870875386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558523645,"filename":"image_01112025_00_30_01_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f978ecce161e243e63413fa453cf6936.jpg","text":"TemporaryFile(/tmp/multipartBody6261312286205691381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558523645,"filename":"image_01112025_00_30_10_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/1/00ce1e2ff96fdfa627afa150f8289947.jpg","text":"TemporaryFile(/tmp/multipartBody6661251109279541125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558523645,"filename":"image_01112025_00_30_04_3155.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/824d1b7e40aaf001cdb28dd77d5f87f6.jpg","text":"TemporaryFile(/tmp/multipartBody8122084858639004912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558523645,"filename":"image_01112025_00_30_07_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/1/075c4939e1c01139e477134b113a029d.jpg","text":"TemporaryFile(/tmp/multipartBody5486003611786818578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558523645,"filename":"image_01112025_00_29_48_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/1/918a68ac180e469d758c0a94c7156772.jpg","text":"TemporaryFile(/tmp/multipartBody3577857649025716852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558523645,"filename":"image_01112025_00_29_46_3569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155471","file1":"1397155469","file0":"1397155468","file4":"1397155476","file5":"1397155479","file3":"1397155473"},"map_files_photo_id_array":[{"photo_id":"1397155479","filename":"file5"},{"photo_id":"1397155471","filename":"file2"},{"photo_id":"1397155476","filename":"file4"},{"photo_id":"1397155469","filename":"file1"},{"photo_id":"1397155468","filename":"file0"},{"photo_id":"1397155473","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397155471":["hashtag1","hashtag2"]},{"1397155479":["hashtag1","hashtag2"]},{"1397155473":["hashtag1","hashtag2"]},{"1397155476":["hashtag1","hashtag2"]},{"1397155469":["hashtag1","hashtag2"]},{"1397155468":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397155471, 1397155479, 1397155473, 1397155476, 1397155469, 1397155468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.159637689590454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 04:08:21.981312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/05/image_01122025_04_05_14_9793.jpg', '/home/pi/Desktop/images/01122025/04/05/image_01122025_04_05_34_9693.jpg', '/home/pi/Desktop/images/01122025/04/05/image_01122025_04_05_54_10656.jpg', '/home/pi/Desktop/images/01122025/04/05/image_01122025_04_06_04_9594.jpg', '/home/pi/Desktop/images/01122025/04/06/image_01122025_04_06_14_10703.jpg', '/home/pi/Desktop/images/01122025/04/06/image_01122025_04_06_24_9292.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/05/image_01122025_04_05_14_9793.jpg
/home/pi/Desktop/images/01122025/04/05/image_01122025_04_05_34_9693.jpg
/home/pi/Desktop/images/01122025/04/05/image_01122025_04_05_54_10656.jpg
/home/pi/Desktop/images/01122025/04/05/image_01122025_04_06_04_9594.jpg
/home/pi/Desktop/images/01122025/04/06/image_01122025_04_06_14_10703.jpg
/home/pi/Desktop/images/01122025/04/06/image_01122025_04_06_24_9292.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155485","1397155488","1397155490","1397155487","1397155495","1397155489"],"photo_ids_order":["1397155485","1397155487","1397155488","1397155489","1397155490","1397155495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ba647ad172197fdba8276283455a2bde.jpg","text":"TemporaryFile(/tmp/multipartBody2633234981327260672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558562715,"filename":"image_01122025_04_05_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/1/0773d5deac1bfd773632b5ab1f261e08.jpg","text":"TemporaryFile(/tmp/multipartBody3363742767545540752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558562715,"filename":"image_01122025_04_05_54_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a6b1fa36a80683d787a486d2f0801803.jpg","text":"TemporaryFile(/tmp/multipartBody2629352138096363754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558562715,"filename":"image_01122025_04_06_14_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/32eafbd533db37061f158d8485daf83e.jpg","text":"TemporaryFile(/tmp/multipartBody6236101699193964630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558562715,"filename":"image_01122025_04_05_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/1/521a41736485b84d4dcd2910e6e5786b.jpg","text":"TemporaryFile(/tmp/multipartBody6772327720124748133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558562715,"filename":"image_01122025_04_06_24_9292.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b8aa49b27625799b2a37471e09c1326e.jpg","text":"TemporaryFile(/tmp/multipartBody3271576389533188934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558562715,"filename":"image_01122025_04_06_04_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155488","file1":"1397155487","file0":"1397155485","file4":"1397155490","file5":"1397155495","file3":"1397155489"},"map_files_photo_id_array":[{"photo_id":"1397155495","filename":"file5"},{"photo_id":"1397155488","filename":"file2"},{"photo_id":"1397155490","filename":"file4"},{"photo_id":"1397155487","filename":"file1"},{"photo_id":"1397155485","filename":"file0"},{"photo_id":"1397155489","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397155485":["hashtag1","hashtag2"]},{"1397155488":["hashtag1","hashtag2"]},{"1397155490":["hashtag1","hashtag2"]},{"1397155487":["hashtag1","hashtag2"]},{"1397155495":["hashtag1","hashtag2"]},{"1397155489":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397155485, 1397155488, 1397155490, 1397155487, 1397155495, 1397155489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70095419883728 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:09:02.978936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/06/image_01122025_04_06_34_10696.jpg', '/home/pi/Desktop/images/01122025/04/06/image_01122025_04_06_54_9631.jpg', '/home/pi/Desktop/images/01122025/04/06/image_01122025_04_07_04_10349.jpg', '/home/pi/Desktop/images/01122025/04/07/image_01122025_04_07_14_9644.jpg', '/home/pi/Desktop/images/01122025/04/07/image_01122025_04_07_24_10651.jpg', '/home/pi/Desktop/images/01122025/04/07/image_01122025_04_07_44_10216.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/06/image_01122025_04_06_34_10696.jpg
/home/pi/Desktop/images/01122025/04/06/image_01122025_04_06_54_9631.jpg
/home/pi/Desktop/images/01122025/04/06/image_01122025_04_07_04_10349.jpg
/home/pi/Desktop/images/01122025/04/07/image_01122025_04_07_14_9644.jpg
/home/pi/Desktop/images/01122025/04/07/image_01122025_04_07_24_10651.jpg
/home/pi/Desktop/images/01122025/04/07/image_01122025_04_07_44_10216.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155504","1397155503","1397155506","1397155500","1397155508","1397155502"],"photo_ids_order":["1397155500","1397155502","1397155503","1397155504","1397155506","1397155508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/daa08316dcd91836d62c539878b75ebf.jpg","text":"TemporaryFile(/tmp/multipartBody1413458947018706177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558603981,"filename":"image_01122025_04_07_14_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e4802fe5132770a5c885e43d779347f5.jpg","text":"TemporaryFile(/tmp/multipartBody5415264219182893971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558603981,"filename":"image_01122025_04_07_04_10349.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/efb30a16b037a76781495f660c2a2640.jpg","text":"TemporaryFile(/tmp/multipartBody125172064189320612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558603981,"filename":"image_01122025_04_07_24_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/07c860d2e8391243459b2e90c57af438.jpg","text":"TemporaryFile(/tmp/multipartBody4886409655873180569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558603981,"filename":"image_01122025_04_06_34_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/060a34cea54b0cef95dad5d0d4b942ae.jpg","text":"TemporaryFile(/tmp/multipartBody5204200920568072130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558603981,"filename":"image_01122025_04_07_44_10216.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/765da86b52b8a3f74827dfe0e01a8f74.jpg","text":"TemporaryFile(/tmp/multipartBody4475955493849524112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558603981,"filename":"image_01122025_04_06_54_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155503","file1":"1397155502","file0":"1397155500","file4":"1397155506","file5":"1397155508","file3":"1397155504"},"map_files_photo_id_array":[{"photo_id":"1397155508","filename":"file5"},{"photo_id":"1397155503","filename":"file2"},{"photo_id":"1397155506","filename":"file4"},{"photo_id":"1397155502","filename":"file1"},{"photo_id":"1397155500","filename":"file0"},{"photo_id":"1397155504","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397155504":["hashtag1","hashtag2"]},{"1397155503":["hashtag1","hashtag2"]},{"1397155506":["hashtag1","hashtag2"]},{"1397155500":["hashtag1","hashtag2"]},{"1397155508":["hashtag1","hashtag2"]},{"1397155502":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397155504, 1397155503, 1397155506, 1397155500, 1397155508, 1397155502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87394571304321 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 04:09:42.031957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/30/image_01112025_00_30_15_2652.jpg', '/home/pi/Desktop/images/01112025/00/30/image_01112025_00_30_19_3590.jpg', '/home/pi/Desktop/images/01112025/00/30/image_01112025_00_30_21_2401.jpg', '/home/pi/Desktop/images/01112025/00/30/image_01112025_00_30_28_3754.jpg', '/home/pi/Desktop/images/01112025/00/30/image_01112025_00_30_30_2663.jpg', '/home/pi/Desktop/images/01112025/00/30/image_01112025_00_30_40_3009.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/30/image_01112025_00_30_15_2652.jpg
/home/pi/Desktop/images/01112025/00/30/image_01112025_00_30_19_3590.jpg
/home/pi/Desktop/images/01112025/00/30/image_01112025_00_30_21_2401.jpg
/home/pi/Desktop/images/01112025/00/30/image_01112025_00_30_28_3754.jpg
/home/pi/Desktop/images/01112025/00/30/image_01112025_00_30_30_2663.jpg
/home/pi/Desktop/images/01112025/00/30/image_01112025_00_30_40_3009.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155516","1397155518","1397155509","1397155520","1397155514","1397155511"],"photo_ids_order":["1397155509","1397155511","1397155514","1397155516","1397155518","1397155520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/96878d10f1ca38533029179a5bebf6fd.jpg","text":"TemporaryFile(/tmp/multipartBody513507138223508327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558642927,"filename":"image_01112025_00_30_28_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/1/57ba0ac010418165b1746a03b9f129a3.jpg","text":"TemporaryFile(/tmp/multipartBody8625128025402408442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558642927,"filename":"image_01112025_00_30_30_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/1/ba19ca7d4af4e77ca645b4d855f9b887.jpg","text":"TemporaryFile(/tmp/multipartBody8220914304695005469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558642927,"filename":"image_01112025_00_30_15_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/1/01ec795815826b678e7b2610090f9f8b.jpg","text":"TemporaryFile(/tmp/multipartBody8150938879088082970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558642927,"filename":"image_01112025_00_30_40_3009.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c7bd013b1f88ec527feea2739fa12aaa.jpg","text":"TemporaryFile(/tmp/multipartBody2452835021636062749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558642927,"filename":"image_01112025_00_30_21_2401.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a635e740a061e048d66780211d555cb2.jpg","text":"TemporaryFile(/tmp/multipartBody460174146370036627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558642927,"filename":"image_01112025_00_30_19_3590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155514","file1":"1397155511","file0":"1397155509","file4":"1397155518","file5":"1397155520","file3":"1397155516"},"map_files_photo_id_array":[{"photo_id":"1397155520","filename":"file5"},{"photo_id":"1397155514","filename":"file2"},{"photo_id":"1397155518","filename":"file4"},{"photo_id":"1397155511","filename":"file1"},{"photo_id":"1397155509","filename":"file0"},{"photo_id":"1397155516","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397155516":["hashtag1","hashtag2"]},{"1397155518":["hashtag1","hashtag2"]},{"1397155509":["hashtag1","hashtag2"]},{"1397155520":["hashtag1","hashtag2"]},{"1397155514":["hashtag1","hashtag2"]},{"1397155511":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397155516, 1397155518, 1397155509, 1397155520, 1397155514, 1397155511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31865334510803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 04:10:22.184675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/07/image_01122025_04_07_54_9838.jpg', '/home/pi/Desktop/images/01122025/04/07/image_01122025_04_08_04_9758.jpg', '/home/pi/Desktop/images/01122025/04/08/image_01122025_04_08_14_9662.jpg', '/home/pi/Desktop/images/01122025/04/08/image_01122025_04_08_24_10674.jpg', '/home/pi/Desktop/images/01122025/04/08/image_01122025_04_08_34_9613.jpg', '/home/pi/Desktop/images/01122025/04/08/image_01122025_04_08_44_9837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/07/image_01122025_04_07_54_9838.jpg
/home/pi/Desktop/images/01122025/04/07/image_01122025_04_08_04_9758.jpg
/home/pi/Desktop/images/01122025/04/08/image_01122025_04_08_14_9662.jpg
/home/pi/Desktop/images/01122025/04/08/image_01122025_04_08_24_10674.jpg
/home/pi/Desktop/images/01122025/04/08/image_01122025_04_08_34_9613.jpg
/home/pi/Desktop/images/01122025/04/08/image_01122025_04_08_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":["1397155525","1397155528","1397155530","1397155527","1397155526","1397155523"],"photo_ids_order":["1397155523","1397155525","1397155526","1397155527","1397155528","1397155530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/25aa8211eef735cc25e52815fc66d2c6.jpg","text":"TemporaryFile(/tmp/multipartBody2856423308335460475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558682963,"filename":"image_01122025_04_08_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/1/78535e3ca92076bb9a9f3dac0cc80dc9.jpg","text":"TemporaryFile(/tmp/multipartBody5797865170458010552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558682963,"filename":"image_01122025_04_08_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/1/b1bf9f9034a1572661e62b1e84aa19a4.jpg","text":"TemporaryFile(/tmp/multipartBody660788147417776939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558682963,"filename":"image_01122025_04_08_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/1/d0e785f7e9318240133058029ee8a383.jpg","text":"TemporaryFile(/tmp/multipartBody6100810441165248856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558682963,"filename":"image_01122025_04_08_24_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c66f3f97fb60d3396b28ba742aaed7ce.jpg","text":"TemporaryFile(/tmp/multipartBody8908133006234848887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558682963,"filename":"image_01122025_04_08_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c744cd451ddf31257f270896a468b164.jpg","text":"TemporaryFile(/tmp/multipartBody5921424716193764416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558682963,"filename":"image_01122025_04_07_54_9838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155526","file1":"1397155525","file0":"1397155523","file4":"1397155528","file5":"1397155530","file3":"1397155527"},"map_files_photo_id_array":[{"photo_id":"1397155530","filename":"file5"},{"photo_id":"1397155526","filename":"file2"},{"photo_id":"1397155528","filename":"file4"},{"photo_id":"1397155525","filename":"file1"},{"photo_id":"1397155523","filename":"file0"},{"photo_id":"1397155527","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397155525":["hashtag1","hashtag2"]},{"1397155528":["hashtag1","hashtag2"]},{"1397155530":["hashtag1","hashtag2"]},{"1397155527":["hashtag1","hashtag2"]},{"1397155526":["hashtag1","hashtag2"]},{"1397155523":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397155525, 1397155528, 1397155530, 1397155527, 1397155526, 1397155523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9725546836853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:11:03.237868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/09/image_01122025_04_09_44_9669.jpg', '/home/pi/Desktop/images/01122025/04/09/image_01122025_04_09_54_10586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/09/image_01122025_04_09_44_9669.jpg
/home/pi/Desktop/images/01122025/04/09/image_01122025_04_09_54_10586.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155537","1397155536"],"photo_ids_order":["1397155536","1397155537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bc61fc12394c442a1b280cb31431c2cf.jpg","text":"TemporaryFile(/tmp/multipartBody8808209366026481499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558723803,"filename":"image_01122025_04_09_54_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/297ff04a334f069bd6beea96725ceeb8.jpg","text":"TemporaryFile(/tmp/multipartBody8647125675211688807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558723803,"filename":"image_01122025_04_09_44_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397155537","file0":"1397155536"},"map_files_photo_id_array":[{"photo_id":"1397155537","filename":"file1"},{"photo_id":"1397155536","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397155537":["hashtag1","hashtag2"]},{"1397155536":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397155537, 1397155536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.214285850524902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 04:11:22.688348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/10/image_01122025_04_10_44_9625.jpg', '/home/pi/Desktop/images/01122025/04/10/image_01122025_04_11_04_9856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/10/image_01122025_04_10_44_9625.jpg
/home/pi/Desktop/images/01122025/04/10/image_01122025_04_11_04_9856.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155541","1397155540"],"photo_ids_order":["1397155540","1397155541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/30cd9e4d4b5bf0770728f6772274ceed.jpg","text":"TemporaryFile(/tmp/multipartBody727389879439530621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558743258,"filename":"image_01122025_04_11_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/1/ecf566bdcf108ebc821ce47ebf28bba8.jpg","text":"TemporaryFile(/tmp/multipartBody5389975665611149749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558743258,"filename":"image_01122025_04_10_44_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397155541","file0":"1397155540"},"map_files_photo_id_array":[{"photo_id":"1397155541","filename":"file1"},{"photo_id":"1397155540","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397155541":["hashtag1","hashtag2"]},{"1397155540":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397155541, 1397155540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.70773410797119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 04:11:42.636396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/30/image_01112025_00_30_45_2737.jpg', '/home/pi/Desktop/images/01112025/00/30/image_01112025_00_30_52_3693.jpg', '/home/pi/Desktop/images/01112025/00/30/image_01112025_00_30_55_3008.jpg', '/home/pi/Desktop/images/01112025/00/30/image_01112025_00_31_00_2614.jpg', '/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_04_3714.jpg', '/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_06_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/30/image_01112025_00_30_45_2737.jpg
/home/pi/Desktop/images/01112025/00/30/image_01112025_00_30_52_3693.jpg
/home/pi/Desktop/images/01112025/00/30/image_01112025_00_30_55_3008.jpg
/home/pi/Desktop/images/01112025/00/30/image_01112025_00_31_00_2614.jpg
/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_04_3714.jpg
/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_06_2683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397155543","1397155551","1397155545","1397155553","1397155547","1397155549"],"photo_ids_order":["1397155543","1397155545","1397155547","1397155549","1397155551","1397155553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/18056edcb45c9c9a2017321c0ac6a663.jpg","text":"TemporaryFile(/tmp/multipartBody8631547597729976279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558763486,"filename":"image_01112025_00_30_45_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/1/80bdab329472d8940e17f4fbace2e4a6.jpg","text":"TemporaryFile(/tmp/multipartBody7877513160090120551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558763486,"filename":"image_01112025_00_31_04_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/26852256a3528c26be6c62faaa2e77f7.jpg","text":"TemporaryFile(/tmp/multipartBody6922347246801117306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558763486,"filename":"image_01112025_00_30_52_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/1/e28f8ffb54dbee913947a851709f97e1.jpg","text":"TemporaryFile(/tmp/multipartBody4564174804212334338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558763486,"filename":"image_01112025_00_31_06_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/1/bf8c1ab58b096e739a4a91c9f6cd7537.jpg","text":"TemporaryFile(/tmp/multipartBody5518130730407200153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558763486,"filename":"image_01112025_00_30_55_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/1/94a9f9dbce03f0857d4e5f772f6ac401.jpg","text":"TemporaryFile(/tmp/multipartBody212067810566305422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558763486,"filename":"image_01112025_00_31_00_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155547","file1":"1397155545","file0":"1397155543","file4":"1397155551","file5":"1397155553","file3":"1397155549"},"map_files_photo_id_array":[{"photo_id":"1397155553","filename":"file5"},{"photo_id":"1397155547","filename":"file2"},{"photo_id":"1397155551","filename":"file4"},{"photo_id":"1397155545","filename":"file1"},{"photo_id":"1397155543","filename":"file0"},{"photo_id":"1397155549","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397155543":["hashtag1","hashtag2"]},{"1397155551":["hashtag1","hashtag2"]},{"1397155545":["hashtag1","hashtag2"]},{"1397155553":["hashtag1","hashtag2"]},{"1397155547":["hashtag1","hashtag2"]},{"1397155549":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397155543, 1397155551, 1397155545, 1397155553, 1397155547, 1397155549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.727463722229004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 04:12:32.812132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_09_2577.jpg', '/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_12_2663.jpg', '/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_24_12814.jpg', '/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_32_1592.jpg', '/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_34_1519.jpg', '/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_43_9211.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_09_2577.jpg
/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_12_2663.jpg
/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_24_12814.jpg
/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_32_1592.jpg
/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_34_1519.jpg
/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_43_9211.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155558","1397155563","1397155565","1397155559","1397155567","1397155561"],"photo_ids_order":["1397155558","1397155559","1397155561","1397155563","1397155565","1397155567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ea3d7966ac43b3bb825af71868e40e32.jpg","text":"TemporaryFile(/tmp/multipartBody6336939012417168693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558814595,"filename":"image_25112025_21_38_09_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/1/b9d468035a8ce427c4566d1c597edf23.jpg","text":"TemporaryFile(/tmp/multipartBody3322403726981934692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558814595,"filename":"image_25112025_21_38_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/1/f1d31fd7cb268192545334248b386cac.jpg","text":"TemporaryFile(/tmp/multipartBody4565082907150991828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558814595,"filename":"image_25112025_21_38_34_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/1/b1e19b61e9f80030379f7e8416d3862a.jpg","text":"TemporaryFile(/tmp/multipartBody1186834980248742637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558814595,"filename":"image_25112025_21_38_12_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/24f9f7a38d6bcdf80ae1e93eb15968bd.jpg","text":"TemporaryFile(/tmp/multipartBody769459509884075248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558814595,"filename":"image_25112025_21_38_43_9211.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a9aa84bf26ae20b9a9f233832a005dc5.jpg","text":"TemporaryFile(/tmp/multipartBody5645678132900649302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558814595,"filename":"image_25112025_21_38_24_12814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155561","file1":"1397155559","file0":"1397155558","file4":"1397155565","file5":"1397155567","file3":"1397155563"},"map_files_photo_id_array":[{"photo_id":"1397155567","filename":"file5"},{"photo_id":"1397155561","filename":"file2"},{"photo_id":"1397155565","filename":"file4"},{"photo_id":"1397155559","filename":"file1"},{"photo_id":"1397155558","filename":"file0"},{"photo_id":"1397155563","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397155558":["hashtag1","hashtag2"]},{"1397155563":["hashtag1","hashtag2"]},{"1397155565":["hashtag1","hashtag2"]},{"1397155559":["hashtag1","hashtag2"]},{"1397155567":["hashtag1","hashtag2"]},{"1397155561":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397155558, 1397155563, 1397155565, 1397155559, 1397155567, 1397155561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00796055793762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 04:13:11.885006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_46_3039.jpg', '/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_47_1670.jpg', '/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_49_1578.jpg', '/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_51_1667.jpg', '/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_52_1521.jpg', '/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_54_1724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_46_3039.jpg
/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_47_1670.jpg
/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_49_1578.jpg
/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_51_1667.jpg
/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_52_1521.jpg
/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_54_1724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155579","1397155570","1397155578","1397155574","1397155571","1397155576"],"photo_ids_order":["1397155570","1397155571","1397155574","1397155576","1397155578","1397155579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/445de1c4471b9a6966593f7cc1d08df5.jpg","text":"TemporaryFile(/tmp/multipartBody7583329732334833494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558853517,"filename":"image_25112025_21_38_54_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/1/8164fc687c39db63887341175e06fd46.jpg","text":"TemporaryFile(/tmp/multipartBody1162899132996767052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558853517,"filename":"image_25112025_21_38_46_3039.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f7c7f0a9606c5938acddd69993a167a7.jpg","text":"TemporaryFile(/tmp/multipartBody471039520000560183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558853517,"filename":"image_25112025_21_38_52_1521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b0907a76ba94e69bfeb97267d9ce4533.jpg","text":"TemporaryFile(/tmp/multipartBody52084964482323664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558853517,"filename":"image_25112025_21_38_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/1/81fbb4c8fcf06bd43c4fa83267c1edee.jpg","text":"TemporaryFile(/tmp/multipartBody2493727552910412140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558853517,"filename":"image_25112025_21_38_47_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/1/e649fbc2b9cd2ee82b65c27f78c388ee.jpg","text":"TemporaryFile(/tmp/multipartBody7829582962998332263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558853517,"filename":"image_25112025_21_38_51_1667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155574","file1":"1397155571","file0":"1397155570","file4":"1397155578","file5":"1397155579","file3":"1397155576"},"map_files_photo_id_array":[{"photo_id":"1397155579","filename":"file5"},{"photo_id":"1397155574","filename":"file2"},{"photo_id":"1397155578","filename":"file4"},{"photo_id":"1397155571","filename":"file1"},{"photo_id":"1397155570","filename":"file0"},{"photo_id":"1397155576","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397155579":["hashtag1","hashtag2"]},{"1397155570":["hashtag1","hashtag2"]},{"1397155578":["hashtag1","hashtag2"]},{"1397155574":["hashtag1","hashtag2"]},{"1397155571":["hashtag1","hashtag2"]},{"1397155576":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397155579, 1397155570, 1397155578, 1397155574, 1397155571, 1397155576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69086742401123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:14:03.045527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/11/image_01122025_04_11_44_10690.jpg', '/home/pi/Desktop/images/01122025/04/12/image_01122025_04_12_24_9788.jpg', '/home/pi/Desktop/images/01122025/04/12/image_01122025_04_12_34_10730.jpg', '/home/pi/Desktop/images/01122025/04/13/image_01122025_04_13_14_9690.jpg', '/home/pi/Desktop/images/01122025/04/13/image_01122025_04_13_34_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/11/image_01122025_04_11_44_10690.jpg
/home/pi/Desktop/images/01122025/04/12/image_01122025_04_12_24_9788.jpg
/home/pi/Desktop/images/01122025/04/12/image_01122025_04_12_34_10730.jpg
/home/pi/Desktop/images/01122025/04/13/image_01122025_04_13_14_9690.jpg
/home/pi/Desktop/images/01122025/04/13/image_01122025_04_13_34_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":["1397155590","1397155592","1397155589","1397155585","1397155588"],"photo_ids_order":["1397155585","1397155588","1397155589","1397155590","1397155592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3e1a278e2949738c98b60c5915a1d6a5.jpg","text":"TemporaryFile(/tmp/multipartBody5886892689592633218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558903768,"filename":"image_01122025_04_13_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/1/09e26e592ff17368f5e08b98f02fc486.jpg","text":"TemporaryFile(/tmp/multipartBody835824794904454045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558903768,"filename":"image_01122025_04_13_34_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/484b24416ce3e8587b735b35c405313d.jpg","text":"TemporaryFile(/tmp/multipartBody4834467343173687478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558903768,"filename":"image_01122025_04_12_34_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/911c01cf2d275c748a8c8ec0ccd7f445.jpg","text":"TemporaryFile(/tmp/multipartBody2058465089291172706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558903768,"filename":"image_01122025_04_11_44_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/997ce3b369f67e7c696b190874e1bca3.jpg","text":"TemporaryFile(/tmp/multipartBody8339358685506777699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558903768,"filename":"image_01122025_04_12_24_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155589","file1":"1397155588","file0":"1397155585","file4":"1397155592","file3":"1397155590"},"map_files_photo_id_array":[{"photo_id":"1397155589","filename":"file2"},{"photo_id":"1397155592","filename":"file4"},{"photo_id":"1397155588","filename":"file1"},{"photo_id":"1397155585","filename":"file0"},{"photo_id":"1397155590","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397155590":["hashtag1","hashtag2"]},{"1397155592":["hashtag1","hashtag2"]},{"1397155589":["hashtag1","hashtag2"]},{"1397155585":["hashtag1","hashtag2"]},{"1397155588":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397155590, 1397155592, 1397155589, 1397155585, 1397155588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.651721715927124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 04:14:42.265236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_13_3697.jpg', '/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_18_2630.jpg', '/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_21_2751.jpg', '/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_24_3684.jpg', '/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_27_2692.jpg', '/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_39_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_13_3697.jpg
/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_18_2630.jpg
/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_21_2751.jpg
/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_24_3684.jpg
/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_27_2692.jpg
/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_39_2654.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7538859844207764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:15:03.047379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/13/image_01122025_04_13_44_9758.jpg', '/home/pi/Desktop/images/01122025/04/13/image_01122025_04_14_04_9905.jpg', '/home/pi/Desktop/images/01122025/04/14/image_01122025_04_14_14_10719.jpg', '/home/pi/Desktop/images/01122025/04/14/image_01122025_04_14_24_9591.jpg', '/home/pi/Desktop/images/01122025/04/14/image_01122025_04_14_34_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/13/image_01122025_04_13_44_9758.jpg
/home/pi/Desktop/images/01122025/04/13/image_01122025_04_14_04_9905.jpg
/home/pi/Desktop/images/01122025/04/14/image_01122025_04_14_14_10719.jpg
/home/pi/Desktop/images/01122025/04/14/image_01122025_04_14_24_9591.jpg
/home/pi/Desktop/images/01122025/04/14/image_01122025_04_14_34_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":["1397155615","1397155609","1397155611","1397155610","1397155613"],"photo_ids_order":["1397155609","1397155610","1397155611","1397155613","1397155615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7dd6acf8c7a59e8619149a77cae8cd0d.jpg","text":"TemporaryFile(/tmp/multipartBody2219785863122864086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558966551,"filename":"image_01122025_04_14_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/1/1c346032b5ef60c36d6963afa5eaf160.jpg","text":"TemporaryFile(/tmp/multipartBody7999446540560494741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558966551,"filename":"image_01122025_04_13_44_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b2d7abac4b5e4bc72aed7f19e686410a.jpg","text":"TemporaryFile(/tmp/multipartBody5604545712962028542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558966551,"filename":"image_01122025_04_14_14_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/65b0667ea00fa0dea45515f592d30c7d.jpg","text":"TemporaryFile(/tmp/multipartBody8720832705592108457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558966551,"filename":"image_01122025_04_14_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/1/ecf876e978bf0f7033aa58786a052dca.jpg","text":"TemporaryFile(/tmp/multipartBody1214895441937579745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764558966551,"filename":"image_01122025_04_14_24_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155611","file1":"1397155610","file0":"1397155609","file4":"1397155615","file3":"1397155613"},"map_files_photo_id_array":[{"photo_id":"1397155611","filename":"file2"},{"photo_id":"1397155615","filename":"file4"},{"photo_id":"1397155610","filename":"file1"},{"photo_id":"1397155609","filename":"file0"},{"photo_id":"1397155613","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397155615":["hashtag1","hashtag2"]},{"1397155609":["hashtag1","hashtag2"]},{"1397155611":["hashtag1","hashtag2"]},{"1397155610":["hashtag1","hashtag2"]},{"1397155613":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397155615, 1397155609, 1397155611, 1397155610, 1397155613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.40791583061218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 04:15:42.352646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_13_3697.jpg', '/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_18_2630.jpg', '/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_21_2751.jpg', '/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_24_3684.jpg', '/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_27_2692.jpg', '/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_39_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_13_3697.jpg
/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_18_2630.jpg
/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_21_2751.jpg
/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_24_3684.jpg
/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_27_2692.jpg
/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_39_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":["1397155621","1397155630","1397155623","1397155631","1397155625","1397155628"],"photo_ids_order":["1397155621","1397155623","1397155625","1397155628","1397155630","1397155631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ff59569db76e0356d463a43a9ff92843.jpg","text":"TemporaryFile(/tmp/multipartBody4208083880133944113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559004887,"filename":"image_01112025_00_31_13_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/1/404e2c48821e594e7da6b374c5c6fe74.jpg","text":"TemporaryFile(/tmp/multipartBody1738974818998274591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559004887,"filename":"image_01112025_00_31_27_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/1/c3758120a141d0b2df8f8e8abe89cbdf.jpg","text":"TemporaryFile(/tmp/multipartBody7094633399889759063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559004887,"filename":"image_01112025_00_31_18_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/1/6d5a2227778ec6f2d3d7a1a072e71f38.jpg","text":"TemporaryFile(/tmp/multipartBody2335341473055297155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559004887,"filename":"image_01112025_00_31_39_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/88038ef61db9d47fd2245b9ab3ca21d8.jpg","text":"TemporaryFile(/tmp/multipartBody5613023950742467738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559004887,"filename":"image_01112025_00_31_21_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/1/f39bbbfca03b5ffe7d40c259851bdd9b.jpg","text":"TemporaryFile(/tmp/multipartBody2048577107545699092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559004887,"filename":"image_01112025_00_31_24_3684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155625","file1":"1397155623","file0":"1397155621","file4":"1397155630","file5":"1397155631","file3":"1397155628"},"map_files_photo_id_array":[{"photo_id":"1397155631","filename":"file5"},{"photo_id":"1397155625","filename":"file2"},{"photo_id":"1397155630","filename":"file4"},{"photo_id":"1397155623","filename":"file1"},{"photo_id":"1397155621","filename":"file0"},{"photo_id":"1397155628","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397155621":["hashtag1","hashtag2"]},{"1397155630":["hashtag1","hashtag2"]},{"1397155623":["hashtag1","hashtag2"]},{"1397155631":["hashtag1","hashtag2"]},{"1397155625":["hashtag1","hashtag2"]},{"1397155628":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397155621, 1397155630, 1397155623, 1397155631, 1397155625, 1397155628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16248273849487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 04:16:22.560316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/14/image_01122025_04_14_43_9824.jpg', '/home/pi/Desktop/images/01122025/04/15/image_01122025_04_15_24_10703.jpg', '/home/pi/Desktop/images/01122025/04/15/image_01122025_04_15_54_9800.jpg', '/home/pi/Desktop/images/01122025/04/16/image_01122025_04_16_14_9592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/14/image_01122025_04_14_43_9824.jpg
/home/pi/Desktop/images/01122025/04/15/image_01122025_04_15_24_10703.jpg
/home/pi/Desktop/images/01122025/04/15/image_01122025_04_15_54_9800.jpg
/home/pi/Desktop/images/01122025/04/16/image_01122025_04_16_14_9592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155633","1397155632","1397155635","1397155634"],"photo_ids_order":["1397155632","1397155633","1397155634","1397155635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0684508902a96f24b3c3c87e7af6b741.jpg","text":"TemporaryFile(/tmp/multipartBody1578800499664547779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559043193,"filename":"image_01122025_04_15_24_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/1/bb4dd1c7eedb5ad128f0cc6a1ff9753a.jpg","text":"TemporaryFile(/tmp/multipartBody8690812204262878416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559043193,"filename":"image_01122025_04_14_43_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/1/1c7765820af809784d3a631ab4fdd1fd.jpg","text":"TemporaryFile(/tmp/multipartBody7643142272802934152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559043193,"filename":"image_01122025_04_16_14_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3913792a1212f2a50d12c1e2770e0700.jpg","text":"TemporaryFile(/tmp/multipartBody2951618495872846697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559043193,"filename":"image_01122025_04_15_54_9800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155634","file1":"1397155633","file0":"1397155632","file3":"1397155635"},"map_files_photo_id_array":[{"photo_id":"1397155634","filename":"file2"},{"photo_id":"1397155633","filename":"file1"},{"photo_id":"1397155632","filename":"file0"},{"photo_id":"1397155635","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397155633":["hashtag1","hashtag2"]},{"1397155632":["hashtag1","hashtag2"]},{"1397155635":["hashtag1","hashtag2"]},{"1397155634":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397155633, 1397155632, 1397155635, 1397155634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.28940463066101 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:17:03.841927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 04:17:12.743505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_56_1633.jpg', '/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_57_1640.jpg', '/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_59_1588.jpg', '/home/pi/Desktop/images/25112025/21/38/image_25112025_21_39_00_1642.jpg', '/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_02_1665.jpg', '/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_04_1682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_56_1633.jpg
/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_57_1640.jpg
/home/pi/Desktop/images/25112025/21/38/image_25112025_21_38_59_1588.jpg
/home/pi/Desktop/images/25112025/21/38/image_25112025_21_39_00_1642.jpg
/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_02_1665.jpg
/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_04_1682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155645","1397155644","1397155647","1397155643","1397155646","1397155648"],"photo_ids_order":["1397155643","1397155644","1397155645","1397155646","1397155647","1397155648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/30fe85a8ed6f7a00ae11dfd0c6d6f429.jpg","text":"TemporaryFile(/tmp/multipartBody9031571829058121033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559094711,"filename":"image_25112025_21_38_59_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/1/a4f0b2e7309ce67727214a1ef3bf2a35.jpg","text":"TemporaryFile(/tmp/multipartBody2975336805391484572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559094711,"filename":"image_25112025_21_38_57_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/1/f12ba2c46a71a4be3cab9fedf4e3f823.jpg","text":"TemporaryFile(/tmp/multipartBody1900273240498745822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559094711,"filename":"image_25112025_21_39_02_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/212ccf58756278641aed88acdf46a0d3.jpg","text":"TemporaryFile(/tmp/multipartBody3464464984441785189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559094711,"filename":"image_25112025_21_38_56_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/1/335fe6e160591be4a72b5c158a23a71a.jpg","text":"TemporaryFile(/tmp/multipartBody4825296636763482397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559094711,"filename":"image_25112025_21_39_00_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/1/06f8f89a5fd2818fb0094869728e9b2c.jpg","text":"TemporaryFile(/tmp/multipartBody9079750831781298687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559094711,"filename":"image_25112025_21_39_04_1682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155645","file1":"1397155644","file0":"1397155643","file4":"1397155647","file5":"1397155648","file3":"1397155646"},"map_files_photo_id_array":[{"photo_id":"1397155648","filename":"file5"},{"photo_id":"1397155645","filename":"file2"},{"photo_id":"1397155647","filename":"file4"},{"photo_id":"1397155644","filename":"file1"},{"photo_id":"1397155643","filename":"file0"},{"photo_id":"1397155646","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397155645":["hashtag1","hashtag2"]},{"1397155644":["hashtag1","hashtag2"]},{"1397155647":["hashtag1","hashtag2"]},{"1397155643":["hashtag1","hashtag2"]},{"1397155646":["hashtag1","hashtag2"]},{"1397155648":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397155645, 1397155644, 1397155647, 1397155643, 1397155646, 1397155648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.199602127075195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:18:02.504573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/16/image_01122025_04_16_54_9684.jpg', '/home/pi/Desktop/images/01122025/04/16/image_01122025_04_17_04_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/16/image_01122025_04_16_54_9684.jpg
/home/pi/Desktop/images/01122025/04/16/image_01122025_04_17_04_10686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155659","1397155658"],"photo_ids_order":["1397155658","1397155659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0760a76f967b5ab9f23dc845f1d16b57.jpg","text":"TemporaryFile(/tmp/multipartBody6096142043366350752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559143100,"filename":"image_01122025_04_17_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/1/0cc542a06d2919f488e11aa6d2e078cf.jpg","text":"TemporaryFile(/tmp/multipartBody3262470011889313812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559143100,"filename":"image_01122025_04_16_54_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397155659","file0":"1397155658"},"map_files_photo_id_array":[{"photo_id":"1397155659","filename":"file1"},{"photo_id":"1397155658","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397155659":["hashtag1","hashtag2"]},{"1397155658":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397155659, 1397155658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.409848928451538 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 04:18:22.101022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/17/image_01122025_04_17_24_9858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/17/image_01122025_04_17_24_9858.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155662"],"photo_id":"1397155662","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e29f6bca951e580b1a6de498d3d33687.jpg","text":"TemporaryFile(/tmp/multipartBody3174377701592619504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559162617,"filename":"image_01122025_04_17_24_9858.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1397155662"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1397155662"}],"hashtags":[],"portfolio_id":"29033749","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.575185060501099 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 04:18:42.056517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_42_2709.jpg', '/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_48_2739.jpg', '/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_54_2695.jpg', '/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_57_2618.jpg', '/home/pi/Desktop/images/01112025/00/32/image_01112025_00_32_18_2569.jpg', '/home/pi/Desktop/images/01112025/00/32/image_01112025_00_32_25_2870.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_42_2709.jpg
/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_48_2739.jpg
/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_54_2695.jpg
/home/pi/Desktop/images/01112025/00/31/image_01112025_00_31_57_2618.jpg
/home/pi/Desktop/images/01112025/00/32/image_01112025_00_32_18_2569.jpg
/home/pi/Desktop/images/01112025/00/32/image_01112025_00_32_25_2870.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155665","1397155674","1397155668","1397155676","1397155670","1397155672"],"photo_ids_order":["1397155665","1397155668","1397155670","1397155672","1397155674","1397155676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2cfbcf12578de9689002bb9b6235a5a4.jpg","text":"TemporaryFile(/tmp/multipartBody1199859538071655808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559182905,"filename":"image_01112025_00_31_42_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e0ad18cff636619543e8e067a0de61d7.jpg","text":"TemporaryFile(/tmp/multipartBody2890656776456695205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559182905,"filename":"image_01112025_00_32_18_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/1/7d5a53df6fd3d77faa564934d4efa864.jpg","text":"TemporaryFile(/tmp/multipartBody5871190163951460467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559182905,"filename":"image_01112025_00_31_48_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/1/74fcdfdeac968a56cb55c722332f9c38.jpg","text":"TemporaryFile(/tmp/multipartBody5781389558853467994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559182905,"filename":"image_01112025_00_32_25_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/1/7c7a6ea16eba0953972241a168c80254.jpg","text":"TemporaryFile(/tmp/multipartBody7833475068366185323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559182905,"filename":"image_01112025_00_31_54_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/1/be54ba98710ede0e418876ede139bed0.jpg","text":"TemporaryFile(/tmp/multipartBody3595028093398570260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559182905,"filename":"image_01112025_00_31_57_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155670","file1":"1397155668","file0":"1397155665","file4":"1397155674","file5":"1397155676","file3":"1397155672"},"map_files_photo_id_array":[{"photo_id":"1397155676","filename":"file5"},{"photo_id":"1397155670","filename":"file2"},{"photo_id":"1397155674","filename":"file4"},{"photo_id":"1397155668","filename":"file1"},{"photo_id":"1397155665","filename":"file0"},{"photo_id":"1397155672","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397155665":["hashtag1","hashtag2"]},{"1397155674":["hashtag1","hashtag2"]},{"1397155668":["hashtag1","hashtag2"]},{"1397155676":["hashtag1","hashtag2"]},{"1397155670":["hashtag1","hashtag2"]},{"1397155672":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397155665, 1397155674, 1397155668, 1397155676, 1397155670, 1397155672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.67002201080322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 04:19:22.257558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/18/image_01122025_04_18_44_9707.jpg', '/home/pi/Desktop/images/01122025/04/18/image_01122025_04_19_04_10662.jpg', '/home/pi/Desktop/images/01122025/04/19/image_01122025_04_19_14_9624.jpg', '/home/pi/Desktop/images/01122025/04/19/image_01122025_04_19_34_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/18/image_01122025_04_18_44_9707.jpg
/home/pi/Desktop/images/01122025/04/18/image_01122025_04_19_04_10662.jpg
/home/pi/Desktop/images/01122025/04/19/image_01122025_04_19_14_9624.jpg
/home/pi/Desktop/images/01122025/04/19/image_01122025_04_19_34_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":["1397155678","1397155683","1397155685","1397155681"],"photo_ids_order":["1397155678","1397155681","1397155683","1397155685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7f21c0b8c5777d1b5dfe9581a55303ca.jpg","text":"TemporaryFile(/tmp/multipartBody8175622074564692946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559222885,"filename":"image_01122025_04_18_44_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/81ebdd8cf883e61463d86abd204ea493.jpg","text":"TemporaryFile(/tmp/multipartBody632831124228570753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559222885,"filename":"image_01122025_04_19_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/1/decbabfa4dcbb4b324bebb0360ab173b.jpg","text":"TemporaryFile(/tmp/multipartBody5772763153969834859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559222885,"filename":"image_01122025_04_19_34_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2deed834e8edd420b180ba4f1d27fe0e.jpg","text":"TemporaryFile(/tmp/multipartBody5273354866771707474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559222885,"filename":"image_01122025_04_19_04_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155683","file1":"1397155681","file0":"1397155678","file3":"1397155685"},"map_files_photo_id_array":[{"photo_id":"1397155683","filename":"file2"},{"photo_id":"1397155681","filename":"file1"},{"photo_id":"1397155678","filename":"file0"},{"photo_id":"1397155685","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397155678":["hashtag1","hashtag2"]},{"1397155683":["hashtag1","hashtag2"]},{"1397155685":["hashtag1","hashtag2"]},{"1397155681":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397155678, 1397155683, 1397155685, 1397155681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.65493130683899 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:20:02.733956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_06_2618.jpg', '/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_09_2713.jpg', '/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_12_2566.jpg', '/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_15_3633.jpg', '/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_18_2521.jpg', '/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_21_3261.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_06_2618.jpg
/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_09_2713.jpg
/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_12_2566.jpg
/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_15_3633.jpg
/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_18_2521.jpg
/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_21_3261.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155695","1397155698","1397155692","1397155694","1397155697","1397155693"],"photo_ids_order":["1397155692","1397155693","1397155694","1397155695","1397155697","1397155698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f25b869a99075655923931f4a518e8ac.jpg","text":"TemporaryFile(/tmp/multipartBody6343015518519150535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559263798,"filename":"image_25112025_21_39_15_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/1/e500afae140a64fadc05c2623d4f467d.jpg","text":"TemporaryFile(/tmp/multipartBody1865439759952299289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559263798,"filename":"image_25112025_21_39_21_3261.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c7013d2df11e9ae6594cbffb32d60841.jpg","text":"TemporaryFile(/tmp/multipartBody2662418481166781246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559263798,"filename":"image_25112025_21_39_06_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f945051f5f3fbfbedceb383851bc34e0.jpg","text":"TemporaryFile(/tmp/multipartBody4947215709319900011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559263798,"filename":"image_25112025_21_39_12_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/70d0e6553d23701d72e734146c79ec3d.jpg","text":"TemporaryFile(/tmp/multipartBody2894042340738249426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559263798,"filename":"image_25112025_21_39_18_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/1/abfe3da49e7e77baf0da17464d060b01.jpg","text":"TemporaryFile(/tmp/multipartBody8818530157137384056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559263798,"filename":"image_25112025_21_39_09_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155694","file1":"1397155693","file0":"1397155692","file4":"1397155697","file5":"1397155698","file3":"1397155695"},"map_files_photo_id_array":[{"photo_id":"1397155698","filename":"file5"},{"photo_id":"1397155694","filename":"file2"},{"photo_id":"1397155697","filename":"file4"},{"photo_id":"1397155693","filename":"file1"},{"photo_id":"1397155692","filename":"file0"},{"photo_id":"1397155695","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397155695":["hashtag1","hashtag2"]},{"1397155698":["hashtag1","hashtag2"]},{"1397155692":["hashtag1","hashtag2"]},{"1397155694":["hashtag1","hashtag2"]},{"1397155697":["hashtag1","hashtag2"]},{"1397155693":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397155695, 1397155698, 1397155692, 1397155694, 1397155697, 1397155693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.416563987731934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 04:20:42.480141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/32/image_01112025_00_32_36_2654.jpg', '/home/pi/Desktop/images/01112025/00/32/image_01112025_00_32_57_3598.jpg', '/home/pi/Desktop/images/01112025/00/32/image_01112025_00_33_00_2672.jpg', '/home/pi/Desktop/images/01112025/00/33/image_01112025_00_33_06_2731.jpg', '/home/pi/Desktop/images/01112025/00/33/image_01112025_00_33_12_3744.jpg', '/home/pi/Desktop/images/01112025/00/33/image_01112025_00_33_21_3641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/32/image_01112025_00_32_36_2654.jpg
/home/pi/Desktop/images/01112025/00/32/image_01112025_00_32_57_3598.jpg
/home/pi/Desktop/images/01112025/00/32/image_01112025_00_33_00_2672.jpg
/home/pi/Desktop/images/01112025/00/33/image_01112025_00_33_06_2731.jpg
/home/pi/Desktop/images/01112025/00/33/image_01112025_00_33_12_3744.jpg
/home/pi/Desktop/images/01112025/00/33/image_01112025_00_33_21_3641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155711","1397155708","1397155701","1397155706","1397155699","1397155703"],"photo_ids_order":["1397155699","1397155701","1397155703","1397155706","1397155708","1397155711"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/11502b313ccf8f179672f229ea73df20.jpg","text":"TemporaryFile(/tmp/multipartBody7226182985718183744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559303378,"filename":"image_01112025_00_33_21_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/1/72838fa8c413284681dc4968f14a80b4.jpg","text":"TemporaryFile(/tmp/multipartBody2490480884307077723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559303378,"filename":"image_01112025_00_33_12_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/1/cb40a6edfbff5c50f332721dc0f0138c.jpg","text":"TemporaryFile(/tmp/multipartBody2491735719406068678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559303378,"filename":"image_01112025_00_32_57_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/1/757fc7e796413271cb43709e06b41d98.jpg","text":"TemporaryFile(/tmp/multipartBody7903457390030352461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559303378,"filename":"image_01112025_00_33_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/1/9f9f1e73c85bf2f592c59a373dd8e686.jpg","text":"TemporaryFile(/tmp/multipartBody5541700757118237223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559303378,"filename":"image_01112025_00_32_36_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3ef24855edb8a545bb2d1f2fa93f4453.jpg","text":"TemporaryFile(/tmp/multipartBody8659342284337612238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559303378,"filename":"image_01112025_00_33_00_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155703","file1":"1397155701","file0":"1397155699","file4":"1397155708","file5":"1397155711","file3":"1397155706"},"map_files_photo_id_array":[{"photo_id":"1397155711","filename":"file5"},{"photo_id":"1397155703","filename":"file2"},{"photo_id":"1397155708","filename":"file4"},{"photo_id":"1397155701","filename":"file1"},{"photo_id":"1397155699","filename":"file0"},{"photo_id":"1397155706","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397155711":["hashtag1","hashtag2"]},{"1397155708":["hashtag1","hashtag2"]},{"1397155701":["hashtag1","hashtag2"]},{"1397155706":["hashtag1","hashtag2"]},{"1397155699":["hashtag1","hashtag2"]},{"1397155703":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397155711, 1397155708, 1397155701, 1397155706, 1397155699, 1397155703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.186057567596436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 04:21:22.600904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/19/image_01122025_04_19_54_9898.jpg', '/home/pi/Desktop/images/01122025/04/19/image_01122025_04_20_04_9865.jpg', '/home/pi/Desktop/images/01122025/04/20/image_01122025_04_20_24_9781.jpg', '/home/pi/Desktop/images/01122025/04/20/image_01122025_04_20_34_10646.jpg', '/home/pi/Desktop/images/01122025/04/20/image_01122025_04_21_04_10581.jpg', '/home/pi/Desktop/images/01122025/04/21/image_01122025_04_21_14_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/19/image_01122025_04_19_54_9898.jpg
/home/pi/Desktop/images/01122025/04/19/image_01122025_04_20_04_9865.jpg
/home/pi/Desktop/images/01122025/04/20/image_01122025_04_20_24_9781.jpg
/home/pi/Desktop/images/01122025/04/20/image_01122025_04_20_34_10646.jpg
/home/pi/Desktop/images/01122025/04/20/image_01122025_04_21_04_10581.jpg
/home/pi/Desktop/images/01122025/04/21/image_01122025_04_21_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":["1397155723","1397155722","1397155724","1397155718","1397155727","1397155721"],"photo_ids_order":["1397155718","1397155721","1397155722","1397155723","1397155724","1397155727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1bcc824be2d729e9a13cb9779d5b287e.jpg","text":"TemporaryFile(/tmp/multipartBody6711359547416243147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559343372,"filename":"image_01122025_04_20_34_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1aa15c43696e76e999de22341b6d17dc.jpg","text":"TemporaryFile(/tmp/multipartBody7804588746807428394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559343372,"filename":"image_01122025_04_20_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/1/534d37adc099461de1b2798dd90809d8.jpg","text":"TemporaryFile(/tmp/multipartBody5344974535906030811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559343372,"filename":"image_01122025_04_21_04_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2b9b3abee006f0033f1e5d3ffc154abe.jpg","text":"TemporaryFile(/tmp/multipartBody8093667479711578207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559343372,"filename":"image_01122025_04_19_54_9898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/326f3dd6e3f3fd8d24623abce70c30aa.jpg","text":"TemporaryFile(/tmp/multipartBody10992838602067753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559343372,"filename":"image_01122025_04_21_14_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4789da4a032f9095ea68e0481731c0c8.jpg","text":"TemporaryFile(/tmp/multipartBody8147469598201625908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559343372,"filename":"image_01122025_04_20_04_9865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155722","file1":"1397155721","file0":"1397155718","file4":"1397155724","file5":"1397155727","file3":"1397155723"},"map_files_photo_id_array":[{"photo_id":"1397155727","filename":"file5"},{"photo_id":"1397155722","filename":"file2"},{"photo_id":"1397155724","filename":"file4"},{"photo_id":"1397155721","filename":"file1"},{"photo_id":"1397155718","filename":"file0"},{"photo_id":"1397155723","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397155723":["hashtag1","hashtag2"]},{"1397155722":["hashtag1","hashtag2"]},{"1397155724":["hashtag1","hashtag2"]},{"1397155718":["hashtag1","hashtag2"]},{"1397155727":["hashtag1","hashtag2"]},{"1397155721":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397155723, 1397155722, 1397155724, 1397155718, 1397155727, 1397155721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33820915222168 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:22:03.163973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/21/image_01122025_04_21_24_9811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/21/image_01122025_04_21_24_9811.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155732"],"photo_id":"1397155732","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d13fb2ac2e7fc65a3dad6cde1d23f0b2.jpg","text":"TemporaryFile(/tmp/multipartBody4582721345191880852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559383654,"filename":"image_01122025_04_21_24_9811.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1397155732"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1397155732"}],"hashtags":[],"portfolio_id":"29033749","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.92184567451477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 04:22:22.804765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/21/image_01122025_04_21_44_10760.jpg', '/home/pi/Desktop/images/01122025/04/21/image_01122025_04_22_04_9721.jpg', '/home/pi/Desktop/images/01122025/04/22/image_01122025_04_22_14_9817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/21/image_01122025_04_21_44_10760.jpg
/home/pi/Desktop/images/01122025/04/21/image_01122025_04_22_04_9721.jpg
/home/pi/Desktop/images/01122025/04/22/image_01122025_04_22_14_9817.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155735","1397155737","1397155739"],"photo_ids_order":["1397155735","1397155737","1397155739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ec86423436609fb25bbd6e29eca08252.jpg","text":"TemporaryFile(/tmp/multipartBody4010971435415124283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559403390,"filename":"image_01122025_04_21_44_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/1/3501789474ead0619d396213fb1ee342.jpg","text":"TemporaryFile(/tmp/multipartBody900984101011558455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559403390,"filename":"image_01122025_04_22_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/1/8070e497ea3a0a3a192b5c96135fae9b.jpg","text":"TemporaryFile(/tmp/multipartBody6639793867144721986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559403390,"filename":"image_01122025_04_22_14_9817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155739","file1":"1397155737","file0":"1397155735"},"map_files_photo_id_array":[{"photo_id":"1397155739","filename":"file2"},{"photo_id":"1397155737","filename":"file1"},{"photo_id":"1397155735","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397155735":["hashtag1","hashtag2"]},{"1397155737":["hashtag1","hashtag2"]},{"1397155739":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397155735, 1397155737, 1397155739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.843980312347412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:23:02.706895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_24_2819.jpg', '/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_27_3561.jpg', '/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_30_2671.jpg', '/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_33_2653.jpg', '/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_36_3535.jpg', '/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_39_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_24_2819.jpg
/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_27_3561.jpg
/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_30_2671.jpg
/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_33_2653.jpg
/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_36_3535.jpg
/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_39_2663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155749","1397155751","1397155745","1397155748","1397155753","1397155747"],"photo_ids_order":["1397155745","1397155747","1397155748","1397155749","1397155751","1397155753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a1e6d46069534a765891856e342f196c.jpg","text":"TemporaryFile(/tmp/multipartBody7409908102263448922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559443917,"filename":"image_25112025_21_39_33_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/1/ff1f8b0117ac2e6cb2799a322cddae99.jpg","text":"TemporaryFile(/tmp/multipartBody203005106853439186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559443917,"filename":"image_25112025_21_39_36_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6a41fc794d08342e12765fad0f4779d3.jpg","text":"TemporaryFile(/tmp/multipartBody9131181058114055598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559443917,"filename":"image_25112025_21_39_24_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/35d3155ec8a7bfd8e891ea34ee0b0d60.jpg","text":"TemporaryFile(/tmp/multipartBody6516965892811753150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559443917,"filename":"image_25112025_21_39_30_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/1/35fb5ddecb36d8f858a14fe36db6baf8.jpg","text":"TemporaryFile(/tmp/multipartBody3530975664249162298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559443917,"filename":"image_25112025_21_39_39_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/1/46162ed5b6747f3dfcf3011ef4f6cb8c.jpg","text":"TemporaryFile(/tmp/multipartBody1108039711380644742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559443917,"filename":"image_25112025_21_39_27_3561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155748","file1":"1397155747","file0":"1397155745","file4":"1397155751","file5":"1397155753","file3":"1397155749"},"map_files_photo_id_array":[{"photo_id":"1397155753","filename":"file5"},{"photo_id":"1397155748","filename":"file2"},{"photo_id":"1397155751","filename":"file4"},{"photo_id":"1397155747","filename":"file1"},{"photo_id":"1397155745","filename":"file0"},{"photo_id":"1397155749","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397155749":["hashtag1","hashtag2"]},{"1397155751":["hashtag1","hashtag2"]},{"1397155745":["hashtag1","hashtag2"]},{"1397155748":["hashtag1","hashtag2"]},{"1397155753":["hashtag1","hashtag2"]},{"1397155747":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397155749, 1397155751, 1397155745, 1397155748, 1397155753, 1397155747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89558982849121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 04:23:42.000408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/33/image_01112025_00_33_24_2584.jpg', '/home/pi/Desktop/images/01112025/00/33/image_01112025_00_33_39_2601.jpg', '/home/pi/Desktop/images/01112025/00/33/image_01112025_00_33_42_3538.jpg', '/home/pi/Desktop/images/01112025/00/33/image_01112025_00_33_48_3662.jpg', '/home/pi/Desktop/images/01112025/00/33/image_01112025_00_33_51_2607.jpg', '/home/pi/Desktop/images/01112025/00/33/image_01112025_00_33_54_2954.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/33/image_01112025_00_33_24_2584.jpg
/home/pi/Desktop/images/01112025/00/33/image_01112025_00_33_39_2601.jpg
/home/pi/Desktop/images/01112025/00/33/image_01112025_00_33_42_3538.jpg
/home/pi/Desktop/images/01112025/00/33/image_01112025_00_33_48_3662.jpg
/home/pi/Desktop/images/01112025/00/33/image_01112025_00_33_51_2607.jpg
/home/pi/Desktop/images/01112025/00/33/image_01112025_00_33_54_2954.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155761","1397155764","1397155767","1397155766","1397155765","1397155759"],"photo_ids_order":["1397155759","1397155761","1397155764","1397155765","1397155766","1397155767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9dde3ea02310c301ea54f99214ef7649.jpg","text":"TemporaryFile(/tmp/multipartBody6285954595396213653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559494036,"filename":"image_01112025_00_33_39_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e0645974437998e9010138fbe731e584.jpg","text":"TemporaryFile(/tmp/multipartBody1191474953992801656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559494036,"filename":"image_01112025_00_33_42_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/1/7e4ff42e440d0e64d2d9f87519bc945e.jpg","text":"TemporaryFile(/tmp/multipartBody3932392086435482791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559494036,"filename":"image_01112025_00_33_54_2954.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1269f5cacb7692345961e45d61d9a764.jpg","text":"TemporaryFile(/tmp/multipartBody4018434747513871384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559494036,"filename":"image_01112025_00_33_51_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4b707fdebebb68d5f28552900784b199.jpg","text":"TemporaryFile(/tmp/multipartBody5065357401064145896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559494036,"filename":"image_01112025_00_33_48_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/85e60ac9d6a54b6e04e5d93c830bff33.jpg","text":"TemporaryFile(/tmp/multipartBody1243404766833005346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559494036,"filename":"image_01112025_00_33_24_2584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155764","file1":"1397155761","file0":"1397155759","file4":"1397155766","file5":"1397155767","file3":"1397155765"},"map_files_photo_id_array":[{"photo_id":"1397155767","filename":"file5"},{"photo_id":"1397155764","filename":"file2"},{"photo_id":"1397155766","filename":"file4"},{"photo_id":"1397155761","filename":"file1"},{"photo_id":"1397155759","filename":"file0"},{"photo_id":"1397155765","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397155761":["hashtag1","hashtag2"]},{"1397155764":["hashtag1","hashtag2"]},{"1397155767":["hashtag1","hashtag2"]},{"1397155766":["hashtag1","hashtag2"]},{"1397155765":["hashtag1","hashtag2"]},{"1397155759":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397155761, 1397155764, 1397155767, 1397155766, 1397155765, 1397155759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.13034248352051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 04:24:32.192273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_42_2688.jpg', '/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_45_3669.jpg', '/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_48_2601.jpg', '/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_51_2688.jpg', '/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_54_3644.jpg', '/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_57_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_42_2688.jpg
/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_45_3669.jpg
/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_48_2601.jpg
/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_51_2688.jpg
/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_54_3644.jpg
/home/pi/Desktop/images/25112025/21/39/image_25112025_21_39_57_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397155776","1397155779","1397155772","1397155781","1397155783","1397155774"],"photo_ids_order":["1397155772","1397155774","1397155776","1397155779","1397155781","1397155783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c6238a4cb91e144ff4aa22e21cb2d86f.jpg","text":"TemporaryFile(/tmp/multipartBody4987918819528359752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559533915,"filename":"image_25112025_21_39_48_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/1/b7aa8c7ca6101f548b8d8fa1a0e03f01.jpg","text":"TemporaryFile(/tmp/multipartBody1006894814725577331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559533915,"filename":"image_25112025_21_39_51_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/1/bad459bc699ffffdc7ad24a4eae41fbb.jpg","text":"TemporaryFile(/tmp/multipartBody2728718402421066258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559533915,"filename":"image_25112025_21_39_42_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/1/f220abba7d5d3375182579e2ba1ede9d.jpg","text":"TemporaryFile(/tmp/multipartBody5195833766933398412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559533915,"filename":"image_25112025_21_39_54_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/1/22e3d09a3a22fbb418e619593b424a59.jpg","text":"TemporaryFile(/tmp/multipartBody600387450477778755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559533915,"filename":"image_25112025_21_39_57_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/1/6cc464f5afe89652cdf45924934d28fe.jpg","text":"TemporaryFile(/tmp/multipartBody3827394093994563686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559533915,"filename":"image_25112025_21_39_45_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155776","file1":"1397155774","file0":"1397155772","file4":"1397155781","file5":"1397155783","file3":"1397155779"},"map_files_photo_id_array":[{"photo_id":"1397155783","filename":"file5"},{"photo_id":"1397155776","filename":"file2"},{"photo_id":"1397155781","filename":"file4"},{"photo_id":"1397155774","filename":"file1"},{"photo_id":"1397155772","filename":"file0"},{"photo_id":"1397155779","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397155776":["hashtag1","hashtag2"]},{"1397155779":["hashtag1","hashtag2"]},{"1397155772":["hashtag1","hashtag2"]},{"1397155781":["hashtag1","hashtag2"]},{"1397155783":["hashtag1","hashtag2"]},{"1397155774":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397155776, 1397155779, 1397155772, 1397155781, 1397155783, 1397155774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.53072738647461 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 04:25:22.466206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/22/image_01122025_04_22_54_9588.jpg', '/home/pi/Desktop/images/01122025/04/22/image_01122025_04_23_04_9727.jpg', '/home/pi/Desktop/images/01122025/04/23/image_01122025_04_23_34_9684.jpg', '/home/pi/Desktop/images/01122025/04/23/image_01122025_04_23_44_10722.jpg', '/home/pi/Desktop/images/01122025/04/23/image_01122025_04_24_04_9799.jpg', '/home/pi/Desktop/images/01122025/04/24/image_01122025_04_24_14_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/22/image_01122025_04_22_54_9588.jpg
/home/pi/Desktop/images/01122025/04/22/image_01122025_04_23_04_9727.jpg
/home/pi/Desktop/images/01122025/04/23/image_01122025_04_23_34_9684.jpg
/home/pi/Desktop/images/01122025/04/23/image_01122025_04_23_44_10722.jpg
/home/pi/Desktop/images/01122025/04/23/image_01122025_04_24_04_9799.jpg
/home/pi/Desktop/images/01122025/04/24/image_01122025_04_24_14_9751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155794","1397155788","1397155790","1397155793","1397155796","1397155792"],"photo_ids_order":["1397155788","1397155790","1397155792","1397155793","1397155794","1397155796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/925f6c7aa8353b9c426f76a9f22c20e8.jpg","text":"TemporaryFile(/tmp/multipartBody8504135129164967699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559583213,"filename":"image_01122025_04_24_04_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8008c8d74bd78307d8e91809828900db.jpg","text":"TemporaryFile(/tmp/multipartBody8145621048130879001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559583213,"filename":"image_01122025_04_22_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/1/a15cc705970ddfc3b3dd25d8b9ced242.jpg","text":"TemporaryFile(/tmp/multipartBody3527399122985272310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559583213,"filename":"image_01122025_04_23_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/1/5d155493f8f727bbd39ca1dba9653fdd.jpg","text":"TemporaryFile(/tmp/multipartBody1906552039454916922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559583213,"filename":"image_01122025_04_23_44_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/1/2196b8f66dc6c264b2e015bc098198b8.jpg","text":"TemporaryFile(/tmp/multipartBody6303591850996992642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559583213,"filename":"image_01122025_04_24_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/1/8280657f91949249e659e68a303bdeeb.jpg","text":"TemporaryFile(/tmp/multipartBody5485998922420206111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559583213,"filename":"image_01122025_04_23_34_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155792","file1":"1397155790","file0":"1397155788","file4":"1397155794","file5":"1397155796","file3":"1397155793"},"map_files_photo_id_array":[{"photo_id":"1397155796","filename":"file5"},{"photo_id":"1397155792","filename":"file2"},{"photo_id":"1397155794","filename":"file4"},{"photo_id":"1397155790","filename":"file1"},{"photo_id":"1397155788","filename":"file0"},{"photo_id":"1397155793","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397155794":["hashtag1","hashtag2"]},{"1397155788":["hashtag1","hashtag2"]},{"1397155790":["hashtag1","hashtag2"]},{"1397155793":["hashtag1","hashtag2"]},{"1397155796":["hashtag1","hashtag2"]},{"1397155792":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397155794, 1397155788, 1397155790, 1397155793, 1397155796, 1397155792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13159704208374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:26:02.747156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/24/image_01122025_04_24_24_10591.jpg', '/home/pi/Desktop/images/01122025/04/24/image_01122025_04_24_54_10507.jpg', '/home/pi/Desktop/images/01122025/04/24/image_01122025_04_25_04_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/24/image_01122025_04_24_24_10591.jpg
/home/pi/Desktop/images/01122025/04/24/image_01122025_04_24_54_10507.jpg
/home/pi/Desktop/images/01122025/04/24/image_01122025_04_25_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":["1397155801","1397155804","1397155803"],"photo_ids_order":["1397155801","1397155803","1397155804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8c383091646cbf24d4412a8dee7ae28d.jpg","text":"TemporaryFile(/tmp/multipartBody7764644397918849886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559623333,"filename":"image_01122025_04_24_24_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4d314bdb336599c06531e6be58edc7de.jpg","text":"TemporaryFile(/tmp/multipartBody6867857429950995375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559623333,"filename":"image_01122025_04_25_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/1/1b9494d14fb1152ec4e7a713d035a6cf.jpg","text":"TemporaryFile(/tmp/multipartBody3307614493407313022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559623333,"filename":"image_01122025_04_24_54_10507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155804","file1":"1397155803","file0":"1397155801"},"map_files_photo_id_array":[{"photo_id":"1397155804","filename":"file2"},{"photo_id":"1397155803","filename":"file1"},{"photo_id":"1397155801","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397155801":["hashtag1","hashtag2"]},{"1397155804":["hashtag1","hashtag2"]},{"1397155803":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397155801, 1397155804, 1397155803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.024811029434204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 04:26:32.494189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/39/image_25112025_21_40_00_2683.jpg', '/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_03_3578.jpg', '/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_06_2735.jpg', '/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_09_2517.jpg', '/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_15_2572.jpg', '/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_18_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/39/image_25112025_21_40_00_2683.jpg
/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_03_3578.jpg
/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_06_2735.jpg
/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_09_2517.jpg
/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_15_2572.jpg
/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_18_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":["1397155822","1397155819","1397155810","1397155824","1397155812","1397155814"],"photo_ids_order":["1397155810","1397155812","1397155814","1397155819","1397155822","1397155824"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/609071dc03264c3e02a715efbbbc2c8e.jpg","text":"TemporaryFile(/tmp/multipartBody2121106268040974021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559654204,"filename":"image_25112025_21_40_15_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/1/32cb844b64d6169d8ae1f8e72b660e54.jpg","text":"TemporaryFile(/tmp/multipartBody5354450861979292614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559654204,"filename":"image_25112025_21_40_09_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c53ed2aa9986e11e2b28e9bb9d9a2775.jpg","text":"TemporaryFile(/tmp/multipartBody5423120305326497980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559654204,"filename":"image_25112025_21_40_00_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/1/300d65b3298846c804cd10d54d0f0337.jpg","text":"TemporaryFile(/tmp/multipartBody6559247075334945079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559654204,"filename":"image_25112025_21_40_18_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/1/9d812df4fe6d7c50096693177fce2683.jpg","text":"TemporaryFile(/tmp/multipartBody8657845650265768664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559654204,"filename":"image_25112025_21_40_03_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/1/2ef60c7f00aec41463faccbde9ba7d17.jpg","text":"TemporaryFile(/tmp/multipartBody4184017860150089121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559654204,"filename":"image_25112025_21_40_06_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155814","file1":"1397155812","file0":"1397155810","file4":"1397155822","file5":"1397155824","file3":"1397155819"},"map_files_photo_id_array":[{"photo_id":"1397155824","filename":"file5"},{"photo_id":"1397155814","filename":"file2"},{"photo_id":"1397155822","filename":"file4"},{"photo_id":"1397155812","filename":"file1"},{"photo_id":"1397155810","filename":"file0"},{"photo_id":"1397155819","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397155822":["hashtag1","hashtag2"]},{"1397155819":["hashtag1","hashtag2"]},{"1397155810":["hashtag1","hashtag2"]},{"1397155824":["hashtag1","hashtag2"]},{"1397155812":["hashtag1","hashtag2"]},{"1397155814":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397155822, 1397155819, 1397155810, 1397155824, 1397155812, 1397155814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.070727825164795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 04:27:12.801418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_21_3552.jpg', '/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_24_2585.jpg', '/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_27_3591.jpg', '/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_30_2609.jpg', '/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_32_2632.jpg', '/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_36_3539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_21_3552.jpg
/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_24_2585.jpg
/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_27_3591.jpg
/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_30_2609.jpg
/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_32_2632.jpg
/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_36_3539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155834","1397155831","1397155833","1397155827","1397155835","1397155829"],"photo_ids_order":["1397155827","1397155829","1397155831","1397155833","1397155834","1397155835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6022d253d7fd0fe7731991643960e7e8.jpg","text":"TemporaryFile(/tmp/multipartBody5762023217458974204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559694406,"filename":"image_25112025_21_40_32_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/1/3d52ea47c5116025a3e6b64d54522457.jpg","text":"TemporaryFile(/tmp/multipartBody2121299792519906959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559694406,"filename":"image_25112025_21_40_27_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7e61b2885a9b3e1f86b76894fe5272c4.jpg","text":"TemporaryFile(/tmp/multipartBody6985953990428426295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559694406,"filename":"image_25112025_21_40_30_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/1/18ea3ed4d702ab773c4ab665d47639a4.jpg","text":"TemporaryFile(/tmp/multipartBody4730061267881733081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559694406,"filename":"image_25112025_21_40_21_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/38693e603c465477836afe009b7c7668.jpg","text":"TemporaryFile(/tmp/multipartBody6912649568291066049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559694406,"filename":"image_25112025_21_40_36_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e0f81d750eb8a3fd2941a39931efa638.jpg","text":"TemporaryFile(/tmp/multipartBody1268980104068730751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559694406,"filename":"image_25112025_21_40_24_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155831","file1":"1397155829","file0":"1397155827","file4":"1397155834","file5":"1397155835","file3":"1397155833"},"map_files_photo_id_array":[{"photo_id":"1397155835","filename":"file5"},{"photo_id":"1397155831","filename":"file2"},{"photo_id":"1397155834","filename":"file4"},{"photo_id":"1397155829","filename":"file1"},{"photo_id":"1397155827","filename":"file0"},{"photo_id":"1397155833","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397155834":["hashtag1","hashtag2"]},{"1397155831":["hashtag1","hashtag2"]},{"1397155833":["hashtag1","hashtag2"]},{"1397155827":["hashtag1","hashtag2"]},{"1397155835":["hashtag1","hashtag2"]},{"1397155829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397155834, 1397155831, 1397155833, 1397155827, 1397155835, 1397155829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12863779067993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:28:02.414478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/25/image_01122025_04_25_34_9926.jpg', '/home/pi/Desktop/images/01122025/04/26/image_01122025_04_26_14_9762.jpg', '/home/pi/Desktop/images/01122025/04/26/image_01122025_04_26_24_10686.jpg', '/home/pi/Desktop/images/01122025/04/26/image_01122025_04_26_44_9601.jpg', '/home/pi/Desktop/images/01122025/04/26/image_01122025_04_27_04_10782.jpg', '/home/pi/Desktop/images/01122025/04/27/image_01122025_04_27_14_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/25/image_01122025_04_25_34_9926.jpg
/home/pi/Desktop/images/01122025/04/26/image_01122025_04_26_14_9762.jpg
/home/pi/Desktop/images/01122025/04/26/image_01122025_04_26_24_10686.jpg
/home/pi/Desktop/images/01122025/04/26/image_01122025_04_26_44_9601.jpg
/home/pi/Desktop/images/01122025/04/26/image_01122025_04_27_04_10782.jpg
/home/pi/Desktop/images/01122025/04/27/image_01122025_04_27_14_9849.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155843","1397155842","1397155848","1397155850","1397155844","1397155846"],"photo_ids_order":["1397155842","1397155843","1397155844","1397155846","1397155848","1397155850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/436194d6ac93dc46660d5f773f61e514.jpg","text":"TemporaryFile(/tmp/multipartBody592526515969213899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559745854,"filename":"image_01122025_04_26_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/1/617ab444605fa3515078409c676f486d.jpg","text":"TemporaryFile(/tmp/multipartBody8469607709642311873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559745854,"filename":"image_01122025_04_25_34_9926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6e717a2647b727286ee84e4cf05172c2.jpg","text":"TemporaryFile(/tmp/multipartBody8718630892434464333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559745854,"filename":"image_01122025_04_27_04_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/1/7277381ad1698bb1ee1ec66351789ffc.jpg","text":"TemporaryFile(/tmp/multipartBody5347913642582691991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559745854,"filename":"image_01122025_04_27_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/1/926b2d5727a0a7c88e71dbf56a689f18.jpg","text":"TemporaryFile(/tmp/multipartBody4396335550384368759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559745854,"filename":"image_01122025_04_26_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/1/cb7026196b7ebce3cc4895b4b38df93a.jpg","text":"TemporaryFile(/tmp/multipartBody213610765837249942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559745854,"filename":"image_01122025_04_26_44_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155844","file1":"1397155843","file0":"1397155842","file4":"1397155848","file5":"1397155850","file3":"1397155846"},"map_files_photo_id_array":[{"photo_id":"1397155850","filename":"file5"},{"photo_id":"1397155844","filename":"file2"},{"photo_id":"1397155848","filename":"file4"},{"photo_id":"1397155843","filename":"file1"},{"photo_id":"1397155842","filename":"file0"},{"photo_id":"1397155846","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397155843":["hashtag1","hashtag2"]},{"1397155842":["hashtag1","hashtag2"]},{"1397155848":["hashtag1","hashtag2"]},{"1397155850":["hashtag1","hashtag2"]},{"1397155844":["hashtag1","hashtag2"]},{"1397155846":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397155843, 1397155842, 1397155848, 1397155850, 1397155844, 1397155846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.253936767578125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:29:03.154410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/27/image_01122025_04_27_44_10741.jpg', '/home/pi/Desktop/images/01122025/04/27/image_01122025_04_27_54_9870.jpg', '/home/pi/Desktop/images/01122025/04/28/image_01122025_04_28_14_9793.jpg', '/home/pi/Desktop/images/01122025/04/28/image_01122025_04_28_23_9868.jpg', '/home/pi/Desktop/images/01122025/04/28/image_01122025_04_28_34_10674.jpg', '/home/pi/Desktop/images/01122025/04/28/image_01122025_04_28_44_9917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/27/image_01122025_04_27_44_10741.jpg
/home/pi/Desktop/images/01122025/04/27/image_01122025_04_27_54_9870.jpg
/home/pi/Desktop/images/01122025/04/28/image_01122025_04_28_14_9793.jpg
/home/pi/Desktop/images/01122025/04/28/image_01122025_04_28_23_9868.jpg
/home/pi/Desktop/images/01122025/04/28/image_01122025_04_28_34_10674.jpg
/home/pi/Desktop/images/01122025/04/28/image_01122025_04_28_44_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":["1397155861","1397155860","1397155862","1397155859","1397155864","1397155858"],"photo_ids_order":["1397155858","1397155859","1397155860","1397155861","1397155862","1397155864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ec737868e4a8975c42097a8d653949ec.jpg","text":"TemporaryFile(/tmp/multipartBody850173994404782420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559804038,"filename":"image_01122025_04_28_23_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/1/6e26f6d8f30a1a15215e22072f7ac1e7.jpg","text":"TemporaryFile(/tmp/multipartBody9071777747030806004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559804038,"filename":"image_01122025_04_28_14_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2583d26bb8eed4827eea861610ee514e.jpg","text":"TemporaryFile(/tmp/multipartBody8564935270908153367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559804038,"filename":"image_01122025_04_28_34_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fabcc077c1ddf1485a1dba29dbd9afc7.jpg","text":"TemporaryFile(/tmp/multipartBody4125962402951086815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559804038,"filename":"image_01122025_04_27_54_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/1/1b29df20268b44571509f2bd05ef69b2.jpg","text":"TemporaryFile(/tmp/multipartBody3463089746184023449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559804038,"filename":"image_01122025_04_28_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/1/359229c0fda59e2d78615852be7e9236.jpg","text":"TemporaryFile(/tmp/multipartBody8013296961286506924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559804038,"filename":"image_01122025_04_27_44_10741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155860","file1":"1397155859","file0":"1397155858","file4":"1397155862","file5":"1397155864","file3":"1397155861"},"map_files_photo_id_array":[{"photo_id":"1397155864","filename":"file5"},{"photo_id":"1397155860","filename":"file2"},{"photo_id":"1397155862","filename":"file4"},{"photo_id":"1397155859","filename":"file1"},{"photo_id":"1397155858","filename":"file0"},{"photo_id":"1397155861","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397155861":["hashtag1","hashtag2"]},{"1397155860":["hashtag1","hashtag2"]},{"1397155862":["hashtag1","hashtag2"]},{"1397155859":["hashtag1","hashtag2"]},{"1397155864":["hashtag1","hashtag2"]},{"1397155858":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397155861, 1397155860, 1397155862, 1397155859, 1397155864, 1397155858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.573535680770874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 04:29:42.123684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/33/image_01112025_00_33_56_2637.jpg', '/home/pi/Desktop/images/01112025/00/33/image_01112025_00_34_00_3851.jpg', '/home/pi/Desktop/images/01112025/00/34/image_01112025_00_34_06_2687.jpg', '/home/pi/Desktop/images/01112025/00/34/image_01112025_00_34_09_2985.jpg', '/home/pi/Desktop/images/01112025/00/34/image_01112025_00_34_21_3655.jpg', '/home/pi/Desktop/images/01112025/00/34/image_01112025_00_34_27_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/33/image_01112025_00_33_56_2637.jpg
/home/pi/Desktop/images/01112025/00/33/image_01112025_00_34_00_3851.jpg
/home/pi/Desktop/images/01112025/00/34/image_01112025_00_34_06_2687.jpg
/home/pi/Desktop/images/01112025/00/34/image_01112025_00_34_09_2985.jpg
/home/pi/Desktop/images/01112025/00/34/image_01112025_00_34_21_3655.jpg
/home/pi/Desktop/images/01112025/00/34/image_01112025_00_34_27_2623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155875","1397155878","1397155871","1397155877","1397155876","1397155873"],"photo_ids_order":["1397155871","1397155873","1397155875","1397155876","1397155877","1397155878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1feb69d576aefabffe26a5eb5303be28.jpg","text":"TemporaryFile(/tmp/multipartBody3599907587166918025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559855564,"filename":"image_01112025_00_34_06_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/1/92ecadfbda7aeb26380533fdc6ce1548.jpg","text":"TemporaryFile(/tmp/multipartBody8096666741805307185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559855564,"filename":"image_01112025_00_34_27_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/828fb31a6e25c5fc41fb1855a96f51ff.jpg","text":"TemporaryFile(/tmp/multipartBody6735016297964290491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559855564,"filename":"image_01112025_00_33_56_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/1/621aa939e07409d30793c5c478dac8d7.jpg","text":"TemporaryFile(/tmp/multipartBody890358854795236839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559855564,"filename":"image_01112025_00_34_21_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/752d2f64f5e648eadb58a8f9f5eedf6a.jpg","text":"TemporaryFile(/tmp/multipartBody7597232621048544896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559855564,"filename":"image_01112025_00_34_09_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/1/f09171214b574b06bba2660055847a2c.jpg","text":"TemporaryFile(/tmp/multipartBody522356582021221825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559855564,"filename":"image_01112025_00_34_00_3851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155875","file1":"1397155873","file0":"1397155871","file4":"1397155877","file5":"1397155878","file3":"1397155876"},"map_files_photo_id_array":[{"photo_id":"1397155878","filename":"file5"},{"photo_id":"1397155875","filename":"file2"},{"photo_id":"1397155877","filename":"file4"},{"photo_id":"1397155873","filename":"file1"},{"photo_id":"1397155871","filename":"file0"},{"photo_id":"1397155876","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397155875":["hashtag1","hashtag2"]},{"1397155878":["hashtag1","hashtag2"]},{"1397155871":["hashtag1","hashtag2"]},{"1397155877":["hashtag1","hashtag2"]},{"1397155876":["hashtag1","hashtag2"]},{"1397155873":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397155875, 1397155878, 1397155871, 1397155877, 1397155876, 1397155873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.92245602607727 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 04:30:32.341881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_39_2709.jpg', '/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_42_3680.jpg', '/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_45_2680.jpg', '/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_48_2577.jpg', '/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_51_3487.jpg', '/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_54_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_39_2709.jpg
/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_42_3680.jpg
/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_45_2680.jpg
/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_48_2577.jpg
/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_51_3487.jpg
/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_54_2609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155881","1397155880","1397155883","1397155885","1397155879","1397155888"],"photo_ids_order":["1397155879","1397155880","1397155881","1397155883","1397155885","1397155888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cf40e2f811a30333bb278454583bba92.jpg","text":"TemporaryFile(/tmp/multipartBody3730755913347824974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559893975,"filename":"image_25112025_21_40_45_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/1/ff958d8b3d0c8b6bc8adb4affd70e593.jpg","text":"TemporaryFile(/tmp/multipartBody5921675890877064763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559893975,"filename":"image_25112025_21_40_42_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/1/68081c58cfdaadabbe4546c6b0309115.jpg","text":"TemporaryFile(/tmp/multipartBody4055150339921504912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559893975,"filename":"image_25112025_21_40_48_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cb8670653aa95181ba81c479245563ad.jpg","text":"TemporaryFile(/tmp/multipartBody8683018738040515376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559893975,"filename":"image_25112025_21_40_51_3487.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1f67b1771357bb03f15ba3baf592fbfd.jpg","text":"TemporaryFile(/tmp/multipartBody8692768187770663339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559893975,"filename":"image_25112025_21_40_39_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/1/9d416d280562f283820378f0a69327bb.jpg","text":"TemporaryFile(/tmp/multipartBody4808003063968861112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559893975,"filename":"image_25112025_21_40_54_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155881","file1":"1397155880","file0":"1397155879","file4":"1397155885","file5":"1397155888","file3":"1397155883"},"map_files_photo_id_array":[{"photo_id":"1397155888","filename":"file5"},{"photo_id":"1397155881","filename":"file2"},{"photo_id":"1397155885","filename":"file4"},{"photo_id":"1397155880","filename":"file1"},{"photo_id":"1397155879","filename":"file0"},{"photo_id":"1397155883","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397155881":["hashtag1","hashtag2"]},{"1397155880":["hashtag1","hashtag2"]},{"1397155883":["hashtag1","hashtag2"]},{"1397155885":["hashtag1","hashtag2"]},{"1397155879":["hashtag1","hashtag2"]},{"1397155888":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397155881, 1397155880, 1397155883, 1397155885, 1397155879, 1397155888)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.74555802345276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 04:31:24.514736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/28/image_01122025_04_28_54_9736.jpg', '/home/pi/Desktop/images/01122025/04/28/image_01122025_04_29_04_10623.jpg', '/home/pi/Desktop/images/01122025/04/29/image_01122025_04_29_14_9665.jpg', '/home/pi/Desktop/images/01122025/04/29/image_01122025_04_29_24_9650.jpg', '/home/pi/Desktop/images/01122025/04/29/image_01122025_04_29_33_9774.jpg', '/home/pi/Desktop/images/01122025/04/29/image_01122025_04_29_44_10762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/28/image_01122025_04_28_54_9736.jpg
/home/pi/Desktop/images/01122025/04/28/image_01122025_04_29_04_10623.jpg
/home/pi/Desktop/images/01122025/04/29/image_01122025_04_29_14_9665.jpg
/home/pi/Desktop/images/01122025/04/29/image_01122025_04_29_24_9650.jpg
/home/pi/Desktop/images/01122025/04/29/image_01122025_04_29_33_9774.jpg
/home/pi/Desktop/images/01122025/04/29/image_01122025_04_29_44_10762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155900","1397155896","1397155899","1397155905","1397155898","1397155901"],"photo_ids_order":["1397155896","1397155898","1397155899","1397155900","1397155901","1397155905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/db79959258514c27ed455e10c94747c5.jpg","text":"TemporaryFile(/tmp/multipartBody2649883260586390628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559945208,"filename":"image_01122025_04_29_24_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dac305bc1a216fc5406cdc7b1cc55f3d.jpg","text":"TemporaryFile(/tmp/multipartBody260921276346034888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559945208,"filename":"image_01122025_04_28_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/1/91717d8ab9b366336093238d4999d2c6.jpg","text":"TemporaryFile(/tmp/multipartBody6669840422605758080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559945208,"filename":"image_01122025_04_29_14_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bd225137f3782632d7ae585aaada9fa0.jpg","text":"TemporaryFile(/tmp/multipartBody4446247012857104366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559945208,"filename":"image_01122025_04_29_44_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b4af4dd0649fcf7b894ab18756100f57.jpg","text":"TemporaryFile(/tmp/multipartBody7004243734353699317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559945208,"filename":"image_01122025_04_29_04_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/23e8813cc1ef5c4e333091ae6267e35b.jpg","text":"TemporaryFile(/tmp/multipartBody4045349186132865360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559945208,"filename":"image_01122025_04_29_33_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155899","file1":"1397155898","file0":"1397155896","file4":"1397155901","file5":"1397155905","file3":"1397155900"},"map_files_photo_id_array":[{"photo_id":"1397155905","filename":"file5"},{"photo_id":"1397155899","filename":"file2"},{"photo_id":"1397155901","filename":"file4"},{"photo_id":"1397155898","filename":"file1"},{"photo_id":"1397155896","filename":"file0"},{"photo_id":"1397155900","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397155900":["hashtag1","hashtag2"]},{"1397155896":["hashtag1","hashtag2"]},{"1397155899":["hashtag1","hashtag2"]},{"1397155905":["hashtag1","hashtag2"]},{"1397155898":["hashtag1","hashtag2"]},{"1397155901":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397155900, 1397155896, 1397155899, 1397155905, 1397155898, 1397155901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.36217761039734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:32:07.140909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/29/image_01122025_04_29_54_9647.jpg', '/home/pi/Desktop/images/01122025/04/29/image_01122025_04_30_04_9814.jpg', '/home/pi/Desktop/images/01122025/04/30/image_01122025_04_30_14_10696.jpg', '/home/pi/Desktop/images/01122025/04/30/image_01122025_04_30_24_9571.jpg', '/home/pi/Desktop/images/01122025/04/30/image_01122025_04_30_34_9779.jpg', '/home/pi/Desktop/images/01122025/04/30/image_01122025_04_30_43_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/29/image_01122025_04_29_54_9647.jpg
/home/pi/Desktop/images/01122025/04/29/image_01122025_04_30_04_9814.jpg
/home/pi/Desktop/images/01122025/04/30/image_01122025_04_30_14_10696.jpg
/home/pi/Desktop/images/01122025/04/30/image_01122025_04_30_24_9571.jpg
/home/pi/Desktop/images/01122025/04/30/image_01122025_04_30_34_9779.jpg
/home/pi/Desktop/images/01122025/04/30/image_01122025_04_30_43_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":["1397155912","1397155915","1397155911","1397155914","1397155910","1397155913"],"photo_ids_order":["1397155910","1397155911","1397155912","1397155913","1397155914","1397155915"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ced93aaa0980d2690101486fb8bc77ef.jpg","text":"TemporaryFile(/tmp/multipartBody9005511958422500279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559990479,"filename":"image_01122025_04_30_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/1/beea2912cfcbd22c6910d718f44dd0ac.jpg","text":"TemporaryFile(/tmp/multipartBody3147678454215455437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559990479,"filename":"image_01122025_04_30_43_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/1/9e9990bf2aa625aae1f19fa245db5235.jpg","text":"TemporaryFile(/tmp/multipartBody6788956335710193042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559990479,"filename":"image_01122025_04_30_04_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a24405907a117169f817f606695b14aa.jpg","text":"TemporaryFile(/tmp/multipartBody4369896426038557428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559990479,"filename":"image_01122025_04_30_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/1/be4f01c8b43461b09047d05e98d07f3a.jpg","text":"TemporaryFile(/tmp/multipartBody5023976388614404621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559990479,"filename":"image_01122025_04_29_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/1/8152428a8639c5c7d542cf01e8780813.jpg","text":"TemporaryFile(/tmp/multipartBody6301018764148833557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764559990479,"filename":"image_01122025_04_30_24_9571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155912","file1":"1397155911","file0":"1397155910","file4":"1397155914","file5":"1397155915","file3":"1397155913"},"map_files_photo_id_array":[{"photo_id":"1397155915","filename":"file5"},{"photo_id":"1397155912","filename":"file2"},{"photo_id":"1397155914","filename":"file4"},{"photo_id":"1397155911","filename":"file1"},{"photo_id":"1397155910","filename":"file0"},{"photo_id":"1397155913","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397155912":["hashtag1","hashtag2"]},{"1397155915":["hashtag1","hashtag2"]},{"1397155911":["hashtag1","hashtag2"]},{"1397155914":["hashtag1","hashtag2"]},{"1397155910":["hashtag1","hashtag2"]},{"1397155913":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397155912, 1397155915, 1397155911, 1397155914, 1397155910, 1397155913)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.70687127113342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:33:04.690332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 04:33:14.099796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 04:33:24.266396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/30/image_01122025_04_30_55_11573.jpg', '/home/pi/Desktop/images/01122025/04/31/image_01122025_04_31_14_9850.jpg', '/home/pi/Desktop/images/01122025/04/31/image_01122025_04_31_24_10719.jpg', '/home/pi/Desktop/images/01122025/04/31/image_01122025_04_31_34_9725.jpg', '/home/pi/Desktop/images/01122025/04/31/image_01122025_04_31_44_9705.jpg', '/home/pi/Desktop/images/01122025/04/31/image_01122025_04_31_54_10586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/30/image_01122025_04_30_55_11573.jpg
/home/pi/Desktop/images/01122025/04/31/image_01122025_04_31_14_9850.jpg
/home/pi/Desktop/images/01122025/04/31/image_01122025_04_31_24_10719.jpg
/home/pi/Desktop/images/01122025/04/31/image_01122025_04_31_34_9725.jpg
/home/pi/Desktop/images/01122025/04/31/image_01122025_04_31_44_9705.jpg
/home/pi/Desktop/images/01122025/04/31/image_01122025_04_31_54_10586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155924","1397155923","1397155926","1397155929","1397155922","1397155925"],"photo_ids_order":["1397155922","1397155923","1397155924","1397155925","1397155926","1397155929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f376ae22734734a6879119422592e2d2.jpg","text":"TemporaryFile(/tmp/multipartBody6233883116795000483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560064950,"filename":"image_01122025_04_31_24_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/1/55673887472f80349ba7ea23a1084cf4.jpg","text":"TemporaryFile(/tmp/multipartBody3302757944979667534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560064950,"filename":"image_01122025_04_31_14_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7337e501ec68911ddfaf40150d18a579.jpg","text":"TemporaryFile(/tmp/multipartBody6222481079540362070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560064950,"filename":"image_01122025_04_31_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/1/7f7c950901c1f1d57c6d80bd581bd792.jpg","text":"TemporaryFile(/tmp/multipartBody2152592481869967782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560064950,"filename":"image_01122025_04_31_54_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b84404918bae9d9d34e3219a5c60c348.jpg","text":"TemporaryFile(/tmp/multipartBody946946025232982355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560064950,"filename":"image_01122025_04_30_55_11573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/46c59b91ba0f293227011fea2ce79a1a.jpg","text":"TemporaryFile(/tmp/multipartBody2761018079783804786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560064950,"filename":"image_01122025_04_31_34_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155924","file1":"1397155923","file0":"1397155922","file4":"1397155926","file5":"1397155929","file3":"1397155925"},"map_files_photo_id_array":[{"photo_id":"1397155929","filename":"file5"},{"photo_id":"1397155924","filename":"file2"},{"photo_id":"1397155926","filename":"file4"},{"photo_id":"1397155923","filename":"file1"},{"photo_id":"1397155922","filename":"file0"},{"photo_id":"1397155925","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397155924":["hashtag1","hashtag2"]},{"1397155923":["hashtag1","hashtag2"]},{"1397155926":["hashtag1","hashtag2"]},{"1397155929":["hashtag1","hashtag2"]},{"1397155922":["hashtag1","hashtag2"]},{"1397155925":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397155924, 1397155923, 1397155926, 1397155929, 1397155922, 1397155925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16250467300415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:34:03.118187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/32/image_01122025_04_32_24_9588.jpg', '/home/pi/Desktop/images/01122025/04/32/image_01122025_04_32_33_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/32/image_01122025_04_32_24_9588.jpg
/home/pi/Desktop/images/01122025/04/32/image_01122025_04_32_33_9652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155935","1397155934"],"photo_ids_order":["1397155934","1397155935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ab6eb2463e3c8c80195ad34d5a958ca8.jpg","text":"TemporaryFile(/tmp/multipartBody4135577547233263111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560103721,"filename":"image_01122025_04_32_33_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/1/6f92d7d017126aba44a9a3177a3e2173.jpg","text":"TemporaryFile(/tmp/multipartBody3641417262642711505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560103721,"filename":"image_01122025_04_32_24_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397155935","file0":"1397155934"},"map_files_photo_id_array":[{"photo_id":"1397155935","filename":"file1"},{"photo_id":"1397155934","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397155935":["hashtag1","hashtag2"]},{"1397155934":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397155935, 1397155934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.264084815979004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 04:34:22.606521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/32/image_01122025_04_32_44_10595.jpg', '/home/pi/Desktop/images/01122025/04/33/image_01122025_04_33_14_7589.jpg', '/home/pi/Desktop/images/01122025/04/33/image_01122025_04_33_24_9670.jpg', '/home/pi/Desktop/images/01122025/04/33/image_01122025_04_33_34_10656.jpg', '/home/pi/Desktop/images/01122025/04/33/image_01122025_04_33_54_9605.jpg', '/home/pi/Desktop/images/01122025/04/34/image_01122025_04_34_24_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/32/image_01122025_04_32_44_10595.jpg
/home/pi/Desktop/images/01122025/04/33/image_01122025_04_33_14_7589.jpg
/home/pi/Desktop/images/01122025/04/33/image_01122025_04_33_24_9670.jpg
/home/pi/Desktop/images/01122025/04/33/image_01122025_04_33_34_10656.jpg
/home/pi/Desktop/images/01122025/04/33/image_01122025_04_33_54_9605.jpg
/home/pi/Desktop/images/01122025/04/34/image_01122025_04_34_24_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":["1397155936","1397155941","1397155938","1397155940","1397155937","1397155939"],"photo_ids_order":["1397155936","1397155937","1397155938","1397155939","1397155940","1397155941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fbd21f4c84dc3c25737aefd75c550082.jpg","text":"TemporaryFile(/tmp/multipartBody114046319523669157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560123331,"filename":"image_01122025_04_32_44_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ee9eb01c122d3abfaf09f01eaba36c1e.jpg","text":"TemporaryFile(/tmp/multipartBody4325528398096167994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560123331,"filename":"image_01122025_04_34_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/1/e8fb829bec862b9a8d9175671ce99133.jpg","text":"TemporaryFile(/tmp/multipartBody2807702096588981878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560123331,"filename":"image_01122025_04_33_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/1/3a5dadb15b94a58c7f74f3f1a36b4c47.jpg","text":"TemporaryFile(/tmp/multipartBody396469448945773647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560123331,"filename":"image_01122025_04_33_54_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/670144d474446c7b130d1b1e099659fa.jpg","text":"TemporaryFile(/tmp/multipartBody5934300155577327245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560123331,"filename":"image_01122025_04_33_14_7589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a393b1dc8c0e24bc1e400d583619bd20.jpg","text":"TemporaryFile(/tmp/multipartBody923370610455932894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560123331,"filename":"image_01122025_04_33_34_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155938","file1":"1397155937","file0":"1397155936","file4":"1397155940","file5":"1397155941","file3":"1397155939"},"map_files_photo_id_array":[{"photo_id":"1397155941","filename":"file5"},{"photo_id":"1397155938","filename":"file2"},{"photo_id":"1397155940","filename":"file4"},{"photo_id":"1397155937","filename":"file1"},{"photo_id":"1397155936","filename":"file0"},{"photo_id":"1397155939","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397155936":["hashtag1","hashtag2"]},{"1397155941":["hashtag1","hashtag2"]},{"1397155938":["hashtag1","hashtag2"]},{"1397155940":["hashtag1","hashtag2"]},{"1397155937":["hashtag1","hashtag2"]},{"1397155939":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397155936, 1397155941, 1397155938, 1397155940, 1397155937, 1397155939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3450448513031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:35:03.382512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/34/image_01122025_04_34_34_10694.jpg', '/home/pi/Desktop/images/01122025/04/34/image_01122025_04_34_44_9932.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/34/image_01122025_04_34_34_10694.jpg
/home/pi/Desktop/images/01122025/04/34/image_01122025_04_34_44_9932.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155949","1397155946"],"photo_ids_order":["1397155946","1397155949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/adf6a87650f250d25f4451f0df8507ce.jpg","text":"TemporaryFile(/tmp/multipartBody4306973067981260030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560164001,"filename":"image_01122025_04_34_44_9932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8f999cce555578ffd29edb4ebd032a3b.jpg","text":"TemporaryFile(/tmp/multipartBody1763593601129641877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560164001,"filename":"image_01122025_04_34_34_10694.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397155949","file0":"1397155946"},"map_files_photo_id_array":[{"photo_id":"1397155949","filename":"file1"},{"photo_id":"1397155946","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397155949":["hashtag1","hashtag2"]},{"1397155946":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397155949, 1397155946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.618104219436646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 04:35:22.777482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/34/image_01122025_04_34_54_9778.jpg', '/home/pi/Desktop/images/01122025/04/34/image_01122025_04_35_04_9701.jpg', '/home/pi/Desktop/images/01122025/04/35/image_01122025_04_35_13_9727.jpg', '/home/pi/Desktop/images/01122025/04/35/image_01122025_04_35_23_9954.jpg', '/home/pi/Desktop/images/01122025/04/35/image_01122025_04_35_34_10813.jpg', '/home/pi/Desktop/images/01122025/04/35/image_01122025_04_35_44_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/34/image_01122025_04_34_54_9778.jpg
/home/pi/Desktop/images/01122025/04/34/image_01122025_04_35_04_9701.jpg
/home/pi/Desktop/images/01122025/04/35/image_01122025_04_35_13_9727.jpg
/home/pi/Desktop/images/01122025/04/35/image_01122025_04_35_23_9954.jpg
/home/pi/Desktop/images/01122025/04/35/image_01122025_04_35_34_10813.jpg
/home/pi/Desktop/images/01122025/04/35/image_01122025_04_35_44_9690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155954","1397155956","1397155959","1397155961","1397155958","1397155957"],"photo_ids_order":["1397155954","1397155956","1397155957","1397155958","1397155959","1397155961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0b5f379ec8e5e6693e18f912c8a6f6a2.jpg","text":"TemporaryFile(/tmp/multipartBody2101671701675070738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560183553,"filename":"image_01122025_04_34_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/1/53e3e9ac2054330c4c58fd69753bbe47.jpg","text":"TemporaryFile(/tmp/multipartBody6141907982535945571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560183553,"filename":"image_01122025_04_35_04_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1638b082e5e06eae4f1b98d4a6df4fed.jpg","text":"TemporaryFile(/tmp/multipartBody4862703752958539881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560183553,"filename":"image_01122025_04_35_34_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/1/878d32acbe264beb94e455bdcbb62544.jpg","text":"TemporaryFile(/tmp/multipartBody7983362461771941815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560183553,"filename":"image_01122025_04_35_44_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cf34fc6120607b3faa7b9646ee17aefc.jpg","text":"TemporaryFile(/tmp/multipartBody9026980652046924076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560183553,"filename":"image_01122025_04_35_23_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/1/b592aaa111f71227f939ff0b9ea83d7e.jpg","text":"TemporaryFile(/tmp/multipartBody6023589098439558927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560183553,"filename":"image_01122025_04_35_13_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155957","file1":"1397155956","file0":"1397155954","file4":"1397155959","file5":"1397155961","file3":"1397155958"},"map_files_photo_id_array":[{"photo_id":"1397155961","filename":"file5"},{"photo_id":"1397155957","filename":"file2"},{"photo_id":"1397155959","filename":"file4"},{"photo_id":"1397155956","filename":"file1"},{"photo_id":"1397155954","filename":"file0"},{"photo_id":"1397155958","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397155954":["hashtag1","hashtag2"]},{"1397155956":["hashtag1","hashtag2"]},{"1397155959":["hashtag1","hashtag2"]},{"1397155961":["hashtag1","hashtag2"]},{"1397155958":["hashtag1","hashtag2"]},{"1397155957":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397155954, 1397155956, 1397155959, 1397155961, 1397155958, 1397155957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58140587806702 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:36:02.343718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_57_3562.jpg', '/home/pi/Desktop/images/25112025/21/40/image_25112025_21_41_00_2504.jpg', '/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_03_3529.jpg', '/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_09_2605.jpg', '/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_12_2809.jpg', '/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_15_3611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/40/image_25112025_21_40_57_3562.jpg
/home/pi/Desktop/images/25112025/21/40/image_25112025_21_41_00_2504.jpg
/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_03_3529.jpg
/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_09_2605.jpg
/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_12_2809.jpg
/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_15_3611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155969","1397155968","1397155971","1397155970","1397155972","1397155966"],"photo_ids_order":["1397155966","1397155968","1397155969","1397155970","1397155971","1397155972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e8dcbb99cac35487aa65294f0dc1e3d1.jpg","text":"TemporaryFile(/tmp/multipartBody648372235532386898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560223493,"filename":"image_25112025_21_41_03_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/1/75fbc51f13ec15bc0dcd10a3d4e3e41f.jpg","text":"TemporaryFile(/tmp/multipartBody2640968566127429930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560223493,"filename":"image_25112025_21_41_00_2504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bb0a97892c62fef9b50f84965106aa55.jpg","text":"TemporaryFile(/tmp/multipartBody8170345232568803446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560223493,"filename":"image_25112025_21_41_12_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/1/7220817c340466b0df42f3fcf0f482b7.jpg","text":"TemporaryFile(/tmp/multipartBody6590199622819794490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560223493,"filename":"image_25112025_21_41_09_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cd6fe4076cd8531b6b021c7eb508efc5.jpg","text":"TemporaryFile(/tmp/multipartBody7774267812287528921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560223493,"filename":"image_25112025_21_41_15_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/1/0f27fc7e111710e0391604ffa5fb4b30.jpg","text":"TemporaryFile(/tmp/multipartBody6117544328402763960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560223493,"filename":"image_25112025_21_40_57_3562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155969","file1":"1397155968","file0":"1397155966","file4":"1397155971","file5":"1397155972","file3":"1397155970"},"map_files_photo_id_array":[{"photo_id":"1397155972","filename":"file5"},{"photo_id":"1397155969","filename":"file2"},{"photo_id":"1397155971","filename":"file4"},{"photo_id":"1397155968","filename":"file1"},{"photo_id":"1397155966","filename":"file0"},{"photo_id":"1397155970","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397155969":["hashtag1","hashtag2"]},{"1397155968":["hashtag1","hashtag2"]},{"1397155971":["hashtag1","hashtag2"]},{"1397155970":["hashtag1","hashtag2"]},{"1397155972":["hashtag1","hashtag2"]},{"1397155966":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397155969, 1397155968, 1397155971, 1397155970, 1397155972, 1397155966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.506447315216064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 04:36:41.890549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/34/image_01112025_00_34_33_2945.jpg', '/home/pi/Desktop/images/01112025/00/34/image_01112025_00_34_36_2638.jpg', '/home/pi/Desktop/images/01112025/00/34/image_01112025_00_34_39_2759.jpg', '/home/pi/Desktop/images/01112025/00/34/image_01112025_00_34_41_2668.jpg', '/home/pi/Desktop/images/01112025/00/34/image_01112025_00_34_48_2606.jpg', '/home/pi/Desktop/images/01112025/00/34/image_01112025_00_34_51_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/34/image_01112025_00_34_33_2945.jpg
/home/pi/Desktop/images/01112025/00/34/image_01112025_00_34_36_2638.jpg
/home/pi/Desktop/images/01112025/00/34/image_01112025_00_34_39_2759.jpg
/home/pi/Desktop/images/01112025/00/34/image_01112025_00_34_41_2668.jpg
/home/pi/Desktop/images/01112025/00/34/image_01112025_00_34_48_2606.jpg
/home/pi/Desktop/images/01112025/00/34/image_01112025_00_34_51_2661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155980","1397155977","1397155982","1397155973","1397155975","1397155984"],"photo_ids_order":["1397155973","1397155975","1397155977","1397155980","1397155982","1397155984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0f3c8dae3e64e4e4ea3db4f068b494bb.jpg","text":"TemporaryFile(/tmp/multipartBody5934065342819834283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560262778,"filename":"image_01112025_00_34_41_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/1/043a4bd86fd3c366c6bd62be9b42c4e4.jpg","text":"TemporaryFile(/tmp/multipartBody3148985584798123666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560262778,"filename":"image_01112025_00_34_39_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/1/7841bc2cc74f14cc6c5014703cba8ea1.jpg","text":"TemporaryFile(/tmp/multipartBody6289877240921528034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560262778,"filename":"image_01112025_00_34_48_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/1/b90effd7c0bbe2dd1bf41c8a41e1d805.jpg","text":"TemporaryFile(/tmp/multipartBody3897661258567566096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560262778,"filename":"image_01112025_00_34_33_2945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/374652f769584c9ad320cf67a350d7a6.jpg","text":"TemporaryFile(/tmp/multipartBody447156404547306174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560262778,"filename":"image_01112025_00_34_36_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/1/eec2d1ac60729fa20d6af28d9fb3cb3f.jpg","text":"TemporaryFile(/tmp/multipartBody8603290228640823284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560262778,"filename":"image_01112025_00_34_51_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155977","file1":"1397155975","file0":"1397155973","file4":"1397155982","file5":"1397155984","file3":"1397155980"},"map_files_photo_id_array":[{"photo_id":"1397155984","filename":"file5"},{"photo_id":"1397155977","filename":"file2"},{"photo_id":"1397155982","filename":"file4"},{"photo_id":"1397155975","filename":"file1"},{"photo_id":"1397155973","filename":"file0"},{"photo_id":"1397155980","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397155980":["hashtag1","hashtag2"]},{"1397155977":["hashtag1","hashtag2"]},{"1397155982":["hashtag1","hashtag2"]},{"1397155973":["hashtag1","hashtag2"]},{"1397155975":["hashtag1","hashtag2"]},{"1397155984":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397155980, 1397155977, 1397155982, 1397155973, 1397155975, 1397155984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.033090114593506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 04:37:22.045942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/35/image_01122025_04_35_54_9781.jpg', '/home/pi/Desktop/images/01122025/04/36/image_01122025_04_36_14_10650.jpg', '/home/pi/Desktop/images/01122025/04/36/image_01122025_04_36_24_9669.jpg', '/home/pi/Desktop/images/01122025/04/36/image_01122025_04_36_43_9911.jpg', '/home/pi/Desktop/images/01122025/04/36/image_01122025_04_37_04_9821.jpg', '/home/pi/Desktop/images/01122025/04/37/image_01122025_04_37_24_10743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/35/image_01122025_04_35_54_9781.jpg
/home/pi/Desktop/images/01122025/04/36/image_01122025_04_36_14_10650.jpg
/home/pi/Desktop/images/01122025/04/36/image_01122025_04_36_24_9669.jpg
/home/pi/Desktop/images/01122025/04/36/image_01122025_04_36_43_9911.jpg
/home/pi/Desktop/images/01122025/04/36/image_01122025_04_37_04_9821.jpg
/home/pi/Desktop/images/01122025/04/37/image_01122025_04_37_24_10743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397155986","1397155989","1397155991","1397155985","1397155988","1397155987"],"photo_ids_order":["1397155985","1397155986","1397155987","1397155988","1397155989","1397155991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e4ac599906f493ea373c8b6313728ae9.jpg","text":"TemporaryFile(/tmp/multipartBody6137155694950712522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560302765,"filename":"image_01122025_04_36_14_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/00847b78d088fdc35e38b1ccbe8193e9.jpg","text":"TemporaryFile(/tmp/multipartBody8591955595872660415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560302765,"filename":"image_01122025_04_37_04_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9c96924970c05db2178274ffb9527f7b.jpg","text":"TemporaryFile(/tmp/multipartBody9096508522578748015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560302765,"filename":"image_01122025_04_37_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/1/919f27569c7ca0030685fb91972b8b60.jpg","text":"TemporaryFile(/tmp/multipartBody7198304258457945647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560302765,"filename":"image_01122025_04_35_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/1/9c669594057d63ed8870b6d88dcce144.jpg","text":"TemporaryFile(/tmp/multipartBody2372659033032480747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560302765,"filename":"image_01122025_04_36_43_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/1/b2cc6e515ba534c89359c26d0a811c97.jpg","text":"TemporaryFile(/tmp/multipartBody7533353687666499305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560302765,"filename":"image_01122025_04_36_24_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397155987","file1":"1397155986","file0":"1397155985","file4":"1397155989","file5":"1397155991","file3":"1397155988"},"map_files_photo_id_array":[{"photo_id":"1397155991","filename":"file5"},{"photo_id":"1397155987","filename":"file2"},{"photo_id":"1397155989","filename":"file4"},{"photo_id":"1397155986","filename":"file1"},{"photo_id":"1397155985","filename":"file0"},{"photo_id":"1397155988","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397155986":["hashtag1","hashtag2"]},{"1397155989":["hashtag1","hashtag2"]},{"1397155991":["hashtag1","hashtag2"]},{"1397155985":["hashtag1","hashtag2"]},{"1397155988":["hashtag1","hashtag2"]},{"1397155987":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397155986, 1397155989, 1397155991, 1397155985, 1397155988, 1397155987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.576369285583496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:38:02.806263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_18_2549.jpg', '/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_21_2831.jpg', '/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_24_3808.jpg', '/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_27_2654.jpg', '/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_30_3466.jpg', '/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_33_2459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_18_2549.jpg
/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_21_2831.jpg
/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_24_3808.jpg
/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_27_2654.jpg
/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_30_3466.jpg
/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_33_2459.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0250236988067627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 04:38:12.193815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_18_2549.jpg', '/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_21_2831.jpg', '/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_24_3808.jpg', '/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_27_2654.jpg', '/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_30_3466.jpg', '/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_33_2459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_18_2549.jpg
/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_21_2831.jpg
/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_24_3808.jpg
/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_27_2654.jpg
/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_30_3466.jpg
/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_33_2459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397156002","1397156005","1397156004","1397156007","1397156006","1397156000"],"photo_ids_order":["1397156000","1397156002","1397156004","1397156005","1397156006","1397156007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f29541c443493b3a581b186949fd99d0.jpg","text":"TemporaryFile(/tmp/multipartBody2126600206112592370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560353548,"filename":"image_25112025_21_41_21_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/1/76cc490c6afac4cec41f0ec4f95e506c.jpg","text":"TemporaryFile(/tmp/multipartBody3067409407152486630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560353548,"filename":"image_25112025_21_41_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/1/266f5301d5553c83913a0a6f1bd292c1.jpg","text":"TemporaryFile(/tmp/multipartBody174324408775796966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560353548,"filename":"image_25112025_21_41_24_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/1/e65fa44d2dc09804b1b0638f6fc988a1.jpg","text":"TemporaryFile(/tmp/multipartBody8523298990496548966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560353548,"filename":"image_25112025_21_41_33_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/1/f9e6a10d90778ab2835162367b170ce8.jpg","text":"TemporaryFile(/tmp/multipartBody5214637006097203125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560353548,"filename":"image_25112025_21_41_30_3466.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e1df4d2bc19cc2663293ea6ec9617cb1.jpg","text":"TemporaryFile(/tmp/multipartBody105016376634581761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560353548,"filename":"image_25112025_21_41_18_2549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397156004","file1":"1397156002","file0":"1397156000","file4":"1397156006","file5":"1397156007","file3":"1397156005"},"map_files_photo_id_array":[{"photo_id":"1397156007","filename":"file5"},{"photo_id":"1397156004","filename":"file2"},{"photo_id":"1397156006","filename":"file4"},{"photo_id":"1397156002","filename":"file1"},{"photo_id":"1397156000","filename":"file0"},{"photo_id":"1397156005","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397156002":["hashtag1","hashtag2"]},{"1397156005":["hashtag1","hashtag2"]},{"1397156004":["hashtag1","hashtag2"]},{"1397156007":["hashtag1","hashtag2"]},{"1397156006":["hashtag1","hashtag2"]},{"1397156000":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397156002, 1397156005, 1397156004, 1397156007, 1397156006, 1397156000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.728861570358276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:39:03.368593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/37/image_01122025_04_37_54_10751.jpg', '/home/pi/Desktop/images/01122025/04/37/image_01122025_04_38_04_9675.jpg', '/home/pi/Desktop/images/01122025/04/38/image_01122025_04_38_14_9655.jpg', '/home/pi/Desktop/images/01122025/04/38/image_01122025_04_38_24_10720.jpg', '/home/pi/Desktop/images/01122025/04/38/image_01122025_04_38_34_9756.jpg', '/home/pi/Desktop/images/01122025/04/38/image_01122025_04_38_44_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/37/image_01122025_04_37_54_10751.jpg
/home/pi/Desktop/images/01122025/04/37/image_01122025_04_38_04_9675.jpg
/home/pi/Desktop/images/01122025/04/38/image_01122025_04_38_14_9655.jpg
/home/pi/Desktop/images/01122025/04/38/image_01122025_04_38_24_10720.jpg
/home/pi/Desktop/images/01122025/04/38/image_01122025_04_38_34_9756.jpg
/home/pi/Desktop/images/01122025/04/38/image_01122025_04_38_44_9797.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.83286452293396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 04:39:12.586125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_36_3320.jpg', '/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_39_2594.jpg', '/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_42_3299.jpg', '/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_45_2648.jpg', '/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_47_2558.jpg', '/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_51_3626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_36_3320.jpg
/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_39_2594.jpg
/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_42_3299.jpg
/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_45_2648.jpg
/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_47_2558.jpg
/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_51_3626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397156023","1397156017","1397156022","1397156019","1397156021","1397156024"],"photo_ids_order":["1397156017","1397156019","1397156021","1397156022","1397156023","1397156024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c3791e21071f14fb3f69920062905116.jpg","text":"TemporaryFile(/tmp/multipartBody2102971917062071208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560414195,"filename":"image_25112025_21_41_47_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/1/69494d2fdf0e5bcaf00d6951e98a112e.jpg","text":"TemporaryFile(/tmp/multipartBody1939118651765165436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560414195,"filename":"image_25112025_21_41_36_3320.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/aa1c244ef900c6e179cd299297401885.jpg","text":"TemporaryFile(/tmp/multipartBody7993927636975657898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560414195,"filename":"image_25112025_21_41_45_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/1/4c5476369eac2b80b34220311c1b3af6.jpg","text":"TemporaryFile(/tmp/multipartBody1774157419781550734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560414195,"filename":"image_25112025_21_41_39_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/1/8d7b13a99bbfda0b95a917c95824705a.jpg","text":"TemporaryFile(/tmp/multipartBody3284907860911818601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560414195,"filename":"image_25112025_21_41_42_3299.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a563dac5ae5c0207356f47b666761753.jpg","text":"TemporaryFile(/tmp/multipartBody2341907507297832077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560414195,"filename":"image_25112025_21_41_51_3626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397156021","file1":"1397156019","file0":"1397156017","file4":"1397156023","file5":"1397156024","file3":"1397156022"},"map_files_photo_id_array":[{"photo_id":"1397156024","filename":"file5"},{"photo_id":"1397156021","filename":"file2"},{"photo_id":"1397156023","filename":"file4"},{"photo_id":"1397156019","filename":"file1"},{"photo_id":"1397156017","filename":"file0"},{"photo_id":"1397156022","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397156023":["hashtag1","hashtag2"]},{"1397156017":["hashtag1","hashtag2"]},{"1397156022":["hashtag1","hashtag2"]},{"1397156019":["hashtag1","hashtag2"]},{"1397156021":["hashtag1","hashtag2"]},{"1397156024":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397156023, 1397156017, 1397156022, 1397156019, 1397156021, 1397156024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.629141092300415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:40:03.214646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/37/image_01122025_04_37_54_10751.jpg', '/home/pi/Desktop/images/01122025/04/37/image_01122025_04_38_04_9675.jpg', '/home/pi/Desktop/images/01122025/04/38/image_01122025_04_38_14_9655.jpg', '/home/pi/Desktop/images/01122025/04/38/image_01122025_04_38_24_10720.jpg', '/home/pi/Desktop/images/01122025/04/38/image_01122025_04_38_34_9756.jpg', '/home/pi/Desktop/images/01122025/04/38/image_01122025_04_38_44_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/37/image_01122025_04_37_54_10751.jpg
/home/pi/Desktop/images/01122025/04/37/image_01122025_04_38_04_9675.jpg
/home/pi/Desktop/images/01122025/04/38/image_01122025_04_38_14_9655.jpg
/home/pi/Desktop/images/01122025/04/38/image_01122025_04_38_24_10720.jpg
/home/pi/Desktop/images/01122025/04/38/image_01122025_04_38_34_9756.jpg
/home/pi/Desktop/images/01122025/04/38/image_01122025_04_38_44_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":["1397156031","1397156034","1397156033","1397156036","1397156032","1397156035"],"photo_ids_order":["1397156031","1397156032","1397156033","1397156034","1397156035","1397156036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5415a9351a1b1e992fd9f056b90d25fc.jpg","text":"TemporaryFile(/tmp/multipartBody7542200538913994626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560463929,"filename":"image_01122025_04_37_54_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9858d2001f06235330d4bfd8ab685718.jpg","text":"TemporaryFile(/tmp/multipartBody8359442403163219218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560463929,"filename":"image_01122025_04_38_24_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/aaa5b7e08b147c69d5d066c227d41fcf.jpg","text":"TemporaryFile(/tmp/multipartBody8139819096081441275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560463929,"filename":"image_01122025_04_38_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/1/6e9342148284ea812fef455dbf5f448b.jpg","text":"TemporaryFile(/tmp/multipartBody6402767015870608549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560463929,"filename":"image_01122025_04_38_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/1/e1cf3567dd631b06a43dd90c279008eb.jpg","text":"TemporaryFile(/tmp/multipartBody6674385782943848778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560463929,"filename":"image_01122025_04_38_04_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/900f2e9849b2eb6c142455226ce6eadb.jpg","text":"TemporaryFile(/tmp/multipartBody8963394137684080224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560463929,"filename":"image_01122025_04_38_34_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397156033","file1":"1397156032","file0":"1397156031","file4":"1397156035","file5":"1397156036","file3":"1397156034"},"map_files_photo_id_array":[{"photo_id":"1397156036","filename":"file5"},{"photo_id":"1397156033","filename":"file2"},{"photo_id":"1397156035","filename":"file4"},{"photo_id":"1397156032","filename":"file1"},{"photo_id":"1397156031","filename":"file0"},{"photo_id":"1397156034","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397156031":["hashtag1","hashtag2"]},{"1397156034":["hashtag1","hashtag2"]},{"1397156033":["hashtag1","hashtag2"]},{"1397156036":["hashtag1","hashtag2"]},{"1397156032":["hashtag1","hashtag2"]},{"1397156035":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397156031, 1397156034, 1397156033, 1397156036, 1397156032, 1397156035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.193382263183594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 04:40:42.841898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/34/image_01112025_00_34_54_3650.jpg', '/home/pi/Desktop/images/01112025/00/34/image_01112025_00_34_57_2833.jpg', '/home/pi/Desktop/images/01112025/00/35/image_01112025_00_35_06_2919.jpg', '/home/pi/Desktop/images/01112025/00/35/image_01112025_00_35_15_2721.jpg', '/home/pi/Desktop/images/01112025/00/35/image_01112025_00_35_17_2686.jpg', '/home/pi/Desktop/images/01112025/00/35/image_01112025_00_35_21_3687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/34/image_01112025_00_34_54_3650.jpg
/home/pi/Desktop/images/01112025/00/34/image_01112025_00_34_57_2833.jpg
/home/pi/Desktop/images/01112025/00/35/image_01112025_00_35_06_2919.jpg
/home/pi/Desktop/images/01112025/00/35/image_01112025_00_35_15_2721.jpg
/home/pi/Desktop/images/01112025/00/35/image_01112025_00_35_17_2686.jpg
/home/pi/Desktop/images/01112025/00/35/image_01112025_00_35_21_3687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397156040","1397156046","1397156048","1397156042","1397156044","1397156038"],"photo_ids_order":["1397156038","1397156040","1397156042","1397156044","1397156046","1397156048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5b6b83bfed1eca62f64a05c24cbbc213.jpg","text":"TemporaryFile(/tmp/multipartBody7254026625200105695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560503693,"filename":"image_01112025_00_34_57_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8d800937bd38d91d218279c7e54f69e0.jpg","text":"TemporaryFile(/tmp/multipartBody3124588728927791750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560503693,"filename":"image_01112025_00_35_17_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/1/a22bb4a92d6dde49886703c106a3d2a7.jpg","text":"TemporaryFile(/tmp/multipartBody7676121681918438890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560503693,"filename":"image_01112025_00_35_21_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/1/2ab2d17a1a40e043ffaefb90570aa395.jpg","text":"TemporaryFile(/tmp/multipartBody6274458362552768773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560503693,"filename":"image_01112025_00_35_06_2919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9a5fbf671856fb45bff93c29ead0bc99.jpg","text":"TemporaryFile(/tmp/multipartBody4523846756149510052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560503693,"filename":"image_01112025_00_35_15_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/1/6cf055798770060bfa23df1f4ec8727c.jpg","text":"TemporaryFile(/tmp/multipartBody6514939767165862224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560503693,"filename":"image_01112025_00_34_54_3650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397156042","file1":"1397156040","file0":"1397156038","file4":"1397156046","file5":"1397156048","file3":"1397156044"},"map_files_photo_id_array":[{"photo_id":"1397156048","filename":"file5"},{"photo_id":"1397156042","filename":"file2"},{"photo_id":"1397156046","filename":"file4"},{"photo_id":"1397156040","filename":"file1"},{"photo_id":"1397156038","filename":"file0"},{"photo_id":"1397156044","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397156040":["hashtag1","hashtag2"]},{"1397156046":["hashtag1","hashtag2"]},{"1397156048":["hashtag1","hashtag2"]},{"1397156042":["hashtag1","hashtag2"]},{"1397156044":["hashtag1","hashtag2"]},{"1397156038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397156040, 1397156046, 1397156048, 1397156042, 1397156044, 1397156038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.15467643737793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 04:41:32.067614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_53_2485.jpg', '/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_57_3767.jpg', '/home/pi/Desktop/images/25112025/21/41/image_25112025_21_42_00_2688.jpg', '/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_02_2596.jpg', '/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_06_3628.jpg', '/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_09_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_53_2485.jpg
/home/pi/Desktop/images/25112025/21/41/image_25112025_21_41_57_3767.jpg
/home/pi/Desktop/images/25112025/21/41/image_25112025_21_42_00_2688.jpg
/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_02_2596.jpg
/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_06_3628.jpg
/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_09_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":["1397156049","1397156058","1397156051","1397156054","1397156056","1397156050"],"photo_ids_order":["1397156049","1397156050","1397156051","1397156054","1397156056","1397156058"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/87ddd401d4c0ce954995731f76040151.jpg","text":"TemporaryFile(/tmp/multipartBody6343046233017283857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560553789,"filename":"image_25112025_21_41_53_2485.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c4d985529980c1faa280ef5a4bac093d.jpg","text":"TemporaryFile(/tmp/multipartBody2631317600702124268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560553789,"filename":"image_25112025_21_42_09_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/1/723a2508e91e03efbfbae1b999c7ee8a.jpg","text":"TemporaryFile(/tmp/multipartBody7954837521088320783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560553789,"filename":"image_25112025_21_42_00_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/1/6727c38ec4a5de74c86875ae3a7f029e.jpg","text":"TemporaryFile(/tmp/multipartBody7353425798579931085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560553789,"filename":"image_25112025_21_42_02_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/1/5da9edf01c6e57aa995e815cd2c167f8.jpg","text":"TemporaryFile(/tmp/multipartBody2795232683262793679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560553789,"filename":"image_25112025_21_42_06_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/1/5a465b24ac6a6588d984e9639ce9c902.jpg","text":"TemporaryFile(/tmp/multipartBody744163505923486277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560553789,"filename":"image_25112025_21_41_57_3767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397156051","file1":"1397156050","file0":"1397156049","file4":"1397156056","file5":"1397156058","file3":"1397156054"},"map_files_photo_id_array":[{"photo_id":"1397156058","filename":"file5"},{"photo_id":"1397156051","filename":"file2"},{"photo_id":"1397156056","filename":"file4"},{"photo_id":"1397156050","filename":"file1"},{"photo_id":"1397156049","filename":"file0"},{"photo_id":"1397156054","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397156049":["hashtag1","hashtag2"]},{"1397156058":["hashtag1","hashtag2"]},{"1397156051":["hashtag1","hashtag2"]},{"1397156054":["hashtag1","hashtag2"]},{"1397156056":["hashtag1","hashtag2"]},{"1397156050":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397156049, 1397156058, 1397156051, 1397156054, 1397156056, 1397156050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21566915512085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 04:42:12.229102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_12_2736.jpg', '/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_15_3666.jpg', '/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_18_2597.jpg', '/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_21_2736.jpg', '/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_24_3686.jpg', '/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_27_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_12_2736.jpg
/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_15_3666.jpg
/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_18_2597.jpg
/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_21_2736.jpg
/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_24_3686.jpg
/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_27_2606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397156061","1397156064","1397156066","1397156063","1397156062","1397156065"],"photo_ids_order":["1397156061","1397156062","1397156063","1397156064","1397156065","1397156066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2192ec30e4949abc07755dec6d68a902.jpg","text":"TemporaryFile(/tmp/multipartBody1121518521495350649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560593944,"filename":"image_25112025_21_42_12_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/1/af425b05d06afe4cd147a0d9d14ca18f.jpg","text":"TemporaryFile(/tmp/multipartBody8932494761203909828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560593944,"filename":"image_25112025_21_42_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/1/5d0140dba3ed98340971e834749bbfc0.jpg","text":"TemporaryFile(/tmp/multipartBody5224814790165253315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560593944,"filename":"image_25112025_21_42_27_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/1/d55074ef94c13c88b386ac88e5efdef6.jpg","text":"TemporaryFile(/tmp/multipartBody7571912685871770521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560593944,"filename":"image_25112025_21_42_18_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/1/ac95a2cea65c1128ef36fd4284ac161d.jpg","text":"TemporaryFile(/tmp/multipartBody4898750404160652098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560593944,"filename":"image_25112025_21_42_15_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/1/ea9cc2524930ab420cd9b176dc4f0852.jpg","text":"TemporaryFile(/tmp/multipartBody7914494438982718718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560593944,"filename":"image_25112025_21_42_24_3686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397156063","file1":"1397156062","file0":"1397156061","file4":"1397156065","file5":"1397156066","file3":"1397156064"},"map_files_photo_id_array":[{"photo_id":"1397156066","filename":"file5"},{"photo_id":"1397156063","filename":"file2"},{"photo_id":"1397156065","filename":"file4"},{"photo_id":"1397156062","filename":"file1"},{"photo_id":"1397156061","filename":"file0"},{"photo_id":"1397156064","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397156061":["hashtag1","hashtag2"]},{"1397156064":["hashtag1","hashtag2"]},{"1397156066":["hashtag1","hashtag2"]},{"1397156063":["hashtag1","hashtag2"]},{"1397156062":["hashtag1","hashtag2"]},{"1397156065":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397156061, 1397156064, 1397156066, 1397156063, 1397156062, 1397156065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82699656486511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:43:05.291009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/38/image_01122025_04_38_54_9863.jpg', '/home/pi/Desktop/images/01122025/04/38/image_01122025_04_39_04_10585.jpg', '/home/pi/Desktop/images/01122025/04/39/image_01122025_04_39_14_9735.jpg', '/home/pi/Desktop/images/01122025/04/39/image_01122025_04_39_24_10065.jpg', '/home/pi/Desktop/images/01122025/04/39/image_01122025_04_39_34_9663.jpg', '/home/pi/Desktop/images/01122025/04/39/image_01122025_04_40_04_9855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/38/image_01122025_04_38_54_9863.jpg
/home/pi/Desktop/images/01122025/04/38/image_01122025_04_39_04_10585.jpg
/home/pi/Desktop/images/01122025/04/39/image_01122025_04_39_14_9735.jpg
/home/pi/Desktop/images/01122025/04/39/image_01122025_04_39_24_10065.jpg
/home/pi/Desktop/images/01122025/04/39/image_01122025_04_39_34_9663.jpg
/home/pi/Desktop/images/01122025/04/39/image_01122025_04_40_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":["1397156073","1397156076","1397156078","1397156075","1397156074","1397156077"],"photo_ids_order":["1397156073","1397156074","1397156075","1397156076","1397156077","1397156078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d1ff50cc17d93216ed0250950c9bbed5.jpg","text":"TemporaryFile(/tmp/multipartBody533927919895964280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560646042,"filename":"image_01122025_04_38_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/1/36e857e42922efb31f51b5b8a844ebd7.jpg","text":"TemporaryFile(/tmp/multipartBody4211083074320130560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560646042,"filename":"image_01122025_04_39_24_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/1/5b2e0cc74383c5a467001c2482b657ef.jpg","text":"TemporaryFile(/tmp/multipartBody6733742239195918945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560646042,"filename":"image_01122025_04_40_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/1/72ab3490d2d79b01f1e78935d00498ed.jpg","text":"TemporaryFile(/tmp/multipartBody8381428374306673140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560646042,"filename":"image_01122025_04_39_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/1/a2586518094dfc84109a9a1393e7dce8.jpg","text":"TemporaryFile(/tmp/multipartBody7675113301360928969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560646042,"filename":"image_01122025_04_39_04_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/1/7ec1906f8560679198d03c896916e719.jpg","text":"TemporaryFile(/tmp/multipartBody1382951957471675571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560646042,"filename":"image_01122025_04_39_34_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397156075","file1":"1397156074","file0":"1397156073","file4":"1397156077","file5":"1397156078","file3":"1397156076"},"map_files_photo_id_array":[{"photo_id":"1397156078","filename":"file5"},{"photo_id":"1397156075","filename":"file2"},{"photo_id":"1397156077","filename":"file4"},{"photo_id":"1397156074","filename":"file1"},{"photo_id":"1397156073","filename":"file0"},{"photo_id":"1397156076","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397156073":["hashtag1","hashtag2"]},{"1397156076":["hashtag1","hashtag2"]},{"1397156078":["hashtag1","hashtag2"]},{"1397156075":["hashtag1","hashtag2"]},{"1397156074":["hashtag1","hashtag2"]},{"1397156077":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397156073, 1397156076, 1397156078, 1397156075, 1397156074, 1397156077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65686225891113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 04:43:44.712667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/35/image_01112025_00_35_24_2661.jpg', '/home/pi/Desktop/images/01112025/00/35/image_01112025_00_35_27_2745.jpg', '/home/pi/Desktop/images/01112025/00/35/image_01112025_00_35_30_3604.jpg', '/home/pi/Desktop/images/01112025/00/35/image_01112025_00_35_33_2604.jpg', '/home/pi/Desktop/images/01112025/00/35/image_01112025_00_35_35_2630.jpg', '/home/pi/Desktop/images/01112025/00/35/image_01112025_00_35_42_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/35/image_01112025_00_35_24_2661.jpg
/home/pi/Desktop/images/01112025/00/35/image_01112025_00_35_27_2745.jpg
/home/pi/Desktop/images/01112025/00/35/image_01112025_00_35_30_3604.jpg
/home/pi/Desktop/images/01112025/00/35/image_01112025_00_35_33_2604.jpg
/home/pi/Desktop/images/01112025/00/35/image_01112025_00_35_35_2630.jpg
/home/pi/Desktop/images/01112025/00/35/image_01112025_00_35_42_2733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397156091","1397156085","1397156082","1397156087","1397156089","1397156080"],"photo_ids_order":["1397156080","1397156082","1397156085","1397156087","1397156089","1397156091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2012f22f31f2aa2ded75ad8c21984203.jpg","text":"TemporaryFile(/tmp/multipartBody6906329783340430315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560685560,"filename":"image_01112025_00_35_42_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/1/ec53302bb9e1b2759e4d841f6b1949cd.jpg","text":"TemporaryFile(/tmp/multipartBody4357326816464825664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560685560,"filename":"image_01112025_00_35_30_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/1/7554948bb040984375c2d9c0c93bf27b.jpg","text":"TemporaryFile(/tmp/multipartBody4907086396044811156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560685560,"filename":"image_01112025_00_35_27_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/1/6198e323dcdd95bbd5075f74fbf11eba.jpg","text":"TemporaryFile(/tmp/multipartBody1406234800955914200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560685560,"filename":"image_01112025_00_35_33_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d9a0105b02ecee42ea944694bae7fd43.jpg","text":"TemporaryFile(/tmp/multipartBody175999803330641725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560685560,"filename":"image_01112025_00_35_35_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/1/8092179fc7cb397650b6fbefedf7a5fa.jpg","text":"TemporaryFile(/tmp/multipartBody2133591193979513460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560685560,"filename":"image_01112025_00_35_24_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397156085","file1":"1397156082","file0":"1397156080","file4":"1397156089","file5":"1397156091","file3":"1397156087"},"map_files_photo_id_array":[{"photo_id":"1397156091","filename":"file5"},{"photo_id":"1397156085","filename":"file2"},{"photo_id":"1397156089","filename":"file4"},{"photo_id":"1397156082","filename":"file1"},{"photo_id":"1397156080","filename":"file0"},{"photo_id":"1397156087","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397156091":["hashtag1","hashtag2"]},{"1397156085":["hashtag1","hashtag2"]},{"1397156082":["hashtag1","hashtag2"]},{"1397156087":["hashtag1","hashtag2"]},{"1397156089":["hashtag1","hashtag2"]},{"1397156080":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397156091, 1397156085, 1397156082, 1397156087, 1397156089, 1397156080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04550075531006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 04:44:32.008588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_30_2738.jpg', '/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_33_3691.jpg', '/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_36_2605.jpg', '/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_39_2783.jpg', '/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_41_2686.jpg', '/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_45_3654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_30_2738.jpg
/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_33_3691.jpg
/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_36_2605.jpg
/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_39_2783.jpg
/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_41_2686.jpg
/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_45_3654.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6320829391479492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 04:44:43.494367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/35/image_01112025_00_35_48_3713.jpg', '/home/pi/Desktop/images/01112025/00/35/image_01112025_00_35_51_2694.jpg', '/home/pi/Desktop/images/01112025/00/35/image_01112025_00_35_53_2557.jpg', '/home/pi/Desktop/images/01112025/00/35/image_01112025_00_36_00_2879.jpg', '/home/pi/Desktop/images/01112025/00/36/image_01112025_00_36_05_2766.jpg', '/home/pi/Desktop/images/01112025/00/36/image_01112025_00_36_09_3706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/35/image_01112025_00_35_48_3713.jpg
/home/pi/Desktop/images/01112025/00/35/image_01112025_00_35_51_2694.jpg
/home/pi/Desktop/images/01112025/00/35/image_01112025_00_35_53_2557.jpg
/home/pi/Desktop/images/01112025/00/35/image_01112025_00_36_00_2879.jpg
/home/pi/Desktop/images/01112025/00/36/image_01112025_00_36_05_2766.jpg
/home/pi/Desktop/images/01112025/00/36/image_01112025_00_36_09_3706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397156097","1397156103","1397156109","1397156100","1397156108","1397156105"],"photo_ids_order":["1397156097","1397156100","1397156103","1397156105","1397156108","1397156109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4a6ba8aab8748da24f817b978122a615.jpg","text":"TemporaryFile(/tmp/multipartBody5481918822292456719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560746438,"filename":"image_01112025_00_35_48_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fae02c19e7a6f764016e1b484158ca7b.jpg","text":"TemporaryFile(/tmp/multipartBody117496068474270422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560746438,"filename":"image_01112025_00_35_53_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/1/a359ee522f412ae660898418a7543c09.jpg","text":"TemporaryFile(/tmp/multipartBody1599375517692720584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560746438,"filename":"image_01112025_00_36_09_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/1/ad922b06e42b2ef83f9aa24c1f73a467.jpg","text":"TemporaryFile(/tmp/multipartBody6856057102345587011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560746438,"filename":"image_01112025_00_35_51_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/41296855ae7ccec095b4463195955d7b.jpg","text":"TemporaryFile(/tmp/multipartBody336140963982769403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560746438,"filename":"image_01112025_00_36_05_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/1/3173da8253ef63e0be7850a4565baa9f.jpg","text":"TemporaryFile(/tmp/multipartBody280037752447870404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560746438,"filename":"image_01112025_00_36_00_2879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397156103","file1":"1397156100","file0":"1397156097","file4":"1397156108","file5":"1397156109","file3":"1397156105"},"map_files_photo_id_array":[{"photo_id":"1397156109","filename":"file5"},{"photo_id":"1397156103","filename":"file2"},{"photo_id":"1397156108","filename":"file4"},{"photo_id":"1397156100","filename":"file1"},{"photo_id":"1397156097","filename":"file0"},{"photo_id":"1397156105","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397156097":["hashtag1","hashtag2"]},{"1397156103":["hashtag1","hashtag2"]},{"1397156109":["hashtag1","hashtag2"]},{"1397156100":["hashtag1","hashtag2"]},{"1397156108":["hashtag1","hashtag2"]},{"1397156105":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397156097, 1397156103, 1397156109, 1397156100, 1397156108, 1397156105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.122199058532715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 04:45:22.642387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/40/image_01122025_04_40_14_9568.jpg', '/home/pi/Desktop/images/01122025/04/40/image_01122025_04_40_24_10725.jpg', '/home/pi/Desktop/images/01122025/04/40/image_01122025_04_40_34_9627.jpg', '/home/pi/Desktop/images/01122025/04/40/image_01122025_04_41_04_9694.jpg', '/home/pi/Desktop/images/01122025/04/41/image_01122025_04_41_14_9809.jpg', '/home/pi/Desktop/images/01122025/04/41/image_01122025_04_41_23_9583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/40/image_01122025_04_40_14_9568.jpg
/home/pi/Desktop/images/01122025/04/40/image_01122025_04_40_24_10725.jpg
/home/pi/Desktop/images/01122025/04/40/image_01122025_04_40_34_9627.jpg
/home/pi/Desktop/images/01122025/04/40/image_01122025_04_41_04_9694.jpg
/home/pi/Desktop/images/01122025/04/41/image_01122025_04_41_14_9809.jpg
/home/pi/Desktop/images/01122025/04/41/image_01122025_04_41_23_9583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397156116","1397156112","1397156114","1397156111","1397156110","1397156113"],"photo_ids_order":["1397156110","1397156111","1397156112","1397156113","1397156114","1397156116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ff7dd2d492f9e31a0b1b177c1504e90c.jpg","text":"TemporaryFile(/tmp/multipartBody9037117363339394433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560783374,"filename":"image_01122025_04_41_23_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/1/fbcd383705c018d1174387a378e9b136.jpg","text":"TemporaryFile(/tmp/multipartBody6414896475460125883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560783374,"filename":"image_01122025_04_40_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/1/1c8fa18e7f52c934735f163c0433fa28.jpg","text":"TemporaryFile(/tmp/multipartBody2978126600495950239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560783374,"filename":"image_01122025_04_41_14_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/191689fe67a0d788615eb9c68c63f202.jpg","text":"TemporaryFile(/tmp/multipartBody3471273080951285299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560783374,"filename":"image_01122025_04_40_24_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cf9d0516c3a9393da70bb28101c6160e.jpg","text":"TemporaryFile(/tmp/multipartBody7698700503906972948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560783374,"filename":"image_01122025_04_40_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/1/866e569db1ccd5fdf36f9edf67e6c8b7.jpg","text":"TemporaryFile(/tmp/multipartBody1888869156860750205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560783374,"filename":"image_01122025_04_41_04_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397156112","file1":"1397156111","file0":"1397156110","file4":"1397156114","file5":"1397156116","file3":"1397156113"},"map_files_photo_id_array":[{"photo_id":"1397156116","filename":"file5"},{"photo_id":"1397156112","filename":"file2"},{"photo_id":"1397156114","filename":"file4"},{"photo_id":"1397156111","filename":"file1"},{"photo_id":"1397156110","filename":"file0"},{"photo_id":"1397156113","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397156116":["hashtag1","hashtag2"]},{"1397156112":["hashtag1","hashtag2"]},{"1397156114":["hashtag1","hashtag2"]},{"1397156111":["hashtag1","hashtag2"]},{"1397156110":["hashtag1","hashtag2"]},{"1397156113":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397156116, 1397156112, 1397156114, 1397156111, 1397156110, 1397156113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99656128883362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:46:02.275336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/41/image_01122025_04_41_34_10641.jpg', '/home/pi/Desktop/images/01122025/04/41/image_01122025_04_41_44_9562.jpg', '/home/pi/Desktop/images/01122025/04/41/image_01122025_04_41_53_9775.jpg', '/home/pi/Desktop/images/01122025/04/41/image_01122025_04_42_04_10864.jpg', '/home/pi/Desktop/images/01122025/04/42/image_01122025_04_42_14_9680.jpg', '/home/pi/Desktop/images/01122025/04/42/image_01122025_04_42_24_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/41/image_01122025_04_41_34_10641.jpg
/home/pi/Desktop/images/01122025/04/41/image_01122025_04_41_44_9562.jpg
/home/pi/Desktop/images/01122025/04/41/image_01122025_04_41_53_9775.jpg
/home/pi/Desktop/images/01122025/04/41/image_01122025_04_42_04_10864.jpg
/home/pi/Desktop/images/01122025/04/42/image_01122025_04_42_14_9680.jpg
/home/pi/Desktop/images/01122025/04/42/image_01122025_04_42_24_9746.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6648061275482178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 04:46:11.847831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_30_2738.jpg', '/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_33_3691.jpg', '/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_36_2605.jpg', '/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_39_2783.jpg', '/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_41_2686.jpg', '/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_45_3654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_30_2738.jpg
/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_33_3691.jpg
/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_36_2605.jpg
/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_39_2783.jpg
/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_41_2686.jpg
/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_45_3654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397156130","1397156127","1397156132","1397156129","1397156131","1397156125"],"photo_ids_order":["1397156125","1397156127","1397156129","1397156130","1397156131","1397156132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/494e267b45a86f41a28781cbf6fb3469.jpg","text":"TemporaryFile(/tmp/multipartBody2082440892982577920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560833330,"filename":"image_25112025_21_42_39_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/1/5ec4d19d56e0b69d35d5537a342fb852.jpg","text":"TemporaryFile(/tmp/multipartBody6390001926500827572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560833330,"filename":"image_25112025_21_42_33_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/1/4c1eb02560bbdfc12779d5e625146530.jpg","text":"TemporaryFile(/tmp/multipartBody6957869366809300919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560833330,"filename":"image_25112025_21_42_45_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bd762f52165328f65d6dc5f59c8af1ec.jpg","text":"TemporaryFile(/tmp/multipartBody697505860751477342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560833330,"filename":"image_25112025_21_42_36_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/15f582274138611376fefbf89859e007.jpg","text":"TemporaryFile(/tmp/multipartBody8718614886486002495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560833330,"filename":"image_25112025_21_42_41_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/da0b6c329a8210356e81f020d87a89ab.jpg","text":"TemporaryFile(/tmp/multipartBody8638537837483176769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560833330,"filename":"image_25112025_21_42_30_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397156129","file1":"1397156127","file0":"1397156125","file4":"1397156131","file5":"1397156132","file3":"1397156130"},"map_files_photo_id_array":[{"photo_id":"1397156132","filename":"file5"},{"photo_id":"1397156129","filename":"file2"},{"photo_id":"1397156131","filename":"file4"},{"photo_id":"1397156127","filename":"file1"},{"photo_id":"1397156125","filename":"file0"},{"photo_id":"1397156130","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397156130":["hashtag1","hashtag2"]},{"1397156127":["hashtag1","hashtag2"]},{"1397156132":["hashtag1","hashtag2"]},{"1397156129":["hashtag1","hashtag2"]},{"1397156131":["hashtag1","hashtag2"]},{"1397156125":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397156130, 1397156127, 1397156132, 1397156129, 1397156131, 1397156125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79446887969971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:47:02.717249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/41/image_01122025_04_41_34_10641.jpg', '/home/pi/Desktop/images/01122025/04/41/image_01122025_04_41_44_9562.jpg', '/home/pi/Desktop/images/01122025/04/41/image_01122025_04_41_53_9775.jpg', '/home/pi/Desktop/images/01122025/04/41/image_01122025_04_42_04_10864.jpg', '/home/pi/Desktop/images/01122025/04/42/image_01122025_04_42_14_9680.jpg', '/home/pi/Desktop/images/01122025/04/42/image_01122025_04_42_24_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/41/image_01122025_04_41_34_10641.jpg
/home/pi/Desktop/images/01122025/04/41/image_01122025_04_41_44_9562.jpg
/home/pi/Desktop/images/01122025/04/41/image_01122025_04_41_53_9775.jpg
/home/pi/Desktop/images/01122025/04/41/image_01122025_04_42_04_10864.jpg
/home/pi/Desktop/images/01122025/04/42/image_01122025_04_42_14_9680.jpg
/home/pi/Desktop/images/01122025/04/42/image_01122025_04_42_24_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":["1397156142","1397156144","1397156141","1397156138","1397156143","1397156140"],"photo_ids_order":["1397156138","1397156140","1397156141","1397156142","1397156143","1397156144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/020939477397c9fd08b310ead55fd2c3.jpg","text":"TemporaryFile(/tmp/multipartBody2770162387795718878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560883491,"filename":"image_01122025_04_42_04_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/1/7ab189364319aece4e599e427ac0a539.jpg","text":"TemporaryFile(/tmp/multipartBody7541897873209599636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560883491,"filename":"image_01122025_04_42_24_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2ca8c29eb7039b39fe1d18d81f60fac3.jpg","text":"TemporaryFile(/tmp/multipartBody4476224613443784833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560883491,"filename":"image_01122025_04_41_53_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/1/7882c5715f14dab043aee1cc587d83fb.jpg","text":"TemporaryFile(/tmp/multipartBody8612696917027036466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560883491,"filename":"image_01122025_04_41_34_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/1/a6f58416785d6b9e69000f74330f2a48.jpg","text":"TemporaryFile(/tmp/multipartBody5548657444001190447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560883491,"filename":"image_01122025_04_42_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/1/8aad6b0dc4287c129811e5288a3ad023.jpg","text":"TemporaryFile(/tmp/multipartBody4768591295420658480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560883491,"filename":"image_01122025_04_41_44_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397156141","file1":"1397156140","file0":"1397156138","file4":"1397156143","file5":"1397156144","file3":"1397156142"},"map_files_photo_id_array":[{"photo_id":"1397156144","filename":"file5"},{"photo_id":"1397156141","filename":"file2"},{"photo_id":"1397156143","filename":"file4"},{"photo_id":"1397156140","filename":"file1"},{"photo_id":"1397156138","filename":"file0"},{"photo_id":"1397156142","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397156142":["hashtag1","hashtag2"]},{"1397156144":["hashtag1","hashtag2"]},{"1397156141":["hashtag1","hashtag2"]},{"1397156138":["hashtag1","hashtag2"]},{"1397156143":["hashtag1","hashtag2"]},{"1397156140":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397156142, 1397156144, 1397156141, 1397156138, 1397156143, 1397156140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62046241760254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 04:47:42.224600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/36/image_01112025_00_36_12_2759.jpg', '/home/pi/Desktop/images/01112025/00/36/image_01112025_00_36_18_3584.jpg', '/home/pi/Desktop/images/01112025/00/36/image_01112025_00_36_21_2557.jpg', '/home/pi/Desktop/images/01112025/00/36/image_01112025_00_36_24_3581.jpg', '/home/pi/Desktop/images/01112025/00/36/image_01112025_00_36_27_2604.jpg', '/home/pi/Desktop/images/01112025/00/36/image_01112025_00_36_57_3771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/36/image_01112025_00_36_12_2759.jpg
/home/pi/Desktop/images/01112025/00/36/image_01112025_00_36_18_3584.jpg
/home/pi/Desktop/images/01112025/00/36/image_01112025_00_36_21_2557.jpg
/home/pi/Desktop/images/01112025/00/36/image_01112025_00_36_24_3581.jpg
/home/pi/Desktop/images/01112025/00/36/image_01112025_00_36_27_2604.jpg
/home/pi/Desktop/images/01112025/00/36/image_01112025_00_36_57_3771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397156154","1397156148","1397156150","1397156156","1397156152","1397156146"],"photo_ids_order":["1397156146","1397156148","1397156150","1397156152","1397156154","1397156156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9c510b1af482b1279635472dc3751313.jpg","text":"TemporaryFile(/tmp/multipartBody4536963896779340095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560923063,"filename":"image_01112025_00_36_27_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/1/2c6242d83ac35bb999b51bf70e693b53.jpg","text":"TemporaryFile(/tmp/multipartBody1344605273631225746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560923063,"filename":"image_01112025_00_36_18_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/1/190333f1511c725745b172b40e4abe90.jpg","text":"TemporaryFile(/tmp/multipartBody4793944299752726967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560923063,"filename":"image_01112025_00_36_21_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/1/0c7eb0e64afe271316f67b975ef74e98.jpg","text":"TemporaryFile(/tmp/multipartBody6324271931876842057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560923063,"filename":"image_01112025_00_36_57_3771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0ebeb0bbfa7504005ed9e72065815970.jpg","text":"TemporaryFile(/tmp/multipartBody7466483267069530388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560923063,"filename":"image_01112025_00_36_24_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/844a19f4cb0d20838dbc6d82bdf8eca8.jpg","text":"TemporaryFile(/tmp/multipartBody6602124947458939322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560923063,"filename":"image_01112025_00_36_12_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397156150","file1":"1397156148","file0":"1397156146","file4":"1397156154","file5":"1397156156","file3":"1397156152"},"map_files_photo_id_array":[{"photo_id":"1397156156","filename":"file5"},{"photo_id":"1397156150","filename":"file2"},{"photo_id":"1397156154","filename":"file4"},{"photo_id":"1397156148","filename":"file1"},{"photo_id":"1397156146","filename":"file0"},{"photo_id":"1397156152","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397156154":["hashtag1","hashtag2"]},{"1397156148":["hashtag1","hashtag2"]},{"1397156150":["hashtag1","hashtag2"]},{"1397156156":["hashtag1","hashtag2"]},{"1397156152":["hashtag1","hashtag2"]},{"1397156146":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397156154, 1397156148, 1397156150, 1397156156, 1397156152, 1397156146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8113009929657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 04:48:22.362758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/42/image_01122025_04_42_33_9767.jpg', '/home/pi/Desktop/images/01122025/04/42/image_01122025_04_42_54_9634.jpg', '/home/pi/Desktop/images/01122025/04/42/image_01122025_04_43_03_9609.jpg', '/home/pi/Desktop/images/01122025/04/43/image_01122025_04_43_24_9603.jpg', '/home/pi/Desktop/images/01122025/04/43/image_01122025_04_43_34_10682.jpg', '/home/pi/Desktop/images/01122025/04/43/image_01122025_04_43_44_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/42/image_01122025_04_42_33_9767.jpg
/home/pi/Desktop/images/01122025/04/42/image_01122025_04_42_54_9634.jpg
/home/pi/Desktop/images/01122025/04/42/image_01122025_04_43_03_9609.jpg
/home/pi/Desktop/images/01122025/04/43/image_01122025_04_43_24_9603.jpg
/home/pi/Desktop/images/01122025/04/43/image_01122025_04_43_34_10682.jpg
/home/pi/Desktop/images/01122025/04/43/image_01122025_04_43_44_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":["1397156160","1397156163","1397156157","1397156159","1397156161","1397156158"],"photo_ids_order":["1397156157","1397156158","1397156159","1397156160","1397156161","1397156163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/41f6ca0eaedbc9ed18d64e533a26b807.jpg","text":"TemporaryFile(/tmp/multipartBody9096473169665181789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560963078,"filename":"image_01122025_04_43_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/1/9bb6d48287b22653c268fb1ea92ecd5c.jpg","text":"TemporaryFile(/tmp/multipartBody7156801748691503045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560963078,"filename":"image_01122025_04_43_44_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b03e76af85115ddb4a5cd72be1b948e8.jpg","text":"TemporaryFile(/tmp/multipartBody2432031111688232327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560963078,"filename":"image_01122025_04_42_33_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/1/1617a92f6b34f1e6636a2b4aef98f204.jpg","text":"TemporaryFile(/tmp/multipartBody6874893164981681792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560963078,"filename":"image_01122025_04_43_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/1/3a8e68cc6951a5aa04340f4402b85372.jpg","text":"TemporaryFile(/tmp/multipartBody8181298191312287884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560963078,"filename":"image_01122025_04_43_34_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1897f9a01b66441869eccaf1ac13fa2b.jpg","text":"TemporaryFile(/tmp/multipartBody9095090580823099041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764560963078,"filename":"image_01122025_04_42_54_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397156159","file1":"1397156158","file0":"1397156157","file4":"1397156161","file5":"1397156163","file3":"1397156160"},"map_files_photo_id_array":[{"photo_id":"1397156163","filename":"file5"},{"photo_id":"1397156159","filename":"file2"},{"photo_id":"1397156161","filename":"file4"},{"photo_id":"1397156158","filename":"file1"},{"photo_id":"1397156157","filename":"file0"},{"photo_id":"1397156160","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397156160":["hashtag1","hashtag2"]},{"1397156163":["hashtag1","hashtag2"]},{"1397156157":["hashtag1","hashtag2"]},{"1397156159":["hashtag1","hashtag2"]},{"1397156161":["hashtag1","hashtag2"]},{"1397156158":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397156160, 1397156163, 1397156157, 1397156159, 1397156161, 1397156158)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.27823352813721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 04:49:12.598135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_48_3007.jpg', '/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_50_2513.jpg', '/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_54_3678.jpg', '/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_57_2491.jpg', '/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_59_2620.jpg', '/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_06_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_48_3007.jpg
/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_50_2513.jpg
/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_54_3678.jpg
/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_57_2491.jpg
/home/pi/Desktop/images/25112025/21/42/image_25112025_21_42_59_2620.jpg
/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_06_2634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397156172","1397156169","1397156171","1397156174","1397156173","1397156170"],"photo_ids_order":["1397156169","1397156170","1397156171","1397156172","1397156173","1397156174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e70c3d9faac940feb6de51ec7f7ff80a.jpg","text":"TemporaryFile(/tmp/multipartBody2733275902952357186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561014150,"filename":"image_25112025_21_42_57_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/1/10b7c339c2dff429dde98aa18a01ca5d.jpg","text":"TemporaryFile(/tmp/multipartBody7758476760633269207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561014150,"filename":"image_25112025_21_42_48_3007.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2e43919f4bf018f432ea338e0111762b.jpg","text":"TemporaryFile(/tmp/multipartBody7597311786685843032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561014150,"filename":"image_25112025_21_42_54_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/1/686941bc30935465b9d1a285053364e6.jpg","text":"TemporaryFile(/tmp/multipartBody196738117660930397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561014150,"filename":"image_25112025_21_43_06_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/1/2e6792a09fdcc71183fda20bf02e285d.jpg","text":"TemporaryFile(/tmp/multipartBody7672446372692936694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561014150,"filename":"image_25112025_21_42_59_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/1/6bdd5ab601e2586bc81169864bd7a6d8.jpg","text":"TemporaryFile(/tmp/multipartBody4959796511505662860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561014150,"filename":"image_25112025_21_42_50_2513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397156171","file1":"1397156170","file0":"1397156169","file4":"1397156173","file5":"1397156174","file3":"1397156172"},"map_files_photo_id_array":[{"photo_id":"1397156174","filename":"file5"},{"photo_id":"1397156171","filename":"file2"},{"photo_id":"1397156173","filename":"file4"},{"photo_id":"1397156170","filename":"file1"},{"photo_id":"1397156169","filename":"file0"},{"photo_id":"1397156172","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397156172":["hashtag1","hashtag2"]},{"1397156169":["hashtag1","hashtag2"]},{"1397156171":["hashtag1","hashtag2"]},{"1397156174":["hashtag1","hashtag2"]},{"1397156173":["hashtag1","hashtag2"]},{"1397156170":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397156172, 1397156169, 1397156171, 1397156174, 1397156173, 1397156170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25794768333435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:50:03.245542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/43/image_01122025_04_43_54_9805.jpg', '/home/pi/Desktop/images/01122025/04/44/image_01122025_04_44_14_10722.jpg', '/home/pi/Desktop/images/01122025/04/44/image_01122025_04_44_24_9683.jpg', '/home/pi/Desktop/images/01122025/04/44/image_01122025_04_44_34_9757.jpg', '/home/pi/Desktop/images/01122025/04/44/image_01122025_04_44_44_9691.jpg', '/home/pi/Desktop/images/01122025/04/44/image_01122025_04_45_04_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/43/image_01122025_04_43_54_9805.jpg
/home/pi/Desktop/images/01122025/04/44/image_01122025_04_44_14_10722.jpg
/home/pi/Desktop/images/01122025/04/44/image_01122025_04_44_24_9683.jpg
/home/pi/Desktop/images/01122025/04/44/image_01122025_04_44_34_9757.jpg
/home/pi/Desktop/images/01122025/04/44/image_01122025_04_44_44_9691.jpg
/home/pi/Desktop/images/01122025/04/44/image_01122025_04_45_04_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":["1397156184","1397156181","1397156183","1397156186","1397156182","1397156185"],"photo_ids_order":["1397156181","1397156182","1397156183","1397156184","1397156185","1397156186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/63d7a5cb5d23e64fbf505faaea95ff86.jpg","text":"TemporaryFile(/tmp/multipartBody8988717728236189985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561063988,"filename":"image_01122025_04_44_34_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a343ff26f662e4082329b88fdc08ff49.jpg","text":"TemporaryFile(/tmp/multipartBody1501226606416219723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561063988,"filename":"image_01122025_04_43_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/1/956149105f23c9b0e1de92c2b30175d0.jpg","text":"TemporaryFile(/tmp/multipartBody1594413597413808809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561063988,"filename":"image_01122025_04_44_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/1/ad50ba4a207e643cc4efea982bb9129d.jpg","text":"TemporaryFile(/tmp/multipartBody3518575439186466236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561063988,"filename":"image_01122025_04_45_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/1/900df9de52343a8347763a17b90dd0f0.jpg","text":"TemporaryFile(/tmp/multipartBody1351207190784911421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561063988,"filename":"image_01122025_04_44_14_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/1/d09560d475bb01608e1d9fd0e50c7ac3.jpg","text":"TemporaryFile(/tmp/multipartBody7543552591492859067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561063988,"filename":"image_01122025_04_44_44_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397156183","file1":"1397156182","file0":"1397156181","file4":"1397156185","file5":"1397156186","file3":"1397156184"},"map_files_photo_id_array":[{"photo_id":"1397156186","filename":"file5"},{"photo_id":"1397156183","filename":"file2"},{"photo_id":"1397156185","filename":"file4"},{"photo_id":"1397156182","filename":"file1"},{"photo_id":"1397156181","filename":"file0"},{"photo_id":"1397156184","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397156184":["hashtag1","hashtag2"]},{"1397156181":["hashtag1","hashtag2"]},{"1397156183":["hashtag1","hashtag2"]},{"1397156186":["hashtag1","hashtag2"]},{"1397156182":["hashtag1","hashtag2"]},{"1397156185":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397156184, 1397156181, 1397156183, 1397156186, 1397156182, 1397156185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.364224433898926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 04:50:42.903152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/36/image_01112025_00_37_00_2704.jpg', '/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_02_2734.jpg', '/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_06_3632.jpg', '/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_09_2678.jpg', '/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_15_3525.jpg', '/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_18_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/36/image_01112025_00_37_00_2704.jpg
/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_02_2734.jpg
/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_06_3632.jpg
/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_09_2678.jpg
/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_15_3525.jpg
/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_18_2794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397156193","1397156187","1397156195","1397156198","1397156191","1397156188"],"photo_ids_order":["1397156187","1397156188","1397156191","1397156193","1397156195","1397156198"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fd293ab2687281201a51a751519962d3.jpg","text":"TemporaryFile(/tmp/multipartBody5577803375494542175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561103737,"filename":"image_01112025_00_37_09_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8f91d113203d1f269fa411ea65cd4b96.jpg","text":"TemporaryFile(/tmp/multipartBody3129970936387737482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561103737,"filename":"image_01112025_00_37_00_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/1/d93462fc5679d39cc1622e0e6aee65dc.jpg","text":"TemporaryFile(/tmp/multipartBody4695907027963777988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561103737,"filename":"image_01112025_00_37_15_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/1/fefa389284649f8a78fcfcd8e1745b96.jpg","text":"TemporaryFile(/tmp/multipartBody6888336719652689265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561103737,"filename":"image_01112025_00_37_18_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2f8bbee829e0b35ecdbae08ceb0731cf.jpg","text":"TemporaryFile(/tmp/multipartBody1086759147955533527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561103737,"filename":"image_01112025_00_37_06_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/1/75444f1956f8bbbfbd0fd1625c8bf654.jpg","text":"TemporaryFile(/tmp/multipartBody3043907915810370740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561103737,"filename":"image_01112025_00_37_02_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397156191","file1":"1397156188","file0":"1397156187","file4":"1397156195","file5":"1397156198","file3":"1397156193"},"map_files_photo_id_array":[{"photo_id":"1397156198","filename":"file5"},{"photo_id":"1397156191","filename":"file2"},{"photo_id":"1397156195","filename":"file4"},{"photo_id":"1397156188","filename":"file1"},{"photo_id":"1397156187","filename":"file0"},{"photo_id":"1397156193","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397156193":["hashtag1","hashtag2"]},{"1397156187":["hashtag1","hashtag2"]},{"1397156195":["hashtag1","hashtag2"]},{"1397156198":["hashtag1","hashtag2"]},{"1397156191":["hashtag1","hashtag2"]},{"1397156188":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397156193, 1397156187, 1397156195, 1397156198, 1397156191, 1397156188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.033554553985596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 04:51:22.083498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/45/image_01122025_04_45_14_9632.jpg', '/home/pi/Desktop/images/01122025/04/45/image_01122025_04_45_24_10616.jpg', '/home/pi/Desktop/images/01122025/04/45/image_01122025_04_45_34_9727.jpg', '/home/pi/Desktop/images/01122025/04/45/image_01122025_04_45_43_9553.jpg', '/home/pi/Desktop/images/01122025/04/45/image_01122025_04_46_04_9798.jpg', '/home/pi/Desktop/images/01122025/04/46/image_01122025_04_46_14_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/45/image_01122025_04_45_14_9632.jpg
/home/pi/Desktop/images/01122025/04/45/image_01122025_04_45_24_10616.jpg
/home/pi/Desktop/images/01122025/04/45/image_01122025_04_45_34_9727.jpg
/home/pi/Desktop/images/01122025/04/45/image_01122025_04_45_43_9553.jpg
/home/pi/Desktop/images/01122025/04/45/image_01122025_04_46_04_9798.jpg
/home/pi/Desktop/images/01122025/04/46/image_01122025_04_46_14_9602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397156203","1397156205","1397156208","1397156207","1397156210","1397156206"],"photo_ids_order":["1397156203","1397156205","1397156206","1397156207","1397156208","1397156210"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6af5057bcb25e8116155bd9fdb1a442a.jpg","text":"TemporaryFile(/tmp/multipartBody2414991600161097527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561142806,"filename":"image_01122025_04_45_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/1/cf33943c44236514db54ee223a0aa952.jpg","text":"TemporaryFile(/tmp/multipartBody4064972986529736428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561142806,"filename":"image_01122025_04_45_24_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/1/75939c38480222c489e2777c4543b749.jpg","text":"TemporaryFile(/tmp/multipartBody573313758609728884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561142806,"filename":"image_01122025_04_46_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/1/1cf1994862e114385da41dd6b63ba332.jpg","text":"TemporaryFile(/tmp/multipartBody5653674580951436627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561142806,"filename":"image_01122025_04_45_43_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/1/3fa3573d8fc53332bfc3be4277ce35c0.jpg","text":"TemporaryFile(/tmp/multipartBody331503457587939445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561142806,"filename":"image_01122025_04_46_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/1/e6c8dcfaf3e5e8a4e6c2f5dac8f451f9.jpg","text":"TemporaryFile(/tmp/multipartBody345139850115818753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561142806,"filename":"image_01122025_04_45_34_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397156206","file1":"1397156205","file0":"1397156203","file4":"1397156208","file5":"1397156210","file3":"1397156207"},"map_files_photo_id_array":[{"photo_id":"1397156210","filename":"file5"},{"photo_id":"1397156206","filename":"file2"},{"photo_id":"1397156208","filename":"file4"},{"photo_id":"1397156205","filename":"file1"},{"photo_id":"1397156203","filename":"file0"},{"photo_id":"1397156207","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397156203":["hashtag1","hashtag2"]},{"1397156205":["hashtag1","hashtag2"]},{"1397156208":["hashtag1","hashtag2"]},{"1397156207":["hashtag1","hashtag2"]},{"1397156210":["hashtag1","hashtag2"]},{"1397156206":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397156203, 1397156205, 1397156208, 1397156207, 1397156210, 1397156206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.08664631843567 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:52:02.771301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/46/image_01122025_04_46_24_10725.jpg', '/home/pi/Desktop/images/01122025/04/46/image_01122025_04_46_44_9684.jpg', '/home/pi/Desktop/images/01122025/04/46/image_01122025_04_47_04_10652.jpg', '/home/pi/Desktop/images/01122025/04/47/image_01122025_04_47_14_9599.jpg', '/home/pi/Desktop/images/01122025/04/47/image_01122025_04_47_24_9757.jpg', '/home/pi/Desktop/images/01122025/04/47/image_01122025_04_47_34_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/46/image_01122025_04_46_24_10725.jpg
/home/pi/Desktop/images/01122025/04/46/image_01122025_04_46_44_9684.jpg
/home/pi/Desktop/images/01122025/04/46/image_01122025_04_47_04_10652.jpg
/home/pi/Desktop/images/01122025/04/47/image_01122025_04_47_14_9599.jpg
/home/pi/Desktop/images/01122025/04/47/image_01122025_04_47_24_9757.jpg
/home/pi/Desktop/images/01122025/04/47/image_01122025_04_47_34_10670.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.624779462814331 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 04:52:12.291850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_08_2646.jpg', '/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_12_3652.jpg', '/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_15_2689.jpg', '/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_18_3584.jpg', '/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_23_2777.jpg', '/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_26_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_08_2646.jpg
/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_12_3652.jpg
/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_15_2689.jpg
/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_18_3584.jpg
/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_23_2777.jpg
/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_26_2753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397156221","1397156223","1397156226","1397156225","1397156219","1397156224"],"photo_ids_order":["1397156219","1397156221","1397156223","1397156224","1397156225","1397156226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c4d3f0fad3e21a824843136c8d33c54b.jpg","text":"TemporaryFile(/tmp/multipartBody6409199700208767430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561193730,"filename":"image_25112025_21_43_12_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/1/59a7a41b380bba579e6aeb2705094fe8.jpg","text":"TemporaryFile(/tmp/multipartBody7805071182937686824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561193730,"filename":"image_25112025_21_43_15_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/1/4bb72a3dcf2eb53226550a7d24cbe3be.jpg","text":"TemporaryFile(/tmp/multipartBody6817001550276052776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561193730,"filename":"image_25112025_21_43_26_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/1/c492fe0a3029d6e2ece0e3bacec1c8b6.jpg","text":"TemporaryFile(/tmp/multipartBody5098592408242226323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561193730,"filename":"image_25112025_21_43_23_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/1/a1a86820db398bbfce790c0e8c312e73.jpg","text":"TemporaryFile(/tmp/multipartBody6745933683386901112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561193730,"filename":"image_25112025_21_43_08_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/1/6a299e082e3194f554e2e2aa99c2ed34.jpg","text":"TemporaryFile(/tmp/multipartBody4558348309277596532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561193730,"filename":"image_25112025_21_43_18_3584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397156223","file1":"1397156221","file0":"1397156219","file4":"1397156225","file5":"1397156226","file3":"1397156224"},"map_files_photo_id_array":[{"photo_id":"1397156226","filename":"file5"},{"photo_id":"1397156223","filename":"file2"},{"photo_id":"1397156225","filename":"file4"},{"photo_id":"1397156221","filename":"file1"},{"photo_id":"1397156219","filename":"file0"},{"photo_id":"1397156224","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397156221":["hashtag1","hashtag2"]},{"1397156223":["hashtag1","hashtag2"]},{"1397156226":["hashtag1","hashtag2"]},{"1397156225":["hashtag1","hashtag2"]},{"1397156219":["hashtag1","hashtag2"]},{"1397156224":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397156221, 1397156223, 1397156226, 1397156225, 1397156219, 1397156224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25652599334717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:53:03.316863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/46/image_01122025_04_46_24_10725.jpg', '/home/pi/Desktop/images/01122025/04/46/image_01122025_04_46_44_9684.jpg', '/home/pi/Desktop/images/01122025/04/46/image_01122025_04_47_04_10652.jpg', '/home/pi/Desktop/images/01122025/04/47/image_01122025_04_47_14_9599.jpg', '/home/pi/Desktop/images/01122025/04/47/image_01122025_04_47_24_9757.jpg', '/home/pi/Desktop/images/01122025/04/47/image_01122025_04_47_34_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/46/image_01122025_04_46_24_10725.jpg
/home/pi/Desktop/images/01122025/04/46/image_01122025_04_46_44_9684.jpg
/home/pi/Desktop/images/01122025/04/46/image_01122025_04_47_04_10652.jpg
/home/pi/Desktop/images/01122025/04/47/image_01122025_04_47_14_9599.jpg
/home/pi/Desktop/images/01122025/04/47/image_01122025_04_47_24_9757.jpg
/home/pi/Desktop/images/01122025/04/47/image_01122025_04_47_34_10670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397156235","1397156238","1397156234","1397156237","1397156236","1397156233"],"photo_ids_order":["1397156233","1397156234","1397156235","1397156236","1397156237","1397156238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/746505bb32a8fdb82b1b3fa6518eba09.jpg","text":"TemporaryFile(/tmp/multipartBody6657623270366434272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561244067,"filename":"image_01122025_04_47_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/1/0fd7cdf5c6467abe1bac80da3e2ecbef.jpg","text":"TemporaryFile(/tmp/multipartBody1983734190311860361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561244067,"filename":"image_01122025_04_47_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/1/b2bfc81edeac80b633171f8b5eeb6f38.jpg","text":"TemporaryFile(/tmp/multipartBody8146956321373768491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561244067,"filename":"image_01122025_04_46_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/1/9a28ebcee85c01e028c6559699c48b1f.jpg","text":"TemporaryFile(/tmp/multipartBody2275168511059777182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561244067,"filename":"image_01122025_04_47_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/1/65409e6c1d0d3d8a72b4308b00d1bbe5.jpg","text":"TemporaryFile(/tmp/multipartBody7482161472755413650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561244067,"filename":"image_01122025_04_47_14_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/81ab5673870639cbfbf80490fd88b7d6.jpg","text":"TemporaryFile(/tmp/multipartBody7817965329494015601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561244067,"filename":"image_01122025_04_46_24_10725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397156235","file1":"1397156234","file0":"1397156233","file4":"1397156237","file5":"1397156238","file3":"1397156236"},"map_files_photo_id_array":[{"photo_id":"1397156238","filename":"file5"},{"photo_id":"1397156235","filename":"file2"},{"photo_id":"1397156237","filename":"file4"},{"photo_id":"1397156234","filename":"file1"},{"photo_id":"1397156233","filename":"file0"},{"photo_id":"1397156236","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397156235":["hashtag1","hashtag2"]},{"1397156238":["hashtag1","hashtag2"]},{"1397156234":["hashtag1","hashtag2"]},{"1397156237":["hashtag1","hashtag2"]},{"1397156236":["hashtag1","hashtag2"]},{"1397156233":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397156235, 1397156238, 1397156234, 1397156237, 1397156236, 1397156233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83422827720642 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 04:53:42.534805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_20_2674.jpg', '/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_23_2845.jpg', '/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_27_3757.jpg', '/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_30_2783.jpg', '/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_33_2955.jpg', '/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_36_2715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_20_2674.jpg
/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_23_2845.jpg
/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_27_3757.jpg
/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_30_2783.jpg
/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_33_2955.jpg
/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_36_2715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397156250","1397156244","1397156246","1397156240","1397156242","1397156248"],"photo_ids_order":["1397156240","1397156242","1397156244","1397156246","1397156248","1397156250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9a435f7edf03a3af26a951324f592c68.jpg","text":"TemporaryFile(/tmp/multipartBody8263532425267253281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561283369,"filename":"image_01112025_00_37_36_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/1/402baf8b4f7df671277205bf4765f060.jpg","text":"TemporaryFile(/tmp/multipartBody4124916039057583550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561283369,"filename":"image_01112025_00_37_27_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/1/75b5f92894fc304c171d012732d858fe.jpg","text":"TemporaryFile(/tmp/multipartBody8005669436599529584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561283369,"filename":"image_01112025_00_37_30_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/1/665dd50012f85e8ae70b15c4ceb3726d.jpg","text":"TemporaryFile(/tmp/multipartBody2402647118229856319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561283369,"filename":"image_01112025_00_37_20_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/1/24ff5e19790efeb1d067276107edd42b.jpg","text":"TemporaryFile(/tmp/multipartBody6710297407824913036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561283369,"filename":"image_01112025_00_37_23_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/1/d28e7d901a2a93f2d0fb33d078387007.jpg","text":"TemporaryFile(/tmp/multipartBody3773936103218495307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561283369,"filename":"image_01112025_00_37_33_2955.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397156244","file1":"1397156242","file0":"1397156240","file4":"1397156248","file5":"1397156250","file3":"1397156246"},"map_files_photo_id_array":[{"photo_id":"1397156250","filename":"file5"},{"photo_id":"1397156244","filename":"file2"},{"photo_id":"1397156248","filename":"file4"},{"photo_id":"1397156242","filename":"file1"},{"photo_id":"1397156240","filename":"file0"},{"photo_id":"1397156246","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397156250":["hashtag1","hashtag2"]},{"1397156244":["hashtag1","hashtag2"]},{"1397156246":["hashtag1","hashtag2"]},{"1397156240":["hashtag1","hashtag2"]},{"1397156242":["hashtag1","hashtag2"]},{"1397156248":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397156250, 1397156244, 1397156246, 1397156240, 1397156242, 1397156248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44130802154541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 04:54:22.766791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/47/image_01122025_04_47_44_10018.jpg', '/home/pi/Desktop/images/01122025/04/47/image_01122025_04_47_54_10054.jpg', '/home/pi/Desktop/images/01122025/04/48/image_01122025_04_48_14_9637.jpg', '/home/pi/Desktop/images/01122025/04/48/image_01122025_04_48_24_10849.jpg', '/home/pi/Desktop/images/01122025/04/48/image_01122025_04_48_34_9677.jpg', '/home/pi/Desktop/images/01122025/04/48/image_01122025_04_48_44_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/47/image_01122025_04_47_44_10018.jpg
/home/pi/Desktop/images/01122025/04/47/image_01122025_04_47_54_10054.jpg
/home/pi/Desktop/images/01122025/04/48/image_01122025_04_48_14_9637.jpg
/home/pi/Desktop/images/01122025/04/48/image_01122025_04_48_24_10849.jpg
/home/pi/Desktop/images/01122025/04/48/image_01122025_04_48_34_9677.jpg
/home/pi/Desktop/images/01122025/04/48/image_01122025_04_48_44_9716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397156253","1397156252","1397156255","1397156254","1397156257","1397156251"],"photo_ids_order":["1397156251","1397156252","1397156253","1397156254","1397156255","1397156257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a5c592105c8a664a2c12f6c64ee29d29.jpg","text":"TemporaryFile(/tmp/multipartBody6259802863919725229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561323537,"filename":"image_01122025_04_48_14_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a45a2a09172af8dc103dd37f05e01045.jpg","text":"TemporaryFile(/tmp/multipartBody5689561669454496300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561323537,"filename":"image_01122025_04_47_54_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/1/d5f94c51aaf96e0b6ecfedc623d3309c.jpg","text":"TemporaryFile(/tmp/multipartBody1425907837059558361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561323537,"filename":"image_01122025_04_48_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/1/11455716162e35503b145a177dbe30a5.jpg","text":"TemporaryFile(/tmp/multipartBody3323593766190948336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561323537,"filename":"image_01122025_04_48_24_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/1/b1ef3e3472fb88e933792443acc8ba73.jpg","text":"TemporaryFile(/tmp/multipartBody6306796470923972090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561323537,"filename":"image_01122025_04_48_44_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8d159e04004e979d9dd37b6fbc1981ca.jpg","text":"TemporaryFile(/tmp/multipartBody4207744843891266237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561323537,"filename":"image_01122025_04_47_44_10018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397156253","file1":"1397156252","file0":"1397156251","file4":"1397156255","file5":"1397156257","file3":"1397156254"},"map_files_photo_id_array":[{"photo_id":"1397156257","filename":"file5"},{"photo_id":"1397156253","filename":"file2"},{"photo_id":"1397156255","filename":"file4"},{"photo_id":"1397156252","filename":"file1"},{"photo_id":"1397156251","filename":"file0"},{"photo_id":"1397156254","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397156253":["hashtag1","hashtag2"]},{"1397156252":["hashtag1","hashtag2"]},{"1397156255":["hashtag1","hashtag2"]},{"1397156254":["hashtag1","hashtag2"]},{"1397156257":["hashtag1","hashtag2"]},{"1397156251":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397156253, 1397156252, 1397156255, 1397156254, 1397156257, 1397156251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80230736732483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:55:02.625510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/48/image_01122025_04_49_04_9823.jpg', '/home/pi/Desktop/images/01122025/04/49/image_01122025_04_49_24_10309.jpg', '/home/pi/Desktop/images/01122025/04/49/image_01122025_04_49_43_9615.jpg', '/home/pi/Desktop/images/01122025/04/49/image_01122025_04_49_54_10790.jpg', '/home/pi/Desktop/images/01122025/04/50/image_01122025_04_50_04_10081.jpg', '/home/pi/Desktop/images/01122025/04/50/image_01122025_04_50_24_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/48/image_01122025_04_49_04_9823.jpg
/home/pi/Desktop/images/01122025/04/49/image_01122025_04_49_24_10309.jpg
/home/pi/Desktop/images/01122025/04/49/image_01122025_04_49_43_9615.jpg
/home/pi/Desktop/images/01122025/04/49/image_01122025_04_49_54_10790.jpg
/home/pi/Desktop/images/01122025/04/50/image_01122025_04_50_04_10081.jpg
/home/pi/Desktop/images/01122025/04/50/image_01122025_04_50_24_9607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397156265","1397156268","1397156262","1397156264","1397156267","1397156266"],"photo_ids_order":["1397156262","1397156264","1397156265","1397156266","1397156267","1397156268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a75dca3ae2600eebcefc5d5b694ac673.jpg","text":"TemporaryFile(/tmp/multipartBody2284931995366034529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561363389,"filename":"image_01122025_04_49_43_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/1/361bfcb047eec036f4e2149b04270ea5.jpg","text":"TemporaryFile(/tmp/multipartBody7999040570856759882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561363389,"filename":"image_01122025_04_50_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/1/e2ce4dc3c912f3f446a3f33c4b9a61cf.jpg","text":"TemporaryFile(/tmp/multipartBody2163179194293188251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561363389,"filename":"image_01122025_04_49_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/1/b4adda369a0689903e9643821fcbcf86.jpg","text":"TemporaryFile(/tmp/multipartBody4204217455038045629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561363389,"filename":"image_01122025_04_49_24_10309.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d185a78de210b058ab2ef61eeb68a19f.jpg","text":"TemporaryFile(/tmp/multipartBody1031701803414039653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561363389,"filename":"image_01122025_04_50_04_10081.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/43ed83883ca58b35fa05f3345493e04d.jpg","text":"TemporaryFile(/tmp/multipartBody6332560695962057267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561363389,"filename":"image_01122025_04_49_54_10790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397156265","file1":"1397156264","file0":"1397156262","file4":"1397156267","file5":"1397156268","file3":"1397156266"},"map_files_photo_id_array":[{"photo_id":"1397156268","filename":"file5"},{"photo_id":"1397156265","filename":"file2"},{"photo_id":"1397156267","filename":"file4"},{"photo_id":"1397156264","filename":"file1"},{"photo_id":"1397156262","filename":"file0"},{"photo_id":"1397156266","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397156265":["hashtag1","hashtag2"]},{"1397156268":["hashtag1","hashtag2"]},{"1397156262":["hashtag1","hashtag2"]},{"1397156264":["hashtag1","hashtag2"]},{"1397156267":["hashtag1","hashtag2"]},{"1397156266":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397156265, 1397156268, 1397156262, 1397156264, 1397156267, 1397156266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46904468536377 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 04:55:41.871325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_38_2880.jpg', '/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_42_3648.jpg', '/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_45_2728.jpg', '/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_48_2740.jpg', '/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_50_2726.jpg', '/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_54_3671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_38_2880.jpg
/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_42_3648.jpg
/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_45_2728.jpg
/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_48_2740.jpg
/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_50_2726.jpg
/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_54_3671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397156277","1397156271","1397156279","1397156273","1397156275","1397156269"],"photo_ids_order":["1397156269","1397156271","1397156273","1397156275","1397156277","1397156279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0d7610e6af10f4a5dadd864f18145400.jpg","text":"TemporaryFile(/tmp/multipartBody6982084116486179384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561402720,"filename":"image_01112025_00_37_50_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/1/f824515edddb3c94be8a737846094447.jpg","text":"TemporaryFile(/tmp/multipartBody4660128966072573601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561402720,"filename":"image_01112025_00_37_42_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/1/f193ee03a5e43f4ab7e7ce22d9026ce9.jpg","text":"TemporaryFile(/tmp/multipartBody5498758557845518199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561402720,"filename":"image_01112025_00_37_54_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/1/b626974e958fc60f3e82605e2d3c5d65.jpg","text":"TemporaryFile(/tmp/multipartBody9042902837685577179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561402720,"filename":"image_01112025_00_37_45_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ec3cde8da437a464d69b8c69c6afad3c.jpg","text":"TemporaryFile(/tmp/multipartBody544603968547273972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561402720,"filename":"image_01112025_00_37_48_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/1/f69f6e711e2e7f97baa92d53713b4fbf.jpg","text":"TemporaryFile(/tmp/multipartBody847172482308642564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561402720,"filename":"image_01112025_00_37_38_2880.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397156273","file1":"1397156271","file0":"1397156269","file4":"1397156277","file5":"1397156279","file3":"1397156275"},"map_files_photo_id_array":[{"photo_id":"1397156279","filename":"file5"},{"photo_id":"1397156273","filename":"file2"},{"photo_id":"1397156277","filename":"file4"},{"photo_id":"1397156271","filename":"file1"},{"photo_id":"1397156269","filename":"file0"},{"photo_id":"1397156275","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397156277":["hashtag1","hashtag2"]},{"1397156271":["hashtag1","hashtag2"]},{"1397156279":["hashtag1","hashtag2"]},{"1397156273":["hashtag1","hashtag2"]},{"1397156275":["hashtag1","hashtag2"]},{"1397156269":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397156277, 1397156271, 1397156279, 1397156273, 1397156275, 1397156269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13977551460266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 04:56:22.080274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/50/image_01122025_04_50_34_10652.jpg', '/home/pi/Desktop/images/01122025/04/50/image_01122025_04_50_44_9655.jpg', '/home/pi/Desktop/images/01122025/04/50/image_01122025_04_50_54_9775.jpg', '/home/pi/Desktop/images/01122025/04/51/image_01122025_04_51_44_9670.jpg', '/home/pi/Desktop/images/01122025/04/51/image_01122025_04_52_04_9893.jpg', '/home/pi/Desktop/images/01122025/04/52/image_01122025_04_52_14_10715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/50/image_01122025_04_50_34_10652.jpg
/home/pi/Desktop/images/01122025/04/50/image_01122025_04_50_44_9655.jpg
/home/pi/Desktop/images/01122025/04/50/image_01122025_04_50_54_9775.jpg
/home/pi/Desktop/images/01122025/04/51/image_01122025_04_51_44_9670.jpg
/home/pi/Desktop/images/01122025/04/51/image_01122025_04_52_04_9893.jpg
/home/pi/Desktop/images/01122025/04/52/image_01122025_04_52_14_10715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397156283","1397156286","1397156282","1397156285","1397156281","1397156284"],"photo_ids_order":["1397156281","1397156282","1397156283","1397156284","1397156285","1397156286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/df4b1a2bac66a0f595ef602a5c863bad.jpg","text":"TemporaryFile(/tmp/multipartBody2829682500571466148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561442756,"filename":"image_01122025_04_50_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/1/59f6288c4817745286762c08918c461e.jpg","text":"TemporaryFile(/tmp/multipartBody2527976290185787124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561442756,"filename":"image_01122025_04_52_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/1/0f93ab77f4efa6cf033d20b9659a5225.jpg","text":"TemporaryFile(/tmp/multipartBody6617296241884085168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561442756,"filename":"image_01122025_04_50_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/1/ae14723288717a624c05a7f898bc2a98.jpg","text":"TemporaryFile(/tmp/multipartBody6633236778026664318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561442756,"filename":"image_01122025_04_52_04_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b3643e1b783b8f463497ecd7f9448e9c.jpg","text":"TemporaryFile(/tmp/multipartBody7497428281908336762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561442756,"filename":"image_01122025_04_50_34_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/86b94fb741445777380448d5014a1bbe.jpg","text":"TemporaryFile(/tmp/multipartBody9079756411775936960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561442756,"filename":"image_01122025_04_51_44_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397156283","file1":"1397156282","file0":"1397156281","file4":"1397156285","file5":"1397156286","file3":"1397156284"},"map_files_photo_id_array":[{"photo_id":"1397156286","filename":"file5"},{"photo_id":"1397156283","filename":"file2"},{"photo_id":"1397156285","filename":"file4"},{"photo_id":"1397156282","filename":"file1"},{"photo_id":"1397156281","filename":"file0"},{"photo_id":"1397156284","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397156283":["hashtag1","hashtag2"]},{"1397156286":["hashtag1","hashtag2"]},{"1397156282":["hashtag1","hashtag2"]},{"1397156285":["hashtag1","hashtag2"]},{"1397156281":["hashtag1","hashtag2"]},{"1397156284":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397156283, 1397156286, 1397156282, 1397156285, 1397156281, 1397156284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.409372091293335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:57:02.919120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/52/image_01122025_04_52_24_9579.jpg', '/home/pi/Desktop/images/01122025/04/52/image_01122025_04_52_44_10645.jpg', '/home/pi/Desktop/images/01122025/04/52/image_01122025_04_52_54_9591.jpg', '/home/pi/Desktop/images/01122025/04/52/image_01122025_04_53_04_9620.jpg', '/home/pi/Desktop/images/01122025/04/53/image_01122025_04_53_14_10067.jpg', '/home/pi/Desktop/images/01122025/04/54/image_01122025_04_54_24_9921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/52/image_01122025_04_52_24_9579.jpg
/home/pi/Desktop/images/01122025/04/52/image_01122025_04_52_44_10645.jpg
/home/pi/Desktop/images/01122025/04/52/image_01122025_04_52_54_9591.jpg
/home/pi/Desktop/images/01122025/04/52/image_01122025_04_53_04_9620.jpg
/home/pi/Desktop/images/01122025/04/53/image_01122025_04_53_14_10067.jpg
/home/pi/Desktop/images/01122025/04/54/image_01122025_04_54_24_9921.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397156301","1397156294","1397156291","1397156306","1397156299","1397156296"],"photo_ids_order":["1397156291","1397156294","1397156296","1397156299","1397156301","1397156306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3df8474d1dcb55e8c22eede21813eda8.jpg","text":"TemporaryFile(/tmp/multipartBody7025583833511277574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561483737,"filename":"image_01122025_04_53_14_10067.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1bf4685681311965b62f3e198a819255.jpg","text":"TemporaryFile(/tmp/multipartBody2205889800486486456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561483737,"filename":"image_01122025_04_52_44_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e2018b145197c87a7446483c1dfc4fad.jpg","text":"TemporaryFile(/tmp/multipartBody8655211774698907005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561483737,"filename":"image_01122025_04_52_24_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f235a998459d240524ada5d4c74aead9.jpg","text":"TemporaryFile(/tmp/multipartBody1818406974892892233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561483737,"filename":"image_01122025_04_54_24_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/1/063b2cf91a7bb984ab36412d67fbf7f1.jpg","text":"TemporaryFile(/tmp/multipartBody2587787874607316621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561483737,"filename":"image_01122025_04_53_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/1/dde05883acb82f8c3ee1a7c092a6205c.jpg","text":"TemporaryFile(/tmp/multipartBody4103851763219910809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561483737,"filename":"image_01122025_04_52_54_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397156296","file1":"1397156294","file0":"1397156291","file4":"1397156301","file5":"1397156306","file3":"1397156299"},"map_files_photo_id_array":[{"photo_id":"1397156306","filename":"file5"},{"photo_id":"1397156296","filename":"file2"},{"photo_id":"1397156301","filename":"file4"},{"photo_id":"1397156294","filename":"file1"},{"photo_id":"1397156291","filename":"file0"},{"photo_id":"1397156299","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397156301":["hashtag1","hashtag2"]},{"1397156294":["hashtag1","hashtag2"]},{"1397156291":["hashtag1","hashtag2"]},{"1397156306":["hashtag1","hashtag2"]},{"1397156299":["hashtag1","hashtag2"]},{"1397156296":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397156301, 1397156294, 1397156291, 1397156306, 1397156299, 1397156296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32353401184082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 04:57:42.273480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_56_2535.jpg', '/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_59_2734.jpg', '/home/pi/Desktop/images/01112025/00/38/image_01112025_00_38_03_3716.jpg', '/home/pi/Desktop/images/01112025/00/38/image_01112025_00_38_12_3710.jpg', '/home/pi/Desktop/images/01112025/00/38/image_01112025_00_38_15_2651.jpg', '/home/pi/Desktop/images/01112025/00/38/image_01112025_00_38_17_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_56_2535.jpg
/home/pi/Desktop/images/01112025/00/37/image_01112025_00_37_59_2734.jpg
/home/pi/Desktop/images/01112025/00/38/image_01112025_00_38_03_3716.jpg
/home/pi/Desktop/images/01112025/00/38/image_01112025_00_38_12_3710.jpg
/home/pi/Desktop/images/01112025/00/38/image_01112025_00_38_15_2651.jpg
/home/pi/Desktop/images/01112025/00/38/image_01112025_00_38_17_2637.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397156547","1397156622","1397156510","1397156435","1397156584","1397156473"],"photo_ids_order":["1397156435","1397156473","1397156510","1397156547","1397156584","1397156622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/feef4ade894d27a94e6d64dfa3c03b33.jpg","text":"TemporaryFile(/tmp/multipartBody3081454662513468588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561523155,"filename":"image_01112025_00_38_12_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/db35b25659c51d84f162302b9fc6f470.jpg","text":"TemporaryFile(/tmp/multipartBody7002981774018940230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561523155,"filename":"image_01112025_00_38_17_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/1/1432d335fb5a70d76119af4efed3d721.jpg","text":"TemporaryFile(/tmp/multipartBody2185827667269225857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561523155,"filename":"image_01112025_00_38_03_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/1/65e006c21fed7cda89d512211db37dc9.jpg","text":"TemporaryFile(/tmp/multipartBody2296062471047126620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561523155,"filename":"image_01112025_00_37_56_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/1/5e0a1dc87a055ff16c7e1554402fb954.jpg","text":"TemporaryFile(/tmp/multipartBody7246714304148839963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561523155,"filename":"image_01112025_00_38_15_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0caedfea8bdcee945667509b50b1f1c8.jpg","text":"TemporaryFile(/tmp/multipartBody5309305702138912554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561523155,"filename":"image_01112025_00_37_59_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397156510","file1":"1397156473","file0":"1397156435","file4":"1397156584","file5":"1397156622","file3":"1397156547"},"map_files_photo_id_array":[{"photo_id":"1397156622","filename":"file5"},{"photo_id":"1397156510","filename":"file2"},{"photo_id":"1397156584","filename":"file4"},{"photo_id":"1397156473","filename":"file1"},{"photo_id":"1397156435","filename":"file0"},{"photo_id":"1397156547","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397156547":["hashtag1","hashtag2"]},{"1397156622":["hashtag1","hashtag2"]},{"1397156510":["hashtag1","hashtag2"]},{"1397156435":["hashtag1","hashtag2"]},{"1397156584":["hashtag1","hashtag2"]},{"1397156473":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397156547, 1397156622, 1397156510, 1397156435, 1397156584, 1397156473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34923267364502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 04:59:03.660658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/54/image_01122025_04_54_34_9677.jpg', '/home/pi/Desktop/images/01122025/04/54/image_01122025_04_54_44_10669.jpg', '/home/pi/Desktop/images/01122025/04/54/image_01122025_04_54_54_9879.jpg', '/home/pi/Desktop/images/01122025/04/54/image_01122025_04_55_04_10010.jpg', '/home/pi/Desktop/images/01122025/04/55/image_01122025_04_55_14_9903.jpg', '/home/pi/Desktop/images/01122025/04/55/image_01122025_04_55_24_9898.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/54/image_01122025_04_54_34_9677.jpg
/home/pi/Desktop/images/01122025/04/54/image_01122025_04_54_44_10669.jpg
/home/pi/Desktop/images/01122025/04/54/image_01122025_04_54_54_9879.jpg
/home/pi/Desktop/images/01122025/04/54/image_01122025_04_55_04_10010.jpg
/home/pi/Desktop/images/01122025/04/55/image_01122025_04_55_14_9903.jpg
/home/pi/Desktop/images/01122025/04/55/image_01122025_04_55_24_9898.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397157327","1397157120","1397157201","1397157314","1397157258","1397157159"],"photo_ids_order":["1397157120","1397157159","1397157201","1397157258","1397157314","1397157327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/43f94b099a72c9abd02b8c809eff3d26.jpg","text":"TemporaryFile(/tmp/multipartBody1681103323643800041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561604581,"filename":"image_01122025_04_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/1/60493261713dc45f743a86fa50b02db9.jpg","text":"TemporaryFile(/tmp/multipartBody3598963084240120768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561604581,"filename":"image_01122025_04_54_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/1/0994bfc12960879413e9949e3c73e67f.jpg","text":"TemporaryFile(/tmp/multipartBody3539714377124075389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561604581,"filename":"image_01122025_04_54_54_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fbf5ae339e421e4276ef48b04b79af8f.jpg","text":"TemporaryFile(/tmp/multipartBody5490071936851374134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561604581,"filename":"image_01122025_04_55_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/1/11ec04efc6fe343f1053f8fcbff6832e.jpg","text":"TemporaryFile(/tmp/multipartBody8456264912675111894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561604581,"filename":"image_01122025_04_55_04_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/1/87b9fc5e457bb6a1830bea7a63188822.jpg","text":"TemporaryFile(/tmp/multipartBody9174975523325243129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561604581,"filename":"image_01122025_04_54_44_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397157201","file1":"1397157159","file0":"1397157120","file4":"1397157314","file5":"1397157327","file3":"1397157258"},"map_files_photo_id_array":[{"photo_id":"1397157327","filename":"file5"},{"photo_id":"1397157201","filename":"file2"},{"photo_id":"1397157314","filename":"file4"},{"photo_id":"1397157159","filename":"file1"},{"photo_id":"1397157120","filename":"file0"},{"photo_id":"1397157258","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397157327":["hashtag1","hashtag2"]},{"1397157120":["hashtag1","hashtag2"]},{"1397157201":["hashtag1","hashtag2"]},{"1397157314":["hashtag1","hashtag2"]},{"1397157258":["hashtag1","hashtag2"]},{"1397157159":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397157327, 1397157120, 1397157201, 1397157314, 1397157258, 1397157159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57703876495361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 04:59:42.741354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/38/image_01112025_00_38_21_3701.jpg', '/home/pi/Desktop/images/01112025/00/38/image_01112025_00_38_24_2641.jpg', '/home/pi/Desktop/images/01112025/00/38/image_01112025_00_38_26_2602.jpg', '/home/pi/Desktop/images/01112025/00/38/image_01112025_00_38_30_3575.jpg', '/home/pi/Desktop/images/01112025/00/38/image_01112025_00_38_39_2618.jpg', '/home/pi/Desktop/images/01112025/00/38/image_01112025_00_38_41_2559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/38/image_01112025_00_38_21_3701.jpg
/home/pi/Desktop/images/01112025/00/38/image_01112025_00_38_24_2641.jpg
/home/pi/Desktop/images/01112025/00/38/image_01112025_00_38_26_2602.jpg
/home/pi/Desktop/images/01112025/00/38/image_01112025_00_38_30_3575.jpg
/home/pi/Desktop/images/01112025/00/38/image_01112025_00_38_39_2618.jpg
/home/pi/Desktop/images/01112025/00/38/image_01112025_00_38_41_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":["1397157437","1397157359","1397157475","1397157490","1397157401","1397157361"],"photo_ids_order":["1397157359","1397157361","1397157401","1397157437","1397157475","1397157490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/503209e2438aefeb9fca0fb2b4992219.jpg","text":"TemporaryFile(/tmp/multipartBody6901278969998951083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561643604,"filename":"image_01112025_00_38_30_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/1/155d40c2aec2d129689f948b9110b602.jpg","text":"TemporaryFile(/tmp/multipartBody7788973673393400125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561643604,"filename":"image_01112025_00_38_21_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/1/90d18f22382704fe2cea81e16e15f6bf.jpg","text":"TemporaryFile(/tmp/multipartBody6189991068578952499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561643604,"filename":"image_01112025_00_38_39_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fd737896b096a9e3ccc2db6a28491cba.jpg","text":"TemporaryFile(/tmp/multipartBody4001401475307341450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561643604,"filename":"image_01112025_00_38_41_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/1/b8b69eaaf986159e4009d2e81b067bd4.jpg","text":"TemporaryFile(/tmp/multipartBody2045787936946813849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561643604,"filename":"image_01112025_00_38_26_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/1/99316058ade43f8fa9557da960f16517.jpg","text":"TemporaryFile(/tmp/multipartBody282061560684563740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561643604,"filename":"image_01112025_00_38_24_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397157401","file1":"1397157361","file0":"1397157359","file4":"1397157475","file5":"1397157490","file3":"1397157437"},"map_files_photo_id_array":[{"photo_id":"1397157490","filename":"file5"},{"photo_id":"1397157401","filename":"file2"},{"photo_id":"1397157475","filename":"file4"},{"photo_id":"1397157361","filename":"file1"},{"photo_id":"1397157359","filename":"file0"},{"photo_id":"1397157437","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397157437":["hashtag1","hashtag2"]},{"1397157359":["hashtag1","hashtag2"]},{"1397157475":["hashtag1","hashtag2"]},{"1397157490":["hashtag1","hashtag2"]},{"1397157401":["hashtag1","hashtag2"]},{"1397157361":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397157437, 1397157359, 1397157475, 1397157490, 1397157401, 1397157361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25472569465637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 05:00:21.886529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/55/image_01122025_04_55_34_9703.jpg', '/home/pi/Desktop/images/01122025/04/55/image_01122025_04_55_44_10686.jpg', '/home/pi/Desktop/images/01122025/04/55/image_01122025_04_55_54_9567.jpg', '/home/pi/Desktop/images/01122025/04/55/image_01122025_04_56_04_9756.jpg', '/home/pi/Desktop/images/01122025/04/56/image_01122025_04_56_14_10784.jpg', '/home/pi/Desktop/images/01122025/04/56/image_01122025_04_56_24_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/55/image_01122025_04_55_34_9703.jpg
/home/pi/Desktop/images/01122025/04/55/image_01122025_04_55_44_10686.jpg
/home/pi/Desktop/images/01122025/04/55/image_01122025_04_55_54_9567.jpg
/home/pi/Desktop/images/01122025/04/55/image_01122025_04_56_04_9756.jpg
/home/pi/Desktop/images/01122025/04/56/image_01122025_04_56_14_10784.jpg
/home/pi/Desktop/images/01122025/04/56/image_01122025_04_56_24_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":["1397157542","1397157539","1397157544","1397157538","1397157541","1397157540"],"photo_ids_order":["1397157538","1397157539","1397157540","1397157541","1397157542","1397157544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/00e85e7b0d0863c0e137b3260b0afd76.jpg","text":"TemporaryFile(/tmp/multipartBody4311713183865394438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561682609,"filename":"image_01122025_04_56_14_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/1/3327ece1204819d11c07fc09ec3a09fa.jpg","text":"TemporaryFile(/tmp/multipartBody8962270916686959777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561682609,"filename":"image_01122025_04_55_44_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f5fc6105c4a7a8302c8b95cd57d36bdd.jpg","text":"TemporaryFile(/tmp/multipartBody7798569322608707553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561682609,"filename":"image_01122025_04_56_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/1/77f1dbcb8c0c789d18e18b3d0508017a.jpg","text":"TemporaryFile(/tmp/multipartBody5235706864335295799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561682609,"filename":"image_01122025_04_55_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/1/7d16f1753c39b49fc64ee999998ccc2e.jpg","text":"TemporaryFile(/tmp/multipartBody6397423084433737557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561682609,"filename":"image_01122025_04_56_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/1/60787ea34192847f3a23752337575233.jpg","text":"TemporaryFile(/tmp/multipartBody5660563564578216135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561682609,"filename":"image_01122025_04_55_54_9567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397157540","file1":"1397157539","file0":"1397157538","file4":"1397157542","file5":"1397157544","file3":"1397157541"},"map_files_photo_id_array":[{"photo_id":"1397157544","filename":"file5"},{"photo_id":"1397157540","filename":"file2"},{"photo_id":"1397157542","filename":"file4"},{"photo_id":"1397157539","filename":"file1"},{"photo_id":"1397157538","filename":"file0"},{"photo_id":"1397157541","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397157542":["hashtag1","hashtag2"]},{"1397157539":["hashtag1","hashtag2"]},{"1397157544":["hashtag1","hashtag2"]},{"1397157538":["hashtag1","hashtag2"]},{"1397157541":["hashtag1","hashtag2"]},{"1397157540":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397157542, 1397157539, 1397157544, 1397157538, 1397157541, 1397157540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29646348953247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:01:02.751593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/56/image_01122025_04_56_34_9511.jpg', '/home/pi/Desktop/images/01122025/04/56/image_01122025_04_56_44_10622.jpg', '/home/pi/Desktop/images/01122025/04/56/image_01122025_04_57_04_9699.jpg', '/home/pi/Desktop/images/01122025/04/57/image_01122025_04_57_14_10769.jpg', '/home/pi/Desktop/images/01122025/04/57/image_01122025_04_57_34_9714.jpg', '/home/pi/Desktop/images/01122025/04/57/image_01122025_04_57_44_9883.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/56/image_01122025_04_56_34_9511.jpg
/home/pi/Desktop/images/01122025/04/56/image_01122025_04_56_44_10622.jpg
/home/pi/Desktop/images/01122025/04/56/image_01122025_04_57_04_9699.jpg
/home/pi/Desktop/images/01122025/04/57/image_01122025_04_57_14_10769.jpg
/home/pi/Desktop/images/01122025/04/57/image_01122025_04_57_34_9714.jpg
/home/pi/Desktop/images/01122025/04/57/image_01122025_04_57_44_9883.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397157551","1397157554","1397157556","1397157550","1397157553","1397157555"],"photo_ids_order":["1397157550","1397157551","1397157553","1397157554","1397157555","1397157556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ce04274c79abb6e898d696304183eddb.jpg","text":"TemporaryFile(/tmp/multipartBody9187402922104874641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561723552,"filename":"image_01122025_04_56_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/1/241317d72cbab38c63adebf5a342186e.jpg","text":"TemporaryFile(/tmp/multipartBody2473324444458549564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561723552,"filename":"image_01122025_04_57_14_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/1/f97f588aff5059dc176dba0823b94521.jpg","text":"TemporaryFile(/tmp/multipartBody2743601066900837361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561723552,"filename":"image_01122025_04_57_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/1/d535d2c4dee43de9c965baf4f897e9f1.jpg","text":"TemporaryFile(/tmp/multipartBody6828954516084590755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561723552,"filename":"image_01122025_04_56_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/1/a2bced6d8d1cea667d5a4c445c438a2e.jpg","text":"TemporaryFile(/tmp/multipartBody344064243445670934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561723552,"filename":"image_01122025_04_57_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/1/2f2dcee45ce751e655fc15162a60446b.jpg","text":"TemporaryFile(/tmp/multipartBody724344742344545580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561723552,"filename":"image_01122025_04_57_34_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397157553","file1":"1397157551","file0":"1397157550","file4":"1397157555","file5":"1397157556","file3":"1397157554"},"map_files_photo_id_array":[{"photo_id":"1397157556","filename":"file5"},{"photo_id":"1397157553","filename":"file2"},{"photo_id":"1397157555","filename":"file4"},{"photo_id":"1397157551","filename":"file1"},{"photo_id":"1397157550","filename":"file0"},{"photo_id":"1397157554","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397157551":["hashtag1","hashtag2"]},{"1397157554":["hashtag1","hashtag2"]},{"1397157556":["hashtag1","hashtag2"]},{"1397157550":["hashtag1","hashtag2"]},{"1397157553":["hashtag1","hashtag2"]},{"1397157555":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397157551, 1397157554, 1397157556, 1397157550, 1397157553, 1397157555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96819710731506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 05:01:42.118039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/38/image_01112025_00_38_45_3689.jpg', '/home/pi/Desktop/images/01112025/00/38/image_01112025_00_38_48_2903.jpg', '/home/pi/Desktop/images/01112025/00/38/image_01112025_00_38_51_3103.jpg', '/home/pi/Desktop/images/01112025/00/38/image_01112025_00_38_53_2603.jpg', '/home/pi/Desktop/images/01112025/00/38/image_01112025_00_39_00_3786.jpg', '/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_02_2285.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/38/image_01112025_00_38_45_3689.jpg
/home/pi/Desktop/images/01112025/00/38/image_01112025_00_38_48_2903.jpg
/home/pi/Desktop/images/01112025/00/38/image_01112025_00_38_51_3103.jpg
/home/pi/Desktop/images/01112025/00/38/image_01112025_00_38_53_2603.jpg
/home/pi/Desktop/images/01112025/00/38/image_01112025_00_39_00_3786.jpg
/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_02_2285.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397157564","1397157566","1397157560","1397157557","1397157562","1397157568"],"photo_ids_order":["1397157557","1397157560","1397157562","1397157564","1397157566","1397157568"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ebe626d1fc828e2bd74ba47f5039709b.jpg","text":"TemporaryFile(/tmp/multipartBody537788476894860297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561763053,"filename":"image_01112025_00_38_53_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/27b4a0abc18c195942920a695ece28ab.jpg","text":"TemporaryFile(/tmp/multipartBody1547054278070547580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561763053,"filename":"image_01112025_00_39_00_3786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2abbb9983b6af8333972a9a088eb4770.jpg","text":"TemporaryFile(/tmp/multipartBody8431599116921998335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561763053,"filename":"image_01112025_00_38_48_2903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/edc376ddc62e33c748340fe5cd92c0dd.jpg","text":"TemporaryFile(/tmp/multipartBody8543783648802643725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561763053,"filename":"image_01112025_00_38_45_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/1/2cf87b9d1a82b547f82a1207167d71c1.jpg","text":"TemporaryFile(/tmp/multipartBody3173694216821090346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561763053,"filename":"image_01112025_00_38_51_3103.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d53aaf430a19b5138094613b671c0a22.jpg","text":"TemporaryFile(/tmp/multipartBody4254090249283666004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561763053,"filename":"image_01112025_00_39_02_2285.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397157562","file1":"1397157560","file0":"1397157557","file4":"1397157566","file5":"1397157568","file3":"1397157564"},"map_files_photo_id_array":[{"photo_id":"1397157568","filename":"file5"},{"photo_id":"1397157562","filename":"file2"},{"photo_id":"1397157566","filename":"file4"},{"photo_id":"1397157560","filename":"file1"},{"photo_id":"1397157557","filename":"file0"},{"photo_id":"1397157564","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397157564":["hashtag1","hashtag2"]},{"1397157566":["hashtag1","hashtag2"]},{"1397157560":["hashtag1","hashtag2"]},{"1397157557":["hashtag1","hashtag2"]},{"1397157562":["hashtag1","hashtag2"]},{"1397157568":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397157564, 1397157566, 1397157560, 1397157557, 1397157562, 1397157568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05488109588623 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 05:02:22.301753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/04/58/image_01122025_04_58_23_9637.jpg', '/home/pi/Desktop/images/01122025/04/58/image_01122025_04_58_44_9698.jpg', '/home/pi/Desktop/images/01122025/04/58/image_01122025_04_58_54_10591.jpg', '/home/pi/Desktop/images/01122025/04/59/image_01122025_04_59_14_9671.jpg', '/home/pi/Desktop/images/01122025/04/59/image_01122025_05_00_04_10693.jpg', '/home/pi/Desktop/images/01122025/05/00/image_01122025_05_00_14_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/04/58/image_01122025_04_58_23_9637.jpg
/home/pi/Desktop/images/01122025/04/58/image_01122025_04_58_44_9698.jpg
/home/pi/Desktop/images/01122025/04/58/image_01122025_04_58_54_10591.jpg
/home/pi/Desktop/images/01122025/04/59/image_01122025_04_59_14_9671.jpg
/home/pi/Desktop/images/01122025/04/59/image_01122025_05_00_04_10693.jpg
/home/pi/Desktop/images/01122025/05/00/image_01122025_05_00_14_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":["1397157572","1397157575","1397157569","1397157571","1397157570","1397157573"],"photo_ids_order":["1397157569","1397157570","1397157571","1397157572","1397157573","1397157575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/17672cd0282ae2bff5ce5b0b0fbbaaad.jpg","text":"TemporaryFile(/tmp/multipartBody4546497793170233638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561803022,"filename":"image_01122025_04_59_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0ded27e0662dc3d3721f207332c0a198.jpg","text":"TemporaryFile(/tmp/multipartBody2747411631916616308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561803022,"filename":"image_01122025_05_00_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/1/f627d16e7cf1436436e6d76357f8f0cf.jpg","text":"TemporaryFile(/tmp/multipartBody5739572759570496320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561803022,"filename":"image_01122025_04_58_23_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/09f3c3abc71f8f2de979150e516fa1bc.jpg","text":"TemporaryFile(/tmp/multipartBody1468279745127522044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561803022,"filename":"image_01122025_04_58_54_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1749215b869402365a19fe8f4b438c23.jpg","text":"TemporaryFile(/tmp/multipartBody2282480525427304858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561803022,"filename":"image_01122025_04_58_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/1/8c87a3dbd089501d9723973dbf71ab2f.jpg","text":"TemporaryFile(/tmp/multipartBody3241554825788135472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561803022,"filename":"image_01122025_05_00_04_10693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397157571","file1":"1397157570","file0":"1397157569","file4":"1397157573","file5":"1397157575","file3":"1397157572"},"map_files_photo_id_array":[{"photo_id":"1397157575","filename":"file5"},{"photo_id":"1397157571","filename":"file2"},{"photo_id":"1397157573","filename":"file4"},{"photo_id":"1397157570","filename":"file1"},{"photo_id":"1397157569","filename":"file0"},{"photo_id":"1397157572","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397157572":["hashtag1","hashtag2"]},{"1397157575":["hashtag1","hashtag2"]},{"1397157569":["hashtag1","hashtag2"]},{"1397157571":["hashtag1","hashtag2"]},{"1397157570":["hashtag1","hashtag2"]},{"1397157573":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397157572, 1397157575, 1397157569, 1397157571, 1397157570, 1397157573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.862645626068115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:03:03.168399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/00/image_01122025_05_00_24_9706.jpg', '/home/pi/Desktop/images/01122025/05/00/image_01122025_05_00_33_9732.jpg', '/home/pi/Desktop/images/01122025/05/00/image_01122025_05_00_44_10840.jpg', '/home/pi/Desktop/images/01122025/05/00/image_01122025_05_01_04_9802.jpg', '/home/pi/Desktop/images/01122025/05/01/image_01122025_05_01_13_9725.jpg', '/home/pi/Desktop/images/01122025/05/01/image_01122025_05_01_24_10780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/00/image_01122025_05_00_24_9706.jpg
/home/pi/Desktop/images/01122025/05/00/image_01122025_05_00_33_9732.jpg
/home/pi/Desktop/images/01122025/05/00/image_01122025_05_00_44_10840.jpg
/home/pi/Desktop/images/01122025/05/00/image_01122025_05_01_04_9802.jpg
/home/pi/Desktop/images/01122025/05/01/image_01122025_05_01_13_9725.jpg
/home/pi/Desktop/images/01122025/05/01/image_01122025_05_01_24_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":["1397157600","1397157599","1397157602","1397157598","1397157597","1397157601"],"photo_ids_order":["1397157597","1397157598","1397157599","1397157600","1397157601","1397157602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dd1209be2429f41accf59c68321df61d.jpg","text":"TemporaryFile(/tmp/multipartBody6212302554223005525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561844020,"filename":"image_01122025_05_01_04_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4c3255b39e28f9a2d30ba9a00b912c77.jpg","text":"TemporaryFile(/tmp/multipartBody5673990962723837704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561844020,"filename":"image_01122025_05_00_44_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/1/a0fdb9ccb10d919b033fcc412334dfb5.jpg","text":"TemporaryFile(/tmp/multipartBody8196291353180387809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561844020,"filename":"image_01122025_05_01_24_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/1/2e84a88d4d338f17afb205752d6088a8.jpg","text":"TemporaryFile(/tmp/multipartBody5975394646757800347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561844020,"filename":"image_01122025_05_00_33_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/85c130e3e6de6860ba9dc59d5e3f83e0.jpg","text":"TemporaryFile(/tmp/multipartBody8910907359469291100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561844020,"filename":"image_01122025_05_00_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/1/ae71a0a2d603fbd1203ee6ae92c7e0bb.jpg","text":"TemporaryFile(/tmp/multipartBody4463579376622732372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561844020,"filename":"image_01122025_05_01_13_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397157599","file1":"1397157598","file0":"1397157597","file4":"1397157601","file5":"1397157602","file3":"1397157600"},"map_files_photo_id_array":[{"photo_id":"1397157602","filename":"file5"},{"photo_id":"1397157599","filename":"file2"},{"photo_id":"1397157601","filename":"file4"},{"photo_id":"1397157598","filename":"file1"},{"photo_id":"1397157597","filename":"file0"},{"photo_id":"1397157600","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397157600":["hashtag1","hashtag2"]},{"1397157599":["hashtag1","hashtag2"]},{"1397157602":["hashtag1","hashtag2"]},{"1397157598":["hashtag1","hashtag2"]},{"1397157597":["hashtag1","hashtag2"]},{"1397157601":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397157600, 1397157599, 1397157602, 1397157598, 1397157597, 1397157601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.415483236312866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 05:03:42.587755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_05_3035.jpg', '/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_09_3660.jpg', '/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_12_2710.jpg', '/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_14_2761.jpg', '/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_17_2680.jpg', '/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_21_3708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_05_3035.jpg
/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_09_3660.jpg
/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_12_2710.jpg
/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_14_2761.jpg
/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_17_2680.jpg
/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_21_3708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397157612","1397157606","1397157614","1397157608","1397157610","1397157604"],"photo_ids_order":["1397157604","1397157606","1397157608","1397157610","1397157612","1397157614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8cc663bff98b70af44e940a9239e994b.jpg","text":"TemporaryFile(/tmp/multipartBody135464347362797916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561883449,"filename":"image_01112025_00_39_17_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2d6cf064398d1ab6f9733542872964a1.jpg","text":"TemporaryFile(/tmp/multipartBody7238741745107460234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561883449,"filename":"image_01112025_00_39_09_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7aa74cab2a439e66e234654eb5ba5e21.jpg","text":"TemporaryFile(/tmp/multipartBody7751612288518937602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561883449,"filename":"image_01112025_00_39_21_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/de006911eb4ad848796d724c386a1a10.jpg","text":"TemporaryFile(/tmp/multipartBody7775803636650382787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561883449,"filename":"image_01112025_00_39_12_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/1/4ab70b6c4924cb1626bba8532455fd35.jpg","text":"TemporaryFile(/tmp/multipartBody4705225037146612478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561883449,"filename":"image_01112025_00_39_14_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a2c6934e4b84739ba44500dea49199e6.jpg","text":"TemporaryFile(/tmp/multipartBody7259205851135204597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561883449,"filename":"image_01112025_00_39_05_3035.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397157608","file1":"1397157606","file0":"1397157604","file4":"1397157612","file5":"1397157614","file3":"1397157610"},"map_files_photo_id_array":[{"photo_id":"1397157614","filename":"file5"},{"photo_id":"1397157608","filename":"file2"},{"photo_id":"1397157612","filename":"file4"},{"photo_id":"1397157606","filename":"file1"},{"photo_id":"1397157604","filename":"file0"},{"photo_id":"1397157610","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397157612":["hashtag1","hashtag2"]},{"1397157606":["hashtag1","hashtag2"]},{"1397157614":["hashtag1","hashtag2"]},{"1397157608":["hashtag1","hashtag2"]},{"1397157610":["hashtag1","hashtag2"]},{"1397157604":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397157612, 1397157606, 1397157614, 1397157608, 1397157610, 1397157604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49668049812317 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 05:04:22.844816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/01/image_01122025_05_01_44_9863.jpg', '/home/pi/Desktop/images/01122025/05/01/image_01122025_05_01_53_9794.jpg', '/home/pi/Desktop/images/01122025/05/01/image_01122025_05_02_04_10811.jpg', '/home/pi/Desktop/images/01122025/05/02/image_01122025_05_02_14_9792.jpg', '/home/pi/Desktop/images/01122025/05/02/image_01122025_05_02_24_9759.jpg', '/home/pi/Desktop/images/01122025/05/02/image_01122025_05_02_44_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/01/image_01122025_05_01_44_9863.jpg
/home/pi/Desktop/images/01122025/05/01/image_01122025_05_01_53_9794.jpg
/home/pi/Desktop/images/01122025/05/01/image_01122025_05_02_04_10811.jpg
/home/pi/Desktop/images/01122025/05/02/image_01122025_05_02_14_9792.jpg
/home/pi/Desktop/images/01122025/05/02/image_01122025_05_02_24_9759.jpg
/home/pi/Desktop/images/01122025/05/02/image_01122025_05_02_44_10656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397157621","1397157620","1397157623","1397157625","1397157619","1397157622"],"photo_ids_order":["1397157619","1397157620","1397157621","1397157622","1397157623","1397157625"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6f96fb2f3b6cad6890bb1a1ffbf6de27.jpg","text":"TemporaryFile(/tmp/multipartBody4134602607458696860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561923574,"filename":"image_01122025_05_02_04_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/1/89d2ea1c5dd34e1e315767a02f3037e8.jpg","text":"TemporaryFile(/tmp/multipartBody8804275450008126477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561923574,"filename":"image_01122025_05_01_53_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/1/2a0bb73741186613ed5f8622b464708d.jpg","text":"TemporaryFile(/tmp/multipartBody1052254694540425123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561923574,"filename":"image_01122025_05_02_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/1/2bbe4a27f04f31ceafff40bd64cea3ef.jpg","text":"TemporaryFile(/tmp/multipartBody1007163101829323367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561923574,"filename":"image_01122025_05_02_44_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/70df430c30aeaae64d3797dbfaa2eaac.jpg","text":"TemporaryFile(/tmp/multipartBody4772814404364021369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561923574,"filename":"image_01122025_05_01_44_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/38127b754d65f996712039a6e542e304.jpg","text":"TemporaryFile(/tmp/multipartBody8609484795868296908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561923574,"filename":"image_01122025_05_02_14_9792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397157621","file1":"1397157620","file0":"1397157619","file4":"1397157623","file5":"1397157625","file3":"1397157622"},"map_files_photo_id_array":[{"photo_id":"1397157625","filename":"file5"},{"photo_id":"1397157621","filename":"file2"},{"photo_id":"1397157623","filename":"file4"},{"photo_id":"1397157620","filename":"file1"},{"photo_id":"1397157619","filename":"file0"},{"photo_id":"1397157622","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397157621":["hashtag1","hashtag2"]},{"1397157620":["hashtag1","hashtag2"]},{"1397157623":["hashtag1","hashtag2"]},{"1397157625":["hashtag1","hashtag2"]},{"1397157619":["hashtag1","hashtag2"]},{"1397157622":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397157621, 1397157620, 1397157623, 1397157625, 1397157619, 1397157622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16117286682129 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:05:02.611042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/02/image_01122025_05_02_54_9750.jpg', '/home/pi/Desktop/images/01122025/05/03/image_01122025_05_03_34_9719.jpg', '/home/pi/Desktop/images/01122025/05/03/image_01122025_05_03_43_9662.jpg', '/home/pi/Desktop/images/01122025/05/04/image_01122025_05_04_14_9859.jpg', '/home/pi/Desktop/images/01122025/05/04/image_01122025_05_04_34_9802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/02/image_01122025_05_02_54_9750.jpg
/home/pi/Desktop/images/01122025/05/03/image_01122025_05_03_34_9719.jpg
/home/pi/Desktop/images/01122025/05/03/image_01122025_05_03_43_9662.jpg
/home/pi/Desktop/images/01122025/05/04/image_01122025_05_04_14_9859.jpg
/home/pi/Desktop/images/01122025/05/04/image_01122025_05_04_34_9802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397157630","1397157632","1397157635","1397157634","1397157633"],"photo_ids_order":["1397157630","1397157632","1397157633","1397157634","1397157635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/19b234a2623337de71178f1ee728d0bb.jpg","text":"TemporaryFile(/tmp/multipartBody5408843077200758228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561963383,"filename":"image_01122025_05_02_54_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9d069e3126910bcefe73c310e84f08c1.jpg","text":"TemporaryFile(/tmp/multipartBody5752618576934832591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561963383,"filename":"image_01122025_05_03_34_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8d7a8c0b78697118aeb656190ad75077.jpg","text":"TemporaryFile(/tmp/multipartBody3757533363770965680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561963383,"filename":"image_01122025_05_04_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/1/d57281c45a625a06b374c2fd6bc73d08.jpg","text":"TemporaryFile(/tmp/multipartBody3809442403985015629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561963383,"filename":"image_01122025_05_04_14_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2b80559a3e66ab9ff5c76ad27415f50f.jpg","text":"TemporaryFile(/tmp/multipartBody1656520645052907086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764561963383,"filename":"image_01122025_05_03_43_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397157633","file1":"1397157632","file0":"1397157630","file4":"1397157635","file3":"1397157634"},"map_files_photo_id_array":[{"photo_id":"1397157633","filename":"file2"},{"photo_id":"1397157635","filename":"file4"},{"photo_id":"1397157632","filename":"file1"},{"photo_id":"1397157630","filename":"file0"},{"photo_id":"1397157634","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397157630":["hashtag1","hashtag2"]},{"1397157632":["hashtag1","hashtag2"]},{"1397157635":["hashtag1","hashtag2"]},{"1397157634":["hashtag1","hashtag2"]},{"1397157633":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397157630, 1397157632, 1397157635, 1397157634, 1397157633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.27199625968933 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 05:05:41.920946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_24_2724.jpg', '/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_30_3601.jpg', '/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_33_2647.jpg', '/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_36_3070.jpg', '/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_39_2993.jpg', '/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_41_2517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_24_2724.jpg
/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_30_3601.jpg
/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_33_2647.jpg
/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_36_3070.jpg
/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_39_2993.jpg
/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_41_2517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397157636","1397157639","1397157662","1397157668","1397157664","1397157666"],"photo_ids_order":["1397157636","1397157639","1397157662","1397157664","1397157666","1397157668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d3937372a57ed8ced802e9eee07dcb35.jpg","text":"TemporaryFile(/tmp/multipartBody5286867446851005167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562002770,"filename":"image_01112025_00_39_24_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4ebe72a21fb23fa61e87481ba08f4355.jpg","text":"TemporaryFile(/tmp/multipartBody2356315743084675573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562002770,"filename":"image_01112025_00_39_30_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/1/14bd4d3fae9266c59727aaf63d20eb72.jpg","text":"TemporaryFile(/tmp/multipartBody1306993663475274723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562002770,"filename":"image_01112025_00_39_33_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/1/02e86855d610179aee53d3960d2c9113.jpg","text":"TemporaryFile(/tmp/multipartBody3777043406920621077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562002770,"filename":"image_01112025_00_39_41_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a2baa98a69634383e15fff25f409772c.jpg","text":"TemporaryFile(/tmp/multipartBody1077000821664889125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562002770,"filename":"image_01112025_00_39_36_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/1/02f3624f15f0d58cc7030191180c00fc.jpg","text":"TemporaryFile(/tmp/multipartBody1765502270243651762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562002770,"filename":"image_01112025_00_39_39_2993.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397157662","file1":"1397157639","file0":"1397157636","file4":"1397157666","file5":"1397157668","file3":"1397157664"},"map_files_photo_id_array":[{"photo_id":"1397157668","filename":"file5"},{"photo_id":"1397157662","filename":"file2"},{"photo_id":"1397157666","filename":"file4"},{"photo_id":"1397157639","filename":"file1"},{"photo_id":"1397157636","filename":"file0"},{"photo_id":"1397157664","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397157636":["hashtag1","hashtag2"]},{"1397157639":["hashtag1","hashtag2"]},{"1397157662":["hashtag1","hashtag2"]},{"1397157668":["hashtag1","hashtag2"]},{"1397157664":["hashtag1","hashtag2"]},{"1397157666":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397157636, 1397157639, 1397157662, 1397157668, 1397157664, 1397157666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.928733110427856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 05:06:22.070570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/04/image_01122025_05_04_54_10612.jpg', '/home/pi/Desktop/images/01122025/05/04/image_01122025_05_05_04_9818.jpg', '/home/pi/Desktop/images/01122025/05/05/image_01122025_05_05_24_10567.jpg', '/home/pi/Desktop/images/01122025/05/05/image_01122025_05_05_34_9630.jpg', '/home/pi/Desktop/images/01122025/05/05/image_01122025_05_05_43_9651.jpg', '/home/pi/Desktop/images/01122025/05/05/image_01122025_05_05_54_10503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/04/image_01122025_05_04_54_10612.jpg
/home/pi/Desktop/images/01122025/05/04/image_01122025_05_05_04_9818.jpg
/home/pi/Desktop/images/01122025/05/05/image_01122025_05_05_24_10567.jpg
/home/pi/Desktop/images/01122025/05/05/image_01122025_05_05_34_9630.jpg
/home/pi/Desktop/images/01122025/05/05/image_01122025_05_05_43_9651.jpg
/home/pi/Desktop/images/01122025/05/05/image_01122025_05_05_54_10503.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6294991970062256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 05:06:32.147321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_30_3661.jpg', '/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_33_2595.jpg', '/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_36_3581.jpg', '/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_39_2600.jpg', '/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_42_3226.jpg', '/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_48_5960.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_30_3661.jpg
/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_33_2595.jpg
/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_36_3581.jpg
/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_39_2600.jpg
/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_42_3226.jpg
/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_48_5960.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397157680","1397157674","1397157682","1397157676","1397157684","1397157678"],"photo_ids_order":["1397157674","1397157676","1397157678","1397157680","1397157682","1397157684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dd8ec1429c8af9ad2d8f91bf23150cf5.jpg","text":"TemporaryFile(/tmp/multipartBody6489026090349057139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562053899,"filename":"image_25112025_21_43_39_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/1/8411c7f1431119e353fc43c73ad924a5.jpg","text":"TemporaryFile(/tmp/multipartBody4423266478078034247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562053899,"filename":"image_25112025_21_43_30_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/1/333bb6256db6508c80576a1c7ce076f8.jpg","text":"TemporaryFile(/tmp/multipartBody266529904665572015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562053899,"filename":"image_25112025_21_43_42_3226.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/82a6932ec682f3ad12fce886d9a0ef35.jpg","text":"TemporaryFile(/tmp/multipartBody5901896053192191822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562053899,"filename":"image_25112025_21_43_33_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8e76c835b30010697d7359bf88358a1f.jpg","text":"TemporaryFile(/tmp/multipartBody2746538821387561164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562053899,"filename":"image_25112025_21_43_48_5960.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8df828c05b9a1af82ac330788022cbb5.jpg","text":"TemporaryFile(/tmp/multipartBody212456170074927710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562053899,"filename":"image_25112025_21_43_36_3581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397157678","file1":"1397157676","file0":"1397157674","file4":"1397157682","file5":"1397157684","file3":"1397157680"},"map_files_photo_id_array":[{"photo_id":"1397157684","filename":"file5"},{"photo_id":"1397157678","filename":"file2"},{"photo_id":"1397157682","filename":"file4"},{"photo_id":"1397157676","filename":"file1"},{"photo_id":"1397157674","filename":"file0"},{"photo_id":"1397157680","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397157680":["hashtag1","hashtag2"]},{"1397157674":["hashtag1","hashtag2"]},{"1397157682":["hashtag1","hashtag2"]},{"1397157676":["hashtag1","hashtag2"]},{"1397157684":["hashtag1","hashtag2"]},{"1397157678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397157680, 1397157674, 1397157682, 1397157676, 1397157684, 1397157678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15640306472778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 05:07:12.225680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_51_3397.jpg', '/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_53_1604.jpg', '/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_01_7768.jpg', '/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_07_5866.jpg', '/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_08_1542.jpg', '/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_10_1751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_51_3397.jpg
/home/pi/Desktop/images/25112025/21/43/image_25112025_21_43_53_1604.jpg
/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_01_7768.jpg
/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_07_5866.jpg
/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_08_1542.jpg
/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_10_1751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397157695","1397157692","1397157694","1397157697","1397157696","1397157690"],"photo_ids_order":["1397157690","1397157692","1397157694","1397157695","1397157696","1397157697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1bcaffc0facbc4de5bb032924bf7364b.jpg","text":"TemporaryFile(/tmp/multipartBody3112038266875594568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562093877,"filename":"image_25112025_21_44_07_5866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/752f4d3ef40f21aebb37d1690a131afd.jpg","text":"TemporaryFile(/tmp/multipartBody4370940851607375388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562093877,"filename":"image_25112025_21_43_53_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/1/c24c7f5ead2cc630daa2d42883385e69.jpg","text":"TemporaryFile(/tmp/multipartBody7070072028300154656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562093877,"filename":"image_25112025_21_44_01_7768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/80a8ca4a71de7467f37480bb5e0777ee.jpg","text":"TemporaryFile(/tmp/multipartBody6479428869016839534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562093877,"filename":"image_25112025_21_44_10_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/1/f7757cde7d8dc0a8bf3537248b792189.jpg","text":"TemporaryFile(/tmp/multipartBody4590210584256784561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562093877,"filename":"image_25112025_21_44_08_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/1/79c475b87b031898ee5258a1e69fe5c4.jpg","text":"TemporaryFile(/tmp/multipartBody7455171612855170616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562093877,"filename":"image_25112025_21_43_51_3397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397157694","file1":"1397157692","file0":"1397157690","file4":"1397157696","file5":"1397157697","file3":"1397157695"},"map_files_photo_id_array":[{"photo_id":"1397157697","filename":"file5"},{"photo_id":"1397157694","filename":"file2"},{"photo_id":"1397157696","filename":"file4"},{"photo_id":"1397157692","filename":"file1"},{"photo_id":"1397157690","filename":"file0"},{"photo_id":"1397157695","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397157695":["hashtag1","hashtag2"]},{"1397157692":["hashtag1","hashtag2"]},{"1397157694":["hashtag1","hashtag2"]},{"1397157697":["hashtag1","hashtag2"]},{"1397157696":["hashtag1","hashtag2"]},{"1397157690":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397157695, 1397157692, 1397157694, 1397157697, 1397157696, 1397157690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29341149330139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:08:02.893763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/04/image_01122025_05_04_54_10612.jpg', '/home/pi/Desktop/images/01122025/05/04/image_01122025_05_05_04_9818.jpg', '/home/pi/Desktop/images/01122025/05/05/image_01122025_05_05_24_10567.jpg', '/home/pi/Desktop/images/01122025/05/05/image_01122025_05_05_34_9630.jpg', '/home/pi/Desktop/images/01122025/05/05/image_01122025_05_05_43_9651.jpg', '/home/pi/Desktop/images/01122025/05/05/image_01122025_05_05_54_10503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/04/image_01122025_05_04_54_10612.jpg
/home/pi/Desktop/images/01122025/05/04/image_01122025_05_05_04_9818.jpg
/home/pi/Desktop/images/01122025/05/05/image_01122025_05_05_24_10567.jpg
/home/pi/Desktop/images/01122025/05/05/image_01122025_05_05_34_9630.jpg
/home/pi/Desktop/images/01122025/05/05/image_01122025_05_05_43_9651.jpg
/home/pi/Desktop/images/01122025/05/05/image_01122025_05_05_54_10503.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397157714","1397157708","1397157710","1397157704","1397157712","1397157706"],"photo_ids_order":["1397157704","1397157706","1397157708","1397157710","1397157712","1397157714"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dcba66fd355433bae6b759e5140ca864.jpg","text":"TemporaryFile(/tmp/multipartBody3391099607370512696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562146223,"filename":"image_01122025_05_05_54_10503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/73ca4e2244ac83e30fccd8d0b54927df.jpg","text":"TemporaryFile(/tmp/multipartBody8682825524453760376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562146223,"filename":"image_01122025_05_05_24_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a9e4b3da7ca2f3e488f8d3f9cecd969d.jpg","text":"TemporaryFile(/tmp/multipartBody7779472812700722229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562146223,"filename":"image_01122025_05_05_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/1/0e194cc5e62c3399a72eef4777fc9590.jpg","text":"TemporaryFile(/tmp/multipartBody6825800313361784301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562146223,"filename":"image_01122025_05_04_54_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e159861109fc5cfb0d26cf2471852411.jpg","text":"TemporaryFile(/tmp/multipartBody5492628909717598428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562146223,"filename":"image_01122025_05_05_43_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/1/a5fff62c11f139456f4ba5ae81e79777.jpg","text":"TemporaryFile(/tmp/multipartBody4802063425971863854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562146223,"filename":"image_01122025_05_05_04_9818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397157708","file1":"1397157706","file0":"1397157704","file4":"1397157712","file5":"1397157714","file3":"1397157710"},"map_files_photo_id_array":[{"photo_id":"1397157714","filename":"file5"},{"photo_id":"1397157708","filename":"file2"},{"photo_id":"1397157712","filename":"file4"},{"photo_id":"1397157706","filename":"file1"},{"photo_id":"1397157704","filename":"file0"},{"photo_id":"1397157710","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397157714":["hashtag1","hashtag2"]},{"1397157708":["hashtag1","hashtag2"]},{"1397157710":["hashtag1","hashtag2"]},{"1397157704":["hashtag1","hashtag2"]},{"1397157712":["hashtag1","hashtag2"]},{"1397157706":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397157714, 1397157708, 1397157710, 1397157704, 1397157712, 1397157706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.434457778930664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 05:08:42.542613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_45_3572.jpg', '/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_47_2651.jpg', '/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_54_3664.jpg', '/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_56_2620.jpg', '/home/pi/Desktop/images/01112025/00/39/image_01112025_00_40_00_3633.jpg', '/home/pi/Desktop/images/01112025/00/40/image_01112025_00_40_05_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_45_3572.jpg
/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_47_2651.jpg
/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_54_3664.jpg
/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_56_2620.jpg
/home/pi/Desktop/images/01112025/00/39/image_01112025_00_40_00_3633.jpg
/home/pi/Desktop/images/01112025/00/40/image_01112025_00_40_05_2716.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.783423900604248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:09:03.740893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/05/image_01122025_05_06_04_9831.jpg', '/home/pi/Desktop/images/01122025/05/06/image_01122025_05_06_14_9728.jpg', '/home/pi/Desktop/images/01122025/05/06/image_01122025_05_06_24_10679.jpg', '/home/pi/Desktop/images/01122025/05/06/image_01122025_05_06_34_9734.jpg', '/home/pi/Desktop/images/01122025/05/06/image_01122025_05_06_44_9721.jpg', '/home/pi/Desktop/images/01122025/05/06/image_01122025_05_06_54_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/05/image_01122025_05_06_04_9831.jpg
/home/pi/Desktop/images/01122025/05/06/image_01122025_05_06_14_9728.jpg
/home/pi/Desktop/images/01122025/05/06/image_01122025_05_06_24_10679.jpg
/home/pi/Desktop/images/01122025/05/06/image_01122025_05_06_34_9734.jpg
/home/pi/Desktop/images/01122025/05/06/image_01122025_05_06_44_9721.jpg
/home/pi/Desktop/images/01122025/05/06/image_01122025_05_06_54_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397157744","1397157738","1397157746","1397157740","1397157742","1397157745"],"photo_ids_order":["1397157738","1397157740","1397157742","1397157744","1397157745","1397157746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5bc3cd19725c7be5943a6b846ca4b0a3.jpg","text":"TemporaryFile(/tmp/multipartBody6726344987695376573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562204608,"filename":"image_01122025_05_06_34_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8cf3411eb9a09c3e318def2a0f601abe.jpg","text":"TemporaryFile(/tmp/multipartBody246831639346939647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562204608,"filename":"image_01122025_05_06_04_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/725d7bfe737334766805dacaa8deaf40.jpg","text":"TemporaryFile(/tmp/multipartBody3862025545292607924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562204608,"filename":"image_01122025_05_06_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/1/910d83dce8e66bc3d17a421f542f99d1.jpg","text":"TemporaryFile(/tmp/multipartBody3371099394970588361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562204608,"filename":"image_01122025_05_06_14_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/34bf057a8be43d1d6330e1eff55746a2.jpg","text":"TemporaryFile(/tmp/multipartBody798814263150000972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562204608,"filename":"image_01122025_05_06_24_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/1/5b9871e325f450909f219dfc9ca46b9f.jpg","text":"TemporaryFile(/tmp/multipartBody932824983215459801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562204608,"filename":"image_01122025_05_06_44_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397157742","file1":"1397157740","file0":"1397157738","file4":"1397157745","file5":"1397157746","file3":"1397157744"},"map_files_photo_id_array":[{"photo_id":"1397157746","filename":"file5"},{"photo_id":"1397157742","filename":"file2"},{"photo_id":"1397157745","filename":"file4"},{"photo_id":"1397157740","filename":"file1"},{"photo_id":"1397157738","filename":"file0"},{"photo_id":"1397157744","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397157744":["hashtag1","hashtag2"]},{"1397157738":["hashtag1","hashtag2"]},{"1397157746":["hashtag1","hashtag2"]},{"1397157740":["hashtag1","hashtag2"]},{"1397157742":["hashtag1","hashtag2"]},{"1397157745":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397157744, 1397157738, 1397157746, 1397157740, 1397157742, 1397157745)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.22632598876953 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:10:03.335435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/06/image_01122025_05_07_04_9705.jpg', '/home/pi/Desktop/images/01122025/05/07/image_01122025_05_07_14_9802.jpg', '/home/pi/Desktop/images/01122025/05/07/image_01122025_05_07_24_10582.jpg', '/home/pi/Desktop/images/01122025/05/07/image_01122025_05_07_34_9615.jpg', '/home/pi/Desktop/images/01122025/05/07/image_01122025_05_07_44_9737.jpg', '/home/pi/Desktop/images/01122025/05/07/image_01122025_05_08_04_10575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/06/image_01122025_05_07_04_9705.jpg
/home/pi/Desktop/images/01122025/05/07/image_01122025_05_07_14_9802.jpg
/home/pi/Desktop/images/01122025/05/07/image_01122025_05_07_24_10582.jpg
/home/pi/Desktop/images/01122025/05/07/image_01122025_05_07_34_9615.jpg
/home/pi/Desktop/images/01122025/05/07/image_01122025_05_07_44_9737.jpg
/home/pi/Desktop/images/01122025/05/07/image_01122025_05_08_04_10575.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6146321296691895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 05:10:12.782843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_11_1645.jpg', '/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_15_3843.jpg', '/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_18_2966.jpg', '/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_20_1594.jpg', '/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_22_1648.jpg', '/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_23_1719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_11_1645.jpg
/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_15_3843.jpg
/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_18_2966.jpg
/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_20_1594.jpg
/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_22_1648.jpg
/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_23_1719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397157770","1397157766","1397157769","1397157760","1397157763","1397157757"],"photo_ids_order":["1397157757","1397157760","1397157763","1397157766","1397157769","1397157770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/02e3cf97703c5031f81d489c1374a87c.jpg","text":"TemporaryFile(/tmp/multipartBody5735394602526271243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562274280,"filename":"image_25112025_21_44_23_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/1/8c08de01567115fd86f552b1291c2117.jpg","text":"TemporaryFile(/tmp/multipartBody5911350050281964919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562274280,"filename":"image_25112025_21_44_20_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/1/5aa95eabc6bae4c8fc988e27567834ac.jpg","text":"TemporaryFile(/tmp/multipartBody1410139548694456201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562274280,"filename":"image_25112025_21_44_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/1/2f78a5e70310b0a55f936c014ad9ef89.jpg","text":"TemporaryFile(/tmp/multipartBody4380884226484109505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562274280,"filename":"image_25112025_21_44_15_3843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bee256b8b7babfcd009481a1d2bd87ec.jpg","text":"TemporaryFile(/tmp/multipartBody968802148430964035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562274280,"filename":"image_25112025_21_44_18_2966.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a9fcf76ad55646e93ebcef039604e954.jpg","text":"TemporaryFile(/tmp/multipartBody7634100490206599675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562274280,"filename":"image_25112025_21_44_11_1645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397157763","file1":"1397157760","file0":"1397157757","file4":"1397157769","file5":"1397157770","file3":"1397157766"},"map_files_photo_id_array":[{"photo_id":"1397157770","filename":"file5"},{"photo_id":"1397157763","filename":"file2"},{"photo_id":"1397157769","filename":"file4"},{"photo_id":"1397157760","filename":"file1"},{"photo_id":"1397157757","filename":"file0"},{"photo_id":"1397157766","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397157770":["hashtag1","hashtag2"]},{"1397157766":["hashtag1","hashtag2"]},{"1397157769":["hashtag1","hashtag2"]},{"1397157760":["hashtag1","hashtag2"]},{"1397157763":["hashtag1","hashtag2"]},{"1397157757":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397157770, 1397157766, 1397157769, 1397157760, 1397157763, 1397157757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.686498165130615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:11:05.802541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/06/image_01122025_05_07_04_9705.jpg', '/home/pi/Desktop/images/01122025/05/07/image_01122025_05_07_14_9802.jpg', '/home/pi/Desktop/images/01122025/05/07/image_01122025_05_07_24_10582.jpg', '/home/pi/Desktop/images/01122025/05/07/image_01122025_05_07_34_9615.jpg', '/home/pi/Desktop/images/01122025/05/07/image_01122025_05_07_44_9737.jpg', '/home/pi/Desktop/images/01122025/05/07/image_01122025_05_08_04_10575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/06/image_01122025_05_07_04_9705.jpg
/home/pi/Desktop/images/01122025/05/07/image_01122025_05_07_14_9802.jpg
/home/pi/Desktop/images/01122025/05/07/image_01122025_05_07_24_10582.jpg
/home/pi/Desktop/images/01122025/05/07/image_01122025_05_07_34_9615.jpg
/home/pi/Desktop/images/01122025/05/07/image_01122025_05_07_44_9737.jpg
/home/pi/Desktop/images/01122025/05/07/image_01122025_05_08_04_10575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397157776","1397157773","1397157790","1397157793","1397157778","1397157783"],"photo_ids_order":["1397157773","1397157776","1397157778","1397157783","1397157790","1397157793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a3267e0e3eb9d2a3748f7a54cc1c8b5d.jpg","text":"TemporaryFile(/tmp/multipartBody4125259845675835459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562326530,"filename":"image_01122025_05_07_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/1/0b28a3984b322ee9e655a25b59c16ea4.jpg","text":"TemporaryFile(/tmp/multipartBody1397931889797226368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562326530,"filename":"image_01122025_05_07_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/1/480dae97442a58cde8086a6525634841.jpg","text":"TemporaryFile(/tmp/multipartBody3697427478939187677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562326530,"filename":"image_01122025_05_07_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/1/eda1af9f84f52a86496dd569ddd6c56a.jpg","text":"TemporaryFile(/tmp/multipartBody9179180795487375249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562326530,"filename":"image_01122025_05_08_04_10575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b28cfb368d316418fdac56c2d680f6c5.jpg","text":"TemporaryFile(/tmp/multipartBody1336369707119652808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562326530,"filename":"image_01122025_05_07_24_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/1/6ce00b43031bdcf1bd8534098ce6d1b6.jpg","text":"TemporaryFile(/tmp/multipartBody81284921953166777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562326530,"filename":"image_01122025_05_07_34_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397157778","file1":"1397157776","file0":"1397157773","file4":"1397157790","file5":"1397157793","file3":"1397157783"},"map_files_photo_id_array":[{"photo_id":"1397157793","filename":"file5"},{"photo_id":"1397157778","filename":"file2"},{"photo_id":"1397157790","filename":"file4"},{"photo_id":"1397157776","filename":"file1"},{"photo_id":"1397157773","filename":"file0"},{"photo_id":"1397157783","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397157776":["hashtag1","hashtag2"]},{"1397157773":["hashtag1","hashtag2"]},{"1397157790":["hashtag1","hashtag2"]},{"1397157793":["hashtag1","hashtag2"]},{"1397157778":["hashtag1","hashtag2"]},{"1397157783":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397157776, 1397157773, 1397157790, 1397157793, 1397157778, 1397157783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87612056732178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:12:08.832731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/08/image_01122025_05_08_23_9625.jpg', '/home/pi/Desktop/images/01122025/05/08/image_01122025_05_08_44_9713.jpg', '/home/pi/Desktop/images/01122025/05/08/image_01122025_05_08_54_10676.jpg', '/home/pi/Desktop/images/01122025/05/08/image_01122025_05_09_04_9886.jpg', '/home/pi/Desktop/images/01122025/05/09/image_01122025_05_09_14_9665.jpg', '/home/pi/Desktop/images/01122025/05/09/image_01122025_05_09_24_9753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/08/image_01122025_05_08_23_9625.jpg
/home/pi/Desktop/images/01122025/05/08/image_01122025_05_08_44_9713.jpg
/home/pi/Desktop/images/01122025/05/08/image_01122025_05_08_54_10676.jpg
/home/pi/Desktop/images/01122025/05/08/image_01122025_05_09_04_9886.jpg
/home/pi/Desktop/images/01122025/05/09/image_01122025_05_09_14_9665.jpg
/home/pi/Desktop/images/01122025/05/09/image_01122025_05_09_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":["1397157801","1397157797","1397157800","1397157799","1397157803","1397157802"],"photo_ids_order":["1397157797","1397157799","1397157800","1397157801","1397157802","1397157803"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d70a8b45831338b7f779e1ebcdd693c0.jpg","text":"TemporaryFile(/tmp/multipartBody4582105317024734934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562389576,"filename":"image_01122025_05_09_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/1/618fbcb699eb20032f76535fa33600d3.jpg","text":"TemporaryFile(/tmp/multipartBody3238170566157585798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562389576,"filename":"image_01122025_05_08_23_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6bdc3e4dfbebc21855a50a04ea4f152b.jpg","text":"TemporaryFile(/tmp/multipartBody5373878866765325805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562389576,"filename":"image_01122025_05_08_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/1/0a02b86d8bb703ad81dafe8c810d3593.jpg","text":"TemporaryFile(/tmp/multipartBody7411560288061246871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562389576,"filename":"image_01122025_05_08_44_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fd660fc5a38459babfdc16f4358f7057.jpg","text":"TemporaryFile(/tmp/multipartBody7452584321091434086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562389576,"filename":"image_01122025_05_09_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/1/4eed4068b7222fde53070e0efd140182.jpg","text":"TemporaryFile(/tmp/multipartBody6826000840804666866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562389576,"filename":"image_01122025_05_09_14_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397157800","file1":"1397157799","file0":"1397157797","file4":"1397157802","file5":"1397157803","file3":"1397157801"},"map_files_photo_id_array":[{"photo_id":"1397157803","filename":"file5"},{"photo_id":"1397157800","filename":"file2"},{"photo_id":"1397157802","filename":"file4"},{"photo_id":"1397157799","filename":"file1"},{"photo_id":"1397157797","filename":"file0"},{"photo_id":"1397157801","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397157801":["hashtag1","hashtag2"]},{"1397157797":["hashtag1","hashtag2"]},{"1397157800":["hashtag1","hashtag2"]},{"1397157799":["hashtag1","hashtag2"]},{"1397157803":["hashtag1","hashtag2"]},{"1397157802":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397157801, 1397157797, 1397157800, 1397157799, 1397157803, 1397157802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70939660072327 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 05:12:46.093709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_45_3572.jpg', '/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_47_2651.jpg', '/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_54_3664.jpg', '/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_56_2620.jpg', '/home/pi/Desktop/images/01112025/00/39/image_01112025_00_40_00_3633.jpg', '/home/pi/Desktop/images/01112025/00/40/image_01112025_00_40_05_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_45_3572.jpg
/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_47_2651.jpg
/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_54_3664.jpg
/home/pi/Desktop/images/01112025/00/39/image_01112025_00_39_56_2620.jpg
/home/pi/Desktop/images/01112025/00/39/image_01112025_00_40_00_3633.jpg
/home/pi/Desktop/images/01112025/00/40/image_01112025_00_40_05_2716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397157813","1397157816","1397157819","1397157815","1397157817","1397157814"],"photo_ids_order":["1397157813","1397157814","1397157815","1397157816","1397157817","1397157819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/20b75eb1f6e416f219bf169e1b5f95ba.jpg","text":"TemporaryFile(/tmp/multipartBody2924806093046284976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562426829,"filename":"image_01112025_00_39_45_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f24dc396126a49c2003f3f1558c3c7c5.jpg","text":"TemporaryFile(/tmp/multipartBody2125390624801702343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562426829,"filename":"image_01112025_00_39_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/1/7a89544841fc80b40fc02230b3685de1.jpg","text":"TemporaryFile(/tmp/multipartBody910607177224154394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562426829,"filename":"image_01112025_00_40_05_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/1/f3db303cf16fddf6543f085e1a32d332.jpg","text":"TemporaryFile(/tmp/multipartBody7461807075895747711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562426829,"filename":"image_01112025_00_39_54_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/1/0f28e9a5c4453393dad696217421fef8.jpg","text":"TemporaryFile(/tmp/multipartBody581780675956459721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562426829,"filename":"image_01112025_00_40_00_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/1/8ea64ae08d2ca852876492cf9f1ec879.jpg","text":"TemporaryFile(/tmp/multipartBody5904434864680389895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562426829,"filename":"image_01112025_00_39_47_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397157815","file1":"1397157814","file0":"1397157813","file4":"1397157817","file5":"1397157819","file3":"1397157816"},"map_files_photo_id_array":[{"photo_id":"1397157819","filename":"file5"},{"photo_id":"1397157815","filename":"file2"},{"photo_id":"1397157817","filename":"file4"},{"photo_id":"1397157814","filename":"file1"},{"photo_id":"1397157813","filename":"file0"},{"photo_id":"1397157816","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397157813":["hashtag1","hashtag2"]},{"1397157816":["hashtag1","hashtag2"]},{"1397157819":["hashtag1","hashtag2"]},{"1397157815":["hashtag1","hashtag2"]},{"1397157817":["hashtag1","hashtag2"]},{"1397157814":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397157813, 1397157816, 1397157819, 1397157815, 1397157817, 1397157814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0495707988739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 05:13:37.137473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_25_1564.jpg', '/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_27_1753.jpg', '/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_36_1811.jpg', '/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_44_8278.jpg', '/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_46_1686.jpg', '/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_02_15923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_25_1564.jpg
/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_27_1753.jpg
/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_36_1811.jpg
/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_44_8278.jpg
/home/pi/Desktop/images/25112025/21/44/image_25112025_21_44_46_1686.jpg
/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_02_15923.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397157825","1397157830","1397157827","1397157829","1397157832","1397157831"],"photo_ids_order":["1397157825","1397157827","1397157829","1397157830","1397157831","1397157832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bb882581e89d174ecef22ba03beb1e4c.jpg","text":"TemporaryFile(/tmp/multipartBody6499128559574504203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562481222,"filename":"image_25112025_21_44_25_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/1/389b9064e700aca6925d80b53a07fdb4.jpg","text":"TemporaryFile(/tmp/multipartBody4166044883762140268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562481222,"filename":"image_25112025_21_44_44_8278.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0d746b83be5952b247caf0794d30c9e3.jpg","text":"TemporaryFile(/tmp/multipartBody7970044969609600701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562481222,"filename":"image_25112025_21_44_27_1753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ae79b014596018a7c1f6b9b5d9209934.jpg","text":"TemporaryFile(/tmp/multipartBody8801007263484799924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562481222,"filename":"image_25112025_21_44_36_1811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b8ccf3646dc68e3b391c73328083410b.jpg","text":"TemporaryFile(/tmp/multipartBody8696143661495896911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562481222,"filename":"image_25112025_21_45_02_15923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9a84684ba8368db19d52982fb81b733d.jpg","text":"TemporaryFile(/tmp/multipartBody6776683919075765971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562481222,"filename":"image_25112025_21_44_46_1686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397157829","file1":"1397157827","file0":"1397157825","file4":"1397157831","file5":"1397157832","file3":"1397157830"},"map_files_photo_id_array":[{"photo_id":"1397157832","filename":"file5"},{"photo_id":"1397157829","filename":"file2"},{"photo_id":"1397157831","filename":"file4"},{"photo_id":"1397157827","filename":"file1"},{"photo_id":"1397157825","filename":"file0"},{"photo_id":"1397157830","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397157825":["hashtag1","hashtag2"]},{"1397157830":["hashtag1","hashtag2"]},{"1397157827":["hashtag1","hashtag2"]},{"1397157829":["hashtag1","hashtag2"]},{"1397157832":["hashtag1","hashtag2"]},{"1397157831":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397157825, 1397157830, 1397157827, 1397157829, 1397157832, 1397157831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12405300140381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 05:14:22.362583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/09/image_01122025_05_09_44_10707.jpg', '/home/pi/Desktop/images/01122025/05/09/image_01122025_05_09_54_9644.jpg', '/home/pi/Desktop/images/01122025/05/09/image_01122025_05_10_04_9894.jpg', '/home/pi/Desktop/images/01122025/05/10/image_01122025_05_10_44_9621.jpg', '/home/pi/Desktop/images/01122025/05/10/image_01122025_05_11_04_9670.jpg', '/home/pi/Desktop/images/01122025/05/11/image_01122025_05_11_14_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/09/image_01122025_05_09_44_10707.jpg
/home/pi/Desktop/images/01122025/05/09/image_01122025_05_09_54_9644.jpg
/home/pi/Desktop/images/01122025/05/09/image_01122025_05_10_04_9894.jpg
/home/pi/Desktop/images/01122025/05/10/image_01122025_05_10_44_9621.jpg
/home/pi/Desktop/images/01122025/05/10/image_01122025_05_11_04_9670.jpg
/home/pi/Desktop/images/01122025/05/11/image_01122025_05_11_14_9737.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6002781391143799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 05:14:32.410458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_05_3085.jpg', '/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_06_1615.jpg', '/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_08_1707.jpg', '/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_10_1566.jpg', '/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_11_1593.jpg', '/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_13_1518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_05_3085.jpg
/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_06_1615.jpg
/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_08_1707.jpg
/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_10_1566.jpg
/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_11_1593.jpg
/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_13_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":["1397157843","1397157863","1397157866","1397157853","1397157847","1397157867"],"photo_ids_order":["1397157843","1397157847","1397157853","1397157863","1397157866","1397157867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c577683467e9710e8b17ec177d41e073.jpg","text":"TemporaryFile(/tmp/multipartBody7658256816120894473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562534039,"filename":"image_25112025_21_45_05_3085.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f32d1c0fa467761dcc70ffeda71f5bcd.jpg","text":"TemporaryFile(/tmp/multipartBody2754824842740145582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562534039,"filename":"image_25112025_21_45_10_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/1/a898f8713cd4d3f353be12fbabdd5a13.jpg","text":"TemporaryFile(/tmp/multipartBody7118658771022736471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562534039,"filename":"image_25112025_21_45_11_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/1/75f33a296659630c0113013b3f876e3c.jpg","text":"TemporaryFile(/tmp/multipartBody3268293932427529832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562534039,"filename":"image_25112025_21_45_08_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/1/c89a195b06d7bb692a0396129167f8b0.jpg","text":"TemporaryFile(/tmp/multipartBody3835619585066905904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562534039,"filename":"image_25112025_21_45_06_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3074eb897d381017610bea35362fcf06.jpg","text":"TemporaryFile(/tmp/multipartBody619091704032005853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562534039,"filename":"image_25112025_21_45_13_1518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397157853","file1":"1397157847","file0":"1397157843","file4":"1397157866","file5":"1397157867","file3":"1397157863"},"map_files_photo_id_array":[{"photo_id":"1397157867","filename":"file5"},{"photo_id":"1397157853","filename":"file2"},{"photo_id":"1397157866","filename":"file4"},{"photo_id":"1397157847","filename":"file1"},{"photo_id":"1397157843","filename":"file0"},{"photo_id":"1397157863","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397157843":["hashtag1","hashtag2"]},{"1397157863":["hashtag1","hashtag2"]},{"1397157866":["hashtag1","hashtag2"]},{"1397157853":["hashtag1","hashtag2"]},{"1397157847":["hashtag1","hashtag2"]},{"1397157867":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397157843, 1397157863, 1397157866, 1397157853, 1397157847, 1397157867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97814965248108 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 05:15:12.016715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_14_1593.jpg', '/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_16_1604.jpg', '/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_18_1744.jpg', '/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_21_1485.jpg', '/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_23_1650.jpg', '/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_24_1639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_14_1593.jpg
/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_16_1604.jpg
/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_18_1744.jpg
/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_21_1485.jpg
/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_23_1650.jpg
/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_24_1639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397157875","1397157869","1397157871","1397157877","1397157879","1397157873"],"photo_ids_order":["1397157869","1397157871","1397157873","1397157875","1397157877","1397157879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ad5bc0fde79c3dceff7d4eaf4f1d8567.jpg","text":"TemporaryFile(/tmp/multipartBody4064420567437065090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562573665,"filename":"image_25112025_21_45_21_1485.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e4727908270ff8197a5e6ea65dc6e072.jpg","text":"TemporaryFile(/tmp/multipartBody2907735266466777340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562573665,"filename":"image_25112025_21_45_14_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/1/09c96ca65f29b98acf877ad11c6f8fa0.jpg","text":"TemporaryFile(/tmp/multipartBody8492425543147379023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562573665,"filename":"image_25112025_21_45_16_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/1/fe990c9b1600e4a36f9849b47b565a6c.jpg","text":"TemporaryFile(/tmp/multipartBody7603641991550656101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562573665,"filename":"image_25112025_21_45_23_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/1/526681d15e7df7cbe117402d4ee424e4.jpg","text":"TemporaryFile(/tmp/multipartBody6941331121438714530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562573665,"filename":"image_25112025_21_45_24_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/1/0ef9d55607fdde755d2c78eaf07364e4.jpg","text":"TemporaryFile(/tmp/multipartBody3276471862442727683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562573665,"filename":"image_25112025_21_45_18_1744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397157873","file1":"1397157871","file0":"1397157869","file4":"1397157877","file5":"1397157879","file3":"1397157875"},"map_files_photo_id_array":[{"photo_id":"1397157879","filename":"file5"},{"photo_id":"1397157873","filename":"file2"},{"photo_id":"1397157877","filename":"file4"},{"photo_id":"1397157871","filename":"file1"},{"photo_id":"1397157869","filename":"file0"},{"photo_id":"1397157875","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397157875":["hashtag1","hashtag2"]},{"1397157869":["hashtag1","hashtag2"]},{"1397157871":["hashtag1","hashtag2"]},{"1397157877":["hashtag1","hashtag2"]},{"1397157879":["hashtag1","hashtag2"]},{"1397157873":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397157875, 1397157869, 1397157871, 1397157877, 1397157879, 1397157873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2892005443573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.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-01 05:16:06.705991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 05:16:22.047944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/09/image_01122025_05_09_44_10707.jpg', '/home/pi/Desktop/images/01122025/05/09/image_01122025_05_09_54_9644.jpg', '/home/pi/Desktop/images/01122025/05/09/image_01122025_05_10_04_9894.jpg', '/home/pi/Desktop/images/01122025/05/10/image_01122025_05_10_44_9621.jpg', '/home/pi/Desktop/images/01122025/05/10/image_01122025_05_11_04_9670.jpg', '/home/pi/Desktop/images/01122025/05/11/image_01122025_05_11_14_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/09/image_01122025_05_09_44_10707.jpg
/home/pi/Desktop/images/01122025/05/09/image_01122025_05_09_54_9644.jpg
/home/pi/Desktop/images/01122025/05/09/image_01122025_05_10_04_9894.jpg
/home/pi/Desktop/images/01122025/05/10/image_01122025_05_10_44_9621.jpg
/home/pi/Desktop/images/01122025/05/10/image_01122025_05_11_04_9670.jpg
/home/pi/Desktop/images/01122025/05/11/image_01122025_05_11_14_9737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397157890","1397157892","1397157889","1397157894","1397157891","1397157888"],"photo_ids_order":["1397157888","1397157889","1397157890","1397157891","1397157892","1397157894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a0a27e49b2211f6171bb6c068dd0d46e.jpg","text":"TemporaryFile(/tmp/multipartBody8087935577371599020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562642731,"filename":"image_01122025_05_10_04_9894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/64f654b92546d61757b289559c9059b2.jpg","text":"TemporaryFile(/tmp/multipartBody731615456273346729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562642731,"filename":"image_01122025_05_11_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/1/d1018cb4bcc7b899cb790fe8ddae9249.jpg","text":"TemporaryFile(/tmp/multipartBody8853677814229194605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562642731,"filename":"image_01122025_05_09_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/1/e51395edba7239f7e79aa231bb2876b1.jpg","text":"TemporaryFile(/tmp/multipartBody8539213502720156183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562642731,"filename":"image_01122025_05_11_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/1/d2aa657f5efc86c54d8d71aabd861efa.jpg","text":"TemporaryFile(/tmp/multipartBody951914493302745313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562642731,"filename":"image_01122025_05_10_44_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a006854c30db8d0d54c82383a99151c3.jpg","text":"TemporaryFile(/tmp/multipartBody5561480459636149786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562642731,"filename":"image_01122025_05_09_44_10707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397157890","file1":"1397157889","file0":"1397157888","file4":"1397157892","file5":"1397157894","file3":"1397157891"},"map_files_photo_id_array":[{"photo_id":"1397157894","filename":"file5"},{"photo_id":"1397157890","filename":"file2"},{"photo_id":"1397157892","filename":"file4"},{"photo_id":"1397157889","filename":"file1"},{"photo_id":"1397157888","filename":"file0"},{"photo_id":"1397157891","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397157890":["hashtag1","hashtag2"]},{"1397157892":["hashtag1","hashtag2"]},{"1397157889":["hashtag1","hashtag2"]},{"1397157894":["hashtag1","hashtag2"]},{"1397157891":["hashtag1","hashtag2"]},{"1397157888":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397157890, 1397157892, 1397157889, 1397157894, 1397157891, 1397157888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31879210472107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:17:03.138711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/11/image_01122025_05_11_43_9130.jpg', '/home/pi/Desktop/images/01122025/05/11/image_01122025_05_11_54_10772.jpg', '/home/pi/Desktop/images/01122025/05/12/image_01122025_05_12_24_9722.jpg', '/home/pi/Desktop/images/01122025/05/12/image_01122025_05_12_34_10441.jpg', '/home/pi/Desktop/images/01122025/05/12/image_01122025_05_12_44_9761.jpg', '/home/pi/Desktop/images/01122025/05/13/image_01122025_05_13_24_9825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/11/image_01122025_05_11_43_9130.jpg
/home/pi/Desktop/images/01122025/05/11/image_01122025_05_11_54_10772.jpg
/home/pi/Desktop/images/01122025/05/12/image_01122025_05_12_24_9722.jpg
/home/pi/Desktop/images/01122025/05/12/image_01122025_05_12_34_10441.jpg
/home/pi/Desktop/images/01122025/05/12/image_01122025_05_12_44_9761.jpg
/home/pi/Desktop/images/01122025/05/13/image_01122025_05_13_24_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":["1397157921","1397157915","1397157917","1397157908","1397157919","1397157913"],"photo_ids_order":["1397157908","1397157913","1397157915","1397157917","1397157919","1397157921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/16fbede0a84a2f3472192294126bbd4d.jpg","text":"TemporaryFile(/tmp/multipartBody5900590843562430939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562683910,"filename":"image_01122025_05_13_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/1/471b5cad3119e649727495f4e74d7966.jpg","text":"TemporaryFile(/tmp/multipartBody7426880199499647517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562683910,"filename":"image_01122025_05_12_24_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9008fcbcec20b2a72b59b61464ab1a47.jpg","text":"TemporaryFile(/tmp/multipartBody2453510221789565697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562683910,"filename":"image_01122025_05_12_34_10441.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2d35024678d17071b226ad8e3a45b823.jpg","text":"TemporaryFile(/tmp/multipartBody404750634118115654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562683910,"filename":"image_01122025_05_11_43_9130.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/369566471b30d4812c03cd03aaa53e22.jpg","text":"TemporaryFile(/tmp/multipartBody4113527269494340876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562683910,"filename":"image_01122025_05_12_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/1/40e0720d0a1ffdbd4c35cb518f6a3aec.jpg","text":"TemporaryFile(/tmp/multipartBody3222947530388272936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562683910,"filename":"image_01122025_05_11_54_10772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397157915","file1":"1397157913","file0":"1397157908","file4":"1397157919","file5":"1397157921","file3":"1397157917"},"map_files_photo_id_array":[{"photo_id":"1397157921","filename":"file5"},{"photo_id":"1397157915","filename":"file2"},{"photo_id":"1397157919","filename":"file4"},{"photo_id":"1397157913","filename":"file1"},{"photo_id":"1397157908","filename":"file0"},{"photo_id":"1397157917","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397157921":["hashtag1","hashtag2"]},{"1397157915":["hashtag1","hashtag2"]},{"1397157917":["hashtag1","hashtag2"]},{"1397157908":["hashtag1","hashtag2"]},{"1397157919":["hashtag1","hashtag2"]},{"1397157913":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397157921, 1397157915, 1397157917, 1397157908, 1397157919, 1397157913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.310585260391235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 05:17:42.452628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/40/image_01112025_00_40_08_3215.jpg', '/home/pi/Desktop/images/01112025/00/40/image_01112025_00_40_11_2838.jpg', '/home/pi/Desktop/images/01112025/00/40/image_01112025_00_40_14_2631.jpg', '/home/pi/Desktop/images/01112025/00/40/image_01112025_00_40_18_3609.jpg', '/home/pi/Desktop/images/01112025/00/40/image_01112025_00_40_23_2633.jpg', '/home/pi/Desktop/images/01112025/00/40/image_01112025_00_40_27_3951.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/40/image_01112025_00_40_08_3215.jpg
/home/pi/Desktop/images/01112025/00/40/image_01112025_00_40_11_2838.jpg
/home/pi/Desktop/images/01112025/00/40/image_01112025_00_40_14_2631.jpg
/home/pi/Desktop/images/01112025/00/40/image_01112025_00_40_18_3609.jpg
/home/pi/Desktop/images/01112025/00/40/image_01112025_00_40_23_2633.jpg
/home/pi/Desktop/images/01112025/00/40/image_01112025_00_40_27_3951.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397157927","1397157923","1397157926","1397157929","1397157964","1397157928"],"photo_ids_order":["1397157923","1397157926","1397157927","1397157928","1397157929","1397157964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7a7c245c9d61a7bb41b882ef90190168.jpg","text":"TemporaryFile(/tmp/multipartBody1932230479470431766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562723281,"filename":"image_01112025_00_40_14_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/1/9043d64be8be053572204544429be6cf.jpg","text":"TemporaryFile(/tmp/multipartBody275671814113211754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562723281,"filename":"image_01112025_00_40_08_3215.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/73a8d83f37b66db1fedc2e0485c01b05.jpg","text":"TemporaryFile(/tmp/multipartBody7214220052612855134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562723281,"filename":"image_01112025_00_40_11_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/1/5b15789768b3606ea471e07d439e86ca.jpg","text":"TemporaryFile(/tmp/multipartBody573246743003673370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562723281,"filename":"image_01112025_00_40_23_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/1/0a0af52552b24fb3dd03b0623427c44f.jpg","text":"TemporaryFile(/tmp/multipartBody1393262550220884887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562723281,"filename":"image_01112025_00_40_27_3951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b4bbfbd4dcb9dd946aa7727c16d35d4d.jpg","text":"TemporaryFile(/tmp/multipartBody7904291262443569729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562723281,"filename":"image_01112025_00_40_18_3609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397157927","file1":"1397157926","file0":"1397157923","file4":"1397157929","file5":"1397157964","file3":"1397157928"},"map_files_photo_id_array":[{"photo_id":"1397157964","filename":"file5"},{"photo_id":"1397157927","filename":"file2"},{"photo_id":"1397157929","filename":"file4"},{"photo_id":"1397157926","filename":"file1"},{"photo_id":"1397157923","filename":"file0"},{"photo_id":"1397157928","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397157927":["hashtag1","hashtag2"]},{"1397157923":["hashtag1","hashtag2"]},{"1397157926":["hashtag1","hashtag2"]},{"1397157929":["hashtag1","hashtag2"]},{"1397157964":["hashtag1","hashtag2"]},{"1397157928":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397157927, 1397157923, 1397157926, 1397157929, 1397157964, 1397157928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.562450885772705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 05:18:22.693353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/13/image_01122025_05_13_34_10727.jpg', '/home/pi/Desktop/images/01122025/05/13/image_01122025_05_13_54_9844.jpg', '/home/pi/Desktop/images/01122025/05/13/image_01122025_05_14_04_9723.jpg', '/home/pi/Desktop/images/01122025/05/14/image_01122025_05_14_14_10423.jpg', '/home/pi/Desktop/images/01122025/05/14/image_01122025_05_14_34_9779.jpg', '/home/pi/Desktop/images/01122025/05/14/image_01122025_05_14_44_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/13/image_01122025_05_13_34_10727.jpg
/home/pi/Desktop/images/01122025/05/13/image_01122025_05_13_54_9844.jpg
/home/pi/Desktop/images/01122025/05/13/image_01122025_05_14_04_9723.jpg
/home/pi/Desktop/images/01122025/05/14/image_01122025_05_14_14_10423.jpg
/home/pi/Desktop/images/01122025/05/14/image_01122025_05_14_34_9779.jpg
/home/pi/Desktop/images/01122025/05/14/image_01122025_05_14_44_10645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397158221","1397158187","1397158148","1397158258","1397158111","1397158295"],"photo_ids_order":["1397158111","1397158148","1397158187","1397158221","1397158258","1397158295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8ab2811d8657c4438c32613055512463.jpg","text":"TemporaryFile(/tmp/multipartBody2816182299748466505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562763431,"filename":"image_01122025_05_14_14_10423.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dc7ce22d4ce8499adb966bee29c18090.jpg","text":"TemporaryFile(/tmp/multipartBody6186526981257058002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562763431,"filename":"image_01122025_05_14_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/1/00f0bc77f2ced539f694c3069a7201bb.jpg","text":"TemporaryFile(/tmp/multipartBody6821961388436657080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562763431,"filename":"image_01122025_05_13_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/1/88b31195558f78e1a6a9826bdaa011a1.jpg","text":"TemporaryFile(/tmp/multipartBody1523269010615455026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562763431,"filename":"image_01122025_05_14_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/1/24e1dab0a4db894762eff953fa3aa28f.jpg","text":"TemporaryFile(/tmp/multipartBody8881162028987569524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562763431,"filename":"image_01122025_05_13_34_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7336f8ce7f6eb395d3439c90d1557c3c.jpg","text":"TemporaryFile(/tmp/multipartBody1417647372610735960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562763431,"filename":"image_01122025_05_14_44_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397158187","file1":"1397158148","file0":"1397158111","file4":"1397158258","file5":"1397158295","file3":"1397158221"},"map_files_photo_id_array":[{"photo_id":"1397158295","filename":"file5"},{"photo_id":"1397158187","filename":"file2"},{"photo_id":"1397158258","filename":"file4"},{"photo_id":"1397158148","filename":"file1"},{"photo_id":"1397158111","filename":"file0"},{"photo_id":"1397158221","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397158221":["hashtag1","hashtag2"]},{"1397158187":["hashtag1","hashtag2"]},{"1397158148":["hashtag1","hashtag2"]},{"1397158258":["hashtag1","hashtag2"]},{"1397158111":["hashtag1","hashtag2"]},{"1397158295":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397158221, 1397158187, 1397158148, 1397158258, 1397158111, 1397158295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45988321304321 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:19:02.815468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/14/image_01122025_05_15_03_9507.jpg', '/home/pi/Desktop/images/01122025/05/15/image_01122025_05_15_14_10871.jpg', '/home/pi/Desktop/images/01122025/05/15/image_01122025_05_15_24_9713.jpg', '/home/pi/Desktop/images/01122025/05/15/image_01122025_05_15_54_10368.jpg', '/home/pi/Desktop/images/01122025/05/15/image_01122025_05_16_04_9719.jpg', '/home/pi/Desktop/images/01122025/05/16/image_01122025_05_16_13_9937.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/14/image_01122025_05_15_03_9507.jpg
/home/pi/Desktop/images/01122025/05/15/image_01122025_05_15_14_10871.jpg
/home/pi/Desktop/images/01122025/05/15/image_01122025_05_15_24_9713.jpg
/home/pi/Desktop/images/01122025/05/15/image_01122025_05_15_54_10368.jpg
/home/pi/Desktop/images/01122025/05/15/image_01122025_05_16_04_9719.jpg
/home/pi/Desktop/images/01122025/05/16/image_01122025_05_16_13_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":["1397158538","1397158448","1397158540","1397158488","1397158527","1397158542"],"photo_ids_order":["1397158448","1397158488","1397158527","1397158538","1397158540","1397158542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/46288b62cf01784582bf147cbabeb042.jpg","text":"TemporaryFile(/tmp/multipartBody6332656532177908876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562803781,"filename":"image_01122025_05_15_54_10368.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0c0fefde3702984ce282c42d138e4d18.jpg","text":"TemporaryFile(/tmp/multipartBody2232762841663358382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562803781,"filename":"image_01122025_05_15_03_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/1/8a6068489eb581be92fe2c04521f11c0.jpg","text":"TemporaryFile(/tmp/multipartBody4255672860346837345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562803781,"filename":"image_01122025_05_16_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/1/8923f37b8f062acef630d97460d34898.jpg","text":"TemporaryFile(/tmp/multipartBody839532613760687504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562803781,"filename":"image_01122025_05_15_14_10871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cd2d2a2b62de501178ff37bb3944365d.jpg","text":"TemporaryFile(/tmp/multipartBody1617173701573411903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562803781,"filename":"image_01122025_05_15_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/1/fcb25c42e8fcf19358a3888d2d81d4a7.jpg","text":"TemporaryFile(/tmp/multipartBody1027450146757530863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562803781,"filename":"image_01122025_05_16_13_9937.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397158527","file1":"1397158488","file0":"1397158448","file4":"1397158540","file5":"1397158542","file3":"1397158538"},"map_files_photo_id_array":[{"photo_id":"1397158542","filename":"file5"},{"photo_id":"1397158527","filename":"file2"},{"photo_id":"1397158540","filename":"file4"},{"photo_id":"1397158488","filename":"file1"},{"photo_id":"1397158448","filename":"file0"},{"photo_id":"1397158538","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397158538":["hashtag1","hashtag2"]},{"1397158448":["hashtag1","hashtag2"]},{"1397158540":["hashtag1","hashtag2"]},{"1397158488":["hashtag1","hashtag2"]},{"1397158527":["hashtag1","hashtag2"]},{"1397158542":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397158538, 1397158448, 1397158540, 1397158488, 1397158527, 1397158542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.397141218185425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 05:19:41.904363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/40/image_01112025_00_40_29_2673.jpg', '/home/pi/Desktop/images/01112025/00/40/image_01112025_00_40_32_2769.jpg', '/home/pi/Desktop/images/01112025/00/40/image_01112025_00_40_35_2679.jpg', '/home/pi/Desktop/images/01112025/00/40/image_01112025_00_40_47_2540.jpg', '/home/pi/Desktop/images/01112025/00/40/image_01112025_00_40_50_2930.jpg', '/home/pi/Desktop/images/01112025/00/40/image_01112025_00_40_56_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/40/image_01112025_00_40_29_2673.jpg
/home/pi/Desktop/images/01112025/00/40/image_01112025_00_40_32_2769.jpg
/home/pi/Desktop/images/01112025/00/40/image_01112025_00_40_35_2679.jpg
/home/pi/Desktop/images/01112025/00/40/image_01112025_00_40_47_2540.jpg
/home/pi/Desktop/images/01112025/00/40/image_01112025_00_40_50_2930.jpg
/home/pi/Desktop/images/01112025/00/40/image_01112025_00_40_56_2717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397158568","1397158547","1397158640","1397158549","1397158683","1397158602"],"photo_ids_order":["1397158547","1397158549","1397158568","1397158602","1397158640","1397158683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f1cfc54af29f2c26221dc3ef29d2e5e5.jpg","text":"TemporaryFile(/tmp/multipartBody788079035695194513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562842779,"filename":"image_01112025_00_40_35_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/97cca79e98e5703bb6525bd3341690e5.jpg","text":"TemporaryFile(/tmp/multipartBody8167341408649464087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562842779,"filename":"image_01112025_00_40_29_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3023256b45591b4224115ebcdffc3c67.jpg","text":"TemporaryFile(/tmp/multipartBody965967077667559321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562842779,"filename":"image_01112025_00_40_50_2930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/128e56132d4e10af56f75c106676cac6.jpg","text":"TemporaryFile(/tmp/multipartBody5689233732784550876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562842779,"filename":"image_01112025_00_40_32_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/1/7f0fad417d184a75baad560646c8e77e.jpg","text":"TemporaryFile(/tmp/multipartBody356071373190821408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562842779,"filename":"image_01112025_00_40_56_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2529cc706f82650529aa3bdd5f3322d0.jpg","text":"TemporaryFile(/tmp/multipartBody4938205370806947454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562842779,"filename":"image_01112025_00_40_47_2540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397158568","file1":"1397158549","file0":"1397158547","file4":"1397158640","file5":"1397158683","file3":"1397158602"},"map_files_photo_id_array":[{"photo_id":"1397158683","filename":"file5"},{"photo_id":"1397158568","filename":"file2"},{"photo_id":"1397158640","filename":"file4"},{"photo_id":"1397158549","filename":"file1"},{"photo_id":"1397158547","filename":"file0"},{"photo_id":"1397158602","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397158568":["hashtag1","hashtag2"]},{"1397158547":["hashtag1","hashtag2"]},{"1397158640":["hashtag1","hashtag2"]},{"1397158549":["hashtag1","hashtag2"]},{"1397158683":["hashtag1","hashtag2"]},{"1397158602":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397158568, 1397158547, 1397158640, 1397158549, 1397158683, 1397158602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10752081871033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 05:20:22.063931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/16/image_01122025_05_16_24_10672.jpg', '/home/pi/Desktop/images/01122025/05/16/image_01122025_05_16_34_9553.jpg', '/home/pi/Desktop/images/01122025/05/16/image_01122025_05_16_43_9737.jpg', '/home/pi/Desktop/images/01122025/05/16/image_01122025_05_17_04_10560.jpg', '/home/pi/Desktop/images/01122025/05/17/image_01122025_05_17_14_9404.jpg', '/home/pi/Desktop/images/01122025/05/17/image_01122025_05_17_24_10693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/16/image_01122025_05_16_24_10672.jpg
/home/pi/Desktop/images/01122025/05/16/image_01122025_05_16_34_9553.jpg
/home/pi/Desktop/images/01122025/05/16/image_01122025_05_16_43_9737.jpg
/home/pi/Desktop/images/01122025/05/16/image_01122025_05_17_04_10560.jpg
/home/pi/Desktop/images/01122025/05/17/image_01122025_05_17_14_9404.jpg
/home/pi/Desktop/images/01122025/05/17/image_01122025_05_17_24_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":["1397158763","1397158808","1397158762","1397158791","1397158807","1397158746"],"photo_ids_order":["1397158746","1397158762","1397158763","1397158791","1397158807","1397158808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/06ef9d71542ac6a1df7b4270f6249703.jpg","text":"TemporaryFile(/tmp/multipartBody9138454801781815965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562882843,"filename":"image_01122025_05_16_43_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/1/cf648f3e569adee939b42495b82ded0b.jpg","text":"TemporaryFile(/tmp/multipartBody446889619529636009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562882843,"filename":"image_01122025_05_17_24_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/26f2721388cf3f98466dacee42f817c1.jpg","text":"TemporaryFile(/tmp/multipartBody1854388249159770118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562882843,"filename":"image_01122025_05_16_34_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8eb930b09a5d8df044248e1baf41cc87.jpg","text":"TemporaryFile(/tmp/multipartBody4960439475369445753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562882843,"filename":"image_01122025_05_17_04_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bce114a537bef084d82767cad19ea840.jpg","text":"TemporaryFile(/tmp/multipartBody1560971549974008445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562882843,"filename":"image_01122025_05_17_14_9404.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/19f4301dde6f82b91358bd950fc233d9.jpg","text":"TemporaryFile(/tmp/multipartBody9167571927156107737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562882843,"filename":"image_01122025_05_16_24_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397158763","file1":"1397158762","file0":"1397158746","file4":"1397158807","file5":"1397158808","file3":"1397158791"},"map_files_photo_id_array":[{"photo_id":"1397158808","filename":"file5"},{"photo_id":"1397158763","filename":"file2"},{"photo_id":"1397158807","filename":"file4"},{"photo_id":"1397158762","filename":"file1"},{"photo_id":"1397158746","filename":"file0"},{"photo_id":"1397158791","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397158763":["hashtag1","hashtag2"]},{"1397158808":["hashtag1","hashtag2"]},{"1397158762":["hashtag1","hashtag2"]},{"1397158791":["hashtag1","hashtag2"]},{"1397158807":["hashtag1","hashtag2"]},{"1397158746":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397158763, 1397158808, 1397158762, 1397158791, 1397158807, 1397158746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.527783155441284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:21:03.041025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/17/image_01122025_05_17_34_9755.jpg', '/home/pi/Desktop/images/01122025/05/17/image_01122025_05_17_44_9675.jpg', '/home/pi/Desktop/images/01122025/05/18/image_01122025_05_18_14_9805.jpg', '/home/pi/Desktop/images/01122025/05/18/image_01122025_05_18_23_9828.jpg', '/home/pi/Desktop/images/01122025/05/18/image_01122025_05_18_44_9675.jpg', '/home/pi/Desktop/images/01122025/05/18/image_01122025_05_19_04_10847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/17/image_01122025_05_17_34_9755.jpg
/home/pi/Desktop/images/01122025/05/17/image_01122025_05_17_44_9675.jpg
/home/pi/Desktop/images/01122025/05/18/image_01122025_05_18_14_9805.jpg
/home/pi/Desktop/images/01122025/05/18/image_01122025_05_18_23_9828.jpg
/home/pi/Desktop/images/01122025/05/18/image_01122025_05_18_44_9675.jpg
/home/pi/Desktop/images/01122025/05/18/image_01122025_05_19_04_10847.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397158868","1397158847","1397158841","1397158859","1397158869","1397158866"],"photo_ids_order":["1397158841","1397158847","1397158859","1397158866","1397158868","1397158869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f605c60165ec122a4afb576c8b187279.jpg","text":"TemporaryFile(/tmp/multipartBody602564562528190813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562923849,"filename":"image_01122025_05_18_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/1/8678f0b2e1d9d48c3548751d2d06c264.jpg","text":"TemporaryFile(/tmp/multipartBody8642223967687087889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562923849,"filename":"image_01122025_05_17_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/1/acf1eb82e49708ed954b8e2fca583ad1.jpg","text":"TemporaryFile(/tmp/multipartBody8709553227850728197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562923849,"filename":"image_01122025_05_17_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/1/24fdeeb980cb3670292c0f57d288ea1c.jpg","text":"TemporaryFile(/tmp/multipartBody8481007357450782491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562923849,"filename":"image_01122025_05_18_14_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7c342e547387c078aa882a9955617144.jpg","text":"TemporaryFile(/tmp/multipartBody7645441539827347564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562923849,"filename":"image_01122025_05_19_04_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/1/95a578f6ae1e0f62fb53a934e66afd50.jpg","text":"TemporaryFile(/tmp/multipartBody1581110236503418347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562923849,"filename":"image_01122025_05_18_23_9828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397158859","file1":"1397158847","file0":"1397158841","file4":"1397158868","file5":"1397158869","file3":"1397158866"},"map_files_photo_id_array":[{"photo_id":"1397158869","filename":"file5"},{"photo_id":"1397158859","filename":"file2"},{"photo_id":"1397158868","filename":"file4"},{"photo_id":"1397158847","filename":"file1"},{"photo_id":"1397158841","filename":"file0"},{"photo_id":"1397158866","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397158868":["hashtag1","hashtag2"]},{"1397158847":["hashtag1","hashtag2"]},{"1397158841":["hashtag1","hashtag2"]},{"1397158859":["hashtag1","hashtag2"]},{"1397158869":["hashtag1","hashtag2"]},{"1397158866":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397158868, 1397158847, 1397158841, 1397158859, 1397158869, 1397158866)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.441649198532104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:22:02.602198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/19/image_01122025_05_19_14_9739.jpg', '/home/pi/Desktop/images/01122025/05/19/image_01122025_05_19_34_9836.jpg', '/home/pi/Desktop/images/01122025/05/19/image_01122025_05_19_44_10571.jpg', '/home/pi/Desktop/images/01122025/05/19/image_01122025_05_20_04_9738.jpg', '/home/pi/Desktop/images/01122025/05/20/image_01122025_05_20_34_9640.jpg', '/home/pi/Desktop/images/01122025/05/20/image_01122025_05_20_44_9982.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/19/image_01122025_05_19_14_9739.jpg
/home/pi/Desktop/images/01122025/05/19/image_01122025_05_19_34_9836.jpg
/home/pi/Desktop/images/01122025/05/19/image_01122025_05_19_44_10571.jpg
/home/pi/Desktop/images/01122025/05/19/image_01122025_05_20_04_9738.jpg
/home/pi/Desktop/images/01122025/05/20/image_01122025_05_20_34_9640.jpg
/home/pi/Desktop/images/01122025/05/20/image_01122025_05_20_44_9982.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397158892","1397158888","1397158896","1397158881","1397158875","1397158884"],"photo_ids_order":["1397158875","1397158881","1397158884","1397158888","1397158892","1397158896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/245bd0b168737ba8dda569e9930e2fed.jpg","text":"TemporaryFile(/tmp/multipartBody7167580706853253323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562983351,"filename":"image_01122025_05_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/1/d7e6c82d89acc929e8247a088ce35fe0.jpg","text":"TemporaryFile(/tmp/multipartBody6734142922891649759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562983351,"filename":"image_01122025_05_20_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/1/19f0c7f5373ad91b8b1da47a719869ae.jpg","text":"TemporaryFile(/tmp/multipartBody8708729744935872430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562983351,"filename":"image_01122025_05_20_44_9982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/800b3103fe009aca014c2e9f5a2f5a8b.jpg","text":"TemporaryFile(/tmp/multipartBody3183001987333590926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562983351,"filename":"image_01122025_05_19_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/1/67194939a51626eaa5438d1779a1c739.jpg","text":"TemporaryFile(/tmp/multipartBody541584301128645909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562983351,"filename":"image_01122025_05_19_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/1/98cce9b57aa9ad8dcd7a03b7d8c7648f.jpg","text":"TemporaryFile(/tmp/multipartBody4634857455385061199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764562983351,"filename":"image_01122025_05_19_44_10571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397158884","file1":"1397158881","file0":"1397158875","file4":"1397158892","file5":"1397158896","file3":"1397158888"},"map_files_photo_id_array":[{"photo_id":"1397158896","filename":"file5"},{"photo_id":"1397158884","filename":"file2"},{"photo_id":"1397158892","filename":"file4"},{"photo_id":"1397158881","filename":"file1"},{"photo_id":"1397158875","filename":"file0"},{"photo_id":"1397158888","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397158892":["hashtag1","hashtag2"]},{"1397158888":["hashtag1","hashtag2"]},{"1397158896":["hashtag1","hashtag2"]},{"1397158881":["hashtag1","hashtag2"]},{"1397158875":["hashtag1","hashtag2"]},{"1397158884":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397158892, 1397158888, 1397158896, 1397158881, 1397158875, 1397158884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13016152381897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 05:22:42.088355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/41/image_01112025_00_41_01_4942.jpg', '/home/pi/Desktop/images/01112025/00/41/image_01112025_00_41_08_2772.jpg', '/home/pi/Desktop/images/01112025/00/41/image_01112025_00_41_11_2683.jpg', '/home/pi/Desktop/images/01112025/00/41/image_01112025_00_41_17_2675.jpg', '/home/pi/Desktop/images/01112025/00/41/image_01112025_00_41_26_2669.jpg', '/home/pi/Desktop/images/01112025/00/41/image_01112025_00_41_32_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/41/image_01112025_00_41_01_4942.jpg
/home/pi/Desktop/images/01112025/00/41/image_01112025_00_41_08_2772.jpg
/home/pi/Desktop/images/01112025/00/41/image_01112025_00_41_11_2683.jpg
/home/pi/Desktop/images/01112025/00/41/image_01112025_00_41_17_2675.jpg
/home/pi/Desktop/images/01112025/00/41/image_01112025_00_41_26_2669.jpg
/home/pi/Desktop/images/01112025/00/41/image_01112025_00_41_32_2637.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8943054676055908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:23:02.942675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/21/image_01122025_05_21_13_9644.jpg', '/home/pi/Desktop/images/01122025/05/21/image_01122025_05_21_24_10605.jpg', '/home/pi/Desktop/images/01122025/05/21/image_01122025_05_21_34_9914.jpg', '/home/pi/Desktop/images/01122025/05/21/image_01122025_05_21_44_9698.jpg', '/home/pi/Desktop/images/01122025/05/21/image_01122025_05_21_54_10746.jpg', '/home/pi/Desktop/images/01122025/05/21/image_01122025_05_22_04_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/21/image_01122025_05_21_13_9644.jpg
/home/pi/Desktop/images/01122025/05/21/image_01122025_05_21_24_10605.jpg
/home/pi/Desktop/images/01122025/05/21/image_01122025_05_21_34_9914.jpg
/home/pi/Desktop/images/01122025/05/21/image_01122025_05_21_44_9698.jpg
/home/pi/Desktop/images/01122025/05/21/image_01122025_05_21_54_10746.jpg
/home/pi/Desktop/images/01122025/05/21/image_01122025_05_22_04_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397158952","1397158946","1397158949","1397158937","1397158951","1397158942"],"photo_ids_order":["1397158937","1397158942","1397158946","1397158949","1397158951","1397158952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ba374d2557b14720a12f20356516d0ab.jpg","text":"TemporaryFile(/tmp/multipartBody8021793007685286422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563043761,"filename":"image_01122025_05_22_04_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d6b4e17342e4b1033198d044c5540f57.jpg","text":"TemporaryFile(/tmp/multipartBody3594080090066003388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563043761,"filename":"image_01122025_05_21_34_9914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8a342e894fc2fb02d6c2114882761cf2.jpg","text":"TemporaryFile(/tmp/multipartBody9165866992071770094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563043761,"filename":"image_01122025_05_21_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/1/b049b38f02b910adfd001875d27e4825.jpg","text":"TemporaryFile(/tmp/multipartBody8875998459094315360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563043761,"filename":"image_01122025_05_21_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/1/daf81fd242058fa09ae8c81f78b45081.jpg","text":"TemporaryFile(/tmp/multipartBody757222662165573679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563043761,"filename":"image_01122025_05_21_54_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/38e788c5ea3402f4d6f259c799266010.jpg","text":"TemporaryFile(/tmp/multipartBody1090700934054571940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563043761,"filename":"image_01122025_05_21_24_10605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397158946","file1":"1397158942","file0":"1397158937","file4":"1397158951","file5":"1397158952","file3":"1397158949"},"map_files_photo_id_array":[{"photo_id":"1397158952","filename":"file5"},{"photo_id":"1397158946","filename":"file2"},{"photo_id":"1397158951","filename":"file4"},{"photo_id":"1397158942","filename":"file1"},{"photo_id":"1397158937","filename":"file0"},{"photo_id":"1397158949","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397158952":["hashtag1","hashtag2"]},{"1397158946":["hashtag1","hashtag2"]},{"1397158949":["hashtag1","hashtag2"]},{"1397158937":["hashtag1","hashtag2"]},{"1397158951":["hashtag1","hashtag2"]},{"1397158942":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397158952, 1397158946, 1397158949, 1397158937, 1397158951, 1397158942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.90190553665161 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:24:03.256349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/22/image_01122025_05_22_14_9644.jpg', '/home/pi/Desktop/images/01122025/05/22/image_01122025_05_22_45_11249.jpg', '/home/pi/Desktop/images/01122025/05/22/image_01122025_05_22_53_8615.jpg', '/home/pi/Desktop/images/01122025/05/22/image_01122025_05_23_04_10576.jpg', '/home/pi/Desktop/images/01122025/05/23/image_01122025_05_23_14_9876.jpg', '/home/pi/Desktop/images/01122025/05/23/image_01122025_05_23_24_9895.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/22/image_01122025_05_22_14_9644.jpg
/home/pi/Desktop/images/01122025/05/22/image_01122025_05_22_45_11249.jpg
/home/pi/Desktop/images/01122025/05/22/image_01122025_05_22_53_8615.jpg
/home/pi/Desktop/images/01122025/05/22/image_01122025_05_23_04_10576.jpg
/home/pi/Desktop/images/01122025/05/23/image_01122025_05_23_14_9876.jpg
/home/pi/Desktop/images/01122025/05/23/image_01122025_05_23_24_9895.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397158991","1397158993","1397158987","1397158995","1397158989","1397158997"],"photo_ids_order":["1397158987","1397158989","1397158991","1397158993","1397158995","1397158997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a165b0bcbbcc8a47e5146662e6581246.jpg","text":"TemporaryFile(/tmp/multipartBody6081179974210948792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563104072,"filename":"image_01122025_05_22_53_8615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4520820f0513eff8bf905499870fc861.jpg","text":"TemporaryFile(/tmp/multipartBody2621045425722557259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563104072,"filename":"image_01122025_05_23_04_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/acf0de6e5279ea7b6ededc31d32c71fc.jpg","text":"TemporaryFile(/tmp/multipartBody4068648850251972333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563104072,"filename":"image_01122025_05_22_14_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f138a3de43bae21aedbd92c0dbe20ed6.jpg","text":"TemporaryFile(/tmp/multipartBody1732916547988149920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563104072,"filename":"image_01122025_05_23_14_9876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ae792c586285f17d9d42a74703e98eb8.jpg","text":"TemporaryFile(/tmp/multipartBody5078935601525544105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563104072,"filename":"image_01122025_05_22_45_11249.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/80982ec54d4f6a69b297537c601b2852.jpg","text":"TemporaryFile(/tmp/multipartBody6147037803533607971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563104072,"filename":"image_01122025_05_23_24_9895.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397158991","file1":"1397158989","file0":"1397158987","file4":"1397158995","file5":"1397158997","file3":"1397158993"},"map_files_photo_id_array":[{"photo_id":"1397158997","filename":"file5"},{"photo_id":"1397158991","filename":"file2"},{"photo_id":"1397158995","filename":"file4"},{"photo_id":"1397158989","filename":"file1"},{"photo_id":"1397158987","filename":"file0"},{"photo_id":"1397158993","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397158991":["hashtag1","hashtag2"]},{"1397158993":["hashtag1","hashtag2"]},{"1397158987":["hashtag1","hashtag2"]},{"1397158995":["hashtag1","hashtag2"]},{"1397158989":["hashtag1","hashtag2"]},{"1397158997":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397158991, 1397158993, 1397158987, 1397158995, 1397158989, 1397158997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1514995098114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 05:24:42.741490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/41/image_01112025_00_41_01_4942.jpg', '/home/pi/Desktop/images/01112025/00/41/image_01112025_00_41_08_2772.jpg', '/home/pi/Desktop/images/01112025/00/41/image_01112025_00_41_11_2683.jpg', '/home/pi/Desktop/images/01112025/00/41/image_01112025_00_41_17_2675.jpg', '/home/pi/Desktop/images/01112025/00/41/image_01112025_00_41_26_2669.jpg', '/home/pi/Desktop/images/01112025/00/41/image_01112025_00_41_32_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/41/image_01112025_00_41_01_4942.jpg
/home/pi/Desktop/images/01112025/00/41/image_01112025_00_41_08_2772.jpg
/home/pi/Desktop/images/01112025/00/41/image_01112025_00_41_11_2683.jpg
/home/pi/Desktop/images/01112025/00/41/image_01112025_00_41_17_2675.jpg
/home/pi/Desktop/images/01112025/00/41/image_01112025_00_41_26_2669.jpg
/home/pi/Desktop/images/01112025/00/41/image_01112025_00_41_32_2637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159015","1397159006","1397159014","1397159005","1397159013","1397159007"],"photo_ids_order":["1397159005","1397159006","1397159007","1397159013","1397159014","1397159015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0d22f834a6eb203b96553b09b01211ab.jpg","text":"TemporaryFile(/tmp/multipartBody1853606398906544924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563143488,"filename":"image_01112025_00_41_32_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2ff6ca7d4e92f8540bbcb63492c83aaf.jpg","text":"TemporaryFile(/tmp/multipartBody235930950208883229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563143488,"filename":"image_01112025_00_41_08_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bf1801ae15bd52be11958b6af2e866fa.jpg","text":"TemporaryFile(/tmp/multipartBody7328935058100446847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563143488,"filename":"image_01112025_00_41_26_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/1/6bdcfc35dc0f4a8743674e1056d0aa9b.jpg","text":"TemporaryFile(/tmp/multipartBody4176013948918617560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563143488,"filename":"image_01112025_00_41_01_4942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dccdaa124d360baa681cde501c55c3f3.jpg","text":"TemporaryFile(/tmp/multipartBody8363842061374870562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563143488,"filename":"image_01112025_00_41_17_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/1/33293f273089bb9ba5509ad1f3519aed.jpg","text":"TemporaryFile(/tmp/multipartBody6433741712823480174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563143488,"filename":"image_01112025_00_41_11_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159007","file1":"1397159006","file0":"1397159005","file4":"1397159014","file5":"1397159015","file3":"1397159013"},"map_files_photo_id_array":[{"photo_id":"1397159015","filename":"file5"},{"photo_id":"1397159007","filename":"file2"},{"photo_id":"1397159014","filename":"file4"},{"photo_id":"1397159006","filename":"file1"},{"photo_id":"1397159005","filename":"file0"},{"photo_id":"1397159013","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397159015":["hashtag1","hashtag2"]},{"1397159006":["hashtag1","hashtag2"]},{"1397159014":["hashtag1","hashtag2"]},{"1397159005":["hashtag1","hashtag2"]},{"1397159013":["hashtag1","hashtag2"]},{"1397159007":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397159015, 1397159006, 1397159014, 1397159005, 1397159013, 1397159007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85071349143982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 05:25:22.022222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/23/image_01122025_05_23_34_9749.jpg', '/home/pi/Desktop/images/01122025/05/23/image_01122025_05_23_44_10770.jpg', '/home/pi/Desktop/images/01122025/05/24/image_01122025_05_24_24_9718.jpg', '/home/pi/Desktop/images/01122025/05/24/image_01122025_05_24_34_9611.jpg', '/home/pi/Desktop/images/01122025/05/24/image_01122025_05_24_45_11755.jpg', '/home/pi/Desktop/images/01122025/05/24/image_01122025_05_25_04_9589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/23/image_01122025_05_23_34_9749.jpg
/home/pi/Desktop/images/01122025/05/23/image_01122025_05_23_44_10770.jpg
/home/pi/Desktop/images/01122025/05/24/image_01122025_05_24_24_9718.jpg
/home/pi/Desktop/images/01122025/05/24/image_01122025_05_24_34_9611.jpg
/home/pi/Desktop/images/01122025/05/24/image_01122025_05_24_45_11755.jpg
/home/pi/Desktop/images/01122025/05/24/image_01122025_05_25_04_9589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159021","1397159026","1397159023","1397159025","1397159019","1397159028"],"photo_ids_order":["1397159019","1397159021","1397159023","1397159025","1397159026","1397159028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8bc7d82e90b559694d8908fa687204d8.jpg","text":"TemporaryFile(/tmp/multipartBody3710645870803209264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563182764,"filename":"image_01122025_05_23_44_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/1/738d553b8db0fb393ad525a50d61d973.jpg","text":"TemporaryFile(/tmp/multipartBody7008770734407272163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563182764,"filename":"image_01122025_05_24_45_11755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bdc47582e83860258cf44a623e18d22b.jpg","text":"TemporaryFile(/tmp/multipartBody164329359295988838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563182764,"filename":"image_01122025_05_24_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/1/deca61dd8d2af464a21045f83f4f5d1e.jpg","text":"TemporaryFile(/tmp/multipartBody7672494971474299051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563182764,"filename":"image_01122025_05_24_34_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/006c7653c825f501212e4e55d37db578.jpg","text":"TemporaryFile(/tmp/multipartBody9071572906737409801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563182764,"filename":"image_01122025_05_23_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/1/81661735680fe2d6cb2d54066309975e.jpg","text":"TemporaryFile(/tmp/multipartBody5360958366343455411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563182764,"filename":"image_01122025_05_25_04_9589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159023","file1":"1397159021","file0":"1397159019","file4":"1397159026","file5":"1397159028","file3":"1397159025"},"map_files_photo_id_array":[{"photo_id":"1397159028","filename":"file5"},{"photo_id":"1397159023","filename":"file2"},{"photo_id":"1397159026","filename":"file4"},{"photo_id":"1397159021","filename":"file1"},{"photo_id":"1397159019","filename":"file0"},{"photo_id":"1397159025","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397159021":["hashtag1","hashtag2"]},{"1397159026":["hashtag1","hashtag2"]},{"1397159023":["hashtag1","hashtag2"]},{"1397159025":["hashtag1","hashtag2"]},{"1397159019":["hashtag1","hashtag2"]},{"1397159028":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397159021, 1397159026, 1397159023, 1397159025, 1397159019, 1397159028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29353952407837 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:26:02.549658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/25/image_01122025_05_25_13_9728.jpg', '/home/pi/Desktop/images/01122025/05/25/image_01122025_05_25_44_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/25/image_01122025_05_25_13_9728.jpg
/home/pi/Desktop/images/01122025/05/25/image_01122025_05_25_44_9690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159033","1397159034"],"photo_ids_order":["1397159033","1397159034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fd7a42d748d4e8a23230a26e0c15cc13.jpg","text":"TemporaryFile(/tmp/multipartBody5445853001708048199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563223135,"filename":"image_01122025_05_25_13_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/1/f5ff35bc7f7c82f986b8326fe62159b9.jpg","text":"TemporaryFile(/tmp/multipartBody2312643667210383658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563223135,"filename":"image_01122025_05_25_44_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397159034","file0":"1397159033"},"map_files_photo_id_array":[{"photo_id":"1397159034","filename":"file1"},{"photo_id":"1397159033","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397159033":["hashtag1","hashtag2"]},{"1397159034":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397159033, 1397159034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.465760469436646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 05:26:22.054899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/25/image_01122025_05_25_53_9868.jpg', '/home/pi/Desktop/images/01122025/05/26/image_01122025_05_26_14_9768.jpg', '/home/pi/Desktop/images/01122025/05/26/image_01122025_05_26_24_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/25/image_01122025_05_25_53_9868.jpg
/home/pi/Desktop/images/01122025/05/26/image_01122025_05_26_14_9768.jpg
/home/pi/Desktop/images/01122025/05/26/image_01122025_05_26_24_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":["1397159039","1397159038","1397159037"],"photo_ids_order":["1397159037","1397159038","1397159039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/76da150f7ad3706a04a4101f7d98bec5.jpg","text":"TemporaryFile(/tmp/multipartBody5142961344095875840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563242686,"filename":"image_01122025_05_26_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/1/9a8e3beaeebb13d5b54771c39fecac3c.jpg","text":"TemporaryFile(/tmp/multipartBody9158745595553700247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563242686,"filename":"image_01122025_05_26_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/1/0f0deffb651658628703bd404d3a8591.jpg","text":"TemporaryFile(/tmp/multipartBody3246866958714841933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563242686,"filename":"image_01122025_05_25_53_9868.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159039","file1":"1397159038","file0":"1397159037"},"map_files_photo_id_array":[{"photo_id":"1397159039","filename":"file2"},{"photo_id":"1397159038","filename":"file1"},{"photo_id":"1397159037","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397159039":["hashtag1","hashtag2"]},{"1397159038":["hashtag1","hashtag2"]},{"1397159037":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397159039, 1397159038, 1397159037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.23784565925598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:27:02.999507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_26_1728.jpg', '/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_32_2657.jpg', '/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_35_2756.jpg', '/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_39_3664.jpg', '/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_41_2580.jpg', '/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_44_2546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_26_1728.jpg
/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_32_2657.jpg
/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_35_2756.jpg
/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_39_3664.jpg
/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_41_2580.jpg
/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_44_2546.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159060","1397159057","1397159056","1397159059","1397159061","1397159058"],"photo_ids_order":["1397159056","1397159057","1397159058","1397159059","1397159060","1397159061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2a2b60041757e916baa2c8b3699371d3.jpg","text":"TemporaryFile(/tmp/multipartBody462950051955771688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563284240,"filename":"image_25112025_21_45_41_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/1/c94df740dc97c5616a9e5c4614a37a17.jpg","text":"TemporaryFile(/tmp/multipartBody590183960812734857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563284240,"filename":"image_25112025_21_45_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/1/ff40680fb8ea227d9d6fc856c057e030.jpg","text":"TemporaryFile(/tmp/multipartBody7847031621210505342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563284240,"filename":"image_25112025_21_45_26_1728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f494dbf4ef2979251b0d9cdbda2a7161.jpg","text":"TemporaryFile(/tmp/multipartBody9164871360356431325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563284240,"filename":"image_25112025_21_45_39_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/1/117c17ccd3c50abece47d4e237fa9935.jpg","text":"TemporaryFile(/tmp/multipartBody848360769257807192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563284240,"filename":"image_25112025_21_45_44_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/1/e43e0174b6355efd68254e5d689d86a6.jpg","text":"TemporaryFile(/tmp/multipartBody5220482215272485069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563284240,"filename":"image_25112025_21_45_35_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159058","file1":"1397159057","file0":"1397159056","file4":"1397159060","file5":"1397159061","file3":"1397159059"},"map_files_photo_id_array":[{"photo_id":"1397159061","filename":"file5"},{"photo_id":"1397159058","filename":"file2"},{"photo_id":"1397159060","filename":"file4"},{"photo_id":"1397159057","filename":"file1"},{"photo_id":"1397159056","filename":"file0"},{"photo_id":"1397159059","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397159060":["hashtag1","hashtag2"]},{"1397159057":["hashtag1","hashtag2"]},{"1397159056":["hashtag1","hashtag2"]},{"1397159059":["hashtag1","hashtag2"]},{"1397159061":["hashtag1","hashtag2"]},{"1397159058":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397159060, 1397159057, 1397159056, 1397159059, 1397159061, 1397159058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.988990783691406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 05:27:42.268137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/41/image_01112025_00_41_38_3671.jpg', '/home/pi/Desktop/images/01112025/00/41/image_01112025_00_41_41_2622.jpg', '/home/pi/Desktop/images/01112025/00/42/image_01112025_00_42_23_2560.jpg', '/home/pi/Desktop/images/01112025/00/42/image_01112025_00_42_27_3698.jpg', '/home/pi/Desktop/images/01112025/00/42/image_01112025_00_42_29_2573.jpg', '/home/pi/Desktop/images/01112025/00/42/image_01112025_00_42_38_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/41/image_01112025_00_41_38_3671.jpg
/home/pi/Desktop/images/01112025/00/41/image_01112025_00_41_41_2622.jpg
/home/pi/Desktop/images/01112025/00/42/image_01112025_00_42_23_2560.jpg
/home/pi/Desktop/images/01112025/00/42/image_01112025_00_42_27_3698.jpg
/home/pi/Desktop/images/01112025/00/42/image_01112025_00_42_29_2573.jpg
/home/pi/Desktop/images/01112025/00/42/image_01112025_00_42_38_2683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159069","1397159068","1397159062","1397159065","1397159067","1397159066"],"photo_ids_order":["1397159062","1397159065","1397159066","1397159067","1397159068","1397159069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f070672762f56c3e1ef20b9a813406c6.jpg","text":"TemporaryFile(/tmp/multipartBody5696241724130282289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563323180,"filename":"image_01112025_00_42_38_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/1/dd1088e16e1f45ef019bf27fd4e17a87.jpg","text":"TemporaryFile(/tmp/multipartBody5717317086662708071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563323180,"filename":"image_01112025_00_42_29_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/1/5cbffcd8a5a46d9221cc5000f4d6c592.jpg","text":"TemporaryFile(/tmp/multipartBody3501403232868310042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563323180,"filename":"image_01112025_00_41_38_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/1/f6ac046c0a5772e202361eeb0789556b.jpg","text":"TemporaryFile(/tmp/multipartBody4902545470932584989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563323180,"filename":"image_01112025_00_41_41_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/50735d51900e6aa58c9fe634aa317e5c.jpg","text":"TemporaryFile(/tmp/multipartBody5373236334677470979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563323180,"filename":"image_01112025_00_42_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/1/19fc4987ac24dc2ff8e9b6338528e1ef.jpg","text":"TemporaryFile(/tmp/multipartBody6225375913151945606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563323180,"filename":"image_01112025_00_42_23_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159066","file1":"1397159065","file0":"1397159062","file4":"1397159068","file5":"1397159069","file3":"1397159067"},"map_files_photo_id_array":[{"photo_id":"1397159069","filename":"file5"},{"photo_id":"1397159066","filename":"file2"},{"photo_id":"1397159068","filename":"file4"},{"photo_id":"1397159065","filename":"file1"},{"photo_id":"1397159062","filename":"file0"},{"photo_id":"1397159067","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397159069":["hashtag1","hashtag2"]},{"1397159068":["hashtag1","hashtag2"]},{"1397159062":["hashtag1","hashtag2"]},{"1397159065":["hashtag1","hashtag2"]},{"1397159067":["hashtag1","hashtag2"]},{"1397159066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397159069, 1397159068, 1397159062, 1397159065, 1397159067, 1397159066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.000633239746094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 05:28:22.384593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/26/image_01122025_05_26_34_10645.jpg', '/home/pi/Desktop/images/01122025/05/26/image_01122025_05_27_04_10732.jpg', '/home/pi/Desktop/images/01122025/05/27/image_01122025_05_27_14_9834.jpg', '/home/pi/Desktop/images/01122025/05/27/image_01122025_05_27_34_10575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/26/image_01122025_05_26_34_10645.jpg
/home/pi/Desktop/images/01122025/05/26/image_01122025_05_27_04_10732.jpg
/home/pi/Desktop/images/01122025/05/27/image_01122025_05_27_14_9834.jpg
/home/pi/Desktop/images/01122025/05/27/image_01122025_05_27_34_10575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159071","1397159070","1397159073","1397159072"],"photo_ids_order":["1397159070","1397159071","1397159072","1397159073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/05048fcf31fbbbfa01a5c014a563ecd8.jpg","text":"TemporaryFile(/tmp/multipartBody593121100803781250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563363004,"filename":"image_01122025_05_27_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/1/9bdf47a2c19c05d27c5880efbc8359fb.jpg","text":"TemporaryFile(/tmp/multipartBody3716200642359008363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563363004,"filename":"image_01122025_05_26_34_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/855ebbbde4f432779ad8b21f4351cf90.jpg","text":"TemporaryFile(/tmp/multipartBody2385706626675798015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563363004,"filename":"image_01122025_05_27_34_10575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/df674bb3d7180b322d6c6f5f17a8241f.jpg","text":"TemporaryFile(/tmp/multipartBody7500129072023890383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563363004,"filename":"image_01122025_05_27_14_9834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159072","file1":"1397159071","file0":"1397159070","file3":"1397159073"},"map_files_photo_id_array":[{"photo_id":"1397159072","filename":"file2"},{"photo_id":"1397159071","filename":"file1"},{"photo_id":"1397159070","filename":"file0"},{"photo_id":"1397159073","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397159071":["hashtag1","hashtag2"]},{"1397159070":["hashtag1","hashtag2"]},{"1397159073":["hashtag1","hashtag2"]},{"1397159072":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397159071, 1397159070, 1397159073, 1397159072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.539852380752563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:29:03.645416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_48_3596.jpg', '/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_50_2776.jpg', '/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_54_3512.jpg', '/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_56_2610.jpg', '/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_59_2580.jpg', '/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_03_3628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_48_3596.jpg
/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_50_2776.jpg
/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_54_3512.jpg
/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_56_2610.jpg
/home/pi/Desktop/images/25112025/21/45/image_25112025_21_45_59_2580.jpg
/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_03_3628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159102","1397159098","1397159096","1397159100","1397159099","1397159093"],"photo_ids_order":["1397159093","1397159096","1397159098","1397159099","1397159100","1397159102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ad16c4378071998298c2288f593e8eeb.jpg","text":"TemporaryFile(/tmp/multipartBody1444497089730911931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563404994,"filename":"image_25112025_21_46_03_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/1/391fcceb34ddad011de01c7aa29a3083.jpg","text":"TemporaryFile(/tmp/multipartBody203323732390410254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563404994,"filename":"image_25112025_21_45_54_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/1/4c509441e0a47b716830d14ec445cf66.jpg","text":"TemporaryFile(/tmp/multipartBody7382591243326471141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563404994,"filename":"image_25112025_21_45_50_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/44a1bcd18b4370911015bfdf71360775.jpg","text":"TemporaryFile(/tmp/multipartBody291635059579858988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563404994,"filename":"image_25112025_21_45_59_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/1/9a46d83110426511af594cdfc3a58d5c.jpg","text":"TemporaryFile(/tmp/multipartBody4760701540842865238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563404994,"filename":"image_25112025_21_45_56_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3701165499a926ab33ce5d8d694175c0.jpg","text":"TemporaryFile(/tmp/multipartBody5784218178049855607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563404994,"filename":"image_25112025_21_45_48_3596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159098","file1":"1397159096","file0":"1397159093","file4":"1397159100","file5":"1397159102","file3":"1397159099"},"map_files_photo_id_array":[{"photo_id":"1397159102","filename":"file5"},{"photo_id":"1397159098","filename":"file2"},{"photo_id":"1397159100","filename":"file4"},{"photo_id":"1397159096","filename":"file1"},{"photo_id":"1397159093","filename":"file0"},{"photo_id":"1397159099","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397159102":["hashtag1","hashtag2"]},{"1397159098":["hashtag1","hashtag2"]},{"1397159096":["hashtag1","hashtag2"]},{"1397159100":["hashtag1","hashtag2"]},{"1397159099":["hashtag1","hashtag2"]},{"1397159093":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397159102, 1397159098, 1397159096, 1397159100, 1397159099, 1397159093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7251513004303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 05:29:42.586737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/42/image_01112025_00_42_44_3290.jpg', '/home/pi/Desktop/images/01112025/00/42/image_01112025_00_42_48_3373.jpg', '/home/pi/Desktop/images/01112025/00/42/image_01112025_00_42_50_2787.jpg', '/home/pi/Desktop/images/01112025/00/42/image_01112025_00_42_57_3630.jpg', '/home/pi/Desktop/images/01112025/00/42/image_01112025_00_42_59_2622.jpg', '/home/pi/Desktop/images/01112025/00/43/image_01112025_00_43_05_3561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/42/image_01112025_00_42_44_3290.jpg
/home/pi/Desktop/images/01112025/00/42/image_01112025_00_42_48_3373.jpg
/home/pi/Desktop/images/01112025/00/42/image_01112025_00_42_50_2787.jpg
/home/pi/Desktop/images/01112025/00/42/image_01112025_00_42_57_3630.jpg
/home/pi/Desktop/images/01112025/00/42/image_01112025_00_42_59_2622.jpg
/home/pi/Desktop/images/01112025/00/43/image_01112025_00_43_05_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":["1397159135","1397159108","1397159138","1397159137","1397159110","1397159136"],"photo_ids_order":["1397159108","1397159110","1397159135","1397159136","1397159137","1397159138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/988c80bb11708b95024d99629245b788.jpg","text":"TemporaryFile(/tmp/multipartBody3706213185677293615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563443467,"filename":"image_01112025_00_42_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/1/edb01aec2145c043584970983b62b5ba.jpg","text":"TemporaryFile(/tmp/multipartBody4342942578427907662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563443467,"filename":"image_01112025_00_42_44_3290.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3ebec0aff3191c4e60155202aab15636.jpg","text":"TemporaryFile(/tmp/multipartBody6002809920550169148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563443467,"filename":"image_01112025_00_43_05_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d6fb11e6ffcebc6dd0521b5636426cf0.jpg","text":"TemporaryFile(/tmp/multipartBody6072854656345425756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563443467,"filename":"image_01112025_00_42_59_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/1/f4b9e43c8e13402641f68488555f0bc8.jpg","text":"TemporaryFile(/tmp/multipartBody895367678620824640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563443467,"filename":"image_01112025_00_42_48_3373.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2600f4543d809f7057db590f020df0f1.jpg","text":"TemporaryFile(/tmp/multipartBody3264796362707905501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563443467,"filename":"image_01112025_00_42_57_3630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159135","file1":"1397159110","file0":"1397159108","file4":"1397159137","file5":"1397159138","file3":"1397159136"},"map_files_photo_id_array":[{"photo_id":"1397159138","filename":"file5"},{"photo_id":"1397159135","filename":"file2"},{"photo_id":"1397159137","filename":"file4"},{"photo_id":"1397159110","filename":"file1"},{"photo_id":"1397159108","filename":"file0"},{"photo_id":"1397159136","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397159135":["hashtag1","hashtag2"]},{"1397159108":["hashtag1","hashtag2"]},{"1397159138":["hashtag1","hashtag2"]},{"1397159137":["hashtag1","hashtag2"]},{"1397159110":["hashtag1","hashtag2"]},{"1397159136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397159135, 1397159108, 1397159138, 1397159137, 1397159110, 1397159136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0203058719635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 05:30:22.756957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/27/image_01122025_05_27_54_9646.jpg', '/home/pi/Desktop/images/01122025/05/27/image_01122025_05_28_04_9755.jpg', '/home/pi/Desktop/images/01122025/05/28/image_01122025_05_28_14_10536.jpg', '/home/pi/Desktop/images/01122025/05/28/image_01122025_05_28_24_9761.jpg', '/home/pi/Desktop/images/01122025/05/28/image_01122025_05_28_33_9578.jpg', '/home/pi/Desktop/images/01122025/05/28/image_01122025_05_28_44_10752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/27/image_01122025_05_27_54_9646.jpg
/home/pi/Desktop/images/01122025/05/27/image_01122025_05_28_04_9755.jpg
/home/pi/Desktop/images/01122025/05/28/image_01122025_05_28_14_10536.jpg
/home/pi/Desktop/images/01122025/05/28/image_01122025_05_28_24_9761.jpg
/home/pi/Desktop/images/01122025/05/28/image_01122025_05_28_33_9578.jpg
/home/pi/Desktop/images/01122025/05/28/image_01122025_05_28_44_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":["1397159147","1397159149","1397159143","1397159151","1397159148","1397159144"],"photo_ids_order":["1397159143","1397159144","1397159147","1397159148","1397159149","1397159151"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dd2ace6ca3ff7667046face963830978.jpg","text":"TemporaryFile(/tmp/multipartBody2345696655520393403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563483562,"filename":"image_01122025_05_28_14_10536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/19fe1c559b03826fa698298553d747ed.jpg","text":"TemporaryFile(/tmp/multipartBody1606042448877125309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563483562,"filename":"image_01122025_05_28_33_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/1/80091d7a25cd09582e43327f7356962e.jpg","text":"TemporaryFile(/tmp/multipartBody7916569662030269963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563483562,"filename":"image_01122025_05_27_54_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b21b410debeac35435239be84c209a42.jpg","text":"TemporaryFile(/tmp/multipartBody457017462355414913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563483562,"filename":"image_01122025_05_28_44_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/1/507a94a3eac24b62b48e8d38301dc0fc.jpg","text":"TemporaryFile(/tmp/multipartBody2744050962300002775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563483562,"filename":"image_01122025_05_28_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/1/eb5144aff7cf266d5a6c7c4678f0afe5.jpg","text":"TemporaryFile(/tmp/multipartBody6283386704011108875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563483562,"filename":"image_01122025_05_28_04_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159147","file1":"1397159144","file0":"1397159143","file4":"1397159149","file5":"1397159151","file3":"1397159148"},"map_files_photo_id_array":[{"photo_id":"1397159151","filename":"file5"},{"photo_id":"1397159147","filename":"file2"},{"photo_id":"1397159149","filename":"file4"},{"photo_id":"1397159144","filename":"file1"},{"photo_id":"1397159143","filename":"file0"},{"photo_id":"1397159148","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397159147":["hashtag1","hashtag2"]},{"1397159149":["hashtag1","hashtag2"]},{"1397159143":["hashtag1","hashtag2"]},{"1397159151":["hashtag1","hashtag2"]},{"1397159148":["hashtag1","hashtag2"]},{"1397159144":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397159147, 1397159149, 1397159143, 1397159151, 1397159148, 1397159144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.262338399887085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:31:02.669970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/28/image_01122025_05_29_04_9605.jpg', '/home/pi/Desktop/images/01122025/05/29/image_01122025_05_29_24_10645.jpg', '/home/pi/Desktop/images/01122025/05/29/image_01122025_05_29_34_9600.jpg', '/home/pi/Desktop/images/01122025/05/29/image_01122025_05_29_54_10899.jpg', '/home/pi/Desktop/images/01122025/05/30/image_01122025_05_30_14_9890.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/28/image_01122025_05_29_04_9605.jpg
/home/pi/Desktop/images/01122025/05/29/image_01122025_05_29_24_10645.jpg
/home/pi/Desktop/images/01122025/05/29/image_01122025_05_29_34_9600.jpg
/home/pi/Desktop/images/01122025/05/29/image_01122025_05_29_54_10899.jpg
/home/pi/Desktop/images/01122025/05/30/image_01122025_05_30_14_9890.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159153","1397159155","1397159152","1397159154","1397159162"],"photo_ids_order":["1397159152","1397159153","1397159154","1397159155","1397159162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fd81befae4e2581d9cd81ccb6567c9c7.jpg","text":"TemporaryFile(/tmp/multipartBody3816829417751985274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563523438,"filename":"image_01122025_05_29_24_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/1/8562165b2c593cfa202dd514e0c32e55.jpg","text":"TemporaryFile(/tmp/multipartBody1193415674597474507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563523438,"filename":"image_01122025_05_29_54_10899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/be915c0c17865389fbb9f3de11f61de9.jpg","text":"TemporaryFile(/tmp/multipartBody5518228265822938365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563523438,"filename":"image_01122025_05_29_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/1/0d09fbe888b81daa3c7db02356165c14.jpg","text":"TemporaryFile(/tmp/multipartBody8083086130619292346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563523438,"filename":"image_01122025_05_29_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/1/1ca4162e67fb8aec9b14b8d9e2eaa1ed.jpg","text":"TemporaryFile(/tmp/multipartBody4855996163877243030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563523438,"filename":"image_01122025_05_30_14_9890.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159154","file1":"1397159153","file0":"1397159152","file4":"1397159162","file3":"1397159155"},"map_files_photo_id_array":[{"photo_id":"1397159154","filename":"file2"},{"photo_id":"1397159162","filename":"file4"},{"photo_id":"1397159153","filename":"file1"},{"photo_id":"1397159152","filename":"file0"},{"photo_id":"1397159155","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397159153":["hashtag1","hashtag2"]},{"1397159155":["hashtag1","hashtag2"]},{"1397159152":["hashtag1","hashtag2"]},{"1397159154":["hashtag1","hashtag2"]},{"1397159162":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397159153, 1397159155, 1397159152, 1397159154, 1397159162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.59499430656433 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-01 05:32:02.510302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/30/image_01122025_05_30_34_10689.jpg', '/home/pi/Desktop/images/01122025/05/31/image_01122025_05_31_14_10764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/30/image_01122025_05_30_34_10689.jpg
/home/pi/Desktop/images/01122025/05/31/image_01122025_05_31_14_10764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159170","1397159169"],"photo_ids_order":["1397159169","1397159170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e7c34de92f6ea4fb1aedba9d6cc69e46.jpg","text":"TemporaryFile(/tmp/multipartBody6023696161740556722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563585823,"filename":"image_01122025_05_31_14_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/1/643b487b20fa94a39909a455318c792f.jpg","text":"TemporaryFile(/tmp/multipartBody801558004045103826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563585823,"filename":"image_01122025_05_30_34_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397159170","file0":"1397159169"},"map_files_photo_id_array":[{"photo_id":"1397159170","filename":"file1"},{"photo_id":"1397159169","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397159170":["hashtag1","hashtag2"]},{"1397159169":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397159170, 1397159169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.649824857711792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 05:32:32.058189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_05_2603.jpg', '/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_14_2753.jpg', '/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_18_3515.jpg', '/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_20_2686.jpg', '/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_23_2529.jpg', '/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_27_3745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_05_2603.jpg
/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_14_2753.jpg
/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_18_3515.jpg
/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_20_2686.jpg
/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_23_2529.jpg
/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_27_3745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159182","1397159179","1397159184","1397159181","1397159180","1397159183"],"photo_ids_order":["1397159179","1397159180","1397159181","1397159182","1397159183","1397159184"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/15d243b21a86093971cf883e84ba051e.jpg","text":"TemporaryFile(/tmp/multipartBody4290921028098268217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563613738,"filename":"image_25112025_21_46_20_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/1/fe88c3d25911e88699058e293b52e3c3.jpg","text":"TemporaryFile(/tmp/multipartBody9060403381053632582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563613738,"filename":"image_25112025_21_46_05_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/909a782a2fb844f843021e32094c5b68.jpg","text":"TemporaryFile(/tmp/multipartBody2308127275812437640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563613738,"filename":"image_25112025_21_46_27_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/1/7c26fe411d100b891b987a4d52d38ec4.jpg","text":"TemporaryFile(/tmp/multipartBody8009270867795562644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563613738,"filename":"image_25112025_21_46_18_3515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/71670b2628751de6a23373ff1f3050eb.jpg","text":"TemporaryFile(/tmp/multipartBody4618169013176671226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563613738,"filename":"image_25112025_21_46_14_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/1/71aa13140da4bc2aad50bf529f56e7c9.jpg","text":"TemporaryFile(/tmp/multipartBody8928495233232159222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563613738,"filename":"image_25112025_21_46_23_2529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159181","file1":"1397159180","file0":"1397159179","file4":"1397159183","file5":"1397159184","file3":"1397159182"},"map_files_photo_id_array":[{"photo_id":"1397159184","filename":"file5"},{"photo_id":"1397159181","filename":"file2"},{"photo_id":"1397159183","filename":"file4"},{"photo_id":"1397159180","filename":"file1"},{"photo_id":"1397159179","filename":"file0"},{"photo_id":"1397159182","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397159182":["hashtag1","hashtag2"]},{"1397159179":["hashtag1","hashtag2"]},{"1397159184":["hashtag1","hashtag2"]},{"1397159181":["hashtag1","hashtag2"]},{"1397159180":["hashtag1","hashtag2"]},{"1397159183":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397159182, 1397159179, 1397159184, 1397159181, 1397159180, 1397159183)","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 = 1397159181 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_18_3515.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 58.05286145210266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 05:33:32.243684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_29_2618.jpg', '/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_33_3563.jpg', '/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_35_2664.jpg', '/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_41_2574.jpg', '/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_44_3635.jpg', '/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_47_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_29_2618.jpg
/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_33_3563.jpg
/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_35_2664.jpg
/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_41_2574.jpg
/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_44_3635.jpg
/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_47_2660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159191","1397159185","1397159188","1397159190","1397159187","1397159189"],"photo_ids_order":["1397159185","1397159187","1397159188","1397159189","1397159190","1397159191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bbdc7dad6fdfc3a01aceae82e338e525.jpg","text":"TemporaryFile(/tmp/multipartBody5892891705290213938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563679529,"filename":"image_25112025_21_46_47_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2ee226b20eb79876efcf5b0af99ab349.jpg","text":"TemporaryFile(/tmp/multipartBody1201160611914922085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563679529,"filename":"image_25112025_21_46_29_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/1/f4e79a00c7648fcb3f834fb28e1f56f3.jpg","text":"TemporaryFile(/tmp/multipartBody1320762983226007443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563679529,"filename":"image_25112025_21_46_35_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/1/f6ecf7ab6479c16de0153a3d0f10686b.jpg","text":"TemporaryFile(/tmp/multipartBody1879554324065362087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563679529,"filename":"image_25112025_21_46_44_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1ab51586340b2ccaa844a797ff88ef09.jpg","text":"TemporaryFile(/tmp/multipartBody7386736908588504914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563679529,"filename":"image_25112025_21_46_33_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/1/99e1146cf45fef7f79c161d34dfc80e7.jpg","text":"TemporaryFile(/tmp/multipartBody4779111049266271583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563679529,"filename":"image_25112025_21_46_41_2574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159188","file1":"1397159187","file0":"1397159185","file4":"1397159190","file5":"1397159191","file3":"1397159189"},"map_files_photo_id_array":[{"photo_id":"1397159191","filename":"file5"},{"photo_id":"1397159188","filename":"file2"},{"photo_id":"1397159190","filename":"file4"},{"photo_id":"1397159187","filename":"file1"},{"photo_id":"1397159185","filename":"file0"},{"photo_id":"1397159189","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397159191":["hashtag1","hashtag2"]},{"1397159185":["hashtag1","hashtag2"]},{"1397159188":["hashtag1","hashtag2"]},{"1397159190":["hashtag1","hashtag2"]},{"1397159187":["hashtag1","hashtag2"]},{"1397159189":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397159191, 1397159185, 1397159188, 1397159190, 1397159187, 1397159189)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 55.434398889541626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 05:34:32.670555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_51_3581.jpg', '/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_53_2605.jpg', '/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_56_2717.jpg', '/home/pi/Desktop/images/25112025/21/46/image_25112025_21_47_00_3614.jpg', '/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_05_2590.jpg', '/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_09_3684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_51_3581.jpg
/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_53_2605.jpg
/home/pi/Desktop/images/25112025/21/46/image_25112025_21_46_56_2717.jpg
/home/pi/Desktop/images/25112025/21/46/image_25112025_21_47_00_3614.jpg
/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_05_2590.jpg
/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_09_3684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159194","1397159197","1397159196","1397159193","1397159195","1397159198"],"photo_ids_order":["1397159193","1397159194","1397159195","1397159196","1397159197","1397159198"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ab52a6b21db5999e371bfacb55d9571a.jpg","text":"TemporaryFile(/tmp/multipartBody7381509451078675460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563734335,"filename":"image_25112025_21_46_53_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/1/0dd41b31d0fb31e89056f63941cabda9.jpg","text":"TemporaryFile(/tmp/multipartBody1744504327298710621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563734335,"filename":"image_25112025_21_47_05_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/1/558802c4487a58577c10b86e6f75126c.jpg","text":"TemporaryFile(/tmp/multipartBody7492305346353128752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563734335,"filename":"image_25112025_21_47_00_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/1/5832380358addf2c973718f228e64d96.jpg","text":"TemporaryFile(/tmp/multipartBody5991663336728042798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563734335,"filename":"image_25112025_21_46_51_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1b59837b924b957ff114588de06b12c4.jpg","text":"TemporaryFile(/tmp/multipartBody8694463645243841152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563734335,"filename":"image_25112025_21_46_56_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cb87b949b31c347b2cf1eaba0cc6aae1.jpg","text":"TemporaryFile(/tmp/multipartBody746021581176346136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563734335,"filename":"image_25112025_21_47_09_3684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159195","file1":"1397159194","file0":"1397159193","file4":"1397159197","file5":"1397159198","file3":"1397159196"},"map_files_photo_id_array":[{"photo_id":"1397159198","filename":"file5"},{"photo_id":"1397159195","filename":"file2"},{"photo_id":"1397159197","filename":"file4"},{"photo_id":"1397159194","filename":"file1"},{"photo_id":"1397159193","filename":"file0"},{"photo_id":"1397159196","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397159194":["hashtag1","hashtag2"]},{"1397159197":["hashtag1","hashtag2"]},{"1397159196":["hashtag1","hashtag2"]},{"1397159193":["hashtag1","hashtag2"]},{"1397159195":["hashtag1","hashtag2"]},{"1397159198":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397159194, 1397159197, 1397159196, 1397159193, 1397159195, 1397159198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2606635093689 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 05:35:11.984023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_11_2564.jpg', '/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_14_2662.jpg', '/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_20_2612.jpg', '/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_23_2856.jpg', '/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_27_3587.jpg', '/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_29_2783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_11_2564.jpg
/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_14_2662.jpg
/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_20_2612.jpg
/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_23_2856.jpg
/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_27_3587.jpg
/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_29_2783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159201","1397159204","1397159203","1397159200","1397159202","1397159205"],"photo_ids_order":["1397159200","1397159201","1397159202","1397159203","1397159204","1397159205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/546e07a927d91464677d5865e247de74.jpg","text":"TemporaryFile(/tmp/multipartBody425012557801368646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563773643,"filename":"image_25112025_21_47_14_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/1/7084672dd1a30bedd8c0d24715a7cbe5.jpg","text":"TemporaryFile(/tmp/multipartBody4402403646361790231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563773643,"filename":"image_25112025_21_47_27_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/1/b5efc1d66a8f36495a5e90c3edca8450.jpg","text":"TemporaryFile(/tmp/multipartBody8484032381530583780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563773643,"filename":"image_25112025_21_47_23_2856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/285786fb8ef107bd69f40cd0ddfdc12a.jpg","text":"TemporaryFile(/tmp/multipartBody6698772826683983767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563773643,"filename":"image_25112025_21_47_11_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/1/b391a3e2278beb3b8f44c33d42810d8e.jpg","text":"TemporaryFile(/tmp/multipartBody3372662245579908205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563773643,"filename":"image_25112025_21_47_20_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/1/82293f12a52ff8a5db65f510bab5426e.jpg","text":"TemporaryFile(/tmp/multipartBody8578569249434461407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563773643,"filename":"image_25112025_21_47_29_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159202","file1":"1397159201","file0":"1397159200","file4":"1397159204","file5":"1397159205","file3":"1397159203"},"map_files_photo_id_array":[{"photo_id":"1397159205","filename":"file5"},{"photo_id":"1397159202","filename":"file2"},{"photo_id":"1397159204","filename":"file4"},{"photo_id":"1397159201","filename":"file1"},{"photo_id":"1397159200","filename":"file0"},{"photo_id":"1397159203","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397159201":["hashtag1","hashtag2"]},{"1397159204":["hashtag1","hashtag2"]},{"1397159203":["hashtag1","hashtag2"]},{"1397159200":["hashtag1","hashtag2"]},{"1397159202":["hashtag1","hashtag2"]},{"1397159205":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397159201, 1397159204, 1397159203, 1397159200, 1397159202, 1397159205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.468042850494385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:36:02.773161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/31/image_01122025_05_31_34_9734.jpg', '/home/pi/Desktop/images/01122025/05/31/image_01122025_05_32_04_9661.jpg', '/home/pi/Desktop/images/01122025/05/32/image_01122025_05_32_24_9651.jpg', '/home/pi/Desktop/images/01122025/05/32/image_01122025_05_32_34_9863.jpg', '/home/pi/Desktop/images/01122025/05/32/image_01122025_05_32_54_10618.jpg', '/home/pi/Desktop/images/01122025/05/32/image_01122025_05_33_04_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/31/image_01122025_05_31_34_9734.jpg
/home/pi/Desktop/images/01122025/05/31/image_01122025_05_32_04_9661.jpg
/home/pi/Desktop/images/01122025/05/32/image_01122025_05_32_24_9651.jpg
/home/pi/Desktop/images/01122025/05/32/image_01122025_05_32_34_9863.jpg
/home/pi/Desktop/images/01122025/05/32/image_01122025_05_32_54_10618.jpg
/home/pi/Desktop/images/01122025/05/32/image_01122025_05_33_04_9638.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6410212516784668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 05:36:12.264534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_32_2574.jpg', '/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_36_3645.jpg', '/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_38_2694.jpg', '/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_41_2645.jpg', '/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_45_3649.jpg', '/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_47_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_32_2574.jpg
/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_36_3645.jpg
/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_38_2694.jpg
/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_41_2645.jpg
/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_45_3649.jpg
/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_47_2729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159216","1397159210","1397159212","1397159215","1397159214","1397159217"],"photo_ids_order":["1397159210","1397159212","1397159214","1397159215","1397159216","1397159217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0e2e8d83f73a8e5865b3a05d30eb6c2c.jpg","text":"TemporaryFile(/tmp/multipartBody4017206274546246110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563833723,"filename":"image_25112025_21_47_45_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/1/8390501b9b86f1ce00a15e289ae49675.jpg","text":"TemporaryFile(/tmp/multipartBody1472476205572027439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563833723,"filename":"image_25112025_21_47_32_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/1/f8721fbcf56300e900bd6aca167a65af.jpg","text":"TemporaryFile(/tmp/multipartBody216892914586063011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563833723,"filename":"image_25112025_21_47_36_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/1/efc585744fa49415861109f568b4b3e2.jpg","text":"TemporaryFile(/tmp/multipartBody3422559672724256539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563833723,"filename":"image_25112025_21_47_41_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1c9ce378c86a19a354235ae9d22509a4.jpg","text":"TemporaryFile(/tmp/multipartBody3971751519587707324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563833723,"filename":"image_25112025_21_47_38_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/1/fde2455486c8335391c57b94889b2832.jpg","text":"TemporaryFile(/tmp/multipartBody3115127521947453883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563833723,"filename":"image_25112025_21_47_47_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159214","file1":"1397159212","file0":"1397159210","file4":"1397159216","file5":"1397159217","file3":"1397159215"},"map_files_photo_id_array":[{"photo_id":"1397159217","filename":"file5"},{"photo_id":"1397159214","filename":"file2"},{"photo_id":"1397159216","filename":"file4"},{"photo_id":"1397159212","filename":"file1"},{"photo_id":"1397159210","filename":"file0"},{"photo_id":"1397159215","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397159216":["hashtag1","hashtag2"]},{"1397159210":["hashtag1","hashtag2"]},{"1397159212":["hashtag1","hashtag2"]},{"1397159215":["hashtag1","hashtag2"]},{"1397159214":["hashtag1","hashtag2"]},{"1397159217":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397159216, 1397159210, 1397159212, 1397159215, 1397159214, 1397159217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.68003034591675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:37:03.080765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/31/image_01122025_05_31_34_9734.jpg', '/home/pi/Desktop/images/01122025/05/31/image_01122025_05_32_04_9661.jpg', '/home/pi/Desktop/images/01122025/05/32/image_01122025_05_32_24_9651.jpg', '/home/pi/Desktop/images/01122025/05/32/image_01122025_05_32_34_9863.jpg', '/home/pi/Desktop/images/01122025/05/32/image_01122025_05_32_54_10618.jpg', '/home/pi/Desktop/images/01122025/05/32/image_01122025_05_33_04_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/31/image_01122025_05_31_34_9734.jpg
/home/pi/Desktop/images/01122025/05/31/image_01122025_05_32_04_9661.jpg
/home/pi/Desktop/images/01122025/05/32/image_01122025_05_32_24_9651.jpg
/home/pi/Desktop/images/01122025/05/32/image_01122025_05_32_34_9863.jpg
/home/pi/Desktop/images/01122025/05/32/image_01122025_05_32_54_10618.jpg
/home/pi/Desktop/images/01122025/05/32/image_01122025_05_33_04_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":["1397159219","1397159222","1397159221","1397159218","1397159220","1397159223"],"photo_ids_order":["1397159218","1397159219","1397159220","1397159221","1397159222","1397159223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/79e7c1cd75a82b9af9ac4e19917b9263.jpg","text":"TemporaryFile(/tmp/multipartBody14215153641327608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563883956,"filename":"image_01122025_05_32_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/1/340103f9f155c1ec8ab17d9ccbbc7b56.jpg","text":"TemporaryFile(/tmp/multipartBody8444517029927980767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563883956,"filename":"image_01122025_05_32_54_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ee63388cc276bd41ed749865a3eff35f.jpg","text":"TemporaryFile(/tmp/multipartBody4431905188221959760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563883956,"filename":"image_01122025_05_32_34_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9ce931cd8dc23469d6689e935b5549a5.jpg","text":"TemporaryFile(/tmp/multipartBody6542253973617600749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563883956,"filename":"image_01122025_05_31_34_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/19741450bd047801bb6bb5939cc20813.jpg","text":"TemporaryFile(/tmp/multipartBody5324092388776582664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563883956,"filename":"image_01122025_05_32_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/1/884ba8b8cd5b6e5d78df0519dbd7b4ed.jpg","text":"TemporaryFile(/tmp/multipartBody8562767718551556245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563883956,"filename":"image_01122025_05_33_04_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159220","file1":"1397159219","file0":"1397159218","file4":"1397159222","file5":"1397159223","file3":"1397159221"},"map_files_photo_id_array":[{"photo_id":"1397159223","filename":"file5"},{"photo_id":"1397159220","filename":"file2"},{"photo_id":"1397159222","filename":"file4"},{"photo_id":"1397159219","filename":"file1"},{"photo_id":"1397159218","filename":"file0"},{"photo_id":"1397159221","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397159219":["hashtag1","hashtag2"]},{"1397159222":["hashtag1","hashtag2"]},{"1397159221":["hashtag1","hashtag2"]},{"1397159218":["hashtag1","hashtag2"]},{"1397159220":["hashtag1","hashtag2"]},{"1397159223":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397159219, 1397159222, 1397159221, 1397159218, 1397159220, 1397159223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20182919502258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 05:37:42.455160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/43/image_01112025_00_43_08_2619.jpg', '/home/pi/Desktop/images/01112025/00/43/image_01112025_00_43_11_2712.jpg', '/home/pi/Desktop/images/01112025/00/43/image_01112025_00_43_20_2891.jpg', '/home/pi/Desktop/images/01112025/00/43/image_01112025_00_43_24_3627.jpg', '/home/pi/Desktop/images/01112025/00/43/image_01112025_00_43_29_2736.jpg', '/home/pi/Desktop/images/01112025/00/43/image_01112025_00_43_33_3626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/43/image_01112025_00_43_08_2619.jpg
/home/pi/Desktop/images/01112025/00/43/image_01112025_00_43_11_2712.jpg
/home/pi/Desktop/images/01112025/00/43/image_01112025_00_43_20_2891.jpg
/home/pi/Desktop/images/01112025/00/43/image_01112025_00_43_24_3627.jpg
/home/pi/Desktop/images/01112025/00/43/image_01112025_00_43_29_2736.jpg
/home/pi/Desktop/images/01112025/00/43/image_01112025_00_43_33_3626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159225","1397159228","1397159230","1397159227","1397159229","1397159226"],"photo_ids_order":["1397159225","1397159226","1397159227","1397159228","1397159229","1397159230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7af33f2318275b45a5ef78ee4e6f24c2.jpg","text":"TemporaryFile(/tmp/multipartBody2088509337704638039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563924177,"filename":"image_01112025_00_43_08_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/1/d29830f459db70d22430f75903c69b46.jpg","text":"TemporaryFile(/tmp/multipartBody8215163326733198418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563924177,"filename":"image_01112025_00_43_24_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/1/41ed6a8d6452fa994c72f0b0ec484f75.jpg","text":"TemporaryFile(/tmp/multipartBody3236878872340333796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563924177,"filename":"image_01112025_00_43_33_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/1/89d9ecb9cb9b8e97d4f0853def3960e8.jpg","text":"TemporaryFile(/tmp/multipartBody4396123155234169509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563924177,"filename":"image_01112025_00_43_20_2891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e28ccd3b02ead1fecccc0ce675f68d35.jpg","text":"TemporaryFile(/tmp/multipartBody4124903562973274496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563924177,"filename":"image_01112025_00_43_29_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cafa0a96fd2e6b6534ca06687edf2c38.jpg","text":"TemporaryFile(/tmp/multipartBody6021153016221953081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563924177,"filename":"image_01112025_00_43_11_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159227","file1":"1397159226","file0":"1397159225","file4":"1397159229","file5":"1397159230","file3":"1397159228"},"map_files_photo_id_array":[{"photo_id":"1397159230","filename":"file5"},{"photo_id":"1397159227","filename":"file2"},{"photo_id":"1397159229","filename":"file4"},{"photo_id":"1397159226","filename":"file1"},{"photo_id":"1397159225","filename":"file0"},{"photo_id":"1397159228","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397159225":["hashtag1","hashtag2"]},{"1397159228":["hashtag1","hashtag2"]},{"1397159230":["hashtag1","hashtag2"]},{"1397159227":["hashtag1","hashtag2"]},{"1397159229":["hashtag1","hashtag2"]},{"1397159226":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397159225, 1397159228, 1397159230, 1397159227, 1397159229, 1397159226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96340990066528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 05:38:22.632663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/33/image_01122025_05_33_34_9687.jpg', '/home/pi/Desktop/images/01122025/05/33/image_01122025_05_33_44_9619.jpg', '/home/pi/Desktop/images/01122025/05/33/image_01122025_05_33_54_10845.jpg', '/home/pi/Desktop/images/01122025/05/34/image_01122025_05_34_14_9717.jpg', '/home/pi/Desktop/images/01122025/05/34/image_01122025_05_34_24_9819.jpg', '/home/pi/Desktop/images/01122025/05/34/image_01122025_05_34_33_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/33/image_01122025_05_33_34_9687.jpg
/home/pi/Desktop/images/01122025/05/33/image_01122025_05_33_44_9619.jpg
/home/pi/Desktop/images/01122025/05/33/image_01122025_05_33_54_10845.jpg
/home/pi/Desktop/images/01122025/05/34/image_01122025_05_34_14_9717.jpg
/home/pi/Desktop/images/01122025/05/34/image_01122025_05_34_24_9819.jpg
/home/pi/Desktop/images/01122025/05/34/image_01122025_05_34_33_9730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159231","1397159234","1397159233","1397159232","1397159235","1397159237"],"photo_ids_order":["1397159231","1397159232","1397159233","1397159234","1397159235","1397159237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e54d6776d47bc96cc319e0f7b8d2d9fb.jpg","text":"TemporaryFile(/tmp/multipartBody7329275506600325233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563963364,"filename":"image_01122025_05_33_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/1/eaabe5408e8a5341e7e07e37a6dce1f2.jpg","text":"TemporaryFile(/tmp/multipartBody8911096871743325930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563963364,"filename":"image_01122025_05_34_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/1/26c67f5ab22d54f918e764d09f175524.jpg","text":"TemporaryFile(/tmp/multipartBody3632521887627300025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563963364,"filename":"image_01122025_05_33_54_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/1/fa81a91517194550699db2f751beb328.jpg","text":"TemporaryFile(/tmp/multipartBody1957303579888601324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563963364,"filename":"image_01122025_05_33_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/1/4df1f50c07defcaa15c110fb1a9571aa.jpg","text":"TemporaryFile(/tmp/multipartBody7400399181798020626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563963364,"filename":"image_01122025_05_34_24_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/30945f44053181b1c60df492a1e08d6e.jpg","text":"TemporaryFile(/tmp/multipartBody6758562541197255050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764563963364,"filename":"image_01122025_05_34_33_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159233","file1":"1397159232","file0":"1397159231","file4":"1397159235","file5":"1397159237","file3":"1397159234"},"map_files_photo_id_array":[{"photo_id":"1397159237","filename":"file5"},{"photo_id":"1397159233","filename":"file2"},{"photo_id":"1397159235","filename":"file4"},{"photo_id":"1397159232","filename":"file1"},{"photo_id":"1397159231","filename":"file0"},{"photo_id":"1397159234","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397159231":["hashtag1","hashtag2"]},{"1397159234":["hashtag1","hashtag2"]},{"1397159233":["hashtag1","hashtag2"]},{"1397159232":["hashtag1","hashtag2"]},{"1397159235":["hashtag1","hashtag2"]},{"1397159237":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397159231, 1397159234, 1397159233, 1397159232, 1397159235, 1397159237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.540287256240845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:39:03.872851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/34/image_01122025_05_34_54_10104.jpg', '/home/pi/Desktop/images/01122025/05/35/image_01122025_05_35_34_9872.jpg', '/home/pi/Desktop/images/01122025/05/35/image_01122025_05_35_54_10677.jpg', '/home/pi/Desktop/images/01122025/05/36/image_01122025_05_36_14_9759.jpg', '/home/pi/Desktop/images/01122025/05/36/image_01122025_05_36_34_10798.jpg', '/home/pi/Desktop/images/01122025/05/36/image_01122025_05_36_54_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/34/image_01122025_05_34_54_10104.jpg
/home/pi/Desktop/images/01122025/05/35/image_01122025_05_35_34_9872.jpg
/home/pi/Desktop/images/01122025/05/35/image_01122025_05_35_54_10677.jpg
/home/pi/Desktop/images/01122025/05/36/image_01122025_05_36_14_9759.jpg
/home/pi/Desktop/images/01122025/05/36/image_01122025_05_36_34_10798.jpg
/home/pi/Desktop/images/01122025/05/36/image_01122025_05_36_54_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":["1397159246","1397159240","1397159242","1397159247","1397159244","1397159238"],"photo_ids_order":["1397159238","1397159240","1397159242","1397159244","1397159246","1397159247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f775101bc3aeb8a6ef9f30181a93644a.jpg","text":"TemporaryFile(/tmp/multipartBody1077598651886719760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564004690,"filename":"image_01122025_05_36_34_10798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4d69bca7c116f40baa9340707760e815.jpg","text":"TemporaryFile(/tmp/multipartBody2771612841465452458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564004690,"filename":"image_01122025_05_35_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/1/f6a38ddab85cd5aa7fa884f0a80a35f0.jpg","text":"TemporaryFile(/tmp/multipartBody894872572320362457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564004690,"filename":"image_01122025_05_35_54_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/29aeb4b530fb46c1453e160e6b4f7203.jpg","text":"TemporaryFile(/tmp/multipartBody2893050162997341052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564004690,"filename":"image_01122025_05_36_54_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/342a79e82dc0e456997a87a3b1ff762d.jpg","text":"TemporaryFile(/tmp/multipartBody9154567493517201293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564004690,"filename":"image_01122025_05_36_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/1/e0712f3f05905b1e61b90cd77c74970c.jpg","text":"TemporaryFile(/tmp/multipartBody2554715016223217454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564004690,"filename":"image_01122025_05_34_54_10104.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159242","file1":"1397159240","file0":"1397159238","file4":"1397159246","file5":"1397159247","file3":"1397159244"},"map_files_photo_id_array":[{"photo_id":"1397159247","filename":"file5"},{"photo_id":"1397159242","filename":"file2"},{"photo_id":"1397159246","filename":"file4"},{"photo_id":"1397159240","filename":"file1"},{"photo_id":"1397159238","filename":"file0"},{"photo_id":"1397159244","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397159246":["hashtag1","hashtag2"]},{"1397159240":["hashtag1","hashtag2"]},{"1397159242":["hashtag1","hashtag2"]},{"1397159247":["hashtag1","hashtag2"]},{"1397159244":["hashtag1","hashtag2"]},{"1397159238":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397159246, 1397159240, 1397159242, 1397159247, 1397159244, 1397159238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84418749809265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 05:39:42.855169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/43/image_01112025_00_43_35_2653.jpg', '/home/pi/Desktop/images/01112025/00/43/image_01112025_00_43_44_3593.jpg', '/home/pi/Desktop/images/01112025/00/43/image_01112025_00_43_47_2803.jpg', '/home/pi/Desktop/images/01112025/00/43/image_01112025_00_43_50_2797.jpg', '/home/pi/Desktop/images/01112025/00/43/image_01112025_00_43_56_2731.jpg', '/home/pi/Desktop/images/01112025/00/43/image_01112025_00_43_59_3669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/43/image_01112025_00_43_35_2653.jpg
/home/pi/Desktop/images/01112025/00/43/image_01112025_00_43_44_3593.jpg
/home/pi/Desktop/images/01112025/00/43/image_01112025_00_43_47_2803.jpg
/home/pi/Desktop/images/01112025/00/43/image_01112025_00_43_50_2797.jpg
/home/pi/Desktop/images/01112025/00/43/image_01112025_00_43_56_2731.jpg
/home/pi/Desktop/images/01112025/00/43/image_01112025_00_43_59_3669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159252","1397159249","1397159254","1397159251","1397159253","1397159255"],"photo_ids_order":["1397159249","1397159251","1397159252","1397159253","1397159254","1397159255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/40c8c58209b7697860fea814e3a4a923.jpg","text":"TemporaryFile(/tmp/multipartBody2546343661801411202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564043769,"filename":"image_01112025_00_43_47_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/1/dd8022780341bfd850140ec65f1e3835.jpg","text":"TemporaryFile(/tmp/multipartBody3936064618394669530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564043769,"filename":"image_01112025_00_43_35_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/1/9e18216c562658e1eac5c331f2a28c54.jpg","text":"TemporaryFile(/tmp/multipartBody2352092239310250274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564043769,"filename":"image_01112025_00_43_56_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/1/f9324f8d433309f028c5e936b15daa12.jpg","text":"TemporaryFile(/tmp/multipartBody5381850260255005146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564043769,"filename":"image_01112025_00_43_44_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/1/7d18adc8d74d59aedf662f9e1a77047c.jpg","text":"TemporaryFile(/tmp/multipartBody7835077923014724026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564043769,"filename":"image_01112025_00_43_50_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/1/2ca3ba6d1e34f477c3623d41e3a443fb.jpg","text":"TemporaryFile(/tmp/multipartBody183989432264395825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564043769,"filename":"image_01112025_00_43_59_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159252","file1":"1397159251","file0":"1397159249","file4":"1397159254","file5":"1397159255","file3":"1397159253"},"map_files_photo_id_array":[{"photo_id":"1397159255","filename":"file5"},{"photo_id":"1397159252","filename":"file2"},{"photo_id":"1397159254","filename":"file4"},{"photo_id":"1397159251","filename":"file1"},{"photo_id":"1397159249","filename":"file0"},{"photo_id":"1397159253","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397159252":["hashtag1","hashtag2"]},{"1397159249":["hashtag1","hashtag2"]},{"1397159254":["hashtag1","hashtag2"]},{"1397159251":["hashtag1","hashtag2"]},{"1397159253":["hashtag1","hashtag2"]},{"1397159255":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397159252, 1397159249, 1397159254, 1397159251, 1397159253, 1397159255)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.90783953666687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 05:40:32.121054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_50_2596.jpg', '/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_53_3558.jpg', '/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_56_2440.jpg', '/home/pi/Desktop/images/25112025/21/47/image_25112025_21_48_00_3734.jpg', '/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_02_2390.jpg', '/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_06_3614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_50_2596.jpg
/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_53_3558.jpg
/home/pi/Desktop/images/25112025/21/47/image_25112025_21_47_56_2440.jpg
/home/pi/Desktop/images/25112025/21/47/image_25112025_21_48_00_3734.jpg
/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_02_2390.jpg
/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_06_3614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159272","1397159275","1397159278","1397159277","1397159273","1397159276"],"photo_ids_order":["1397159272","1397159273","1397159275","1397159276","1397159277","1397159278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5ea32ab4e209ab12ead88a8cde58a7a9.jpg","text":"TemporaryFile(/tmp/multipartBody7996022597950847874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564095602,"filename":"image_25112025_21_47_50_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d2294e644e999aae0b239e96703d66df.jpg","text":"TemporaryFile(/tmp/multipartBody4348655900827454265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564095602,"filename":"image_25112025_21_47_56_2440.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ba715341768f576fac454d846c250065.jpg","text":"TemporaryFile(/tmp/multipartBody2937017967948454033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564095602,"filename":"image_25112025_21_48_06_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a0998ee8b6a71d999887542d082b2dcd.jpg","text":"TemporaryFile(/tmp/multipartBody4600292351764295893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564095602,"filename":"image_25112025_21_48_02_2390.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0903ab695483404c9e49e46039802fe1.jpg","text":"TemporaryFile(/tmp/multipartBody7538573218176993344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564095602,"filename":"image_25112025_21_47_53_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d4992dbbe0130de2dba558a3c1bdc035.jpg","text":"TemporaryFile(/tmp/multipartBody3417919509937463918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564095602,"filename":"image_25112025_21_48_00_3734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159275","file1":"1397159273","file0":"1397159272","file4":"1397159277","file5":"1397159278","file3":"1397159276"},"map_files_photo_id_array":[{"photo_id":"1397159278","filename":"file5"},{"photo_id":"1397159275","filename":"file2"},{"photo_id":"1397159277","filename":"file4"},{"photo_id":"1397159273","filename":"file1"},{"photo_id":"1397159272","filename":"file0"},{"photo_id":"1397159276","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397159272":["hashtag1","hashtag2"]},{"1397159275":["hashtag1","hashtag2"]},{"1397159278":["hashtag1","hashtag2"]},{"1397159277":["hashtag1","hashtag2"]},{"1397159273":["hashtag1","hashtag2"]},{"1397159276":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397159272, 1397159275, 1397159278, 1397159277, 1397159273, 1397159276)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.06066942214966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 05:41:22.150057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/36/image_01122025_05_37_04_10631.jpg', '/home/pi/Desktop/images/01122025/05/37/image_01122025_05_37_34_10620.jpg', '/home/pi/Desktop/images/01122025/05/37/image_01122025_05_37_53_9732.jpg', '/home/pi/Desktop/images/01122025/05/38/image_01122025_05_38_14_9758.jpg', '/home/pi/Desktop/images/01122025/05/38/image_01122025_05_38_24_9791.jpg', '/home/pi/Desktop/images/01122025/05/39/image_01122025_05_39_13_9795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/36/image_01122025_05_37_04_10631.jpg
/home/pi/Desktop/images/01122025/05/37/image_01122025_05_37_34_10620.jpg
/home/pi/Desktop/images/01122025/05/37/image_01122025_05_37_53_9732.jpg
/home/pi/Desktop/images/01122025/05/38/image_01122025_05_38_14_9758.jpg
/home/pi/Desktop/images/01122025/05/38/image_01122025_05_38_24_9791.jpg
/home/pi/Desktop/images/01122025/05/39/image_01122025_05_39_13_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":["1397159290","1397159284","1397159287","1397159286","1397159288","1397159285"],"photo_ids_order":["1397159284","1397159285","1397159286","1397159287","1397159288","1397159290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/861c26e50f153f8e81cf74dd472d6968.jpg","text":"TemporaryFile(/tmp/multipartBody5987296182726518627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564142868,"filename":"image_01122025_05_39_13_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/1/a5bfcc4760cc99c7dc3b54c908fc324d.jpg","text":"TemporaryFile(/tmp/multipartBody2469744805902305369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564142868,"filename":"image_01122025_05_37_04_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/66affec49014969357ae0ef08d9ed6d6.jpg","text":"TemporaryFile(/tmp/multipartBody1834291553042112378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564142868,"filename":"image_01122025_05_38_14_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/103f3a4d81cfc2acf37279642671a116.jpg","text":"TemporaryFile(/tmp/multipartBody4470437797451552455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564142868,"filename":"image_01122025_05_37_53_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d3619d8d94ac83f33b1cee97fa0466fe.jpg","text":"TemporaryFile(/tmp/multipartBody4991254085433902137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564142868,"filename":"image_01122025_05_38_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/1/cc7dfe6724743bdbb994c58d533db66f.jpg","text":"TemporaryFile(/tmp/multipartBody4589378659407113341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564142868,"filename":"image_01122025_05_37_34_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159286","file1":"1397159285","file0":"1397159284","file4":"1397159288","file5":"1397159290","file3":"1397159287"},"map_files_photo_id_array":[{"photo_id":"1397159290","filename":"file5"},{"photo_id":"1397159286","filename":"file2"},{"photo_id":"1397159288","filename":"file4"},{"photo_id":"1397159285","filename":"file1"},{"photo_id":"1397159284","filename":"file0"},{"photo_id":"1397159287","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397159290":["hashtag1","hashtag2"]},{"1397159284":["hashtag1","hashtag2"]},{"1397159287":["hashtag1","hashtag2"]},{"1397159286":["hashtag1","hashtag2"]},{"1397159288":["hashtag1","hashtag2"]},{"1397159285":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397159290, 1397159284, 1397159287, 1397159286, 1397159288, 1397159285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58208179473877 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:42:03.222070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/39/image_01122025_05_39_24_10636.jpg', '/home/pi/Desktop/images/01122025/05/39/image_01122025_05_39_34_9858.jpg', '/home/pi/Desktop/images/01122025/05/39/image_01122025_05_39_44_9661.jpg', '/home/pi/Desktop/images/01122025/05/39/image_01122025_05_40_04_9663.jpg', '/home/pi/Desktop/images/01122025/05/40/image_01122025_05_40_34_9772.jpg', '/home/pi/Desktop/images/01122025/05/40/image_01122025_05_40_44_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/39/image_01122025_05_39_24_10636.jpg
/home/pi/Desktop/images/01122025/05/39/image_01122025_05_39_34_9858.jpg
/home/pi/Desktop/images/01122025/05/39/image_01122025_05_39_44_9661.jpg
/home/pi/Desktop/images/01122025/05/39/image_01122025_05_40_04_9663.jpg
/home/pi/Desktop/images/01122025/05/40/image_01122025_05_40_34_9772.jpg
/home/pi/Desktop/images/01122025/05/40/image_01122025_05_40_44_9672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159300","1397159293","1397159292","1397159291","1397159294","1397159297"],"photo_ids_order":["1397159291","1397159292","1397159293","1397159294","1397159297","1397159300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/defe24c7497d75f4b23f5f1be77528d4.jpg","text":"TemporaryFile(/tmp/multipartBody2661857836727461947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564188517,"filename":"image_01122025_05_40_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/1/82abb6b7765152972f066074b1b66823.jpg","text":"TemporaryFile(/tmp/multipartBody2285536522185090511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564188517,"filename":"image_01122025_05_39_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/1/0b5a57ec42748ba57e9165700fbfb1a4.jpg","text":"TemporaryFile(/tmp/multipartBody5319705313567198780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564188517,"filename":"image_01122025_05_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/1/d3ddf67c548955298a53c503039f01fd.jpg","text":"TemporaryFile(/tmp/multipartBody1566131925605972832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564188517,"filename":"image_01122025_05_39_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/1/d2ecdd99987c886b6cd214325110b4fe.jpg","text":"TemporaryFile(/tmp/multipartBody3452736868446110157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564188517,"filename":"image_01122025_05_40_04_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/543e7456d17102f4396177b0c959b59c.jpg","text":"TemporaryFile(/tmp/multipartBody7781185847461602618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564188517,"filename":"image_01122025_05_40_34_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159293","file1":"1397159292","file0":"1397159291","file4":"1397159297","file5":"1397159300","file3":"1397159294"},"map_files_photo_id_array":[{"photo_id":"1397159300","filename":"file5"},{"photo_id":"1397159293","filename":"file2"},{"photo_id":"1397159297","filename":"file4"},{"photo_id":"1397159292","filename":"file1"},{"photo_id":"1397159291","filename":"file0"},{"photo_id":"1397159294","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397159300":["hashtag1","hashtag2"]},{"1397159293":["hashtag1","hashtag2"]},{"1397159292":["hashtag1","hashtag2"]},{"1397159291":["hashtag1","hashtag2"]},{"1397159294":["hashtag1","hashtag2"]},{"1397159297":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397159300, 1397159293, 1397159292, 1397159291, 1397159294, 1397159297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.837536573410034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:43:02.692078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 05:43:12.030286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 05:43:22.137452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/40/image_01122025_05_40_54_9731.jpg', '/home/pi/Desktop/images/01122025/05/40/image_01122025_05_41_04_10650.jpg', '/home/pi/Desktop/images/01122025/05/41/image_01122025_05_41_24_9662.jpg', '/home/pi/Desktop/images/01122025/05/41/image_01122025_05_41_34_10827.jpg', '/home/pi/Desktop/images/01122025/05/41/image_01122025_05_41_44_9696.jpg', '/home/pi/Desktop/images/01122025/05/41/image_01122025_05_42_04_9871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/40/image_01122025_05_40_54_9731.jpg
/home/pi/Desktop/images/01122025/05/40/image_01122025_05_41_04_10650.jpg
/home/pi/Desktop/images/01122025/05/41/image_01122025_05_41_24_9662.jpg
/home/pi/Desktop/images/01122025/05/41/image_01122025_05_41_34_10827.jpg
/home/pi/Desktop/images/01122025/05/41/image_01122025_05_41_44_9696.jpg
/home/pi/Desktop/images/01122025/05/41/image_01122025_05_42_04_9871.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159324","1397159327","1397159335","1397159314","1397159331","1397159322"],"photo_ids_order":["1397159314","1397159322","1397159324","1397159327","1397159331","1397159335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/18e2b492b1aeebace779f0315f8cf659.jpg","text":"TemporaryFile(/tmp/multipartBody516091985249900902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564262891,"filename":"image_01122025_05_41_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/1/794786f0c72ed490d97b36d89a331e7c.jpg","text":"TemporaryFile(/tmp/multipartBody8911186036426849717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564262891,"filename":"image_01122025_05_41_34_10827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bdf09acc5e59ee35990935444078f6d8.jpg","text":"TemporaryFile(/tmp/multipartBody3225758866129380433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564262891,"filename":"image_01122025_05_42_04_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f54124d9c4ff7a6169eee6d87bd4d970.jpg","text":"TemporaryFile(/tmp/multipartBody7545371542650653140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564262891,"filename":"image_01122025_05_40_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/1/b5718dbc1d453e2e56f42a57c0799436.jpg","text":"TemporaryFile(/tmp/multipartBody8177692946120984627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564262891,"filename":"image_01122025_05_41_44_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5fe9b0254c955b15edfed46d5a4d0de3.jpg","text":"TemporaryFile(/tmp/multipartBody1456181100282497347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564262891,"filename":"image_01122025_05_41_04_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159324","file1":"1397159322","file0":"1397159314","file4":"1397159331","file5":"1397159335","file3":"1397159327"},"map_files_photo_id_array":[{"photo_id":"1397159335","filename":"file5"},{"photo_id":"1397159324","filename":"file2"},{"photo_id":"1397159331","filename":"file4"},{"photo_id":"1397159322","filename":"file1"},{"photo_id":"1397159314","filename":"file0"},{"photo_id":"1397159327","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397159324":["hashtag1","hashtag2"]},{"1397159327":["hashtag1","hashtag2"]},{"1397159335":["hashtag1","hashtag2"]},{"1397159314":["hashtag1","hashtag2"]},{"1397159331":["hashtag1","hashtag2"]},{"1397159322":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397159324, 1397159327, 1397159335, 1397159314, 1397159331, 1397159322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.802818298339844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:44:03.017964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/42/image_01122025_05_42_34_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/42/image_01122025_05_42_34_9643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159337"],"photo_id":"1397159337","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fe8e2c1ec7e60fdc57e00c402bf9e812.jpg","text":"TemporaryFile(/tmp/multipartBody867752879370848918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564303576,"filename":"image_01122025_05_42_34_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1397159337"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1397159337"}],"hashtags":[],"portfolio_id":"29033749","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.858271598815918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 05:44:22.290824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/42/image_01122025_05_42_43_9512.jpg', '/home/pi/Desktop/images/01122025/05/42/image_01122025_05_43_04_9686.jpg', '/home/pi/Desktop/images/01122025/05/43/image_01122025_05_43_13_9614.jpg', '/home/pi/Desktop/images/01122025/05/43/image_01122025_05_43_24_10813.jpg', '/home/pi/Desktop/images/01122025/05/43/image_01122025_05_43_34_10076.jpg', '/home/pi/Desktop/images/01122025/05/43/image_01122025_05_43_44_9800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/42/image_01122025_05_42_43_9512.jpg
/home/pi/Desktop/images/01122025/05/42/image_01122025_05_43_04_9686.jpg
/home/pi/Desktop/images/01122025/05/43/image_01122025_05_43_13_9614.jpg
/home/pi/Desktop/images/01122025/05/43/image_01122025_05_43_24_10813.jpg
/home/pi/Desktop/images/01122025/05/43/image_01122025_05_43_34_10076.jpg
/home/pi/Desktop/images/01122025/05/43/image_01122025_05_43_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":["1397159351","1397159345","1397159348","1397159346","1397159349","1397159342"],"photo_ids_order":["1397159342","1397159345","1397159346","1397159348","1397159349","1397159351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ce0487ce0c94e4e037392e5369690a4f.jpg","text":"TemporaryFile(/tmp/multipartBody4948006047510944516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564323060,"filename":"image_01122025_05_43_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/1/f76090128029f78d30e7e15333e124c2.jpg","text":"TemporaryFile(/tmp/multipartBody26922690111144005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564323060,"filename":"image_01122025_05_43_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/1/3783aff177e7f14a05f2afde47d464e7.jpg","text":"TemporaryFile(/tmp/multipartBody5895235542919456064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564323060,"filename":"image_01122025_05_43_24_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/1/f3d64e9fb366f6d5967696d75e53ce86.jpg","text":"TemporaryFile(/tmp/multipartBody1127416489918479233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564323060,"filename":"image_01122025_05_43_13_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/1/e8c7bc0194fdce1f44b2fb2a0c89e9f3.jpg","text":"TemporaryFile(/tmp/multipartBody5298801883296750112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564323060,"filename":"image_01122025_05_43_34_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/1/8f069a4d149a910b0f76a0d09cc91c0a.jpg","text":"TemporaryFile(/tmp/multipartBody1056677579621917581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564323060,"filename":"image_01122025_05_42_43_9512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159346","file1":"1397159345","file0":"1397159342","file4":"1397159349","file5":"1397159351","file3":"1397159348"},"map_files_photo_id_array":[{"photo_id":"1397159351","filename":"file5"},{"photo_id":"1397159346","filename":"file2"},{"photo_id":"1397159349","filename":"file4"},{"photo_id":"1397159345","filename":"file1"},{"photo_id":"1397159342","filename":"file0"},{"photo_id":"1397159348","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397159351":["hashtag1","hashtag2"]},{"1397159345":["hashtag1","hashtag2"]},{"1397159348":["hashtag1","hashtag2"]},{"1397159346":["hashtag1","hashtag2"]},{"1397159349":["hashtag1","hashtag2"]},{"1397159342":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397159351, 1397159345, 1397159348, 1397159346, 1397159349, 1397159342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55914092063904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:45:03.010745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/44/image_01122025_05_44_14_10643.jpg', '/home/pi/Desktop/images/01122025/05/44/image_01122025_05_44_34_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/44/image_01122025_05_44_14_10643.jpg
/home/pi/Desktop/images/01122025/05/44/image_01122025_05_44_34_9562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159353","1397159352"],"photo_ids_order":["1397159352","1397159353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6a6a9e03d20c167cd257031fa1e320c7.jpg","text":"TemporaryFile(/tmp/multipartBody8816948275090665273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564363627,"filename":"image_01122025_05_44_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/1/80f17544a08154ce9d5b9661805ae6b2.jpg","text":"TemporaryFile(/tmp/multipartBody2931089195741200389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564363627,"filename":"image_01122025_05_44_14_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397159353","file0":"1397159352"},"map_files_photo_id_array":[{"photo_id":"1397159353","filename":"file1"},{"photo_id":"1397159352","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397159353":["hashtag1","hashtag2"]},{"1397159352":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397159353, 1397159352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.41931962966919 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 05:45:22.390241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/44/image_01122025_05_44_44_10779.jpg', '/home/pi/Desktop/images/01122025/05/44/image_01122025_05_45_04_9721.jpg', '/home/pi/Desktop/images/01122025/05/45/image_01122025_05_45_24_10707.jpg', '/home/pi/Desktop/images/01122025/05/45/image_01122025_05_45_44_9834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/44/image_01122025_05_44_44_10779.jpg
/home/pi/Desktop/images/01122025/05/44/image_01122025_05_45_04_9721.jpg
/home/pi/Desktop/images/01122025/05/45/image_01122025_05_45_24_10707.jpg
/home/pi/Desktop/images/01122025/05/45/image_01122025_05_45_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":["1397159365","1397159359","1397159361","1397159363"],"photo_ids_order":["1397159359","1397159361","1397159363","1397159365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2d8b809b3df69c38ab927aec1f2834f1.jpg","text":"TemporaryFile(/tmp/multipartBody2033474482533204773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564383030,"filename":"image_01122025_05_45_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/1/1d751a1e06666c07eb3fbb1c966b0d26.jpg","text":"TemporaryFile(/tmp/multipartBody8237688061993170789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564383030,"filename":"image_01122025_05_44_44_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/1/a0017741a53d1435588cea5ba64df0fe.jpg","text":"TemporaryFile(/tmp/multipartBody1541709829435336694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564383030,"filename":"image_01122025_05_45_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/1/7ae0eb95cafdda4c2ad725567b75e4e0.jpg","text":"TemporaryFile(/tmp/multipartBody2058202994369801245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564383030,"filename":"image_01122025_05_45_24_10707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159363","file1":"1397159361","file0":"1397159359","file3":"1397159365"},"map_files_photo_id_array":[{"photo_id":"1397159363","filename":"file2"},{"photo_id":"1397159361","filename":"file1"},{"photo_id":"1397159359","filename":"file0"},{"photo_id":"1397159365","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397159365":["hashtag1","hashtag2"]},{"1397159359":["hashtag1","hashtag2"]},{"1397159361":["hashtag1","hashtag2"]},{"1397159363":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397159365, 1397159359, 1397159361, 1397159363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.65276598930359 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:46:03.045089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_08_2553.jpg', '/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_11_2553.jpg', '/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_14_3650.jpg', '/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_17_2520.jpg', '/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_21_3656.jpg', '/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_23_2511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_08_2553.jpg
/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_11_2553.jpg
/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_14_3650.jpg
/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_17_2520.jpg
/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_21_3656.jpg
/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_23_2511.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0889790058135986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 05:46:12.645518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_08_2553.jpg', '/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_11_2553.jpg', '/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_14_3650.jpg', '/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_17_2520.jpg', '/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_21_3656.jpg', '/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_23_2511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_08_2553.jpg
/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_11_2553.jpg
/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_14_3650.jpg
/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_17_2520.jpg
/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_21_3656.jpg
/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_23_2511.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159380","1397159374","1397159377","1397159388","1397159382","1397159384"],"photo_ids_order":["1397159374","1397159377","1397159380","1397159382","1397159384","1397159388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5790040189c41bf4979e7dc6391a08c2.jpg","text":"TemporaryFile(/tmp/multipartBody1760922071662359469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564434105,"filename":"image_25112025_21_48_14_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/1/10bcaac352b8c89cc2c0901903360084.jpg","text":"TemporaryFile(/tmp/multipartBody6704537145722239016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564434105,"filename":"image_25112025_21_48_08_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/1/ac6953f048f6b2d5a6fcb0901992c751.jpg","text":"TemporaryFile(/tmp/multipartBody3197210390771748627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564434105,"filename":"image_25112025_21_48_11_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/1/3e4d31dc0b3db7a54f51f1a4d53cc1ad.jpg","text":"TemporaryFile(/tmp/multipartBody3348208600708615539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564434105,"filename":"image_25112025_21_48_23_2511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/641d60ce58ae95df1dc8d99b2d7a4d54.jpg","text":"TemporaryFile(/tmp/multipartBody7699356600608653766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564434105,"filename":"image_25112025_21_48_17_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e9308cddd2b9cc1b0023939c48cfe64a.jpg","text":"TemporaryFile(/tmp/multipartBody4862369748071510101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564434105,"filename":"image_25112025_21_48_21_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159380","file1":"1397159377","file0":"1397159374","file4":"1397159384","file5":"1397159388","file3":"1397159382"},"map_files_photo_id_array":[{"photo_id":"1397159388","filename":"file5"},{"photo_id":"1397159380","filename":"file2"},{"photo_id":"1397159384","filename":"file4"},{"photo_id":"1397159377","filename":"file1"},{"photo_id":"1397159374","filename":"file0"},{"photo_id":"1397159382","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397159380":["hashtag1","hashtag2"]},{"1397159374":["hashtag1","hashtag2"]},{"1397159377":["hashtag1","hashtag2"]},{"1397159388":["hashtag1","hashtag2"]},{"1397159382":["hashtag1","hashtag2"]},{"1397159384":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397159380, 1397159374, 1397159377, 1397159388, 1397159382, 1397159384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94980239868164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:47:02.466329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/45/image_01122025_05_45_54_10635.jpg', '/home/pi/Desktop/images/01122025/05/46/image_01122025_05_46_33_9014.jpg', '/home/pi/Desktop/images/01122025/05/46/image_01122025_05_46_44_10568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/45/image_01122025_05_45_54_10635.jpg
/home/pi/Desktop/images/01122025/05/46/image_01122025_05_46_33_9014.jpg
/home/pi/Desktop/images/01122025/05/46/image_01122025_05_46_44_10568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159405","1397159408","1397159397"],"photo_ids_order":["1397159397","1397159405","1397159408"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/231f76c62f272e645d465c06e6f2c995.jpg","text":"TemporaryFile(/tmp/multipartBody7926112078187997627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564483209,"filename":"image_01122025_05_46_33_9014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6dc2c16f6168df02a94ae03302522d0d.jpg","text":"TemporaryFile(/tmp/multipartBody4815778851395194949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564483209,"filename":"image_01122025_05_46_44_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/834337f2c7ad959286395706a8b4c7c4.jpg","text":"TemporaryFile(/tmp/multipartBody2266473225366155310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564483209,"filename":"image_01122025_05_45_54_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159408","file1":"1397159405","file0":"1397159397"},"map_files_photo_id_array":[{"photo_id":"1397159408","filename":"file2"},{"photo_id":"1397159405","filename":"file1"},{"photo_id":"1397159397","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397159405":["hashtag1","hashtag2"]},{"1397159408":["hashtag1","hashtag2"]},{"1397159397":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397159405, 1397159408, 1397159397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 27.203879594802856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 05:47:31.875376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_29_3546.jpg', '/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_32_2310.jpg', '/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_35_3743.jpg', '/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_38_2617.jpg', '/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_41_2616.jpg', '/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_45_3886.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_29_3546.jpg
/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_32_2310.jpg
/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_35_3743.jpg
/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_38_2617.jpg
/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_41_2616.jpg
/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_45_3886.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159417","1397159414","1397159419","1397159413","1397159415","1397159418"],"photo_ids_order":["1397159413","1397159414","1397159415","1397159417","1397159418","1397159419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6c9cf5a5e404485379e37f6e11259d6c.jpg","text":"TemporaryFile(/tmp/multipartBody7484262480914056600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564513612,"filename":"image_25112025_21_48_38_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fddaba56cae09cd643d94cec70ae9bbb.jpg","text":"TemporaryFile(/tmp/multipartBody2305642662009439324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564513612,"filename":"image_25112025_21_48_32_2310.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a4c6ec5270bc62044aca79cda38e65bf.jpg","text":"TemporaryFile(/tmp/multipartBody7041623714427495129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564513612,"filename":"image_25112025_21_48_45_3886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e939d9e62755b298b792c1deea1ef8aa.jpg","text":"TemporaryFile(/tmp/multipartBody4640816674165953786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564513612,"filename":"image_25112025_21_48_29_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d5c81fc4bddf88dc002f7fc53bdcb198.jpg","text":"TemporaryFile(/tmp/multipartBody4111524763289464514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564513612,"filename":"image_25112025_21_48_35_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/1/81df960cf86a0209d9b78df9821d1f12.jpg","text":"TemporaryFile(/tmp/multipartBody8157254503744084172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564513612,"filename":"image_25112025_21_48_41_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159415","file1":"1397159414","file0":"1397159413","file4":"1397159418","file5":"1397159419","file3":"1397159417"},"map_files_photo_id_array":[{"photo_id":"1397159419","filename":"file5"},{"photo_id":"1397159415","filename":"file2"},{"photo_id":"1397159418","filename":"file4"},{"photo_id":"1397159414","filename":"file1"},{"photo_id":"1397159413","filename":"file0"},{"photo_id":"1397159417","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397159417":["hashtag1","hashtag2"]},{"1397159414":["hashtag1","hashtag2"]},{"1397159419":["hashtag1","hashtag2"]},{"1397159413":["hashtag1","hashtag2"]},{"1397159415":["hashtag1","hashtag2"]},{"1397159418":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397159417, 1397159414, 1397159419, 1397159413, 1397159415, 1397159418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05025506019592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 05:48:11.980327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_47_2619.jpg', '/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_50_2522.jpg', '/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_53_3705.jpg', '/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_59_2706.jpg', '/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_02_3519.jpg', '/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_05_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_47_2619.jpg
/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_50_2522.jpg
/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_53_3705.jpg
/home/pi/Desktop/images/25112025/21/48/image_25112025_21_48_59_2706.jpg
/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_02_3519.jpg
/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_05_2611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159426","1397159429","1397159428","1397159422","1397159427","1397159424"],"photo_ids_order":["1397159422","1397159424","1397159426","1397159427","1397159428","1397159429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/594c39363740c4c84d87e47f16954aeb.jpg","text":"TemporaryFile(/tmp/multipartBody2378750913659043209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564553645,"filename":"image_25112025_21_48_53_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/29bf27a6abdbc4e0ec721f1f15eb8d0d.jpg","text":"TemporaryFile(/tmp/multipartBody944156266035479085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564553645,"filename":"image_25112025_21_49_05_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/1/79c04c719387e7133b58ef91a1e292d5.jpg","text":"TemporaryFile(/tmp/multipartBody124162754719723805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564553645,"filename":"image_25112025_21_49_02_3519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/13b0854ce0b20a9c72fe8d0d988cc5fe.jpg","text":"TemporaryFile(/tmp/multipartBody7511596276346162976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564553645,"filename":"image_25112025_21_48_47_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/1/2ef21439cb233743d93102e01eb675bb.jpg","text":"TemporaryFile(/tmp/multipartBody5534170045755534061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564553645,"filename":"image_25112025_21_48_59_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4e24acdab352efdc51b1deb0c871e9ce.jpg","text":"TemporaryFile(/tmp/multipartBody1723060220955589989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564553645,"filename":"image_25112025_21_48_50_2522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159426","file1":"1397159424","file0":"1397159422","file4":"1397159428","file5":"1397159429","file3":"1397159427"},"map_files_photo_id_array":[{"photo_id":"1397159429","filename":"file5"},{"photo_id":"1397159426","filename":"file2"},{"photo_id":"1397159428","filename":"file4"},{"photo_id":"1397159424","filename":"file1"},{"photo_id":"1397159422","filename":"file0"},{"photo_id":"1397159427","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397159426":["hashtag1","hashtag2"]},{"1397159429":["hashtag1","hashtag2"]},{"1397159428":["hashtag1","hashtag2"]},{"1397159422":["hashtag1","hashtag2"]},{"1397159427":["hashtag1","hashtag2"]},{"1397159424":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397159426, 1397159429, 1397159428, 1397159422, 1397159427, 1397159424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49269342422485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:49:19.263313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/46/image_01122025_05_46_54_9695.jpg', '/home/pi/Desktop/images/01122025/05/47/image_01122025_05_47_14_9627.jpg', '/home/pi/Desktop/images/01122025/05/47/image_01122025_05_47_54_9650.jpg', '/home/pi/Desktop/images/01122025/05/47/image_01122025_05_48_04_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/46/image_01122025_05_46_54_9695.jpg
/home/pi/Desktop/images/01122025/05/47/image_01122025_05_47_14_9627.jpg
/home/pi/Desktop/images/01122025/05/47/image_01122025_05_47_54_9650.jpg
/home/pi/Desktop/images/01122025/05/47/image_01122025_05_48_04_10664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159459","1397159455","1397159457","1397159460"],"photo_ids_order":["1397159455","1397159457","1397159459","1397159460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c04dd3c8dcc873e94526ac43deb36fbf.jpg","text":"TemporaryFile(/tmp/multipartBody3765506310590340935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564620058,"filename":"image_01122025_05_47_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/1/a927c166cba2001b83be09c235afaae3.jpg","text":"TemporaryFile(/tmp/multipartBody3919938087121157266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564620058,"filename":"image_01122025_05_46_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/1/679f9b3c538d8f51e34c06646817fbc6.jpg","text":"TemporaryFile(/tmp/multipartBody4327212014964581255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564620058,"filename":"image_01122025_05_47_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/1/5607961c3d679f4d724f247dd1843b8c.jpg","text":"TemporaryFile(/tmp/multipartBody5587342306100605459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564620058,"filename":"image_01122025_05_48_04_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159459","file1":"1397159457","file0":"1397159455","file3":"1397159460"},"map_files_photo_id_array":[{"photo_id":"1397159459","filename":"file2"},{"photo_id":"1397159457","filename":"file1"},{"photo_id":"1397159455","filename":"file0"},{"photo_id":"1397159460","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397159459":["hashtag1","hashtag2"]},{"1397159455":["hashtag1","hashtag2"]},{"1397159457":["hashtag1","hashtag2"]},{"1397159460":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397159459, 1397159455, 1397159457, 1397159460)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 35.16980695724487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 05:49:58.248631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_02_2760.jpg', '/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_05_2688.jpg', '/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_08_3663.jpg', '/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_11_2876.jpg', '/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_14_2805.jpg', '/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_20_3562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_02_2760.jpg
/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_05_2688.jpg
/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_08_3663.jpg
/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_11_2876.jpg
/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_14_2805.jpg
/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_20_3562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159464","1397159467","1397159475","1397159463","1397159471","1397159474"],"photo_ids_order":["1397159463","1397159464","1397159467","1397159471","1397159474","1397159475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4d7d806d7d685b3e97b2b07967543d1c.jpg","text":"TemporaryFile(/tmp/multipartBody8731709735299005290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564666399,"filename":"image_01112025_00_44_05_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/1/deec6a655960da0c9dd0e2bb712cb92a.jpg","text":"TemporaryFile(/tmp/multipartBody7769648589905025284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564666399,"filename":"image_01112025_00_44_08_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c4a63770baa65079fce84e3ba3e575c3.jpg","text":"TemporaryFile(/tmp/multipartBody4777617030164590801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564666399,"filename":"image_01112025_00_44_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/1/dc0dc1ac322180f4935c2a04be0edbe3.jpg","text":"TemporaryFile(/tmp/multipartBody8211360349988766459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564666399,"filename":"image_01112025_00_44_02_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/72a7f9ed1e8dd6487d472e8bac452c12.jpg","text":"TemporaryFile(/tmp/multipartBody7301918394929825642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564666399,"filename":"image_01112025_00_44_11_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/1/b119e56f482c33fb8a0d5f3e50bbb68e.jpg","text":"TemporaryFile(/tmp/multipartBody6910488586853595657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564666399,"filename":"image_01112025_00_44_14_2805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159467","file1":"1397159464","file0":"1397159463","file4":"1397159474","file5":"1397159475","file3":"1397159471"},"map_files_photo_id_array":[{"photo_id":"1397159475","filename":"file5"},{"photo_id":"1397159467","filename":"file2"},{"photo_id":"1397159474","filename":"file4"},{"photo_id":"1397159464","filename":"file1"},{"photo_id":"1397159463","filename":"file0"},{"photo_id":"1397159471","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397159464":["hashtag1","hashtag2"]},{"1397159467":["hashtag1","hashtag2"]},{"1397159475":["hashtag1","hashtag2"]},{"1397159463":["hashtag1","hashtag2"]},{"1397159471":["hashtag1","hashtag2"]},{"1397159474":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397159464, 1397159467, 1397159475, 1397159463, 1397159471, 1397159474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.861517906188965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 05:50:46.239009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_23_2765.jpg', '/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_32_3687.jpg', '/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_35_2645.jpg', '/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_41_3694.jpg', '/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_44_2564.jpg', '/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_47_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_23_2765.jpg
/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_32_3687.jpg
/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_35_2645.jpg
/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_41_3694.jpg
/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_44_2564.jpg
/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_47_2702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159482","1397159488","1397159487","1397159490","1397159484","1397159489"],"photo_ids_order":["1397159482","1397159484","1397159487","1397159488","1397159489","1397159490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/43766ddf17494ff3585d1a292e13798a.jpg","text":"TemporaryFile(/tmp/multipartBody2099766160336435058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564707062,"filename":"image_01112025_00_44_23_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/1/3a2533731fd2c7dac3b20f64f0fdd65e.jpg","text":"TemporaryFile(/tmp/multipartBody1953452996653091878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564707062,"filename":"image_01112025_00_44_41_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8d55ca1227ff1fe9d8f4797ab248accc.jpg","text":"TemporaryFile(/tmp/multipartBody6097721515918591037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564707062,"filename":"image_01112025_00_44_35_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/1/82360633bdb1db4e0cd47044a1f593e8.jpg","text":"TemporaryFile(/tmp/multipartBody694478167394832930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564707062,"filename":"image_01112025_00_44_47_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/1/48c2ce73b616c21e9c2e2b746ef98504.jpg","text":"TemporaryFile(/tmp/multipartBody428176169342281034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564707062,"filename":"image_01112025_00_44_32_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/1/c1e59cb49e36c1602761ef39775efe5b.jpg","text":"TemporaryFile(/tmp/multipartBody6176147042755584795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564707062,"filename":"image_01112025_00_44_44_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159487","file1":"1397159484","file0":"1397159482","file4":"1397159489","file5":"1397159490","file3":"1397159488"},"map_files_photo_id_array":[{"photo_id":"1397159490","filename":"file5"},{"photo_id":"1397159487","filename":"file2"},{"photo_id":"1397159489","filename":"file4"},{"photo_id":"1397159484","filename":"file1"},{"photo_id":"1397159482","filename":"file0"},{"photo_id":"1397159488","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397159482":["hashtag1","hashtag2"]},{"1397159488":["hashtag1","hashtag2"]},{"1397159487":["hashtag1","hashtag2"]},{"1397159490":["hashtag1","hashtag2"]},{"1397159484":["hashtag1","hashtag2"]},{"1397159489":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397159482, 1397159488, 1397159487, 1397159490, 1397159484, 1397159489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96883797645569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 05:51:32.496575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_09_3685.jpg', '/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_11_2549.jpg', '/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_14_2674.jpg', '/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_17_3603.jpg', '/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_20_2754.jpg', '/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_23_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_09_3685.jpg
/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_11_2549.jpg
/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_14_2674.jpg
/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_17_3603.jpg
/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_20_2754.jpg
/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_23_2713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159504","1397159501","1397159500","1397159503","1397159506","1397159505"],"photo_ids_order":["1397159500","1397159501","1397159503","1397159504","1397159505","1397159506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ab9755417922ca7d9486e5de0a60008e.jpg","text":"TemporaryFile(/tmp/multipartBody7017396267388473696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564754255,"filename":"image_25112025_21_49_17_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a00a3591ae9d152fafd98475b776117d.jpg","text":"TemporaryFile(/tmp/multipartBody7794484201724950686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564754255,"filename":"image_25112025_21_49_11_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/1/138a04d61511da0ce1f42a468b16568b.jpg","text":"TemporaryFile(/tmp/multipartBody716045872316628285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564754255,"filename":"image_25112025_21_49_09_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/1/89b178c8c9def8c1da63f51a6d0452bd.jpg","text":"TemporaryFile(/tmp/multipartBody6197746191225335100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564754255,"filename":"image_25112025_21_49_14_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/1/0315ba37787fa8b62b30725ea9c1f5d2.jpg","text":"TemporaryFile(/tmp/multipartBody9162964891911749522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564754255,"filename":"image_25112025_21_49_23_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/1/47540705a056cc0a0310e83c60ad3007.jpg","text":"TemporaryFile(/tmp/multipartBody4702412699552521606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564754255,"filename":"image_25112025_21_49_20_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159503","file1":"1397159501","file0":"1397159500","file4":"1397159505","file5":"1397159506","file3":"1397159504"},"map_files_photo_id_array":[{"photo_id":"1397159506","filename":"file5"},{"photo_id":"1397159503","filename":"file2"},{"photo_id":"1397159505","filename":"file4"},{"photo_id":"1397159501","filename":"file1"},{"photo_id":"1397159500","filename":"file0"},{"photo_id":"1397159504","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397159504":["hashtag1","hashtag2"]},{"1397159501":["hashtag1","hashtag2"]},{"1397159500":["hashtag1","hashtag2"]},{"1397159503":["hashtag1","hashtag2"]},{"1397159506":["hashtag1","hashtag2"]},{"1397159505":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397159504, 1397159501, 1397159500, 1397159503, 1397159506, 1397159505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9358925819397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 05:52:12.588727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_26_2814.jpg', '/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_29_3618.jpg', '/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_34_4954.jpg', '/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_36_1713.jpg', '/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_38_1670.jpg', '/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_41_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_26_2814.jpg
/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_29_3618.jpg
/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_34_4954.jpg
/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_36_1713.jpg
/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_38_1670.jpg
/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_41_3600.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.543396234512329 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 05:52:22.614549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/48/image_01122025_05_48_54_9735.jpg', '/home/pi/Desktop/images/01122025/05/49/image_01122025_05_49_34_10449.jpg', '/home/pi/Desktop/images/01122025/05/49/image_01122025_05_49_44_9725.jpg', '/home/pi/Desktop/images/01122025/05/49/image_01122025_05_49_54_9773.jpg', '/home/pi/Desktop/images/01122025/05/49/image_01122025_05_50_04_9812.jpg', '/home/pi/Desktop/images/01122025/05/50/image_01122025_05_50_44_9829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/48/image_01122025_05_48_54_9735.jpg
/home/pi/Desktop/images/01122025/05/49/image_01122025_05_49_34_10449.jpg
/home/pi/Desktop/images/01122025/05/49/image_01122025_05_49_44_9725.jpg
/home/pi/Desktop/images/01122025/05/49/image_01122025_05_49_54_9773.jpg
/home/pi/Desktop/images/01122025/05/49/image_01122025_05_50_04_9812.jpg
/home/pi/Desktop/images/01122025/05/50/image_01122025_05_50_44_9829.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159516","1397159525","1397159519","1397159513","1397159521","1397159532"],"photo_ids_order":["1397159513","1397159516","1397159519","1397159521","1397159525","1397159532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/96a2ecacc3d644e62f6c987a618a376c.jpg","text":"TemporaryFile(/tmp/multipartBody7988332720436855429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564803362,"filename":"image_01122025_05_49_34_10449.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fae436d633c6d3b6aa4af11d4eecb5c1.jpg","text":"TemporaryFile(/tmp/multipartBody3212857184283047994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564803362,"filename":"image_01122025_05_50_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/1/540ca876a90f0e4bf7f28f33aefaaa44.jpg","text":"TemporaryFile(/tmp/multipartBody8634782636443209607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564803362,"filename":"image_01122025_05_49_44_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f93c9030ee3b2e1842171578921e3a0c.jpg","text":"TemporaryFile(/tmp/multipartBody4014702498949717300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564803362,"filename":"image_01122025_05_48_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/1/97299615d4e7bf878826f21ff306e9d3.jpg","text":"TemporaryFile(/tmp/multipartBody9006430532514440015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564803362,"filename":"image_01122025_05_49_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/1/0a13f0c36fe0cb23b310ec502579ea7b.jpg","text":"TemporaryFile(/tmp/multipartBody8351493995831944371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564803362,"filename":"image_01122025_05_50_44_9829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159519","file1":"1397159516","file0":"1397159513","file4":"1397159525","file5":"1397159532","file3":"1397159521"},"map_files_photo_id_array":[{"photo_id":"1397159532","filename":"file5"},{"photo_id":"1397159519","filename":"file2"},{"photo_id":"1397159525","filename":"file4"},{"photo_id":"1397159516","filename":"file1"},{"photo_id":"1397159513","filename":"file0"},{"photo_id":"1397159521","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397159516":["hashtag1","hashtag2"]},{"1397159525":["hashtag1","hashtag2"]},{"1397159519":["hashtag1","hashtag2"]},{"1397159513":["hashtag1","hashtag2"]},{"1397159521":["hashtag1","hashtag2"]},{"1397159532":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397159516, 1397159525, 1397159519, 1397159513, 1397159521, 1397159532)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.409271001815796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 05:53:12.910658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_26_2814.jpg', '/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_29_3618.jpg', '/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_34_4954.jpg', '/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_36_1713.jpg', '/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_38_1670.jpg', '/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_41_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_26_2814.jpg
/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_29_3618.jpg
/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_34_4954.jpg
/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_36_1713.jpg
/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_38_1670.jpg
/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_41_3600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159543","1397159545","1397159548","1397159550","1397159547","1397159549"],"photo_ids_order":["1397159543","1397159545","1397159547","1397159548","1397159549","1397159550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/93cdfc4fb13147967ccd16a173924eff.jpg","text":"TemporaryFile(/tmp/multipartBody6620957252571654729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564854529,"filename":"image_25112025_21_49_26_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/1/6948f32ed43400429457ef2faf455b86.jpg","text":"TemporaryFile(/tmp/multipartBody8326729673446354449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564854529,"filename":"image_25112025_21_49_29_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2476572b362b9523a3d9e375e736f46c.jpg","text":"TemporaryFile(/tmp/multipartBody5465043277977275858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564854529,"filename":"image_25112025_21_49_36_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/1/9ac7f5a75e8c85ae02a050a7393f8d29.jpg","text":"TemporaryFile(/tmp/multipartBody944733115063080189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564854529,"filename":"image_25112025_21_49_41_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/1/e06c2d5ee07bd61e46ff2f07acfb095c.jpg","text":"TemporaryFile(/tmp/multipartBody8568165021048386383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564854529,"filename":"image_25112025_21_49_34_4954.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8c662d94fb9da862fd2331cf7b7873f7.jpg","text":"TemporaryFile(/tmp/multipartBody5903451045451577869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564854529,"filename":"image_25112025_21_49_38_1670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159547","file1":"1397159545","file0":"1397159543","file4":"1397159549","file5":"1397159550","file3":"1397159548"},"map_files_photo_id_array":[{"photo_id":"1397159550","filename":"file5"},{"photo_id":"1397159547","filename":"file2"},{"photo_id":"1397159549","filename":"file4"},{"photo_id":"1397159545","filename":"file1"},{"photo_id":"1397159543","filename":"file0"},{"photo_id":"1397159548","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397159543":["hashtag1","hashtag2"]},{"1397159545":["hashtag1","hashtag2"]},{"1397159548":["hashtag1","hashtag2"]},{"1397159550":["hashtag1","hashtag2"]},{"1397159547":["hashtag1","hashtag2"]},{"1397159549":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397159543, 1397159545, 1397159548, 1397159550, 1397159547, 1397159549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.57105803489685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:54:02.847255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/50/image_01122025_05_50_55_11458.jpg', '/home/pi/Desktop/images/01122025/05/50/image_01122025_05_51_04_8637.jpg', '/home/pi/Desktop/images/01122025/05/51/image_01122025_05_51_44_9778.jpg', '/home/pi/Desktop/images/01122025/05/52/image_01122025_05_52_14_9756.jpg', '/home/pi/Desktop/images/01122025/05/52/image_01122025_05_52_24_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/50/image_01122025_05_50_55_11458.jpg
/home/pi/Desktop/images/01122025/05/50/image_01122025_05_51_04_8637.jpg
/home/pi/Desktop/images/01122025/05/51/image_01122025_05_51_44_9778.jpg
/home/pi/Desktop/images/01122025/05/52/image_01122025_05_52_14_9756.jpg
/home/pi/Desktop/images/01122025/05/52/image_01122025_05_52_24_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159558","1397159560","1397159556","1397159553","1397159552"],"photo_ids_order":["1397159552","1397159553","1397159556","1397159558","1397159560"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0392eac6014c3ed7c162b434794a75a6.jpg","text":"TemporaryFile(/tmp/multipartBody6756808716359281655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564903569,"filename":"image_01122025_05_52_14_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/85499de40b99f48904d56e30ac6b4385.jpg","text":"TemporaryFile(/tmp/multipartBody8631627673605960464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564903569,"filename":"image_01122025_05_52_24_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1c42770c86eb160674af5605a14a3c39.jpg","text":"TemporaryFile(/tmp/multipartBody9068558048998369436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564903569,"filename":"image_01122025_05_51_44_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9fc206432ad894fc5dadf4ee9b130274.jpg","text":"TemporaryFile(/tmp/multipartBody7348564396554651522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564903569,"filename":"image_01122025_05_51_04_8637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ec60f87c03094cd8dc8d2ab47cc2d551.jpg","text":"TemporaryFile(/tmp/multipartBody4541957484165467802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564903569,"filename":"image_01122025_05_50_55_11458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159556","file1":"1397159553","file0":"1397159552","file4":"1397159560","file3":"1397159558"},"map_files_photo_id_array":[{"photo_id":"1397159556","filename":"file2"},{"photo_id":"1397159560","filename":"file4"},{"photo_id":"1397159553","filename":"file1"},{"photo_id":"1397159552","filename":"file0"},{"photo_id":"1397159558","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397159558":["hashtag1","hashtag2"]},{"1397159560":["hashtag1","hashtag2"]},{"1397159556":["hashtag1","hashtag2"]},{"1397159553":["hashtag1","hashtag2"]},{"1397159552":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397159558, 1397159560, 1397159556, 1397159553, 1397159552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.12388825416565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 05:54:42.164075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_50_3616.jpg', '/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_53_2584.jpg', '/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_55_2737.jpg', '/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_59_3553.jpg', '/home/pi/Desktop/images/01112025/00/45/image_01112025_00_45_02_2797.jpg', '/home/pi/Desktop/images/01112025/00/45/image_01112025_00_45_05_2916.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_50_3616.jpg
/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_53_2584.jpg
/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_55_2737.jpg
/home/pi/Desktop/images/01112025/00/44/image_01112025_00_44_59_3553.jpg
/home/pi/Desktop/images/01112025/00/45/image_01112025_00_45_02_2797.jpg
/home/pi/Desktop/images/01112025/00/45/image_01112025_00_45_05_2916.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159572","1397159575","1397159574","1397159568","1397159577","1397159573"],"photo_ids_order":["1397159568","1397159572","1397159573","1397159574","1397159575","1397159577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fa65bc7137c6b207c736ab427655f1ff.jpg","text":"TemporaryFile(/tmp/multipartBody3300385704627149845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564943030,"filename":"image_01112025_00_44_53_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/1/3227be00f058f430ffe158aba66a727b.jpg","text":"TemporaryFile(/tmp/multipartBody5090657383624026790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564943030,"filename":"image_01112025_00_45_02_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/1/3431bcec925978791b3770f1f75223f2.jpg","text":"TemporaryFile(/tmp/multipartBody6567199282176830455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564943030,"filename":"image_01112025_00_44_59_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/857450396d78699b33d5fe78795847e1.jpg","text":"TemporaryFile(/tmp/multipartBody1662779363966994460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564943030,"filename":"image_01112025_00_44_50_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/23c18e15a52225c6b5f8384072240f81.jpg","text":"TemporaryFile(/tmp/multipartBody8349682808937431197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564943030,"filename":"image_01112025_00_45_05_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/1/2320c65f241f3eb3fff21a0bc5894604.jpg","text":"TemporaryFile(/tmp/multipartBody73956632822976309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564943030,"filename":"image_01112025_00_44_55_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159573","file1":"1397159572","file0":"1397159568","file4":"1397159575","file5":"1397159577","file3":"1397159574"},"map_files_photo_id_array":[{"photo_id":"1397159577","filename":"file5"},{"photo_id":"1397159573","filename":"file2"},{"photo_id":"1397159575","filename":"file4"},{"photo_id":"1397159572","filename":"file1"},{"photo_id":"1397159568","filename":"file0"},{"photo_id":"1397159574","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397159572":["hashtag1","hashtag2"]},{"1397159575":["hashtag1","hashtag2"]},{"1397159574":["hashtag1","hashtag2"]},{"1397159568":["hashtag1","hashtag2"]},{"1397159577":["hashtag1","hashtag2"]},{"1397159573":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397159572, 1397159575, 1397159574, 1397159568, 1397159577, 1397159573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.139607429504395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 05:55:22.314462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/52/image_01122025_05_52_44_10781.jpg', '/home/pi/Desktop/images/01122025/05/52/image_01122025_05_53_04_9728.jpg', '/home/pi/Desktop/images/01122025/05/53/image_01122025_05_53_24_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/52/image_01122025_05_52_44_10781.jpg
/home/pi/Desktop/images/01122025/05/52/image_01122025_05_53_04_9728.jpg
/home/pi/Desktop/images/01122025/05/53/image_01122025_05_53_24_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":["1397159603","1397159605","1397159607"],"photo_ids_order":["1397159603","1397159605","1397159607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cffefcf469462a44bdc47ac3ec5921c3.jpg","text":"TemporaryFile(/tmp/multipartBody4050239105834747534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564982895,"filename":"image_01122025_05_52_44_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/1/f4aa8d1b5e01ae9667a7d297946d856f.jpg","text":"TemporaryFile(/tmp/multipartBody523676104513786198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564982895,"filename":"image_01122025_05_53_04_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e6e8e99382df156f1616c38f692ccf8e.jpg","text":"TemporaryFile(/tmp/multipartBody4194045100275928475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764564982895,"filename":"image_01122025_05_53_24_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159607","file1":"1397159605","file0":"1397159603"},"map_files_photo_id_array":[{"photo_id":"1397159607","filename":"file2"},{"photo_id":"1397159605","filename":"file1"},{"photo_id":"1397159603","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397159603":["hashtag1","hashtag2"]},{"1397159605":["hashtag1","hashtag2"]},{"1397159607":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397159603, 1397159605, 1397159607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.2155978679657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:56:02.925267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_55_13334.jpg', '/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_56_1608.jpg', '/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_58_1599.jpg', '/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_59_1636.jpg', '/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_04_4324.jpg', '/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_13_1758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_55_13334.jpg
/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_56_1608.jpg
/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_58_1599.jpg
/home/pi/Desktop/images/25112025/21/49/image_25112025_21_49_59_1636.jpg
/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_04_4324.jpg
/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_13_1758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159621","1397159615","1397159623","1397159617","1397159619","1397159616"],"photo_ids_order":["1397159615","1397159616","1397159617","1397159619","1397159621","1397159623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0f3ef336923e58b255bb906f33a0fb5e.jpg","text":"TemporaryFile(/tmp/multipartBody4099080838297510820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565024110,"filename":"image_25112025_21_50_04_4324.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4c68926e44e70c31e659793648998252.jpg","text":"TemporaryFile(/tmp/multipartBody5288083340136867141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565024110,"filename":"image_25112025_21_49_55_13334.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2c93797f499406777910b7efcedca7f5.jpg","text":"TemporaryFile(/tmp/multipartBody2646767028868075451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565024110,"filename":"image_25112025_21_50_13_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/1/08fdf30713e91d6f30578be1fb6418f6.jpg","text":"TemporaryFile(/tmp/multipartBody1777728673593533324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565024110,"filename":"image_25112025_21_49_58_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/1/56cf32a8c287cfe1f96d6cf5de84603e.jpg","text":"TemporaryFile(/tmp/multipartBody5702105251515130060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565024110,"filename":"image_25112025_21_49_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/1/fac5d36c9066345b30573c45d0de0e39.jpg","text":"TemporaryFile(/tmp/multipartBody3632643070580154774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565024110,"filename":"image_25112025_21_49_56_1608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159617","file1":"1397159616","file0":"1397159615","file4":"1397159621","file5":"1397159623","file3":"1397159619"},"map_files_photo_id_array":[{"photo_id":"1397159623","filename":"file5"},{"photo_id":"1397159617","filename":"file2"},{"photo_id":"1397159621","filename":"file4"},{"photo_id":"1397159616","filename":"file1"},{"photo_id":"1397159615","filename":"file0"},{"photo_id":"1397159619","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397159621":["hashtag1","hashtag2"]},{"1397159615":["hashtag1","hashtag2"]},{"1397159623":["hashtag1","hashtag2"]},{"1397159617":["hashtag1","hashtag2"]},{"1397159619":["hashtag1","hashtag2"]},{"1397159616":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397159621, 1397159615, 1397159623, 1397159617, 1397159619, 1397159616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22450375556946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 05:56:42.522647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/45/image_01112025_00_45_08_3581.jpg', '/home/pi/Desktop/images/01112025/00/45/image_01112025_00_45_11_2648.jpg', '/home/pi/Desktop/images/01112025/00/45/image_01112025_00_45_20_2559.jpg', '/home/pi/Desktop/images/01112025/00/45/image_01112025_00_45_26_2619.jpg', '/home/pi/Desktop/images/01112025/00/45/image_01112025_00_45_29_2728.jpg', '/home/pi/Desktop/images/01112025/00/45/image_01112025_00_45_35_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/45/image_01112025_00_45_08_3581.jpg
/home/pi/Desktop/images/01112025/00/45/image_01112025_00_45_11_2648.jpg
/home/pi/Desktop/images/01112025/00/45/image_01112025_00_45_20_2559.jpg
/home/pi/Desktop/images/01112025/00/45/image_01112025_00_45_26_2619.jpg
/home/pi/Desktop/images/01112025/00/45/image_01112025_00_45_29_2728.jpg
/home/pi/Desktop/images/01112025/00/45/image_01112025_00_45_35_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":["1397159630","1397159627","1397159632","1397159629","1397159631","1397159628"],"photo_ids_order":["1397159627","1397159628","1397159629","1397159630","1397159631","1397159632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/20d3b3d0c20f306101473824675197c7.jpg","text":"TemporaryFile(/tmp/multipartBody5354202597075390482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565063391,"filename":"image_01112025_00_45_26_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/1/f5eeb4e2af6bfdf4a491cb5310486faf.jpg","text":"TemporaryFile(/tmp/multipartBody3433725582673953180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565063391,"filename":"image_01112025_00_45_08_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/aebad289e74e385b5583d1e886d357df.jpg","text":"TemporaryFile(/tmp/multipartBody6545484223148116111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565063391,"filename":"image_01112025_00_45_35_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/1/192e9d11fa84c6d6399c63be024c2a2c.jpg","text":"TemporaryFile(/tmp/multipartBody7555281990971068556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565063391,"filename":"image_01112025_00_45_20_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/1/880cc95f3cbaf2b37e6a8e33882f5337.jpg","text":"TemporaryFile(/tmp/multipartBody3633816270116673994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565063391,"filename":"image_01112025_00_45_29_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4b41c63cae973f11d55eba7c191f103a.jpg","text":"TemporaryFile(/tmp/multipartBody412200494074705859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565063391,"filename":"image_01112025_00_45_11_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159629","file1":"1397159628","file0":"1397159627","file4":"1397159631","file5":"1397159632","file3":"1397159630"},"map_files_photo_id_array":[{"photo_id":"1397159632","filename":"file5"},{"photo_id":"1397159629","filename":"file2"},{"photo_id":"1397159631","filename":"file4"},{"photo_id":"1397159628","filename":"file1"},{"photo_id":"1397159627","filename":"file0"},{"photo_id":"1397159630","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397159630":["hashtag1","hashtag2"]},{"1397159627":["hashtag1","hashtag2"]},{"1397159632":["hashtag1","hashtag2"]},{"1397159629":["hashtag1","hashtag2"]},{"1397159631":["hashtag1","hashtag2"]},{"1397159628":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397159630, 1397159627, 1397159632, 1397159629, 1397159631, 1397159628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88900589942932 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 05:57:22.671660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/54/image_01122025_05_54_14_9908.jpg', '/home/pi/Desktop/images/01122025/05/55/image_01122025_05_56_04_10649.jpg', '/home/pi/Desktop/images/01122025/05/56/image_01122025_05_56_14_9858.jpg', '/home/pi/Desktop/images/01122025/05/56/image_01122025_05_56_24_9669.jpg', '/home/pi/Desktop/images/01122025/05/56/image_01122025_05_56_33_9818.jpg', '/home/pi/Desktop/images/01122025/05/56/image_01122025_05_56_44_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/54/image_01122025_05_54_14_9908.jpg
/home/pi/Desktop/images/01122025/05/55/image_01122025_05_56_04_10649.jpg
/home/pi/Desktop/images/01122025/05/56/image_01122025_05_56_14_9858.jpg
/home/pi/Desktop/images/01122025/05/56/image_01122025_05_56_24_9669.jpg
/home/pi/Desktop/images/01122025/05/56/image_01122025_05_56_33_9818.jpg
/home/pi/Desktop/images/01122025/05/56/image_01122025_05_56_44_10717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397159653","1397159655","1397159643","1397159637","1397159652","1397159651"],"photo_ids_order":["1397159637","1397159643","1397159651","1397159652","1397159653","1397159655"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d325d2f4ee82bb2bb50a17b5754dfa0e.jpg","text":"TemporaryFile(/tmp/multipartBody613036066505212524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565103412,"filename":"image_01122025_05_56_33_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/1/80ecfa08f432424bfc2a8378883ab9f9.jpg","text":"TemporaryFile(/tmp/multipartBody372839390793368327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565103412,"filename":"image_01122025_05_56_44_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b7cecbc80899c0be989a4ae228873c7c.jpg","text":"TemporaryFile(/tmp/multipartBody6822831764152683210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565103412,"filename":"image_01122025_05_56_04_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e50f78fbabe3114fb3c8c1f281547982.jpg","text":"TemporaryFile(/tmp/multipartBody4488944335977404963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565103412,"filename":"image_01122025_05_54_14_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/1/388bc8691ca8f92ba29e64c62e478400.jpg","text":"TemporaryFile(/tmp/multipartBody7745545174561165920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565103412,"filename":"image_01122025_05_56_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/1/939400a40a4d8b631054c36bdd3456c4.jpg","text":"TemporaryFile(/tmp/multipartBody8458548911676466196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565103412,"filename":"image_01122025_05_56_14_9858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159651","file1":"1397159643","file0":"1397159637","file4":"1397159653","file5":"1397159655","file3":"1397159652"},"map_files_photo_id_array":[{"photo_id":"1397159655","filename":"file5"},{"photo_id":"1397159651","filename":"file2"},{"photo_id":"1397159653","filename":"file4"},{"photo_id":"1397159643","filename":"file1"},{"photo_id":"1397159637","filename":"file0"},{"photo_id":"1397159652","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397159653":["hashtag1","hashtag2"]},{"1397159655":["hashtag1","hashtag2"]},{"1397159643":["hashtag1","hashtag2"]},{"1397159637":["hashtag1","hashtag2"]},{"1397159652":["hashtag1","hashtag2"]},{"1397159651":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397159653, 1397159655, 1397159643, 1397159637, 1397159652, 1397159651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90016508102417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 05:59:03.004103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/56/image_01122025_05_56_54_9681.jpg', '/home/pi/Desktop/images/01122025/05/57/image_01122025_05_57_13_9826.jpg', '/home/pi/Desktop/images/01122025/05/57/image_01122025_05_57_27_13368.jpg', '/home/pi/Desktop/images/01122025/05/57/image_01122025_05_57_34_6818.jpg', '/home/pi/Desktop/images/01122025/05/57/image_01122025_05_57_54_9593.jpg', '/home/pi/Desktop/images/01122025/05/58/image_01122025_05_58_14_10684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/56/image_01122025_05_56_54_9681.jpg
/home/pi/Desktop/images/01122025/05/57/image_01122025_05_57_13_9826.jpg
/home/pi/Desktop/images/01122025/05/57/image_01122025_05_57_27_13368.jpg
/home/pi/Desktop/images/01122025/05/57/image_01122025_05_57_34_6818.jpg
/home/pi/Desktop/images/01122025/05/57/image_01122025_05_57_54_9593.jpg
/home/pi/Desktop/images/01122025/05/58/image_01122025_05_58_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":["1397159708","1397159785","1397159667","1397159661","1397159658","1397159745"],"photo_ids_order":["1397159658","1397159661","1397159667","1397159708","1397159745","1397159785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ae5a8577a4bf9c0e14c5e0d170f80289.jpg","text":"TemporaryFile(/tmp/multipartBody8974112356294313364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565203828,"filename":"image_01122025_05_57_34_6818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1da415ac5a30a4c480e59bff81ffe141.jpg","text":"TemporaryFile(/tmp/multipartBody3582819185338963865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565203828,"filename":"image_01122025_05_58_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/1/dca31ba022142b58fe36c98eebc9a3b8.jpg","text":"TemporaryFile(/tmp/multipartBody401949451128011792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565203828,"filename":"image_01122025_05_57_27_13368.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5630c6974f0b697c1f34addf8d5592fc.jpg","text":"TemporaryFile(/tmp/multipartBody4876533661942613120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565203828,"filename":"image_01122025_05_57_13_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/1/6c941202022c1883a53eccfb8a76f6b4.jpg","text":"TemporaryFile(/tmp/multipartBody6421298841141948150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565203828,"filename":"image_01122025_05_56_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/1/c7848b1e7a6b33f280a8ca47b134cdeb.jpg","text":"TemporaryFile(/tmp/multipartBody7652520124429530059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565203828,"filename":"image_01122025_05_57_54_9593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397159667","file1":"1397159661","file0":"1397159658","file4":"1397159745","file5":"1397159785","file3":"1397159708"},"map_files_photo_id_array":[{"photo_id":"1397159785","filename":"file5"},{"photo_id":"1397159667","filename":"file2"},{"photo_id":"1397159745","filename":"file4"},{"photo_id":"1397159661","filename":"file1"},{"photo_id":"1397159658","filename":"file0"},{"photo_id":"1397159708","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397159708":["hashtag1","hashtag2"]},{"1397159785":["hashtag1","hashtag2"]},{"1397159667":["hashtag1","hashtag2"]},{"1397159661":["hashtag1","hashtag2"]},{"1397159658":["hashtag1","hashtag2"]},{"1397159745":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397159708, 1397159785, 1397159667, 1397159661, 1397159658, 1397159745)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.376083850860596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:00:02.516058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/58/image_01122025_05_58_34_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/58/image_01122025_05_58_34_9803.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4115147590637207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 06:00:12.142524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_15_1590.jpg', '/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_19_3990.jpg', '/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_20_1607.jpg', '/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_22_1558.jpg', '/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_23_1617.jpg', '/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_26_2546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_15_1590.jpg
/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_19_3990.jpg
/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_20_1607.jpg
/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_22_1558.jpg
/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_23_1617.jpg
/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_26_2546.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397160062","1397160058","1397160162","1397160084","1397160126","1397160060"],"photo_ids_order":["1397160058","1397160060","1397160062","1397160084","1397160126","1397160162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/94a567d8ff2f3d34d895513c4b4d62cd.jpg","text":"TemporaryFile(/tmp/multipartBody1645075592371664161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565273598,"filename":"image_25112025_21_50_20_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/1/069af59a71f4d525aa99af7c85b247cd.jpg","text":"TemporaryFile(/tmp/multipartBody534095208627700825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565273598,"filename":"image_25112025_21_50_15_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7bd89b851d000ee6e19e36908b22024d.jpg","text":"TemporaryFile(/tmp/multipartBody2073095049338478681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565273598,"filename":"image_25112025_21_50_26_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/1/d29192e5d6bfea36ed51be582a968b15.jpg","text":"TemporaryFile(/tmp/multipartBody386199812414525291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565273598,"filename":"image_25112025_21_50_22_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/1/5f856d90d865ec42200a83fef96f748b.jpg","text":"TemporaryFile(/tmp/multipartBody1357506024666562777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565273598,"filename":"image_25112025_21_50_23_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e41ef24f9350184fa693ebc6fa9543dc.jpg","text":"TemporaryFile(/tmp/multipartBody5092405733641978663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565273598,"filename":"image_25112025_21_50_19_3990.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160062","file1":"1397160060","file0":"1397160058","file4":"1397160126","file5":"1397160162","file3":"1397160084"},"map_files_photo_id_array":[{"photo_id":"1397160162","filename":"file5"},{"photo_id":"1397160062","filename":"file2"},{"photo_id":"1397160126","filename":"file4"},{"photo_id":"1397160060","filename":"file1"},{"photo_id":"1397160058","filename":"file0"},{"photo_id":"1397160084","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397160062":["hashtag1","hashtag2"]},{"1397160058":["hashtag1","hashtag2"]},{"1397160162":["hashtag1","hashtag2"]},{"1397160084":["hashtag1","hashtag2"]},{"1397160126":["hashtag1","hashtag2"]},{"1397160060":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397160062, 1397160058, 1397160162, 1397160084, 1397160126, 1397160060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.243555307388306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:01:03.244502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/05/58/image_01122025_05_58_34_9803.jpg', '/home/pi/Desktop/images/01122025/05/58/image_01122025_05_59_04_10897.jpg', '/home/pi/Desktop/images/01122025/05/59/image_01122025_06_00_04_9682.jpg', '/home/pi/Desktop/images/01122025/06/00/image_01122025_06_00_23_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/05/58/image_01122025_05_58_34_9803.jpg
/home/pi/Desktop/images/01122025/05/58/image_01122025_05_59_04_10897.jpg
/home/pi/Desktop/images/01122025/05/59/image_01122025_06_00_04_9682.jpg
/home/pi/Desktop/images/01122025/06/00/image_01122025_06_00_23_9788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397160254","1397160257","1397160245","1397160235"],"photo_ids_order":["1397160235","1397160245","1397160254","1397160257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/becbcbe9a6e1e19905fd939292837d26.jpg","text":"TemporaryFile(/tmp/multipartBody6699746911543082040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565323950,"filename":"image_01122025_06_00_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/1/a4960dd94175ca205e1141e4e68f6e85.jpg","text":"TemporaryFile(/tmp/multipartBody5565997748809363439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565323950,"filename":"image_01122025_06_00_23_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/1/6e32231c531328e8a07eb55917ea9401.jpg","text":"TemporaryFile(/tmp/multipartBody8997826437442684984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565323950,"filename":"image_01122025_05_59_04_10897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ee657dc1b1d7370c8740fa75ad505ad9.jpg","text":"TemporaryFile(/tmp/multipartBody1335933246257840373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565323950,"filename":"image_01122025_05_58_34_9803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160254","file1":"1397160245","file0":"1397160235","file3":"1397160257"},"map_files_photo_id_array":[{"photo_id":"1397160254","filename":"file2"},{"photo_id":"1397160245","filename":"file1"},{"photo_id":"1397160235","filename":"file0"},{"photo_id":"1397160257","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397160254":["hashtag1","hashtag2"]},{"1397160257":["hashtag1","hashtag2"]},{"1397160245":["hashtag1","hashtag2"]},{"1397160235":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397160254, 1397160257, 1397160245, 1397160235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.037842512130737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 06:01:32.515998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_28_1765.jpg', '/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_29_1635.jpg', '/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_32_2684.jpg', '/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_35_2575.jpg', '/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_38_3573.jpg', '/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_42_3579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_28_1765.jpg
/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_29_1635.jpg
/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_32_2684.jpg
/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_35_2575.jpg
/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_38_3573.jpg
/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_42_3579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397160269","1397160266","1397160271","1397160268","1397160270","1397160264"],"photo_ids_order":["1397160264","1397160266","1397160268","1397160269","1397160270","1397160271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0f0151baefc6924ee1199540831f2f4a.jpg","text":"TemporaryFile(/tmp/multipartBody8253417941704903122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565354298,"filename":"image_25112025_21_50_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/1/144cffdd9188674705a16a6fd045106b.jpg","text":"TemporaryFile(/tmp/multipartBody4695145942802533950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565354298,"filename":"image_25112025_21_50_29_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/1/6713fde51aabbe9956cb1f674a09096c.jpg","text":"TemporaryFile(/tmp/multipartBody5790902229511159637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565354298,"filename":"image_25112025_21_50_42_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/1/515a037f26fd90653fcd43d982896fb0.jpg","text":"TemporaryFile(/tmp/multipartBody5854304453658940531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565354298,"filename":"image_25112025_21_50_32_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b3adf43ad63f9d2a9ae66cc2325cf180.jpg","text":"TemporaryFile(/tmp/multipartBody6041017588300055769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565354298,"filename":"image_25112025_21_50_38_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b17eda7e1781a9b764818529557723f6.jpg","text":"TemporaryFile(/tmp/multipartBody5030941907314841923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565354298,"filename":"image_25112025_21_50_28_1765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160268","file1":"1397160266","file0":"1397160264","file4":"1397160270","file5":"1397160271","file3":"1397160269"},"map_files_photo_id_array":[{"photo_id":"1397160271","filename":"file5"},{"photo_id":"1397160268","filename":"file2"},{"photo_id":"1397160270","filename":"file4"},{"photo_id":"1397160266","filename":"file1"},{"photo_id":"1397160264","filename":"file0"},{"photo_id":"1397160269","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397160269":["hashtag1","hashtag2"]},{"1397160266":["hashtag1","hashtag2"]},{"1397160271":["hashtag1","hashtag2"]},{"1397160268":["hashtag1","hashtag2"]},{"1397160270":["hashtag1","hashtag2"]},{"1397160264":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397160269, 1397160266, 1397160271, 1397160268, 1397160270, 1397160264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.6254448890686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 06:02:11.908580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_44_2541.jpg', '/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_47_2676.jpg', '/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_49_2552.jpg', '/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_56_2753.jpg', '/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_59_3183.jpg', '/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_02_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_44_2541.jpg
/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_47_2676.jpg
/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_49_2552.jpg
/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_56_2753.jpg
/home/pi/Desktop/images/25112025/21/50/image_25112025_21_50_59_3183.jpg
/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_02_2735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397160287","1397160281","1397160274","1397160276","1397160285","1397160279"],"photo_ids_order":["1397160274","1397160276","1397160279","1397160281","1397160285","1397160287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a7d280d68a887c55e041485d3ebb732c.jpg","text":"TemporaryFile(/tmp/multipartBody1262421784901203097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565393561,"filename":"image_25112025_21_51_02_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/72b2ed641c097b9c35215ad5ca596d97.jpg","text":"TemporaryFile(/tmp/multipartBody774826348953331218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565393561,"filename":"image_25112025_21_50_56_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/1/3f93a38aa1bc640645d73d1e171c7689.jpg","text":"TemporaryFile(/tmp/multipartBody1738869101669358592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565393561,"filename":"image_25112025_21_50_44_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/1/943a950ae95b6f582d671cc9ab4a8f33.jpg","text":"TemporaryFile(/tmp/multipartBody6292477959865093762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565393561,"filename":"image_25112025_21_50_47_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7c7207c3c3892c955b52c9be5f026739.jpg","text":"TemporaryFile(/tmp/multipartBody2668574058059227527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565393561,"filename":"image_25112025_21_50_59_3183.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ed2688eb5c7cf4306f1de9a5a9cd0a75.jpg","text":"TemporaryFile(/tmp/multipartBody6224086249213734549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565393561,"filename":"image_25112025_21_50_49_2552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160279","file1":"1397160276","file0":"1397160274","file4":"1397160285","file5":"1397160287","file3":"1397160281"},"map_files_photo_id_array":[{"photo_id":"1397160287","filename":"file5"},{"photo_id":"1397160279","filename":"file2"},{"photo_id":"1397160285","filename":"file4"},{"photo_id":"1397160276","filename":"file1"},{"photo_id":"1397160274","filename":"file0"},{"photo_id":"1397160281","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397160287":["hashtag1","hashtag2"]},{"1397160281":["hashtag1","hashtag2"]},{"1397160274":["hashtag1","hashtag2"]},{"1397160276":["hashtag1","hashtag2"]},{"1397160285":["hashtag1","hashtag2"]},{"1397160279":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397160287, 1397160281, 1397160274, 1397160276, 1397160285, 1397160279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48353409767151 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:03:02.897519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/00/image_01122025_06_00_54_9714.jpg', '/home/pi/Desktop/images/01122025/06/00/image_01122025_06_01_04_10759.jpg', '/home/pi/Desktop/images/01122025/06/01/image_01122025_06_01_24_9578.jpg', '/home/pi/Desktop/images/01122025/06/01/image_01122025_06_01_34_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/00/image_01122025_06_00_54_9714.jpg
/home/pi/Desktop/images/01122025/06/00/image_01122025_06_01_04_10759.jpg
/home/pi/Desktop/images/01122025/06/01/image_01122025_06_01_24_9578.jpg
/home/pi/Desktop/images/01122025/06/01/image_01122025_06_01_34_10671.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5907502174377441 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 06:03:12.185229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_11_8918.jpg', '/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_17_5888.jpg', '/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_19_1732.jpg', '/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_20_1633.jpg', '/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_22_1609.jpg', '/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_25_1559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_11_8918.jpg
/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_17_5888.jpg
/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_19_1732.jpg
/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_20_1633.jpg
/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_22_1609.jpg
/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_25_1559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397160318","1397160320","1397160316","1397160307","1397160312","1397160309"],"photo_ids_order":["1397160307","1397160309","1397160312","1397160316","1397160318","1397160320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2088315b24d49dee6b1ee3eeb461ad4a.jpg","text":"TemporaryFile(/tmp/multipartBody3337015393770692116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565454070,"filename":"image_25112025_21_51_22_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/1/75f72ebe3958722e3fcb909f2d61cb97.jpg","text":"TemporaryFile(/tmp/multipartBody4171830835744834860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565454070,"filename":"image_25112025_21_51_25_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/1/141882fd11b2e5d06f66adaa8e89be6a.jpg","text":"TemporaryFile(/tmp/multipartBody8881719809525352733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565454070,"filename":"image_25112025_21_51_20_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/1/2e57689f0617ebc4988f7b1a91d69606.jpg","text":"TemporaryFile(/tmp/multipartBody6397777190151058986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565454070,"filename":"image_25112025_21_51_11_8918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5a14e80e8177e17a67a10efc3a2685c2.jpg","text":"TemporaryFile(/tmp/multipartBody4502645709694888489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565454070,"filename":"image_25112025_21_51_19_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/1/04f10348ad1a0e06ebb6d4501e0fd75e.jpg","text":"TemporaryFile(/tmp/multipartBody6953648256266190211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565454070,"filename":"image_25112025_21_51_17_5888.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160312","file1":"1397160309","file0":"1397160307","file4":"1397160318","file5":"1397160320","file3":"1397160316"},"map_files_photo_id_array":[{"photo_id":"1397160320","filename":"file5"},{"photo_id":"1397160312","filename":"file2"},{"photo_id":"1397160318","filename":"file4"},{"photo_id":"1397160309","filename":"file1"},{"photo_id":"1397160307","filename":"file0"},{"photo_id":"1397160316","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397160318":["hashtag1","hashtag2"]},{"1397160320":["hashtag1","hashtag2"]},{"1397160316":["hashtag1","hashtag2"]},{"1397160307":["hashtag1","hashtag2"]},{"1397160312":["hashtag1","hashtag2"]},{"1397160309":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397160318, 1397160320, 1397160316, 1397160307, 1397160312, 1397160309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.672741174697876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:04:02.997511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/00/image_01122025_06_00_54_9714.jpg', '/home/pi/Desktop/images/01122025/06/00/image_01122025_06_01_04_10759.jpg', '/home/pi/Desktop/images/01122025/06/01/image_01122025_06_01_24_9578.jpg', '/home/pi/Desktop/images/01122025/06/01/image_01122025_06_01_34_10671.jpg', '/home/pi/Desktop/images/01122025/06/01/image_01122025_06_01_54_10287.jpg', '/home/pi/Desktop/images/01122025/06/02/image_01122025_06_03_04_9915.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/00/image_01122025_06_00_54_9714.jpg
/home/pi/Desktop/images/01122025/06/00/image_01122025_06_01_04_10759.jpg
/home/pi/Desktop/images/01122025/06/01/image_01122025_06_01_24_9578.jpg
/home/pi/Desktop/images/01122025/06/01/image_01122025_06_01_34_10671.jpg
/home/pi/Desktop/images/01122025/06/01/image_01122025_06_01_54_10287.jpg
/home/pi/Desktop/images/01122025/06/02/image_01122025_06_03_04_9915.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397160335","1397160332","1397160326","1397160328","1397160330","1397160324"],"photo_ids_order":["1397160324","1397160326","1397160328","1397160330","1397160332","1397160335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/13166a2df0d30de32ca45f5a2b1e2779.jpg","text":"TemporaryFile(/tmp/multipartBody2513497396468571935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565503816,"filename":"image_01122025_06_03_04_9915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/61593fd83f9957138b3b89595bf4edba.jpg","text":"TemporaryFile(/tmp/multipartBody744780387400428447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565503816,"filename":"image_01122025_06_01_54_10287.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/572b59026d398c4518f2a75bf9494662.jpg","text":"TemporaryFile(/tmp/multipartBody8642129110909423647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565503816,"filename":"image_01122025_06_01_04_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/1/90c5990c70cf2c123f29ff7199cbc422.jpg","text":"TemporaryFile(/tmp/multipartBody2232178352520957902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565503816,"filename":"image_01122025_06_01_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/1/2541e74b0b93d4bcb4c6714eaba91775.jpg","text":"TemporaryFile(/tmp/multipartBody2602543925873425389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565503816,"filename":"image_01122025_06_01_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/1/348ee831bd186a0e09f575ac7e9be55b.jpg","text":"TemporaryFile(/tmp/multipartBody7205857275380569987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565503816,"filename":"image_01122025_06_00_54_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160328","file1":"1397160326","file0":"1397160324","file4":"1397160332","file5":"1397160335","file3":"1397160330"},"map_files_photo_id_array":[{"photo_id":"1397160335","filename":"file5"},{"photo_id":"1397160328","filename":"file2"},{"photo_id":"1397160332","filename":"file4"},{"photo_id":"1397160326","filename":"file1"},{"photo_id":"1397160324","filename":"file0"},{"photo_id":"1397160330","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397160335":["hashtag1","hashtag2"]},{"1397160332":["hashtag1","hashtag2"]},{"1397160326":["hashtag1","hashtag2"]},{"1397160328":["hashtag1","hashtag2"]},{"1397160330":["hashtag1","hashtag2"]},{"1397160324":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397160335, 1397160332, 1397160326, 1397160328, 1397160330, 1397160324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22279238700867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 06:04:42.434762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/45/image_01112025_00_45_38_2846.jpg', '/home/pi/Desktop/images/01112025/00/45/image_01112025_00_45_40_2689.jpg', '/home/pi/Desktop/images/01112025/00/45/image_01112025_00_45_44_3718.jpg', '/home/pi/Desktop/images/01112025/00/45/image_01112025_00_45_47_3180.jpg', '/home/pi/Desktop/images/01112025/00/45/image_01112025_00_45_53_2677.jpg', '/home/pi/Desktop/images/01112025/00/46/image_01112025_00_46_11_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/45/image_01112025_00_45_38_2846.jpg
/home/pi/Desktop/images/01112025/00/45/image_01112025_00_45_40_2689.jpg
/home/pi/Desktop/images/01112025/00/45/image_01112025_00_45_44_3718.jpg
/home/pi/Desktop/images/01112025/00/45/image_01112025_00_45_47_3180.jpg
/home/pi/Desktop/images/01112025/00/45/image_01112025_00_45_53_2677.jpg
/home/pi/Desktop/images/01112025/00/46/image_01112025_00_46_11_2620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397160350","1397160347","1397160346","1397160349","1397160345","1397160348"],"photo_ids_order":["1397160345","1397160346","1397160347","1397160348","1397160349","1397160350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c691af7e1aaf2a6f2a44e06d33da4a16.jpg","text":"TemporaryFile(/tmp/multipartBody8718503547833694896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565547199,"filename":"image_01112025_00_46_11_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/1/3925fe0cf0b5c89730c65c3214200c89.jpg","text":"TemporaryFile(/tmp/multipartBody4187251989324092054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565547199,"filename":"image_01112025_00_45_44_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/1/89f88f9d959e77ef7e3f1edf69a5e04a.jpg","text":"TemporaryFile(/tmp/multipartBody2198909902964490243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565547199,"filename":"image_01112025_00_45_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/1/d6eaed54819d5509a55e8d91c28384ca.jpg","text":"TemporaryFile(/tmp/multipartBody1162777634507566625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565547199,"filename":"image_01112025_00_45_53_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/1/bfd2beb9e194c9d5163568d3aa1dd6ad.jpg","text":"TemporaryFile(/tmp/multipartBody6265559335378958500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565547199,"filename":"image_01112025_00_45_38_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/1/4ea9bdbbbd80e255f56110df7f10d70c.jpg","text":"TemporaryFile(/tmp/multipartBody1894438288588962244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565547199,"filename":"image_01112025_00_45_47_3180.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160347","file1":"1397160346","file0":"1397160345","file4":"1397160349","file5":"1397160350","file3":"1397160348"},"map_files_photo_id_array":[{"photo_id":"1397160350","filename":"file5"},{"photo_id":"1397160347","filename":"file2"},{"photo_id":"1397160349","filename":"file4"},{"photo_id":"1397160346","filename":"file1"},{"photo_id":"1397160345","filename":"file0"},{"photo_id":"1397160348","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397160350":["hashtag1","hashtag2"]},{"1397160347":["hashtag1","hashtag2"]},{"1397160346":["hashtag1","hashtag2"]},{"1397160349":["hashtag1","hashtag2"]},{"1397160345":["hashtag1","hashtag2"]},{"1397160348":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397160350, 1397160347, 1397160346, 1397160349, 1397160345, 1397160348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.79104685783386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 06:05:32.625894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_27_1658.jpg', '/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_28_1555.jpg', '/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_32_3575.jpg', '/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_35_2648.jpg', '/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_37_2759.jpg', '/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_41_3670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_27_1658.jpg
/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_28_1555.jpg
/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_32_3575.jpg
/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_35_2648.jpg
/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_37_2759.jpg
/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_41_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":["1397160380","1397160362","1397160365","1397160359","1397160385","1397160369"],"photo_ids_order":["1397160359","1397160362","1397160365","1397160369","1397160380","1397160385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8e6e232459730cc53a5e473ef2baa43f.jpg","text":"TemporaryFile(/tmp/multipartBody6320939630881394911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565594349,"filename":"image_25112025_21_51_37_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/1/6349fd8987960e9ecd5b1088fad974bb.jpg","text":"TemporaryFile(/tmp/multipartBody2094989574556952964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565594349,"filename":"image_25112025_21_51_28_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/38dd58d861ae5093957f7dccc69ac21d.jpg","text":"TemporaryFile(/tmp/multipartBody2579545698300457126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565594349,"filename":"image_25112025_21_51_32_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/1/78bcf13f62d08a1fdd7458cc395b5696.jpg","text":"TemporaryFile(/tmp/multipartBody6419665734620238121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565594349,"filename":"image_25112025_21_51_27_1658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5d5b99920976a9dbe59adea99ef71d16.jpg","text":"TemporaryFile(/tmp/multipartBody6951633731928636191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565594349,"filename":"image_25112025_21_51_41_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f27c5e643693f891bbf68837bd832b14.jpg","text":"TemporaryFile(/tmp/multipartBody6056457083615491416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565594349,"filename":"image_25112025_21_51_35_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160365","file1":"1397160362","file0":"1397160359","file4":"1397160380","file5":"1397160385","file3":"1397160369"},"map_files_photo_id_array":[{"photo_id":"1397160385","filename":"file5"},{"photo_id":"1397160365","filename":"file2"},{"photo_id":"1397160380","filename":"file4"},{"photo_id":"1397160362","filename":"file1"},{"photo_id":"1397160359","filename":"file0"},{"photo_id":"1397160369","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397160380":["hashtag1","hashtag2"]},{"1397160362":["hashtag1","hashtag2"]},{"1397160365":["hashtag1","hashtag2"]},{"1397160359":["hashtag1","hashtag2"]},{"1397160385":["hashtag1","hashtag2"]},{"1397160369":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397160380, 1397160362, 1397160365, 1397160359, 1397160385, 1397160369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21299862861633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 06:06:11.879054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_44_2615.jpg', '/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_46_2679.jpg', '/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_50_3644.jpg', '/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_53_2546.jpg', '/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_56_3500.jpg', '/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_59_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_44_2615.jpg
/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_46_2679.jpg
/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_50_3644.jpg
/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_53_2546.jpg
/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_56_3500.jpg
/home/pi/Desktop/images/25112025/21/51/image_25112025_21_51_59_2697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397160394","1397160397","1397160391","1397160400","1397160403","1397160390"],"photo_ids_order":["1397160390","1397160391","1397160394","1397160397","1397160400","1397160403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/02f72ee257becd147ecadbb2752bf66f.jpg","text":"TemporaryFile(/tmp/multipartBody2363690108428904825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565633509,"filename":"image_25112025_21_51_50_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/1/cea94c0a82dcd964edf64ddbf31185a3.jpg","text":"TemporaryFile(/tmp/multipartBody2706527310824753406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565633509,"filename":"image_25112025_21_51_53_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/1/ec99cc62e66f445cd26c6c4dd231718d.jpg","text":"TemporaryFile(/tmp/multipartBody2946726520761447642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565633509,"filename":"image_25112025_21_51_46_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5c2761fba965e4e0e697f0a3df9c37a2.jpg","text":"TemporaryFile(/tmp/multipartBody208763521064079981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565633509,"filename":"image_25112025_21_51_56_3500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/032c34330d95e35675a8282efc78a7f8.jpg","text":"TemporaryFile(/tmp/multipartBody3901705590401104289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565633509,"filename":"image_25112025_21_51_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/1/06a4a2ee97aa542bb82bb0b3d1535037.jpg","text":"TemporaryFile(/tmp/multipartBody8015692221671357404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565633509,"filename":"image_25112025_21_51_44_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160394","file1":"1397160391","file0":"1397160390","file4":"1397160400","file5":"1397160403","file3":"1397160397"},"map_files_photo_id_array":[{"photo_id":"1397160403","filename":"file5"},{"photo_id":"1397160394","filename":"file2"},{"photo_id":"1397160400","filename":"file4"},{"photo_id":"1397160391","filename":"file1"},{"photo_id":"1397160390","filename":"file0"},{"photo_id":"1397160397","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397160394":["hashtag1","hashtag2"]},{"1397160397":["hashtag1","hashtag2"]},{"1397160391":["hashtag1","hashtag2"]},{"1397160400":["hashtag1","hashtag2"]},{"1397160403":["hashtag1","hashtag2"]},{"1397160390":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397160394, 1397160397, 1397160391, 1397160400, 1397160403, 1397160390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07081580162048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:07:02.726931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/03/image_01122025_06_03_54_9640.jpg', '/home/pi/Desktop/images/01122025/06/04/image_01122025_06_04_34_9640.jpg', '/home/pi/Desktop/images/01122025/06/04/image_01122025_06_04_54_9669.jpg', '/home/pi/Desktop/images/01122025/06/04/image_01122025_06_05_04_9680.jpg', '/home/pi/Desktop/images/01122025/06/05/image_01122025_06_05_24_10753.jpg', '/home/pi/Desktop/images/01122025/06/05/image_01122025_06_05_44_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/03/image_01122025_06_03_54_9640.jpg
/home/pi/Desktop/images/01122025/06/04/image_01122025_06_04_34_9640.jpg
/home/pi/Desktop/images/01122025/06/04/image_01122025_06_04_54_9669.jpg
/home/pi/Desktop/images/01122025/06/04/image_01122025_06_05_04_9680.jpg
/home/pi/Desktop/images/01122025/06/05/image_01122025_06_05_24_10753.jpg
/home/pi/Desktop/images/01122025/06/05/image_01122025_06_05_44_9692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397160417","1397160422","1397160431","1397160419","1397160413","1397160415"],"photo_ids_order":["1397160413","1397160415","1397160417","1397160419","1397160422","1397160431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b34191b769bc47561e156aa5802d9974.jpg","text":"TemporaryFile(/tmp/multipartBody7083565129948360939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565683563,"filename":"image_01122025_06_04_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/1/0a5f5fd03b876728c02a96165e14b6a3.jpg","text":"TemporaryFile(/tmp/multipartBody5383667291326447887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565683563,"filename":"image_01122025_06_05_24_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/1/d56c311eea9f90b6564c7b6867f2ea13.jpg","text":"TemporaryFile(/tmp/multipartBody9099495590118364105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565683563,"filename":"image_01122025_06_05_44_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0367615399f7962558e59b85a8fea2fc.jpg","text":"TemporaryFile(/tmp/multipartBody2550300405876684076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565683563,"filename":"image_01122025_06_05_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/1/60a19ffdac3c8adf3a572a4b1da5c5d4.jpg","text":"TemporaryFile(/tmp/multipartBody3799405839831724321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565683563,"filename":"image_01122025_06_03_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/1/65f9b810c9d4ba0fde6e7e33bc6d672e.jpg","text":"TemporaryFile(/tmp/multipartBody6004880769334562764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565683563,"filename":"image_01122025_06_04_34_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160417","file1":"1397160415","file0":"1397160413","file4":"1397160422","file5":"1397160431","file3":"1397160419"},"map_files_photo_id_array":[{"photo_id":"1397160431","filename":"file5"},{"photo_id":"1397160417","filename":"file2"},{"photo_id":"1397160422","filename":"file4"},{"photo_id":"1397160415","filename":"file1"},{"photo_id":"1397160413","filename":"file0"},{"photo_id":"1397160419","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397160417":["hashtag1","hashtag2"]},{"1397160422":["hashtag1","hashtag2"]},{"1397160431":["hashtag1","hashtag2"]},{"1397160419":["hashtag1","hashtag2"]},{"1397160413":["hashtag1","hashtag2"]},{"1397160415":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397160417, 1397160422, 1397160431, 1397160419, 1397160413, 1397160415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51053500175476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 06:07:42.132190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/46/image_01112025_00_46_20_3669.jpg', '/home/pi/Desktop/images/01112025/00/46/image_01112025_00_46_22_2571.jpg', '/home/pi/Desktop/images/01112025/00/46/image_01112025_00_46_29_3687.jpg', '/home/pi/Desktop/images/01112025/00/46/image_01112025_00_46_32_2689.jpg', '/home/pi/Desktop/images/01112025/00/46/image_01112025_00_46_43_2569.jpg', '/home/pi/Desktop/images/01112025/00/46/image_01112025_00_46_52_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/46/image_01112025_00_46_20_3669.jpg
/home/pi/Desktop/images/01112025/00/46/image_01112025_00_46_22_2571.jpg
/home/pi/Desktop/images/01112025/00/46/image_01112025_00_46_29_3687.jpg
/home/pi/Desktop/images/01112025/00/46/image_01112025_00_46_32_2689.jpg
/home/pi/Desktop/images/01112025/00/46/image_01112025_00_46_43_2569.jpg
/home/pi/Desktop/images/01112025/00/46/image_01112025_00_46_52_2598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397160452","1397160446","1397160449","1397160454","1397160442","1397160453"],"photo_ids_order":["1397160442","1397160446","1397160449","1397160452","1397160453","1397160454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6df6180a9d004e4ee50e31b15afb21e7.jpg","text":"TemporaryFile(/tmp/multipartBody2411109921229683683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565722979,"filename":"image_01112025_00_46_32_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/1/c8d9a4bf00812b8a11d1f2486f57e19a.jpg","text":"TemporaryFile(/tmp/multipartBody7785299358367201612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565722979,"filename":"image_01112025_00_46_22_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2f52a8b4e16234e96e0badb2842bdb49.jpg","text":"TemporaryFile(/tmp/multipartBody8501757158225222453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565722979,"filename":"image_01112025_00_46_29_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/1/3d53b00b59f9bc9941e6ccb368403b96.jpg","text":"TemporaryFile(/tmp/multipartBody5335901846492433384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565722979,"filename":"image_01112025_00_46_52_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/1/0ba7b3e9cace211893419586e911046e.jpg","text":"TemporaryFile(/tmp/multipartBody2557480852612437483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565722979,"filename":"image_01112025_00_46_20_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7e2fa573b44fdb69456df2463b293ca7.jpg","text":"TemporaryFile(/tmp/multipartBody1757277722723607681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565722979,"filename":"image_01112025_00_46_43_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160449","file1":"1397160446","file0":"1397160442","file4":"1397160453","file5":"1397160454","file3":"1397160452"},"map_files_photo_id_array":[{"photo_id":"1397160454","filename":"file5"},{"photo_id":"1397160449","filename":"file2"},{"photo_id":"1397160453","filename":"file4"},{"photo_id":"1397160446","filename":"file1"},{"photo_id":"1397160442","filename":"file0"},{"photo_id":"1397160452","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397160452":["hashtag1","hashtag2"]},{"1397160446":["hashtag1","hashtag2"]},{"1397160449":["hashtag1","hashtag2"]},{"1397160454":["hashtag1","hashtag2"]},{"1397160442":["hashtag1","hashtag2"]},{"1397160453":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397160452, 1397160446, 1397160449, 1397160454, 1397160442, 1397160453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7319438457489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 06:08:22.306337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/06/image_01122025_06_06_24_10781.jpg', '/home/pi/Desktop/images/01122025/06/06/image_01122025_06_06_54_10593.jpg', '/home/pi/Desktop/images/01122025/06/07/image_01122025_06_07_14_9725.jpg', '/home/pi/Desktop/images/01122025/06/07/image_01122025_06_07_24_9741.jpg', '/home/pi/Desktop/images/01122025/06/07/image_01122025_06_07_44_9591.jpg', '/home/pi/Desktop/images/01122025/06/08/image_01122025_06_08_14_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/06/image_01122025_06_06_24_10781.jpg
/home/pi/Desktop/images/01122025/06/06/image_01122025_06_06_54_10593.jpg
/home/pi/Desktop/images/01122025/06/07/image_01122025_06_07_14_9725.jpg
/home/pi/Desktop/images/01122025/06/07/image_01122025_06_07_24_9741.jpg
/home/pi/Desktop/images/01122025/06/07/image_01122025_06_07_44_9591.jpg
/home/pi/Desktop/images/01122025/06/08/image_01122025_06_08_14_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":["1397160464","1397160475","1397160472","1397160460","1397160468","1397160477"],"photo_ids_order":["1397160460","1397160464","1397160468","1397160472","1397160475","1397160477"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e4fe7a6da1d5316ba81ec755626d9c81.jpg","text":"TemporaryFile(/tmp/multipartBody3345219870642112608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565763031,"filename":"image_01122025_06_06_54_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a2fa0042feba4773a6403f4ad43f76d8.jpg","text":"TemporaryFile(/tmp/multipartBody3388729535470189658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565763031,"filename":"image_01122025_06_07_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/1/54ef186a574c8dcd996e1149788209a3.jpg","text":"TemporaryFile(/tmp/multipartBody3952755634346489381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565763031,"filename":"image_01122025_06_07_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/1/c3c59e3f5299c8307da058dc4f78890d.jpg","text":"TemporaryFile(/tmp/multipartBody8183324113229413919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565763031,"filename":"image_01122025_06_06_24_10781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/97d79f2c6fb60d7b30c9c5492e2b7936.jpg","text":"TemporaryFile(/tmp/multipartBody4400622555125380188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565763031,"filename":"image_01122025_06_07_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/1/80b2836493de0138e93695b26e68e05c.jpg","text":"TemporaryFile(/tmp/multipartBody1149144147058429373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565763031,"filename":"image_01122025_06_08_14_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160468","file1":"1397160464","file0":"1397160460","file4":"1397160475","file5":"1397160477","file3":"1397160472"},"map_files_photo_id_array":[{"photo_id":"1397160477","filename":"file5"},{"photo_id":"1397160468","filename":"file2"},{"photo_id":"1397160475","filename":"file4"},{"photo_id":"1397160464","filename":"file1"},{"photo_id":"1397160460","filename":"file0"},{"photo_id":"1397160472","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397160464":["hashtag1","hashtag2"]},{"1397160475":["hashtag1","hashtag2"]},{"1397160472":["hashtag1","hashtag2"]},{"1397160460":["hashtag1","hashtag2"]},{"1397160468":["hashtag1","hashtag2"]},{"1397160477":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397160464, 1397160475, 1397160472, 1397160460, 1397160468, 1397160477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.550456523895264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:09:02.726629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/08/image_01122025_06_08_23_9721.jpg', '/home/pi/Desktop/images/01122025/06/08/image_01122025_06_08_34_10683.jpg', '/home/pi/Desktop/images/01122025/06/08/image_01122025_06_08_44_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/08/image_01122025_06_08_23_9721.jpg
/home/pi/Desktop/images/01122025/06/08/image_01122025_06_08_34_10683.jpg
/home/pi/Desktop/images/01122025/06/08/image_01122025_06_08_44_9562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397160512","1397160511","1397160513"],"photo_ids_order":["1397160511","1397160512","1397160513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b53bf08f9e85207ebd03a6ea055392bf.jpg","text":"TemporaryFile(/tmp/multipartBody4372556131847283008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565805036,"filename":"image_01122025_06_08_34_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f15fa9d4dee2a9387328e43b9a900d14.jpg","text":"TemporaryFile(/tmp/multipartBody1853751122336163353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565805036,"filename":"image_01122025_06_08_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/1/118d047ed22a22f2641f18807d667946.jpg","text":"TemporaryFile(/tmp/multipartBody5461143765390893085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565805036,"filename":"image_01122025_06_08_44_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160513","file1":"1397160512","file0":"1397160511"},"map_files_photo_id_array":[{"photo_id":"1397160513","filename":"file2"},{"photo_id":"1397160512","filename":"file1"},{"photo_id":"1397160511","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397160512":["hashtag1","hashtag2"]},{"1397160511":["hashtag1","hashtag2"]},{"1397160513":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397160512, 1397160511, 1397160513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.874132871627808 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 06:09:31.908882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_01_2602.jpg', '/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_05_3539.jpg', '/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_08_2636.jpg', '/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_11_3725.jpg', '/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_14_2568.jpg', '/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_16_2589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_01_2602.jpg
/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_05_3539.jpg
/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_08_2636.jpg
/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_11_3725.jpg
/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_14_2568.jpg
/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_16_2589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397160533","1397160521","1397160535","1397160529","1397160537","1397160525"],"photo_ids_order":["1397160521","1397160525","1397160529","1397160533","1397160535","1397160537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b3a017af0a6eb084be7bb0c19657f4d3.jpg","text":"TemporaryFile(/tmp/multipartBody2004500049842188980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565833618,"filename":"image_25112025_21_52_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/1/bbb09ac8f671ff0ed3ec700d72537998.jpg","text":"TemporaryFile(/tmp/multipartBody4139438496084178924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565833618,"filename":"image_25112025_21_52_01_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/1/861c0546a29e1e507155e9a49d35b2af.jpg","text":"TemporaryFile(/tmp/multipartBody6792519451059430811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565833618,"filename":"image_25112025_21_52_14_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/1/6751241ececf8bc923654def99386ef6.jpg","text":"TemporaryFile(/tmp/multipartBody5195642809826051298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565833618,"filename":"image_25112025_21_52_08_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/01f66291cb4e12b70e0681557793951c.jpg","text":"TemporaryFile(/tmp/multipartBody6689741761962894479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565833618,"filename":"image_25112025_21_52_16_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/1/702a48d16f007f53c3300499da3ef6a7.jpg","text":"TemporaryFile(/tmp/multipartBody4871841432437959038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565833618,"filename":"image_25112025_21_52_05_3539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160529","file1":"1397160525","file0":"1397160521","file4":"1397160535","file5":"1397160537","file3":"1397160533"},"map_files_photo_id_array":[{"photo_id":"1397160537","filename":"file5"},{"photo_id":"1397160529","filename":"file2"},{"photo_id":"1397160535","filename":"file4"},{"photo_id":"1397160525","filename":"file1"},{"photo_id":"1397160521","filename":"file0"},{"photo_id":"1397160533","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397160533":["hashtag1","hashtag2"]},{"1397160521":["hashtag1","hashtag2"]},{"1397160535":["hashtag1","hashtag2"]},{"1397160529":["hashtag1","hashtag2"]},{"1397160537":["hashtag1","hashtag2"]},{"1397160525":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397160533, 1397160521, 1397160535, 1397160529, 1397160537, 1397160525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59310793876648 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 06:10:12.119408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_20_3668.jpg', '/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_23_2583.jpg', '/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_25_2648.jpg', '/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_29_3551.jpg', '/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_32_2673.jpg', '/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_34_2777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_20_3668.jpg
/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_23_2583.jpg
/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_25_2648.jpg
/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_29_3551.jpg
/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_32_2673.jpg
/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_34_2777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397160556","1397160544","1397160555","1397160549","1397160552","1397160546"],"photo_ids_order":["1397160544","1397160546","1397160549","1397160552","1397160555","1397160556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2639f07742b84df4adee48613eb8cced.jpg","text":"TemporaryFile(/tmp/multipartBody8934649914416854561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565873769,"filename":"image_25112025_21_52_34_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2d0b826d489491e2d522b78756a9ef11.jpg","text":"TemporaryFile(/tmp/multipartBody6622926060646106836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565873769,"filename":"image_25112025_21_52_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/1/78d21a3c4661d4fee50b65d5a77150d2.jpg","text":"TemporaryFile(/tmp/multipartBody1550553401691283047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565873769,"filename":"image_25112025_21_52_32_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/47d4d329a23fcbe722b768c43a5f859a.jpg","text":"TemporaryFile(/tmp/multipartBody4904658167735566963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565873769,"filename":"image_25112025_21_52_25_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/44c9a4adefa4cbe3cf4687c3969a2f04.jpg","text":"TemporaryFile(/tmp/multipartBody6382670902943531766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565873769,"filename":"image_25112025_21_52_29_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/1/cfed1ca826375c75c613e2bbf74f5ac5.jpg","text":"TemporaryFile(/tmp/multipartBody4411034860622017334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565873769,"filename":"image_25112025_21_52_23_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160549","file1":"1397160546","file0":"1397160544","file4":"1397160555","file5":"1397160556","file3":"1397160552"},"map_files_photo_id_array":[{"photo_id":"1397160556","filename":"file5"},{"photo_id":"1397160549","filename":"file2"},{"photo_id":"1397160555","filename":"file4"},{"photo_id":"1397160546","filename":"file1"},{"photo_id":"1397160544","filename":"file0"},{"photo_id":"1397160552","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397160556":["hashtag1","hashtag2"]},{"1397160544":["hashtag1","hashtag2"]},{"1397160555":["hashtag1","hashtag2"]},{"1397160549":["hashtag1","hashtag2"]},{"1397160552":["hashtag1","hashtag2"]},{"1397160546":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397160556, 1397160544, 1397160555, 1397160549, 1397160552, 1397160546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75360608100891 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:11:02.842245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/08/image_01122025_06_08_54_10617.jpg', '/home/pi/Desktop/images/01122025/06/09/image_01122025_06_09_24_9693.jpg', '/home/pi/Desktop/images/01122025/06/09/image_01122025_06_09_34_9967.jpg', '/home/pi/Desktop/images/01122025/06/09/image_01122025_06_09_44_9691.jpg', '/home/pi/Desktop/images/01122025/06/09/image_01122025_06_09_54_10432.jpg', '/home/pi/Desktop/images/01122025/06/10/image_01122025_06_10_14_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/08/image_01122025_06_08_54_10617.jpg
/home/pi/Desktop/images/01122025/06/09/image_01122025_06_09_24_9693.jpg
/home/pi/Desktop/images/01122025/06/09/image_01122025_06_09_34_9967.jpg
/home/pi/Desktop/images/01122025/06/09/image_01122025_06_09_44_9691.jpg
/home/pi/Desktop/images/01122025/06/09/image_01122025_06_09_54_10432.jpg
/home/pi/Desktop/images/01122025/06/10/image_01122025_06_10_14_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":["1397160608","1397160589","1397160591","1397160603","1397160606","1397160596"],"photo_ids_order":["1397160589","1397160591","1397160596","1397160603","1397160606","1397160608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2ef8764abd7bd3c6167c0cf80c465033.jpg","text":"TemporaryFile(/tmp/multipartBody9135863369712773012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565923604,"filename":"image_01122025_06_10_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/1/7ecb3a3f918e53ed6159c371525c29f6.jpg","text":"TemporaryFile(/tmp/multipartBody573156618771193368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565923604,"filename":"image_01122025_06_08_54_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5ff84d989106147b634a979dcb9300fa.jpg","text":"TemporaryFile(/tmp/multipartBody9978520895847168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565923604,"filename":"image_01122025_06_09_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/1/034bc292088d72948e5791cb9cc84bfd.jpg","text":"TemporaryFile(/tmp/multipartBody2413891050119286939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565923604,"filename":"image_01122025_06_09_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/1/2da7518edfe8bf61d386dac2344ddf8a.jpg","text":"TemporaryFile(/tmp/multipartBody7100183619689395256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565923604,"filename":"image_01122025_06_09_54_10432.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dd9c424e6ab600a1da48f0c9f8de7bb6.jpg","text":"TemporaryFile(/tmp/multipartBody1956827247103615932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565923604,"filename":"image_01122025_06_09_34_9967.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160596","file1":"1397160591","file0":"1397160589","file4":"1397160606","file5":"1397160608","file3":"1397160603"},"map_files_photo_id_array":[{"photo_id":"1397160608","filename":"file5"},{"photo_id":"1397160596","filename":"file2"},{"photo_id":"1397160606","filename":"file4"},{"photo_id":"1397160591","filename":"file1"},{"photo_id":"1397160589","filename":"file0"},{"photo_id":"1397160603","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397160608":["hashtag1","hashtag2"]},{"1397160589":["hashtag1","hashtag2"]},{"1397160591":["hashtag1","hashtag2"]},{"1397160603":["hashtag1","hashtag2"]},{"1397160606":["hashtag1","hashtag2"]},{"1397160596":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397160608, 1397160589, 1397160591, 1397160603, 1397160606, 1397160596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.158575773239136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:12:03.109545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/10/image_01122025_06_10_24_10763.jpg', '/home/pi/Desktop/images/01122025/06/10/image_01122025_06_10_34_9716.jpg', '/home/pi/Desktop/images/01122025/06/10/image_01122025_06_10_44_9649.jpg', '/home/pi/Desktop/images/01122025/06/10/image_01122025_06_10_54_10689.jpg', '/home/pi/Desktop/images/01122025/06/10/image_01122025_06_11_04_9729.jpg', '/home/pi/Desktop/images/01122025/06/11/image_01122025_06_11_24_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/10/image_01122025_06_10_24_10763.jpg
/home/pi/Desktop/images/01122025/06/10/image_01122025_06_10_34_9716.jpg
/home/pi/Desktop/images/01122025/06/10/image_01122025_06_10_44_9649.jpg
/home/pi/Desktop/images/01122025/06/10/image_01122025_06_10_54_10689.jpg
/home/pi/Desktop/images/01122025/06/10/image_01122025_06_11_04_9729.jpg
/home/pi/Desktop/images/01122025/06/11/image_01122025_06_11_24_9673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397160659","1397160650","1397160655","1397160652","1397160646","1397160648"],"photo_ids_order":["1397160646","1397160648","1397160650","1397160652","1397160655","1397160659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a6e44e0cf047fe116f0a7459c92dcc81.jpg","text":"TemporaryFile(/tmp/multipartBody4316736667214038084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565983810,"filename":"image_01122025_06_11_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/1/cb48456d45d3826df6528d1087b192fd.jpg","text":"TemporaryFile(/tmp/multipartBody7829884064747272217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565983810,"filename":"image_01122025_06_10_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/1/c60fc38018f35ed472d6d6e58936cd3c.jpg","text":"TemporaryFile(/tmp/multipartBody3848789082650013800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565983810,"filename":"image_01122025_06_11_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/1/cfbd1d43334e4509131a903bc6c64868.jpg","text":"TemporaryFile(/tmp/multipartBody4202386796599300749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565983810,"filename":"image_01122025_06_10_54_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/81d730d567ad3dbb57f297cabc6ad259.jpg","text":"TemporaryFile(/tmp/multipartBody518204109032512544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565983810,"filename":"image_01122025_06_10_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/1/4ee29966406621f2417a89a6b0718f91.jpg","text":"TemporaryFile(/tmp/multipartBody7032745610340181710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764565983810,"filename":"image_01122025_06_10_34_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160650","file1":"1397160648","file0":"1397160646","file4":"1397160655","file5":"1397160659","file3":"1397160652"},"map_files_photo_id_array":[{"photo_id":"1397160659","filename":"file5"},{"photo_id":"1397160650","filename":"file2"},{"photo_id":"1397160655","filename":"file4"},{"photo_id":"1397160648","filename":"file1"},{"photo_id":"1397160646","filename":"file0"},{"photo_id":"1397160652","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397160659":["hashtag1","hashtag2"]},{"1397160650":["hashtag1","hashtag2"]},{"1397160655":["hashtag1","hashtag2"]},{"1397160652":["hashtag1","hashtag2"]},{"1397160646":["hashtag1","hashtag2"]},{"1397160648":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397160659, 1397160650, 1397160655, 1397160652, 1397160646, 1397160648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.64941620826721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:13:02.985036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/11/image_01122025_06_11_34_10820.jpg', '/home/pi/Desktop/images/01122025/06/11/image_01122025_06_11_44_9653.jpg', '/home/pi/Desktop/images/01122025/06/11/image_01122025_06_11_54_9642.jpg', '/home/pi/Desktop/images/01122025/06/11/image_01122025_06_12_04_10692.jpg', '/home/pi/Desktop/images/01122025/06/12/image_01122025_06_12_14_9736.jpg', '/home/pi/Desktop/images/01122025/06/12/image_01122025_06_12_24_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/11/image_01122025_06_11_34_10820.jpg
/home/pi/Desktop/images/01122025/06/11/image_01122025_06_11_44_9653.jpg
/home/pi/Desktop/images/01122025/06/11/image_01122025_06_11_54_9642.jpg
/home/pi/Desktop/images/01122025/06/11/image_01122025_06_12_04_10692.jpg
/home/pi/Desktop/images/01122025/06/12/image_01122025_06_12_14_9736.jpg
/home/pi/Desktop/images/01122025/06/12/image_01122025_06_12_24_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":["1397160698","1397160688","1397160676","1397160699","1397160672","1397160702"],"photo_ids_order":["1397160672","1397160676","1397160688","1397160698","1397160699","1397160702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8852cbac2938bccee258e1fbec00bc80.jpg","text":"TemporaryFile(/tmp/multipartBody4117166006837226737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566043743,"filename":"image_01122025_06_12_04_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/298039f1551cd3ced923b104516a0914.jpg","text":"TemporaryFile(/tmp/multipartBody5414094824766710995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566043743,"filename":"image_01122025_06_11_54_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b1dc8c706a75eb368eaebf5723d0c61f.jpg","text":"TemporaryFile(/tmp/multipartBody4899830756600728479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566043743,"filename":"image_01122025_06_11_44_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c824761e8ebec80853219b662d369472.jpg","text":"TemporaryFile(/tmp/multipartBody1254698367657173758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566043743,"filename":"image_01122025_06_12_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/1/270707c81974f65b2b016ccf81edea66.jpg","text":"TemporaryFile(/tmp/multipartBody5974922829479944822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566043743,"filename":"image_01122025_06_11_34_10820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8b27a8b7ea1b404be707343d4887eaa0.jpg","text":"TemporaryFile(/tmp/multipartBody2250048230589314306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566043743,"filename":"image_01122025_06_12_24_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160688","file1":"1397160676","file0":"1397160672","file4":"1397160699","file5":"1397160702","file3":"1397160698"},"map_files_photo_id_array":[{"photo_id":"1397160702","filename":"file5"},{"photo_id":"1397160688","filename":"file2"},{"photo_id":"1397160699","filename":"file4"},{"photo_id":"1397160676","filename":"file1"},{"photo_id":"1397160672","filename":"file0"},{"photo_id":"1397160698","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397160698":["hashtag1","hashtag2"]},{"1397160688":["hashtag1","hashtag2"]},{"1397160676":["hashtag1","hashtag2"]},{"1397160699":["hashtag1","hashtag2"]},{"1397160672":["hashtag1","hashtag2"]},{"1397160702":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397160698, 1397160688, 1397160676, 1397160699, 1397160672, 1397160702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26487398147583 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 06:13:42.308970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/46/image_01112025_00_46_56_3595.jpg', '/home/pi/Desktop/images/01112025/00/46/image_01112025_00_46_59_2670.jpg', '/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_01_2728.jpg', '/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_05_3739.jpg', '/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_13_2632.jpg', '/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_20_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/46/image_01112025_00_46_56_3595.jpg
/home/pi/Desktop/images/01112025/00/46/image_01112025_00_46_59_2670.jpg
/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_01_2728.jpg
/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_05_3739.jpg
/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_13_2632.jpg
/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_20_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":["1397160708","1397160707","1397160710","1397160712","1397160709","1397160711"],"photo_ids_order":["1397160707","1397160708","1397160709","1397160710","1397160711","1397160712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/428511a238926b2e1b0e75f9c918335f.jpg","text":"TemporaryFile(/tmp/multipartBody4582806036085520100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566083196,"filename":"image_01112025_00_46_59_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/1/aca634c97b86c4df8d8e8e489682666b.jpg","text":"TemporaryFile(/tmp/multipartBody2026181007972023362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566083196,"filename":"image_01112025_00_46_56_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/1/726e0ab425098cbc320a1b4f1a387399.jpg","text":"TemporaryFile(/tmp/multipartBody6604065673911931837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566083196,"filename":"image_01112025_00_47_05_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/1/88985334a4142af3949021984bd539f9.jpg","text":"TemporaryFile(/tmp/multipartBody5097515304132671221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566083196,"filename":"image_01112025_00_47_20_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d26ff576c87615ee0e3de6e1885bfe72.jpg","text":"TemporaryFile(/tmp/multipartBody4714532424299665116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566083196,"filename":"image_01112025_00_47_01_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b9edd5f6a22b21257bffb5160d062097.jpg","text":"TemporaryFile(/tmp/multipartBody5396698933274842114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566083196,"filename":"image_01112025_00_47_13_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160709","file1":"1397160708","file0":"1397160707","file4":"1397160711","file5":"1397160712","file3":"1397160710"},"map_files_photo_id_array":[{"photo_id":"1397160712","filename":"file5"},{"photo_id":"1397160709","filename":"file2"},{"photo_id":"1397160711","filename":"file4"},{"photo_id":"1397160708","filename":"file1"},{"photo_id":"1397160707","filename":"file0"},{"photo_id":"1397160710","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397160708":["hashtag1","hashtag2"]},{"1397160707":["hashtag1","hashtag2"]},{"1397160710":["hashtag1","hashtag2"]},{"1397160712":["hashtag1","hashtag2"]},{"1397160709":["hashtag1","hashtag2"]},{"1397160711":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397160708, 1397160707, 1397160710, 1397160712, 1397160709, 1397160711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80318737030029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 06:14:22.545607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/12/image_01122025_06_12_34_10619.jpg', '/home/pi/Desktop/images/01122025/06/12/image_01122025_06_12_44_9815.jpg', '/home/pi/Desktop/images/01122025/06/12/image_01122025_06_12_54_9880.jpg', '/home/pi/Desktop/images/01122025/06/13/image_01122025_06_13_24_10722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/12/image_01122025_06_12_34_10619.jpg
/home/pi/Desktop/images/01122025/06/12/image_01122025_06_12_44_9815.jpg
/home/pi/Desktop/images/01122025/06/12/image_01122025_06_12_54_9880.jpg
/home/pi/Desktop/images/01122025/06/13/image_01122025_06_13_24_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":["1397160731","1397160719","1397160736","1397160739"],"photo_ids_order":["1397160719","1397160731","1397160736","1397160739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/747c71b40560ddc4245463a3538f2cdd.jpg","text":"TemporaryFile(/tmp/multipartBody5924016191690387585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566123188,"filename":"image_01122025_06_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/1/8b173fdade7aa7e08389bea5454172c1.jpg","text":"TemporaryFile(/tmp/multipartBody2257255313105800020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566123188,"filename":"image_01122025_06_12_34_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/003e7efe460e771f1ec5eed33a877300.jpg","text":"TemporaryFile(/tmp/multipartBody6095814897814177394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566123188,"filename":"image_01122025_06_12_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/1/4ce863870e66f9364631620179602313.jpg","text":"TemporaryFile(/tmp/multipartBody2939828714200903870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566123188,"filename":"image_01122025_06_13_24_10722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160736","file1":"1397160731","file0":"1397160719","file3":"1397160739"},"map_files_photo_id_array":[{"photo_id":"1397160736","filename":"file2"},{"photo_id":"1397160731","filename":"file1"},{"photo_id":"1397160719","filename":"file0"},{"photo_id":"1397160739","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397160731":["hashtag1","hashtag2"]},{"1397160719":["hashtag1","hashtag2"]},{"1397160736":["hashtag1","hashtag2"]},{"1397160739":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397160731, 1397160719, 1397160736, 1397160739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.26258897781372 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:15:03.315328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_38_3662.jpg', '/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_41_2553.jpg', '/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_44_3598.jpg', '/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_47_2604.jpg', '/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_49_2760.jpg', '/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_52_2839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_38_3662.jpg
/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_41_2553.jpg
/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_44_3598.jpg
/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_47_2604.jpg
/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_49_2760.jpg
/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_52_2839.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397160758","1397160752","1397160755","1397160749","1397160745","1397160747"],"photo_ids_order":["1397160745","1397160747","1397160749","1397160752","1397160755","1397160758"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/28e989b34849b93e550fcf61f333a4c2.jpg","text":"TemporaryFile(/tmp/multipartBody1154963517440243456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566169649,"filename":"image_25112025_21_52_52_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c87a1b16ed6deef86786318a7797d4f0.jpg","text":"TemporaryFile(/tmp/multipartBody7558927510721475011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566169649,"filename":"image_25112025_21_52_47_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/1/b395c3a58b7afd843f790181913c6770.jpg","text":"TemporaryFile(/tmp/multipartBody8070442084904843816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566169649,"filename":"image_25112025_21_52_49_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f8e3356f48f7915026973cc28a443ced.jpg","text":"TemporaryFile(/tmp/multipartBody7148976326735602613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566169649,"filename":"image_25112025_21_52_44_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/1/af3cee96d8efe8df6a421ad3413b4b88.jpg","text":"TemporaryFile(/tmp/multipartBody1445128668694496106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566169649,"filename":"image_25112025_21_52_38_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/1/5feece6557965628b2e7efbbc596bd83.jpg","text":"TemporaryFile(/tmp/multipartBody2763170151168844221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566169649,"filename":"image_25112025_21_52_41_2553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160749","file1":"1397160747","file0":"1397160745","file4":"1397160755","file5":"1397160758","file3":"1397160752"},"map_files_photo_id_array":[{"photo_id":"1397160758","filename":"file5"},{"photo_id":"1397160749","filename":"file2"},{"photo_id":"1397160755","filename":"file4"},{"photo_id":"1397160747","filename":"file1"},{"photo_id":"1397160745","filename":"file0"},{"photo_id":"1397160752","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397160758":["hashtag1","hashtag2"]},{"1397160752":["hashtag1","hashtag2"]},{"1397160755":["hashtag1","hashtag2"]},{"1397160749":["hashtag1","hashtag2"]},{"1397160745":["hashtag1","hashtag2"]},{"1397160747":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397160758, 1397160752, 1397160755, 1397160749, 1397160745, 1397160747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.54096341133118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:16:02.220370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/13/image_01122025_06_14_04_9603.jpg', '/home/pi/Desktop/images/01122025/06/14/image_01122025_06_15_04_9977.jpg', '/home/pi/Desktop/images/01122025/06/15/image_01122025_06_15_14_9790.jpg', '/home/pi/Desktop/images/01122025/06/15/image_01122025_06_15_24_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/13/image_01122025_06_14_04_9603.jpg
/home/pi/Desktop/images/01122025/06/14/image_01122025_06_15_04_9977.jpg
/home/pi/Desktop/images/01122025/06/15/image_01122025_06_15_14_9790.jpg
/home/pi/Desktop/images/01122025/06/15/image_01122025_06_15_24_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":["1397160779","1397160778","1397160777","1397160780"],"photo_ids_order":["1397160777","1397160778","1397160779","1397160780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/45863cb8ca4e1a986b47d0c41527de8d.jpg","text":"TemporaryFile(/tmp/multipartBody2498348302821450539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566222845,"filename":"image_01122025_06_15_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/1/2dd392d9e9967c6b680961999b6f8fa8.jpg","text":"TemporaryFile(/tmp/multipartBody6216062924978231172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566222845,"filename":"image_01122025_06_15_04_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/1/7bafa23d9b3254c4d0a0ee6a5dc5a70e.jpg","text":"TemporaryFile(/tmp/multipartBody6065701111589107586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566222845,"filename":"image_01122025_06_14_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/1/85d22feb2b9cb3b605d9c087a39354c2.jpg","text":"TemporaryFile(/tmp/multipartBody4761573369152844402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566222845,"filename":"image_01122025_06_15_24_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160779","file1":"1397160778","file0":"1397160777","file3":"1397160780"},"map_files_photo_id_array":[{"photo_id":"1397160779","filename":"file2"},{"photo_id":"1397160778","filename":"file1"},{"photo_id":"1397160777","filename":"file0"},{"photo_id":"1397160780","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397160779":["hashtag1","hashtag2"]},{"1397160778":["hashtag1","hashtag2"]},{"1397160777":["hashtag1","hashtag2"]},{"1397160780":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397160779, 1397160778, 1397160777, 1397160780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.88277769088745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 06:16:31.855150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_56_3693.jpg', '/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_59_2674.jpg', '/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_01_2518.jpg', '/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_05_3906.jpg', '/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_08_2609.jpg', '/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_10_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_56_3693.jpg
/home/pi/Desktop/images/25112025/21/52/image_25112025_21_52_59_2674.jpg
/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_01_2518.jpg
/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_05_3906.jpg
/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_08_2609.jpg
/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_10_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":["1397160791","1397160800","1397160799","1397160798","1397160794","1397160788"],"photo_ids_order":["1397160788","1397160791","1397160794","1397160798","1397160799","1397160800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8835e4b9db0e878b0e4241944f500c8d.jpg","text":"TemporaryFile(/tmp/multipartBody376676714745304170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566253574,"filename":"image_25112025_21_52_59_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/1/11486ea022c0bc65b75d9aafcc588901.jpg","text":"TemporaryFile(/tmp/multipartBody5011893531559426678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566253574,"filename":"image_25112025_21_53_10_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/65db3631880af6178bc64933ffa3d0a0.jpg","text":"TemporaryFile(/tmp/multipartBody6651295151506477634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566253574,"filename":"image_25112025_21_53_08_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/1/f2ba084d8b7e9d1f4b0aa27a28b8600d.jpg","text":"TemporaryFile(/tmp/multipartBody7546898444805327060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566253574,"filename":"image_25112025_21_53_05_3906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8bd7531e4a3435b8b3c3f901cf9493ea.jpg","text":"TemporaryFile(/tmp/multipartBody1432892045068607900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566253574,"filename":"image_25112025_21_53_01_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/1/c71de3e2eecb7ff9a119dc6b859405b2.jpg","text":"TemporaryFile(/tmp/multipartBody7725418085889593641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566253574,"filename":"image_25112025_21_52_56_3693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160794","file1":"1397160791","file0":"1397160788","file4":"1397160799","file5":"1397160800","file3":"1397160798"},"map_files_photo_id_array":[{"photo_id":"1397160800","filename":"file5"},{"photo_id":"1397160794","filename":"file2"},{"photo_id":"1397160799","filename":"file4"},{"photo_id":"1397160791","filename":"file1"},{"photo_id":"1397160788","filename":"file0"},{"photo_id":"1397160798","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397160791":["hashtag1","hashtag2"]},{"1397160800":["hashtag1","hashtag2"]},{"1397160799":["hashtag1","hashtag2"]},{"1397160798":["hashtag1","hashtag2"]},{"1397160794":["hashtag1","hashtag2"]},{"1397160788":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397160791, 1397160800, 1397160799, 1397160798, 1397160794, 1397160788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.392831325531006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 06:17:12.003319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_14_3668.jpg', '/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_17_2815.jpg', '/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_20_2771.jpg', '/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_22_2754.jpg', '/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_26_3770.jpg', '/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_29_2556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_14_3668.jpg
/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_17_2815.jpg
/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_20_2771.jpg
/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_22_2754.jpg
/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_26_3770.jpg
/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_29_2556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397160807","1397160830","1397160809","1397160817","1397160828","1397160825"],"photo_ids_order":["1397160807","1397160809","1397160817","1397160825","1397160828","1397160830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4b94fb1860c976390ceb76f841c0ec83.jpg","text":"TemporaryFile(/tmp/multipartBody6917979608466841258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566293614,"filename":"image_25112025_21_53_14_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d6c1a9f3969b98a945ef106e30ee45dd.jpg","text":"TemporaryFile(/tmp/multipartBody5762242379256037883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566293614,"filename":"image_25112025_21_53_29_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4ab9b59deb4c2d9759a271069023d9b2.jpg","text":"TemporaryFile(/tmp/multipartBody2873095630924150876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566293614,"filename":"image_25112025_21_53_17_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6842d4ada6987de68f49d17c11062bb0.jpg","text":"TemporaryFile(/tmp/multipartBody2703180614388637479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566293614,"filename":"image_25112025_21_53_20_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7e994fce7afd0e14ea5172010dbdc7c9.jpg","text":"TemporaryFile(/tmp/multipartBody6849749153329551505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566293614,"filename":"image_25112025_21_53_26_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/1/9172c731f8cf87f40f9eb67f7f1948e0.jpg","text":"TemporaryFile(/tmp/multipartBody439083376756179381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566293614,"filename":"image_25112025_21_53_22_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160817","file1":"1397160809","file0":"1397160807","file4":"1397160828","file5":"1397160830","file3":"1397160825"},"map_files_photo_id_array":[{"photo_id":"1397160830","filename":"file5"},{"photo_id":"1397160817","filename":"file2"},{"photo_id":"1397160828","filename":"file4"},{"photo_id":"1397160809","filename":"file1"},{"photo_id":"1397160807","filename":"file0"},{"photo_id":"1397160825","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397160807":["hashtag1","hashtag2"]},{"1397160830":["hashtag1","hashtag2"]},{"1397160809":["hashtag1","hashtag2"]},{"1397160817":["hashtag1","hashtag2"]},{"1397160828":["hashtag1","hashtag2"]},{"1397160825":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397160807, 1397160830, 1397160809, 1397160817, 1397160828, 1397160825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05165910720825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:18:02.345520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/15/image_01122025_06_15_54_9754.jpg', '/home/pi/Desktop/images/01122025/06/15/image_01122025_06_16_04_9778.jpg', '/home/pi/Desktop/images/01122025/06/16/image_01122025_06_16_14_10675.jpg', '/home/pi/Desktop/images/01122025/06/16/image_01122025_06_16_44_10480.jpg', '/home/pi/Desktop/images/01122025/06/16/image_01122025_06_17_03_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/15/image_01122025_06_15_54_9754.jpg
/home/pi/Desktop/images/01122025/06/15/image_01122025_06_16_04_9778.jpg
/home/pi/Desktop/images/01122025/06/16/image_01122025_06_16_14_10675.jpg
/home/pi/Desktop/images/01122025/06/16/image_01122025_06_16_44_10480.jpg
/home/pi/Desktop/images/01122025/06/16/image_01122025_06_17_03_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":["1397160839","1397160841","1397160835","1397160843","1397160837"],"photo_ids_order":["1397160835","1397160837","1397160839","1397160841","1397160843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c61150acd61869af2ab92bf979abeb0b.jpg","text":"TemporaryFile(/tmp/multipartBody8548574541006899993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566343062,"filename":"image_01122025_06_16_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/1/e30b5166d0ef868a3017715e01d80309.jpg","text":"TemporaryFile(/tmp/multipartBody936001407953183449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566343062,"filename":"image_01122025_06_16_44_10480.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c2590b8fa5ed1b426d6d97c69777676e.jpg","text":"TemporaryFile(/tmp/multipartBody171441586491899542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566343062,"filename":"image_01122025_06_15_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/1/6991d1e05569831c0aecfe91662de304.jpg","text":"TemporaryFile(/tmp/multipartBody5178378097451504722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566343062,"filename":"image_01122025_06_17_03_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/1/4bda21c7c82038eb395f06fa81af0a49.jpg","text":"TemporaryFile(/tmp/multipartBody4185908038178552478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566343062,"filename":"image_01122025_06_16_04_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160839","file1":"1397160837","file0":"1397160835","file4":"1397160843","file3":"1397160841"},"map_files_photo_id_array":[{"photo_id":"1397160839","filename":"file2"},{"photo_id":"1397160843","filename":"file4"},{"photo_id":"1397160837","filename":"file1"},{"photo_id":"1397160835","filename":"file0"},{"photo_id":"1397160841","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397160839":["hashtag1","hashtag2"]},{"1397160841":["hashtag1","hashtag2"]},{"1397160835":["hashtag1","hashtag2"]},{"1397160843":["hashtag1","hashtag2"]},{"1397160837":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397160839, 1397160841, 1397160835, 1397160843, 1397160837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.79102611541748 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 06:18:42.835017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_22_2664.jpg', '/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_26_3548.jpg', '/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_29_2668.jpg', '/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_40_2733.jpg', '/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_44_3680.jpg', '/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_46_2589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_22_2664.jpg
/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_26_3548.jpg
/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_29_2668.jpg
/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_40_2733.jpg
/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_44_3680.jpg
/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_46_2589.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.8183021545410156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:19:02.896584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/17/image_01122025_06_17_14_10670.jpg', '/home/pi/Desktop/images/01122025/06/17/image_01122025_06_18_04_9704.jpg', '/home/pi/Desktop/images/01122025/06/18/image_01122025_06_18_14_9897.jpg', '/home/pi/Desktop/images/01122025/06/18/image_01122025_06_18_34_9783.jpg', '/home/pi/Desktop/images/01122025/06/18/image_01122025_06_18_44_10115.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/17/image_01122025_06_17_14_10670.jpg
/home/pi/Desktop/images/01122025/06/17/image_01122025_06_18_04_9704.jpg
/home/pi/Desktop/images/01122025/06/18/image_01122025_06_18_14_9897.jpg
/home/pi/Desktop/images/01122025/06/18/image_01122025_06_18_34_9783.jpg
/home/pi/Desktop/images/01122025/06/18/image_01122025_06_18_44_10115.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397160860","1397160857","1397160862","1397160864","1397160867"],"photo_ids_order":["1397160857","1397160860","1397160862","1397160864","1397160867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/38124980398de3fc3959eea50e95f90b.jpg","text":"TemporaryFile(/tmp/multipartBody5549553731444921611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566403866,"filename":"image_01122025_06_18_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/1/0548341f91fde35547a13beb509a69e4.jpg","text":"TemporaryFile(/tmp/multipartBody3362511886822483313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566403866,"filename":"image_01122025_06_17_14_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/1/01caad728255bc6b9e49dffeee08b2f7.jpg","text":"TemporaryFile(/tmp/multipartBody416611439938643342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566403866,"filename":"image_01122025_06_18_14_9897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/80c56db7ebe5b780c30b883eb1188aa3.jpg","text":"TemporaryFile(/tmp/multipartBody6177224978669630594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566403866,"filename":"image_01122025_06_18_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/1/91328a8d0665249f9ab278ac154709e4.jpg","text":"TemporaryFile(/tmp/multipartBody4471421320601761342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566403866,"filename":"image_01122025_06_18_44_10115.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160862","file1":"1397160860","file0":"1397160857","file4":"1397160867","file3":"1397160864"},"map_files_photo_id_array":[{"photo_id":"1397160862","filename":"file2"},{"photo_id":"1397160867","filename":"file4"},{"photo_id":"1397160860","filename":"file1"},{"photo_id":"1397160857","filename":"file0"},{"photo_id":"1397160864","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397160860":["hashtag1","hashtag2"]},{"1397160857":["hashtag1","hashtag2"]},{"1397160862":["hashtag1","hashtag2"]},{"1397160864":["hashtag1","hashtag2"]},{"1397160867":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397160860, 1397160857, 1397160862, 1397160864, 1397160867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.888002157211304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 06:19:42.039743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_22_2664.jpg', '/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_26_3548.jpg', '/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_29_2668.jpg', '/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_40_2733.jpg', '/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_44_3680.jpg', '/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_46_2589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_22_2664.jpg
/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_26_3548.jpg
/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_29_2668.jpg
/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_40_2733.jpg
/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_44_3680.jpg
/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_46_2589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397160875","1397160878","1397160877","1397160876","1397160879","1397160873"],"photo_ids_order":["1397160873","1397160875","1397160876","1397160877","1397160878","1397160879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8e03a1672a162ddaa880b02c0f3a2b33.jpg","text":"TemporaryFile(/tmp/multipartBody7199098184016948797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566442778,"filename":"image_01112025_00_47_26_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/1/b230504172d99e52d82f9d8a401218f8.jpg","text":"TemporaryFile(/tmp/multipartBody70437121914001621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566442778,"filename":"image_01112025_00_47_44_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/1/91a357eed775ef65d218b5c998e20d66.jpg","text":"TemporaryFile(/tmp/multipartBody6674070611234729764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566442778,"filename":"image_01112025_00_47_40_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/948307c0b53d19bcbf1ef83d2f8c8d07.jpg","text":"TemporaryFile(/tmp/multipartBody6397549956179705094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566442778,"filename":"image_01112025_00_47_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/1/5aaef1b7c07fbfb9359fba9c8d152ee8.jpg","text":"TemporaryFile(/tmp/multipartBody2864559119728303382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566442778,"filename":"image_01112025_00_47_46_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d89f0ded37f8df8d8ccd7b57cb92277f.jpg","text":"TemporaryFile(/tmp/multipartBody3824776925752183057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566442778,"filename":"image_01112025_00_47_22_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160876","file1":"1397160875","file0":"1397160873","file4":"1397160878","file5":"1397160879","file3":"1397160877"},"map_files_photo_id_array":[{"photo_id":"1397160879","filename":"file5"},{"photo_id":"1397160876","filename":"file2"},{"photo_id":"1397160878","filename":"file4"},{"photo_id":"1397160875","filename":"file1"},{"photo_id":"1397160873","filename":"file0"},{"photo_id":"1397160877","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397160875":["hashtag1","hashtag2"]},{"1397160878":["hashtag1","hashtag2"]},{"1397160877":["hashtag1","hashtag2"]},{"1397160876":["hashtag1","hashtag2"]},{"1397160879":["hashtag1","hashtag2"]},{"1397160873":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397160875, 1397160878, 1397160877, 1397160876, 1397160879, 1397160873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08849287033081 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 06:20:22.210791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/18/image_01122025_06_18_53_9736.jpg', '/home/pi/Desktop/images/01122025/06/19/image_01122025_06_19_14_9619.jpg', '/home/pi/Desktop/images/01122025/06/19/image_01122025_06_19_23_9744.jpg', '/home/pi/Desktop/images/01122025/06/20/image_01122025_06_20_34_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/18/image_01122025_06_18_53_9736.jpg
/home/pi/Desktop/images/01122025/06/19/image_01122025_06_19_14_9619.jpg
/home/pi/Desktop/images/01122025/06/19/image_01122025_06_19_23_9744.jpg
/home/pi/Desktop/images/01122025/06/20/image_01122025_06_20_34_9783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397160890","1397160892","1397160885","1397160887"],"photo_ids_order":["1397160885","1397160887","1397160890","1397160892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ebc73f7a707fba87335912449c9e70b6.jpg","text":"TemporaryFile(/tmp/multipartBody6675026381206579207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566482859,"filename":"image_01122025_06_19_23_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/1/5906b15da1629d8b67bae4ca2606d600.jpg","text":"TemporaryFile(/tmp/multipartBody3413197434383579257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566482859,"filename":"image_01122025_06_20_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/1/da055395a0606677ceb048ff7f54055e.jpg","text":"TemporaryFile(/tmp/multipartBody1805272800736026181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566482859,"filename":"image_01122025_06_18_53_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/1/3ef51d6362c7d67843bf6870778abe7b.jpg","text":"TemporaryFile(/tmp/multipartBody2055134665857907195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566482859,"filename":"image_01122025_06_19_14_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160890","file1":"1397160887","file0":"1397160885","file3":"1397160892"},"map_files_photo_id_array":[{"photo_id":"1397160890","filename":"file2"},{"photo_id":"1397160887","filename":"file1"},{"photo_id":"1397160885","filename":"file0"},{"photo_id":"1397160892","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397160890":["hashtag1","hashtag2"]},{"1397160892":["hashtag1","hashtag2"]},{"1397160885":["hashtag1","hashtag2"]},{"1397160887":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397160890, 1397160892, 1397160885, 1397160887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.598142385482788 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:21:09.724930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_31_2663.jpg', '/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_35_3586.jpg', '/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_38_2592.jpg', '/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_40_2758.jpg', '/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_44_3763.jpg', '/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_47_2587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_31_2663.jpg
/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_35_3586.jpg
/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_38_2592.jpg
/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_40_2758.jpg
/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_44_3763.jpg
/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_47_2587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397160906","1397160911","1397160901","1397160913","1397160909","1397160903"],"photo_ids_order":["1397160901","1397160903","1397160906","1397160909","1397160911","1397160913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0d33d157381aa9f117f16204d968a4ef.jpg","text":"TemporaryFile(/tmp/multipartBody2563165848013715597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566534870,"filename":"image_25112025_21_53_38_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/1/ed4badabbbe7e295d701e767ea2145b6.jpg","text":"TemporaryFile(/tmp/multipartBody7768397420515984940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566534870,"filename":"image_25112025_21_53_44_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0adb963162d4f8a5ae2a95b78cc11bad.jpg","text":"TemporaryFile(/tmp/multipartBody8345831884755155700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566534870,"filename":"image_25112025_21_53_31_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/1/780984b8b2a84d3bdfdb3de3177b4919.jpg","text":"TemporaryFile(/tmp/multipartBody2260540235755481112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566534870,"filename":"image_25112025_21_53_47_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/1/cf0aeb3e8efd9b1f14b1313608a479b2.jpg","text":"TemporaryFile(/tmp/multipartBody1930109460898395167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566534870,"filename":"image_25112025_21_53_40_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b9a2b4b4684602c9a6b411da0c984e4e.jpg","text":"TemporaryFile(/tmp/multipartBody8459883105782067070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566534870,"filename":"image_25112025_21_53_35_3586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160906","file1":"1397160903","file0":"1397160901","file4":"1397160911","file5":"1397160913","file3":"1397160909"},"map_files_photo_id_array":[{"photo_id":"1397160913","filename":"file5"},{"photo_id":"1397160906","filename":"file2"},{"photo_id":"1397160911","filename":"file4"},{"photo_id":"1397160903","filename":"file1"},{"photo_id":"1397160901","filename":"file0"},{"photo_id":"1397160909","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397160906":["hashtag1","hashtag2"]},{"1397160911":["hashtag1","hashtag2"]},{"1397160901":["hashtag1","hashtag2"]},{"1397160913":["hashtag1","hashtag2"]},{"1397160909":["hashtag1","hashtag2"]},{"1397160903":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397160906, 1397160911, 1397160901, 1397160913, 1397160909, 1397160903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.40051531791687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:22:02.636721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_49_2785.jpg', '/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_53_3647.jpg', '/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_56_2596.jpg', '/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_58_2587.jpg', '/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_02_3689.jpg', '/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_05_2736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_49_2785.jpg
/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_53_3647.jpg
/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_56_2596.jpg
/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_58_2587.jpg
/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_02_3689.jpg
/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_05_2736.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0576725006103516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 06:22:12.114813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_49_2785.jpg', '/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_53_3647.jpg', '/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_56_2596.jpg', '/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_58_2587.jpg', '/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_02_3689.jpg', '/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_05_2736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_49_2785.jpg
/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_53_3647.jpg
/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_56_2596.jpg
/home/pi/Desktop/images/25112025/21/53/image_25112025_21_53_58_2587.jpg
/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_02_3689.jpg
/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_05_2736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397160923","1397160935","1397160920","1397160931","1397160933","1397160927"],"photo_ids_order":["1397160920","1397160923","1397160927","1397160931","1397160933","1397160935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c73da5230ed1ebe7c498f7e05d81fdd4.jpg","text":"TemporaryFile(/tmp/multipartBody4177378909128607440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566593477,"filename":"image_25112025_21_53_53_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/1/dce81016d9c1b3e66ca1df8b57218aec.jpg","text":"TemporaryFile(/tmp/multipartBody6305636114149264346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566593477,"filename":"image_25112025_21_54_05_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/1/f56679203d2e1cad734573d07bd93873.jpg","text":"TemporaryFile(/tmp/multipartBody7702185538683978228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566593477,"filename":"image_25112025_21_53_49_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/1/90a7684a81f83ea266d98d3abe13a61e.jpg","text":"TemporaryFile(/tmp/multipartBody4582528785835286991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566593477,"filename":"image_25112025_21_53_58_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/1/b550a2fd4d125ecc144070fe25f106b7.jpg","text":"TemporaryFile(/tmp/multipartBody5748386261206322988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566593477,"filename":"image_25112025_21_54_02_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/1/99f0c7377744932b7d498ef9d73089d9.jpg","text":"TemporaryFile(/tmp/multipartBody1759860611249602328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566593477,"filename":"image_25112025_21_53_56_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160927","file1":"1397160923","file0":"1397160920","file4":"1397160933","file5":"1397160935","file3":"1397160931"},"map_files_photo_id_array":[{"photo_id":"1397160935","filename":"file5"},{"photo_id":"1397160927","filename":"file2"},{"photo_id":"1397160933","filename":"file4"},{"photo_id":"1397160923","filename":"file1"},{"photo_id":"1397160920","filename":"file0"},{"photo_id":"1397160931","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397160923":["hashtag1","hashtag2"]},{"1397160935":["hashtag1","hashtag2"]},{"1397160920":["hashtag1","hashtag2"]},{"1397160931":["hashtag1","hashtag2"]},{"1397160933":["hashtag1","hashtag2"]},{"1397160927":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397160923, 1397160935, 1397160920, 1397160931, 1397160933, 1397160927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56631636619568 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:23:03.009423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/20/image_01122025_06_20_54_10750.jpg', '/home/pi/Desktop/images/01122025/06/21/image_01122025_06_21_24_10618.jpg', '/home/pi/Desktop/images/01122025/06/21/image_01122025_06_21_34_9701.jpg', '/home/pi/Desktop/images/01122025/06/21/image_01122025_06_21_43_9611.jpg', '/home/pi/Desktop/images/01122025/06/21/image_01122025_06_21_54_10700.jpg', '/home/pi/Desktop/images/01122025/06/21/image_01122025_06_22_04_9852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/20/image_01122025_06_20_54_10750.jpg
/home/pi/Desktop/images/01122025/06/21/image_01122025_06_21_24_10618.jpg
/home/pi/Desktop/images/01122025/06/21/image_01122025_06_21_34_9701.jpg
/home/pi/Desktop/images/01122025/06/21/image_01122025_06_21_43_9611.jpg
/home/pi/Desktop/images/01122025/06/21/image_01122025_06_21_54_10700.jpg
/home/pi/Desktop/images/01122025/06/21/image_01122025_06_22_04_9852.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397160953","1397160955","1397160940","1397160951","1397160960","1397160948"],"photo_ids_order":["1397160940","1397160948","1397160951","1397160953","1397160955","1397160960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0e2e4aaef7bc396146b1383f35557e98.jpg","text":"TemporaryFile(/tmp/multipartBody1497609094199273027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566643822,"filename":"image_01122025_06_21_43_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4813ee7dd9f8ae8ee6fb4b5a9b0f4bbe.jpg","text":"TemporaryFile(/tmp/multipartBody2588271726784047538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566643822,"filename":"image_01122025_06_21_54_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/1/47a53c3a7c00b9cff74f3b4b88ecb02a.jpg","text":"TemporaryFile(/tmp/multipartBody7409350466187465424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566643822,"filename":"image_01122025_06_20_54_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ad410d145996387966ed4f08c5d8261e.jpg","text":"TemporaryFile(/tmp/multipartBody6171721307224738870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566643822,"filename":"image_01122025_06_21_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/1/9d0f0c049f9b7281fc19945bfea09bcb.jpg","text":"TemporaryFile(/tmp/multipartBody8212428188237903744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566643822,"filename":"image_01122025_06_22_04_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b53922e7a607ca570b4f1c2717b60ae9.jpg","text":"TemporaryFile(/tmp/multipartBody4518129534597973909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566643822,"filename":"image_01122025_06_21_24_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160951","file1":"1397160948","file0":"1397160940","file4":"1397160955","file5":"1397160960","file3":"1397160953"},"map_files_photo_id_array":[{"photo_id":"1397160960","filename":"file5"},{"photo_id":"1397160951","filename":"file2"},{"photo_id":"1397160955","filename":"file4"},{"photo_id":"1397160948","filename":"file1"},{"photo_id":"1397160940","filename":"file0"},{"photo_id":"1397160953","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397160953":["hashtag1","hashtag2"]},{"1397160955":["hashtag1","hashtag2"]},{"1397160940":["hashtag1","hashtag2"]},{"1397160951":["hashtag1","hashtag2"]},{"1397160960":["hashtag1","hashtag2"]},{"1397160948":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397160953, 1397160955, 1397160940, 1397160951, 1397160960, 1397160948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.036792039871216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 06:23:42.427438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_53_3618.jpg', '/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_59_3686.jpg', '/home/pi/Desktop/images/01112025/00/48/image_01112025_00_48_02_2711.jpg', '/home/pi/Desktop/images/01112025/00/48/image_01112025_00_48_14_2824.jpg', '/home/pi/Desktop/images/01112025/00/48/image_01112025_00_48_20_3617.jpg', '/home/pi/Desktop/images/01112025/00/48/image_01112025_00_48_23_2803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_53_3618.jpg
/home/pi/Desktop/images/01112025/00/47/image_01112025_00_47_59_3686.jpg
/home/pi/Desktop/images/01112025/00/48/image_01112025_00_48_02_2711.jpg
/home/pi/Desktop/images/01112025/00/48/image_01112025_00_48_14_2824.jpg
/home/pi/Desktop/images/01112025/00/48/image_01112025_00_48_20_3617.jpg
/home/pi/Desktop/images/01112025/00/48/image_01112025_00_48_23_2803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397160974","1397160970","1397160973","1397160975","1397160972","1397160969"],"photo_ids_order":["1397160969","1397160970","1397160972","1397160973","1397160974","1397160975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b477f5432ddaef06b3cd48db430e4b98.jpg","text":"TemporaryFile(/tmp/multipartBody7221666291904809374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566683288,"filename":"image_01112025_00_48_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/1/622fc20231adce35827fc5ac307cebe4.jpg","text":"TemporaryFile(/tmp/multipartBody2963607009929433081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566683288,"filename":"image_01112025_00_47_59_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c1ba2c2d6e387d71dac776b253bc6ff3.jpg","text":"TemporaryFile(/tmp/multipartBody67655709556796123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566683288,"filename":"image_01112025_00_48_14_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3414ebed1ff4122a3eb79fff5fa16151.jpg","text":"TemporaryFile(/tmp/multipartBody6962363066949091209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566683288,"filename":"image_01112025_00_48_23_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/1/61bad85cebcb39d20a8e9b92ea6dcc3c.jpg","text":"TemporaryFile(/tmp/multipartBody7432906578680617434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566683288,"filename":"image_01112025_00_48_02_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/1/5309da4ecb40914a8f4846eadd090983.jpg","text":"TemporaryFile(/tmp/multipartBody3286997372750935649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566683288,"filename":"image_01112025_00_47_53_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160972","file1":"1397160970","file0":"1397160969","file4":"1397160974","file5":"1397160975","file3":"1397160973"},"map_files_photo_id_array":[{"photo_id":"1397160975","filename":"file5"},{"photo_id":"1397160972","filename":"file2"},{"photo_id":"1397160974","filename":"file4"},{"photo_id":"1397160970","filename":"file1"},{"photo_id":"1397160969","filename":"file0"},{"photo_id":"1397160973","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397160974":["hashtag1","hashtag2"]},{"1397160970":["hashtag1","hashtag2"]},{"1397160973":["hashtag1","hashtag2"]},{"1397160975":["hashtag1","hashtag2"]},{"1397160972":["hashtag1","hashtag2"]},{"1397160969":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397160974, 1397160970, 1397160973, 1397160975, 1397160972, 1397160969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.479958295822144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 06:24:22.766174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/22/image_01122025_06_22_15_10691.jpg', '/home/pi/Desktop/images/01122025/06/22/image_01122025_06_22_23_8782.jpg', '/home/pi/Desktop/images/01122025/06/22/image_01122025_06_22_44_9642.jpg', '/home/pi/Desktop/images/01122025/06/23/image_01122025_06_23_34_9645.jpg', '/home/pi/Desktop/images/01122025/06/24/image_01122025_06_24_34_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/22/image_01122025_06_22_15_10691.jpg
/home/pi/Desktop/images/01122025/06/22/image_01122025_06_22_23_8782.jpg
/home/pi/Desktop/images/01122025/06/22/image_01122025_06_22_44_9642.jpg
/home/pi/Desktop/images/01122025/06/23/image_01122025_06_23_34_9645.jpg
/home/pi/Desktop/images/01122025/06/24/image_01122025_06_24_34_10659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397160989","1397160991","1397160981","1397160984","1397160987"],"photo_ids_order":["1397160981","1397160984","1397160987","1397160989","1397160991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cc8ca85328a83fee13350b1f0970327c.jpg","text":"TemporaryFile(/tmp/multipartBody994827405545232474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566723493,"filename":"image_01122025_06_23_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/1/1b21ff0d4225a7285880dd4e83538b57.jpg","text":"TemporaryFile(/tmp/multipartBody4314080730937046862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566723493,"filename":"image_01122025_06_24_34_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4345b12e5779d54565d682cff3e31fbb.jpg","text":"TemporaryFile(/tmp/multipartBody5467310976185183774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566723493,"filename":"image_01122025_06_22_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/1/a77aaf6261c176dccdac3cab2ebded7a.jpg","text":"TemporaryFile(/tmp/multipartBody6985560211888103098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566723493,"filename":"image_01122025_06_22_23_8782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/64d1bebd3ff4054775c5ec20be61c7e3.jpg","text":"TemporaryFile(/tmp/multipartBody4033425870593406521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566723493,"filename":"image_01122025_06_22_44_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397160987","file1":"1397160984","file0":"1397160981","file4":"1397160991","file3":"1397160989"},"map_files_photo_id_array":[{"photo_id":"1397160987","filename":"file2"},{"photo_id":"1397160991","filename":"file4"},{"photo_id":"1397160984","filename":"file1"},{"photo_id":"1397160981","filename":"file0"},{"photo_id":"1397160989","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397160989":["hashtag1","hashtag2"]},{"1397160991":["hashtag1","hashtag2"]},{"1397160981":["hashtag1","hashtag2"]},{"1397160984":["hashtag1","hashtag2"]},{"1397160987":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397160989, 1397160991, 1397160981, 1397160984, 1397160987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.19560670852661 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:25:02.611692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_08_2841.jpg', '/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_10_2704.jpg', '/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_16_2626.jpg', '/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_19_2731.jpg', '/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_23_3584.jpg', '/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_25_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_08_2841.jpg
/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_10_2704.jpg
/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_16_2626.jpg
/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_19_2731.jpg
/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_23_3584.jpg
/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_25_2628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161031","1397161019","1397161003","1397161038","1397161002","1397161005"],"photo_ids_order":["1397161002","1397161003","1397161005","1397161019","1397161031","1397161038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/97c9b084fad454caeff24417c928be35.jpg","text":"TemporaryFile(/tmp/multipartBody7349364622040838561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566763854,"filename":"image_25112025_21_54_23_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/1/380c2c2abad2abec8d0b2a493b8472f2.jpg","text":"TemporaryFile(/tmp/multipartBody6220235351489894870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566763854,"filename":"image_25112025_21_54_19_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/1/0d80189a8af5e36be014ab25cad17be6.jpg","text":"TemporaryFile(/tmp/multipartBody9143520926690792118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566763854,"filename":"image_25112025_21_54_10_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/1/414e586a103f9add234d91ced8c6e397.jpg","text":"TemporaryFile(/tmp/multipartBody3811732775566988368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566763854,"filename":"image_25112025_21_54_25_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/1/fa5f0ec71423f5c1042d4815f6be6652.jpg","text":"TemporaryFile(/tmp/multipartBody1397466504860856550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566763854,"filename":"image_25112025_21_54_08_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/1/829efa8b640775487d4cdd6eadd7c3ec.jpg","text":"TemporaryFile(/tmp/multipartBody1637576415610000488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566763854,"filename":"image_25112025_21_54_16_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161005","file1":"1397161003","file0":"1397161002","file4":"1397161031","file5":"1397161038","file3":"1397161019"},"map_files_photo_id_array":[{"photo_id":"1397161038","filename":"file5"},{"photo_id":"1397161005","filename":"file2"},{"photo_id":"1397161031","filename":"file4"},{"photo_id":"1397161003","filename":"file1"},{"photo_id":"1397161002","filename":"file0"},{"photo_id":"1397161019","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397161031":["hashtag1","hashtag2"]},{"1397161019":["hashtag1","hashtag2"]},{"1397161003":["hashtag1","hashtag2"]},{"1397161038":["hashtag1","hashtag2"]},{"1397161002":["hashtag1","hashtag2"]},{"1397161005":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397161031, 1397161019, 1397161003, 1397161038, 1397161002, 1397161005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56547546386719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 06:25:41.925647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/48/image_01112025_00_48_28_2813.jpg', '/home/pi/Desktop/images/01112025/00/48/image_01112025_00_48_40_2836.jpg', '/home/pi/Desktop/images/01112025/00/48/image_01112025_00_48_47_2828.jpg', '/home/pi/Desktop/images/01112025/00/48/image_01112025_00_48_58_2727.jpg', '/home/pi/Desktop/images/01112025/00/49/image_01112025_00_49_02_3713.jpg', '/home/pi/Desktop/images/01112025/00/49/image_01112025_00_49_05_2741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/48/image_01112025_00_48_28_2813.jpg
/home/pi/Desktop/images/01112025/00/48/image_01112025_00_48_40_2836.jpg
/home/pi/Desktop/images/01112025/00/48/image_01112025_00_48_47_2828.jpg
/home/pi/Desktop/images/01112025/00/48/image_01112025_00_48_58_2727.jpg
/home/pi/Desktop/images/01112025/00/49/image_01112025_00_49_02_3713.jpg
/home/pi/Desktop/images/01112025/00/49/image_01112025_00_49_05_2741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161052","1397161054","1397161048","1397161056","1397161050","1397161044"],"photo_ids_order":["1397161044","1397161048","1397161050","1397161052","1397161054","1397161056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/139c2b48c73e8c3066a8701f01b43bac.jpg","text":"TemporaryFile(/tmp/multipartBody1584463407862666254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566802783,"filename":"image_01112025_00_48_58_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/1/304788300d389626818849adce5af4d9.jpg","text":"TemporaryFile(/tmp/multipartBody1674598634463199557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566802783,"filename":"image_01112025_00_49_02_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/aeb02e0adb33b2865b57f19c0b24b4a3.jpg","text":"TemporaryFile(/tmp/multipartBody6116693841862625836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566802783,"filename":"image_01112025_00_48_40_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/1/3faf7fb8589c105731d91d21b2d2ac3e.jpg","text":"TemporaryFile(/tmp/multipartBody1308342938974944203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566802783,"filename":"image_01112025_00_49_05_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/01b009aec0c2afba269c926169c0b386.jpg","text":"TemporaryFile(/tmp/multipartBody4945925122690228890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566802783,"filename":"image_01112025_00_48_47_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/1/bc428642d7f8d7cef30dc9e06e30f7d0.jpg","text":"TemporaryFile(/tmp/multipartBody3422361152204137672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566802783,"filename":"image_01112025_00_48_28_2813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161050","file1":"1397161048","file0":"1397161044","file4":"1397161054","file5":"1397161056","file3":"1397161052"},"map_files_photo_id_array":[{"photo_id":"1397161056","filename":"file5"},{"photo_id":"1397161050","filename":"file2"},{"photo_id":"1397161054","filename":"file4"},{"photo_id":"1397161048","filename":"file1"},{"photo_id":"1397161044","filename":"file0"},{"photo_id":"1397161052","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397161052":["hashtag1","hashtag2"]},{"1397161054":["hashtag1","hashtag2"]},{"1397161048":["hashtag1","hashtag2"]},{"1397161056":["hashtag1","hashtag2"]},{"1397161050":["hashtag1","hashtag2"]},{"1397161044":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397161052, 1397161054, 1397161048, 1397161056, 1397161050, 1397161044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93987059593201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 06:26:22.171661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/24/image_01122025_06_24_54_9686.jpg', '/home/pi/Desktop/images/01122025/06/24/image_01122025_06_25_04_10732.jpg', '/home/pi/Desktop/images/01122025/06/25/image_01122025_06_25_34_9718.jpg', '/home/pi/Desktop/images/01122025/06/25/image_01122025_06_25_44_9773.jpg', '/home/pi/Desktop/images/01122025/06/25/image_01122025_06_25_54_9839.jpg', '/home/pi/Desktop/images/01122025/06/25/image_01122025_06_26_03_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/24/image_01122025_06_24_54_9686.jpg
/home/pi/Desktop/images/01122025/06/24/image_01122025_06_25_04_10732.jpg
/home/pi/Desktop/images/01122025/06/25/image_01122025_06_25_34_9718.jpg
/home/pi/Desktop/images/01122025/06/25/image_01122025_06_25_44_9773.jpg
/home/pi/Desktop/images/01122025/06/25/image_01122025_06_25_54_9839.jpg
/home/pi/Desktop/images/01122025/06/25/image_01122025_06_26_03_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":["1397161066","1397161069","1397161074","1397161062","1397161071","1397161059"],"photo_ids_order":["1397161059","1397161062","1397161066","1397161069","1397161071","1397161074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/370c281b50cdd6cb6eb40e39c41c4e51.jpg","text":"TemporaryFile(/tmp/multipartBody682579770591164179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566842934,"filename":"image_01122025_06_25_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/1/e3a19e435ee0046fec099b03a6fb2024.jpg","text":"TemporaryFile(/tmp/multipartBody6719036220472979829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566842934,"filename":"image_01122025_06_25_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/1/aac4b9a9f1d266b7dade6ba2e985996f.jpg","text":"TemporaryFile(/tmp/multipartBody821943925112707799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566842934,"filename":"image_01122025_06_26_03_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/1/8633c706ab7a88b89b92423206eb79f6.jpg","text":"TemporaryFile(/tmp/multipartBody2644601471569615955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566842934,"filename":"image_01122025_06_25_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/1/be97fd451434af29e801f7615314d9eb.jpg","text":"TemporaryFile(/tmp/multipartBody4051236124900761045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566842934,"filename":"image_01122025_06_25_54_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f6fa366d053a1a0fd1c2b3ab1588505e.jpg","text":"TemporaryFile(/tmp/multipartBody7207312799851065886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566842934,"filename":"image_01122025_06_24_54_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161066","file1":"1397161062","file0":"1397161059","file4":"1397161071","file5":"1397161074","file3":"1397161069"},"map_files_photo_id_array":[{"photo_id":"1397161074","filename":"file5"},{"photo_id":"1397161066","filename":"file2"},{"photo_id":"1397161071","filename":"file4"},{"photo_id":"1397161062","filename":"file1"},{"photo_id":"1397161059","filename":"file0"},{"photo_id":"1397161069","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397161066":["hashtag1","hashtag2"]},{"1397161069":["hashtag1","hashtag2"]},{"1397161074":["hashtag1","hashtag2"]},{"1397161062":["hashtag1","hashtag2"]},{"1397161071":["hashtag1","hashtag2"]},{"1397161059":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397161066, 1397161069, 1397161074, 1397161062, 1397161071, 1397161059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18307638168335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:27:03.385198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/26/image_01122025_06_26_14_10691.jpg', '/home/pi/Desktop/images/01122025/06/26/image_01122025_06_26_24_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/26/image_01122025_06_26_14_10691.jpg
/home/pi/Desktop/images/01122025/06/26/image_01122025_06_26_24_9806.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161089","1397161080"],"photo_ids_order":["1397161080","1397161089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/26c641fc1c2efb38e6b11e3d85dc2eaf.jpg","text":"TemporaryFile(/tmp/multipartBody3776947493632835875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566883994,"filename":"image_01122025_06_26_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/1/a217a807365357b376329a20f1742c6a.jpg","text":"TemporaryFile(/tmp/multipartBody2253234218306759737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566883994,"filename":"image_01122025_06_26_14_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397161089","file0":"1397161080"},"map_files_photo_id_array":[{"photo_id":"1397161089","filename":"file1"},{"photo_id":"1397161080","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397161089":["hashtag1","hashtag2"]},{"1397161080":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397161089, 1397161080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.652620553970337 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 06:27:22.776595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/26/image_01122025_06_26_34_9639.jpg', '/home/pi/Desktop/images/01122025/06/27/image_01122025_06_27_14_9836.jpg', '/home/pi/Desktop/images/01122025/06/27/image_01122025_06_27_34_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/26/image_01122025_06_26_34_9639.jpg
/home/pi/Desktop/images/01122025/06/27/image_01122025_06_27_14_9836.jpg
/home/pi/Desktop/images/01122025/06/27/image_01122025_06_27_34_9741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161099","1397161097","1397161101"],"photo_ids_order":["1397161097","1397161099","1397161101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f6acd07f087d1438a6746005c6805de0.jpg","text":"TemporaryFile(/tmp/multipartBody9124873294762081983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566903396,"filename":"image_01122025_06_27_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/1/f6e66c26747ce16590a54b8234a3e337.jpg","text":"TemporaryFile(/tmp/multipartBody7269968685131932290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566903396,"filename":"image_01122025_06_26_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6dea4186265ef535ea6b6e4c8a0be7a6.jpg","text":"TemporaryFile(/tmp/multipartBody6245217507588979069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566903396,"filename":"image_01122025_06_27_34_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161101","file1":"1397161099","file0":"1397161097"},"map_files_photo_id_array":[{"photo_id":"1397161101","filename":"file2"},{"photo_id":"1397161099","filename":"file1"},{"photo_id":"1397161097","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397161099":["hashtag1","hashtag2"]},{"1397161097":["hashtag1","hashtag2"]},{"1397161101":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397161099, 1397161097, 1397161101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 28.9948673248291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:28:02.338055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_28_2715.jpg', '/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_32_3587.jpg', '/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_41_3700.jpg', '/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_43_2554.jpg', '/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_47_3546.jpg', '/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_50_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_28_2715.jpg
/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_32_3587.jpg
/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_41_3700.jpg
/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_43_2554.jpg
/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_47_3546.jpg
/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_50_2661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161106","1397161114","1397161105","1397161119","1397161110","1397161107"],"photo_ids_order":["1397161105","1397161106","1397161107","1397161110","1397161114","1397161119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dfb57248365793e019b8d3383388a128.jpg","text":"TemporaryFile(/tmp/multipartBody3951807554075123617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566943512,"filename":"image_25112025_21_54_32_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/1/2d87eff11bfb995c0b82cc56d9e86c54.jpg","text":"TemporaryFile(/tmp/multipartBody2742402117728264034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566943512,"filename":"image_25112025_21_54_47_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/1/bd05258b9cf9cc3937bb2856762b18d1.jpg","text":"TemporaryFile(/tmp/multipartBody7701970177102109129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566943512,"filename":"image_25112025_21_54_28_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/1/76dd0611ad145be865e67123434d44cb.jpg","text":"TemporaryFile(/tmp/multipartBody4037074472348711655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566943512,"filename":"image_25112025_21_54_50_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7ac31be07d934cbaeafabd5b247ce949.jpg","text":"TemporaryFile(/tmp/multipartBody6921034663451061874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566943512,"filename":"image_25112025_21_54_43_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ce1d8875d5d8d9ae292d2da0b648b88c.jpg","text":"TemporaryFile(/tmp/multipartBody3216449864067332412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764566943512,"filename":"image_25112025_21_54_41_3700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161107","file1":"1397161106","file0":"1397161105","file4":"1397161114","file5":"1397161119","file3":"1397161110"},"map_files_photo_id_array":[{"photo_id":"1397161119","filename":"file5"},{"photo_id":"1397161107","filename":"file2"},{"photo_id":"1397161114","filename":"file4"},{"photo_id":"1397161106","filename":"file1"},{"photo_id":"1397161105","filename":"file0"},{"photo_id":"1397161110","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397161106":["hashtag1","hashtag2"]},{"1397161114":["hashtag1","hashtag2"]},{"1397161105":["hashtag1","hashtag2"]},{"1397161119":["hashtag1","hashtag2"]},{"1397161110":["hashtag1","hashtag2"]},{"1397161107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397161106, 1397161114, 1397161105, 1397161119, 1397161110, 1397161107)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.151373863220215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:29:03.277904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/27/image_01122025_06_27_54_9643.jpg', '/home/pi/Desktop/images/01122025/06/28/image_01122025_06_28_14_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/27/image_01122025_06_27_54_9643.jpg
/home/pi/Desktop/images/01122025/06/28/image_01122025_06_28_14_9764.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161136","1397161137"],"photo_ids_order":["1397161136","1397161137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2feaef5830961c00097dd4ead745d710.jpg","text":"TemporaryFile(/tmp/multipartBody7118856049080975086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567003944,"filename":"image_01122025_06_27_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/1/70b464ca55c76d8729752e34cc6e7da3.jpg","text":"TemporaryFile(/tmp/multipartBody5258229120912928842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567003944,"filename":"image_01122025_06_28_14_9764.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397161137","file0":"1397161136"},"map_files_photo_id_array":[{"photo_id":"1397161137","filename":"file1"},{"photo_id":"1397161136","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397161136":["hashtag1","hashtag2"]},{"1397161137":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397161136, 1397161137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.78618574142456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 06:29:22.221349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/28/image_01122025_06_28_34_10690.jpg', '/home/pi/Desktop/images/01122025/06/28/image_01122025_06_29_04_9709.jpg', '/home/pi/Desktop/images/01122025/06/29/image_01122025_06_29_14_9699.jpg', '/home/pi/Desktop/images/01122025/06/29/image_01122025_06_29_23_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/28/image_01122025_06_28_34_10690.jpg
/home/pi/Desktop/images/01122025/06/28/image_01122025_06_29_04_9709.jpg
/home/pi/Desktop/images/01122025/06/29/image_01122025_06_29_14_9699.jpg
/home/pi/Desktop/images/01122025/06/29/image_01122025_06_29_23_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":["1397161150","1397161144","1397161152","1397161146"],"photo_ids_order":["1397161144","1397161146","1397161150","1397161152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3cf01476f0dbdb54d5fe91001e7f5ccc.jpg","text":"TemporaryFile(/tmp/multipartBody3474341507985156237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567022871,"filename":"image_01122025_06_29_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/1/6e4965bf25f2f80f86ffa4c23f80e720.jpg","text":"TemporaryFile(/tmp/multipartBody9046482306632274874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567022871,"filename":"image_01122025_06_28_34_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5ee95a65eca86652993ce885d90933e3.jpg","text":"TemporaryFile(/tmp/multipartBody1718902963915049902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567022871,"filename":"image_01122025_06_29_23_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/1/f354f37ca7cebf4903c6a8db90c76b16.jpg","text":"TemporaryFile(/tmp/multipartBody5081273258139722282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567022871,"filename":"image_01122025_06_29_04_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161150","file1":"1397161146","file0":"1397161144","file3":"1397161152"},"map_files_photo_id_array":[{"photo_id":"1397161150","filename":"file2"},{"photo_id":"1397161146","filename":"file1"},{"photo_id":"1397161144","filename":"file0"},{"photo_id":"1397161152","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397161150":["hashtag1","hashtag2"]},{"1397161144":["hashtag1","hashtag2"]},{"1397161152":["hashtag1","hashtag2"]},{"1397161146":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397161150, 1397161144, 1397161152, 1397161146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.683545112609863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:30:02.708922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_52_2754.jpg', '/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_55_2636.jpg', '/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_59_3605.jpg', '/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_01_2534.jpg', '/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_05_3611.jpg', '/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_07_2529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_52_2754.jpg
/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_55_2636.jpg
/home/pi/Desktop/images/25112025/21/54/image_25112025_21_54_59_3605.jpg
/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_01_2534.jpg
/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_05_3611.jpg
/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_07_2529.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161157","1397161159","1397161168","1397161161","1397161164","1397161172"],"photo_ids_order":["1397161157","1397161159","1397161161","1397161164","1397161168","1397161172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4942d4990b7b4dea99bd5e685b121363.jpg","text":"TemporaryFile(/tmp/multipartBody7000000576693309008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567063962,"filename":"image_25112025_21_54_52_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/1/36c54bd3f1ff2a056c3e4bda2c84d8d6.jpg","text":"TemporaryFile(/tmp/multipartBody5859185083266786400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567063962,"filename":"image_25112025_21_54_55_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/1/ea058de7057d451921a3b4236d135218.jpg","text":"TemporaryFile(/tmp/multipartBody6525282447888207295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567063962,"filename":"image_25112025_21_55_05_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/1/40d029a29a45c2dad402e6acd70b8d20.jpg","text":"TemporaryFile(/tmp/multipartBody6650780173925172188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567063962,"filename":"image_25112025_21_54_59_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/1/a00a4cfa2691b433da366b36994d4380.jpg","text":"TemporaryFile(/tmp/multipartBody5028394444576624626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567063962,"filename":"image_25112025_21_55_01_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a80f10687947c314d785353ac25fb2c0.jpg","text":"TemporaryFile(/tmp/multipartBody734217921192220049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567063962,"filename":"image_25112025_21_55_07_2529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161161","file1":"1397161159","file0":"1397161157","file4":"1397161168","file5":"1397161172","file3":"1397161164"},"map_files_photo_id_array":[{"photo_id":"1397161172","filename":"file5"},{"photo_id":"1397161161","filename":"file2"},{"photo_id":"1397161168","filename":"file4"},{"photo_id":"1397161159","filename":"file1"},{"photo_id":"1397161157","filename":"file0"},{"photo_id":"1397161164","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397161157":["hashtag1","hashtag2"]},{"1397161159":["hashtag1","hashtag2"]},{"1397161168":["hashtag1","hashtag2"]},{"1397161161":["hashtag1","hashtag2"]},{"1397161164":["hashtag1","hashtag2"]},{"1397161172":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397161157, 1397161159, 1397161168, 1397161161, 1397161164, 1397161172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14433550834656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:31:03.223416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/29/image_01122025_06_29_34_10713.jpg', '/home/pi/Desktop/images/01122025/06/29/image_01122025_06_30_04_9691.jpg', '/home/pi/Desktop/images/01122025/06/30/image_01122025_06_30_14_10668.jpg', '/home/pi/Desktop/images/01122025/06/30/image_01122025_06_30_34_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/29/image_01122025_06_29_34_10713.jpg
/home/pi/Desktop/images/01122025/06/29/image_01122025_06_30_04_9691.jpg
/home/pi/Desktop/images/01122025/06/30/image_01122025_06_30_14_10668.jpg
/home/pi/Desktop/images/01122025/06/30/image_01122025_06_30_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":["1397161186","1397161188","1397161190","1397161184"],"photo_ids_order":["1397161184","1397161186","1397161188","1397161190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/777f7f0ab0b49f07f0a00d8da52522bb.jpg","text":"TemporaryFile(/tmp/multipartBody3530634926566293017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567123982,"filename":"image_01122025_06_30_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/1/e7cf04f24fab2b102cdc038537b66af0.jpg","text":"TemporaryFile(/tmp/multipartBody6518473622226101719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567123982,"filename":"image_01122025_06_30_14_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/aec028da398024eb9dd5680a692915d3.jpg","text":"TemporaryFile(/tmp/multipartBody6959107703511223560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567123982,"filename":"image_01122025_06_30_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/1/2bab613a81f1c033d0d7351fabce02ef.jpg","text":"TemporaryFile(/tmp/multipartBody1590039974987349642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567123982,"filename":"image_01122025_06_29_34_10713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161188","file1":"1397161186","file0":"1397161184","file3":"1397161190"},"map_files_photo_id_array":[{"photo_id":"1397161188","filename":"file2"},{"photo_id":"1397161186","filename":"file1"},{"photo_id":"1397161184","filename":"file0"},{"photo_id":"1397161190","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397161186":["hashtag1","hashtag2"]},{"1397161188":["hashtag1","hashtag2"]},{"1397161190":["hashtag1","hashtag2"]},{"1397161184":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397161186, 1397161188, 1397161190, 1397161184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.306586742401123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 06:31:32.561204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_11_3516.jpg', '/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_13_2542.jpg', '/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_16_2704.jpg', '/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_20_3599.jpg', '/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_26_3613.jpg', '/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_34_8039.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_11_3516.jpg
/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_13_2542.jpg
/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_16_2704.jpg
/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_20_3599.jpg
/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_26_3613.jpg
/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_34_8039.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.701467514038086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 06:31:42.487296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/49/image_01112025_00_49_07_2816.jpg', '/home/pi/Desktop/images/01112025/00/49/image_01112025_00_49_19_2658.jpg', '/home/pi/Desktop/images/01112025/00/49/image_01112025_00_49_25_2599.jpg', '/home/pi/Desktop/images/01112025/00/49/image_01112025_00_49_34_2980.jpg', '/home/pi/Desktop/images/01112025/00/49/image_01112025_00_49_40_2690.jpg', '/home/pi/Desktop/images/01112025/00/49/image_01112025_00_49_44_3599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/49/image_01112025_00_49_07_2816.jpg
/home/pi/Desktop/images/01112025/00/49/image_01112025_00_49_19_2658.jpg
/home/pi/Desktop/images/01112025/00/49/image_01112025_00_49_25_2599.jpg
/home/pi/Desktop/images/01112025/00/49/image_01112025_00_49_34_2980.jpg
/home/pi/Desktop/images/01112025/00/49/image_01112025_00_49_40_2690.jpg
/home/pi/Desktop/images/01112025/00/49/image_01112025_00_49_44_3599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161220","1397161214","1397161212","1397161221","1397161215","1397161209"],"photo_ids_order":["1397161209","1397161212","1397161214","1397161215","1397161220","1397161221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d7fbe48d45d1ceb8c220e2927d70d180.jpg","text":"TemporaryFile(/tmp/multipartBody7844235867835265979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567163388,"filename":"image_01112025_00_49_40_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f64ec313b3a735aa28e60857d468ca01.jpg","text":"TemporaryFile(/tmp/multipartBody3476001679725410942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567163388,"filename":"image_01112025_00_49_25_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/1/e9a4ab61f111f999352f8ea983e9092a.jpg","text":"TemporaryFile(/tmp/multipartBody4938380820077564307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567163388,"filename":"image_01112025_00_49_19_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/1/59811b2aecb2156f256caedbc48a2e36.jpg","text":"TemporaryFile(/tmp/multipartBody1120693473538110825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567163388,"filename":"image_01112025_00_49_44_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/18dfb9d7012023084c349f1496ec3997.jpg","text":"TemporaryFile(/tmp/multipartBody1449231962903714574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567163388,"filename":"image_01112025_00_49_34_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/1/5eb863e6edd6689ab909dd64bcb6eceb.jpg","text":"TemporaryFile(/tmp/multipartBody4845235603906810201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567163388,"filename":"image_01112025_00_49_07_2816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161214","file1":"1397161212","file0":"1397161209","file4":"1397161220","file5":"1397161221","file3":"1397161215"},"map_files_photo_id_array":[{"photo_id":"1397161221","filename":"file5"},{"photo_id":"1397161214","filename":"file2"},{"photo_id":"1397161220","filename":"file4"},{"photo_id":"1397161212","filename":"file1"},{"photo_id":"1397161209","filename":"file0"},{"photo_id":"1397161215","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397161220":["hashtag1","hashtag2"]},{"1397161214":["hashtag1","hashtag2"]},{"1397161212":["hashtag1","hashtag2"]},{"1397161221":["hashtag1","hashtag2"]},{"1397161215":["hashtag1","hashtag2"]},{"1397161209":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397161220, 1397161214, 1397161212, 1397161221, 1397161215, 1397161209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02661395072937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 06:32:22.677876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/30/image_01122025_06_30_44_10657.jpg', '/home/pi/Desktop/images/01122025/06/31/image_01122025_06_31_24_10746.jpg', '/home/pi/Desktop/images/01122025/06/31/image_01122025_06_31_44_9646.jpg', '/home/pi/Desktop/images/01122025/06/31/image_01122025_06_31_54_10542.jpg', '/home/pi/Desktop/images/01122025/06/32/image_01122025_06_32_14_9730.jpg', '/home/pi/Desktop/images/01122025/06/32/image_01122025_06_32_24_10771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/30/image_01122025_06_30_44_10657.jpg
/home/pi/Desktop/images/01122025/06/31/image_01122025_06_31_24_10746.jpg
/home/pi/Desktop/images/01122025/06/31/image_01122025_06_31_44_9646.jpg
/home/pi/Desktop/images/01122025/06/31/image_01122025_06_31_54_10542.jpg
/home/pi/Desktop/images/01122025/06/32/image_01122025_06_32_14_9730.jpg
/home/pi/Desktop/images/01122025/06/32/image_01122025_06_32_24_10771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161229","1397161238","1397161243","1397161231","1397161240","1397161236"],"photo_ids_order":["1397161229","1397161231","1397161236","1397161238","1397161240","1397161243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d4ff0eb18deac81a3a9a52012194db3c.jpg","text":"TemporaryFile(/tmp/multipartBody1589334788208079627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567203414,"filename":"image_01122025_06_30_44_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/1/a3326f608c92fe780d419ceca59731a3.jpg","text":"TemporaryFile(/tmp/multipartBody1388044693861368928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567203414,"filename":"image_01122025_06_31_54_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/1/13caff16fb95dcfae4b90e7c0642d1a4.jpg","text":"TemporaryFile(/tmp/multipartBody8814225965046433407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567203414,"filename":"image_01122025_06_32_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/1/94f6013a889ac380bbe3f454ce5c52ae.jpg","text":"TemporaryFile(/tmp/multipartBody471738046231618940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567203414,"filename":"image_01122025_06_31_24_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1e7a31f452ef711c182407c900763b69.jpg","text":"TemporaryFile(/tmp/multipartBody922766665794853797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567203414,"filename":"image_01122025_06_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/1/aedc069a4fa4c1f8e483a2553c6fe964.jpg","text":"TemporaryFile(/tmp/multipartBody6938795391181269047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567203414,"filename":"image_01122025_06_31_44_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161236","file1":"1397161231","file0":"1397161229","file4":"1397161240","file5":"1397161243","file3":"1397161238"},"map_files_photo_id_array":[{"photo_id":"1397161243","filename":"file5"},{"photo_id":"1397161236","filename":"file2"},{"photo_id":"1397161240","filename":"file4"},{"photo_id":"1397161231","filename":"file1"},{"photo_id":"1397161229","filename":"file0"},{"photo_id":"1397161238","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397161229":["hashtag1","hashtag2"]},{"1397161238":["hashtag1","hashtag2"]},{"1397161243":["hashtag1","hashtag2"]},{"1397161231":["hashtag1","hashtag2"]},{"1397161240":["hashtag1","hashtag2"]},{"1397161236":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397161229, 1397161238, 1397161243, 1397161231, 1397161240, 1397161236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.313244581222534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:33:03.349516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_11_3516.jpg', '/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_13_2542.jpg', '/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_16_2704.jpg', '/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_20_3599.jpg', '/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_26_3613.jpg', '/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_34_8039.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_11_3516.jpg
/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_13_2542.jpg
/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_16_2704.jpg
/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_20_3599.jpg
/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_26_3613.jpg
/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_34_8039.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161256","1397161264","1397161249","1397161245","1397161268","1397161247"],"photo_ids_order":["1397161245","1397161247","1397161249","1397161256","1397161264","1397161268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6e5e8fa4209ddfbee67c2005ce1a2273.jpg","text":"TemporaryFile(/tmp/multipartBody5066465139455867561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567244465,"filename":"image_25112025_21_55_20_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/98d8bab06df394748898beb733a950ad.jpg","text":"TemporaryFile(/tmp/multipartBody2240707582447936635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567244465,"filename":"image_25112025_21_55_26_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/1/3debab83ba09b6e5dba88c2ce4c879b9.jpg","text":"TemporaryFile(/tmp/multipartBody2900688000087134314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567244465,"filename":"image_25112025_21_55_16_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/1/a0b5ea8d37ecf81b6c295506a6c405c3.jpg","text":"TemporaryFile(/tmp/multipartBody3748204411933895653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567244465,"filename":"image_25112025_21_55_11_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/1/1eae40a9b378ddfa4c0ff817b0bc2069.jpg","text":"TemporaryFile(/tmp/multipartBody8867317023091295298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567244465,"filename":"image_25112025_21_55_34_8039.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/af033e3a56da277b543b8e3aefd9539d.jpg","text":"TemporaryFile(/tmp/multipartBody2428677378242519085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567244465,"filename":"image_25112025_21_55_13_2542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161249","file1":"1397161247","file0":"1397161245","file4":"1397161264","file5":"1397161268","file3":"1397161256"},"map_files_photo_id_array":[{"photo_id":"1397161268","filename":"file5"},{"photo_id":"1397161249","filename":"file2"},{"photo_id":"1397161264","filename":"file4"},{"photo_id":"1397161247","filename":"file1"},{"photo_id":"1397161245","filename":"file0"},{"photo_id":"1397161256","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397161256":["hashtag1","hashtag2"]},{"1397161264":["hashtag1","hashtag2"]},{"1397161249":["hashtag1","hashtag2"]},{"1397161245":["hashtag1","hashtag2"]},{"1397161268":["hashtag1","hashtag2"]},{"1397161247":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397161256, 1397161264, 1397161249, 1397161245, 1397161268, 1397161247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.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 --last_days 30 --only_old 1
2025-12-01 06:33:42.891309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/49/image_01112025_00_49_49_2869.jpg', '/home/pi/Desktop/images/01112025/00/49/image_01112025_00_49_53_3794.jpg', '/home/pi/Desktop/images/01112025/00/49/image_01112025_00_49_55_2565.jpg', '/home/pi/Desktop/images/01112025/00/49/image_01112025_00_49_58_2655.jpg', '/home/pi/Desktop/images/01112025/00/50/image_01112025_00_50_04_2695.jpg', '/home/pi/Desktop/images/01112025/00/50/image_01112025_00_50_07_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/49/image_01112025_00_49_49_2869.jpg
/home/pi/Desktop/images/01112025/00/49/image_01112025_00_49_53_3794.jpg
/home/pi/Desktop/images/01112025/00/49/image_01112025_00_49_55_2565.jpg
/home/pi/Desktop/images/01112025/00/49/image_01112025_00_49_58_2655.jpg
/home/pi/Desktop/images/01112025/00/50/image_01112025_00_50_04_2695.jpg
/home/pi/Desktop/images/01112025/00/50/image_01112025_00_50_07_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":["1397161282","1397161279","1397161281","1397161283","1397161277","1397161280"],"photo_ids_order":["1397161277","1397161279","1397161280","1397161281","1397161282","1397161283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/54b5647c74377554304e31848fa604a1.jpg","text":"TemporaryFile(/tmp/multipartBody6934641339516969379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567283807,"filename":"image_01112025_00_50_04_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6e212865d8c3174a1c1f8a6d6c20fd85.jpg","text":"TemporaryFile(/tmp/multipartBody2126040515257934066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567283807,"filename":"image_01112025_00_49_53_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/1/38c6110567679792613c041b74780c08.jpg","text":"TemporaryFile(/tmp/multipartBody2306085932872879739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567283807,"filename":"image_01112025_00_49_58_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b20143a68f78cad5e97d1c13cb338b48.jpg","text":"TemporaryFile(/tmp/multipartBody3937045401154677444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567283807,"filename":"image_01112025_00_50_07_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/1/9ed999698c7bf95bac4e1bc01d0cab0d.jpg","text":"TemporaryFile(/tmp/multipartBody8544882400444984773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567283807,"filename":"image_01112025_00_49_49_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/1/abbd21d005f335981ddef8870a2a7a8c.jpg","text":"TemporaryFile(/tmp/multipartBody3631304423362325833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567283807,"filename":"image_01112025_00_49_55_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161280","file1":"1397161279","file0":"1397161277","file4":"1397161282","file5":"1397161283","file3":"1397161281"},"map_files_photo_id_array":[{"photo_id":"1397161283","filename":"file5"},{"photo_id":"1397161280","filename":"file2"},{"photo_id":"1397161282","filename":"file4"},{"photo_id":"1397161279","filename":"file1"},{"photo_id":"1397161277","filename":"file0"},{"photo_id":"1397161281","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397161282":["hashtag1","hashtag2"]},{"1397161279":["hashtag1","hashtag2"]},{"1397161281":["hashtag1","hashtag2"]},{"1397161283":["hashtag1","hashtag2"]},{"1397161277":["hashtag1","hashtag2"]},{"1397161280":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397161282, 1397161279, 1397161281, 1397161283, 1397161277, 1397161280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33932566642761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 06:34:22.060272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/32/image_01122025_06_32_53_9679.jpg', '/home/pi/Desktop/images/01122025/06/33/image_01122025_06_33_14_9682.jpg', '/home/pi/Desktop/images/01122025/06/33/image_01122025_06_33_34_10666.jpg', '/home/pi/Desktop/images/01122025/06/33/image_01122025_06_33_44_9766.jpg', '/home/pi/Desktop/images/01122025/06/33/image_01122025_06_33_54_9898.jpg', '/home/pi/Desktop/images/01122025/06/33/image_01122025_06_34_04_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/32/image_01122025_06_32_53_9679.jpg
/home/pi/Desktop/images/01122025/06/33/image_01122025_06_33_14_9682.jpg
/home/pi/Desktop/images/01122025/06/33/image_01122025_06_33_34_10666.jpg
/home/pi/Desktop/images/01122025/06/33/image_01122025_06_33_44_9766.jpg
/home/pi/Desktop/images/01122025/06/33/image_01122025_06_33_54_9898.jpg
/home/pi/Desktop/images/01122025/06/33/image_01122025_06_34_04_9701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161301","1397161294","1397161307","1397161290","1397161303","1397161298"],"photo_ids_order":["1397161290","1397161294","1397161298","1397161301","1397161303","1397161307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e253c2ec53902f13d20a084a0efe278b.jpg","text":"TemporaryFile(/tmp/multipartBody3845040611179495739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567322797,"filename":"image_01122025_06_33_44_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9e09b50bfa10b068e6022162f5581a3e.jpg","text":"TemporaryFile(/tmp/multipartBody829098189628484762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567322797,"filename":"image_01122025_06_33_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/1/eed16632f2d681612bc5e7acc829b4f6.jpg","text":"TemporaryFile(/tmp/multipartBody4893846485730797560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567322797,"filename":"image_01122025_06_34_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/1/c52da921c29d3cc9d6abd9a590a86d51.jpg","text":"TemporaryFile(/tmp/multipartBody1293616967863496393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567322797,"filename":"image_01122025_06_32_53_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2283be5d02803b940dd302f84a14d8e7.jpg","text":"TemporaryFile(/tmp/multipartBody7394724297773294317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567322797,"filename":"image_01122025_06_33_54_9898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bed0b3e92b2ab132ed67d4756cb14df2.jpg","text":"TemporaryFile(/tmp/multipartBody5597126710967817518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567322797,"filename":"image_01122025_06_33_34_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161298","file1":"1397161294","file0":"1397161290","file4":"1397161303","file5":"1397161307","file3":"1397161301"},"map_files_photo_id_array":[{"photo_id":"1397161307","filename":"file5"},{"photo_id":"1397161298","filename":"file2"},{"photo_id":"1397161303","filename":"file4"},{"photo_id":"1397161294","filename":"file1"},{"photo_id":"1397161290","filename":"file0"},{"photo_id":"1397161301","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397161301":["hashtag1","hashtag2"]},{"1397161294":["hashtag1","hashtag2"]},{"1397161307":["hashtag1","hashtag2"]},{"1397161290":["hashtag1","hashtag2"]},{"1397161303":["hashtag1","hashtag2"]},{"1397161298":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397161301, 1397161294, 1397161307, 1397161290, 1397161303, 1397161298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.556461811065674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:35:02.933897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/34/image_01122025_06_34_14_10012.jpg', '/home/pi/Desktop/images/01122025/06/34/image_01122025_06_34_24_10716.jpg', '/home/pi/Desktop/images/01122025/06/34/image_01122025_06_34_34_9805.jpg', '/home/pi/Desktop/images/01122025/06/34/image_01122025_06_34_44_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/34/image_01122025_06_34_14_10012.jpg
/home/pi/Desktop/images/01122025/06/34/image_01122025_06_34_24_10716.jpg
/home/pi/Desktop/images/01122025/06/34/image_01122025_06_34_34_9805.jpg
/home/pi/Desktop/images/01122025/06/34/image_01122025_06_34_44_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161313","1397161315","1397161309","1397161311"],"photo_ids_order":["1397161309","1397161311","1397161313","1397161315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/10d5655ab9588ecbd06b39289d2d0d85.jpg","text":"TemporaryFile(/tmp/multipartBody4250051445402044812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567363645,"filename":"image_01122025_06_34_34_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b0c5973e9166ea8d7ecff7526f0dc828.jpg","text":"TemporaryFile(/tmp/multipartBody4209797251614365171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567363645,"filename":"image_01122025_06_34_44_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ff6e1558d24ad28b54dc03ae4612c438.jpg","text":"TemporaryFile(/tmp/multipartBody4078096962101460899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567363645,"filename":"image_01122025_06_34_14_10012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/965afb83fa141b63d49b4499d8aebadb.jpg","text":"TemporaryFile(/tmp/multipartBody2111337227075780734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567363645,"filename":"image_01122025_06_34_24_10716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161313","file1":"1397161311","file0":"1397161309","file3":"1397161315"},"map_files_photo_id_array":[{"photo_id":"1397161313","filename":"file2"},{"photo_id":"1397161311","filename":"file1"},{"photo_id":"1397161309","filename":"file0"},{"photo_id":"1397161315","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397161313":["hashtag1","hashtag2"]},{"1397161315":["hashtag1","hashtag2"]},{"1397161309":["hashtag1","hashtag2"]},{"1397161311":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397161313, 1397161315, 1397161309, 1397161311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.03165340423584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 06:35:32.295644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_36_1636.jpg', '/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_37_1654.jpg', '/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_42_3138.jpg', '/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_48_5776.jpg', '/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_49_1682.jpg', '/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_51_1673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_36_1636.jpg
/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_37_1654.jpg
/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_42_3138.jpg
/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_48_5776.jpg
/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_49_1682.jpg
/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_51_1673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161343","1397161337","1397161345","1397161339","1397161333","1397161336"],"photo_ids_order":["1397161333","1397161336","1397161337","1397161339","1397161343","1397161345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2aa9f0e364642286899fb7a940fbf61e.jpg","text":"TemporaryFile(/tmp/multipartBody5510578648464609463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567394027,"filename":"image_25112025_21_55_49_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/1/149762ecec04cfe3fa8acc30f13ecbd4.jpg","text":"TemporaryFile(/tmp/multipartBody6080259026444021784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567394027,"filename":"image_25112025_21_55_42_3138.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/676d6e8605f8d3b182bf9b164c1274c6.jpg","text":"TemporaryFile(/tmp/multipartBody6860316969138992691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567394027,"filename":"image_25112025_21_55_51_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a65d8e62e18c7f3695a4f4a3e4ace0ed.jpg","text":"TemporaryFile(/tmp/multipartBody5847129220019988379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567394027,"filename":"image_25112025_21_55_48_5776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/83e24ce5f247bebe1fe33ec2df42211a.jpg","text":"TemporaryFile(/tmp/multipartBody6725255133646530574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567394027,"filename":"image_25112025_21_55_36_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/456ba62d80b8cc611ca24fabfbce1fa7.jpg","text":"TemporaryFile(/tmp/multipartBody4118581449212813895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567394027,"filename":"image_25112025_21_55_37_1654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161337","file1":"1397161336","file0":"1397161333","file4":"1397161343","file5":"1397161345","file3":"1397161339"},"map_files_photo_id_array":[{"photo_id":"1397161345","filename":"file5"},{"photo_id":"1397161337","filename":"file2"},{"photo_id":"1397161343","filename":"file4"},{"photo_id":"1397161336","filename":"file1"},{"photo_id":"1397161333","filename":"file0"},{"photo_id":"1397161339","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397161343":["hashtag1","hashtag2"]},{"1397161337":["hashtag1","hashtag2"]},{"1397161345":["hashtag1","hashtag2"]},{"1397161339":["hashtag1","hashtag2"]},{"1397161333":["hashtag1","hashtag2"]},{"1397161336":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397161343, 1397161337, 1397161345, 1397161339, 1397161333, 1397161336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86157441139221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 06:36:12.549781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_54_2484.jpg', '/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_55_1665.jpg', '/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_58_2653.jpg', '/home/pi/Desktop/images/25112025/21/56/image_25112025_21_56_02_3633.jpg', '/home/pi/Desktop/images/25112025/21/56/image_25112025_21_56_04_2576.jpg', '/home/pi/Desktop/images/25112025/21/56/image_25112025_21_56_08_3491.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_54_2484.jpg
/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_55_1665.jpg
/home/pi/Desktop/images/25112025/21/55/image_25112025_21_55_58_2653.jpg
/home/pi/Desktop/images/25112025/21/56/image_25112025_21_56_02_3633.jpg
/home/pi/Desktop/images/25112025/21/56/image_25112025_21_56_04_2576.jpg
/home/pi/Desktop/images/25112025/21/56/image_25112025_21_56_08_3491.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161355","1397161363","1397161351","1397161348","1397161359","1397161367"],"photo_ids_order":["1397161348","1397161351","1397161355","1397161359","1397161363","1397161367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/00c6ab39732b099f92db4100d09f40d4.jpg","text":"TemporaryFile(/tmp/multipartBody1228338929961610227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567434191,"filename":"image_25112025_21_55_58_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/23855f35d3fcdc0b453843966c014111.jpg","text":"TemporaryFile(/tmp/multipartBody7851793250167729917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567434191,"filename":"image_25112025_21_56_04_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/1/e1357b9e5757674c28b4920a9e4e0026.jpg","text":"TemporaryFile(/tmp/multipartBody3446295667679496029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567434191,"filename":"image_25112025_21_55_55_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/1/d4f3a683a448bc7e0d721541ffd51de2.jpg","text":"TemporaryFile(/tmp/multipartBody3606790841693263781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567434191,"filename":"image_25112025_21_55_54_2484.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b7923b8616462baa0db68fdef1469b9b.jpg","text":"TemporaryFile(/tmp/multipartBody6158502140959480066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567434191,"filename":"image_25112025_21_56_02_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/1/781ea0dccd8c349dbd834ced989de1ad.jpg","text":"TemporaryFile(/tmp/multipartBody1254931461447255038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567434191,"filename":"image_25112025_21_56_08_3491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161355","file1":"1397161351","file0":"1397161348","file4":"1397161363","file5":"1397161367","file3":"1397161359"},"map_files_photo_id_array":[{"photo_id":"1397161367","filename":"file5"},{"photo_id":"1397161355","filename":"file2"},{"photo_id":"1397161363","filename":"file4"},{"photo_id":"1397161351","filename":"file1"},{"photo_id":"1397161348","filename":"file0"},{"photo_id":"1397161359","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397161355":["hashtag1","hashtag2"]},{"1397161363":["hashtag1","hashtag2"]},{"1397161351":["hashtag1","hashtag2"]},{"1397161348":["hashtag1","hashtag2"]},{"1397161359":["hashtag1","hashtag2"]},{"1397161367":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397161355, 1397161363, 1397161351, 1397161348, 1397161359, 1397161367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20655107498169 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:37:03.279173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/34/image_01122025_06_34_54_9863.jpg', '/home/pi/Desktop/images/01122025/06/34/image_01122025_06_35_04_10677.jpg', '/home/pi/Desktop/images/01122025/06/35/image_01122025_06_35_14_9618.jpg', '/home/pi/Desktop/images/01122025/06/35/image_01122025_06_35_34_10678.jpg', '/home/pi/Desktop/images/01122025/06/35/image_01122025_06_35_44_9643.jpg', '/home/pi/Desktop/images/01122025/06/35/image_01122025_06_36_04_10683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/34/image_01122025_06_34_54_9863.jpg
/home/pi/Desktop/images/01122025/06/34/image_01122025_06_35_04_10677.jpg
/home/pi/Desktop/images/01122025/06/35/image_01122025_06_35_14_9618.jpg
/home/pi/Desktop/images/01122025/06/35/image_01122025_06_35_34_10678.jpg
/home/pi/Desktop/images/01122025/06/35/image_01122025_06_35_44_9643.jpg
/home/pi/Desktop/images/01122025/06/35/image_01122025_06_36_04_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":["1397161400","1397161403","1397161393","1397161396","1397161384","1397161391"],"photo_ids_order":["1397161384","1397161391","1397161393","1397161396","1397161400","1397161403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/eb6de7240f2e4a7495e791d291d5b9d8.jpg","text":"TemporaryFile(/tmp/multipartBody7931863771098168597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567484082,"filename":"image_01122025_06_35_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/1/55bf81503d69035ad1dd0160c5022db7.jpg","text":"TemporaryFile(/tmp/multipartBody3382848107306616084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567484082,"filename":"image_01122025_06_36_04_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/21615a5c5fce7dfc96afa748baca9aef.jpg","text":"TemporaryFile(/tmp/multipartBody4749721768455442418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567484082,"filename":"image_01122025_06_35_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/1/c501be5e60b07ac0895af0efc086f86a.jpg","text":"TemporaryFile(/tmp/multipartBody2836527498686809960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567484082,"filename":"image_01122025_06_35_34_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/1/9e4f4721882eb7e77002c4d99fcd434e.jpg","text":"TemporaryFile(/tmp/multipartBody7287665020689624340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567484082,"filename":"image_01122025_06_34_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/1/f9f3fe87b4dee2f75dffd0892284ffdd.jpg","text":"TemporaryFile(/tmp/multipartBody1446626976902758274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567484082,"filename":"image_01122025_06_35_04_10677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161393","file1":"1397161391","file0":"1397161384","file4":"1397161400","file5":"1397161403","file3":"1397161396"},"map_files_photo_id_array":[{"photo_id":"1397161403","filename":"file5"},{"photo_id":"1397161393","filename":"file2"},{"photo_id":"1397161400","filename":"file4"},{"photo_id":"1397161391","filename":"file1"},{"photo_id":"1397161384","filename":"file0"},{"photo_id":"1397161396","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397161400":["hashtag1","hashtag2"]},{"1397161403":["hashtag1","hashtag2"]},{"1397161393":["hashtag1","hashtag2"]},{"1397161396":["hashtag1","hashtag2"]},{"1397161384":["hashtag1","hashtag2"]},{"1397161391":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397161400, 1397161403, 1397161393, 1397161396, 1397161384, 1397161391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1174259185791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 06:37:42.759226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/50/image_01112025_00_50_10_3167.jpg', '/home/pi/Desktop/images/01112025/00/50/image_01112025_00_50_13_2756.jpg', '/home/pi/Desktop/images/01112025/00/50/image_01112025_00_50_20_2916.jpg', '/home/pi/Desktop/images/01112025/00/50/image_01112025_00_50_22_2699.jpg', '/home/pi/Desktop/images/01112025/00/50/image_01112025_00_50_29_3637.jpg', '/home/pi/Desktop/images/01112025/00/50/image_01112025_00_50_47_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/50/image_01112025_00_50_10_3167.jpg
/home/pi/Desktop/images/01112025/00/50/image_01112025_00_50_13_2756.jpg
/home/pi/Desktop/images/01112025/00/50/image_01112025_00_50_20_2916.jpg
/home/pi/Desktop/images/01112025/00/50/image_01112025_00_50_22_2699.jpg
/home/pi/Desktop/images/01112025/00/50/image_01112025_00_50_29_3637.jpg
/home/pi/Desktop/images/01112025/00/50/image_01112025_00_50_47_3635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161412","1397161415","1397161424","1397161414","1397161410","1397161413"],"photo_ids_order":["1397161410","1397161412","1397161413","1397161414","1397161415","1397161424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5036ee132b3294cb15132e078c24509c.jpg","text":"TemporaryFile(/tmp/multipartBody6562759452701017840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567523631,"filename":"image_01112025_00_50_13_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/48d017b8bd58aae168d2e014d385d162.jpg","text":"TemporaryFile(/tmp/multipartBody2184661610356329060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567523631,"filename":"image_01112025_00_50_29_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/1/663b4c840eda9ab5c3438e59aef867bc.jpg","text":"TemporaryFile(/tmp/multipartBody1047805385497139453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567523631,"filename":"image_01112025_00_50_47_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/1/84cc9d9d73f8d823c84c5ab36394dca7.jpg","text":"TemporaryFile(/tmp/multipartBody2344506270896461676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567523631,"filename":"image_01112025_00_50_22_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ad4ecbae80d2793863481c88847ca132.jpg","text":"TemporaryFile(/tmp/multipartBody2182038571367119148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567523631,"filename":"image_01112025_00_50_10_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/1/2dbf3dc93d42c1201a90fb0cff5e8aa4.jpg","text":"TemporaryFile(/tmp/multipartBody3711873831298849072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567523631,"filename":"image_01112025_00_50_20_2916.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161413","file1":"1397161412","file0":"1397161410","file4":"1397161415","file5":"1397161424","file3":"1397161414"},"map_files_photo_id_array":[{"photo_id":"1397161424","filename":"file5"},{"photo_id":"1397161413","filename":"file2"},{"photo_id":"1397161415","filename":"file4"},{"photo_id":"1397161412","filename":"file1"},{"photo_id":"1397161410","filename":"file0"},{"photo_id":"1397161414","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397161412":["hashtag1","hashtag2"]},{"1397161415":["hashtag1","hashtag2"]},{"1397161424":["hashtag1","hashtag2"]},{"1397161414":["hashtag1","hashtag2"]},{"1397161410":["hashtag1","hashtag2"]},{"1397161413":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397161412, 1397161415, 1397161424, 1397161414, 1397161410, 1397161413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.084434270858765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 06:38:21.905182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/36/image_01122025_06_36_24_9901.jpg', '/home/pi/Desktop/images/01122025/06/36/image_01122025_06_36_34_9658.jpg', '/home/pi/Desktop/images/01122025/06/36/image_01122025_06_36_44_10616.jpg', '/home/pi/Desktop/images/01122025/06/37/image_01122025_06_37_14_10778.jpg', '/home/pi/Desktop/images/01122025/06/37/image_01122025_06_37_24_9809.jpg', '/home/pi/Desktop/images/01122025/06/37/image_01122025_06_37_34_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/36/image_01122025_06_36_24_9901.jpg
/home/pi/Desktop/images/01122025/06/36/image_01122025_06_36_34_9658.jpg
/home/pi/Desktop/images/01122025/06/36/image_01122025_06_36_44_10616.jpg
/home/pi/Desktop/images/01122025/06/37/image_01122025_06_37_14_10778.jpg
/home/pi/Desktop/images/01122025/06/37/image_01122025_06_37_24_9809.jpg
/home/pi/Desktop/images/01122025/06/37/image_01122025_06_37_34_9563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161450","1397161444","1397161432","1397161446","1397161440","1397161437"],"photo_ids_order":["1397161432","1397161437","1397161440","1397161444","1397161446","1397161450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6b7bb1dd6570cc933ed7bbca158e6a6c.jpg","text":"TemporaryFile(/tmp/multipartBody1774001323117443462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567562637,"filename":"image_01122025_06_37_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/1/a890d2fbae972471d5fbd3cf61f6003b.jpg","text":"TemporaryFile(/tmp/multipartBody8670407279027168108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567562637,"filename":"image_01122025_06_37_14_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/1/ba4a38952bee3638c434e9e4abf0f116.jpg","text":"TemporaryFile(/tmp/multipartBody758525235190694594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567562637,"filename":"image_01122025_06_36_24_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/1/cc3d2cdcf7c07397d2d24e7753f9fdc9.jpg","text":"TemporaryFile(/tmp/multipartBody198578243648405065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567562637,"filename":"image_01122025_06_37_24_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7f10160cb52edce2bfe626f0df64707c.jpg","text":"TemporaryFile(/tmp/multipartBody6188066403933727545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567562637,"filename":"image_01122025_06_36_44_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/952c6a495d941788aa548c88fe90a849.jpg","text":"TemporaryFile(/tmp/multipartBody4007841797733721602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567562637,"filename":"image_01122025_06_36_34_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161440","file1":"1397161437","file0":"1397161432","file4":"1397161446","file5":"1397161450","file3":"1397161444"},"map_files_photo_id_array":[{"photo_id":"1397161450","filename":"file5"},{"photo_id":"1397161440","filename":"file2"},{"photo_id":"1397161446","filename":"file4"},{"photo_id":"1397161437","filename":"file1"},{"photo_id":"1397161432","filename":"file0"},{"photo_id":"1397161444","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397161450":["hashtag1","hashtag2"]},{"1397161444":["hashtag1","hashtag2"]},{"1397161432":["hashtag1","hashtag2"]},{"1397161446":["hashtag1","hashtag2"]},{"1397161440":["hashtag1","hashtag2"]},{"1397161437":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397161450, 1397161444, 1397161432, 1397161446, 1397161440, 1397161437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46586775779724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:39:02.863093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/37/image_01122025_06_37_54_10766.jpg', '/home/pi/Desktop/images/01122025/06/38/image_01122025_06_38_24_10541.jpg', '/home/pi/Desktop/images/01122025/06/38/image_01122025_06_38_34_9612.jpg', '/home/pi/Desktop/images/01122025/06/38/image_01122025_06_38_44_10796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/37/image_01122025_06_37_54_10766.jpg
/home/pi/Desktop/images/01122025/06/38/image_01122025_06_38_24_10541.jpg
/home/pi/Desktop/images/01122025/06/38/image_01122025_06_38_34_9612.jpg
/home/pi/Desktop/images/01122025/06/38/image_01122025_06_38_44_10796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161462","1397161452","1397161455","1397161457"],"photo_ids_order":["1397161452","1397161455","1397161457","1397161462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5f1d616e1e63adec2de0655991612da8.jpg","text":"TemporaryFile(/tmp/multipartBody2516444641199377858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567603720,"filename":"image_01122025_06_38_44_10796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/debee4e4adf1a5086b63dd4c0577d488.jpg","text":"TemporaryFile(/tmp/multipartBody5628211961654729737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567603720,"filename":"image_01122025_06_37_54_10766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d2372978aab4ff5af141052ccf5b8de3.jpg","text":"TemporaryFile(/tmp/multipartBody7073129083019903368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567603720,"filename":"image_01122025_06_38_24_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/1/4553a0d5072b9c155711d1a4dbe545f2.jpg","text":"TemporaryFile(/tmp/multipartBody6977320759873962314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567603720,"filename":"image_01122025_06_38_34_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161457","file1":"1397161455","file0":"1397161452","file3":"1397161462"},"map_files_photo_id_array":[{"photo_id":"1397161457","filename":"file2"},{"photo_id":"1397161455","filename":"file1"},{"photo_id":"1397161452","filename":"file0"},{"photo_id":"1397161462","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397161462":["hashtag1","hashtag2"]},{"1397161452":["hashtag1","hashtag2"]},{"1397161455":["hashtag1","hashtag2"]},{"1397161457":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397161462, 1397161452, 1397161455, 1397161457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.998746395111084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 06:39:32.033431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/56/image_25112025_21_56_10_2846.jpg', '/home/pi/Desktop/images/25112025/21/56/image_25112025_21_56_16_3398.jpg', '/home/pi/Desktop/images/25112025/21/56/image_25112025_21_56_19_2742.jpg', '/home/pi/Desktop/images/25112025/21/56/image_25112025_21_56_22_2868.jpg', '/home/pi/Desktop/images/25112025/21/56/image_25112025_21_56_39_16593.jpg', '/home/pi/Desktop/images/25112025/21/56/image_25112025_21_56_45_6030.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/56/image_25112025_21_56_10_2846.jpg
/home/pi/Desktop/images/25112025/21/56/image_25112025_21_56_16_3398.jpg
/home/pi/Desktop/images/25112025/21/56/image_25112025_21_56_19_2742.jpg
/home/pi/Desktop/images/25112025/21/56/image_25112025_21_56_22_2868.jpg
/home/pi/Desktop/images/25112025/21/56/image_25112025_21_56_39_16593.jpg
/home/pi/Desktop/images/25112025/21/56/image_25112025_21_56_45_6030.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161486","1397161482","1397161488","1397161484","1397161478","1397161487"],"photo_ids_order":["1397161478","1397161482","1397161484","1397161486","1397161487","1397161488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d8b8cb87a6977b16c29bf4d52c62006a.jpg","text":"TemporaryFile(/tmp/multipartBody4958622322445651266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567633807,"filename":"image_25112025_21_56_22_2868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1733488853165b76cb6a5ce08f5de7bd.jpg","text":"TemporaryFile(/tmp/multipartBody8682230204087700486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567633807,"filename":"image_25112025_21_56_16_3398.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0b1f207f2fc0549a22d605763682aa75.jpg","text":"TemporaryFile(/tmp/multipartBody4851564541057795733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567633807,"filename":"image_25112025_21_56_45_6030.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/18ee0d5a1d48fcfcbbb98d4a13ad48ec.jpg","text":"TemporaryFile(/tmp/multipartBody4134663208933787371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567633807,"filename":"image_25112025_21_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/1/0c12379689039e559ee49b0a6583c784.jpg","text":"TemporaryFile(/tmp/multipartBody3583814836104667068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567633807,"filename":"image_25112025_21_56_10_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/1/1f3e4755585e17664c830bc4508fda67.jpg","text":"TemporaryFile(/tmp/multipartBody4396231743228013814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567633807,"filename":"image_25112025_21_56_39_16593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161484","file1":"1397161482","file0":"1397161478","file4":"1397161487","file5":"1397161488","file3":"1397161486"},"map_files_photo_id_array":[{"photo_id":"1397161488","filename":"file5"},{"photo_id":"1397161484","filename":"file2"},{"photo_id":"1397161487","filename":"file4"},{"photo_id":"1397161482","filename":"file1"},{"photo_id":"1397161478","filename":"file0"},{"photo_id":"1397161486","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397161486":["hashtag1","hashtag2"]},{"1397161482":["hashtag1","hashtag2"]},{"1397161488":["hashtag1","hashtag2"]},{"1397161484":["hashtag1","hashtag2"]},{"1397161478":["hashtag1","hashtag2"]},{"1397161487":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397161486, 1397161482, 1397161488, 1397161484, 1397161478, 1397161487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32657337188721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 06:40:12.213067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/56/image_25112025_21_56_48_2961.jpg', '/home/pi/Desktop/images/25112025/21/56/image_25112025_21_56_49_1652.jpg', '/home/pi/Desktop/images/25112025/21/56/image_25112025_21_56_51_1589.jpg', '/home/pi/Desktop/images/25112025/21/56/image_25112025_21_56_54_1523.jpg', '/home/pi/Desktop/images/25112025/21/56/image_25112025_21_56_56_1589.jpg', '/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_01_4843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/56/image_25112025_21_56_48_2961.jpg
/home/pi/Desktop/images/25112025/21/56/image_25112025_21_56_49_1652.jpg
/home/pi/Desktop/images/25112025/21/56/image_25112025_21_56_51_1589.jpg
/home/pi/Desktop/images/25112025/21/56/image_25112025_21_56_54_1523.jpg
/home/pi/Desktop/images/25112025/21/56/image_25112025_21_56_56_1589.jpg
/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_01_4843.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161522","1397161528","1397161515","1397161509","1397161524","1397161518"],"photo_ids_order":["1397161509","1397161515","1397161518","1397161522","1397161524","1397161528"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/79bcae8d4f298372ae728f5d532627a8.jpg","text":"TemporaryFile(/tmp/multipartBody7622381981902364984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567673839,"filename":"image_25112025_21_56_54_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/1/ff577f6544940694f549d9c356ae8386.jpg","text":"TemporaryFile(/tmp/multipartBody3200608258447514209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567673839,"filename":"image_25112025_21_57_01_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/1/bdd5523dda62f87e8e0abcf440bafee8.jpg","text":"TemporaryFile(/tmp/multipartBody1449660485675087055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567673839,"filename":"image_25112025_21_56_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/1/dc15fda2cb980544fd045fb9ebf94945.jpg","text":"TemporaryFile(/tmp/multipartBody6982675265765833948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567673839,"filename":"image_25112025_21_56_48_2961.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f531910c4e28bc5b46b49c0060a07c0d.jpg","text":"TemporaryFile(/tmp/multipartBody4203232794897428938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567673839,"filename":"image_25112025_21_56_56_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/1/f228cb13e865451eca615c8a2d74b215.jpg","text":"TemporaryFile(/tmp/multipartBody7533731306441311397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567673839,"filename":"image_25112025_21_56_51_1589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161518","file1":"1397161515","file0":"1397161509","file4":"1397161524","file5":"1397161528","file3":"1397161522"},"map_files_photo_id_array":[{"photo_id":"1397161528","filename":"file5"},{"photo_id":"1397161518","filename":"file2"},{"photo_id":"1397161524","filename":"file4"},{"photo_id":"1397161515","filename":"file1"},{"photo_id":"1397161509","filename":"file0"},{"photo_id":"1397161522","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397161522":["hashtag1","hashtag2"]},{"1397161528":["hashtag1","hashtag2"]},{"1397161515":["hashtag1","hashtag2"]},{"1397161509":["hashtag1","hashtag2"]},{"1397161524":["hashtag1","hashtag2"]},{"1397161518":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397161522, 1397161528, 1397161515, 1397161509, 1397161524, 1397161518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96832799911499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:41:03.152235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/38/image_01122025_06_38_54_9716.jpg', '/home/pi/Desktop/images/01122025/06/39/image_01122025_06_39_24_10735.jpg', '/home/pi/Desktop/images/01122025/06/39/image_01122025_06_39_44_9666.jpg', '/home/pi/Desktop/images/01122025/06/39/image_01122025_06_39_54_10536.jpg', '/home/pi/Desktop/images/01122025/06/39/image_01122025_06_40_04_9674.jpg', '/home/pi/Desktop/images/01122025/06/40/image_01122025_06_40_14_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/38/image_01122025_06_38_54_9716.jpg
/home/pi/Desktop/images/01122025/06/39/image_01122025_06_39_24_10735.jpg
/home/pi/Desktop/images/01122025/06/39/image_01122025_06_39_44_9666.jpg
/home/pi/Desktop/images/01122025/06/39/image_01122025_06_39_54_10536.jpg
/home/pi/Desktop/images/01122025/06/39/image_01122025_06_40_04_9674.jpg
/home/pi/Desktop/images/01122025/06/40/image_01122025_06_40_14_10615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161541","1397161535","1397161537","1397161539","1397161550","1397161544"],"photo_ids_order":["1397161535","1397161537","1397161539","1397161541","1397161544","1397161550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7ff5d13c382d1bef7b0b371b70e95ce8.jpg","text":"TemporaryFile(/tmp/multipartBody8641880449025012764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567723951,"filename":"image_01122025_06_39_54_10536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/328054e2051cbf40736708a7e56305b4.jpg","text":"TemporaryFile(/tmp/multipartBody3054949115918386051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567723951,"filename":"image_01122025_06_38_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/1/923eec10600ce766188e29b9199bad9c.jpg","text":"TemporaryFile(/tmp/multipartBody8041631966534912070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567723951,"filename":"image_01122025_06_39_24_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/aafa167f19d23e5ff1410a0b6c01c7e5.jpg","text":"TemporaryFile(/tmp/multipartBody4278641767741639056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567723951,"filename":"image_01122025_06_39_44_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/815966e127db8787391b36aee00bdd2a.jpg","text":"TemporaryFile(/tmp/multipartBody7022590544951283043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567723951,"filename":"image_01122025_06_40_14_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1f9e211205d2b0568191fdd684892439.jpg","text":"TemporaryFile(/tmp/multipartBody6645520985690459898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567723951,"filename":"image_01122025_06_40_04_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161539","file1":"1397161537","file0":"1397161535","file4":"1397161544","file5":"1397161550","file3":"1397161541"},"map_files_photo_id_array":[{"photo_id":"1397161550","filename":"file5"},{"photo_id":"1397161539","filename":"file2"},{"photo_id":"1397161544","filename":"file4"},{"photo_id":"1397161537","filename":"file1"},{"photo_id":"1397161535","filename":"file0"},{"photo_id":"1397161541","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397161541":["hashtag1","hashtag2"]},{"1397161535":["hashtag1","hashtag2"]},{"1397161537":["hashtag1","hashtag2"]},{"1397161539":["hashtag1","hashtag2"]},{"1397161550":["hashtag1","hashtag2"]},{"1397161544":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397161541, 1397161535, 1397161537, 1397161539, 1397161550, 1397161544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.218504667282104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 06:41:42.480457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/50/image_01112025_00_50_49_2577.jpg', '/home/pi/Desktop/images/01112025/00/50/image_01112025_00_50_52_2722.jpg', '/home/pi/Desktop/images/01112025/00/50/image_01112025_00_50_56_3724.jpg', '/home/pi/Desktop/images/01112025/00/50/image_01112025_00_50_58_2641.jpg', '/home/pi/Desktop/images/01112025/00/51/image_01112025_00_51_07_2719.jpg', '/home/pi/Desktop/images/01112025/00/51/image_01112025_00_51_10_2960.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/50/image_01112025_00_50_49_2577.jpg
/home/pi/Desktop/images/01112025/00/50/image_01112025_00_50_52_2722.jpg
/home/pi/Desktop/images/01112025/00/50/image_01112025_00_50_56_3724.jpg
/home/pi/Desktop/images/01112025/00/50/image_01112025_00_50_58_2641.jpg
/home/pi/Desktop/images/01112025/00/51/image_01112025_00_51_07_2719.jpg
/home/pi/Desktop/images/01112025/00/51/image_01112025_00_51_10_2960.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161561","1397161564","1397161563","1397161560","1397161562","1397161559"],"photo_ids_order":["1397161559","1397161560","1397161561","1397161562","1397161563","1397161564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/958f83a1108ce3f7b42bf520a635bb83.jpg","text":"TemporaryFile(/tmp/multipartBody1707051907823833499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567763364,"filename":"image_01112025_00_50_56_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/075ad55251fd20799d3daf7f689e51c4.jpg","text":"TemporaryFile(/tmp/multipartBody8064921736421513791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567763364,"filename":"image_01112025_00_51_10_2960.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ea6dc8886e533687aefdf3e9c5c34b36.jpg","text":"TemporaryFile(/tmp/multipartBody3548696986958951000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567763364,"filename":"image_01112025_00_51_07_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/1/6c878e64398be0a6d8146f1cf16b6e48.jpg","text":"TemporaryFile(/tmp/multipartBody1781515467770585795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567763364,"filename":"image_01112025_00_50_52_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/1/69709b67525bc4f00fb5d9de8e695104.jpg","text":"TemporaryFile(/tmp/multipartBody5076030145685587859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567763364,"filename":"image_01112025_00_50_58_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/045f3d45c8a9e486d5a5cd8d50731482.jpg","text":"TemporaryFile(/tmp/multipartBody6429335061700535374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567763364,"filename":"image_01112025_00_50_49_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161561","file1":"1397161560","file0":"1397161559","file4":"1397161563","file5":"1397161564","file3":"1397161562"},"map_files_photo_id_array":[{"photo_id":"1397161564","filename":"file5"},{"photo_id":"1397161561","filename":"file2"},{"photo_id":"1397161563","filename":"file4"},{"photo_id":"1397161560","filename":"file1"},{"photo_id":"1397161559","filename":"file0"},{"photo_id":"1397161562","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397161561":["hashtag1","hashtag2"]},{"1397161564":["hashtag1","hashtag2"]},{"1397161563":["hashtag1","hashtag2"]},{"1397161560":["hashtag1","hashtag2"]},{"1397161562":["hashtag1","hashtag2"]},{"1397161559":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397161561, 1397161564, 1397161563, 1397161560, 1397161562, 1397161559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.30797839164734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 06:42:22.609197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/40/image_01122025_06_40_34_9709.jpg', '/home/pi/Desktop/images/01122025/06/40/image_01122025_06_40_44_9752.jpg', '/home/pi/Desktop/images/01122025/06/40/image_01122025_06_40_54_10583.jpg', '/home/pi/Desktop/images/01122025/06/41/image_01122025_06_41_24_9630.jpg', '/home/pi/Desktop/images/01122025/06/41/image_01122025_06_41_34_9654.jpg', '/home/pi/Desktop/images/01122025/06/41/image_01122025_06_41_44_9825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/40/image_01122025_06_40_34_9709.jpg
/home/pi/Desktop/images/01122025/06/40/image_01122025_06_40_44_9752.jpg
/home/pi/Desktop/images/01122025/06/40/image_01122025_06_40_54_10583.jpg
/home/pi/Desktop/images/01122025/06/41/image_01122025_06_41_24_9630.jpg
/home/pi/Desktop/images/01122025/06/41/image_01122025_06_41_34_9654.jpg
/home/pi/Desktop/images/01122025/06/41/image_01122025_06_41_44_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":["1397161597","1397161601","1397161579","1397161582","1397161593","1397161577"],"photo_ids_order":["1397161577","1397161579","1397161582","1397161593","1397161597","1397161601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5c403fb71e6999263950f1370c796637.jpg","text":"TemporaryFile(/tmp/multipartBody7068563015974665978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567803304,"filename":"image_01122025_06_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/1/4ddd6fef318e7db035e0cdccbce82f9a.jpg","text":"TemporaryFile(/tmp/multipartBody6341040343301919789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567803304,"filename":"image_01122025_06_41_44_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f7dcf09492392995b7d45c1ec47e9a26.jpg","text":"TemporaryFile(/tmp/multipartBody434260282347280057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567803304,"filename":"image_01122025_06_40_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/1/1ef8ff4e00311c36f56c05b754ce9154.jpg","text":"TemporaryFile(/tmp/multipartBody4944212597545618266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567803304,"filename":"image_01122025_06_40_54_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a02f94c8de6b1c2ce8e9d3a320a7ea30.jpg","text":"TemporaryFile(/tmp/multipartBody2270226357006921738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567803304,"filename":"image_01122025_06_41_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/1/e1d076174ba7089fd04fda7555631a0b.jpg","text":"TemporaryFile(/tmp/multipartBody6123829725833834788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567803304,"filename":"image_01122025_06_40_34_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161582","file1":"1397161579","file0":"1397161577","file4":"1397161597","file5":"1397161601","file3":"1397161593"},"map_files_photo_id_array":[{"photo_id":"1397161601","filename":"file5"},{"photo_id":"1397161582","filename":"file2"},{"photo_id":"1397161597","filename":"file4"},{"photo_id":"1397161579","filename":"file1"},{"photo_id":"1397161577","filename":"file0"},{"photo_id":"1397161593","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397161597":["hashtag1","hashtag2"]},{"1397161601":["hashtag1","hashtag2"]},{"1397161579":["hashtag1","hashtag2"]},{"1397161582":["hashtag1","hashtag2"]},{"1397161593":["hashtag1","hashtag2"]},{"1397161577":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397161597, 1397161601, 1397161579, 1397161582, 1397161593, 1397161577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71713948249817 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:43:03.395579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 06:43:12.877468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_03_2617.jpg', '/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_05_1671.jpg', '/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_06_1532.jpg', '/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_08_1621.jpg', '/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_10_1809.jpg', '/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_37_27430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_03_2617.jpg
/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_05_1671.jpg
/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_06_1532.jpg
/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_08_1621.jpg
/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_10_1809.jpg
/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_37_27430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161622","1397161632","1397161626","1397161629","1397161614","1397161617"],"photo_ids_order":["1397161614","1397161617","1397161622","1397161626","1397161629","1397161632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/030ed32f6f2d57a3c4ebae0f724195f6.jpg","text":"TemporaryFile(/tmp/multipartBody5722976562298010901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567854775,"filename":"image_25112025_21_57_06_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/1/8c1fc5b6981df0495a7f67cd2c735b70.jpg","text":"TemporaryFile(/tmp/multipartBody1277110591362535611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567854775,"filename":"image_25112025_21_57_37_27430.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fc5b976382cb994174f17b881a7d21b6.jpg","text":"TemporaryFile(/tmp/multipartBody2708370668638437102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567854775,"filename":"image_25112025_21_57_08_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/1/a4c3d5b5348e3d5adca5d8ca11f5415b.jpg","text":"TemporaryFile(/tmp/multipartBody3013756460798126835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567854775,"filename":"image_25112025_21_57_10_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/1/f4a6a7cc48b7b5d391e07c44f17e7510.jpg","text":"TemporaryFile(/tmp/multipartBody1583102855302701118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567854775,"filename":"image_25112025_21_57_03_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/1/a0169cf49b2379cef1eb782b7421d8d4.jpg","text":"TemporaryFile(/tmp/multipartBody8317142573366714645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567854775,"filename":"image_25112025_21_57_05_1671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161622","file1":"1397161617","file0":"1397161614","file4":"1397161629","file5":"1397161632","file3":"1397161626"},"map_files_photo_id_array":[{"photo_id":"1397161632","filename":"file5"},{"photo_id":"1397161622","filename":"file2"},{"photo_id":"1397161629","filename":"file4"},{"photo_id":"1397161617","filename":"file1"},{"photo_id":"1397161614","filename":"file0"},{"photo_id":"1397161626","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397161622":["hashtag1","hashtag2"]},{"1397161632":["hashtag1","hashtag2"]},{"1397161626":["hashtag1","hashtag2"]},{"1397161629":["hashtag1","hashtag2"]},{"1397161614":["hashtag1","hashtag2"]},{"1397161617":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397161622, 1397161632, 1397161626, 1397161629, 1397161614, 1397161617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.179476261138916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:44:06.576531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 06:44:18.649944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_39_1510.jpg', '/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_40_1562.jpg', '/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_42_1856.jpg', '/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_44_1641.jpg', '/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_46_1667.jpg', '/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_47_1624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_39_1510.jpg
/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_40_1562.jpg
/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_42_1856.jpg
/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_44_1641.jpg
/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_46_1667.jpg
/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_47_1624.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.490354299545288 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
 val : 1 : upload photos already in processing! 
2025-12-01 06:44:41.532968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_39_1510.jpg', '/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_40_1562.jpg', '/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_42_1856.jpg', '/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_44_1641.jpg', '/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_46_1667.jpg', '/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_47_1624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_39_1510.jpg
/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_40_1562.jpg
/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_42_1856.jpg
/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_44_1641.jpg
/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_46_1667.jpg
/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_47_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":["1397161678","1397161672","1397161675","1397161674","1397161673","1397161670"],"photo_ids_order":["1397161670","1397161672","1397161673","1397161674","1397161675","1397161678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/632b6f31e95b7df09d5b6d36648b87f6.jpg","text":"TemporaryFile(/tmp/multipartBody3453911566580063831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567948770,"filename":"image_25112025_21_57_47_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/1/6f26185655d40d794adb6e1737a73d77.jpg","text":"TemporaryFile(/tmp/multipartBody3212991289749191879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567948770,"filename":"image_25112025_21_57_40_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/1/dd2c3c403d3a1450dee2f0babe480ebf.jpg","text":"TemporaryFile(/tmp/multipartBody1338822305410834806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567948770,"filename":"image_25112025_21_57_46_1667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/94b5d60a189bcda3ff19412bcdf9f4ea.jpg","text":"TemporaryFile(/tmp/multipartBody8444176873348356466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567948770,"filename":"image_25112025_21_57_44_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/35560ed2d13b463821939836914d0b02.jpg","text":"TemporaryFile(/tmp/multipartBody6318327983602979263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567948770,"filename":"image_25112025_21_57_42_1856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d1eaa546bc32ea278e89490b6873987d.jpg","text":"TemporaryFile(/tmp/multipartBody6625287142424780637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567948770,"filename":"image_25112025_21_57_39_1510.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161673","file1":"1397161672","file0":"1397161670","file4":"1397161675","file5":"1397161678","file3":"1397161674"},"map_files_photo_id_array":[{"photo_id":"1397161678","filename":"file5"},{"photo_id":"1397161673","filename":"file2"},{"photo_id":"1397161675","filename":"file4"},{"photo_id":"1397161672","filename":"file1"},{"photo_id":"1397161670","filename":"file0"},{"photo_id":"1397161674","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397161678":["hashtag1","hashtag2"]},{"1397161672":["hashtag1","hashtag2"]},{"1397161675":["hashtag1","hashtag2"]},{"1397161674":["hashtag1","hashtag2"]},{"1397161673":["hashtag1","hashtag2"]},{"1397161670":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397161678, 1397161672, 1397161675, 1397161674, 1397161673, 1397161670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.72849202156067 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 06:45:32.492650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_49_1621.jpg', '/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_50_1588.jpg', '/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_52_1489.jpg', '/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_54_1636.jpg', '/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_55_1553.jpg', '/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_57_1607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_49_1621.jpg
/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_50_1588.jpg
/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_52_1489.jpg
/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_54_1636.jpg
/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_55_1553.jpg
/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_57_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":["1397161700","1397161699","1397161690","1397161693","1397161701","1397161697"],"photo_ids_order":["1397161690","1397161693","1397161697","1397161699","1397161700","1397161701"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1a3bd86bdf1cd2fb366d69d2ab193923.jpg","text":"TemporaryFile(/tmp/multipartBody8636784228776909066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567994143,"filename":"image_25112025_21_57_55_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/1/bc656735bcf58bba925fa512805e347d.jpg","text":"TemporaryFile(/tmp/multipartBody5333110232781150675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567994143,"filename":"image_25112025_21_57_54_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/1/878fe63822889d19fee544b921b2f027.jpg","text":"TemporaryFile(/tmp/multipartBody4923216630660199374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567994143,"filename":"image_25112025_21_57_49_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/1/fc0074d2b98772ad132ac1365ed0f202.jpg","text":"TemporaryFile(/tmp/multipartBody7308164448475238978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567994143,"filename":"image_25112025_21_57_50_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/1/00271ae2d0fb3268cb60fda34cee7543.jpg","text":"TemporaryFile(/tmp/multipartBody4654341842610852051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567994143,"filename":"image_25112025_21_57_57_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/95796ee07ce87b359489721c04be6455.jpg","text":"TemporaryFile(/tmp/multipartBody429119058656874727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764567994143,"filename":"image_25112025_21_57_52_1489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161697","file1":"1397161693","file0":"1397161690","file4":"1397161700","file5":"1397161701","file3":"1397161699"},"map_files_photo_id_array":[{"photo_id":"1397161701","filename":"file5"},{"photo_id":"1397161697","filename":"file2"},{"photo_id":"1397161700","filename":"file4"},{"photo_id":"1397161693","filename":"file1"},{"photo_id":"1397161690","filename":"file0"},{"photo_id":"1397161699","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397161700":["hashtag1","hashtag2"]},{"1397161699":["hashtag1","hashtag2"]},{"1397161690":["hashtag1","hashtag2"]},{"1397161693":["hashtag1","hashtag2"]},{"1397161701":["hashtag1","hashtag2"]},{"1397161697":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397161700, 1397161699, 1397161690, 1397161693, 1397161701, 1397161697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78893327713013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 06:46:12.620949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_58_1652.jpg', '/home/pi/Desktop/images/25112025/21/57/image_25112025_21_58_00_2084.jpg', '/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_02_1673.jpg', '/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_04_1671.jpg', '/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_14_10524.jpg', '/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_16_1619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/57/image_25112025_21_57_58_1652.jpg
/home/pi/Desktop/images/25112025/21/57/image_25112025_21_58_00_2084.jpg
/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_02_1673.jpg
/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_04_1671.jpg
/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_14_10524.jpg
/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_16_1619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161724","1397161721","1397161715","1397161711","1397161707","1397161704"],"photo_ids_order":["1397161704","1397161707","1397161711","1397161715","1397161721","1397161724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/38b8ebf68b3af73414444f4418740b32.jpg","text":"TemporaryFile(/tmp/multipartBody8538881569725552075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568034258,"filename":"image_25112025_21_58_16_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/1/258dac57fb9311d3eebb44ac890bf4cf.jpg","text":"TemporaryFile(/tmp/multipartBody5596288872393386467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568034258,"filename":"image_25112025_21_58_14_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/1/ad698f1e1de7ce22af2d427fc8a58f65.jpg","text":"TemporaryFile(/tmp/multipartBody5945312768818619896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568034258,"filename":"image_25112025_21_58_04_1671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e4e4c73bc5f619c7e79d471f5ff9c6ab.jpg","text":"TemporaryFile(/tmp/multipartBody4351408355656848772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568034258,"filename":"image_25112025_21_58_02_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/1/c1cd3401012f2f26162b2c1aa7835b19.jpg","text":"TemporaryFile(/tmp/multipartBody3197020032622812299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568034258,"filename":"image_25112025_21_58_00_2084.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/da66a472171efb89b32c043f481534ef.jpg","text":"TemporaryFile(/tmp/multipartBody1924816344368738684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568034258,"filename":"image_25112025_21_57_58_1652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161711","file1":"1397161707","file0":"1397161704","file4":"1397161721","file5":"1397161724","file3":"1397161715"},"map_files_photo_id_array":[{"photo_id":"1397161724","filename":"file5"},{"photo_id":"1397161711","filename":"file2"},{"photo_id":"1397161721","filename":"file4"},{"photo_id":"1397161707","filename":"file1"},{"photo_id":"1397161704","filename":"file0"},{"photo_id":"1397161715","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397161724":["hashtag1","hashtag2"]},{"1397161721":["hashtag1","hashtag2"]},{"1397161715":["hashtag1","hashtag2"]},{"1397161711":["hashtag1","hashtag2"]},{"1397161707":["hashtag1","hashtag2"]},{"1397161704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397161724, 1397161721, 1397161715, 1397161711, 1397161707, 1397161704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.11758589744568 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:47:02.528272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/41/image_01122025_06_41_54_10662.jpg', '/home/pi/Desktop/images/01122025/06/41/image_01122025_06_42_04_9623.jpg', '/home/pi/Desktop/images/01122025/06/42/image_01122025_06_42_14_9793.jpg', '/home/pi/Desktop/images/01122025/06/42/image_01122025_06_42_24_10674.jpg', '/home/pi/Desktop/images/01122025/06/43/image_01122025_06_43_14_9808.jpg', '/home/pi/Desktop/images/01122025/06/43/image_01122025_06_43_24_10564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/41/image_01122025_06_41_54_10662.jpg
/home/pi/Desktop/images/01122025/06/41/image_01122025_06_42_04_9623.jpg
/home/pi/Desktop/images/01122025/06/42/image_01122025_06_42_14_9793.jpg
/home/pi/Desktop/images/01122025/06/42/image_01122025_06_42_24_10674.jpg
/home/pi/Desktop/images/01122025/06/43/image_01122025_06_43_14_9808.jpg
/home/pi/Desktop/images/01122025/06/43/image_01122025_06_43_24_10564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161733","1397161732","1397161738","1397161731","1397161734","1397161742"],"photo_ids_order":["1397161731","1397161732","1397161733","1397161734","1397161738","1397161742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/06161c74fbb18f1b6bc1e37dc67eb7bf.jpg","text":"TemporaryFile(/tmp/multipartBody5238951277117015615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568083309,"filename":"image_01122025_06_42_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/1/94e37b17aa0817b1d12aaedba11357f5.jpg","text":"TemporaryFile(/tmp/multipartBody3719453878592120523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568083309,"filename":"image_01122025_06_42_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/1/79b6804d7e917d8df4fff4cd1b290c1f.jpg","text":"TemporaryFile(/tmp/multipartBody6138699660720336300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568083309,"filename":"image_01122025_06_43_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/1/d7b8efefdc7d93990178dc6d1ec5114b.jpg","text":"TemporaryFile(/tmp/multipartBody1291427711821102803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568083309,"filename":"image_01122025_06_41_54_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e4e343ee48903ce1912b6eeeba4a989a.jpg","text":"TemporaryFile(/tmp/multipartBody3438890361070709282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568083309,"filename":"image_01122025_06_42_24_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b7aeb7f754a97209c41a8c311bae5d6d.jpg","text":"TemporaryFile(/tmp/multipartBody9131285585061074787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568083309,"filename":"image_01122025_06_43_24_10564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161733","file1":"1397161732","file0":"1397161731","file4":"1397161738","file5":"1397161742","file3":"1397161734"},"map_files_photo_id_array":[{"photo_id":"1397161742","filename":"file5"},{"photo_id":"1397161733","filename":"file2"},{"photo_id":"1397161738","filename":"file4"},{"photo_id":"1397161732","filename":"file1"},{"photo_id":"1397161731","filename":"file0"},{"photo_id":"1397161734","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397161733":["hashtag1","hashtag2"]},{"1397161732":["hashtag1","hashtag2"]},{"1397161738":["hashtag1","hashtag2"]},{"1397161731":["hashtag1","hashtag2"]},{"1397161734":["hashtag1","hashtag2"]},{"1397161742":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397161733, 1397161732, 1397161738, 1397161731, 1397161734, 1397161742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68336248397827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 06:47:41.895832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/51/image_01112025_00_51_13_2690.jpg', '/home/pi/Desktop/images/01112025/00/51/image_01112025_00_51_17_3701.jpg', '/home/pi/Desktop/images/01112025/00/51/image_01112025_00_51_20_2855.jpg', '/home/pi/Desktop/images/01112025/00/51/image_01112025_00_51_22_2534.jpg', '/home/pi/Desktop/images/01112025/00/51/image_01112025_00_51_28_2648.jpg', '/home/pi/Desktop/images/01112025/00/51/image_01112025_00_51_31_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/51/image_01112025_00_51_13_2690.jpg
/home/pi/Desktop/images/01112025/00/51/image_01112025_00_51_17_3701.jpg
/home/pi/Desktop/images/01112025/00/51/image_01112025_00_51_20_2855.jpg
/home/pi/Desktop/images/01112025/00/51/image_01112025_00_51_22_2534.jpg
/home/pi/Desktop/images/01112025/00/51/image_01112025_00_51_28_2648.jpg
/home/pi/Desktop/images/01112025/00/51/image_01112025_00_51_31_2691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161756","1397161761","1397161752","1397161755","1397161754","1397161757"],"photo_ids_order":["1397161752","1397161754","1397161755","1397161756","1397161757","1397161761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f1e6297d2a81c8fa4a4e3fdaca6af141.jpg","text":"TemporaryFile(/tmp/multipartBody6516583403222462812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568122813,"filename":"image_01112025_00_51_22_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/1/ff3671b8c9d3091db137216ce16114c5.jpg","text":"TemporaryFile(/tmp/multipartBody8909122521603992850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568122813,"filename":"image_01112025_00_51_31_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ad4857644df78937ff31f2aaa43b5c4c.jpg","text":"TemporaryFile(/tmp/multipartBody8211951414501636086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568122813,"filename":"image_01112025_00_51_13_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/1/c1a11e828dbe17597daf66b6a7f5bee6.jpg","text":"TemporaryFile(/tmp/multipartBody2028043099898228848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568122813,"filename":"image_01112025_00_51_20_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/664fb86349f64acafc6a3e9522858aee.jpg","text":"TemporaryFile(/tmp/multipartBody3405062156639294233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568122813,"filename":"image_01112025_00_51_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/1/81423b4847c0cefb13691622d23659cc.jpg","text":"TemporaryFile(/tmp/multipartBody2591417808248237134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568122813,"filename":"image_01112025_00_51_28_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161755","file1":"1397161754","file0":"1397161752","file4":"1397161757","file5":"1397161761","file3":"1397161756"},"map_files_photo_id_array":[{"photo_id":"1397161761","filename":"file5"},{"photo_id":"1397161755","filename":"file2"},{"photo_id":"1397161757","filename":"file4"},{"photo_id":"1397161754","filename":"file1"},{"photo_id":"1397161752","filename":"file0"},{"photo_id":"1397161756","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397161756":["hashtag1","hashtag2"]},{"1397161761":["hashtag1","hashtag2"]},{"1397161752":["hashtag1","hashtag2"]},{"1397161755":["hashtag1","hashtag2"]},{"1397161754":["hashtag1","hashtag2"]},{"1397161757":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397161756, 1397161761, 1397161752, 1397161755, 1397161754, 1397161757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.480491161346436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 06:48:22.038559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/43/image_01122025_06_43_34_9614.jpg', '/home/pi/Desktop/images/01122025/06/43/image_01122025_06_43_44_9589.jpg', '/home/pi/Desktop/images/01122025/06/43/image_01122025_06_43_54_10793.jpg', '/home/pi/Desktop/images/01122025/06/44/image_01122025_06_44_14_10017.jpg', '/home/pi/Desktop/images/01122025/06/44/image_01122025_06_44_24_9709.jpg', '/home/pi/Desktop/images/01122025/06/44/image_01122025_06_44_33_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/43/image_01122025_06_43_34_9614.jpg
/home/pi/Desktop/images/01122025/06/43/image_01122025_06_43_44_9589.jpg
/home/pi/Desktop/images/01122025/06/43/image_01122025_06_43_54_10793.jpg
/home/pi/Desktop/images/01122025/06/44/image_01122025_06_44_14_10017.jpg
/home/pi/Desktop/images/01122025/06/44/image_01122025_06_44_24_9709.jpg
/home/pi/Desktop/images/01122025/06/44/image_01122025_06_44_33_9735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161802","1397161795","1397161792","1397161788","1397161782","1397161799"],"photo_ids_order":["1397161782","1397161788","1397161792","1397161795","1397161799","1397161802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f50c756baccc7b6d6d9289cf1699d874.jpg","text":"TemporaryFile(/tmp/multipartBody4158032048990293445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568162781,"filename":"image_01122025_06_44_33_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/1/96c8d192837c8ccc667d739738643968.jpg","text":"TemporaryFile(/tmp/multipartBody2222089719816070376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568162781,"filename":"image_01122025_06_44_14_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/1/f8e5e750638347c608b68407e7560456.jpg","text":"TemporaryFile(/tmp/multipartBody2721575978436596689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568162781,"filename":"image_01122025_06_43_54_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/1/8fa02a447df0d09859e456baa9595c11.jpg","text":"TemporaryFile(/tmp/multipartBody8965143989270319710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568162781,"filename":"image_01122025_06_43_44_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/1/77bb3c567b16c5d55327628fbe30fdf0.jpg","text":"TemporaryFile(/tmp/multipartBody3634028555017707348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568162781,"filename":"image_01122025_06_43_34_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3a4bab729c3ac52d3c7b8bc918437baf.jpg","text":"TemporaryFile(/tmp/multipartBody4979685919558949383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568162781,"filename":"image_01122025_06_44_24_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161792","file1":"1397161788","file0":"1397161782","file4":"1397161799","file5":"1397161802","file3":"1397161795"},"map_files_photo_id_array":[{"photo_id":"1397161802","filename":"file5"},{"photo_id":"1397161792","filename":"file2"},{"photo_id":"1397161799","filename":"file4"},{"photo_id":"1397161788","filename":"file1"},{"photo_id":"1397161782","filename":"file0"},{"photo_id":"1397161795","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397161802":["hashtag1","hashtag2"]},{"1397161795":["hashtag1","hashtag2"]},{"1397161792":["hashtag1","hashtag2"]},{"1397161788":["hashtag1","hashtag2"]},{"1397161782":["hashtag1","hashtag2"]},{"1397161799":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397161802, 1397161795, 1397161792, 1397161788, 1397161782, 1397161799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.425171852111816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:49:03.098797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/44/image_01122025_06_44_44_10467.jpg', '/home/pi/Desktop/images/01122025/06/44/image_01122025_06_44_54_9668.jpg', '/home/pi/Desktop/images/01122025/06/45/image_01122025_06_45_14_9654.jpg', '/home/pi/Desktop/images/01122025/06/45/image_01122025_06_45_54_9619.jpg', '/home/pi/Desktop/images/01122025/06/45/image_01122025_06_46_03_9654.jpg', '/home/pi/Desktop/images/01122025/06/46/image_01122025_06_46_14_10790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/44/image_01122025_06_44_44_10467.jpg
/home/pi/Desktop/images/01122025/06/44/image_01122025_06_44_54_9668.jpg
/home/pi/Desktop/images/01122025/06/45/image_01122025_06_45_14_9654.jpg
/home/pi/Desktop/images/01122025/06/45/image_01122025_06_45_54_9619.jpg
/home/pi/Desktop/images/01122025/06/45/image_01122025_06_46_03_9654.jpg
/home/pi/Desktop/images/01122025/06/46/image_01122025_06_46_14_10790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161805","1397161808","1397161807","1397161812","1397161815","1397161803"],"photo_ids_order":["1397161803","1397161805","1397161807","1397161808","1397161812","1397161815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2bedb3f672f2944adef30e4729d6aa61.jpg","text":"TemporaryFile(/tmp/multipartBody3908367409239899197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568203952,"filename":"image_01122025_06_44_54_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5306b5163ccd3b0868e502900354fdb2.jpg","text":"TemporaryFile(/tmp/multipartBody3124035165629190645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568203952,"filename":"image_01122025_06_45_54_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0e66743e93dc8d27fe1eea3b66ed6dc7.jpg","text":"TemporaryFile(/tmp/multipartBody6088702270676960471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568203952,"filename":"image_01122025_06_45_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/1/54a61bbb7cc42bb258aa69e5ee7949b6.jpg","text":"TemporaryFile(/tmp/multipartBody3925937985111946482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568203952,"filename":"image_01122025_06_46_03_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/1/5e9fe5f20d836d129dde7dbf177e42a8.jpg","text":"TemporaryFile(/tmp/multipartBody7163569601888500026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568203952,"filename":"image_01122025_06_46_14_10790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ea09ba647f7f9a9ffbeef78afd41f689.jpg","text":"TemporaryFile(/tmp/multipartBody1605822213016551407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568203952,"filename":"image_01122025_06_44_44_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161807","file1":"1397161805","file0":"1397161803","file4":"1397161812","file5":"1397161815","file3":"1397161808"},"map_files_photo_id_array":[{"photo_id":"1397161815","filename":"file5"},{"photo_id":"1397161807","filename":"file2"},{"photo_id":"1397161812","filename":"file4"},{"photo_id":"1397161805","filename":"file1"},{"photo_id":"1397161803","filename":"file0"},{"photo_id":"1397161808","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397161805":["hashtag1","hashtag2"]},{"1397161808":["hashtag1","hashtag2"]},{"1397161807":["hashtag1","hashtag2"]},{"1397161812":["hashtag1","hashtag2"]},{"1397161815":["hashtag1","hashtag2"]},{"1397161803":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397161805, 1397161808, 1397161807, 1397161812, 1397161815, 1397161803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58011746406555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 06:49:42.447946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/51/image_01112025_00_51_37_2596.jpg', '/home/pi/Desktop/images/01112025/00/51/image_01112025_00_51_40_2695.jpg', '/home/pi/Desktop/images/01112025/00/51/image_01112025_00_51_44_3599.jpg', '/home/pi/Desktop/images/01112025/00/51/image_01112025_00_51_46_2649.jpg', '/home/pi/Desktop/images/01112025/00/51/image_01112025_00_51_49_2742.jpg', '/home/pi/Desktop/images/01112025/00/52/image_01112025_00_52_02_3686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/51/image_01112025_00_51_37_2596.jpg
/home/pi/Desktop/images/01112025/00/51/image_01112025_00_51_40_2695.jpg
/home/pi/Desktop/images/01112025/00/51/image_01112025_00_51_44_3599.jpg
/home/pi/Desktop/images/01112025/00/51/image_01112025_00_51_46_2649.jpg
/home/pi/Desktop/images/01112025/00/51/image_01112025_00_51_49_2742.jpg
/home/pi/Desktop/images/01112025/00/52/image_01112025_00_52_02_3686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161831","1397161828","1397161825","1397161830","1397161827","1397161829"],"photo_ids_order":["1397161825","1397161827","1397161828","1397161829","1397161830","1397161831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/096de3075499b9fccc35a4a8eb40809f.jpg","text":"TemporaryFile(/tmp/multipartBody5606125464262718858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568243332,"filename":"image_01112025_00_52_02_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c7d45e672ca32b45c841ad82f9c4225b.jpg","text":"TemporaryFile(/tmp/multipartBody2505998468399902876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568243332,"filename":"image_01112025_00_51_44_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4eedf3a48dd582176ef61264d4c2cc50.jpg","text":"TemporaryFile(/tmp/multipartBody2527981847196372383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568243332,"filename":"image_01112025_00_51_37_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/1/1c08b1a3330f8204a9eed1bcd8250ddc.jpg","text":"TemporaryFile(/tmp/multipartBody3828094097146654046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568243332,"filename":"image_01112025_00_51_49_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/1/f31ca2f79972afa06e459bfb6d211c8b.jpg","text":"TemporaryFile(/tmp/multipartBody727719687779586978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568243332,"filename":"image_01112025_00_51_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/1/da3c35389571c2175e56a088f0de5652.jpg","text":"TemporaryFile(/tmp/multipartBody7755414328447169646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568243332,"filename":"image_01112025_00_51_46_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161828","file1":"1397161827","file0":"1397161825","file4":"1397161830","file5":"1397161831","file3":"1397161829"},"map_files_photo_id_array":[{"photo_id":"1397161831","filename":"file5"},{"photo_id":"1397161828","filename":"file2"},{"photo_id":"1397161830","filename":"file4"},{"photo_id":"1397161827","filename":"file1"},{"photo_id":"1397161825","filename":"file0"},{"photo_id":"1397161829","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397161831":["hashtag1","hashtag2"]},{"1397161828":["hashtag1","hashtag2"]},{"1397161825":["hashtag1","hashtag2"]},{"1397161830":["hashtag1","hashtag2"]},{"1397161827":["hashtag1","hashtag2"]},{"1397161829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397161831, 1397161828, 1397161825, 1397161830, 1397161827, 1397161829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19721555709839 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 06:50:22.636509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/46/image_01122025_06_46_24_9691.jpg', '/home/pi/Desktop/images/01122025/06/46/image_01122025_06_46_34_9828.jpg', '/home/pi/Desktop/images/01122025/06/46/image_01122025_06_46_43_9668.jpg', '/home/pi/Desktop/images/01122025/06/46/image_01122025_06_46_54_10663.jpg', '/home/pi/Desktop/images/01122025/06/46/image_01122025_06_47_04_9704.jpg', '/home/pi/Desktop/images/01122025/06/47/image_01122025_06_47_14_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/46/image_01122025_06_46_24_9691.jpg
/home/pi/Desktop/images/01122025/06/46/image_01122025_06_46_34_9828.jpg
/home/pi/Desktop/images/01122025/06/46/image_01122025_06_46_43_9668.jpg
/home/pi/Desktop/images/01122025/06/46/image_01122025_06_46_54_10663.jpg
/home/pi/Desktop/images/01122025/06/46/image_01122025_06_47_04_9704.jpg
/home/pi/Desktop/images/01122025/06/47/image_01122025_06_47_14_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":["1397161850","1397161846","1397161842","1397161839","1397161853","1397161856"],"photo_ids_order":["1397161839","1397161842","1397161846","1397161850","1397161853","1397161856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/02301f72a3e93087759c0f100fde1619.jpg","text":"TemporaryFile(/tmp/multipartBody7902270112097881457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568283398,"filename":"image_01122025_06_46_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/1/b1fe9fcd973b44c31a15011347403a03.jpg","text":"TemporaryFile(/tmp/multipartBody4593220497278121632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568283398,"filename":"image_01122025_06_46_43_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/1/1a7f04b84493ec670955614402f21f4a.jpg","text":"TemporaryFile(/tmp/multipartBody5093854771582727388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568283398,"filename":"image_01122025_06_46_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/1/3f97f336b3f0d4d147875827436ac958.jpg","text":"TemporaryFile(/tmp/multipartBody7022764647795252610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568283398,"filename":"image_01122025_06_46_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/1/0f590acd50b9551e38a99eb7ce984dc7.jpg","text":"TemporaryFile(/tmp/multipartBody7531972003326089499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568283398,"filename":"image_01122025_06_47_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/1/8f654e30bea1b7a15f848025c750a8d5.jpg","text":"TemporaryFile(/tmp/multipartBody4621280112225738002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568283398,"filename":"image_01122025_06_47_14_9815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161846","file1":"1397161842","file0":"1397161839","file4":"1397161853","file5":"1397161856","file3":"1397161850"},"map_files_photo_id_array":[{"photo_id":"1397161856","filename":"file5"},{"photo_id":"1397161846","filename":"file2"},{"photo_id":"1397161853","filename":"file4"},{"photo_id":"1397161842","filename":"file1"},{"photo_id":"1397161839","filename":"file0"},{"photo_id":"1397161850","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397161850":["hashtag1","hashtag2"]},{"1397161846":["hashtag1","hashtag2"]},{"1397161842":["hashtag1","hashtag2"]},{"1397161839":["hashtag1","hashtag2"]},{"1397161853":["hashtag1","hashtag2"]},{"1397161856":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397161850, 1397161846, 1397161842, 1397161839, 1397161853, 1397161856)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.65248894691467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 06:51:12.787570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_20_4275.jpg', '/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_23_1579.jpg', '/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_25_1725.jpg', '/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_27_1575.jpg', '/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_30_1701.jpg', '/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_32_1527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_20_4275.jpg
/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_23_1579.jpg
/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_25_1725.jpg
/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_27_1575.jpg
/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_30_1701.jpg
/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_32_1527.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161860","1397161863","1397161866","1397161871","1397161874","1397161868"],"photo_ids_order":["1397161860","1397161863","1397161866","1397161868","1397161871","1397161874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a6d3c953217544bcde0c4eb84146c92b.jpg","text":"TemporaryFile(/tmp/multipartBody5528176633527224562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568334514,"filename":"image_25112025_21_58_20_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/1/da1b68cd08ea0a7dd74a6cd2bd47a9be.jpg","text":"TemporaryFile(/tmp/multipartBody986638414271597039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568334514,"filename":"image_25112025_21_58_23_1579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a3ffa7852abe18e55acd5e14a50065a2.jpg","text":"TemporaryFile(/tmp/multipartBody429796078577570028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568334514,"filename":"image_25112025_21_58_25_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/1/5e9c2a46aa23d008008272ffd70966b3.jpg","text":"TemporaryFile(/tmp/multipartBody2123101003073383031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568334514,"filename":"image_25112025_21_58_30_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/1/320f98c476fef03c59db11b471b2a7a8.jpg","text":"TemporaryFile(/tmp/multipartBody7349433646171356293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568334514,"filename":"image_25112025_21_58_32_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/1/45d2cf4a9e6444c7258f7d1165f4e45d.jpg","text":"TemporaryFile(/tmp/multipartBody8700247697277351051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568334514,"filename":"image_25112025_21_58_27_1575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161866","file1":"1397161863","file0":"1397161860","file4":"1397161871","file5":"1397161874","file3":"1397161868"},"map_files_photo_id_array":[{"photo_id":"1397161874","filename":"file5"},{"photo_id":"1397161866","filename":"file2"},{"photo_id":"1397161871","filename":"file4"},{"photo_id":"1397161863","filename":"file1"},{"photo_id":"1397161860","filename":"file0"},{"photo_id":"1397161868","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397161860":["hashtag1","hashtag2"]},{"1397161863":["hashtag1","hashtag2"]},{"1397161866":["hashtag1","hashtag2"]},{"1397161871":["hashtag1","hashtag2"]},{"1397161874":["hashtag1","hashtag2"]},{"1397161868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397161860, 1397161863, 1397161866, 1397161871, 1397161874, 1397161868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.61965346336365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:52:04.613356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/48/image_01122025_06_48_14_9734.jpg', '/home/pi/Desktop/images/01122025/06/48/image_01122025_06_48_34_10685.jpg', '/home/pi/Desktop/images/01122025/06/48/image_01122025_06_48_44_9695.jpg', '/home/pi/Desktop/images/01122025/06/48/image_01122025_06_48_54_9693.jpg', '/home/pi/Desktop/images/01122025/06/48/image_01122025_06_49_04_9760.jpg', '/home/pi/Desktop/images/01122025/06/49/image_01122025_06_49_34_9879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/48/image_01122025_06_48_14_9734.jpg
/home/pi/Desktop/images/01122025/06/48/image_01122025_06_48_34_10685.jpg
/home/pi/Desktop/images/01122025/06/48/image_01122025_06_48_44_9695.jpg
/home/pi/Desktop/images/01122025/06/48/image_01122025_06_48_54_9693.jpg
/home/pi/Desktop/images/01122025/06/48/image_01122025_06_49_04_9760.jpg
/home/pi/Desktop/images/01122025/06/49/image_01122025_06_49_34_9879.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161907","1397161891","1397161899","1397161903","1397161893","1397161895"],"photo_ids_order":["1397161891","1397161893","1397161895","1397161899","1397161903","1397161907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f74f957da7c3d60da64b5f49b9e9eff2.jpg","text":"TemporaryFile(/tmp/multipartBody8361023950185758561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568387928,"filename":"image_01122025_06_49_34_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/1/7755528b38c5703ba0f89e3b53951851.jpg","text":"TemporaryFile(/tmp/multipartBody5546903064569904740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568387928,"filename":"image_01122025_06_48_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/1/860ac89b902d373652355c6b2d76b083.jpg","text":"TemporaryFile(/tmp/multipartBody8915707877150396891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568387928,"filename":"image_01122025_06_48_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/1/1c17f1044b611e9afda940ebb40455d4.jpg","text":"TemporaryFile(/tmp/multipartBody4329868845760564583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568387928,"filename":"image_01122025_06_49_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/1/7894032667273bc3a06a7789c1fa457b.jpg","text":"TemporaryFile(/tmp/multipartBody3191448789453189699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568387928,"filename":"image_01122025_06_48_34_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/1/f24c0249a342179d45c0409f96aba32d.jpg","text":"TemporaryFile(/tmp/multipartBody353617754078984442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568387928,"filename":"image_01122025_06_48_44_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161895","file1":"1397161893","file0":"1397161891","file4":"1397161903","file5":"1397161907","file3":"1397161899"},"map_files_photo_id_array":[{"photo_id":"1397161907","filename":"file5"},{"photo_id":"1397161895","filename":"file2"},{"photo_id":"1397161903","filename":"file4"},{"photo_id":"1397161893","filename":"file1"},{"photo_id":"1397161891","filename":"file0"},{"photo_id":"1397161899","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397161907":["hashtag1","hashtag2"]},{"1397161891":["hashtag1","hashtag2"]},{"1397161899":["hashtag1","hashtag2"]},{"1397161903":["hashtag1","hashtag2"]},{"1397161893":["hashtag1","hashtag2"]},{"1397161895":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397161907, 1397161891, 1397161899, 1397161903, 1397161893, 1397161895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.22319722175598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:53:02.903042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 06:53:12.441001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_33_1777.jpg', '/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_35_1522.jpg', '/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_37_1663.jpg', '/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_46_9668.jpg', '/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_48_1756.jpg', '/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_50_1556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_33_1777.jpg
/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_35_1522.jpg
/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_37_1663.jpg
/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_46_9668.jpg
/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_48_1756.jpg
/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_50_1556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161941","1397161935","1397161938","1397161917","1397161932","1397161920"],"photo_ids_order":["1397161917","1397161920","1397161932","1397161935","1397161938","1397161941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4e9dc8892f34393429f352507687413c.jpg","text":"TemporaryFile(/tmp/multipartBody6358013761629577210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568454194,"filename":"image_25112025_21_58_50_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/1/09a27c6497548a93d681a5e4b43daf2a.jpg","text":"TemporaryFile(/tmp/multipartBody5327315342124939628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568454194,"filename":"image_25112025_21_58_46_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/719ec876c0f394f0297d7d6f0a88ac3e.jpg","text":"TemporaryFile(/tmp/multipartBody6358830947715871923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568454194,"filename":"image_25112025_21_58_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/1/caf09902bddddef6094b0e8d89d537d7.jpg","text":"TemporaryFile(/tmp/multipartBody579252733416610354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568454194,"filename":"image_25112025_21_58_33_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/1/52b65e21e86409be84e60f25540ef4de.jpg","text":"TemporaryFile(/tmp/multipartBody5611701030869872989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568454194,"filename":"image_25112025_21_58_37_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/1/70a2e48b6ae98f514e5a9ea5d748b7bd.jpg","text":"TemporaryFile(/tmp/multipartBody2737552127403386938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568454194,"filename":"image_25112025_21_58_35_1522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161932","file1":"1397161920","file0":"1397161917","file4":"1397161938","file5":"1397161941","file3":"1397161935"},"map_files_photo_id_array":[{"photo_id":"1397161941","filename":"file5"},{"photo_id":"1397161932","filename":"file2"},{"photo_id":"1397161938","filename":"file4"},{"photo_id":"1397161920","filename":"file1"},{"photo_id":"1397161917","filename":"file0"},{"photo_id":"1397161935","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397161941":["hashtag1","hashtag2"]},{"1397161935":["hashtag1","hashtag2"]},{"1397161938":["hashtag1","hashtag2"]},{"1397161917":["hashtag1","hashtag2"]},{"1397161932":["hashtag1","hashtag2"]},{"1397161920":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397161941, 1397161935, 1397161938, 1397161917, 1397161932, 1397161920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.591402530670166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:54:02.741625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/49/image_01122025_06_50_04_9776.jpg', '/home/pi/Desktop/images/01122025/06/50/image_01122025_06_50_34_9698.jpg', '/home/pi/Desktop/images/01122025/06/51/image_01122025_06_51_33_9609.jpg', '/home/pi/Desktop/images/01122025/06/51/image_01122025_06_51_44_10588.jpg', '/home/pi/Desktop/images/01122025/06/51/image_01122025_06_51_54_9614.jpg', '/home/pi/Desktop/images/01122025/06/52/image_01122025_06_52_14_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/49/image_01122025_06_50_04_9776.jpg
/home/pi/Desktop/images/01122025/06/50/image_01122025_06_50_34_9698.jpg
/home/pi/Desktop/images/01122025/06/51/image_01122025_06_51_33_9609.jpg
/home/pi/Desktop/images/01122025/06/51/image_01122025_06_51_44_10588.jpg
/home/pi/Desktop/images/01122025/06/51/image_01122025_06_51_54_9614.jpg
/home/pi/Desktop/images/01122025/06/52/image_01122025_06_52_14_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397161958","1397161948","1397161953","1397161950","1397161946","1397161961"],"photo_ids_order":["1397161946","1397161948","1397161950","1397161953","1397161958","1397161961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e94c24501578d1bd201e7a68e824ee35.jpg","text":"TemporaryFile(/tmp/multipartBody5399957698257442693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568506134,"filename":"image_01122025_06_51_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/1/86de7f3b51bcd7dde5e6be70c386ae2f.jpg","text":"TemporaryFile(/tmp/multipartBody683660999501044573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568506134,"filename":"image_01122025_06_50_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/1/d6c1ea233c43a4acae4f37324e55810d.jpg","text":"TemporaryFile(/tmp/multipartBody8077241262977039932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568506134,"filename":"image_01122025_06_51_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/1/ec9540cb26aa7288919170ded141a419.jpg","text":"TemporaryFile(/tmp/multipartBody4043922625042940647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568506134,"filename":"image_01122025_06_51_33_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/1/1c0111abe9e95d8c59ef48098a9f25a0.jpg","text":"TemporaryFile(/tmp/multipartBody9160578150789201421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568506134,"filename":"image_01122025_06_50_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/1/169437fc04921055e91567ff27681498.jpg","text":"TemporaryFile(/tmp/multipartBody2374232350757834119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568506134,"filename":"image_01122025_06_52_14_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161950","file1":"1397161948","file0":"1397161946","file4":"1397161958","file5":"1397161961","file3":"1397161953"},"map_files_photo_id_array":[{"photo_id":"1397161961","filename":"file5"},{"photo_id":"1397161950","filename":"file2"},{"photo_id":"1397161958","filename":"file4"},{"photo_id":"1397161948","filename":"file1"},{"photo_id":"1397161946","filename":"file0"},{"photo_id":"1397161953","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397161958":["hashtag1","hashtag2"]},{"1397161948":["hashtag1","hashtag2"]},{"1397161953":["hashtag1","hashtag2"]},{"1397161950":["hashtag1","hashtag2"]},{"1397161946":["hashtag1","hashtag2"]},{"1397161961":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397161958, 1397161948, 1397161953, 1397161950, 1397161946, 1397161961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.97551870346069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:55:03.068855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/52/image_01122025_06_52_44_9671.jpg', '/home/pi/Desktop/images/01122025/06/52/image_01122025_06_52_54_9698.jpg', '/home/pi/Desktop/images/01122025/06/52/image_01122025_06_53_04_10810.jpg', '/home/pi/Desktop/images/01122025/06/53/image_01122025_06_53_14_9672.jpg', '/home/pi/Desktop/images/01122025/06/53/image_01122025_06_53_24_9656.jpg', '/home/pi/Desktop/images/01122025/06/53/image_01122025_06_53_33_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/52/image_01122025_06_52_44_9671.jpg
/home/pi/Desktop/images/01122025/06/52/image_01122025_06_52_54_9698.jpg
/home/pi/Desktop/images/01122025/06/52/image_01122025_06_53_04_10810.jpg
/home/pi/Desktop/images/01122025/06/53/image_01122025_06_53_14_9672.jpg
/home/pi/Desktop/images/01122025/06/53/image_01122025_06_53_24_9656.jpg
/home/pi/Desktop/images/01122025/06/53/image_01122025_06_53_33_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":["1397161996","1397162005","1397161992","1397162001","1397161979","1397161994"],"photo_ids_order":["1397161979","1397161992","1397161994","1397161996","1397162001","1397162005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4f727a0264f48efe1debcd236b954e13.jpg","text":"TemporaryFile(/tmp/multipartBody5715473373848915618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568563840,"filename":"image_01122025_06_53_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/1/9f2f958bcd6735443fb30f10f6d00689.jpg","text":"TemporaryFile(/tmp/multipartBody761044570145668242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568563840,"filename":"image_01122025_06_53_33_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/1/971ab1f9b5d8d0aa1a364437efff05d2.jpg","text":"TemporaryFile(/tmp/multipartBody708139969911488776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568563840,"filename":"image_01122025_06_52_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/1/e2fe9fdcc47762581c619ceb4e3d0322.jpg","text":"TemporaryFile(/tmp/multipartBody7385719785224413646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568563840,"filename":"image_01122025_06_53_24_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/feb1addce1da5213fed53a284a273fb8.jpg","text":"TemporaryFile(/tmp/multipartBody5118314241733593560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568563840,"filename":"image_01122025_06_52_44_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/86338d987c460d9bf1156717171dcde4.jpg","text":"TemporaryFile(/tmp/multipartBody3507764408967733785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568563840,"filename":"image_01122025_06_53_04_10810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397161994","file1":"1397161992","file0":"1397161979","file4":"1397162001","file5":"1397162005","file3":"1397161996"},"map_files_photo_id_array":[{"photo_id":"1397162005","filename":"file5"},{"photo_id":"1397161994","filename":"file2"},{"photo_id":"1397162001","filename":"file4"},{"photo_id":"1397161992","filename":"file1"},{"photo_id":"1397161979","filename":"file0"},{"photo_id":"1397161996","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397161996":["hashtag1","hashtag2"]},{"1397162005":["hashtag1","hashtag2"]},{"1397161992":["hashtag1","hashtag2"]},{"1397162001":["hashtag1","hashtag2"]},{"1397161979":["hashtag1","hashtag2"]},{"1397161994":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397161996, 1397162005, 1397161992, 1397162001, 1397161979, 1397161994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56734538078308 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 06:55:42.332758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/52/image_01112025_00_52_07_2715.jpg', '/home/pi/Desktop/images/01112025/00/52/image_01112025_00_52_11_3625.jpg', '/home/pi/Desktop/images/01112025/00/52/image_01112025_00_52_16_2628.jpg', '/home/pi/Desktop/images/01112025/00/52/image_01112025_00_52_19_2810.jpg', '/home/pi/Desktop/images/01112025/00/52/image_01112025_00_52_22_3638.jpg', '/home/pi/Desktop/images/01112025/00/52/image_01112025_00_52_37_2806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/52/image_01112025_00_52_07_2715.jpg
/home/pi/Desktop/images/01112025/00/52/image_01112025_00_52_11_3625.jpg
/home/pi/Desktop/images/01112025/00/52/image_01112025_00_52_16_2628.jpg
/home/pi/Desktop/images/01112025/00/52/image_01112025_00_52_19_2810.jpg
/home/pi/Desktop/images/01112025/00/52/image_01112025_00_52_22_3638.jpg
/home/pi/Desktop/images/01112025/00/52/image_01112025_00_52_37_2806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397162026","1397162020","1397162022","1397162015","1397162024","1397162018"],"photo_ids_order":["1397162015","1397162018","1397162020","1397162022","1397162024","1397162026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/490c7d62db3ebca89c2e6f4ddf2fc1e6.jpg","text":"TemporaryFile(/tmp/multipartBody3889402087834831416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568603253,"filename":"image_01112025_00_52_37_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/1/0370c03546ee8716d580ef16e000f4e4.jpg","text":"TemporaryFile(/tmp/multipartBody8373132484201998437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568603253,"filename":"image_01112025_00_52_16_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5bb76f7e54dc93d5f47fd7b7b6cc30d2.jpg","text":"TemporaryFile(/tmp/multipartBody4336111932142898866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568603253,"filename":"image_01112025_00_52_19_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ac0160eb6eb17560fbf86ab2d4013a89.jpg","text":"TemporaryFile(/tmp/multipartBody1887418541310849841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568603253,"filename":"image_01112025_00_52_07_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c1fab673f5dfd0c7b35752def211801b.jpg","text":"TemporaryFile(/tmp/multipartBody8045855570619484354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568603253,"filename":"image_01112025_00_52_22_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/1/79a9c88776be16bf0a3a59b52eeef081.jpg","text":"TemporaryFile(/tmp/multipartBody6302728018359607317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568603253,"filename":"image_01112025_00_52_11_3625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397162020","file1":"1397162018","file0":"1397162015","file4":"1397162024","file5":"1397162026","file3":"1397162022"},"map_files_photo_id_array":[{"photo_id":"1397162026","filename":"file5"},{"photo_id":"1397162020","filename":"file2"},{"photo_id":"1397162024","filename":"file4"},{"photo_id":"1397162018","filename":"file1"},{"photo_id":"1397162015","filename":"file0"},{"photo_id":"1397162022","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397162026":["hashtag1","hashtag2"]},{"1397162020":["hashtag1","hashtag2"]},{"1397162022":["hashtag1","hashtag2"]},{"1397162015":["hashtag1","hashtag2"]},{"1397162024":["hashtag1","hashtag2"]},{"1397162018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397162026, 1397162020, 1397162022, 1397162015, 1397162024, 1397162018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78157043457031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 06:56:22.498207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/53/image_01122025_06_54_04_10412.jpg', '/home/pi/Desktop/images/01122025/06/54/image_01122025_06_54_14_9737.jpg', '/home/pi/Desktop/images/01122025/06/54/image_01122025_06_54_33_9676.jpg', '/home/pi/Desktop/images/01122025/06/54/image_01122025_06_54_44_10821.jpg', '/home/pi/Desktop/images/01122025/06/54/image_01122025_06_54_54_9529.jpg', '/home/pi/Desktop/images/01122025/06/55/image_01122025_06_55_24_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/53/image_01122025_06_54_04_10412.jpg
/home/pi/Desktop/images/01122025/06/54/image_01122025_06_54_14_9737.jpg
/home/pi/Desktop/images/01122025/06/54/image_01122025_06_54_33_9676.jpg
/home/pi/Desktop/images/01122025/06/54/image_01122025_06_54_44_10821.jpg
/home/pi/Desktop/images/01122025/06/54/image_01122025_06_54_54_9529.jpg
/home/pi/Desktop/images/01122025/06/55/image_01122025_06_55_24_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397162047","1397162035","1397162043","1397162031","1397162051","1397162039"],"photo_ids_order":["1397162031","1397162035","1397162039","1397162043","1397162047","1397162051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/81fc14473df9511baabfef87ef4a24f2.jpg","text":"TemporaryFile(/tmp/multipartBody1768678729133634686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568643298,"filename":"image_01122025_06_54_54_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/1/886e256806d482a844ae6f519d6ac781.jpg","text":"TemporaryFile(/tmp/multipartBody5000196052926968884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568643298,"filename":"image_01122025_06_54_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/1/bead757a789edb5ef9b2c1ef4c51012c.jpg","text":"TemporaryFile(/tmp/multipartBody8393111390608356035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568643298,"filename":"image_01122025_06_54_44_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/1/156654d0ba971f47ba06f4052abe1c4c.jpg","text":"TemporaryFile(/tmp/multipartBody2230218528758681673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568643298,"filename":"image_01122025_06_54_04_10412.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/272a6de462bb93b2b9d0af6c459efbf7.jpg","text":"TemporaryFile(/tmp/multipartBody7041585028079516291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568643298,"filename":"image_01122025_06_55_24_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9bae357969ed4a500bb091f8fe251f25.jpg","text":"TemporaryFile(/tmp/multipartBody820313383350764558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568643298,"filename":"image_01122025_06_54_33_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397162039","file1":"1397162035","file0":"1397162031","file4":"1397162047","file5":"1397162051","file3":"1397162043"},"map_files_photo_id_array":[{"photo_id":"1397162051","filename":"file5"},{"photo_id":"1397162039","filename":"file2"},{"photo_id":"1397162047","filename":"file4"},{"photo_id":"1397162035","filename":"file1"},{"photo_id":"1397162031","filename":"file0"},{"photo_id":"1397162043","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397162047":["hashtag1","hashtag2"]},{"1397162035":["hashtag1","hashtag2"]},{"1397162043":["hashtag1","hashtag2"]},{"1397162031":["hashtag1","hashtag2"]},{"1397162051":["hashtag1","hashtag2"]},{"1397162039":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397162047, 1397162035, 1397162043, 1397162031, 1397162051, 1397162039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.609792947769165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:57:03.355286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/55/image_01122025_06_55_54_9610.jpg', '/home/pi/Desktop/images/01122025/06/55/image_01122025_06_56_04_9741.jpg', '/home/pi/Desktop/images/01122025/06/56/image_01122025_06_56_34_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/55/image_01122025_06_55_54_9610.jpg
/home/pi/Desktop/images/01122025/06/55/image_01122025_06_56_04_9741.jpg
/home/pi/Desktop/images/01122025/06/56/image_01122025_06_56_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":["1397162053","1397162052","1397162054"],"photo_ids_order":["1397162052","1397162053","1397162054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2fcf5511aef4caf50bcccc7077a20dca.jpg","text":"TemporaryFile(/tmp/multipartBody515521357475427627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568683986,"filename":"image_01122025_06_56_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/1/ad448241b11c70e75b5c3e3d9c384581.jpg","text":"TemporaryFile(/tmp/multipartBody8663314512174131850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568683986,"filename":"image_01122025_06_55_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/1/4948fb7be546bedf637ff00a5e08d4bf.jpg","text":"TemporaryFile(/tmp/multipartBody7587232755887735214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568683986,"filename":"image_01122025_06_56_34_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397162054","file1":"1397162053","file0":"1397162052"},"map_files_photo_id_array":[{"photo_id":"1397162054","filename":"file2"},{"photo_id":"1397162053","filename":"file1"},{"photo_id":"1397162052","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397162053":["hashtag1","hashtag2"]},{"1397162052":["hashtag1","hashtag2"]},{"1397162054":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397162053, 1397162052, 1397162054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 26.60507035255432 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 06:57:32.732676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_51_1568.jpg', '/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_53_1626.jpg', '/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_55_2578.jpg', '/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_57_1596.jpg', '/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_01_4130.jpg', '/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_03_1515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_51_1568.jpg
/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_53_1626.jpg
/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_55_2578.jpg
/home/pi/Desktop/images/25112025/21/58/image_25112025_21_58_57_1596.jpg
/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_01_4130.jpg
/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_03_1515.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397162068","1397162077","1397162082","1397162084","1397162072","1397162086"],"photo_ids_order":["1397162068","1397162072","1397162077","1397162082","1397162084","1397162086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e6d8a5d5d33010ba1ac4b7f8223e4ada.jpg","text":"TemporaryFile(/tmp/multipartBody3781783699314894782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568714513,"filename":"image_25112025_21_58_51_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f461f7b40e877dad14a7534ab308c8c7.jpg","text":"TemporaryFile(/tmp/multipartBody5736707035002805282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568714513,"filename":"image_25112025_21_58_55_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/1/3de947866e0f69ff8a9971d5e882d4c4.jpg","text":"TemporaryFile(/tmp/multipartBody5759722576842264307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568714513,"filename":"image_25112025_21_58_57_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/1/570fab7e02e16449cfce865723267a6c.jpg","text":"TemporaryFile(/tmp/multipartBody8553552054403305205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568714513,"filename":"image_25112025_21_59_01_4130.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/676d196bf19e51cd4197e97c32f4475e.jpg","text":"TemporaryFile(/tmp/multipartBody8978437469351950915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568714513,"filename":"image_25112025_21_58_53_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/1/d98097af645a5c2fbfc2e21d7e954082.jpg","text":"TemporaryFile(/tmp/multipartBody5440565342442466663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568714513,"filename":"image_25112025_21_59_03_1515.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397162077","file1":"1397162072","file0":"1397162068","file4":"1397162084","file5":"1397162086","file3":"1397162082"},"map_files_photo_id_array":[{"photo_id":"1397162086","filename":"file5"},{"photo_id":"1397162077","filename":"file2"},{"photo_id":"1397162084","filename":"file4"},{"photo_id":"1397162072","filename":"file1"},{"photo_id":"1397162068","filename":"file0"},{"photo_id":"1397162082","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397162068":["hashtag1","hashtag2"]},{"1397162077":["hashtag1","hashtag2"]},{"1397162082":["hashtag1","hashtag2"]},{"1397162084":["hashtag1","hashtag2"]},{"1397162072":["hashtag1","hashtag2"]},{"1397162086":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397162068, 1397162077, 1397162082, 1397162084, 1397162072, 1397162086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8575222492218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 06:59:02.915032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/56/image_01122025_06_56_54_9952.jpg', '/home/pi/Desktop/images/01122025/06/56/image_01122025_06_57_04_10787.jpg', '/home/pi/Desktop/images/01122025/06/57/image_01122025_06_57_24_9720.jpg', '/home/pi/Desktop/images/01122025/06/58/image_01122025_06_58_14_9722.jpg', '/home/pi/Desktop/images/01122025/06/58/image_01122025_06_58_34_9590.jpg', '/home/pi/Desktop/images/01122025/06/58/image_01122025_06_58_44_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/56/image_01122025_06_56_54_9952.jpg
/home/pi/Desktop/images/01122025/06/56/image_01122025_06_57_04_10787.jpg
/home/pi/Desktop/images/01122025/06/57/image_01122025_06_57_24_9720.jpg
/home/pi/Desktop/images/01122025/06/58/image_01122025_06_58_14_9722.jpg
/home/pi/Desktop/images/01122025/06/58/image_01122025_06_58_34_9590.jpg
/home/pi/Desktop/images/01122025/06/58/image_01122025_06_58_44_10629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397162254","1397162215","1397162337","1397162424","1397162297","1397162378"],"photo_ids_order":["1397162215","1397162254","1397162297","1397162337","1397162378","1397162424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d4bdc8639cdc349e24cc34b616322bec.jpg","text":"TemporaryFile(/tmp/multipartBody787363589307796713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568803886,"filename":"image_01122025_06_57_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/1/76da67037d10915bb8468674d87a1cb2.jpg","text":"TemporaryFile(/tmp/multipartBody3022956181867982447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568803886,"filename":"image_01122025_06_56_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/1/445fbf1daaeee75ca1d8c040db601b7e.jpg","text":"TemporaryFile(/tmp/multipartBody1759491086622694226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568803886,"filename":"image_01122025_06_58_14_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/811e1bdae68c1394596389e600b69394.jpg","text":"TemporaryFile(/tmp/multipartBody6635254807762735139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568803886,"filename":"image_01122025_06_58_44_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/436721cd589e19a296a59e3bded342f2.jpg","text":"TemporaryFile(/tmp/multipartBody5810138928539088090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568803886,"filename":"image_01122025_06_57_24_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/deed81f16fbb2936f2d185e96b17fe74.jpg","text":"TemporaryFile(/tmp/multipartBody4687778077645618422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568803886,"filename":"image_01122025_06_58_34_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397162297","file1":"1397162254","file0":"1397162215","file4":"1397162378","file5":"1397162424","file3":"1397162337"},"map_files_photo_id_array":[{"photo_id":"1397162424","filename":"file5"},{"photo_id":"1397162297","filename":"file2"},{"photo_id":"1397162378","filename":"file4"},{"photo_id":"1397162254","filename":"file1"},{"photo_id":"1397162215","filename":"file0"},{"photo_id":"1397162337","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397162254":["hashtag1","hashtag2"]},{"1397162215":["hashtag1","hashtag2"]},{"1397162337":["hashtag1","hashtag2"]},{"1397162424":["hashtag1","hashtag2"]},{"1397162297":["hashtag1","hashtag2"]},{"1397162378":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397162254, 1397162215, 1397162337, 1397162424, 1397162297, 1397162378)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.008270263671875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:00:05.511153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/58/image_01122025_06_58_54_9746.jpg', '/home/pi/Desktop/images/01122025/06/59/image_01122025_06_59_13_9742.jpg', '/home/pi/Desktop/images/01122025/06/59/image_01122025_06_59_24_10758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/58/image_01122025_06_58_54_9746.jpg
/home/pi/Desktop/images/01122025/06/59/image_01122025_06_59_13_9742.jpg
/home/pi/Desktop/images/01122025/06/59/image_01122025_06_59_24_10758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397163285","1397163207","1397163101"],"photo_ids_order":["1397163101","1397163207","1397163285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/954543d5458f261d9bea726eb32a1e95.jpg","text":"TemporaryFile(/tmp/multipartBody6021479851009373726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568866143,"filename":"image_01122025_06_59_24_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2205f41acd188b28329b96e2ee4c9629.jpg","text":"TemporaryFile(/tmp/multipartBody5035532880676817137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568866143,"filename":"image_01122025_06_59_13_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/056179b9d0944ef6d13435a049243d06.jpg","text":"TemporaryFile(/tmp/multipartBody2023541883178498535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568866143,"filename":"image_01122025_06_58_54_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397163285","file1":"1397163207","file0":"1397163101"},"map_files_photo_id_array":[{"photo_id":"1397163285","filename":"file2"},{"photo_id":"1397163207","filename":"file1"},{"photo_id":"1397163101","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397163285":["hashtag1","hashtag2"]},{"1397163207":["hashtag1","hashtag2"]},{"1397163101":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397163285, 1397163207, 1397163101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.414111852645874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 07:00:35.023835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_09_1567.jpg', '/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_19_2554.jpg', '/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_22_2603.jpg', '/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_25_3663.jpg', '/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_30_5201.jpg', '/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_32_1646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_09_1567.jpg
/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_19_2554.jpg
/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_22_2603.jpg
/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_25_3663.jpg
/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_30_5201.jpg
/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_32_1646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397163937","1397163864","1397163674","1397163605","1397164009","1397163778"],"photo_ids_order":["1397163605","1397163674","1397163778","1397163864","1397163937","1397164009"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7422046273f592176a70d7d07de248f9.jpg","text":"TemporaryFile(/tmp/multipartBody8232850156434890548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568898191,"filename":"image_25112025_21_59_30_5201.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7762c8e2072e3598725751a4dca138c3.jpg","text":"TemporaryFile(/tmp/multipartBody1934922717928416444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568898191,"filename":"image_25112025_21_59_25_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4e74d8ba9a9e8b70bfe74506e1d241c3.jpg","text":"TemporaryFile(/tmp/multipartBody6333380535114181112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568898191,"filename":"image_25112025_21_59_19_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e05e64659f0c51777e2af5e955542335.jpg","text":"TemporaryFile(/tmp/multipartBody4606791370418319343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568898191,"filename":"image_25112025_21_59_09_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/1/06b62ca32107bc7145fae06022fe5ac8.jpg","text":"TemporaryFile(/tmp/multipartBody3561545409378832110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568898191,"filename":"image_25112025_21_59_32_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/1/4f82078f13f6da79ad7154326834d9d3.jpg","text":"TemporaryFile(/tmp/multipartBody8457204915907324619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568898191,"filename":"image_25112025_21_59_22_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397163778","file1":"1397163674","file0":"1397163605","file4":"1397163937","file5":"1397164009","file3":"1397163864"},"map_files_photo_id_array":[{"photo_id":"1397164009","filename":"file5"},{"photo_id":"1397163778","filename":"file2"},{"photo_id":"1397163937","filename":"file4"},{"photo_id":"1397163674","filename":"file1"},{"photo_id":"1397163605","filename":"file0"},{"photo_id":"1397163864","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397163937":["hashtag1","hashtag2"]},{"1397163864":["hashtag1","hashtag2"]},{"1397163674":["hashtag1","hashtag2"]},{"1397163605":["hashtag1","hashtag2"]},{"1397164009":["hashtag1","hashtag2"]},{"1397163778":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397163937, 1397163864, 1397163674, 1397163605, 1397164009, 1397163778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.50559639930725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 07:01:22.306082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/06/59/image_01122025_06_59_34_9755.jpg', '/home/pi/Desktop/images/01122025/07/00/image_01122025_07_00_14_9813.jpg', '/home/pi/Desktop/images/01122025/07/00/image_01122025_07_00_24_9722.jpg', '/home/pi/Desktop/images/01122025/07/00/image_01122025_07_00_34_10725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/06/59/image_01122025_06_59_34_9755.jpg
/home/pi/Desktop/images/01122025/07/00/image_01122025_07_00_14_9813.jpg
/home/pi/Desktop/images/01122025/07/00/image_01122025_07_00_24_9722.jpg
/home/pi/Desktop/images/01122025/07/00/image_01122025_07_00_34_10725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397164254","1397164308","1397164142","1397164185"],"photo_ids_order":["1397164142","1397164185","1397164254","1397164308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3844be25f22aac0603cbfd1476a71b44.jpg","text":"TemporaryFile(/tmp/multipartBody5252034945575991974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568942970,"filename":"image_01122025_07_00_24_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d586bfe45b245cff233c8fa8a8d95208.jpg","text":"TemporaryFile(/tmp/multipartBody5741666599402675080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568942970,"filename":"image_01122025_07_00_34_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/1/bbc54fdd3efd95ff01ac5b2c356860ee.jpg","text":"TemporaryFile(/tmp/multipartBody5238575856408507334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568942970,"filename":"image_01122025_06_59_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/1/179202b29f3e4100a430d157f7fbab49.jpg","text":"TemporaryFile(/tmp/multipartBody4305395576502227245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568942970,"filename":"image_01122025_07_00_14_9813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397164254","file1":"1397164185","file0":"1397164142","file3":"1397164308"},"map_files_photo_id_array":[{"photo_id":"1397164254","filename":"file2"},{"photo_id":"1397164185","filename":"file1"},{"photo_id":"1397164142","filename":"file0"},{"photo_id":"1397164308","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397164254":["hashtag1","hashtag2"]},{"1397164308":["hashtag1","hashtag2"]},{"1397164142":["hashtag1","hashtag2"]},{"1397164185":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397164254, 1397164308, 1397164142, 1397164185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.766963243484497 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:02:03.164657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_34_1699.jpg', '/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_37_3586.jpg', '/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_40_2633.jpg', '/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_43_2690.jpg', '/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_52_9322.jpg', '/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_54_1577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_34_1699.jpg
/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_37_3586.jpg
/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_40_2633.jpg
/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_43_2690.jpg
/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_52_9322.jpg
/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_54_1577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397164626","1397164670","1397164631","1397164628","1397164603","1397164531"],"photo_ids_order":["1397164531","1397164603","1397164626","1397164628","1397164631","1397164670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3188d12c214642669448478d370f9bb0.jpg","text":"TemporaryFile(/tmp/multipartBody4715632963969027667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568984219,"filename":"image_25112025_21_59_40_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/37428a3c972e20645093d56b31a12c47.jpg","text":"TemporaryFile(/tmp/multipartBody1593831220053878647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568984219,"filename":"image_25112025_21_59_54_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/1/2d714eb1bad5907aeed59c01e027ae15.jpg","text":"TemporaryFile(/tmp/multipartBody714841817107073382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568984219,"filename":"image_25112025_21_59_52_9322.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9fd46b06642a107bfd1d813ba00c952b.jpg","text":"TemporaryFile(/tmp/multipartBody1831911193222416754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568984219,"filename":"image_25112025_21_59_43_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/1/7e168aba44b9abd5c1d92a0ca24e3b75.jpg","text":"TemporaryFile(/tmp/multipartBody5945748758825281623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568984219,"filename":"image_25112025_21_59_37_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/1/7058b113895d90a634e6ab655e40d4bf.jpg","text":"TemporaryFile(/tmp/multipartBody9098087903507066730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764568984219,"filename":"image_25112025_21_59_34_1699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397164626","file1":"1397164603","file0":"1397164531","file4":"1397164631","file5":"1397164670","file3":"1397164628"},"map_files_photo_id_array":[{"photo_id":"1397164670","filename":"file5"},{"photo_id":"1397164626","filename":"file2"},{"photo_id":"1397164631","filename":"file4"},{"photo_id":"1397164603","filename":"file1"},{"photo_id":"1397164531","filename":"file0"},{"photo_id":"1397164628","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397164626":["hashtag1","hashtag2"]},{"1397164670":["hashtag1","hashtag2"]},{"1397164631":["hashtag1","hashtag2"]},{"1397164628":["hashtag1","hashtag2"]},{"1397164603":["hashtag1","hashtag2"]},{"1397164531":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397164626, 1397164670, 1397164631, 1397164628, 1397164603, 1397164531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.6011643409729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:03:02.218852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_55_1488.jpg', '/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_58_1703.jpg', '/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_08_3011.jpg', '/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_14_2495.jpg', '/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_18_3647.jpg', '/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_21_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_55_1488.jpg
/home/pi/Desktop/images/25112025/21/59/image_25112025_21_59_58_1703.jpg
/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_08_3011.jpg
/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_14_2495.jpg
/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_18_3647.jpg
/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_21_2610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397164782","1397164776","1397164779","1397164770","1397164768","1397164773"],"photo_ids_order":["1397164768","1397164770","1397164773","1397164776","1397164779","1397164782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ee582c8c983bf812af649576d5801cfd.jpg","text":"TemporaryFile(/tmp/multipartBody4612427434570612588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569052612,"filename":"image_25112025_22_00_21_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/1/8360eea37bdcfed7e5c6414241d9a90e.jpg","text":"TemporaryFile(/tmp/multipartBody9052971117162308971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569052612,"filename":"image_25112025_22_00_14_2495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/177266407482871b0fae02b70c471ef7.jpg","text":"TemporaryFile(/tmp/multipartBody5321116856489389067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569052612,"filename":"image_25112025_22_00_18_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/1/f4d727c69b6a1a62648bcc9e72793f42.jpg","text":"TemporaryFile(/tmp/multipartBody1083587366096712696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569052612,"filename":"image_25112025_21_59_58_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/1/35bbb18894ad1f8d78b7877e8a96d45f.jpg","text":"TemporaryFile(/tmp/multipartBody6911780623273439041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569052612,"filename":"image_25112025_21_59_55_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/1/653854f0a56fc638c326f942784e4aed.jpg","text":"TemporaryFile(/tmp/multipartBody536325968503121215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569052612,"filename":"image_25112025_22_00_08_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397164773","file1":"1397164770","file0":"1397164768","file4":"1397164779","file5":"1397164782","file3":"1397164776"},"map_files_photo_id_array":[{"photo_id":"1397164782","filename":"file5"},{"photo_id":"1397164773","filename":"file2"},{"photo_id":"1397164779","filename":"file4"},{"photo_id":"1397164770","filename":"file1"},{"photo_id":"1397164768","filename":"file0"},{"photo_id":"1397164776","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397164782":["hashtag1","hashtag2"]},{"1397164776":["hashtag1","hashtag2"]},{"1397164779":["hashtag1","hashtag2"]},{"1397164770":["hashtag1","hashtag2"]},{"1397164768":["hashtag1","hashtag2"]},{"1397164773":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397164782, 1397164776, 1397164779, 1397164770, 1397164768, 1397164773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.112897872924805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:04:02.690131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_23_2658.jpg', '/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_26_2800.jpg', '/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_30_3847.jpg', '/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_33_2799.jpg', '/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_49_1744.jpg', '/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_51_1601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_23_2658.jpg
/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_26_2800.jpg
/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_30_3847.jpg
/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_33_2799.jpg
/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_49_1744.jpg
/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_51_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: 1.015775442123413 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 07:04:12.051000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_23_2658.jpg', '/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_26_2800.jpg', '/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_30_3847.jpg', '/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_33_2799.jpg', '/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_49_1744.jpg', '/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_51_1601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_23_2658.jpg
/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_26_2800.jpg
/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_30_3847.jpg
/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_33_2799.jpg
/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_49_1744.jpg
/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_51_1601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397164821","1397164800","1397164803","1397164814","1397164808","1397164816"],"photo_ids_order":["1397164800","1397164803","1397164808","1397164814","1397164816","1397164821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2e46250263761b0265791bc123ca63ae.jpg","text":"TemporaryFile(/tmp/multipartBody4173390858766963496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569113527,"filename":"image_25112025_22_00_51_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/1/afa8970c2335f2788a9df74311e48c2d.jpg","text":"TemporaryFile(/tmp/multipartBody2722994185307015017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569113527,"filename":"image_25112025_22_00_23_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/1/f24f4883f21204fd7d941448dc180817.jpg","text":"TemporaryFile(/tmp/multipartBody7748405760758749592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569113527,"filename":"image_25112025_22_00_26_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/661a0623b8e30c1bf77a227912e24832.jpg","text":"TemporaryFile(/tmp/multipartBody6246499748440367826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569113527,"filename":"image_25112025_22_00_33_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8821f92451b9de08d860a46ca021b60c.jpg","text":"TemporaryFile(/tmp/multipartBody6265637051828766183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569113527,"filename":"image_25112025_22_00_30_3847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/590ef6e3ea5e76e74582b968b3635cfb.jpg","text":"TemporaryFile(/tmp/multipartBody4842132177076243673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569113527,"filename":"image_25112025_22_00_49_1744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397164808","file1":"1397164803","file0":"1397164800","file4":"1397164816","file5":"1397164821","file3":"1397164814"},"map_files_photo_id_array":[{"photo_id":"1397164821","filename":"file5"},{"photo_id":"1397164808","filename":"file2"},{"photo_id":"1397164816","filename":"file4"},{"photo_id":"1397164803","filename":"file1"},{"photo_id":"1397164800","filename":"file0"},{"photo_id":"1397164814","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397164821":["hashtag1","hashtag2"]},{"1397164800":["hashtag1","hashtag2"]},{"1397164803":["hashtag1","hashtag2"]},{"1397164814":["hashtag1","hashtag2"]},{"1397164808":["hashtag1","hashtag2"]},{"1397164816":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397164821, 1397164800, 1397164803, 1397164814, 1397164808, 1397164816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.08815240859985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:05:02.936128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/00/image_01122025_07_01_04_9705.jpg', '/home/pi/Desktop/images/01122025/07/02/image_01122025_07_03_04_9796.jpg', '/home/pi/Desktop/images/01122025/07/03/image_01122025_07_03_14_9696.jpg', '/home/pi/Desktop/images/01122025/07/03/image_01122025_07_03_24_10597.jpg', '/home/pi/Desktop/images/01122025/07/03/image_01122025_07_03_34_9646.jpg', '/home/pi/Desktop/images/01122025/07/04/image_01122025_07_04_14_10783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/00/image_01122025_07_01_04_9705.jpg
/home/pi/Desktop/images/01122025/07/02/image_01122025_07_03_04_9796.jpg
/home/pi/Desktop/images/01122025/07/03/image_01122025_07_03_14_9696.jpg
/home/pi/Desktop/images/01122025/07/03/image_01122025_07_03_24_10597.jpg
/home/pi/Desktop/images/01122025/07/03/image_01122025_07_03_34_9646.jpg
/home/pi/Desktop/images/01122025/07/04/image_01122025_07_04_14_10783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397164830","1397164833","1397164835","1397164843","1397164831","1397164840"],"photo_ids_order":["1397164830","1397164831","1397164833","1397164835","1397164840","1397164843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6b0638b1ce2818e01cac2d7f442ed432.jpg","text":"TemporaryFile(/tmp/multipartBody7687709680476132645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569163755,"filename":"image_01122025_07_01_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/1/4653a3fcdbc17eba6b589bcbbe2f7d5e.jpg","text":"TemporaryFile(/tmp/multipartBody9207867650835168476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569163755,"filename":"image_01122025_07_03_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/1/21101b92f156eb39e60b7cc94d90db57.jpg","text":"TemporaryFile(/tmp/multipartBody2834217360193649740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569163755,"filename":"image_01122025_07_03_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/1/df4408f9413e3abd6e81172c15d99ec1.jpg","text":"TemporaryFile(/tmp/multipartBody6631244451803767787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569163755,"filename":"image_01122025_07_04_14_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/1/a987ce981febd0eb2a2f0f634d3af7df.jpg","text":"TemporaryFile(/tmp/multipartBody4436271072633427668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569163755,"filename":"image_01122025_07_03_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/1/614c878a91c38bad42b03d4646ee6c01.jpg","text":"TemporaryFile(/tmp/multipartBody4838837670422181233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569163755,"filename":"image_01122025_07_03_34_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397164833","file1":"1397164831","file0":"1397164830","file4":"1397164840","file5":"1397164843","file3":"1397164835"},"map_files_photo_id_array":[{"photo_id":"1397164843","filename":"file5"},{"photo_id":"1397164833","filename":"file2"},{"photo_id":"1397164840","filename":"file4"},{"photo_id":"1397164831","filename":"file1"},{"photo_id":"1397164830","filename":"file0"},{"photo_id":"1397164835","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397164830":["hashtag1","hashtag2"]},{"1397164833":["hashtag1","hashtag2"]},{"1397164835":["hashtag1","hashtag2"]},{"1397164843":["hashtag1","hashtag2"]},{"1397164831":["hashtag1","hashtag2"]},{"1397164840":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397164830, 1397164833, 1397164835, 1397164843, 1397164831, 1397164840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.909212827682495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 07:05:42.257703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/52/image_01112025_00_52_40_3742.jpg', '/home/pi/Desktop/images/01112025/00/52/image_01112025_00_52_43_2574.jpg', '/home/pi/Desktop/images/01112025/00/52/image_01112025_00_52_46_2673.jpg', '/home/pi/Desktop/images/01112025/00/52/image_01112025_00_52_55_2785.jpg', '/home/pi/Desktop/images/01112025/00/53/image_01112025_00_53_07_2591.jpg', '/home/pi/Desktop/images/01112025/00/53/image_01112025_00_53_10_3620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/52/image_01112025_00_52_40_3742.jpg
/home/pi/Desktop/images/01112025/00/52/image_01112025_00_52_43_2574.jpg
/home/pi/Desktop/images/01112025/00/52/image_01112025_00_52_46_2673.jpg
/home/pi/Desktop/images/01112025/00/52/image_01112025_00_52_55_2785.jpg
/home/pi/Desktop/images/01112025/00/53/image_01112025_00_53_07_2591.jpg
/home/pi/Desktop/images/01112025/00/53/image_01112025_00_53_10_3620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397165019","1397164863","1397164902","1397164853","1397164981","1397164939"],"photo_ids_order":["1397164853","1397164863","1397164902","1397164939","1397164981","1397165019"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/800cb386b7e4db74fc8fdb23b7670857.jpg","text":"TemporaryFile(/tmp/multipartBody3279201434733228029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569203144,"filename":"image_01112025_00_53_10_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3feb1c02e99d7b13e9b4a905a9f97977.jpg","text":"TemporaryFile(/tmp/multipartBody3653846496935595966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569203144,"filename":"image_01112025_00_52_43_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/1/d68ca6558fcf0ea6cf980484bffa3608.jpg","text":"TemporaryFile(/tmp/multipartBody7276432629327774737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569203144,"filename":"image_01112025_00_52_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/1/a28d6faacd2c6b3ebb4e68626d232ec5.jpg","text":"TemporaryFile(/tmp/multipartBody6589953243298672112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569203144,"filename":"image_01112025_00_52_40_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/1/56043aaee920713aa234d1bbde27a4bb.jpg","text":"TemporaryFile(/tmp/multipartBody5300007076719031526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569203144,"filename":"image_01112025_00_53_07_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/483eea3998f1412213b9a97be373dfa0.jpg","text":"TemporaryFile(/tmp/multipartBody7181393744431108816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569203144,"filename":"image_01112025_00_52_55_2785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397164902","file1":"1397164863","file0":"1397164853","file4":"1397164981","file5":"1397165019","file3":"1397164939"},"map_files_photo_id_array":[{"photo_id":"1397165019","filename":"file5"},{"photo_id":"1397164902","filename":"file2"},{"photo_id":"1397164981","filename":"file4"},{"photo_id":"1397164863","filename":"file1"},{"photo_id":"1397164853","filename":"file0"},{"photo_id":"1397164939","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397165019":["hashtag1","hashtag2"]},{"1397164863":["hashtag1","hashtag2"]},{"1397164902":["hashtag1","hashtag2"]},{"1397164853":["hashtag1","hashtag2"]},{"1397164981":["hashtag1","hashtag2"]},{"1397164939":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397165019, 1397164863, 1397164902, 1397164853, 1397164981, 1397164939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19082593917847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 07:06:22.461807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/04/image_01122025_07_04_24_9621.jpg', '/home/pi/Desktop/images/01122025/07/04/image_01122025_07_04_34_9830.jpg', '/home/pi/Desktop/images/01122025/07/04/image_01122025_07_04_54_10778.jpg', '/home/pi/Desktop/images/01122025/07/05/image_01122025_07_05_44_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/04/image_01122025_07_04_24_9621.jpg
/home/pi/Desktop/images/01122025/07/04/image_01122025_07_04_34_9830.jpg
/home/pi/Desktop/images/01122025/07/04/image_01122025_07_04_54_10778.jpg
/home/pi/Desktop/images/01122025/07/05/image_01122025_07_05_44_9758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397165220","1397165183","1397165264","1397165143"],"photo_ids_order":["1397165143","1397165183","1397165220","1397165264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/df3d49c6c5ac9a63ee407ba132d096d4.jpg","text":"TemporaryFile(/tmp/multipartBody8689936845744983199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569243149,"filename":"image_01122025_07_04_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/1/3a653384211801b67a7c9097ff5fd2a9.jpg","text":"TemporaryFile(/tmp/multipartBody2820074814125811584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569243149,"filename":"image_01122025_07_04_34_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5754657ad39e9ef8b9e8ecf4aaad3e9d.jpg","text":"TemporaryFile(/tmp/multipartBody672216051939506587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569243149,"filename":"image_01122025_07_05_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/1/7e6dd45581958920cb635672eaa74c61.jpg","text":"TemporaryFile(/tmp/multipartBody6475320071631014916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569243149,"filename":"image_01122025_07_04_24_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397165220","file1":"1397165183","file0":"1397165143","file3":"1397165264"},"map_files_photo_id_array":[{"photo_id":"1397165220","filename":"file2"},{"photo_id":"1397165183","filename":"file1"},{"photo_id":"1397165143","filename":"file0"},{"photo_id":"1397165264","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397165220":["hashtag1","hashtag2"]},{"1397165183":["hashtag1","hashtag2"]},{"1397165264":["hashtag1","hashtag2"]},{"1397165143":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397165220, 1397165183, 1397165264, 1397165143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.80197238922119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:07:03.184257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_52_1626.jpg', '/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_54_1615.jpg', '/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_55_1514.jpg', '/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_57_1754.jpg', '/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_59_1836.jpg', '/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_03_3634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_52_1626.jpg
/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_54_1615.jpg
/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_55_1514.jpg
/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_57_1754.jpg
/home/pi/Desktop/images/25112025/22/00/image_25112025_22_00_59_1836.jpg
/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_03_3634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397165409","1397165462","1397165411","1397165405","1397165420","1397165407"],"photo_ids_order":["1397165405","1397165407","1397165409","1397165411","1397165420","1397165462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/523a45cb43beb00ce3cb79a12aecaf49.jpg","text":"TemporaryFile(/tmp/multipartBody4795766619339814823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569286825,"filename":"image_25112025_22_00_55_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/1/0147b7470059dc11c447ff3b1e7f7e19.jpg","text":"TemporaryFile(/tmp/multipartBody1322261009288421845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569286825,"filename":"image_25112025_22_01_03_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/1/f9b26e7a617433005ec4330154a9b744.jpg","text":"TemporaryFile(/tmp/multipartBody5563142813394529582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569286825,"filename":"image_25112025_22_00_57_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/1/e1ce1a4c4c0c22d520085c9f4d02d864.jpg","text":"TemporaryFile(/tmp/multipartBody3250157887615514083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569286825,"filename":"image_25112025_22_00_52_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/1/19f103fa1493bab98110a8127bd2e748.jpg","text":"TemporaryFile(/tmp/multipartBody6692381565933744493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569286825,"filename":"image_25112025_22_00_59_1836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3e165bc1002355601fc889aa97b08a07.jpg","text":"TemporaryFile(/tmp/multipartBody2632221295347776068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569286825,"filename":"image_25112025_22_00_54_1615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397165409","file1":"1397165407","file0":"1397165405","file4":"1397165420","file5":"1397165462","file3":"1397165411"},"map_files_photo_id_array":[{"photo_id":"1397165462","filename":"file5"},{"photo_id":"1397165409","filename":"file2"},{"photo_id":"1397165420","filename":"file4"},{"photo_id":"1397165407","filename":"file1"},{"photo_id":"1397165405","filename":"file0"},{"photo_id":"1397165411","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397165409":["hashtag1","hashtag2"]},{"1397165462":["hashtag1","hashtag2"]},{"1397165411":["hashtag1","hashtag2"]},{"1397165405":["hashtag1","hashtag2"]},{"1397165420":["hashtag1","hashtag2"]},{"1397165407":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397165409, 1397165462, 1397165411, 1397165405, 1397165420, 1397165407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.377522230148315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:08:03.110351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/06/image_01122025_07_06_54_9894.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/06/image_01122025_07_06_54_9894.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397165707"],"photo_id":"1397165707","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9d3f25ed644e4a46602cf9f985f976bc.jpg","text":"TemporaryFile(/tmp/multipartBody2795593247536724252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569344983,"filename":"image_01122025_07_06_54_9894.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1397165707"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1397165707"}],"hashtags":[],"portfolio_id":"29033749","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.994864702224731 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 07:08:22.812809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/07/image_01122025_07_07_44_10251.jpg', '/home/pi/Desktop/images/01122025/07/07/image_01122025_07_08_04_9780.jpg', '/home/pi/Desktop/images/01122025/07/08/image_01122025_07_08_14_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/07/image_01122025_07_07_44_10251.jpg
/home/pi/Desktop/images/01122025/07/07/image_01122025_07_08_04_9780.jpg
/home/pi/Desktop/images/01122025/07/08/image_01122025_07_08_14_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397165942","1397165982","1397165898"],"photo_ids_order":["1397165898","1397165942","1397165982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9c12e3a2433d18e9ab43e996fa2106c4.jpg","text":"TemporaryFile(/tmp/multipartBody1623154778609257809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569363425,"filename":"image_01122025_07_08_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/1/29c76c5e1a3954538cf24f43180f33d3.jpg","text":"TemporaryFile(/tmp/multipartBody3064484313214602857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569363425,"filename":"image_01122025_07_08_14_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a6a7dd484a81f851b033bb79f8e10851.jpg","text":"TemporaryFile(/tmp/multipartBody7616538515771253473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569363425,"filename":"image_01122025_07_07_44_10251.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397165982","file1":"1397165942","file0":"1397165898"},"map_files_photo_id_array":[{"photo_id":"1397165982","filename":"file2"},{"photo_id":"1397165942","filename":"file1"},{"photo_id":"1397165898","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397165942":["hashtag1","hashtag2"]},{"1397165982":["hashtag1","hashtag2"]},{"1397165898":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397165942, 1397165982, 1397165898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.170614004135132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:09:05.107011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_05_2591.jpg', '/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_08_2702.jpg', '/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_12_3685.jpg', '/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_14_2760.jpg', '/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_17_2597.jpg', '/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_23_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_05_2591.jpg
/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_08_2702.jpg
/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_12_3685.jpg
/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_14_2760.jpg
/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_17_2597.jpg
/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_23_2631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397166206","1397166134","1397166101","1397166130","1397166174","1397166159"],"photo_ids_order":["1397166101","1397166130","1397166134","1397166159","1397166174","1397166206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/55992eaf0cf7f281421d989558e64b11.jpg","text":"TemporaryFile(/tmp/multipartBody2446441225882710055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569408036,"filename":"image_25112025_22_01_23_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/1/296a04daeaa26d735208d57d77480ed6.jpg","text":"TemporaryFile(/tmp/multipartBody1848841861960846929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569408036,"filename":"image_25112025_22_01_12_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/1/2b62e0cb95b9f2d1f79efc4260376ec9.jpg","text":"TemporaryFile(/tmp/multipartBody2242225273729156085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569408036,"filename":"image_25112025_22_01_05_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/1/1d9d150f0859da6528f2ebd978b0ff77.jpg","text":"TemporaryFile(/tmp/multipartBody4413864708707709461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569408036,"filename":"image_25112025_22_01_08_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/77af0e7ba0a5cb0f18748393f7f077c9.jpg","text":"TemporaryFile(/tmp/multipartBody7777940131647592485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569408036,"filename":"image_25112025_22_01_17_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/1/a6507238fd0ca43721b4e45b5811dfa1.jpg","text":"TemporaryFile(/tmp/multipartBody79721595562540250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569408036,"filename":"image_25112025_22_01_14_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397166134","file1":"1397166130","file0":"1397166101","file4":"1397166174","file5":"1397166206","file3":"1397166159"},"map_files_photo_id_array":[{"photo_id":"1397166206","filename":"file5"},{"photo_id":"1397166134","filename":"file2"},{"photo_id":"1397166174","filename":"file4"},{"photo_id":"1397166130","filename":"file1"},{"photo_id":"1397166101","filename":"file0"},{"photo_id":"1397166159","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397166206":["hashtag1","hashtag2"]},{"1397166134":["hashtag1","hashtag2"]},{"1397166101":["hashtag1","hashtag2"]},{"1397166130":["hashtag1","hashtag2"]},{"1397166174":["hashtag1","hashtag2"]},{"1397166159":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397166206, 1397166134, 1397166101, 1397166130, 1397166174, 1397166159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.611847162246704 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-01 07:10:02.929236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/08/image_01122025_07_08_43_9714.jpg', '/home/pi/Desktop/images/01122025/07/09/image_01122025_07_09_34_9565.jpg', '/home/pi/Desktop/images/01122025/07/09/image_01122025_07_09_43_9554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/08/image_01122025_07_08_43_9714.jpg
/home/pi/Desktop/images/01122025/07/09/image_01122025_07_09_34_9565.jpg
/home/pi/Desktop/images/01122025/07/09/image_01122025_07_09_43_9554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397166221","1397166217","1397166219"],"photo_ids_order":["1397166217","1397166219","1397166221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b3b40958c59e105f309e7378ead60a9b.jpg","text":"TemporaryFile(/tmp/multipartBody5661945709807158946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569464516,"filename":"image_01122025_07_09_43_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/1/aabd3a03072185d9673a28ebbf7b3d13.jpg","text":"TemporaryFile(/tmp/multipartBody6337517825213552692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569464516,"filename":"image_01122025_07_08_43_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/489d85425137f165ac577f2f25dcd290.jpg","text":"TemporaryFile(/tmp/multipartBody2711399057401888635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569464516,"filename":"image_01122025_07_09_34_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397166221","file1":"1397166219","file0":"1397166217"},"map_files_photo_id_array":[{"photo_id":"1397166221","filename":"file2"},{"photo_id":"1397166219","filename":"file1"},{"photo_id":"1397166217","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397166221":["hashtag1","hashtag2"]},{"1397166217":["hashtag1","hashtag2"]},{"1397166219":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397166221, 1397166217, 1397166219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.355773210525513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 07:10:32.702877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_27_3617.jpg', '/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_29_2585.jpg', '/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_32_2565.jpg', '/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_47_15199.jpg', '/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_49_1855.jpg', '/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_51_1720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_27_3617.jpg
/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_29_2585.jpg
/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_32_2565.jpg
/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_47_15199.jpg
/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_49_1855.jpg
/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_51_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":["1397166239","1397166262","1397166259","1397166235","1397166255","1397166243"],"photo_ids_order":["1397166235","1397166239","1397166243","1397166255","1397166259","1397166262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1c30c9137c475ecf3479b5b443b81b15.jpg","text":"TemporaryFile(/tmp/multipartBody2021762414809285649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569494467,"filename":"image_25112025_22_01_29_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/1/2a0e7583210a41b49aad65553a5dc6da.jpg","text":"TemporaryFile(/tmp/multipartBody3750263132931273562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569494467,"filename":"image_25112025_22_01_51_1720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/06eb33775b61cb40ab9c57ae1a6f7013.jpg","text":"TemporaryFile(/tmp/multipartBody5782166911947390541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569494467,"filename":"image_25112025_22_01_49_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/1/61bb5bb07fdaf33f70f4bf2c9ca4c76e.jpg","text":"TemporaryFile(/tmp/multipartBody4388980279711124953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569494467,"filename":"image_25112025_22_01_27_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/1/183ac8dab22e40be6bb2f8d822833814.jpg","text":"TemporaryFile(/tmp/multipartBody3001477861609322082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569494467,"filename":"image_25112025_22_01_47_15199.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2f07a1bb0bf064ef50f4723adc28dd39.jpg","text":"TemporaryFile(/tmp/multipartBody3440632756906538179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569494467,"filename":"image_25112025_22_01_32_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397166243","file1":"1397166239","file0":"1397166235","file4":"1397166259","file5":"1397166262","file3":"1397166255"},"map_files_photo_id_array":[{"photo_id":"1397166262","filename":"file5"},{"photo_id":"1397166243","filename":"file2"},{"photo_id":"1397166259","filename":"file4"},{"photo_id":"1397166239","filename":"file1"},{"photo_id":"1397166235","filename":"file0"},{"photo_id":"1397166255","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397166239":["hashtag1","hashtag2"]},{"1397166262":["hashtag1","hashtag2"]},{"1397166259":["hashtag1","hashtag2"]},{"1397166235":["hashtag1","hashtag2"]},{"1397166255":["hashtag1","hashtag2"]},{"1397166243":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397166239, 1397166262, 1397166259, 1397166235, 1397166255, 1397166243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.6201446056366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 07:11:12.677011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_52_1544.jpg', '/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_54_1812.jpg', '/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_56_1621.jpg', '/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_57_1616.jpg', '/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_59_1667.jpg', '/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_02_1587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_52_1544.jpg
/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_54_1812.jpg
/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_56_1621.jpg
/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_57_1616.jpg
/home/pi/Desktop/images/25112025/22/01/image_25112025_22_01_59_1667.jpg
/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_02_1587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397166470","1397166353","1397166394","1397166276","1397166432","1397166315"],"photo_ids_order":["1397166276","1397166315","1397166353","1397166394","1397166432","1397166470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/91badff5cf522410334fe81e1fc2c7eb.jpg","text":"TemporaryFile(/tmp/multipartBody4254841477372615521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569534308,"filename":"image_25112025_22_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/1/609347f96d5cee730bc845e92a24d9fa.jpg","text":"TemporaryFile(/tmp/multipartBody3635998967499676599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569534308,"filename":"image_25112025_22_01_56_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/17e9a80c51cfe2f6cdf571c43ff6a0f8.jpg","text":"TemporaryFile(/tmp/multipartBody2474921514063822211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569534308,"filename":"image_25112025_22_01_57_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/1/6f36d3e95cf610708a84957702834f3f.jpg","text":"TemporaryFile(/tmp/multipartBody6555058757793543246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569534308,"filename":"image_25112025_22_01_52_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/1/bddc727c6b1a8db542ca83eeb811319a.jpg","text":"TemporaryFile(/tmp/multipartBody6813973259024492447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569534308,"filename":"image_25112025_22_01_59_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/1/5e1b0d43d2970d3e085c6dc06db879c4.jpg","text":"TemporaryFile(/tmp/multipartBody1998907928482469589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569534308,"filename":"image_25112025_22_01_54_1812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397166353","file1":"1397166315","file0":"1397166276","file4":"1397166432","file5":"1397166470","file3":"1397166394"},"map_files_photo_id_array":[{"photo_id":"1397166470","filename":"file5"},{"photo_id":"1397166353","filename":"file2"},{"photo_id":"1397166432","filename":"file4"},{"photo_id":"1397166315","filename":"file1"},{"photo_id":"1397166276","filename":"file0"},{"photo_id":"1397166394","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397166470":["hashtag1","hashtag2"]},{"1397166353":["hashtag1","hashtag2"]},{"1397166394":["hashtag1","hashtag2"]},{"1397166276":["hashtag1","hashtag2"]},{"1397166432":["hashtag1","hashtag2"]},{"1397166315":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397166470, 1397166353, 1397166394, 1397166276, 1397166432, 1397166315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59791040420532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:12:02.283595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/09/image_01122025_07_10_04_9578.jpg', '/home/pi/Desktop/images/01122025/07/10/image_01122025_07_10_14_10650.jpg', '/home/pi/Desktop/images/01122025/07/10/image_01122025_07_10_44_10684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/09/image_01122025_07_10_04_9578.jpg
/home/pi/Desktop/images/01122025/07/10/image_01122025_07_10_14_10650.jpg
/home/pi/Desktop/images/01122025/07/10/image_01122025_07_10_44_10684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397166683","1397166701","1397166703"],"photo_ids_order":["1397166683","1397166701","1397166703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d3b77bdcd9eec6ee44224432e61cd5ff.jpg","text":"TemporaryFile(/tmp/multipartBody7365617590882209220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569582909,"filename":"image_01122025_07_10_04_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a6e06d37473a59103617acbd3abe03d4.jpg","text":"TemporaryFile(/tmp/multipartBody3769302341615754088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569582909,"filename":"image_01122025_07_10_14_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5a5c7aa50028a3c75fae762296024195.jpg","text":"TemporaryFile(/tmp/multipartBody5048831248985785289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569582909,"filename":"image_01122025_07_10_44_10684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397166703","file1":"1397166701","file0":"1397166683"},"map_files_photo_id_array":[{"photo_id":"1397166703","filename":"file2"},{"photo_id":"1397166701","filename":"file1"},{"photo_id":"1397166683","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397166683":["hashtag1","hashtag2"]},{"1397166701":["hashtag1","hashtag2"]},{"1397166703":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397166683, 1397166701, 1397166703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.029014110565186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 07:12:32.014599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_05_2743.jpg', '/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_11_2514.jpg', '/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_14_2775.jpg', '/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_18_3705.jpg', '/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_20_2658.jpg', '/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_23_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_05_2743.jpg
/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_11_2514.jpg
/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_14_2775.jpg
/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_18_3705.jpg
/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_20_2658.jpg
/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_23_2600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397166863","1397166886","1397166829","1397166720","1397166785","1397166738"],"photo_ids_order":["1397166720","1397166738","1397166785","1397166829","1397166863","1397166886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9a8c9cff7e9258ee19ff79391014c562.jpg","text":"TemporaryFile(/tmp/multipartBody912984822880831531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569613813,"filename":"image_25112025_22_02_20_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/27b3775dfcfc5746259b395a28f0e6c7.jpg","text":"TemporaryFile(/tmp/multipartBody2954023972957353308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569613813,"filename":"image_25112025_22_02_23_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/1/9a52cfe3dfc260fe2657d1c552160c8c.jpg","text":"TemporaryFile(/tmp/multipartBody6122318634685110087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569613813,"filename":"image_25112025_22_02_18_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/31c8e5b14358a8ef808623277e28ec1c.jpg","text":"TemporaryFile(/tmp/multipartBody2814882750540943754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569613813,"filename":"image_25112025_22_02_05_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/1/ced642f994cc81ecc65f0e4533894f10.jpg","text":"TemporaryFile(/tmp/multipartBody4132188932500274719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569613813,"filename":"image_25112025_22_02_14_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6266b97d626a0c1b9e2c9e70a4175afb.jpg","text":"TemporaryFile(/tmp/multipartBody3390119896466046981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569613813,"filename":"image_25112025_22_02_11_2514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397166785","file1":"1397166738","file0":"1397166720","file4":"1397166863","file5":"1397166886","file3":"1397166829"},"map_files_photo_id_array":[{"photo_id":"1397166886","filename":"file5"},{"photo_id":"1397166785","filename":"file2"},{"photo_id":"1397166863","filename":"file4"},{"photo_id":"1397166738","filename":"file1"},{"photo_id":"1397166720","filename":"file0"},{"photo_id":"1397166829","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397166863":["hashtag1","hashtag2"]},{"1397166886":["hashtag1","hashtag2"]},{"1397166829":["hashtag1","hashtag2"]},{"1397166720":["hashtag1","hashtag2"]},{"1397166785":["hashtag1","hashtag2"]},{"1397166738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397166863, 1397166886, 1397166829, 1397166720, 1397166785, 1397166738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.563488245010376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 07:13:22.132166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/10/image_01122025_07_11_04_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/10/image_01122025_07_11_04_9655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397166961"],"photo_id":"1397166961","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ce00fdcd9320f54236195273195da9dd.jpg","text":"TemporaryFile(/tmp/multipartBody4574516346609010430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569662663,"filename":"image_01122025_07_11_04_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1397166961"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1397166961"}],"hashtags":[],"portfolio_id":"29033749","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.061120986938477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 07:13:42.192111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/53/image_01112025_00_53_13_2727.jpg', '/home/pi/Desktop/images/01112025/00/53/image_01112025_00_53_19_3784.jpg', '/home/pi/Desktop/images/01112025/00/53/image_01112025_00_53_28_3595.jpg', '/home/pi/Desktop/images/01112025/00/53/image_01112025_00_53_37_3715.jpg', '/home/pi/Desktop/images/01112025/00/53/image_01112025_00_53_52_2564.jpg', '/home/pi/Desktop/images/01112025/00/53/image_01112025_00_53_58_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/53/image_01112025_00_53_13_2727.jpg
/home/pi/Desktop/images/01112025/00/53/image_01112025_00_53_19_3784.jpg
/home/pi/Desktop/images/01112025/00/53/image_01112025_00_53_28_3595.jpg
/home/pi/Desktop/images/01112025/00/53/image_01112025_00_53_37_3715.jpg
/home/pi/Desktop/images/01112025/00/53/image_01112025_00_53_52_2564.jpg
/home/pi/Desktop/images/01112025/00/53/image_01112025_00_53_58_2734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397167001","1397167007","1397167003","1397167006","1397167005","1397166998"],"photo_ids_order":["1397166998","1397167001","1397167003","1397167005","1397167006","1397167007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f90be069a1d0278043bcc0e38c7fdc63.jpg","text":"TemporaryFile(/tmp/multipartBody8857333222616408446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569683084,"filename":"image_01112025_00_53_19_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/1/63639c020d0f623faa5a186f5258c33e.jpg","text":"TemporaryFile(/tmp/multipartBody5272246745177991869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569683084,"filename":"image_01112025_00_53_58_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5afa1395bd5bac3db62611652fd38076.jpg","text":"TemporaryFile(/tmp/multipartBody5658293925947850450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569683084,"filename":"image_01112025_00_53_28_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/1/619cbb6214b790ab61951cefde789e89.jpg","text":"TemporaryFile(/tmp/multipartBody8315901111633066375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569683084,"filename":"image_01112025_00_53_52_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/1/28f612f31697352c0e2962c560e33cb1.jpg","text":"TemporaryFile(/tmp/multipartBody2604628489763248769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569683084,"filename":"image_01112025_00_53_37_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/1/60737ea5a53ae459cbce5eb81da675ce.jpg","text":"TemporaryFile(/tmp/multipartBody3584966655939765341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569683084,"filename":"image_01112025_00_53_13_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397167003","file1":"1397167001","file0":"1397166998","file4":"1397167006","file5":"1397167007","file3":"1397167005"},"map_files_photo_id_array":[{"photo_id":"1397167007","filename":"file5"},{"photo_id":"1397167003","filename":"file2"},{"photo_id":"1397167006","filename":"file4"},{"photo_id":"1397167001","filename":"file1"},{"photo_id":"1397166998","filename":"file0"},{"photo_id":"1397167005","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397167001":["hashtag1","hashtag2"]},{"1397167007":["hashtag1","hashtag2"]},{"1397167003":["hashtag1","hashtag2"]},{"1397167006":["hashtag1","hashtag2"]},{"1397167005":["hashtag1","hashtag2"]},{"1397166998":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397167001, 1397167007, 1397167003, 1397167006, 1397167005, 1397166998)","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: 54.0428261756897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 07:14:42.371201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/53/image_01112025_00_54_00_2560.jpg', '/home/pi/Desktop/images/01112025/00/54/image_01112025_00_54_13_3566.jpg', '/home/pi/Desktop/images/01112025/00/55/image_01112025_00_55_13_3687.jpg', '/home/pi/Desktop/images/01112025/00/55/image_01112025_00_55_16_2686.jpg', '/home/pi/Desktop/images/01112025/00/55/image_01112025_00_55_21_2731.jpg', '/home/pi/Desktop/images/01112025/00/55/image_01112025_00_55_28_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/53/image_01112025_00_54_00_2560.jpg
/home/pi/Desktop/images/01112025/00/54/image_01112025_00_54_13_3566.jpg
/home/pi/Desktop/images/01112025/00/55/image_01112025_00_55_13_3687.jpg
/home/pi/Desktop/images/01112025/00/55/image_01112025_00_55_16_2686.jpg
/home/pi/Desktop/images/01112025/00/55/image_01112025_00_55_21_2731.jpg
/home/pi/Desktop/images/01112025/00/55/image_01112025_00_55_28_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":["1397167118","1397167048","1397167083","1397167035","1397167050","1397167047"],"photo_ids_order":["1397167035","1397167047","1397167048","1397167050","1397167083","1397167118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/56c77e06a5cf05b0d28ef6748b35d237.jpg","text":"TemporaryFile(/tmp/multipartBody6092031927460431874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569743257,"filename":"image_01112025_00_55_28_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8a6dd0a8dd6288c0cacacf287ba9d3e8.jpg","text":"TemporaryFile(/tmp/multipartBody1643725031106555083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569743257,"filename":"image_01112025_00_55_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/1/7bf9a086f4f313734b681f5f0bed17eb.jpg","text":"TemporaryFile(/tmp/multipartBody8420594322421840640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569743257,"filename":"image_01112025_00_55_21_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/1/0043d9a694e3e1fd575c2b88bf2692e4.jpg","text":"TemporaryFile(/tmp/multipartBody7596124009228298354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569743257,"filename":"image_01112025_00_54_00_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bfef73ec1681363f7fb5b6bb8ca6d1a8.jpg","text":"TemporaryFile(/tmp/multipartBody6362985655993172964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569743257,"filename":"image_01112025_00_55_16_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/1/37839cba4b4b53ef78d000ef8b8e8f1b.jpg","text":"TemporaryFile(/tmp/multipartBody432423920670700832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569743257,"filename":"image_01112025_00_54_13_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397167048","file1":"1397167047","file0":"1397167035","file4":"1397167083","file5":"1397167118","file3":"1397167050"},"map_files_photo_id_array":[{"photo_id":"1397167118","filename":"file5"},{"photo_id":"1397167048","filename":"file2"},{"photo_id":"1397167083","filename":"file4"},{"photo_id":"1397167047","filename":"file1"},{"photo_id":"1397167035","filename":"file0"},{"photo_id":"1397167050","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397167118":["hashtag1","hashtag2"]},{"1397167048":["hashtag1","hashtag2"]},{"1397167083":["hashtag1","hashtag2"]},{"1397167035":["hashtag1","hashtag2"]},{"1397167050":["hashtag1","hashtag2"]},{"1397167047":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397167118, 1397167048, 1397167083, 1397167035, 1397167050, 1397167047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24159264564514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 07:15:22.430050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/13/image_01122025_07_13_34_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/13/image_01122025_07_13_34_9659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397167239"],"photo_id":"1397167239","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/baad067b2be5dd326fe6da1df2b4a033.jpg","text":"TemporaryFile(/tmp/multipartBody8205237051600860474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569782931,"filename":"image_01122025_07_13_34_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1397167239"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1397167239"}],"hashtags":[],"portfolio_id":"29033749","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.099547624588013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 07:15:42.511029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/55/image_01112025_00_55_37_2628.jpg', '/home/pi/Desktop/images/01112025/00/55/image_01112025_00_55_40_2931.jpg', '/home/pi/Desktop/images/01112025/00/55/image_01112025_00_55_43_3618.jpg', '/home/pi/Desktop/images/01112025/00/55/image_01112025_00_55_46_2675.jpg', '/home/pi/Desktop/images/01112025/00/55/image_01112025_00_55_48_2575.jpg', '/home/pi/Desktop/images/01112025/00/55/image_01112025_00_55_55_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/55/image_01112025_00_55_37_2628.jpg
/home/pi/Desktop/images/01112025/00/55/image_01112025_00_55_40_2931.jpg
/home/pi/Desktop/images/01112025/00/55/image_01112025_00_55_43_3618.jpg
/home/pi/Desktop/images/01112025/00/55/image_01112025_00_55_46_2675.jpg
/home/pi/Desktop/images/01112025/00/55/image_01112025_00_55_48_2575.jpg
/home/pi/Desktop/images/01112025/00/55/image_01112025_00_55_55_2594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397167601","1397167480","1397167522","1397167405","1397167557","1397167443"],"photo_ids_order":["1397167405","1397167443","1397167480","1397167522","1397167557","1397167601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c8e0ab331f6e2deac463560a81e48a57.jpg","text":"TemporaryFile(/tmp/multipartBody7026894389482451236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569803349,"filename":"image_01112025_00_55_55_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/1/112ee8a49f3b3fc6d5084c864b2135ac.jpg","text":"TemporaryFile(/tmp/multipartBody7012549786799469376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569803349,"filename":"image_01112025_00_55_43_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/1/aaaa94a05d8eca23ef149d36f8f58a9f.jpg","text":"TemporaryFile(/tmp/multipartBody4240810488363843826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569803349,"filename":"image_01112025_00_55_46_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/1/ca40bcd4a545484a08f3ad70fadc39d8.jpg","text":"TemporaryFile(/tmp/multipartBody4129856297310075415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569803349,"filename":"image_01112025_00_55_37_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/1/dfe31f954271901c8e8a05bf22b8301b.jpg","text":"TemporaryFile(/tmp/multipartBody2147033042340947340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569803349,"filename":"image_01112025_00_55_48_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/1/4eb2b328c97fefcfa0cf731a674c9452.jpg","text":"TemporaryFile(/tmp/multipartBody7475979383438375643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569803349,"filename":"image_01112025_00_55_40_2931.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397167480","file1":"1397167443","file0":"1397167405","file4":"1397167557","file5":"1397167601","file3":"1397167522"},"map_files_photo_id_array":[{"photo_id":"1397167601","filename":"file5"},{"photo_id":"1397167480","filename":"file2"},{"photo_id":"1397167557","filename":"file4"},{"photo_id":"1397167443","filename":"file1"},{"photo_id":"1397167405","filename":"file0"},{"photo_id":"1397167522","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397167601":["hashtag1","hashtag2"]},{"1397167480":["hashtag1","hashtag2"]},{"1397167522":["hashtag1","hashtag2"]},{"1397167405":["hashtag1","hashtag2"]},{"1397167557":["hashtag1","hashtag2"]},{"1397167443":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397167601, 1397167480, 1397167522, 1397167405, 1397167557, 1397167443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83170938491821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 07:16:22.819375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/14/image_01122025_07_14_23_9646.jpg', '/home/pi/Desktop/images/01122025/07/15/image_01122025_07_15_14_9887.jpg', '/home/pi/Desktop/images/01122025/07/15/image_01122025_07_15_24_9676.jpg', '/home/pi/Desktop/images/01122025/07/15/image_01122025_07_15_44_7723.jpg', '/home/pi/Desktop/images/01122025/07/15/image_01122025_07_15_54_9705.jpg', '/home/pi/Desktop/images/01122025/07/16/image_01122025_07_16_24_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/14/image_01122025_07_14_23_9646.jpg
/home/pi/Desktop/images/01122025/07/15/image_01122025_07_15_14_9887.jpg
/home/pi/Desktop/images/01122025/07/15/image_01122025_07_15_24_9676.jpg
/home/pi/Desktop/images/01122025/07/15/image_01122025_07_15_44_7723.jpg
/home/pi/Desktop/images/01122025/07/15/image_01122025_07_15_54_9705.jpg
/home/pi/Desktop/images/01122025/07/16/image_01122025_07_16_24_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":["1397167675","1397167680","1397167683","1397167671","1397167697","1397167733"],"photo_ids_order":["1397167671","1397167675","1397167680","1397167683","1397167697","1397167733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/97d279ff9f408ba1d19a721017122eed.jpg","text":"TemporaryFile(/tmp/multipartBody4057951810555938430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569843578,"filename":"image_01122025_07_15_14_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4524871c2f9fd9d9a540bd9ff9fd07a4.jpg","text":"TemporaryFile(/tmp/multipartBody7865308652138814305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569843578,"filename":"image_01122025_07_15_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/1/f66bf01073b967aa172f3097c91ec09d.jpg","text":"TemporaryFile(/tmp/multipartBody7101681888609413555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569843578,"filename":"image_01122025_07_15_44_7723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7c1d3925ab3af3e1b8a07dd5b3788540.jpg","text":"TemporaryFile(/tmp/multipartBody6544255288046519452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569843578,"filename":"image_01122025_07_14_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/1/f265d6f360126d4e6fd7ac0098a3682c.jpg","text":"TemporaryFile(/tmp/multipartBody7790593201572757526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569843578,"filename":"image_01122025_07_15_54_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/300b20fc9bfc6d946223c9e4fa12ce03.jpg","text":"TemporaryFile(/tmp/multipartBody4107641188451944492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569843578,"filename":"image_01122025_07_16_24_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397167680","file1":"1397167675","file0":"1397167671","file4":"1397167697","file5":"1397167733","file3":"1397167683"},"map_files_photo_id_array":[{"photo_id":"1397167733","filename":"file5"},{"photo_id":"1397167680","filename":"file2"},{"photo_id":"1397167697","filename":"file4"},{"photo_id":"1397167675","filename":"file1"},{"photo_id":"1397167671","filename":"file0"},{"photo_id":"1397167683","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397167675":["hashtag1","hashtag2"]},{"1397167680":["hashtag1","hashtag2"]},{"1397167683":["hashtag1","hashtag2"]},{"1397167671":["hashtag1","hashtag2"]},{"1397167697":["hashtag1","hashtag2"]},{"1397167733":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397167675, 1397167680, 1397167683, 1397167671, 1397167697, 1397167733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62814259529114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 07:17:11.842249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_26_3550.jpg', '/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_30_3993.jpg', '/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_36_3533.jpg', '/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_38_2714.jpg', '/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_41_2597.jpg', '/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_44_3548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_26_3550.jpg
/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_30_3993.jpg
/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_36_3533.jpg
/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_38_2714.jpg
/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_41_2597.jpg
/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_44_3548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397167894","1397167855","1397167885","1397167890","1397167869","1397167898"],"photo_ids_order":["1397167855","1397167869","1397167885","1397167890","1397167894","1397167898"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c00bb7bae15b5b2ed5b9e0e7b20c4c2d.jpg","text":"TemporaryFile(/tmp/multipartBody3883310386646903249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569893307,"filename":"image_25112025_22_02_41_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/1/26f7362858b2bd737b8e04d7f8f1d7d6.jpg","text":"TemporaryFile(/tmp/multipartBody728173775269861267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569893307,"filename":"image_25112025_22_02_26_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a19d860610e3daaa282c7c18f97fd246.jpg","text":"TemporaryFile(/tmp/multipartBody2739822220547989394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569893307,"filename":"image_25112025_22_02_36_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/1/aad1c9604621728478498613079542da.jpg","text":"TemporaryFile(/tmp/multipartBody5927113611452268156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569893307,"filename":"image_25112025_22_02_38_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/1/f13d0d270bebb2bf64f07ca83d3a3619.jpg","text":"TemporaryFile(/tmp/multipartBody3718636759924370414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569893307,"filename":"image_25112025_22_02_30_3993.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/48a172fba95f767e830a2a0d0582b850.jpg","text":"TemporaryFile(/tmp/multipartBody6372033648908634553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569893307,"filename":"image_25112025_22_02_44_3548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397167885","file1":"1397167869","file0":"1397167855","file4":"1397167894","file5":"1397167898","file3":"1397167890"},"map_files_photo_id_array":[{"photo_id":"1397167898","filename":"file5"},{"photo_id":"1397167885","filename":"file2"},{"photo_id":"1397167894","filename":"file4"},{"photo_id":"1397167869","filename":"file1"},{"photo_id":"1397167855","filename":"file0"},{"photo_id":"1397167890","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397167894":["hashtag1","hashtag2"]},{"1397167855":["hashtag1","hashtag2"]},{"1397167885":["hashtag1","hashtag2"]},{"1397167890":["hashtag1","hashtag2"]},{"1397167869":["hashtag1","hashtag2"]},{"1397167898":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397167894, 1397167855, 1397167885, 1397167890, 1397167869, 1397167898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.47464299201965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:18:02.409044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/16/image_01122025_07_16_34_10648.jpg', '/home/pi/Desktop/images/01122025/07/16/image_01122025_07_16_44_9920.jpg', '/home/pi/Desktop/images/01122025/07/16/image_01122025_07_16_54_10031.jpg', '/home/pi/Desktop/images/01122025/07/16/image_01122025_07_17_04_9621.jpg', '/home/pi/Desktop/images/01122025/07/17/image_01122025_07_17_34_10672.jpg', '/home/pi/Desktop/images/01122025/07/17/image_01122025_07_17_44_9500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/16/image_01122025_07_16_34_10648.jpg
/home/pi/Desktop/images/01122025/07/16/image_01122025_07_16_44_9920.jpg
/home/pi/Desktop/images/01122025/07/16/image_01122025_07_16_54_10031.jpg
/home/pi/Desktop/images/01122025/07/16/image_01122025_07_17_04_9621.jpg
/home/pi/Desktop/images/01122025/07/17/image_01122025_07_17_34_10672.jpg
/home/pi/Desktop/images/01122025/07/17/image_01122025_07_17_44_9500.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397167922","1397167930","1397167915","1397167920","1397167917","1397167926"],"photo_ids_order":["1397167915","1397167917","1397167920","1397167922","1397167926","1397167930"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c99f1ff37ae4387be532790327325b2b.jpg","text":"TemporaryFile(/tmp/multipartBody4441427772433105169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569943194,"filename":"image_01122025_07_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/1/7de128815afc0693c3b77755765aa0d4.jpg","text":"TemporaryFile(/tmp/multipartBody5684263277508650119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569943194,"filename":"image_01122025_07_17_44_9500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/25d220e750abf862607522cd9c97789d.jpg","text":"TemporaryFile(/tmp/multipartBody4101891317382990413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569943194,"filename":"image_01122025_07_16_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ab1909d15f74c772dbdb0b01b73ad2c1.jpg","text":"TemporaryFile(/tmp/multipartBody2527497528911629743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569943194,"filename":"image_01122025_07_16_54_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/1/256753926f07aa4f27dbf8132f829e6c.jpg","text":"TemporaryFile(/tmp/multipartBody1620117386732379028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569943194,"filename":"image_01122025_07_16_44_9920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9c575ae5cb73259357c05891e4c7473b.jpg","text":"TemporaryFile(/tmp/multipartBody7604401693538356422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764569943194,"filename":"image_01122025_07_17_34_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397167920","file1":"1397167917","file0":"1397167915","file4":"1397167926","file5":"1397167930","file3":"1397167922"},"map_files_photo_id_array":[{"photo_id":"1397167930","filename":"file5"},{"photo_id":"1397167920","filename":"file2"},{"photo_id":"1397167926","filename":"file4"},{"photo_id":"1397167917","filename":"file1"},{"photo_id":"1397167915","filename":"file0"},{"photo_id":"1397167922","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397167922":["hashtag1","hashtag2"]},{"1397167930":["hashtag1","hashtag2"]},{"1397167915":["hashtag1","hashtag2"]},{"1397167920":["hashtag1","hashtag2"]},{"1397167917":["hashtag1","hashtag2"]},{"1397167926":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397167922, 1397167930, 1397167915, 1397167920, 1397167917, 1397167926)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.22641634941101 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:19:03.199585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/17/image_01122025_07_17_54_9829.jpg', '/home/pi/Desktop/images/01122025/07/18/image_01122025_07_18_14_9698.jpg', '/home/pi/Desktop/images/01122025/07/18/image_01122025_07_18_24_9778.jpg', '/home/pi/Desktop/images/01122025/07/18/image_01122025_07_18_33_9649.jpg', '/home/pi/Desktop/images/01122025/07/18/image_01122025_07_18_44_10812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/17/image_01122025_07_17_54_9829.jpg
/home/pi/Desktop/images/01122025/07/18/image_01122025_07_18_14_9698.jpg
/home/pi/Desktop/images/01122025/07/18/image_01122025_07_18_24_9778.jpg
/home/pi/Desktop/images/01122025/07/18/image_01122025_07_18_33_9649.jpg
/home/pi/Desktop/images/01122025/07/18/image_01122025_07_18_44_10812.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397167963","1397167957","1397167953","1397167959","1397167955"],"photo_ids_order":["1397167953","1397167955","1397167957","1397167959","1397167963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bca504fdd04deb2ee7ddc9302e6e19c3.jpg","text":"TemporaryFile(/tmp/multipartBody7332068984079996215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570004082,"filename":"image_01122025_07_18_44_10812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f1451f30c61d72cd71f7b59337f3f61d.jpg","text":"TemporaryFile(/tmp/multipartBody303219420692504016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570004082,"filename":"image_01122025_07_18_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/1/3da897db66e8b9f1b5cbd878095b23f2.jpg","text":"TemporaryFile(/tmp/multipartBody1403583529830360019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570004082,"filename":"image_01122025_07_17_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/1/1c66dff8f03bc96d5220892d104d9bd6.jpg","text":"TemporaryFile(/tmp/multipartBody6186005937388597609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570004082,"filename":"image_01122025_07_18_33_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/1/f6567b670a35da4dc5237e97ecbc1d8c.jpg","text":"TemporaryFile(/tmp/multipartBody151876126807410649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570004082,"filename":"image_01122025_07_18_14_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397167957","file1":"1397167955","file0":"1397167953","file4":"1397167963","file3":"1397167959"},"map_files_photo_id_array":[{"photo_id":"1397167957","filename":"file2"},{"photo_id":"1397167963","filename":"file4"},{"photo_id":"1397167955","filename":"file1"},{"photo_id":"1397167953","filename":"file0"},{"photo_id":"1397167959","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397167963":["hashtag1","hashtag2"]},{"1397167957":["hashtag1","hashtag2"]},{"1397167953":["hashtag1","hashtag2"]},{"1397167959":["hashtag1","hashtag2"]},{"1397167955":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397167963, 1397167957, 1397167953, 1397167959, 1397167955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.12688159942627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 07:19:42.287208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/55/image_01112025_00_56_01_3690.jpg', '/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_06_2672.jpg', '/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_09_2820.jpg', '/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_15_2284.jpg', '/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_22_2732.jpg', '/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_28_2727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/55/image_01112025_00_56_01_3690.jpg
/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_06_2672.jpg
/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_09_2820.jpg
/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_15_2284.jpg
/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_22_2732.jpg
/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_28_2727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397167984","1397167978","1397167986","1397167980","1397167988","1397167982"],"photo_ids_order":["1397167978","1397167980","1397167982","1397167984","1397167986","1397167988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/65d78832c4372577ccd416420e25838d.jpg","text":"TemporaryFile(/tmp/multipartBody8868128728796697133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570043266,"filename":"image_01112025_00_56_15_2284.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4030c4a06a0b7f5ed4420e322646f89c.jpg","text":"TemporaryFile(/tmp/multipartBody187237746334792153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570043266,"filename":"image_01112025_00_56_01_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/1/cd06925e07d7bb85539f65592cc4a49d.jpg","text":"TemporaryFile(/tmp/multipartBody1406487862688156164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570043266,"filename":"image_01112025_00_56_22_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/1/0533adde4b5dcdaf4685086d1eaeeb8c.jpg","text":"TemporaryFile(/tmp/multipartBody8128637239959601684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570043266,"filename":"image_01112025_00_56_06_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ef353f2bc9ce819937e1b575ee2e2821.jpg","text":"TemporaryFile(/tmp/multipartBody1610960671561157402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570043266,"filename":"image_01112025_00_56_28_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/1/3e2e78decd57ffad3bff8b7f62ccfb48.jpg","text":"TemporaryFile(/tmp/multipartBody7770545954266133725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570043266,"filename":"image_01112025_00_56_09_2820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397167982","file1":"1397167980","file0":"1397167978","file4":"1397167986","file5":"1397167988","file3":"1397167984"},"map_files_photo_id_array":[{"photo_id":"1397167988","filename":"file5"},{"photo_id":"1397167982","filename":"file2"},{"photo_id":"1397167986","filename":"file4"},{"photo_id":"1397167980","filename":"file1"},{"photo_id":"1397167978","filename":"file0"},{"photo_id":"1397167984","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397167984":["hashtag1","hashtag2"]},{"1397167978":["hashtag1","hashtag2"]},{"1397167986":["hashtag1","hashtag2"]},{"1397167980":["hashtag1","hashtag2"]},{"1397167988":["hashtag1","hashtag2"]},{"1397167982":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397167984, 1397167978, 1397167986, 1397167980, 1397167988, 1397167982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.70513892173767 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 07:20:32.529042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_47_2633.jpg', '/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_51_3539.jpg', '/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_54_2887.jpg', '/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_56_2657.jpg', '/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_59_2646.jpg', '/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_03_3789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_47_2633.jpg
/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_51_3539.jpg
/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_54_2887.jpg
/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_56_2657.jpg
/home/pi/Desktop/images/25112025/22/02/image_25112025_22_02_59_2646.jpg
/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_03_3789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397168032","1397168005","1397168034","1397168030","1397168000","1397168018"],"photo_ids_order":["1397168000","1397168005","1397168018","1397168030","1397168032","1397168034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0216798f7c70b432bcff273a9e229012.jpg","text":"TemporaryFile(/tmp/multipartBody5364778833316708855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570094277,"filename":"image_25112025_22_02_59_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/1/c810358c6403eddc7eb8c74f6e9f0788.jpg","text":"TemporaryFile(/tmp/multipartBody5117462775032653041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570094277,"filename":"image_25112025_22_02_51_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c4ecbf1e3102b7bed7e8d648322c92df.jpg","text":"TemporaryFile(/tmp/multipartBody718471010995132506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570094277,"filename":"image_25112025_22_03_03_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/edd392f8490295d20b03c2513139eb37.jpg","text":"TemporaryFile(/tmp/multipartBody2211976946362912396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570094277,"filename":"image_25112025_22_02_56_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a8c24f36417eef8f8f9a837136a122e0.jpg","text":"TemporaryFile(/tmp/multipartBody8971944392866063430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570094277,"filename":"image_25112025_22_02_47_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8cbfb1eec3f3643fd4affc09d5ecbbd2.jpg","text":"TemporaryFile(/tmp/multipartBody5616775348952068522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570094277,"filename":"image_25112025_22_02_54_2887.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397168018","file1":"1397168005","file0":"1397168000","file4":"1397168032","file5":"1397168034","file3":"1397168030"},"map_files_photo_id_array":[{"photo_id":"1397168034","filename":"file5"},{"photo_id":"1397168018","filename":"file2"},{"photo_id":"1397168032","filename":"file4"},{"photo_id":"1397168005","filename":"file1"},{"photo_id":"1397168000","filename":"file0"},{"photo_id":"1397168030","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397168032":["hashtag1","hashtag2"]},{"1397168005":["hashtag1","hashtag2"]},{"1397168034":["hashtag1","hashtag2"]},{"1397168030":["hashtag1","hashtag2"]},{"1397168000":["hashtag1","hashtag2"]},{"1397168018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397168032, 1397168005, 1397168034, 1397168030, 1397168000, 1397168018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.814770221710205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 07:21:12.580193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_05_2791.jpg', '/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_08_2574.jpg', '/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_12_3656.jpg', '/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_14_2646.jpg', '/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_17_2596.jpg', '/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_20_3594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_05_2791.jpg
/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_08_2574.jpg
/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_12_3656.jpg
/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_14_2646.jpg
/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_17_2596.jpg
/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_20_3594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397168053","1397168041","1397168038","1397168055","1397168049","1397168045"],"photo_ids_order":["1397168038","1397168041","1397168045","1397168049","1397168053","1397168055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/735b4e911a77cab1e0802f0acbddeccc.jpg","text":"TemporaryFile(/tmp/multipartBody7150489178127366039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570134206,"filename":"image_25112025_22_03_17_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9ca9f2b5cac3d4e00ee4b94fc25a9670.jpg","text":"TemporaryFile(/tmp/multipartBody2876686220713609185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570134206,"filename":"image_25112025_22_03_08_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/1/ecda01dc64617e35a6b6dbc3def98e78.jpg","text":"TemporaryFile(/tmp/multipartBody5942981952809673957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570134206,"filename":"image_25112025_22_03_05_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/1/5e7fb0cae1ec424db988106dc733cb10.jpg","text":"TemporaryFile(/tmp/multipartBody9031563387103554085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570134206,"filename":"image_25112025_22_03_20_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/1/78a5925742f0c07ec384b11f6b741db2.jpg","text":"TemporaryFile(/tmp/multipartBody7268858291602679457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570134206,"filename":"image_25112025_22_03_14_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/1/70f994b60e60b4293f677ac69eb084ce.jpg","text":"TemporaryFile(/tmp/multipartBody4827053990813344529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570134206,"filename":"image_25112025_22_03_12_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397168045","file1":"1397168041","file0":"1397168038","file4":"1397168053","file5":"1397168055","file3":"1397168049"},"map_files_photo_id_array":[{"photo_id":"1397168055","filename":"file5"},{"photo_id":"1397168045","filename":"file2"},{"photo_id":"1397168053","filename":"file4"},{"photo_id":"1397168041","filename":"file1"},{"photo_id":"1397168038","filename":"file0"},{"photo_id":"1397168049","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397168053":["hashtag1","hashtag2"]},{"1397168041":["hashtag1","hashtag2"]},{"1397168038":["hashtag1","hashtag2"]},{"1397168055":["hashtag1","hashtag2"]},{"1397168049":["hashtag1","hashtag2"]},{"1397168045":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397168053, 1397168041, 1397168038, 1397168055, 1397168049, 1397168045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74944829940796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:22:02.515981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/18/image_01122025_07_18_54_9800.jpg', '/home/pi/Desktop/images/01122025/07/19/image_01122025_07_19_13_9719.jpg', '/home/pi/Desktop/images/01122025/07/19/image_01122025_07_19_24_10712.jpg', '/home/pi/Desktop/images/01122025/07/19/image_01122025_07_19_34_9643.jpg', '/home/pi/Desktop/images/01122025/07/20/image_01122025_07_21_04_10713.jpg', '/home/pi/Desktop/images/01122025/07/21/image_01122025_07_21_24_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/18/image_01122025_07_18_54_9800.jpg
/home/pi/Desktop/images/01122025/07/19/image_01122025_07_19_13_9719.jpg
/home/pi/Desktop/images/01122025/07/19/image_01122025_07_19_24_10712.jpg
/home/pi/Desktop/images/01122025/07/19/image_01122025_07_19_34_9643.jpg
/home/pi/Desktop/images/01122025/07/20/image_01122025_07_21_04_10713.jpg
/home/pi/Desktop/images/01122025/07/21/image_01122025_07_21_24_9751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397168085","1397168073","1397168076","1397168081","1397168078","1397168072"],"photo_ids_order":["1397168072","1397168073","1397168076","1397168078","1397168081","1397168085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/57ce671f83ac4a2f398b666b3a9e2cf8.jpg","text":"TemporaryFile(/tmp/multipartBody1314871466397579480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570183299,"filename":"image_01122025_07_21_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/1/872f7963db55922769caacddd78b38a6.jpg","text":"TemporaryFile(/tmp/multipartBody1819743617606582535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570183299,"filename":"image_01122025_07_19_13_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/23427b2707cf7d866a99109d110f8c0a.jpg","text":"TemporaryFile(/tmp/multipartBody310678731336892470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570183299,"filename":"image_01122025_07_19_24_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/1/5fa09d44d973ec317ec0810199352a8f.jpg","text":"TemporaryFile(/tmp/multipartBody5084699902244011826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570183299,"filename":"image_01122025_07_21_04_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0f9ea86d92c94d957d7aeb10a33f3704.jpg","text":"TemporaryFile(/tmp/multipartBody619083451719595496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570183299,"filename":"image_01122025_07_19_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/1/e4cbfa88421a41cfd246ca7b7003386a.jpg","text":"TemporaryFile(/tmp/multipartBody637216492726129407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570183299,"filename":"image_01122025_07_18_54_9800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397168076","file1":"1397168073","file0":"1397168072","file4":"1397168081","file5":"1397168085","file3":"1397168078"},"map_files_photo_id_array":[{"photo_id":"1397168085","filename":"file5"},{"photo_id":"1397168076","filename":"file2"},{"photo_id":"1397168081","filename":"file4"},{"photo_id":"1397168073","filename":"file1"},{"photo_id":"1397168072","filename":"file0"},{"photo_id":"1397168078","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397168085":["hashtag1","hashtag2"]},{"1397168073":["hashtag1","hashtag2"]},{"1397168076":["hashtag1","hashtag2"]},{"1397168081":["hashtag1","hashtag2"]},{"1397168078":["hashtag1","hashtag2"]},{"1397168072":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397168085, 1397168073, 1397168076, 1397168081, 1397168078, 1397168072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53178286552429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 07:22:42.093326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_31_2672.jpg', '/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_40_2746.jpg', '/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_42_2709.jpg', '/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_46_3730.jpg', '/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_49_2789.jpg', '/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_52_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_31_2672.jpg
/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_40_2746.jpg
/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_42_2709.jpg
/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_46_3730.jpg
/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_49_2789.jpg
/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_52_2767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397168104","1397168107","1397168097","1397168100","1397168106","1397168102"],"photo_ids_order":["1397168097","1397168100","1397168102","1397168104","1397168106","1397168107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c6484e981800edd611847b451e8f3444.jpg","text":"TemporaryFile(/tmp/multipartBody4263836966107485851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570222971,"filename":"image_01112025_00_56_46_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3ba081840dc5d1b996069ca4fb4fae8f.jpg","text":"TemporaryFile(/tmp/multipartBody5228224136078840654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570222971,"filename":"image_01112025_00_56_52_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/811384c5d637e607b1d507ab0f899243.jpg","text":"TemporaryFile(/tmp/multipartBody5225380270600060015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570222971,"filename":"image_01112025_00_56_31_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/12f62d921503f6dc0e4313bccc005565.jpg","text":"TemporaryFile(/tmp/multipartBody6798220406273163727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570222971,"filename":"image_01112025_00_56_40_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/1/0f7d4760b1785539e11f85b1814f6067.jpg","text":"TemporaryFile(/tmp/multipartBody5559762082836569874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570222971,"filename":"image_01112025_00_56_49_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/1/65b7cd53ff31fd61c7783fee6575f8de.jpg","text":"TemporaryFile(/tmp/multipartBody7537890181798704330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570222971,"filename":"image_01112025_00_56_42_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397168102","file1":"1397168100","file0":"1397168097","file4":"1397168106","file5":"1397168107","file3":"1397168104"},"map_files_photo_id_array":[{"photo_id":"1397168107","filename":"file5"},{"photo_id":"1397168102","filename":"file2"},{"photo_id":"1397168106","filename":"file4"},{"photo_id":"1397168100","filename":"file1"},{"photo_id":"1397168097","filename":"file0"},{"photo_id":"1397168104","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397168104":["hashtag1","hashtag2"]},{"1397168107":["hashtag1","hashtag2"]},{"1397168097":["hashtag1","hashtag2"]},{"1397168100":["hashtag1","hashtag2"]},{"1397168106":["hashtag1","hashtag2"]},{"1397168102":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397168104, 1397168107, 1397168097, 1397168100, 1397168106, 1397168102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.621939182281494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 07:23:22.290776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/21/image_01122025_07_21_54_9671.jpg', '/home/pi/Desktop/images/01122025/07/21/image_01122025_07_22_04_9819.jpg', '/home/pi/Desktop/images/01122025/07/22/image_01122025_07_22_14_10598.jpg', '/home/pi/Desktop/images/01122025/07/22/image_01122025_07_22_24_9709.jpg', '/home/pi/Desktop/images/01122025/07/22/image_01122025_07_22_34_9646.jpg', '/home/pi/Desktop/images/01122025/07/22/image_01122025_07_22_44_10688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/21/image_01122025_07_21_54_9671.jpg
/home/pi/Desktop/images/01122025/07/21/image_01122025_07_22_04_9819.jpg
/home/pi/Desktop/images/01122025/07/22/image_01122025_07_22_14_10598.jpg
/home/pi/Desktop/images/01122025/07/22/image_01122025_07_22_24_9709.jpg
/home/pi/Desktop/images/01122025/07/22/image_01122025_07_22_34_9646.jpg
/home/pi/Desktop/images/01122025/07/22/image_01122025_07_22_44_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":["1397168140","1397168148","1397168136","1397168156","1397168126","1397168117"],"photo_ids_order":["1397168117","1397168126","1397168136","1397168140","1397168148","1397168156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2dfc52ae87382f379cdf6d05d92d024d.jpg","text":"TemporaryFile(/tmp/multipartBody1480978541782737784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570263050,"filename":"image_01122025_07_22_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/1/0b662d28aa809f4c7a6150474e5328f7.jpg","text":"TemporaryFile(/tmp/multipartBody5279588961252979829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570263050,"filename":"image_01122025_07_22_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/1/9e886d522d468347cd93e4299a8a4110.jpg","text":"TemporaryFile(/tmp/multipartBody8492978921666542353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570263050,"filename":"image_01122025_07_22_14_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/1/ade549877eb3e85b404960269df3c7c6.jpg","text":"TemporaryFile(/tmp/multipartBody3430565466742651083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570263050,"filename":"image_01122025_07_22_44_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/1/b087e7d7edf7b7c9cdae4582f673d5f4.jpg","text":"TemporaryFile(/tmp/multipartBody1242394172521725291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570263050,"filename":"image_01122025_07_22_04_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5ec9d5dcb40f9efebe963e0f33d2cc91.jpg","text":"TemporaryFile(/tmp/multipartBody7722879704238718634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570263050,"filename":"image_01122025_07_21_54_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397168136","file1":"1397168126","file0":"1397168117","file4":"1397168148","file5":"1397168156","file3":"1397168140"},"map_files_photo_id_array":[{"photo_id":"1397168156","filename":"file5"},{"photo_id":"1397168136","filename":"file2"},{"photo_id":"1397168148","filename":"file4"},{"photo_id":"1397168126","filename":"file1"},{"photo_id":"1397168117","filename":"file0"},{"photo_id":"1397168140","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397168140":["hashtag1","hashtag2"]},{"1397168148":["hashtag1","hashtag2"]},{"1397168136":["hashtag1","hashtag2"]},{"1397168156":["hashtag1","hashtag2"]},{"1397168126":["hashtag1","hashtag2"]},{"1397168117":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397168140, 1397168148, 1397168136, 1397168156, 1397168126, 1397168117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54835295677185 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-01 07:24:12.402355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_23_2627.jpg', '/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_26_2658.jpg', '/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_29_3648.jpg', '/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_32_2740.jpg', '/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_45_13188.jpg', '/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_47_1776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_23_2627.jpg
/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_26_2658.jpg
/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_29_3648.jpg
/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_32_2740.jpg
/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_45_13188.jpg
/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_47_1776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397168164","1397168166","1397168186","1397168174","1397168179","1397168170"],"photo_ids_order":["1397168164","1397168166","1397168170","1397168174","1397168179","1397168186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0d81e2644e42fbe3628e96be0180f951.jpg","text":"TemporaryFile(/tmp/multipartBody9201719855083445301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570314060,"filename":"image_25112025_22_03_23_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/1/8c5d5cd0253d897ed957d5eec3f7971c.jpg","text":"TemporaryFile(/tmp/multipartBody1342201309316732526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570314060,"filename":"image_25112025_22_03_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/1/eada9fbea793c4c0c6dae87af6e0a470.jpg","text":"TemporaryFile(/tmp/multipartBody7660666742153618367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570314060,"filename":"image_25112025_22_03_47_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/1/d7869132c8c07522f38c7fe6f126d2a4.jpg","text":"TemporaryFile(/tmp/multipartBody9166946633330503033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570314060,"filename":"image_25112025_22_03_32_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/1/7c472a3b0c2abfff5f2b558cfe88f3b1.jpg","text":"TemporaryFile(/tmp/multipartBody7827862117416200100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570314060,"filename":"image_25112025_22_03_45_13188.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b1f657a733f9c8bed62fdb3354b23f00.jpg","text":"TemporaryFile(/tmp/multipartBody7820095072652269606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570314060,"filename":"image_25112025_22_03_29_3648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397168170","file1":"1397168166","file0":"1397168164","file4":"1397168179","file5":"1397168186","file3":"1397168174"},"map_files_photo_id_array":[{"photo_id":"1397168186","filename":"file5"},{"photo_id":"1397168170","filename":"file2"},{"photo_id":"1397168179","filename":"file4"},{"photo_id":"1397168166","filename":"file1"},{"photo_id":"1397168164","filename":"file0"},{"photo_id":"1397168174","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397168164":["hashtag1","hashtag2"]},{"1397168166":["hashtag1","hashtag2"]},{"1397168186":["hashtag1","hashtag2"]},{"1397168174":["hashtag1","hashtag2"]},{"1397168179":["hashtag1","hashtag2"]},{"1397168170":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397168164, 1397168166, 1397168186, 1397168174, 1397168179, 1397168170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.589205503463745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:25:03.359100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/22/image_01122025_07_22_54_9699.jpg', '/home/pi/Desktop/images/01122025/07/23/image_01122025_07_23_24_9592.jpg', '/home/pi/Desktop/images/01122025/07/23/image_01122025_07_23_44_10622.jpg', '/home/pi/Desktop/images/01122025/07/23/image_01122025_07_24_04_9676.jpg', '/home/pi/Desktop/images/01122025/07/24/image_01122025_07_24_24_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/22/image_01122025_07_22_54_9699.jpg
/home/pi/Desktop/images/01122025/07/23/image_01122025_07_23_24_9592.jpg
/home/pi/Desktop/images/01122025/07/23/image_01122025_07_23_44_10622.jpg
/home/pi/Desktop/images/01122025/07/23/image_01122025_07_24_04_9676.jpg
/home/pi/Desktop/images/01122025/07/24/image_01122025_07_24_24_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":["1397168200","1397168204","1397168207","1397168216","1397168201"],"photo_ids_order":["1397168200","1397168201","1397168204","1397168207","1397168216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b6ceec459951d98a1c822545b7c141f2.jpg","text":"TemporaryFile(/tmp/multipartBody7387470382175203253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570364136,"filename":"image_01122025_07_22_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/1/304b611b6cfa3dd65e147e9d5c7ea7d5.jpg","text":"TemporaryFile(/tmp/multipartBody184138569963193239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570364136,"filename":"image_01122025_07_23_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/1/06cbf225e81242b00074cea692b06cbe.jpg","text":"TemporaryFile(/tmp/multipartBody7528604783678213878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570364136,"filename":"image_01122025_07_24_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/1/a66448c635fe6b97f3b276d80836f10e.jpg","text":"TemporaryFile(/tmp/multipartBody7244826828730531068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570364136,"filename":"image_01122025_07_24_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/1/0be1008bf1f2a3646815c52ef30eb5b7.jpg","text":"TemporaryFile(/tmp/multipartBody2834293976149124227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570364136,"filename":"image_01122025_07_23_24_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397168204","file1":"1397168201","file0":"1397168200","file4":"1397168216","file3":"1397168207"},"map_files_photo_id_array":[{"photo_id":"1397168204","filename":"file2"},{"photo_id":"1397168216","filename":"file4"},{"photo_id":"1397168201","filename":"file1"},{"photo_id":"1397168200","filename":"file0"},{"photo_id":"1397168207","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397168200":["hashtag1","hashtag2"]},{"1397168204":["hashtag1","hashtag2"]},{"1397168207":["hashtag1","hashtag2"]},{"1397168216":["hashtag1","hashtag2"]},{"1397168201":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397168200, 1397168204, 1397168207, 1397168216, 1397168201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.0429904460907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 07:25:42.629532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_54_2718.jpg', '/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_58_3733.jpg', '/home/pi/Desktop/images/01112025/00/57/image_01112025_00_57_01_2712.jpg', '/home/pi/Desktop/images/01112025/00/57/image_01112025_00_57_04_2855.jpg', '/home/pi/Desktop/images/01112025/00/57/image_01112025_00_57_13_2772.jpg', '/home/pi/Desktop/images/01112025/00/57/image_01112025_00_57_16_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_54_2718.jpg
/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_58_3733.jpg
/home/pi/Desktop/images/01112025/00/57/image_01112025_00_57_01_2712.jpg
/home/pi/Desktop/images/01112025/00/57/image_01112025_00_57_04_2855.jpg
/home/pi/Desktop/images/01112025/00/57/image_01112025_00_57_13_2772.jpg
/home/pi/Desktop/images/01112025/00/57/image_01112025_00_57_16_2773.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.767925500869751 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:26:03.155077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/24/image_01122025_07_24_34_9837.jpg', '/home/pi/Desktop/images/01122025/07/25/image_01122025_07_25_14_9737.jpg', '/home/pi/Desktop/images/01122025/07/25/image_01122025_07_25_24_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/24/image_01122025_07_24_34_9837.jpg
/home/pi/Desktop/images/01122025/07/25/image_01122025_07_25_14_9737.jpg
/home/pi/Desktop/images/01122025/07/25/image_01122025_07_25_24_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":["1397168272","1397168267","1397168270"],"photo_ids_order":["1397168267","1397168270","1397168272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/469a2082c56deed8d1d9418cbc38af80.jpg","text":"TemporaryFile(/tmp/multipartBody3797637122648794226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570423820,"filename":"image_01122025_07_25_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/1/be7f7e706301402180f6f58120ee7aad.jpg","text":"TemporaryFile(/tmp/multipartBody4514028505138577196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570423820,"filename":"image_01122025_07_24_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/1/ecd827eb292c795b3deb3e5efa642c88.jpg","text":"TemporaryFile(/tmp/multipartBody5031990989495390597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570423820,"filename":"image_01122025_07_25_14_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397168272","file1":"1397168270","file0":"1397168267"},"map_files_photo_id_array":[{"photo_id":"1397168272","filename":"file2"},{"photo_id":"1397168270","filename":"file1"},{"photo_id":"1397168267","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397168272":["hashtag1","hashtag2"]},{"1397168267":["hashtag1","hashtag2"]},{"1397168270":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397168272, 1397168267, 1397168270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.224363803863525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 07:26:32.754594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_49_1843.jpg', '/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_51_1624.jpg', '/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_52_1565.jpg', '/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_57_1657.jpg', '/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_59_1516.jpg', '/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_02_3734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_49_1843.jpg
/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_51_1624.jpg
/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_52_1565.jpg
/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_57_1657.jpg
/home/pi/Desktop/images/25112025/22/03/image_25112025_22_03_59_1516.jpg
/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_02_3734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397168317","1397168307","1397168322","1397168291","1397168294","1397168296"],"photo_ids_order":["1397168291","1397168294","1397168296","1397168307","1397168317","1397168322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/72af6d89d3ebda5d65b7bb287ee98aed.jpg","text":"TemporaryFile(/tmp/multipartBody6046072953020850062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570460353,"filename":"image_25112025_22_03_59_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/1/0dff221107b168e0174b1597c40d4c09.jpg","text":"TemporaryFile(/tmp/multipartBody1638773977975672675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570460353,"filename":"image_25112025_22_03_57_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/1/2c48ce0c2b1541306fa5e88755ddb8af.jpg","text":"TemporaryFile(/tmp/multipartBody5992216122247604384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570460353,"filename":"image_25112025_22_04_02_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/1/f1286034c681c16556295c9092752e74.jpg","text":"TemporaryFile(/tmp/multipartBody6529309658911438356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570460353,"filename":"image_25112025_22_03_49_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/1/aeddf127e3fbc904eaebee04f9477d49.jpg","text":"TemporaryFile(/tmp/multipartBody5479011104286316964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570460353,"filename":"image_25112025_22_03_51_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/1/52c98c16defd2a970cc5836bfbf5f4b1.jpg","text":"TemporaryFile(/tmp/multipartBody9177451168624860760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570460353,"filename":"image_25112025_22_03_52_1565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397168296","file1":"1397168294","file0":"1397168291","file4":"1397168317","file5":"1397168322","file3":"1397168307"},"map_files_photo_id_array":[{"photo_id":"1397168322","filename":"file5"},{"photo_id":"1397168296","filename":"file2"},{"photo_id":"1397168317","filename":"file4"},{"photo_id":"1397168294","filename":"file1"},{"photo_id":"1397168291","filename":"file0"},{"photo_id":"1397168307","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397168317":["hashtag1","hashtag2"]},{"1397168307":["hashtag1","hashtag2"]},{"1397168322":["hashtag1","hashtag2"]},{"1397168291":["hashtag1","hashtag2"]},{"1397168294":["hashtag1","hashtag2"]},{"1397168296":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397168317, 1397168307, 1397168322, 1397168291, 1397168294, 1397168296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.59306192398071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 07:27:21.956008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/25/image_01122025_07_25_54_9545.jpg', '/home/pi/Desktop/images/01122025/07/25/image_01122025_07_26_04_10632.jpg', '/home/pi/Desktop/images/01122025/07/26/image_01122025_07_26_14_9710.jpg', '/home/pi/Desktop/images/01122025/07/26/image_01122025_07_26_24_9782.jpg', '/home/pi/Desktop/images/01122025/07/26/image_01122025_07_26_34_9655.jpg', '/home/pi/Desktop/images/01122025/07/27/image_01122025_07_27_14_10785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/25/image_01122025_07_25_54_9545.jpg
/home/pi/Desktop/images/01122025/07/25/image_01122025_07_26_04_10632.jpg
/home/pi/Desktop/images/01122025/07/26/image_01122025_07_26_14_9710.jpg
/home/pi/Desktop/images/01122025/07/26/image_01122025_07_26_24_9782.jpg
/home/pi/Desktop/images/01122025/07/26/image_01122025_07_26_34_9655.jpg
/home/pi/Desktop/images/01122025/07/27/image_01122025_07_27_14_10785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397168355","1397168358","1397168340","1397168348","1397168351","1397168345"],"photo_ids_order":["1397168340","1397168345","1397168348","1397168351","1397168355","1397168358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ba3a364d062755497ffbbc0ee714c51c.jpg","text":"TemporaryFile(/tmp/multipartBody8647447134109051146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570502744,"filename":"image_01122025_07_26_34_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2e85b17176c40f3d754b7f4876922799.jpg","text":"TemporaryFile(/tmp/multipartBody7875295190497049956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570502744,"filename":"image_01122025_07_27_14_10785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e4398f2679a7a2db8b49ece63f1678a5.jpg","text":"TemporaryFile(/tmp/multipartBody7571534964039934117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570502744,"filename":"image_01122025_07_25_54_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/1/93a502406a1ddc1baa21dae085f25d97.jpg","text":"TemporaryFile(/tmp/multipartBody5456877749504962770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570502744,"filename":"image_01122025_07_26_14_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bbf84d42535cebf77f15974e10c7890b.jpg","text":"TemporaryFile(/tmp/multipartBody2420835667081283174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570502744,"filename":"image_01122025_07_26_24_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e1384f7982690ca75c03a6f37c48d322.jpg","text":"TemporaryFile(/tmp/multipartBody1123587486673655827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570502744,"filename":"image_01122025_07_26_04_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397168348","file1":"1397168345","file0":"1397168340","file4":"1397168355","file5":"1397168358","file3":"1397168351"},"map_files_photo_id_array":[{"photo_id":"1397168358","filename":"file5"},{"photo_id":"1397168348","filename":"file2"},{"photo_id":"1397168355","filename":"file4"},{"photo_id":"1397168345","filename":"file1"},{"photo_id":"1397168340","filename":"file0"},{"photo_id":"1397168351","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397168355":["hashtag1","hashtag2"]},{"1397168358":["hashtag1","hashtag2"]},{"1397168340":["hashtag1","hashtag2"]},{"1397168348":["hashtag1","hashtag2"]},{"1397168351":["hashtag1","hashtag2"]},{"1397168345":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397168355, 1397168358, 1397168340, 1397168348, 1397168351, 1397168345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.95124936103821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 07:28:12.221997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_05_2620.jpg', '/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_08_2770.jpg', '/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_14_2697.jpg', '/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_17_2705.jpg', '/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_20_2863.jpg', '/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_23_3664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_05_2620.jpg
/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_08_2770.jpg
/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_14_2697.jpg
/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_17_2705.jpg
/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_20_2863.jpg
/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_23_3664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397168386","1397168382","1397168376","1397168366","1397168369","1397168363"],"photo_ids_order":["1397168363","1397168366","1397168369","1397168376","1397168382","1397168386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2255079a4bb285fdb4c04308fa853a37.jpg","text":"TemporaryFile(/tmp/multipartBody1686817027901589081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570553677,"filename":"image_25112025_22_04_23_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/1/0da9deec3a24537a55d3060b7c61bee0.jpg","text":"TemporaryFile(/tmp/multipartBody8089495146382854712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570553677,"filename":"image_25112025_22_04_20_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a126884319c9cbc7288bb31a70ce0816.jpg","text":"TemporaryFile(/tmp/multipartBody4581930540926943231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570553677,"filename":"image_25112025_22_04_17_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3e460050b2b4847efc09a07eaab95583.jpg","text":"TemporaryFile(/tmp/multipartBody2669937174095819453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570553677,"filename":"image_25112025_22_04_08_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0bc57f6f56244f6a5a0c4515dcb43295.jpg","text":"TemporaryFile(/tmp/multipartBody3700494400330005343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570553677,"filename":"image_25112025_22_04_14_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/1/60e4c1ec728faa7ac713fb0e1ff62b2a.jpg","text":"TemporaryFile(/tmp/multipartBody6238943885828544425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570553677,"filename":"image_25112025_22_04_05_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397168369","file1":"1397168366","file0":"1397168363","file4":"1397168382","file5":"1397168386","file3":"1397168376"},"map_files_photo_id_array":[{"photo_id":"1397168386","filename":"file5"},{"photo_id":"1397168369","filename":"file2"},{"photo_id":"1397168382","filename":"file4"},{"photo_id":"1397168366","filename":"file1"},{"photo_id":"1397168363","filename":"file0"},{"photo_id":"1397168376","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397168386":["hashtag1","hashtag2"]},{"1397168382":["hashtag1","hashtag2"]},{"1397168376":["hashtag1","hashtag2"]},{"1397168366":["hashtag1","hashtag2"]},{"1397168369":["hashtag1","hashtag2"]},{"1397168363":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397168386, 1397168382, 1397168376, 1397168366, 1397168369, 1397168363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85877823829651 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:29:03.555845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/27/image_01122025_07_27_24_9574.jpg', '/home/pi/Desktop/images/01122025/07/27/image_01122025_07_27_34_9587.jpg', '/home/pi/Desktop/images/01122025/07/27/image_01122025_07_27_44_10623.jpg', '/home/pi/Desktop/images/01122025/07/27/image_01122025_07_27_54_9692.jpg', '/home/pi/Desktop/images/01122025/07/27/image_01122025_07_28_04_9699.jpg', '/home/pi/Desktop/images/01122025/07/28/image_01122025_07_28_14_10708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/27/image_01122025_07_27_24_9574.jpg
/home/pi/Desktop/images/01122025/07/27/image_01122025_07_27_34_9587.jpg
/home/pi/Desktop/images/01122025/07/27/image_01122025_07_27_44_10623.jpg
/home/pi/Desktop/images/01122025/07/27/image_01122025_07_27_54_9692.jpg
/home/pi/Desktop/images/01122025/07/27/image_01122025_07_28_04_9699.jpg
/home/pi/Desktop/images/01122025/07/28/image_01122025_07_28_14_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":["1397168428","1397168416","1397168425","1397168420","1397168414","1397168408"],"photo_ids_order":["1397168408","1397168414","1397168416","1397168420","1397168425","1397168428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8ab533e1197a35a25064365da5ad7d90.jpg","text":"TemporaryFile(/tmp/multipartBody1116770246772172469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570604510,"filename":"image_01122025_07_28_14_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d8e4b1e5d0a16d0ccb1beefaca119212.jpg","text":"TemporaryFile(/tmp/multipartBody7118108721717679456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570604510,"filename":"image_01122025_07_27_44_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2baa5c7f02befc61b4fd722b462c0b77.jpg","text":"TemporaryFile(/tmp/multipartBody7575105634053406498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570604510,"filename":"image_01122025_07_28_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/1/1493747732cf76a7622815dc9f44f280.jpg","text":"TemporaryFile(/tmp/multipartBody4592560902464281028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570604510,"filename":"image_01122025_07_27_54_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c5453c2514bb68f1faf98539935e22eb.jpg","text":"TemporaryFile(/tmp/multipartBody1989464026175679092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570604510,"filename":"image_01122025_07_27_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/1/485be856ffbc893692e9464b73d6d9ef.jpg","text":"TemporaryFile(/tmp/multipartBody7216041804364164046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570604510,"filename":"image_01122025_07_27_24_9574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397168416","file1":"1397168414","file0":"1397168408","file4":"1397168425","file5":"1397168428","file3":"1397168420"},"map_files_photo_id_array":[{"photo_id":"1397168428","filename":"file5"},{"photo_id":"1397168416","filename":"file2"},{"photo_id":"1397168425","filename":"file4"},{"photo_id":"1397168414","filename":"file1"},{"photo_id":"1397168408","filename":"file0"},{"photo_id":"1397168420","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397168428":["hashtag1","hashtag2"]},{"1397168416":["hashtag1","hashtag2"]},{"1397168425":["hashtag1","hashtag2"]},{"1397168420":["hashtag1","hashtag2"]},{"1397168414":["hashtag1","hashtag2"]},{"1397168408":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397168428, 1397168416, 1397168425, 1397168420, 1397168414, 1397168408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.10071802139282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:30:02.337771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/28/image_01122025_07_28_24_9796.jpg', '/home/pi/Desktop/images/01122025/07/28/image_01122025_07_28_34_9667.jpg', '/home/pi/Desktop/images/01122025/07/28/image_01122025_07_28_44_10651.jpg', '/home/pi/Desktop/images/01122025/07/28/image_01122025_07_28_54_9877.jpg', '/home/pi/Desktop/images/01122025/07/28/image_01122025_07_29_04_9729.jpg', '/home/pi/Desktop/images/01122025/07/29/image_01122025_07_29_14_9839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/28/image_01122025_07_28_24_9796.jpg
/home/pi/Desktop/images/01122025/07/28/image_01122025_07_28_34_9667.jpg
/home/pi/Desktop/images/01122025/07/28/image_01122025_07_28_44_10651.jpg
/home/pi/Desktop/images/01122025/07/28/image_01122025_07_28_54_9877.jpg
/home/pi/Desktop/images/01122025/07/28/image_01122025_07_29_04_9729.jpg
/home/pi/Desktop/images/01122025/07/29/image_01122025_07_29_14_9839.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397168467","1397168481","1397168478","1397168483","1397168471","1397168474"],"photo_ids_order":["1397168467","1397168471","1397168474","1397168478","1397168481","1397168483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0c348bba1e3792723ba904f949693ebf.jpg","text":"TemporaryFile(/tmp/multipartBody8743349628243447892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570691249,"filename":"image_01122025_07_28_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/1/e83b7dac219de399256bee5935cf7c1e.jpg","text":"TemporaryFile(/tmp/multipartBody904522306500943706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570691249,"filename":"image_01122025_07_29_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/1/17408f018a0c84777e1d6e3c226e988e.jpg","text":"TemporaryFile(/tmp/multipartBody6025293805002138056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570691249,"filename":"image_01122025_07_28_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/1/25e6a7ad6250598ff1f6c3b0c0273523.jpg","text":"TemporaryFile(/tmp/multipartBody4989878023501729772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570691249,"filename":"image_01122025_07_29_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/1/2cbe54c78492429d7989b30ced85aede.jpg","text":"TemporaryFile(/tmp/multipartBody9155593065444840343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570691249,"filename":"image_01122025_07_28_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/1/7a95f2093dd25f3b63c5ea64213bd743.jpg","text":"TemporaryFile(/tmp/multipartBody8079132055583576252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570691249,"filename":"image_01122025_07_28_44_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397168474","file1":"1397168471","file0":"1397168467","file4":"1397168481","file5":"1397168483","file3":"1397168478"},"map_files_photo_id_array":[{"photo_id":"1397168483","filename":"file5"},{"photo_id":"1397168474","filename":"file2"},{"photo_id":"1397168481","filename":"file4"},{"photo_id":"1397168471","filename":"file1"},{"photo_id":"1397168467","filename":"file0"},{"photo_id":"1397168478","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397168467":["hashtag1","hashtag2"]},{"1397168481":["hashtag1","hashtag2"]},{"1397168478":["hashtag1","hashtag2"]},{"1397168483":["hashtag1","hashtag2"]},{"1397168471":["hashtag1","hashtag2"]},{"1397168474":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397168467, 1397168481, 1397168478, 1397168483, 1397168471, 1397168474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.93269944190979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 07:31:11.957822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_26_2645.jpg', '/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_29_2784.jpg', '/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_32_3694.jpg', '/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_35_2880.jpg', '/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_38_2717.jpg', '/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_41_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_26_2645.jpg
/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_29_2784.jpg
/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_32_3694.jpg
/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_35_2880.jpg
/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_38_2717.jpg
/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_41_2691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397168487","1397168505","1397168495","1397168489","1397168501","1397168497"],"photo_ids_order":["1397168487","1397168489","1397168495","1397168497","1397168501","1397168505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0db0ec6825e9ee890096d44f83518bb4.jpg","text":"TemporaryFile(/tmp/multipartBody4108862833062525325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570733587,"filename":"image_25112025_22_04_26_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/1/79fbcacdface28c2a7048eb21d2cb663.jpg","text":"TemporaryFile(/tmp/multipartBody6841128777986766459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570733587,"filename":"image_25112025_22_04_41_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/1/fd2b9aac4da9dbcd0644d97e8480f73d.jpg","text":"TemporaryFile(/tmp/multipartBody2349987424753426506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570733587,"filename":"image_25112025_22_04_32_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/36883aac6478d09a90f9f5fb7ecf15a1.jpg","text":"TemporaryFile(/tmp/multipartBody1310651191268147220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570733587,"filename":"image_25112025_22_04_29_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8b37742ea1675faf1c476c80d2d3502f.jpg","text":"TemporaryFile(/tmp/multipartBody7480728721876394691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570733587,"filename":"image_25112025_22_04_38_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e9912c6a20d8033f688147fb18b757ca.jpg","text":"TemporaryFile(/tmp/multipartBody738476436604261357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570733587,"filename":"image_25112025_22_04_35_2880.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397168495","file1":"1397168489","file0":"1397168487","file4":"1397168501","file5":"1397168505","file3":"1397168497"},"map_files_photo_id_array":[{"photo_id":"1397168505","filename":"file5"},{"photo_id":"1397168495","filename":"file2"},{"photo_id":"1397168501","filename":"file4"},{"photo_id":"1397168489","filename":"file1"},{"photo_id":"1397168487","filename":"file0"},{"photo_id":"1397168497","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397168487":["hashtag1","hashtag2"]},{"1397168505":["hashtag1","hashtag2"]},{"1397168495":["hashtag1","hashtag2"]},{"1397168489":["hashtag1","hashtag2"]},{"1397168501":["hashtag1","hashtag2"]},{"1397168497":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397168487, 1397168505, 1397168495, 1397168489, 1397168501, 1397168497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.56004047393799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:32:02.660191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/29/image_01122025_07_29_23_9662.jpg', '/home/pi/Desktop/images/01122025/07/29/image_01122025_07_29_34_10897.jpg', '/home/pi/Desktop/images/01122025/07/29/image_01122025_07_29_44_9778.jpg', '/home/pi/Desktop/images/01122025/07/29/image_01122025_07_29_54_9731.jpg', '/home/pi/Desktop/images/01122025/07/29/image_01122025_07_30_04_9918.jpg', '/home/pi/Desktop/images/01122025/07/30/image_01122025_07_30_14_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/29/image_01122025_07_29_23_9662.jpg
/home/pi/Desktop/images/01122025/07/29/image_01122025_07_29_34_10897.jpg
/home/pi/Desktop/images/01122025/07/29/image_01122025_07_29_44_9778.jpg
/home/pi/Desktop/images/01122025/07/29/image_01122025_07_29_54_9731.jpg
/home/pi/Desktop/images/01122025/07/29/image_01122025_07_30_04_9918.jpg
/home/pi/Desktop/images/01122025/07/30/image_01122025_07_30_14_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":["1397168530","1397168527","1397168521","1397168535","1397168523","1397168525"],"photo_ids_order":["1397168521","1397168523","1397168525","1397168527","1397168530","1397168535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b74b7f7455bd7edf87fae95c2dffb36b.jpg","text":"TemporaryFile(/tmp/multipartBody853143796956065214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570783483,"filename":"image_01122025_07_30_04_9918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/44281a3525e188d2ccf3375194de5eb6.jpg","text":"TemporaryFile(/tmp/multipartBody4528872143164442106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570783483,"filename":"image_01122025_07_29_54_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/828b4a9f90020916cdbc3bcd47986516.jpg","text":"TemporaryFile(/tmp/multipartBody6049052926252545165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570783483,"filename":"image_01122025_07_29_23_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/1/de4cc7f0cbdf24727de00dccdfd93468.jpg","text":"TemporaryFile(/tmp/multipartBody6513072850715830919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570783483,"filename":"image_01122025_07_30_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/1/6efea8b03984c76189015061156e41a0.jpg","text":"TemporaryFile(/tmp/multipartBody2771553796312503334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570783483,"filename":"image_01122025_07_29_34_10897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/29f9510a0f591f3157f7a5d0cde3ae58.jpg","text":"TemporaryFile(/tmp/multipartBody6057243841806789151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570783483,"filename":"image_01122025_07_29_44_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397168525","file1":"1397168523","file0":"1397168521","file4":"1397168530","file5":"1397168535","file3":"1397168527"},"map_files_photo_id_array":[{"photo_id":"1397168535","filename":"file5"},{"photo_id":"1397168525","filename":"file2"},{"photo_id":"1397168530","filename":"file4"},{"photo_id":"1397168523","filename":"file1"},{"photo_id":"1397168521","filename":"file0"},{"photo_id":"1397168527","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397168530":["hashtag1","hashtag2"]},{"1397168527":["hashtag1","hashtag2"]},{"1397168521":["hashtag1","hashtag2"]},{"1397168535":["hashtag1","hashtag2"]},{"1397168523":["hashtag1","hashtag2"]},{"1397168525":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397168530, 1397168527, 1397168521, 1397168535, 1397168523, 1397168525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11689114570618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 07:32:42.264621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_54_2718.jpg', '/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_58_3733.jpg', '/home/pi/Desktop/images/01112025/00/57/image_01112025_00_57_01_2712.jpg', '/home/pi/Desktop/images/01112025/00/57/image_01112025_00_57_04_2855.jpg', '/home/pi/Desktop/images/01112025/00/57/image_01112025_00_57_13_2772.jpg', '/home/pi/Desktop/images/01112025/00/57/image_01112025_00_57_16_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_54_2718.jpg
/home/pi/Desktop/images/01112025/00/56/image_01112025_00_56_58_3733.jpg
/home/pi/Desktop/images/01112025/00/57/image_01112025_00_57_01_2712.jpg
/home/pi/Desktop/images/01112025/00/57/image_01112025_00_57_04_2855.jpg
/home/pi/Desktop/images/01112025/00/57/image_01112025_00_57_13_2772.jpg
/home/pi/Desktop/images/01112025/00/57/image_01112025_00_57_16_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":["1397168557","1397168572","1397168574","1397168553","1397168576","1397168575"],"photo_ids_order":["1397168553","1397168557","1397168572","1397168574","1397168575","1397168576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3a131c3e636bcc8cc9651690d78c7b79.jpg","text":"TemporaryFile(/tmp/multipartBody6481001140798656423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570823007,"filename":"image_01112025_00_56_58_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/1/5dfd27fb717b21d5af99541e71ed2d94.jpg","text":"TemporaryFile(/tmp/multipartBody7155838003232414977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570823007,"filename":"image_01112025_00_57_01_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/1/11dc5b2c607bbf4c0697d6c610402f0e.jpg","text":"TemporaryFile(/tmp/multipartBody2783451190453726921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570823007,"filename":"image_01112025_00_57_04_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/1/cc96552831a5819906a53ce2ce102fff.jpg","text":"TemporaryFile(/tmp/multipartBody5473560222607283975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570823007,"filename":"image_01112025_00_56_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/1/699a01824c2b9128b1f9d325e72f7862.jpg","text":"TemporaryFile(/tmp/multipartBody1964964378988109700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570823007,"filename":"image_01112025_00_57_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/1/0f6748e452d36a7de5ed1457f62ea617.jpg","text":"TemporaryFile(/tmp/multipartBody4700191827061356908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570823007,"filename":"image_01112025_00_57_13_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397168572","file1":"1397168557","file0":"1397168553","file4":"1397168575","file5":"1397168576","file3":"1397168574"},"map_files_photo_id_array":[{"photo_id":"1397168576","filename":"file5"},{"photo_id":"1397168572","filename":"file2"},{"photo_id":"1397168575","filename":"file4"},{"photo_id":"1397168557","filename":"file1"},{"photo_id":"1397168553","filename":"file0"},{"photo_id":"1397168574","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397168557":["hashtag1","hashtag2"]},{"1397168572":["hashtag1","hashtag2"]},{"1397168574":["hashtag1","hashtag2"]},{"1397168553":["hashtag1","hashtag2"]},{"1397168576":["hashtag1","hashtag2"]},{"1397168575":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397168557, 1397168572, 1397168574, 1397168553, 1397168576, 1397168575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.224478006362915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 07:33:22.453700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/30/image_01122025_07_30_24_10695.jpg', '/home/pi/Desktop/images/01122025/07/30/image_01122025_07_30_34_9808.jpg', '/home/pi/Desktop/images/01122025/07/30/image_01122025_07_30_44_9693.jpg', '/home/pi/Desktop/images/01122025/07/30/image_01122025_07_30_54_9913.jpg', '/home/pi/Desktop/images/01122025/07/30/image_01122025_07_31_04_10698.jpg', '/home/pi/Desktop/images/01122025/07/31/image_01122025_07_31_14_9821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/30/image_01122025_07_30_24_10695.jpg
/home/pi/Desktop/images/01122025/07/30/image_01122025_07_30_34_9808.jpg
/home/pi/Desktop/images/01122025/07/30/image_01122025_07_30_44_9693.jpg
/home/pi/Desktop/images/01122025/07/30/image_01122025_07_30_54_9913.jpg
/home/pi/Desktop/images/01122025/07/30/image_01122025_07_31_04_10698.jpg
/home/pi/Desktop/images/01122025/07/31/image_01122025_07_31_14_9821.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397168809","1397168586","1397168727","1397168639","1397168686","1397168767"],"photo_ids_order":["1397168586","1397168639","1397168686","1397168727","1397168767","1397168809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dd9fa9984d5e3dd95854e446ba2db81b.jpg","text":"TemporaryFile(/tmp/multipartBody8157460987896505394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570863262,"filename":"image_01122025_07_31_14_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e3a81fbf8ae940b6a526d90d0ccbb3a6.jpg","text":"TemporaryFile(/tmp/multipartBody1253097413643406997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570863262,"filename":"image_01122025_07_30_24_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cb7c021eee7ea5d8a7fb781bd1ffd41e.jpg","text":"TemporaryFile(/tmp/multipartBody9126518314760393008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570863262,"filename":"image_01122025_07_30_54_9913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d0c57c05bd13f1c325815514c8830246.jpg","text":"TemporaryFile(/tmp/multipartBody1600636834096085279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570863262,"filename":"image_01122025_07_30_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/1/df50d1fad5c34ad29355615ae5b848aa.jpg","text":"TemporaryFile(/tmp/multipartBody951242095218947480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570863262,"filename":"image_01122025_07_30_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/1/e89221c88c845c0cc40930a6cbcb01e1.jpg","text":"TemporaryFile(/tmp/multipartBody9038066659010015510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570863262,"filename":"image_01122025_07_31_04_10698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397168686","file1":"1397168639","file0":"1397168586","file4":"1397168767","file5":"1397168809","file3":"1397168727"},"map_files_photo_id_array":[{"photo_id":"1397168809","filename":"file5"},{"photo_id":"1397168686","filename":"file2"},{"photo_id":"1397168767","filename":"file4"},{"photo_id":"1397168639","filename":"file1"},{"photo_id":"1397168586","filename":"file0"},{"photo_id":"1397168727","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397168809":["hashtag1","hashtag2"]},{"1397168586":["hashtag1","hashtag2"]},{"1397168727":["hashtag1","hashtag2"]},{"1397168639":["hashtag1","hashtag2"]},{"1397168686":["hashtag1","hashtag2"]},{"1397168767":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397168809, 1397168586, 1397168727, 1397168639, 1397168686, 1397168767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.620309591293335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:34:03.301724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/31/image_01122025_07_31_24_9619.jpg', '/home/pi/Desktop/images/01122025/07/31/image_01122025_07_31_34_9799.jpg', '/home/pi/Desktop/images/01122025/07/31/image_01122025_07_31_44_10739.jpg', '/home/pi/Desktop/images/01122025/07/31/image_01122025_07_31_54_9717.jpg', '/home/pi/Desktop/images/01122025/07/31/image_01122025_07_32_04_9829.jpg', '/home/pi/Desktop/images/01122025/07/32/image_01122025_07_32_14_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/31/image_01122025_07_31_24_9619.jpg
/home/pi/Desktop/images/01122025/07/31/image_01122025_07_31_34_9799.jpg
/home/pi/Desktop/images/01122025/07/31/image_01122025_07_31_44_10739.jpg
/home/pi/Desktop/images/01122025/07/31/image_01122025_07_31_54_9717.jpg
/home/pi/Desktop/images/01122025/07/31/image_01122025_07_32_04_9829.jpg
/home/pi/Desktop/images/01122025/07/32/image_01122025_07_32_14_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397169057","1397168979","1397169098","1397169018","1397169140","1397168939"],"photo_ids_order":["1397168939","1397168979","1397169018","1397169057","1397169098","1397169140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1086c3dabe8d2342be86ebe1ba1679b6.jpg","text":"TemporaryFile(/tmp/multipartBody8458020849827452963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570904170,"filename":"image_01122025_07_31_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/1/882de5c3b5774464a694ce14c405970b.jpg","text":"TemporaryFile(/tmp/multipartBody9196402231720402956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570904170,"filename":"image_01122025_07_31_34_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8c76bbcdc7b819eea05608daceb0ab6c.jpg","text":"TemporaryFile(/tmp/multipartBody2344091475731292501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570904170,"filename":"image_01122025_07_32_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/1/48366c271d8faf40a70573ce97984500.jpg","text":"TemporaryFile(/tmp/multipartBody6665843768057054226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570904170,"filename":"image_01122025_07_31_44_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/1/a29c6dcac769d3d6bd944f942d4c67a9.jpg","text":"TemporaryFile(/tmp/multipartBody1328386806607147373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570904170,"filename":"image_01122025_07_32_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/1/0118916c6ff37cb64288d8224be1f742.jpg","text":"TemporaryFile(/tmp/multipartBody2587745328862953651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570904170,"filename":"image_01122025_07_31_24_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397169018","file1":"1397168979","file0":"1397168939","file4":"1397169098","file5":"1397169140","file3":"1397169057"},"map_files_photo_id_array":[{"photo_id":"1397169140","filename":"file5"},{"photo_id":"1397169018","filename":"file2"},{"photo_id":"1397169098","filename":"file4"},{"photo_id":"1397168979","filename":"file1"},{"photo_id":"1397168939","filename":"file0"},{"photo_id":"1397169057","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397169057":["hashtag1","hashtag2"]},{"1397168979":["hashtag1","hashtag2"]},{"1397169098":["hashtag1","hashtag2"]},{"1397169018":["hashtag1","hashtag2"]},{"1397169140":["hashtag1","hashtag2"]},{"1397168939":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397169057, 1397168979, 1397169098, 1397169018, 1397169140, 1397168939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.34645438194275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 07:34:42.821159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/57/image_01112025_00_57_18_2656.jpg', '/home/pi/Desktop/images/01112025/00/57/image_01112025_00_57_25_2705.jpg', '/home/pi/Desktop/images/01112025/00/57/image_01112025_00_57_37_2800.jpg', '/home/pi/Desktop/images/01112025/00/57/image_01112025_00_57_52_3604.jpg', '/home/pi/Desktop/images/01112025/00/57/image_01112025_00_57_55_2915.jpg', '/home/pi/Desktop/images/01112025/00/57/image_01112025_00_57_58_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/57/image_01112025_00_57_18_2656.jpg
/home/pi/Desktop/images/01112025/00/57/image_01112025_00_57_25_2705.jpg
/home/pi/Desktop/images/01112025/00/57/image_01112025_00_57_37_2800.jpg
/home/pi/Desktop/images/01112025/00/57/image_01112025_00_57_52_3604.jpg
/home/pi/Desktop/images/01112025/00/57/image_01112025_00_57_55_2915.jpg
/home/pi/Desktop/images/01112025/00/57/image_01112025_00_57_58_2682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397169241","1397169240","1397169237","1397169234","1397169242","1397169238"],"photo_ids_order":["1397169234","1397169237","1397169238","1397169240","1397169241","1397169242"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e1de8a767c49d4b6e1397cf5be96b93a.jpg","text":"TemporaryFile(/tmp/multipartBody3738169904377820684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570943699,"filename":"image_01112025_00_57_55_2915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c794ab4de4fcbbbc4dec8a6225670017.jpg","text":"TemporaryFile(/tmp/multipartBody6647381380326420279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570943699,"filename":"image_01112025_00_57_52_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/1/5faf192c912bbae48e596b3016ff826d.jpg","text":"TemporaryFile(/tmp/multipartBody7472050532899763964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570943699,"filename":"image_01112025_00_57_25_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bfe2e164bb25ac83400c72c974bcc021.jpg","text":"TemporaryFile(/tmp/multipartBody3653060610472975160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570943699,"filename":"image_01112025_00_57_18_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fce786d4534addaa14a8aec9f6c2aaa4.jpg","text":"TemporaryFile(/tmp/multipartBody3946172717836564990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570943699,"filename":"image_01112025_00_57_58_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/54511a525ac144b2f01bcb921a6a0320.jpg","text":"TemporaryFile(/tmp/multipartBody6398486678761722702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570943699,"filename":"image_01112025_00_57_37_2800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397169238","file1":"1397169237","file0":"1397169234","file4":"1397169241","file5":"1397169242","file3":"1397169240"},"map_files_photo_id_array":[{"photo_id":"1397169242","filename":"file5"},{"photo_id":"1397169238","filename":"file2"},{"photo_id":"1397169241","filename":"file4"},{"photo_id":"1397169237","filename":"file1"},{"photo_id":"1397169234","filename":"file0"},{"photo_id":"1397169240","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397169241":["hashtag1","hashtag2"]},{"1397169240":["hashtag1","hashtag2"]},{"1397169237":["hashtag1","hashtag2"]},{"1397169234":["hashtag1","hashtag2"]},{"1397169242":["hashtag1","hashtag2"]},{"1397169238":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397169241, 1397169240, 1397169237, 1397169234, 1397169242, 1397169238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19384431838989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 07:35:22.057218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/32/image_01122025_07_32_24_10741.jpg', '/home/pi/Desktop/images/01122025/07/32/image_01122025_07_32_34_9857.jpg', '/home/pi/Desktop/images/01122025/07/34/image_01122025_07_35_04_9726.jpg', '/home/pi/Desktop/images/01122025/07/35/image_01122025_07_35_23_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/32/image_01122025_07_32_24_10741.jpg
/home/pi/Desktop/images/01122025/07/32/image_01122025_07_32_34_9857.jpg
/home/pi/Desktop/images/01122025/07/34/image_01122025_07_35_04_9726.jpg
/home/pi/Desktop/images/01122025/07/35/image_01122025_07_35_23_9735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397169409","1397169438","1397169320","1397169370"],"photo_ids_order":["1397169320","1397169370","1397169409","1397169438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ccf714fd75909c556cd55379256872df.jpg","text":"TemporaryFile(/tmp/multipartBody2717341417773504880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570982733,"filename":"image_01122025_07_35_04_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d8e97d5953ccb037fa2023dcc53259a4.jpg","text":"TemporaryFile(/tmp/multipartBody533101933021918761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570982733,"filename":"image_01122025_07_35_23_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4c0aae3afdd3e2e0e24127a6372c518d.jpg","text":"TemporaryFile(/tmp/multipartBody3542140879156570272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570982733,"filename":"image_01122025_07_32_24_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a1f83ae274ddb7fa1af6faca8ea399e9.jpg","text":"TemporaryFile(/tmp/multipartBody6175410572161976478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764570982733,"filename":"image_01122025_07_32_34_9857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397169409","file1":"1397169370","file0":"1397169320","file3":"1397169438"},"map_files_photo_id_array":[{"photo_id":"1397169409","filename":"file2"},{"photo_id":"1397169370","filename":"file1"},{"photo_id":"1397169320","filename":"file0"},{"photo_id":"1397169438","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397169409":["hashtag1","hashtag2"]},{"1397169438":["hashtag1","hashtag2"]},{"1397169320":["hashtag1","hashtag2"]},{"1397169370":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397169409, 1397169438, 1397169320, 1397169370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.950964212417603 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:36:02.491318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_44_3739.jpg', '/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_47_2625.jpg', '/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_50_2761.jpg', '/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_53_2663.jpg', '/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_56_3705.jpg', '/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_59_2555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_44_3739.jpg
/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_47_2625.jpg
/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_50_2761.jpg
/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_53_2663.jpg
/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_56_3705.jpg
/home/pi/Desktop/images/25112025/22/04/image_25112025_22_04_59_2555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397169540","1397169534","1397169528","1397169531","1397169530","1397169527"],"photo_ids_order":["1397169527","1397169528","1397169530","1397169531","1397169534","1397169540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6e90a35827c8d84c7dc23b1ab5bf4fe9.jpg","text":"TemporaryFile(/tmp/multipartBody5797210969342895739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571023632,"filename":"image_25112025_22_04_59_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/1/e56a10197c756eee04f8f33d6a30c24f.jpg","text":"TemporaryFile(/tmp/multipartBody8115944384704356905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571023632,"filename":"image_25112025_22_04_56_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/352a6975f92979e68929eee61698b30a.jpg","text":"TemporaryFile(/tmp/multipartBody6000991392581839370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571023632,"filename":"image_25112025_22_04_47_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/1/5cec8bb70420f7d768c2eb5cba093c1f.jpg","text":"TemporaryFile(/tmp/multipartBody302538371844152926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571023632,"filename":"image_25112025_22_04_53_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/1/5b84bc867b5d2e7a1c86475883eb938b.jpg","text":"TemporaryFile(/tmp/multipartBody1256796980588899159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571023632,"filename":"image_25112025_22_04_50_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/25065db4de602575384c1ddf485bd40d.jpg","text":"TemporaryFile(/tmp/multipartBody3985026292551351614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571023632,"filename":"image_25112025_22_04_44_3739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397169530","file1":"1397169528","file0":"1397169527","file4":"1397169534","file5":"1397169540","file3":"1397169531"},"map_files_photo_id_array":[{"photo_id":"1397169540","filename":"file5"},{"photo_id":"1397169530","filename":"file2"},{"photo_id":"1397169534","filename":"file4"},{"photo_id":"1397169528","filename":"file1"},{"photo_id":"1397169527","filename":"file0"},{"photo_id":"1397169531","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397169540":["hashtag1","hashtag2"]},{"1397169534":["hashtag1","hashtag2"]},{"1397169528":["hashtag1","hashtag2"]},{"1397169531":["hashtag1","hashtag2"]},{"1397169530":["hashtag1","hashtag2"]},{"1397169527":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397169540, 1397169534, 1397169528, 1397169531, 1397169530, 1397169527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10880780220032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 07:36:42.151654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/57/image_01112025_00_58_00_2902.jpg', '/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_03_2661.jpg', '/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_07_3599.jpg', '/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_09_2701.jpg', '/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_13_3680.jpg', '/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_16_2547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/57/image_01112025_00_58_00_2902.jpg
/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_03_2661.jpg
/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_07_3599.jpg
/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_09_2701.jpg
/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_13_3680.jpg
/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_16_2547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397169564","1397169558","1397169555","1397169560","1397169563","1397169562"],"photo_ids_order":["1397169555","1397169558","1397169560","1397169562","1397169563","1397169564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bde409b0cc5fa3819481dfea9745d62d.jpg","text":"TemporaryFile(/tmp/multipartBody5551357064760036153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571063059,"filename":"image_01112025_00_58_16_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/1/b316770ab8eaf8e3969a6c100805bdeb.jpg","text":"TemporaryFile(/tmp/multipartBody7893653125517117925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571063059,"filename":"image_01112025_00_58_03_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/1/46013b065ea6f078426eb17393708d5f.jpg","text":"TemporaryFile(/tmp/multipartBody923343321269135776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571063059,"filename":"image_01112025_00_58_00_2902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fdcc30e4671539e5d80996be48f3d658.jpg","text":"TemporaryFile(/tmp/multipartBody4755778658297928566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571063059,"filename":"image_01112025_00_58_07_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/eb62c8872b53dfe7032558d05e4745b7.jpg","text":"TemporaryFile(/tmp/multipartBody9090227915912395811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571063059,"filename":"image_01112025_00_58_13_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/1/de2122658ddb85af9306ccedf03f8726.jpg","text":"TemporaryFile(/tmp/multipartBody5395421328980846557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571063059,"filename":"image_01112025_00_58_09_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397169560","file1":"1397169558","file0":"1397169555","file4":"1397169563","file5":"1397169564","file3":"1397169562"},"map_files_photo_id_array":[{"photo_id":"1397169564","filename":"file5"},{"photo_id":"1397169560","filename":"file2"},{"photo_id":"1397169563","filename":"file4"},{"photo_id":"1397169558","filename":"file1"},{"photo_id":"1397169555","filename":"file0"},{"photo_id":"1397169562","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397169564":["hashtag1","hashtag2"]},{"1397169558":["hashtag1","hashtag2"]},{"1397169555":["hashtag1","hashtag2"]},{"1397169560":["hashtag1","hashtag2"]},{"1397169563":["hashtag1","hashtag2"]},{"1397169562":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397169564, 1397169558, 1397169555, 1397169560, 1397169563, 1397169562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07930302619934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 07:37:22.474117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/35/image_01122025_07_35_54_9804.jpg', '/home/pi/Desktop/images/01122025/07/36/image_01122025_07_36_14_10772.jpg', '/home/pi/Desktop/images/01122025/07/37/image_01122025_07_37_24_10631.jpg', '/home/pi/Desktop/images/01122025/07/37/image_01122025_07_37_34_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/35/image_01122025_07_35_54_9804.jpg
/home/pi/Desktop/images/01122025/07/36/image_01122025_07_36_14_10772.jpg
/home/pi/Desktop/images/01122025/07/37/image_01122025_07_37_24_10631.jpg
/home/pi/Desktop/images/01122025/07/37/image_01122025_07_37_34_9728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397169594","1397169588","1397169598","1397169571"],"photo_ids_order":["1397169571","1397169588","1397169594","1397169598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3f9e1c65a657b69ca2498a4595b5620f.jpg","text":"TemporaryFile(/tmp/multipartBody7064241378338394131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571103179,"filename":"image_01122025_07_37_24_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/1/e716d3e04fe511eab1df19a6738c4727.jpg","text":"TemporaryFile(/tmp/multipartBody1346551431798309697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571103179,"filename":"image_01122025_07_36_14_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/1/4f967cbfd0d682c9521a3c2babaedca7.jpg","text":"TemporaryFile(/tmp/multipartBody5252729847873640490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571103179,"filename":"image_01122025_07_37_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/1/ba6a6c9b6a314af68de563736e127121.jpg","text":"TemporaryFile(/tmp/multipartBody5430409673409402453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571103179,"filename":"image_01122025_07_35_54_9804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397169594","file1":"1397169588","file0":"1397169571","file3":"1397169598"},"map_files_photo_id_array":[{"photo_id":"1397169594","filename":"file2"},{"photo_id":"1397169588","filename":"file1"},{"photo_id":"1397169571","filename":"file0"},{"photo_id":"1397169598","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397169594":["hashtag1","hashtag2"]},{"1397169588":["hashtag1","hashtag2"]},{"1397169598":["hashtag1","hashtag2"]},{"1397169571":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397169594, 1397169588, 1397169598, 1397169571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.832650423049927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:38:02.966380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_07_3011.jpg', '/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_11_3779.jpg', '/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_13_2760.jpg', '/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_16_2589.jpg', '/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_20_3792.jpg', '/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_22_2595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_07_3011.jpg
/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_11_3779.jpg
/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_13_2760.jpg
/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_16_2589.jpg
/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_20_3792.jpg
/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_22_2595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397169610","1397169604","1397169615","1397169606","1397169626","1397169608"],"photo_ids_order":["1397169604","1397169606","1397169608","1397169610","1397169615","1397169626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d06e79c20637165f60ddba4b9d5d78ab.jpg","text":"TemporaryFile(/tmp/multipartBody5511685437400678436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571144051,"filename":"image_25112025_22_06_16_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/1/a2c940184d943f0a68b3bd90ebeacec1.jpg","text":"TemporaryFile(/tmp/multipartBody8976270986708206630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571144051,"filename":"image_25112025_22_06_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cb0b8e31b1d6be3a10fbf9529f5ed7cb.jpg","text":"TemporaryFile(/tmp/multipartBody8802543465177590156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571144051,"filename":"image_25112025_22_06_20_3792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2d7a7f690d1918d0394fe3511742cc3f.jpg","text":"TemporaryFile(/tmp/multipartBody4723240438088355040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571144051,"filename":"image_25112025_22_06_11_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/1/cc80fb380c2a403676ed81d7f7c83aee.jpg","text":"TemporaryFile(/tmp/multipartBody2405318559142275266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571144051,"filename":"image_25112025_22_06_22_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/619b0fb9223c5d914057f44f96bc321d.jpg","text":"TemporaryFile(/tmp/multipartBody7015028543045373747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571144051,"filename":"image_25112025_22_06_13_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397169608","file1":"1397169606","file0":"1397169604","file4":"1397169615","file5":"1397169626","file3":"1397169610"},"map_files_photo_id_array":[{"photo_id":"1397169626","filename":"file5"},{"photo_id":"1397169608","filename":"file2"},{"photo_id":"1397169615","filename":"file4"},{"photo_id":"1397169606","filename":"file1"},{"photo_id":"1397169604","filename":"file0"},{"photo_id":"1397169610","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397169610":["hashtag1","hashtag2"]},{"1397169604":["hashtag1","hashtag2"]},{"1397169615":["hashtag1","hashtag2"]},{"1397169606":["hashtag1","hashtag2"]},{"1397169626":["hashtag1","hashtag2"]},{"1397169608":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397169610, 1397169604, 1397169615, 1397169606, 1397169626, 1397169608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55276370048523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 07:38:42.510108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_22_3552.jpg', '/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_27_2698.jpg', '/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_34_2639.jpg', '/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_39_5858.jpg', '/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_41_1744.jpg', '/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_43_1741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_22_3552.jpg
/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_27_2698.jpg
/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_34_2639.jpg
/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_39_5858.jpg
/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_41_1744.jpg
/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_43_1741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397169646","1397169663","1397169648","1397169644","1397169649","1397169640"],"photo_ids_order":["1397169640","1397169644","1397169646","1397169648","1397169649","1397169663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2b2c2483d2937c3c505eff1590aba6df.jpg","text":"TemporaryFile(/tmp/multipartBody5305901614208266575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571183382,"filename":"image_01112025_00_58_34_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e6cc61a2fed06430d7237a7808e50c72.jpg","text":"TemporaryFile(/tmp/multipartBody4413201931356084968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571183382,"filename":"image_01112025_00_58_43_1741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3ec70c8309fab6e5fff59322e34b35e0.jpg","text":"TemporaryFile(/tmp/multipartBody4371895207363042326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571183382,"filename":"image_01112025_00_58_39_5858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/692bd31ca33bf3a0f20535d746992fe7.jpg","text":"TemporaryFile(/tmp/multipartBody1170906663984200723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571183382,"filename":"image_01112025_00_58_27_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/1/6f8ce5bf21db5bb6777aa87e3fecddf9.jpg","text":"TemporaryFile(/tmp/multipartBody4249911585276203284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571183382,"filename":"image_01112025_00_58_41_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/1/4eac102be903319ccc9285fec1c2d55e.jpg","text":"TemporaryFile(/tmp/multipartBody5417251815037599045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571183382,"filename":"image_01112025_00_58_22_3552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397169646","file1":"1397169644","file0":"1397169640","file4":"1397169649","file5":"1397169663","file3":"1397169648"},"map_files_photo_id_array":[{"photo_id":"1397169663","filename":"file5"},{"photo_id":"1397169646","filename":"file2"},{"photo_id":"1397169649","filename":"file4"},{"photo_id":"1397169644","filename":"file1"},{"photo_id":"1397169640","filename":"file0"},{"photo_id":"1397169648","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397169646":["hashtag1","hashtag2"]},{"1397169663":["hashtag1","hashtag2"]},{"1397169648":["hashtag1","hashtag2"]},{"1397169644":["hashtag1","hashtag2"]},{"1397169649":["hashtag1","hashtag2"]},{"1397169640":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397169646, 1397169663, 1397169648, 1397169644, 1397169649, 1397169640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89400386810303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 07:39:22.679161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/37/image_01122025_07_37_44_9951.jpg', '/home/pi/Desktop/images/01122025/07/37/image_01122025_07_38_04_10802.jpg', '/home/pi/Desktop/images/01122025/07/38/image_01122025_07_38_24_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/37/image_01122025_07_37_44_9951.jpg
/home/pi/Desktop/images/01122025/07/37/image_01122025_07_38_04_10802.jpg
/home/pi/Desktop/images/01122025/07/38/image_01122025_07_38_24_9643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397169687","1397169680","1397169683"],"photo_ids_order":["1397169680","1397169683","1397169687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/911929d0e070f8f4f924d048d033c183.jpg","text":"TemporaryFile(/tmp/multipartBody8513641762676346533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571223291,"filename":"image_01122025_07_38_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/1/249b71fb68de466200b6c2c33cbdbfb8.jpg","text":"TemporaryFile(/tmp/multipartBody1344416649908293376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571223291,"filename":"image_01122025_07_37_44_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/1/eebf6f96f22af233ff6c51d2416dbfd6.jpg","text":"TemporaryFile(/tmp/multipartBody3018712122998896485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571223291,"filename":"image_01122025_07_38_04_10802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397169687","file1":"1397169683","file0":"1397169680"},"map_files_photo_id_array":[{"photo_id":"1397169687","filename":"file2"},{"photo_id":"1397169683","filename":"file1"},{"photo_id":"1397169680","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397169687":["hashtag1","hashtag2"]},{"1397169680":["hashtag1","hashtag2"]},{"1397169683":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397169687, 1397169680, 1397169683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.07322382926941 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:40:02.478902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_25_2739.jpg', '/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_29_3608.jpg', '/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_31_2651.jpg', '/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_34_2517.jpg', '/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_38_3664.jpg', '/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_40_2535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_25_2739.jpg
/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_29_3608.jpg
/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_31_2651.jpg
/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_34_2517.jpg
/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_38_3664.jpg
/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_40_2535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397169712","1397169708","1397169719","1397169710","1397169704","1397169716"],"photo_ids_order":["1397169704","1397169708","1397169710","1397169712","1397169716","1397169719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4d14af1f35423beacab18d0df5472b9b.jpg","text":"TemporaryFile(/tmp/multipartBody1952699981469088461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571263590,"filename":"image_25112025_22_06_34_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/62e896cc30a78c37bc5396483e5e00ef.jpg","text":"TemporaryFile(/tmp/multipartBody4160917918665786471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571263590,"filename":"image_25112025_22_06_29_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/1/47ca563fb4590f471ea31d59b1498fbe.jpg","text":"TemporaryFile(/tmp/multipartBody978013668804530332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571263590,"filename":"image_25112025_22_06_40_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/1/2de4fff3520b8e6790ce8efe3b0ad6e7.jpg","text":"TemporaryFile(/tmp/multipartBody5898419818782760305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571263590,"filename":"image_25112025_22_06_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/1/22a6f5d21465ae49263beaa6ab8ee801.jpg","text":"TemporaryFile(/tmp/multipartBody3678196998293637828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571263590,"filename":"image_25112025_22_06_25_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/1/b5992ccf884ca406aed8597536e502ae.jpg","text":"TemporaryFile(/tmp/multipartBody2398266025469405436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571263590,"filename":"image_25112025_22_06_38_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397169710","file1":"1397169708","file0":"1397169704","file4":"1397169716","file5":"1397169719","file3":"1397169712"},"map_files_photo_id_array":[{"photo_id":"1397169719","filename":"file5"},{"photo_id":"1397169710","filename":"file2"},{"photo_id":"1397169716","filename":"file4"},{"photo_id":"1397169708","filename":"file1"},{"photo_id":"1397169704","filename":"file0"},{"photo_id":"1397169712","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397169712":["hashtag1","hashtag2"]},{"1397169708":["hashtag1","hashtag2"]},{"1397169719":["hashtag1","hashtag2"]},{"1397169710":["hashtag1","hashtag2"]},{"1397169704":["hashtag1","hashtag2"]},{"1397169716":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397169712, 1397169708, 1397169719, 1397169710, 1397169704, 1397169716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.723010301589966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 07:40:42.022957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_46_2574.jpg', '/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_48_2570.jpg', '/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_52_3698.jpg', '/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_57_2641.jpg', '/home/pi/Desktop/images/01112025/00/58/image_01112025_00_59_01_3718.jpg', '/home/pi/Desktop/images/01112025/00/59/image_01112025_00_59_04_2888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_46_2574.jpg
/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_48_2570.jpg
/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_52_3698.jpg
/home/pi/Desktop/images/01112025/00/58/image_01112025_00_58_57_2641.jpg
/home/pi/Desktop/images/01112025/00/58/image_01112025_00_59_01_3718.jpg
/home/pi/Desktop/images/01112025/00/59/image_01112025_00_59_04_2888.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397169747","1397169735","1397169740","1397169743","1397169737","1397169745"],"photo_ids_order":["1397169735","1397169737","1397169740","1397169743","1397169745","1397169747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d200697eb981c36088c90b3b175199ea.jpg","text":"TemporaryFile(/tmp/multipartBody4071314824095311373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571302934,"filename":"image_01112025_00_59_04_2888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b5e557b107cd0523b08962be6d53f95f.jpg","text":"TemporaryFile(/tmp/multipartBody1086452225732286517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571302934,"filename":"image_01112025_00_58_46_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/1/52a6d216e14ddaeecd81b36a42dcab9f.jpg","text":"TemporaryFile(/tmp/multipartBody3930899453997364994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571302934,"filename":"image_01112025_00_58_52_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/1/2f9be54dea12d4fac9520bc37b6d11fc.jpg","text":"TemporaryFile(/tmp/multipartBody3408965015957517676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571302934,"filename":"image_01112025_00_58_57_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/1/16bbc1f7f5214b92e05d1000c2e385cd.jpg","text":"TemporaryFile(/tmp/multipartBody1406880140218123267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571302934,"filename":"image_01112025_00_58_48_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/1/d4a5ea824698fa94782743c07518e3e0.jpg","text":"TemporaryFile(/tmp/multipartBody5088543858895349063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571302934,"filename":"image_01112025_00_59_01_3718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397169740","file1":"1397169737","file0":"1397169735","file4":"1397169745","file5":"1397169747","file3":"1397169743"},"map_files_photo_id_array":[{"photo_id":"1397169747","filename":"file5"},{"photo_id":"1397169740","filename":"file2"},{"photo_id":"1397169745","filename":"file4"},{"photo_id":"1397169737","filename":"file1"},{"photo_id":"1397169735","filename":"file0"},{"photo_id":"1397169743","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397169747":["hashtag1","hashtag2"]},{"1397169735":["hashtag1","hashtag2"]},{"1397169740":["hashtag1","hashtag2"]},{"1397169743":["hashtag1","hashtag2"]},{"1397169737":["hashtag1","hashtag2"]},{"1397169745":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397169747, 1397169735, 1397169740, 1397169743, 1397169737, 1397169745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.693286657333374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 07:41:22.209997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/38/image_01122025_07_38_34_10665.jpg', '/home/pi/Desktop/images/01122025/07/39/image_01122025_07_40_04_9756.jpg', '/home/pi/Desktop/images/01122025/07/40/image_01122025_07_40_14_9828.jpg', '/home/pi/Desktop/images/01122025/07/40/image_01122025_07_40_23_9795.jpg', '/home/pi/Desktop/images/01122025/07/40/image_01122025_07_40_44_9595.jpg', '/home/pi/Desktop/images/01122025/07/40/image_01122025_07_40_54_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/38/image_01122025_07_38_34_10665.jpg
/home/pi/Desktop/images/01122025/07/39/image_01122025_07_40_04_9756.jpg
/home/pi/Desktop/images/01122025/07/40/image_01122025_07_40_14_9828.jpg
/home/pi/Desktop/images/01122025/07/40/image_01122025_07_40_23_9795.jpg
/home/pi/Desktop/images/01122025/07/40/image_01122025_07_40_44_9595.jpg
/home/pi/Desktop/images/01122025/07/40/image_01122025_07_40_54_10626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397169789","1397169774","1397169785","1397169782","1397169761","1397169757"],"photo_ids_order":["1397169757","1397169761","1397169774","1397169782","1397169785","1397169789"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f978abf0a4865c06d3b27320105b210e.jpg","text":"TemporaryFile(/tmp/multipartBody4671884475216604747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571342983,"filename":"image_01122025_07_40_54_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cedcc9a5931b2f21ae39880ded93edd4.jpg","text":"TemporaryFile(/tmp/multipartBody4041577677687158633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571342983,"filename":"image_01122025_07_40_14_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/01049e5f92a4f781b8977927b0799102.jpg","text":"TemporaryFile(/tmp/multipartBody6861377926919488531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571342983,"filename":"image_01122025_07_40_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/1/2a42ad90e41dfbdcdefc51df4ab7c0a1.jpg","text":"TemporaryFile(/tmp/multipartBody7554965478855192380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571342983,"filename":"image_01122025_07_40_23_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/1/f7d20b7c677532ac8fb47f9aac72b861.jpg","text":"TemporaryFile(/tmp/multipartBody6514924054471291734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571342983,"filename":"image_01122025_07_40_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/1/618631bc7f468579e3dadf21d21ad124.jpg","text":"TemporaryFile(/tmp/multipartBody1623283466470999577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571342983,"filename":"image_01122025_07_38_34_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397169774","file1":"1397169761","file0":"1397169757","file4":"1397169785","file5":"1397169789","file3":"1397169782"},"map_files_photo_id_array":[{"photo_id":"1397169789","filename":"file5"},{"photo_id":"1397169774","filename":"file2"},{"photo_id":"1397169785","filename":"file4"},{"photo_id":"1397169761","filename":"file1"},{"photo_id":"1397169757","filename":"file0"},{"photo_id":"1397169782","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397169789":["hashtag1","hashtag2"]},{"1397169774":["hashtag1","hashtag2"]},{"1397169785":["hashtag1","hashtag2"]},{"1397169782":["hashtag1","hashtag2"]},{"1397169761":["hashtag1","hashtag2"]},{"1397169757":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397169789, 1397169774, 1397169785, 1397169782, 1397169761, 1397169757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.879042863845825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 07:42:12.360502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_43_2715.jpg', '/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_46_3644.jpg', '/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_52_2720.jpg', '/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_55_3676.jpg', '/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_58_2590.jpg', '/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_02_3654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_43_2715.jpg
/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_46_3644.jpg
/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_52_2720.jpg
/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_55_3676.jpg
/home/pi/Desktop/images/25112025/22/06/image_25112025_22_06_58_2590.jpg
/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_02_3654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397169817","1397169810","1397169813","1397169821","1397169826","1397169829"],"photo_ids_order":["1397169810","1397169813","1397169817","1397169821","1397169826","1397169829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0b369324707ab8300fdabb8e00c2cffa.jpg","text":"TemporaryFile(/tmp/multipartBody9097223968282499736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571393830,"filename":"image_25112025_22_06_52_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/1/f39d13346d1c75c2ef304457032f7a1f.jpg","text":"TemporaryFile(/tmp/multipartBody3201540529439856922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571393830,"filename":"image_25112025_22_06_43_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/308c576979c24159c392ede5854a013d.jpg","text":"TemporaryFile(/tmp/multipartBody3419158535769673167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571393830,"filename":"image_25112025_22_06_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/1/4a94666521db7998bc269472b4ab5510.jpg","text":"TemporaryFile(/tmp/multipartBody3331046424307376416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571393830,"filename":"image_25112025_22_06_55_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/1/88cb169391690417b94947c4a2a56378.jpg","text":"TemporaryFile(/tmp/multipartBody8967319416725780426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571393830,"filename":"image_25112025_22_06_58_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/362155dc75f0d215492dab9f4b717c71.jpg","text":"TemporaryFile(/tmp/multipartBody5847522427636697793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571393830,"filename":"image_25112025_22_07_02_3654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397169817","file1":"1397169813","file0":"1397169810","file4":"1397169826","file5":"1397169829","file3":"1397169821"},"map_files_photo_id_array":[{"photo_id":"1397169829","filename":"file5"},{"photo_id":"1397169817","filename":"file2"},{"photo_id":"1397169826","filename":"file4"},{"photo_id":"1397169813","filename":"file1"},{"photo_id":"1397169810","filename":"file0"},{"photo_id":"1397169821","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397169817":["hashtag1","hashtag2"]},{"1397169810":["hashtag1","hashtag2"]},{"1397169813":["hashtag1","hashtag2"]},{"1397169821":["hashtag1","hashtag2"]},{"1397169826":["hashtag1","hashtag2"]},{"1397169829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397169817, 1397169810, 1397169813, 1397169821, 1397169826, 1397169829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27382469177246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:43:03.352513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/40/image_01122025_07_41_04_9947.jpg', '/home/pi/Desktop/images/01122025/07/41/image_01122025_07_41_14_9789.jpg', '/home/pi/Desktop/images/01122025/07/41/image_01122025_07_41_54_9665.jpg', '/home/pi/Desktop/images/01122025/07/41/image_01122025_07_42_04_9727.jpg', '/home/pi/Desktop/images/01122025/07/42/image_01122025_07_42_43_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/40/image_01122025_07_41_04_9947.jpg
/home/pi/Desktop/images/01122025/07/41/image_01122025_07_41_14_9789.jpg
/home/pi/Desktop/images/01122025/07/41/image_01122025_07_41_54_9665.jpg
/home/pi/Desktop/images/01122025/07/41/image_01122025_07_42_04_9727.jpg
/home/pi/Desktop/images/01122025/07/42/image_01122025_07_42_43_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":["1397169861","1397169852","1397169849","1397169840","1397169856"],"photo_ids_order":["1397169840","1397169849","1397169852","1397169856","1397169861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d246eabc791b6274ccaf27df9c1f65d3.jpg","text":"TemporaryFile(/tmp/multipartBody377320090472000129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571444129,"filename":"image_01122025_07_42_43_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/1/f3755757185fc8c8d1fd3b50d349feb2.jpg","text":"TemporaryFile(/tmp/multipartBody3144946328803840825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571444129,"filename":"image_01122025_07_41_54_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/70606f626a83efc435e64db573fba44b.jpg","text":"TemporaryFile(/tmp/multipartBody4120579155285376672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571444129,"filename":"image_01122025_07_41_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/1/025c8a3551c912b08bb729f7e3f745d9.jpg","text":"TemporaryFile(/tmp/multipartBody4610095807987238863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571444129,"filename":"image_01122025_07_41_04_9947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1ba11d748f84f65c6962faf4e39e694d.jpg","text":"TemporaryFile(/tmp/multipartBody7710769518640208980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571444129,"filename":"image_01122025_07_42_04_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397169852","file1":"1397169849","file0":"1397169840","file4":"1397169861","file3":"1397169856"},"map_files_photo_id_array":[{"photo_id":"1397169852","filename":"file2"},{"photo_id":"1397169861","filename":"file4"},{"photo_id":"1397169849","filename":"file1"},{"photo_id":"1397169840","filename":"file0"},{"photo_id":"1397169856","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397169861":["hashtag1","hashtag2"]},{"1397169852":["hashtag1","hashtag2"]},{"1397169849":["hashtag1","hashtag2"]},{"1397169840":["hashtag1","hashtag2"]},{"1397169856":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397169861, 1397169852, 1397169849, 1397169840, 1397169856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.81372928619385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 07:43:42.718416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/59/image_01112025_00_59_09_2579.jpg', '/home/pi/Desktop/images/01112025/00/59/image_01112025_00_59_13_3654.jpg', '/home/pi/Desktop/images/01112025/00/59/image_01112025_00_59_19_3124.jpg', '/home/pi/Desktop/images/01112025/00/59/image_01112025_00_59_37_3636.jpg', '/home/pi/Desktop/images/01112025/00/59/image_01112025_00_59_40_2719.jpg', '/home/pi/Desktop/images/01112025/00/59/image_01112025_00_59_42_2538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/59/image_01112025_00_59_09_2579.jpg
/home/pi/Desktop/images/01112025/00/59/image_01112025_00_59_13_3654.jpg
/home/pi/Desktop/images/01112025/00/59/image_01112025_00_59_19_3124.jpg
/home/pi/Desktop/images/01112025/00/59/image_01112025_00_59_37_3636.jpg
/home/pi/Desktop/images/01112025/00/59/image_01112025_00_59_40_2719.jpg
/home/pi/Desktop/images/01112025/00/59/image_01112025_00_59_42_2538.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397169882","1397169884","1397169881","1397169880","1397169883","1397169877"],"photo_ids_order":["1397169877","1397169880","1397169881","1397169882","1397169883","1397169884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/07aa1b077840027a6b2afd00446f32b8.jpg","text":"TemporaryFile(/tmp/multipartBody6102258529904315833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571483656,"filename":"image_01112025_00_59_37_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0b672be2de259e2fa089250c0e64dc87.jpg","text":"TemporaryFile(/tmp/multipartBody4287312251742437331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571483656,"filename":"image_01112025_00_59_42_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/1/d40338a77f59c0b9ce46e093c603dfd5.jpg","text":"TemporaryFile(/tmp/multipartBody1453545135903401423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571483656,"filename":"image_01112025_00_59_19_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/1/c51cd02391cc0cf352aece23a4fb2713.jpg","text":"TemporaryFile(/tmp/multipartBody6098842782643128031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571483656,"filename":"image_01112025_00_59_13_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a0374f308f38ab1b86f52c5dfb8002d9.jpg","text":"TemporaryFile(/tmp/multipartBody354009267906044924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571483656,"filename":"image_01112025_00_59_40_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/1/418a2ffb2a5d717419e42666871f41aa.jpg","text":"TemporaryFile(/tmp/multipartBody3975059610580241035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571483656,"filename":"image_01112025_00_59_09_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397169881","file1":"1397169880","file0":"1397169877","file4":"1397169883","file5":"1397169884","file3":"1397169882"},"map_files_photo_id_array":[{"photo_id":"1397169884","filename":"file5"},{"photo_id":"1397169881","filename":"file2"},{"photo_id":"1397169883","filename":"file4"},{"photo_id":"1397169880","filename":"file1"},{"photo_id":"1397169877","filename":"file0"},{"photo_id":"1397169882","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397169882":["hashtag1","hashtag2"]},{"1397169884":["hashtag1","hashtag2"]},{"1397169881":["hashtag1","hashtag2"]},{"1397169880":["hashtag1","hashtag2"]},{"1397169883":["hashtag1","hashtag2"]},{"1397169877":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397169882, 1397169884, 1397169881, 1397169880, 1397169883, 1397169877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.32113695144653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 07:44:31.887153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_04_2596.jpg', '/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_07_2686.jpg', '/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_11_3676.jpg', '/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_16_5550.jpg', '/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_18_1652.jpg', '/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_19_1522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_04_2596.jpg
/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_07_2686.jpg
/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_11_3676.jpg
/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_16_5550.jpg
/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_18_1652.jpg
/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_19_1522.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397169916","1397169915","1397169903","1397169917","1397169913","1397169907"],"photo_ids_order":["1397169903","1397169907","1397169913","1397169915","1397169916","1397169917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c489b61f7a3e4ac70151d0cf98443536.jpg","text":"TemporaryFile(/tmp/multipartBody145431691629992656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571533629,"filename":"image_25112025_22_07_18_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/1/aec7bed97a9cd9efd1e6c7d6f7f7cd2a.jpg","text":"TemporaryFile(/tmp/multipartBody349797913318226108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571533629,"filename":"image_25112025_22_07_16_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/1/0cf927cc62468e91e5bdfc316000b4ec.jpg","text":"TemporaryFile(/tmp/multipartBody3009119979900019803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571533629,"filename":"image_25112025_22_07_04_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/1/9eed028224b3219a7e05bd0369be2f94.jpg","text":"TemporaryFile(/tmp/multipartBody7394936908074049418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571533629,"filename":"image_25112025_22_07_19_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/1/41b1988c586684ff6d8f7e22def2dd23.jpg","text":"TemporaryFile(/tmp/multipartBody6025751993677807127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571533629,"filename":"image_25112025_22_07_11_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/1/6b6025b1f7a79c4c1331b7cefd7322a8.jpg","text":"TemporaryFile(/tmp/multipartBody4351013037354197810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571533629,"filename":"image_25112025_22_07_07_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397169913","file1":"1397169907","file0":"1397169903","file4":"1397169916","file5":"1397169917","file3":"1397169915"},"map_files_photo_id_array":[{"photo_id":"1397169917","filename":"file5"},{"photo_id":"1397169913","filename":"file2"},{"photo_id":"1397169916","filename":"file4"},{"photo_id":"1397169907","filename":"file1"},{"photo_id":"1397169903","filename":"file0"},{"photo_id":"1397169915","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397169916":["hashtag1","hashtag2"]},{"1397169915":["hashtag1","hashtag2"]},{"1397169903":["hashtag1","hashtag2"]},{"1397169917":["hashtag1","hashtag2"]},{"1397169913":["hashtag1","hashtag2"]},{"1397169907":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397169916, 1397169915, 1397169903, 1397169917, 1397169913, 1397169907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40914177894592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 07:45:12.128525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_22_2629.jpg', '/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_25_3503.jpg', '/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_28_2708.jpg', '/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_31_2661.jpg', '/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_35_3676.jpg', '/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_37_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_22_2629.jpg
/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_25_3503.jpg
/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_28_2708.jpg
/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_31_2661.jpg
/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_35_3676.jpg
/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_37_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":["1397169953","1397169932","1397169938","1397169943","1397169949","1397169934"],"photo_ids_order":["1397169932","1397169934","1397169938","1397169943","1397169949","1397169953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0c3b9aae2d612a845e3708dfb5290c67.jpg","text":"TemporaryFile(/tmp/multipartBody5501754512150563744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571573752,"filename":"image_25112025_22_07_37_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/118212b74fa666c25a624ca1ed5bb180.jpg","text":"TemporaryFile(/tmp/multipartBody6251644316897343908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571573752,"filename":"image_25112025_22_07_22_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/1/fb9399fd6a2ac71191067ff471b7163a.jpg","text":"TemporaryFile(/tmp/multipartBody8437932103009056875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571573752,"filename":"image_25112025_22_07_28_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/1/2adc336f69cfd8037d8121795480d3fb.jpg","text":"TemporaryFile(/tmp/multipartBody8961495880547320355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571573752,"filename":"image_25112025_22_07_31_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ddb6a454f1a8a7f01f5eca132af704c8.jpg","text":"TemporaryFile(/tmp/multipartBody2599528851598088728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571573752,"filename":"image_25112025_22_07_35_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/1/a8c6e1b411291df93e876bb90335d297.jpg","text":"TemporaryFile(/tmp/multipartBody7885593245290054507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571573752,"filename":"image_25112025_22_07_25_3503.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397169938","file1":"1397169934","file0":"1397169932","file4":"1397169949","file5":"1397169953","file3":"1397169943"},"map_files_photo_id_array":[{"photo_id":"1397169953","filename":"file5"},{"photo_id":"1397169938","filename":"file2"},{"photo_id":"1397169949","filename":"file4"},{"photo_id":"1397169934","filename":"file1"},{"photo_id":"1397169932","filename":"file0"},{"photo_id":"1397169943","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397169953":["hashtag1","hashtag2"]},{"1397169932":["hashtag1","hashtag2"]},{"1397169938":["hashtag1","hashtag2"]},{"1397169943":["hashtag1","hashtag2"]},{"1397169949":["hashtag1","hashtag2"]},{"1397169934":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397169953, 1397169932, 1397169938, 1397169943, 1397169949, 1397169934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.215193033218384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:46:02.607319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/42/image_01122025_07_42_54_10960.jpg', '/home/pi/Desktop/images/01122025/07/43/image_01122025_07_43_14_9767.jpg', '/home/pi/Desktop/images/01122025/07/43/image_01122025_07_43_44_9616.jpg', '/home/pi/Desktop/images/01122025/07/43/image_01122025_07_43_54_9791.jpg', '/home/pi/Desktop/images/01122025/07/43/image_01122025_07_44_03_9839.jpg', '/home/pi/Desktop/images/01122025/07/44/image_01122025_07_44_14_10596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/42/image_01122025_07_42_54_10960.jpg
/home/pi/Desktop/images/01122025/07/43/image_01122025_07_43_14_9767.jpg
/home/pi/Desktop/images/01122025/07/43/image_01122025_07_43_44_9616.jpg
/home/pi/Desktop/images/01122025/07/43/image_01122025_07_43_54_9791.jpg
/home/pi/Desktop/images/01122025/07/43/image_01122025_07_44_03_9839.jpg
/home/pi/Desktop/images/01122025/07/44/image_01122025_07_44_14_10596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397169965","1397169974","1397169968","1397169979","1397169970","1397169967"],"photo_ids_order":["1397169965","1397169967","1397169968","1397169970","1397169974","1397169979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cf7784df6143e39613aa1a41fe4f37ea.jpg","text":"TemporaryFile(/tmp/multipartBody1583910348313535982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571623389,"filename":"image_01122025_07_42_54_10960.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2228971c0e2674670970cdecc1d2e44b.jpg","text":"TemporaryFile(/tmp/multipartBody4433597044172118107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571623389,"filename":"image_01122025_07_44_03_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/1/de025e985a7154c9763c84100243442a.jpg","text":"TemporaryFile(/tmp/multipartBody1209444898496951927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571623389,"filename":"image_01122025_07_43_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/1/3ec8127b1e44de46b7486e4502cc20f1.jpg","text":"TemporaryFile(/tmp/multipartBody2061874409861927265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571623389,"filename":"image_01122025_07_44_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/1/e5bdf60997c8595e74b0a383e0576bc3.jpg","text":"TemporaryFile(/tmp/multipartBody7574681741994221987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571623389,"filename":"image_01122025_07_43_54_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/019e26580de312d8b65fe2d60219c839.jpg","text":"TemporaryFile(/tmp/multipartBody4153237790957195062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571623389,"filename":"image_01122025_07_43_14_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397169968","file1":"1397169967","file0":"1397169965","file4":"1397169974","file5":"1397169979","file3":"1397169970"},"map_files_photo_id_array":[{"photo_id":"1397169979","filename":"file5"},{"photo_id":"1397169968","filename":"file2"},{"photo_id":"1397169974","filename":"file4"},{"photo_id":"1397169967","filename":"file1"},{"photo_id":"1397169965","filename":"file0"},{"photo_id":"1397169970","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397169965":["hashtag1","hashtag2"]},{"1397169974":["hashtag1","hashtag2"]},{"1397169968":["hashtag1","hashtag2"]},{"1397169979":["hashtag1","hashtag2"]},{"1397169970":["hashtag1","hashtag2"]},{"1397169967":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397169965, 1397169974, 1397169968, 1397169979, 1397169970, 1397169967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40908241271973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 07:46:42.292650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/00/59/image_01112025_00_59_46_3625.jpg', '/home/pi/Desktop/images/01112025/00/59/image_01112025_00_59_55_4205.jpg', '/home/pi/Desktop/images/01112025/00/59/image_01112025_00_59_58_2588.jpg', '/home/pi/Desktop/images/01112025/00/59/image_01112025_01_00_00_2538.jpg', '/home/pi/Desktop/images/01112025/01/00/image_01112025_01_00_07_2899.jpg', '/home/pi/Desktop/images/01112025/01/00/image_01112025_01_00_10_2952.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/00/59/image_01112025_00_59_46_3625.jpg
/home/pi/Desktop/images/01112025/00/59/image_01112025_00_59_55_4205.jpg
/home/pi/Desktop/images/01112025/00/59/image_01112025_00_59_58_2588.jpg
/home/pi/Desktop/images/01112025/00/59/image_01112025_01_00_00_2538.jpg
/home/pi/Desktop/images/01112025/01/00/image_01112025_01_00_07_2899.jpg
/home/pi/Desktop/images/01112025/01/00/image_01112025_01_00_10_2952.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397170009","1397170000","1397170011","1397170014","1397170013","1397170007"],"photo_ids_order":["1397170000","1397170007","1397170009","1397170011","1397170013","1397170014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/066084fd26147d75afee836c0ba9fa5f.jpg","text":"TemporaryFile(/tmp/multipartBody5994487487805263774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571663139,"filename":"image_01112025_00_59_58_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/1/6cf40add5ff6179125cfd6c8536545fc.jpg","text":"TemporaryFile(/tmp/multipartBody2626909788240367469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571663139,"filename":"image_01112025_00_59_46_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/1/32cf6f0437e542a5de31f2892076da16.jpg","text":"TemporaryFile(/tmp/multipartBody8832241217912468557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571663139,"filename":"image_01112025_01_00_00_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/1/de11bb98592d17b18fbee64691c282b4.jpg","text":"TemporaryFile(/tmp/multipartBody6669108373303992767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571663139,"filename":"image_01112025_01_00_10_2952.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2766cbf391fb86f9ce627c053bee9c71.jpg","text":"TemporaryFile(/tmp/multipartBody2517586587725200569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571663139,"filename":"image_01112025_01_00_07_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/1/86592d7805f3925536ba2debc05ea0e1.jpg","text":"TemporaryFile(/tmp/multipartBody2566722542288279810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571663139,"filename":"image_01112025_00_59_55_4205.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397170009","file1":"1397170007","file0":"1397170000","file4":"1397170013","file5":"1397170014","file3":"1397170011"},"map_files_photo_id_array":[{"photo_id":"1397170014","filename":"file5"},{"photo_id":"1397170009","filename":"file2"},{"photo_id":"1397170013","filename":"file4"},{"photo_id":"1397170007","filename":"file1"},{"photo_id":"1397170000","filename":"file0"},{"photo_id":"1397170011","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397170009":["hashtag1","hashtag2"]},{"1397170000":["hashtag1","hashtag2"]},{"1397170011":["hashtag1","hashtag2"]},{"1397170014":["hashtag1","hashtag2"]},{"1397170013":["hashtag1","hashtag2"]},{"1397170007":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397170009, 1397170000, 1397170011, 1397170014, 1397170013, 1397170007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57080841064453 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 07:47:22.544541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/44/image_01122025_07_44_24_9771.jpg', '/home/pi/Desktop/images/01122025/07/44/image_01122025_07_44_44_9737.jpg', '/home/pi/Desktop/images/01122025/07/44/image_01122025_07_44_54_9716.jpg', '/home/pi/Desktop/images/01122025/07/44/image_01122025_07_45_04_10654.jpg', '/home/pi/Desktop/images/01122025/07/45/image_01122025_07_45_14_9819.jpg', '/home/pi/Desktop/images/01122025/07/45/image_01122025_07_45_24_9880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/44/image_01122025_07_44_24_9771.jpg
/home/pi/Desktop/images/01122025/07/44/image_01122025_07_44_44_9737.jpg
/home/pi/Desktop/images/01122025/07/44/image_01122025_07_44_54_9716.jpg
/home/pi/Desktop/images/01122025/07/44/image_01122025_07_45_04_10654.jpg
/home/pi/Desktop/images/01122025/07/45/image_01122025_07_45_14_9819.jpg
/home/pi/Desktop/images/01122025/07/45/image_01122025_07_45_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":["1397170039","1397170030","1397170027","1397170036","1397170043","1397170022"],"photo_ids_order":["1397170022","1397170027","1397170030","1397170036","1397170039","1397170043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c6ceb7cee3a53d1641e3efd535be47fd.jpg","text":"TemporaryFile(/tmp/multipartBody3498869734020047817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571703418,"filename":"image_01122025_07_45_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/1/b15689a5bd28e0e073dc232f5f0a15c9.jpg","text":"TemporaryFile(/tmp/multipartBody8894181019081137756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571703418,"filename":"image_01122025_07_44_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/1/fba3ad251f4a8e57fc6514ed9d556412.jpg","text":"TemporaryFile(/tmp/multipartBody3245905721589683723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571703418,"filename":"image_01122025_07_44_44_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7539c5c87345466d23502713a4c8a528.jpg","text":"TemporaryFile(/tmp/multipartBody5439305054814492499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571703418,"filename":"image_01122025_07_45_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/1/c71d31cd702896c233bf02f80ab5a3b0.jpg","text":"TemporaryFile(/tmp/multipartBody5416414223241808515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571703418,"filename":"image_01122025_07_45_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/1/04d7e29b81e7521a21241c10039af575.jpg","text":"TemporaryFile(/tmp/multipartBody5327491843200270243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571703418,"filename":"image_01122025_07_44_24_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397170030","file1":"1397170027","file0":"1397170022","file4":"1397170039","file5":"1397170043","file3":"1397170036"},"map_files_photo_id_array":[{"photo_id":"1397170043","filename":"file5"},{"photo_id":"1397170030","filename":"file2"},{"photo_id":"1397170039","filename":"file4"},{"photo_id":"1397170027","filename":"file1"},{"photo_id":"1397170022","filename":"file0"},{"photo_id":"1397170036","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397170039":["hashtag1","hashtag2"]},{"1397170030":["hashtag1","hashtag2"]},{"1397170027":["hashtag1","hashtag2"]},{"1397170036":["hashtag1","hashtag2"]},{"1397170043":["hashtag1","hashtag2"]},{"1397170022":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397170039, 1397170030, 1397170027, 1397170036, 1397170043, 1397170022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.16350483894348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 07:48:12.563640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_40_2600.jpg', '/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_43_3498.jpg', '/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_46_2727.jpg', '/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_50_3623.jpg', '/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_52_2600.jpg', '/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_55_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_40_2600.jpg
/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_43_3498.jpg
/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_46_2727.jpg
/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_50_3623.jpg
/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_52_2600.jpg
/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_55_2652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397170078","1397170066","1397170070","1397170064","1397170073","1397170061"],"photo_ids_order":["1397170061","1397170064","1397170066","1397170070","1397170073","1397170078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5759d51cd76d4002b5d7a54da80a5fad.jpg","text":"TemporaryFile(/tmp/multipartBody5260730317223550784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571754014,"filename":"image_25112025_22_07_55_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/1/cd9b6ff1a8ff1534849e176bf559c940.jpg","text":"TemporaryFile(/tmp/multipartBody921820341749992227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571754014,"filename":"image_25112025_22_07_46_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/10c1e031a19c0f65b894b48aaed5fde2.jpg","text":"TemporaryFile(/tmp/multipartBody9147251850798462074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571754014,"filename":"image_25112025_22_07_50_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/1/667129c5f0aa57dc34c410aca5160e98.jpg","text":"TemporaryFile(/tmp/multipartBody4456740284057653204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571754014,"filename":"image_25112025_22_07_43_3498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/309829a5455f21f83d4568ae6f652e80.jpg","text":"TemporaryFile(/tmp/multipartBody3644394804082194224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571754014,"filename":"image_25112025_22_07_52_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/1/42617feca19ae09c62791e2fa17fbd9b.jpg","text":"TemporaryFile(/tmp/multipartBody9061883557098784776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571754014,"filename":"image_25112025_22_07_40_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397170066","file1":"1397170064","file0":"1397170061","file4":"1397170073","file5":"1397170078","file3":"1397170070"},"map_files_photo_id_array":[{"photo_id":"1397170078","filename":"file5"},{"photo_id":"1397170066","filename":"file2"},{"photo_id":"1397170073","filename":"file4"},{"photo_id":"1397170064","filename":"file1"},{"photo_id":"1397170061","filename":"file0"},{"photo_id":"1397170070","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397170078":["hashtag1","hashtag2"]},{"1397170066":["hashtag1","hashtag2"]},{"1397170070":["hashtag1","hashtag2"]},{"1397170064":["hashtag1","hashtag2"]},{"1397170073":["hashtag1","hashtag2"]},{"1397170061":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397170078, 1397170066, 1397170070, 1397170064, 1397170073, 1397170061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.40643930435181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:49:02.871960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/45/image_01122025_07_45_34_9938.jpg', '/home/pi/Desktop/images/01122025/07/45/image_01122025_07_45_44_9725.jpg', '/home/pi/Desktop/images/01122025/07/45/image_01122025_07_45_54_10798.jpg', '/home/pi/Desktop/images/01122025/07/46/image_01122025_07_46_14_9673.jpg', '/home/pi/Desktop/images/01122025/07/46/image_01122025_07_46_24_9810.jpg', '/home/pi/Desktop/images/01122025/07/46/image_01122025_07_46_54_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/45/image_01122025_07_45_34_9938.jpg
/home/pi/Desktop/images/01122025/07/45/image_01122025_07_45_44_9725.jpg
/home/pi/Desktop/images/01122025/07/45/image_01122025_07_45_54_10798.jpg
/home/pi/Desktop/images/01122025/07/46/image_01122025_07_46_14_9673.jpg
/home/pi/Desktop/images/01122025/07/46/image_01122025_07_46_24_9810.jpg
/home/pi/Desktop/images/01122025/07/46/image_01122025_07_46_54_9740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397170090","1397170092","1397170107","1397170094","1397170112","1397170096"],"photo_ids_order":["1397170090","1397170092","1397170094","1397170096","1397170107","1397170112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e9ca2b95e917871ac421496ea6eb3b54.jpg","text":"TemporaryFile(/tmp/multipartBody2749586840146886945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571803898,"filename":"image_01122025_07_45_34_9938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fe1f6a1fda44dfd8512efe7c18377a41.jpg","text":"TemporaryFile(/tmp/multipartBody6847497218650928552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571803898,"filename":"image_01122025_07_45_44_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c193e6b2cc1684f5447597125d8fca4b.jpg","text":"TemporaryFile(/tmp/multipartBody917331938403703909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571803898,"filename":"image_01122025_07_46_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/1/bf4487b5bbdbcb504b1405633c73fd27.jpg","text":"TemporaryFile(/tmp/multipartBody6639644415103299118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571803898,"filename":"image_01122025_07_45_54_10798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/67b5456d537912ebbc6b676f9d3a672d.jpg","text":"TemporaryFile(/tmp/multipartBody5789578138595254751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571803898,"filename":"image_01122025_07_46_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/1/a93e4f82b0b0972943b8ca7307a38fde.jpg","text":"TemporaryFile(/tmp/multipartBody7418829483513132664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571803898,"filename":"image_01122025_07_46_14_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397170094","file1":"1397170092","file0":"1397170090","file4":"1397170107","file5":"1397170112","file3":"1397170096"},"map_files_photo_id_array":[{"photo_id":"1397170112","filename":"file5"},{"photo_id":"1397170094","filename":"file2"},{"photo_id":"1397170107","filename":"file4"},{"photo_id":"1397170092","filename":"file1"},{"photo_id":"1397170090","filename":"file0"},{"photo_id":"1397170096","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397170090":["hashtag1","hashtag2"]},{"1397170092":["hashtag1","hashtag2"]},{"1397170107":["hashtag1","hashtag2"]},{"1397170094":["hashtag1","hashtag2"]},{"1397170112":["hashtag1","hashtag2"]},{"1397170096":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397170090, 1397170092, 1397170107, 1397170094, 1397170112, 1397170096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.8851523399353 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:50:04.563786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 07:50:14.445136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_58_3565.jpg', '/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_01_2679.jpg', '/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_04_2769.jpg', '/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_07_3576.jpg', '/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_10_2780.jpg', '/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_13_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/07/image_25112025_22_07_58_3565.jpg
/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_01_2679.jpg
/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_04_2769.jpg
/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_07_3576.jpg
/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_10_2780.jpg
/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_13_2568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397170150","1397170153","1397170140","1397170143","1397170137","1397170146"],"photo_ids_order":["1397170137","1397170140","1397170143","1397170146","1397170150","1397170153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e21f81a237ecca86774ad1c59600bf92.jpg","text":"TemporaryFile(/tmp/multipartBody6866409542880173400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571875898,"filename":"image_25112025_22_08_10_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/1/516103cd5f88b6d15dd04d0fd90c0a3f.jpg","text":"TemporaryFile(/tmp/multipartBody1183503646668395162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571875898,"filename":"image_25112025_22_08_13_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/1/559810b0025606ceda7d8099ca16be1f.jpg","text":"TemporaryFile(/tmp/multipartBody8164211910763531200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571875898,"filename":"image_25112025_22_08_01_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f78f9ca8ea90f8b25c23467aa89450b5.jpg","text":"TemporaryFile(/tmp/multipartBody1999411727045107278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571875898,"filename":"image_25112025_22_08_04_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8c94164f54d34836e4d59bb53868a295.jpg","text":"TemporaryFile(/tmp/multipartBody5837436881071667706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571875898,"filename":"image_25112025_22_07_58_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/529effe2b84fc1753641fc49fefcef92.jpg","text":"TemporaryFile(/tmp/multipartBody8081175269114585308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571875898,"filename":"image_25112025_22_08_07_3576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397170143","file1":"1397170140","file0":"1397170137","file4":"1397170150","file5":"1397170153","file3":"1397170146"},"map_files_photo_id_array":[{"photo_id":"1397170153","filename":"file5"},{"photo_id":"1397170143","filename":"file2"},{"photo_id":"1397170150","filename":"file4"},{"photo_id":"1397170140","filename":"file1"},{"photo_id":"1397170137","filename":"file0"},{"photo_id":"1397170146","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397170150":["hashtag1","hashtag2"]},{"1397170153":["hashtag1","hashtag2"]},{"1397170140":["hashtag1","hashtag2"]},{"1397170143":["hashtag1","hashtag2"]},{"1397170137":["hashtag1","hashtag2"]},{"1397170146":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397170150, 1397170153, 1397170140, 1397170143, 1397170137, 1397170146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.97544026374817 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:51:03.261015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 07:51:12.724898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 07:51:23.835059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/46/image_01122025_07_47_04_9647.jpg', '/home/pi/Desktop/images/01122025/07/47/image_01122025_07_47_14_9850.jpg', '/home/pi/Desktop/images/01122025/07/47/image_01122025_07_47_34_9794.jpg', '/home/pi/Desktop/images/01122025/07/47/image_01122025_07_47_44_9881.jpg', '/home/pi/Desktop/images/01122025/07/47/image_01122025_07_47_54_9860.jpg', '/home/pi/Desktop/images/01122025/07/47/image_01122025_07_48_04_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/46/image_01122025_07_47_04_9647.jpg
/home/pi/Desktop/images/01122025/07/47/image_01122025_07_47_14_9850.jpg
/home/pi/Desktop/images/01122025/07/47/image_01122025_07_47_34_9794.jpg
/home/pi/Desktop/images/01122025/07/47/image_01122025_07_47_44_9881.jpg
/home/pi/Desktop/images/01122025/07/47/image_01122025_07_47_54_9860.jpg
/home/pi/Desktop/images/01122025/07/47/image_01122025_07_48_04_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":["1397170185","1397170196","1397170181","1397170178","1397170192","1397170189"],"photo_ids_order":["1397170178","1397170181","1397170185","1397170189","1397170192","1397170196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e4e1737dee6fc8e3db6ae84eddb550fc.jpg","text":"TemporaryFile(/tmp/multipartBody2880741540296720836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571944610,"filename":"image_01122025_07_47_34_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/148306c4311a55f0d9117b0254edb80c.jpg","text":"TemporaryFile(/tmp/multipartBody5985320634023197306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571944610,"filename":"image_01122025_07_48_04_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cffdf53bb9feafc63af710e6b5b09620.jpg","text":"TemporaryFile(/tmp/multipartBody7110231494745998077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571944610,"filename":"image_01122025_07_47_14_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1b8b0f799d861e9cce633f5403ec7040.jpg","text":"TemporaryFile(/tmp/multipartBody8913796695560938930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571944610,"filename":"image_01122025_07_47_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/1/5ae16c2a2f51c7bca704550329b3c3d7.jpg","text":"TemporaryFile(/tmp/multipartBody567422449194482869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571944610,"filename":"image_01122025_07_47_54_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8843de8c72c5fd4ecc4a82eb79daf219.jpg","text":"TemporaryFile(/tmp/multipartBody6836541601302735677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571944610,"filename":"image_01122025_07_47_44_9881.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397170185","file1":"1397170181","file0":"1397170178","file4":"1397170192","file5":"1397170196","file3":"1397170189"},"map_files_photo_id_array":[{"photo_id":"1397170196","filename":"file5"},{"photo_id":"1397170185","filename":"file2"},{"photo_id":"1397170192","filename":"file4"},{"photo_id":"1397170181","filename":"file1"},{"photo_id":"1397170178","filename":"file0"},{"photo_id":"1397170189","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397170185":["hashtag1","hashtag2"]},{"1397170196":["hashtag1","hashtag2"]},{"1397170181":["hashtag1","hashtag2"]},{"1397170178":["hashtag1","hashtag2"]},{"1397170192":["hashtag1","hashtag2"]},{"1397170189":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397170185, 1397170196, 1397170181, 1397170178, 1397170192, 1397170189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.06902766227722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 07:52:11.917562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_19_2638.jpg', '/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_22_2625.jpg', '/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_25_3640.jpg', '/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_28_2754.jpg', '/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_31_2561.jpg', '/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_34_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_19_2638.jpg
/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_22_2625.jpg
/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_25_3640.jpg
/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_28_2754.jpg
/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_31_2561.jpg
/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_34_3649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397170207","1397170215","1397170212","1397170220","1397170223","1397170202"],"photo_ids_order":["1397170202","1397170207","1397170212","1397170215","1397170220","1397170223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6c74f9056be4fdeb0b7a948f9ecebeff.jpg","text":"TemporaryFile(/tmp/multipartBody3203177142864585860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571996512,"filename":"image_25112025_22_08_22_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/1/8f8ebbbe17f5ef5d56accbe4f4edb758.jpg","text":"TemporaryFile(/tmp/multipartBody7230960378105663289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571996512,"filename":"image_25112025_22_08_28_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/1/b12162d37725f6d8fa9a0abf17594195.jpg","text":"TemporaryFile(/tmp/multipartBody1146546323511069611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571996512,"filename":"image_25112025_22_08_25_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/790d9a769c12275635cffdd606883912.jpg","text":"TemporaryFile(/tmp/multipartBody1542138618056711036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571996512,"filename":"image_25112025_22_08_31_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e9bc9b3c11782fe10054e7cccb37b30f.jpg","text":"TemporaryFile(/tmp/multipartBody2985093034903620907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571996512,"filename":"image_25112025_22_08_34_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/1/2579dc6ff5cd26496a6ee7e441f32b0c.jpg","text":"TemporaryFile(/tmp/multipartBody4395668396861622163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764571996512,"filename":"image_25112025_22_08_19_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397170212","file1":"1397170207","file0":"1397170202","file4":"1397170220","file5":"1397170223","file3":"1397170215"},"map_files_photo_id_array":[{"photo_id":"1397170223","filename":"file5"},{"photo_id":"1397170212","filename":"file2"},{"photo_id":"1397170220","filename":"file4"},{"photo_id":"1397170207","filename":"file1"},{"photo_id":"1397170202","filename":"file0"},{"photo_id":"1397170215","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397170207":["hashtag1","hashtag2"]},{"1397170215":["hashtag1","hashtag2"]},{"1397170212":["hashtag1","hashtag2"]},{"1397170220":["hashtag1","hashtag2"]},{"1397170223":["hashtag1","hashtag2"]},{"1397170202":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397170207, 1397170215, 1397170212, 1397170220, 1397170223, 1397170202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.69293737411499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:53:02.725894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/48/image_01122025_07_48_14_10730.jpg', '/home/pi/Desktop/images/01122025/07/48/image_01122025_07_48_24_9686.jpg', '/home/pi/Desktop/images/01122025/07/48/image_01122025_07_48_34_9748.jpg', '/home/pi/Desktop/images/01122025/07/48/image_01122025_07_48_43_9717.jpg', '/home/pi/Desktop/images/01122025/07/48/image_01122025_07_48_54_10564.jpg', '/home/pi/Desktop/images/01122025/07/48/image_01122025_07_49_04_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/48/image_01122025_07_48_14_10730.jpg
/home/pi/Desktop/images/01122025/07/48/image_01122025_07_48_24_9686.jpg
/home/pi/Desktop/images/01122025/07/48/image_01122025_07_48_34_9748.jpg
/home/pi/Desktop/images/01122025/07/48/image_01122025_07_48_43_9717.jpg
/home/pi/Desktop/images/01122025/07/48/image_01122025_07_48_54_10564.jpg
/home/pi/Desktop/images/01122025/07/48/image_01122025_07_49_04_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":["1397170231","1397170251","1397170233","1397170236","1397170239","1397170235"],"photo_ids_order":["1397170231","1397170233","1397170235","1397170236","1397170239","1397170251"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/579abdf19bac9565dc357b8934658af7.jpg","text":"TemporaryFile(/tmp/multipartBody1955897070005642115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572043664,"filename":"image_01122025_07_48_14_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/1/e67ebb9573e43e0a62d5c77c3a72a70c.jpg","text":"TemporaryFile(/tmp/multipartBody8094243163770178435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572043664,"filename":"image_01122025_07_49_04_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8993a1c8c2be2e54cdc3993f317135b8.jpg","text":"TemporaryFile(/tmp/multipartBody8161871156670478219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572043664,"filename":"image_01122025_07_48_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/1/16245854322a62e5342561405de9426f.jpg","text":"TemporaryFile(/tmp/multipartBody7766946644811827302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572043664,"filename":"image_01122025_07_48_43_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/1/522fd66b8ede09a85ff34d466c83f57e.jpg","text":"TemporaryFile(/tmp/multipartBody186890347538502839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572043664,"filename":"image_01122025_07_48_54_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bca6a9a5cff46a1f3dc5289f6ba9eb6a.jpg","text":"TemporaryFile(/tmp/multipartBody1230662744437739713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572043664,"filename":"image_01122025_07_48_34_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397170235","file1":"1397170233","file0":"1397170231","file4":"1397170239","file5":"1397170251","file3":"1397170236"},"map_files_photo_id_array":[{"photo_id":"1397170251","filename":"file5"},{"photo_id":"1397170235","filename":"file2"},{"photo_id":"1397170239","filename":"file4"},{"photo_id":"1397170233","filename":"file1"},{"photo_id":"1397170231","filename":"file0"},{"photo_id":"1397170236","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397170231":["hashtag1","hashtag2"]},{"1397170251":["hashtag1","hashtag2"]},{"1397170233":["hashtag1","hashtag2"]},{"1397170236":["hashtag1","hashtag2"]},{"1397170239":["hashtag1","hashtag2"]},{"1397170235":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397170231, 1397170251, 1397170233, 1397170236, 1397170239, 1397170235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23980259895325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 07:53:41.992768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/00/image_01112025_01_00_30_2594.jpg', '/home/pi/Desktop/images/01112025/01/00/image_01112025_01_00_34_3641.jpg', '/home/pi/Desktop/images/01112025/01/00/image_01112025_01_00_52_3590.jpg', '/home/pi/Desktop/images/01112025/01/00/image_01112025_01_00_54_2657.jpg', '/home/pi/Desktop/images/01112025/01/01/image_01112025_01_01_10_3704.jpg', '/home/pi/Desktop/images/01112025/01/01/image_01112025_01_01_22_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/00/image_01112025_01_00_30_2594.jpg
/home/pi/Desktop/images/01112025/01/00/image_01112025_01_00_34_3641.jpg
/home/pi/Desktop/images/01112025/01/00/image_01112025_01_00_52_3590.jpg
/home/pi/Desktop/images/01112025/01/00/image_01112025_01_00_54_2657.jpg
/home/pi/Desktop/images/01112025/01/01/image_01112025_01_01_10_3704.jpg
/home/pi/Desktop/images/01112025/01/01/image_01112025_01_01_22_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":["1397170276","1397170270","1397170264","1397170272","1397170269","1397170274"],"photo_ids_order":["1397170264","1397170269","1397170270","1397170272","1397170274","1397170276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3fa7cebe2f24b928aca7cb76a1060ed8.jpg","text":"TemporaryFile(/tmp/multipartBody1692530804105123069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572082841,"filename":"image_01112025_01_01_22_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/1/c7baf6981141f878df86cb9e5246cb36.jpg","text":"TemporaryFile(/tmp/multipartBody2463449121158984519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572082841,"filename":"image_01112025_01_00_52_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/1/27c578b9caefcca88185481d79759e09.jpg","text":"TemporaryFile(/tmp/multipartBody2012897038702396219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572082841,"filename":"image_01112025_01_00_30_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/1/3a4ae4d1f84ac478d579d4a90c409bf5.jpg","text":"TemporaryFile(/tmp/multipartBody3276320322354154640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572082841,"filename":"image_01112025_01_00_54_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/1/5168a41dfc2f6b85a74bf20464307bb3.jpg","text":"TemporaryFile(/tmp/multipartBody7113716937146269154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572082841,"filename":"image_01112025_01_00_34_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/1/8761576805d577c287a7bfe3a179054a.jpg","text":"TemporaryFile(/tmp/multipartBody4180324495855854160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572082841,"filename":"image_01112025_01_01_10_3704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397170270","file1":"1397170269","file0":"1397170264","file4":"1397170274","file5":"1397170276","file3":"1397170272"},"map_files_photo_id_array":[{"photo_id":"1397170276","filename":"file5"},{"photo_id":"1397170270","filename":"file2"},{"photo_id":"1397170274","filename":"file4"},{"photo_id":"1397170269","filename":"file1"},{"photo_id":"1397170264","filename":"file0"},{"photo_id":"1397170272","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397170276":["hashtag1","hashtag2"]},{"1397170270":["hashtag1","hashtag2"]},{"1397170264":["hashtag1","hashtag2"]},{"1397170272":["hashtag1","hashtag2"]},{"1397170269":["hashtag1","hashtag2"]},{"1397170274":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397170276, 1397170270, 1397170264, 1397170272, 1397170269, 1397170274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3242290019989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 07:54:22.164785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/49/image_01122025_07_49_14_9875.jpg', '/home/pi/Desktop/images/01122025/07/49/image_01122025_07_49_24_10785.jpg', '/home/pi/Desktop/images/01122025/07/49/image_01122025_07_49_34_9545.jpg', '/home/pi/Desktop/images/01122025/07/49/image_01122025_07_49_44_9770.jpg', '/home/pi/Desktop/images/01122025/07/49/image_01122025_07_49_53_9806.jpg', '/home/pi/Desktop/images/01122025/07/49/image_01122025_07_50_04_10699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/49/image_01122025_07_49_14_9875.jpg
/home/pi/Desktop/images/01122025/07/49/image_01122025_07_49_24_10785.jpg
/home/pi/Desktop/images/01122025/07/49/image_01122025_07_49_34_9545.jpg
/home/pi/Desktop/images/01122025/07/49/image_01122025_07_49_44_9770.jpg
/home/pi/Desktop/images/01122025/07/49/image_01122025_07_49_53_9806.jpg
/home/pi/Desktop/images/01122025/07/49/image_01122025_07_50_04_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":["1397170324","1397170312","1397170306","1397170300","1397170293","1397170304"],"photo_ids_order":["1397170293","1397170300","1397170304","1397170306","1397170312","1397170324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c2c7628906a8bb921f4d4ef4e13e9f59.jpg","text":"TemporaryFile(/tmp/multipartBody7778932616376375351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572122971,"filename":"image_01122025_07_50_04_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/1/2b984401c44b884344fd75c9e880b56e.jpg","text":"TemporaryFile(/tmp/multipartBody57021422747010940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572122971,"filename":"image_01122025_07_49_53_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/1/f18ffd87fa4349151cdd49ba2d16bcee.jpg","text":"TemporaryFile(/tmp/multipartBody6119356399113286534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572122971,"filename":"image_01122025_07_49_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/1/0b0e17272b034d1efd15618cb369e776.jpg","text":"TemporaryFile(/tmp/multipartBody5622907558107226518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572122971,"filename":"image_01122025_07_49_24_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/1/ba90806e974d5b003480bd53cc0f9472.jpg","text":"TemporaryFile(/tmp/multipartBody2117177984215835952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572122971,"filename":"image_01122025_07_49_14_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bb4e713c90cedb30cc072da957b88ec5.jpg","text":"TemporaryFile(/tmp/multipartBody1642568501735035574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572122971,"filename":"image_01122025_07_49_34_9545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397170304","file1":"1397170300","file0":"1397170293","file4":"1397170312","file5":"1397170324","file3":"1397170306"},"map_files_photo_id_array":[{"photo_id":"1397170324","filename":"file5"},{"photo_id":"1397170304","filename":"file2"},{"photo_id":"1397170312","filename":"file4"},{"photo_id":"1397170300","filename":"file1"},{"photo_id":"1397170293","filename":"file0"},{"photo_id":"1397170306","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397170324":["hashtag1","hashtag2"]},{"1397170312":["hashtag1","hashtag2"]},{"1397170306":["hashtag1","hashtag2"]},{"1397170300":["hashtag1","hashtag2"]},{"1397170293":["hashtag1","hashtag2"]},{"1397170304":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397170324, 1397170312, 1397170306, 1397170300, 1397170293, 1397170304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75340533256531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:55:03.109701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/50/image_01122025_07_50_14_9798.jpg', '/home/pi/Desktop/images/01122025/07/50/image_01122025_07_50_24_9850.jpg', '/home/pi/Desktop/images/01122025/07/50/image_01122025_07_50_34_10451.jpg', '/home/pi/Desktop/images/01122025/07/51/image_01122025_07_51_14_9556.jpg', '/home/pi/Desktop/images/01122025/07/51/image_01122025_07_51_24_9849.jpg', '/home/pi/Desktop/images/01122025/07/52/image_01122025_07_52_44_10973.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/50/image_01122025_07_50_14_9798.jpg
/home/pi/Desktop/images/01122025/07/50/image_01122025_07_50_24_9850.jpg
/home/pi/Desktop/images/01122025/07/50/image_01122025_07_50_34_10451.jpg
/home/pi/Desktop/images/01122025/07/51/image_01122025_07_51_14_9556.jpg
/home/pi/Desktop/images/01122025/07/51/image_01122025_07_51_24_9849.jpg
/home/pi/Desktop/images/01122025/07/52/image_01122025_07_52_44_10973.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397170342","1397170336","1397170347","1397170332","1397170338","1397170334"],"photo_ids_order":["1397170332","1397170334","1397170336","1397170338","1397170342","1397170347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/981b9a0fc7e2319fbbfa0c9231d1523d.jpg","text":"TemporaryFile(/tmp/multipartBody2596706958087428444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572164012,"filename":"image_01122025_07_51_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/1/b299c68186b3e87267d8f3006328a0e5.jpg","text":"TemporaryFile(/tmp/multipartBody3081726165404467302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572164012,"filename":"image_01122025_07_50_34_10451.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9d1f3950fc90b96e27120aa13a1de516.jpg","text":"TemporaryFile(/tmp/multipartBody5685692263469165411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572164012,"filename":"image_01122025_07_52_44_10973.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/577c5ae9fd7d43f1e007fc11981f75a8.jpg","text":"TemporaryFile(/tmp/multipartBody6471849126520587016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572164012,"filename":"image_01122025_07_50_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/1/f22551c45a477ec2487cc6b9e824170c.jpg","text":"TemporaryFile(/tmp/multipartBody5727665296302486783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572164012,"filename":"image_01122025_07_51_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/1/0497e5284191ccf9a02f42a4bb40397f.jpg","text":"TemporaryFile(/tmp/multipartBody6044006411662185183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572164012,"filename":"image_01122025_07_50_24_9850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397170336","file1":"1397170334","file0":"1397170332","file4":"1397170342","file5":"1397170347","file3":"1397170338"},"map_files_photo_id_array":[{"photo_id":"1397170347","filename":"file5"},{"photo_id":"1397170336","filename":"file2"},{"photo_id":"1397170342","filename":"file4"},{"photo_id":"1397170334","filename":"file1"},{"photo_id":"1397170332","filename":"file0"},{"photo_id":"1397170338","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397170342":["hashtag1","hashtag2"]},{"1397170336":["hashtag1","hashtag2"]},{"1397170347":["hashtag1","hashtag2"]},{"1397170332":["hashtag1","hashtag2"]},{"1397170338":["hashtag1","hashtag2"]},{"1397170334":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397170342, 1397170336, 1397170347, 1397170332, 1397170338, 1397170334)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.719412326812744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:56:03.078260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/53/image_01122025_07_54_04_10765.jpg', '/home/pi/Desktop/images/01122025/07/54/image_01122025_07_54_24_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/53/image_01122025_07_54_04_10765.jpg
/home/pi/Desktop/images/01122025/07/54/image_01122025_07_54_24_9721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397170365","1397170367"],"photo_ids_order":["1397170365","1397170367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b66ee968d0cd82abe4803fca4dee3b49.jpg","text":"TemporaryFile(/tmp/multipartBody7297612773132821580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572223634,"filename":"image_01122025_07_54_04_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/667f8f17fea2acfeea22beefe89248c6.jpg","text":"TemporaryFile(/tmp/multipartBody1251474315267481115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572223634,"filename":"image_01122025_07_54_24_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397170367","file0":"1397170365"},"map_files_photo_id_array":[{"photo_id":"1397170367","filename":"file1"},{"photo_id":"1397170365","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397170365":["hashtag1","hashtag2"]},{"1397170367":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397170365, 1397170367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.26336169242859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 07:56:22.495720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/54/image_01122025_07_54_34_9698.jpg', '/home/pi/Desktop/images/01122025/07/56/image_01122025_07_56_14_9853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/54/image_01122025_07_54_34_9698.jpg
/home/pi/Desktop/images/01122025/07/56/image_01122025_07_56_14_9853.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.46847963333129883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 07:56:32.470258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_37_2598.jpg', '/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_41_3646.jpg', '/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_43_2525.jpg', '/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_46_2652.jpg', '/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_49_3552.jpg', '/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_58_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_37_2598.jpg
/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_41_3646.jpg
/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_43_2525.jpg
/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_46_2652.jpg
/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_49_3552.jpg
/home/pi/Desktop/images/25112025/22/08/image_25112025_22_08_58_2686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397170389","1397170380","1397170388","1397170391","1397170384","1397170393"],"photo_ids_order":["1397170380","1397170384","1397170388","1397170389","1397170391","1397170393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a827ed061f29af225022d96246325c20.jpg","text":"TemporaryFile(/tmp/multipartBody4021632901702084498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572254213,"filename":"image_25112025_22_08_46_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/1/d24cf2d0553a9e5db198234f7c64d4f8.jpg","text":"TemporaryFile(/tmp/multipartBody7616584734115641184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572254213,"filename":"image_25112025_22_08_37_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6cdcfe11f49e406a01112c554233bd7e.jpg","text":"TemporaryFile(/tmp/multipartBody7325673660246735936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572254213,"filename":"image_25112025_22_08_43_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b28b7c419ed5918360ac1f995cec3594.jpg","text":"TemporaryFile(/tmp/multipartBody8375520226628907360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572254213,"filename":"image_25112025_22_08_49_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/1/9f20a4a259ad0668b434639b58e2049c.jpg","text":"TemporaryFile(/tmp/multipartBody245883420881377877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572254213,"filename":"image_25112025_22_08_41_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/1/d1719b072a666ef4a7c6f90919850a0b.jpg","text":"TemporaryFile(/tmp/multipartBody8829289041735668470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572254213,"filename":"image_25112025_22_08_58_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397170388","file1":"1397170384","file0":"1397170380","file4":"1397170391","file5":"1397170393","file3":"1397170389"},"map_files_photo_id_array":[{"photo_id":"1397170393","filename":"file5"},{"photo_id":"1397170388","filename":"file2"},{"photo_id":"1397170391","filename":"file4"},{"photo_id":"1397170384","filename":"file1"},{"photo_id":"1397170380","filename":"file0"},{"photo_id":"1397170389","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397170389":["hashtag1","hashtag2"]},{"1397170380":["hashtag1","hashtag2"]},{"1397170388":["hashtag1","hashtag2"]},{"1397170391":["hashtag1","hashtag2"]},{"1397170384":["hashtag1","hashtag2"]},{"1397170393":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397170389, 1397170380, 1397170388, 1397170391, 1397170384, 1397170393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24007177352905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 07:57:12.619357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_01_2571.jpg', '/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_04_3578.jpg', '/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_07_2558.jpg', '/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_10_3649.jpg', '/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_16_2581.jpg', '/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_19_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_01_2571.jpg
/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_04_3578.jpg
/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_07_2558.jpg
/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_10_3649.jpg
/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_16_2581.jpg
/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_19_3591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397170412","1397170406","1397170415","1397170409","1397170400","1397170403"],"photo_ids_order":["1397170400","1397170403","1397170406","1397170409","1397170412","1397170415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/104549935101de67be454186dd9f0ecc.jpg","text":"TemporaryFile(/tmp/multipartBody4644501612019549319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572294286,"filename":"image_25112025_22_09_16_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1817a6d6ed4120447af970398f6bb745.jpg","text":"TemporaryFile(/tmp/multipartBody6226000422121436219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572294286,"filename":"image_25112025_22_09_07_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2df1405a77fd9f1135465fe3bc174033.jpg","text":"TemporaryFile(/tmp/multipartBody5817545759031833592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572294286,"filename":"image_25112025_22_09_19_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/1/57579f55116baf99b281214bac54bf6a.jpg","text":"TemporaryFile(/tmp/multipartBody7707148636853190120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572294286,"filename":"image_25112025_22_09_10_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/1/b6d1a549370cb8706637c42ae1191059.jpg","text":"TemporaryFile(/tmp/multipartBody2821278389523932738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572294286,"filename":"image_25112025_22_09_01_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/797fd146237b3a9405f52ea954393058.jpg","text":"TemporaryFile(/tmp/multipartBody1449116289081170733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572294286,"filename":"image_25112025_22_09_04_3578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397170406","file1":"1397170403","file0":"1397170400","file4":"1397170412","file5":"1397170415","file3":"1397170409"},"map_files_photo_id_array":[{"photo_id":"1397170415","filename":"file5"},{"photo_id":"1397170406","filename":"file2"},{"photo_id":"1397170412","filename":"file4"},{"photo_id":"1397170403","filename":"file1"},{"photo_id":"1397170400","filename":"file0"},{"photo_id":"1397170409","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397170412":["hashtag1","hashtag2"]},{"1397170406":["hashtag1","hashtag2"]},{"1397170415":["hashtag1","hashtag2"]},{"1397170409":["hashtag1","hashtag2"]},{"1397170400":["hashtag1","hashtag2"]},{"1397170403":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397170412, 1397170406, 1397170415, 1397170409, 1397170400, 1397170403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45494747161865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 07:59:02.981355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 07:59:22.448599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/54/image_01122025_07_54_34_9698.jpg', '/home/pi/Desktop/images/01122025/07/56/image_01122025_07_56_14_9853.jpg', '/home/pi/Desktop/images/01122025/07/56/image_01122025_07_56_54_9609.jpg', '/home/pi/Desktop/images/01122025/07/57/image_01122025_07_57_24_10729.jpg', '/home/pi/Desktop/images/01122025/07/57/image_01122025_07_58_04_10593.jpg', '/home/pi/Desktop/images/01122025/07/58/image_01122025_07_58_14_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/54/image_01122025_07_54_34_9698.jpg
/home/pi/Desktop/images/01122025/07/56/image_01122025_07_56_14_9853.jpg
/home/pi/Desktop/images/01122025/07/56/image_01122025_07_56_54_9609.jpg
/home/pi/Desktop/images/01122025/07/57/image_01122025_07_57_24_10729.jpg
/home/pi/Desktop/images/01122025/07/57/image_01122025_07_58_04_10593.jpg
/home/pi/Desktop/images/01122025/07/58/image_01122025_07_58_14_9682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397170666","1397170756","1397170915","1397170572","1397170994","1397170833"],"photo_ids_order":["1397170572","1397170666","1397170756","1397170833","1397170915","1397170994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/573d5aefebfea32c0d731a799bfe1a1f.jpg","text":"TemporaryFile(/tmp/multipartBody3357760521859581218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572423218,"filename":"image_01122025_07_56_14_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c2d355129ae5fd34329efdfb5d576599.jpg","text":"TemporaryFile(/tmp/multipartBody734670068735091081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572423218,"filename":"image_01122025_07_56_54_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/00d89f0410821fc2b87acbe3db95f260.jpg","text":"TemporaryFile(/tmp/multipartBody3589394833978697947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572423218,"filename":"image_01122025_07_58_04_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d4b66a19135d8db31bf6d0ef49e65e52.jpg","text":"TemporaryFile(/tmp/multipartBody1625594626296678011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572423218,"filename":"image_01122025_07_54_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/1/499e09b875e43f4bc9e5faa6c4361d17.jpg","text":"TemporaryFile(/tmp/multipartBody6548279502224297403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572423218,"filename":"image_01122025_07_58_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/1/b147034f836caa4cf4ce6799b1ebdf9e.jpg","text":"TemporaryFile(/tmp/multipartBody1253910943723767152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572423218,"filename":"image_01122025_07_57_24_10729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397170756","file1":"1397170666","file0":"1397170572","file4":"1397170915","file5":"1397170994","file3":"1397170833"},"map_files_photo_id_array":[{"photo_id":"1397170994","filename":"file5"},{"photo_id":"1397170756","filename":"file2"},{"photo_id":"1397170915","filename":"file4"},{"photo_id":"1397170666","filename":"file1"},{"photo_id":"1397170572","filename":"file0"},{"photo_id":"1397170833","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397170666":["hashtag1","hashtag2"]},{"1397170756":["hashtag1","hashtag2"]},{"1397170915":["hashtag1","hashtag2"]},{"1397170572":["hashtag1","hashtag2"]},{"1397170994":["hashtag1","hashtag2"]},{"1397170833":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397170666, 1397170756, 1397170915, 1397170572, 1397170994, 1397170833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.37639880180359 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 08:00:12.575067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_22_2563.jpg', '/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_25_3624.jpg', '/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_28_2779.jpg', '/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_31_2642.jpg', '/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_34_3573.jpg', '/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_37_2574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_22_2563.jpg
/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_25_3624.jpg
/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_28_2779.jpg
/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_31_2642.jpg
/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_34_3573.jpg
/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_37_2574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397171391","1397171460","1397171412","1397171387","1397171383","1397171356"],"photo_ids_order":["1397171356","1397171383","1397171387","1397171391","1397171412","1397171460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/655eb7eb9d17ac80c93a610a2cc755c6.jpg","text":"TemporaryFile(/tmp/multipartBody773754968267932796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572474025,"filename":"image_25112025_22_09_31_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a35ed92607bcdeeed86a4e50a0081e94.jpg","text":"TemporaryFile(/tmp/multipartBody3119952644257042635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572474025,"filename":"image_25112025_22_09_37_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cba9a61e9c111c19d5436edbc2737396.jpg","text":"TemporaryFile(/tmp/multipartBody4265552450278324717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572474025,"filename":"image_25112025_22_09_34_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/1/c4d2307a57fe95f30756c3cb9bd7d40c.jpg","text":"TemporaryFile(/tmp/multipartBody8713918453040756338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572474025,"filename":"image_25112025_22_09_28_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0175554face580cd3e172bead4666ec2.jpg","text":"TemporaryFile(/tmp/multipartBody4542245247087321258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572474025,"filename":"image_25112025_22_09_25_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e08a143e4dcffd724879f5d370404e4b.jpg","text":"TemporaryFile(/tmp/multipartBody3509700831788544374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572474025,"filename":"image_25112025_22_09_22_2563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397171387","file1":"1397171383","file0":"1397171356","file4":"1397171412","file5":"1397171460","file3":"1397171391"},"map_files_photo_id_array":[{"photo_id":"1397171460","filename":"file5"},{"photo_id":"1397171387","filename":"file2"},{"photo_id":"1397171412","filename":"file4"},{"photo_id":"1397171383","filename":"file1"},{"photo_id":"1397171356","filename":"file0"},{"photo_id":"1397171391","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397171391":["hashtag1","hashtag2"]},{"1397171460":["hashtag1","hashtag2"]},{"1397171412":["hashtag1","hashtag2"]},{"1397171387":["hashtag1","hashtag2"]},{"1397171383":["hashtag1","hashtag2"]},{"1397171356":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397171391, 1397171460, 1397171412, 1397171387, 1397171383, 1397171356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.30608534812927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:01:06.522082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 08:01:15.828114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_43_6324.jpg', '/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_45_1837.jpg', '/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_52_6728.jpg', '/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_53_1556.jpg', '/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_06_3014.jpg', '/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_10_3806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_43_6324.jpg
/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_45_1837.jpg
/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_52_6728.jpg
/home/pi/Desktop/images/25112025/22/09/image_25112025_22_09_53_1556.jpg
/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_06_3014.jpg
/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_10_3806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397171796","1397171791","1397171794","1397171788","1397171779","1397171770"],"photo_ids_order":["1397171770","1397171779","1397171788","1397171791","1397171794","1397171796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f0b5a9f8ed7a7234b2a3b3efc9b3b823.jpg","text":"TemporaryFile(/tmp/multipartBody6954424069940412167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572537301,"filename":"image_25112025_22_11_10_3806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e1e1e1488b820987ff0a019bba923929.jpg","text":"TemporaryFile(/tmp/multipartBody91290719452166839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572537301,"filename":"image_25112025_22_09_53_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/1/e4afbd5b12cdee53d9f2bcb6ab5a1c07.jpg","text":"TemporaryFile(/tmp/multipartBody4148015780035259388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572537301,"filename":"image_25112025_22_11_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/1/c911daac4434ccfe5194818040b7b337.jpg","text":"TemporaryFile(/tmp/multipartBody3048177345429467566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572537301,"filename":"image_25112025_22_09_52_6728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/eab2df2725cbdac04cd679e0a25985ba.jpg","text":"TemporaryFile(/tmp/multipartBody6724939349618630260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572537301,"filename":"image_25112025_22_09_45_1837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1a1f4fa5ee85ec3ac25d26747a73f5d9.jpg","text":"TemporaryFile(/tmp/multipartBody4242258143877341274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572537301,"filename":"image_25112025_22_09_43_6324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397171788","file1":"1397171779","file0":"1397171770","file4":"1397171794","file5":"1397171796","file3":"1397171791"},"map_files_photo_id_array":[{"photo_id":"1397171796","filename":"file5"},{"photo_id":"1397171788","filename":"file2"},{"photo_id":"1397171794","filename":"file4"},{"photo_id":"1397171779","filename":"file1"},{"photo_id":"1397171770","filename":"file0"},{"photo_id":"1397171791","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397171796":["hashtag1","hashtag2"]},{"1397171791":["hashtag1","hashtag2"]},{"1397171794":["hashtag1","hashtag2"]},{"1397171788":["hashtag1","hashtag2"]},{"1397171779":["hashtag1","hashtag2"]},{"1397171770":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397171796, 1397171791, 1397171794, 1397171788, 1397171779, 1397171770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.764731645584106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:02:02.531286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/07/58/image_01122025_07_58_34_9804.jpg', '/home/pi/Desktop/images/01122025/07/59/image_01122025_07_59_05_10295.jpg', '/home/pi/Desktop/images/01122025/07/59/image_01122025_07_59_24_10803.jpg', '/home/pi/Desktop/images/01122025/07/59/image_01122025_07_59_44_9940.jpg', '/home/pi/Desktop/images/01122025/08/01/image_01122025_08_01_14_10049.jpg', '/home/pi/Desktop/images/01122025/08/01/image_01122025_08_01_25_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/07/58/image_01122025_07_58_34_9804.jpg
/home/pi/Desktop/images/01122025/07/59/image_01122025_07_59_05_10295.jpg
/home/pi/Desktop/images/01122025/07/59/image_01122025_07_59_24_10803.jpg
/home/pi/Desktop/images/01122025/07/59/image_01122025_07_59_44_9940.jpg
/home/pi/Desktop/images/01122025/08/01/image_01122025_08_01_14_10049.jpg
/home/pi/Desktop/images/01122025/08/01/image_01122025_08_01_25_10680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397171827","1397171815","1397171808","1397171813","1397171822","1397171818"],"photo_ids_order":["1397171808","1397171813","1397171815","1397171818","1397171822","1397171827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5a0e031b07761a150a6691291fd8be3a.jpg","text":"TemporaryFile(/tmp/multipartBody6521760267129620485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572583300,"filename":"image_01122025_08_01_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/1/faf81cce4c990368ecb25097df4cc763.jpg","text":"TemporaryFile(/tmp/multipartBody7396135367684305281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572583300,"filename":"image_01122025_07_59_24_10803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e0f62460ba8b0cbdab625e7d9c99c6d9.jpg","text":"TemporaryFile(/tmp/multipartBody7902218106839147448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572583300,"filename":"image_01122025_07_58_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/1/67ac85fb1bab21dabd822f969e4cd5a1.jpg","text":"TemporaryFile(/tmp/multipartBody5951617818806014167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572583300,"filename":"image_01122025_07_59_05_10295.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1507f3b2a40fa4aed0872549f0b60a69.jpg","text":"TemporaryFile(/tmp/multipartBody4607325875737464410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572583300,"filename":"image_01122025_08_01_14_10049.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0d747603eca14429ed352f77996baa5c.jpg","text":"TemporaryFile(/tmp/multipartBody6423990595642370522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572583300,"filename":"image_01122025_07_59_44_9940.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397171815","file1":"1397171813","file0":"1397171808","file4":"1397171822","file5":"1397171827","file3":"1397171818"},"map_files_photo_id_array":[{"photo_id":"1397171827","filename":"file5"},{"photo_id":"1397171815","filename":"file2"},{"photo_id":"1397171822","filename":"file4"},{"photo_id":"1397171813","filename":"file1"},{"photo_id":"1397171808","filename":"file0"},{"photo_id":"1397171818","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397171827":["hashtag1","hashtag2"]},{"1397171815":["hashtag1","hashtag2"]},{"1397171808":["hashtag1","hashtag2"]},{"1397171813":["hashtag1","hashtag2"]},{"1397171822":["hashtag1","hashtag2"]},{"1397171818":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397171827, 1397171815, 1397171808, 1397171813, 1397171822, 1397171818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.679365158081055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 08:02:42.117061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/01/image_01112025_01_01_24_2580.jpg', '/home/pi/Desktop/images/01112025/01/01/image_01112025_01_01_33_2732.jpg', '/home/pi/Desktop/images/01112025/01/01/image_01112025_01_02_00_2602.jpg', '/home/pi/Desktop/images/01112025/01/02/image_01112025_01_02_09_2552.jpg', '/home/pi/Desktop/images/01112025/01/02/image_01112025_01_02_27_2827.jpg', '/home/pi/Desktop/images/01112025/01/02/image_01112025_01_02_33_2890.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/01/image_01112025_01_01_24_2580.jpg
/home/pi/Desktop/images/01112025/01/01/image_01112025_01_01_33_2732.jpg
/home/pi/Desktop/images/01112025/01/01/image_01112025_01_02_00_2602.jpg
/home/pi/Desktop/images/01112025/01/02/image_01112025_01_02_09_2552.jpg
/home/pi/Desktop/images/01112025/01/02/image_01112025_01_02_27_2827.jpg
/home/pi/Desktop/images/01112025/01/02/image_01112025_01_02_33_2890.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397171916","1397172077","1397172038","1397171957","1397171998","1397171875"],"photo_ids_order":["1397171875","1397171916","1397171957","1397171998","1397172038","1397172077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1b967009f3585aab9f7353313dca8c21.jpg","text":"TemporaryFile(/tmp/multipartBody2341187899629091845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572622982,"filename":"image_01112025_01_01_33_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/1/f641c37938a42e1bde00749dd5c8a36e.jpg","text":"TemporaryFile(/tmp/multipartBody2665747446814114753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572622982,"filename":"image_01112025_01_02_33_2890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d52ee98a3df6526fb20b5bf64c2a21e1.jpg","text":"TemporaryFile(/tmp/multipartBody878834237890992093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572622982,"filename":"image_01112025_01_02_27_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5ca83b7e6173a4bd2cbe70e050938fee.jpg","text":"TemporaryFile(/tmp/multipartBody1122389665767037018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572622982,"filename":"image_01112025_01_02_00_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/1/463cb367b328bf920c2480bff8493c56.jpg","text":"TemporaryFile(/tmp/multipartBody5430129036818024613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572622982,"filename":"image_01112025_01_02_09_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b9bf2040a330488b7c936a586748fcc7.jpg","text":"TemporaryFile(/tmp/multipartBody1706242958449036376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572622982,"filename":"image_01112025_01_01_24_2580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397171957","file1":"1397171916","file0":"1397171875","file4":"1397172038","file5":"1397172077","file3":"1397171998"},"map_files_photo_id_array":[{"photo_id":"1397172077","filename":"file5"},{"photo_id":"1397171957","filename":"file2"},{"photo_id":"1397172038","filename":"file4"},{"photo_id":"1397171916","filename":"file1"},{"photo_id":"1397171875","filename":"file0"},{"photo_id":"1397171998","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397171916":["hashtag1","hashtag2"]},{"1397172077":["hashtag1","hashtag2"]},{"1397172038":["hashtag1","hashtag2"]},{"1397171957":["hashtag1","hashtag2"]},{"1397171998":["hashtag1","hashtag2"]},{"1397171875":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397171916, 1397172077, 1397172038, 1397171957, 1397171998, 1397171875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.363545656204224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 08:03:22.169414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/01/image_01122025_08_01_34_9824.jpg', '/home/pi/Desktop/images/01122025/08/01/image_01122025_08_02_04_10660.jpg', '/home/pi/Desktop/images/01122025/08/02/image_01122025_08_02_14_9756.jpg', '/home/pi/Desktop/images/01122025/08/02/image_01122025_08_02_35_10718.jpg', '/home/pi/Desktop/images/01122025/08/02/image_01122025_08_02_54_9541.jpg', '/home/pi/Desktop/images/01122025/08/02/image_01122025_08_03_05_10780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/01/image_01122025_08_01_34_9824.jpg
/home/pi/Desktop/images/01122025/08/01/image_01122025_08_02_04_10660.jpg
/home/pi/Desktop/images/01122025/08/02/image_01122025_08_02_14_9756.jpg
/home/pi/Desktop/images/01122025/08/02/image_01122025_08_02_35_10718.jpg
/home/pi/Desktop/images/01122025/08/02/image_01122025_08_02_54_9541.jpg
/home/pi/Desktop/images/01122025/08/02/image_01122025_08_03_05_10780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397172345","1397172239","1397172326","1397172280","1397172340","1397172195"],"photo_ids_order":["1397172195","1397172239","1397172280","1397172326","1397172340","1397172345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/73cec5f8c8e5c777e333bdd7520fb177.jpg","text":"TemporaryFile(/tmp/multipartBody3440430628256379822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572662883,"filename":"image_01122025_08_03_05_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/1/a6a730d7f4c8a7f71083a1fd9032a2ac.jpg","text":"TemporaryFile(/tmp/multipartBody8947641659256987746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572662883,"filename":"image_01122025_08_02_04_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2c094553d6a34ac9c6f2cf39c92af524.jpg","text":"TemporaryFile(/tmp/multipartBody5399199070359889169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572662883,"filename":"image_01122025_08_02_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/1/7c2965216e6dca2b9ba573f8dedac0d4.jpg","text":"TemporaryFile(/tmp/multipartBody1368225048573804205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572662883,"filename":"image_01122025_08_02_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/1/8a80afac2d748e55f5cbab2a9d4fed63.jpg","text":"TemporaryFile(/tmp/multipartBody5356918558638497197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572662883,"filename":"image_01122025_08_02_54_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/1/83a713b5e1667b215141f3933f853cea.jpg","text":"TemporaryFile(/tmp/multipartBody6056279105141828003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572662883,"filename":"image_01122025_08_01_34_9824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397172280","file1":"1397172239","file0":"1397172195","file4":"1397172340","file5":"1397172345","file3":"1397172326"},"map_files_photo_id_array":[{"photo_id":"1397172345","filename":"file5"},{"photo_id":"1397172280","filename":"file2"},{"photo_id":"1397172340","filename":"file4"},{"photo_id":"1397172239","filename":"file1"},{"photo_id":"1397172195","filename":"file0"},{"photo_id":"1397172326","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397172345":["hashtag1","hashtag2"]},{"1397172239":["hashtag1","hashtag2"]},{"1397172326":["hashtag1","hashtag2"]},{"1397172280":["hashtag1","hashtag2"]},{"1397172340":["hashtag1","hashtag2"]},{"1397172195":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397172345, 1397172239, 1397172326, 1397172280, 1397172340, 1397172195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.395047664642334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:04:03.324126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_12_2480.jpg', '/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_15_2685.jpg', '/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_19_3729.jpg', '/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_22_2709.jpg', '/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_24_2623.jpg', '/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_28_3842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_12_2480.jpg
/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_15_2685.jpg
/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_19_3729.jpg
/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_22_2709.jpg
/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_24_2623.jpg
/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_28_3842.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397172363","1397172444","1397172490","1397172401","1397172481","1397172486"],"photo_ids_order":["1397172363","1397172401","1397172444","1397172481","1397172486","1397172490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d25d6b800c02f2a0d7707573d3a25413.jpg","text":"TemporaryFile(/tmp/multipartBody5161517846307221694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572704432,"filename":"image_25112025_22_11_12_2480.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a48d324992cc7c0477feed401d8edba4.jpg","text":"TemporaryFile(/tmp/multipartBody2052907536750320681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572704432,"filename":"image_25112025_22_11_19_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b5f297fbd9ebd1332e90c01d2413f193.jpg","text":"TemporaryFile(/tmp/multipartBody6889365355605874053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572704432,"filename":"image_25112025_22_11_28_3842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ad126e8027f8e91c299b0e39a4b12e36.jpg","text":"TemporaryFile(/tmp/multipartBody4986364529779942262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572704432,"filename":"image_25112025_22_11_15_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/99967a796e2599855832065552ec0ef0.jpg","text":"TemporaryFile(/tmp/multipartBody514814720039660421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572704432,"filename":"image_25112025_22_11_22_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/1/945a66bbdb1b4676c6df5de4ed896455.jpg","text":"TemporaryFile(/tmp/multipartBody7133676178555066510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572704432,"filename":"image_25112025_22_11_24_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397172444","file1":"1397172401","file0":"1397172363","file4":"1397172486","file5":"1397172490","file3":"1397172481"},"map_files_photo_id_array":[{"photo_id":"1397172490","filename":"file5"},{"photo_id":"1397172444","filename":"file2"},{"photo_id":"1397172486","filename":"file4"},{"photo_id":"1397172401","filename":"file1"},{"photo_id":"1397172363","filename":"file0"},{"photo_id":"1397172481","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397172363":["hashtag1","hashtag2"]},{"1397172444":["hashtag1","hashtag2"]},{"1397172490":["hashtag1","hashtag2"]},{"1397172401":["hashtag1","hashtag2"]},{"1397172481":["hashtag1","hashtag2"]},{"1397172486":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397172363, 1397172444, 1397172490, 1397172401, 1397172481, 1397172486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74854779243469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 08:04:42.682280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/02/image_01112025_01_02_57_2835.jpg', '/home/pi/Desktop/images/01112025/01/02/image_01112025_01_03_00_2813.jpg', '/home/pi/Desktop/images/01112025/01/03/image_01112025_01_03_09_2694.jpg', '/home/pi/Desktop/images/01112025/01/03/image_01112025_01_03_12_3653.jpg', '/home/pi/Desktop/images/01112025/01/03/image_01112025_01_03_18_2587.jpg', '/home/pi/Desktop/images/01112025/01/03/image_01112025_01_03_21_3572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/02/image_01112025_01_02_57_2835.jpg
/home/pi/Desktop/images/01112025/01/02/image_01112025_01_03_00_2813.jpg
/home/pi/Desktop/images/01112025/01/03/image_01112025_01_03_09_2694.jpg
/home/pi/Desktop/images/01112025/01/03/image_01112025_01_03_12_3653.jpg
/home/pi/Desktop/images/01112025/01/03/image_01112025_01_03_18_2587.jpg
/home/pi/Desktop/images/01112025/01/03/image_01112025_01_03_21_3572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397172636","1397172575","1397172638","1397172637","1397172631","1397172604"],"photo_ids_order":["1397172575","1397172604","1397172631","1397172636","1397172637","1397172638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/edbb723d344f390496f6a9f5d66013c2.jpg","text":"TemporaryFile(/tmp/multipartBody5156274117094663395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572743555,"filename":"image_01112025_01_03_12_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/1/856bef57c434aba50106fcbf812408b0.jpg","text":"TemporaryFile(/tmp/multipartBody721707852969549183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572743555,"filename":"image_01112025_01_02_57_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0c82e0cf7f632d7d84645f6bec4cd2fa.jpg","text":"TemporaryFile(/tmp/multipartBody3947204655375862188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572743555,"filename":"image_01112025_01_03_21_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/1/8f17d4620881b0939dd516e5b22ef484.jpg","text":"TemporaryFile(/tmp/multipartBody1436273687895234791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572743555,"filename":"image_01112025_01_03_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/1/4c7f1a5a10027738621fa9fbd90d0724.jpg","text":"TemporaryFile(/tmp/multipartBody4230531936177676801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572743555,"filename":"image_01112025_01_03_09_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/1/5d3ced350f79ba91118c7005257b9986.jpg","text":"TemporaryFile(/tmp/multipartBody3564699351929019364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572743555,"filename":"image_01112025_01_03_00_2813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397172631","file1":"1397172604","file0":"1397172575","file4":"1397172637","file5":"1397172638","file3":"1397172636"},"map_files_photo_id_array":[{"photo_id":"1397172638","filename":"file5"},{"photo_id":"1397172631","filename":"file2"},{"photo_id":"1397172637","filename":"file4"},{"photo_id":"1397172604","filename":"file1"},{"photo_id":"1397172575","filename":"file0"},{"photo_id":"1397172636","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397172636":["hashtag1","hashtag2"]},{"1397172575":["hashtag1","hashtag2"]},{"1397172638":["hashtag1","hashtag2"]},{"1397172637":["hashtag1","hashtag2"]},{"1397172631":["hashtag1","hashtag2"]},{"1397172604":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397172636, 1397172575, 1397172638, 1397172637, 1397172631, 1397172604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.678609132766724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 08:05:21.920942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/03/image_01122025_08_03_54_10667.jpg', '/home/pi/Desktop/images/01122025/08/03/image_01122025_08_04_04_9597.jpg', '/home/pi/Desktop/images/01122025/08/04/image_01122025_08_04_24_10584.jpg', '/home/pi/Desktop/images/01122025/08/04/image_01122025_08_04_44_9792.jpg', '/home/pi/Desktop/images/01122025/08/05/image_01122025_08_05_24_9671.jpg', '/home/pi/Desktop/images/01122025/08/05/image_01122025_08_05_35_10805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/03/image_01122025_08_03_54_10667.jpg
/home/pi/Desktop/images/01122025/08/03/image_01122025_08_04_04_9597.jpg
/home/pi/Desktop/images/01122025/08/04/image_01122025_08_04_24_10584.jpg
/home/pi/Desktop/images/01122025/08/04/image_01122025_08_04_44_9792.jpg
/home/pi/Desktop/images/01122025/08/05/image_01122025_08_05_24_9671.jpg
/home/pi/Desktop/images/01122025/08/05/image_01122025_08_05_35_10805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397172648","1397172677","1397172662","1397172673","1397172681","1397172684"],"photo_ids_order":["1397172648","1397172662","1397172673","1397172677","1397172681","1397172684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/87ffb82a373582960302afaf3d523a7b.jpg","text":"TemporaryFile(/tmp/multipartBody8133897943356118124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572782686,"filename":"image_01122025_08_03_54_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/1/009a78f37cd8098dfe634ced75b9b2d6.jpg","text":"TemporaryFile(/tmp/multipartBody89445691666153035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572782686,"filename":"image_01122025_08_04_44_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3382d21ca3e0e416a9b6d220c2f2d63c.jpg","text":"TemporaryFile(/tmp/multipartBody3373657798784894703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572782686,"filename":"image_01122025_08_04_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/1/67f157b76dcff0644692ab7d5abf7f71.jpg","text":"TemporaryFile(/tmp/multipartBody2873233182157705523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572782686,"filename":"image_01122025_08_04_24_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c3ee1f4489ddcedc8c3a869561510d36.jpg","text":"TemporaryFile(/tmp/multipartBody6033901270808598627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572782686,"filename":"image_01122025_08_05_24_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3cb9df7f62ad1c88eeb8bea103070067.jpg","text":"TemporaryFile(/tmp/multipartBody261331381238136018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572782686,"filename":"image_01122025_08_05_35_10805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397172673","file1":"1397172662","file0":"1397172648","file4":"1397172681","file5":"1397172684","file3":"1397172677"},"map_files_photo_id_array":[{"photo_id":"1397172684","filename":"file5"},{"photo_id":"1397172673","filename":"file2"},{"photo_id":"1397172681","filename":"file4"},{"photo_id":"1397172662","filename":"file1"},{"photo_id":"1397172648","filename":"file0"},{"photo_id":"1397172677","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397172648":["hashtag1","hashtag2"]},{"1397172677":["hashtag1","hashtag2"]},{"1397172662":["hashtag1","hashtag2"]},{"1397172673":["hashtag1","hashtag2"]},{"1397172681":["hashtag1","hashtag2"]},{"1397172684":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397172648, 1397172677, 1397172662, 1397172673, 1397172681, 1397172684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03797173500061 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:06:02.577971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_45_3157.jpg', '/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_47_1633.jpg', '/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_49_1783.jpg', '/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_50_1502.jpg', '/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_52_1655.jpg', '/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_54_1600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_45_3157.jpg
/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_47_1633.jpg
/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_49_1783.jpg
/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_50_1502.jpg
/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_52_1655.jpg
/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_54_1600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397172711","1397172692","1397172686","1397172707","1397172701","1397172690"],"photo_ids_order":["1397172686","1397172690","1397172692","1397172701","1397172707","1397172711"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1123c652d030b9b2ee6ea0328a2ce8d9.jpg","text":"TemporaryFile(/tmp/multipartBody8676322905454307180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572827574,"filename":"image_25112025_22_11_54_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b0f1a04a3db2b74f1e6f3ff634c3775a.jpg","text":"TemporaryFile(/tmp/multipartBody373253873370088644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572827574,"filename":"image_25112025_22_11_49_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/1/1d66a74aedcd4688f529c11a95ce159b.jpg","text":"TemporaryFile(/tmp/multipartBody9000286750816945534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572827574,"filename":"image_25112025_22_11_45_3157.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2b2989fcf31d3a322116f4238034f4e0.jpg","text":"TemporaryFile(/tmp/multipartBody804673922509754279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572827574,"filename":"image_25112025_22_11_52_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/1/c34c10ed6c092740b4d48f1eac2392df.jpg","text":"TemporaryFile(/tmp/multipartBody764482432704112813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572827574,"filename":"image_25112025_22_11_50_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/1/33e230ec7e5499283c7a8c75e9ef54f1.jpg","text":"TemporaryFile(/tmp/multipartBody3466507915960727086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572827574,"filename":"image_25112025_22_11_47_1633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397172692","file1":"1397172690","file0":"1397172686","file4":"1397172707","file5":"1397172711","file3":"1397172701"},"map_files_photo_id_array":[{"photo_id":"1397172711","filename":"file5"},{"photo_id":"1397172692","filename":"file2"},{"photo_id":"1397172707","filename":"file4"},{"photo_id":"1397172690","filename":"file1"},{"photo_id":"1397172686","filename":"file0"},{"photo_id":"1397172701","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397172711":["hashtag1","hashtag2"]},{"1397172692":["hashtag1","hashtag2"]},{"1397172686":["hashtag1","hashtag2"]},{"1397172707":["hashtag1","hashtag2"]},{"1397172701":["hashtag1","hashtag2"]},{"1397172690":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397172711, 1397172692, 1397172686, 1397172707, 1397172701, 1397172690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.31108331680298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:07:02.804918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/05/image_01122025_08_05_54_9688.jpg', '/home/pi/Desktop/images/01122025/08/06/image_01122025_08_06_24_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/05/image_01122025_08_05_54_9688.jpg
/home/pi/Desktop/images/01122025/08/06/image_01122025_08_06_24_9739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397172724","1397172727"],"photo_ids_order":["1397172724","1397172727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/376501630385776149a75a78a03e596e.jpg","text":"TemporaryFile(/tmp/multipartBody7147653012113818732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572883428,"filename":"image_01122025_08_05_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/1/b1991e6afa5e20dfb86903ca85f46f64.jpg","text":"TemporaryFile(/tmp/multipartBody8293062260178382432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572883428,"filename":"image_01122025_08_06_24_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397172727","file0":"1397172724"},"map_files_photo_id_array":[{"photo_id":"1397172727","filename":"file1"},{"photo_id":"1397172724","filename":"file0"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397172724":["hashtag1","hashtag2"]},{"1397172727":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397172724, 1397172727)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 2 photos
time to upload: 18.735326528549194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 08:07:32.090940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_55_1503.jpg', '/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_01_1625.jpg', '/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_02_1597.jpg', '/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_04_1522.jpg', '/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_07_2582.jpg', '/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_09_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/11/image_25112025_22_11_55_1503.jpg
/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_01_1625.jpg
/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_02_1597.jpg
/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_04_1522.jpg
/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_07_2582.jpg
/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_09_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":["1397172744","1397172747","1397172755","1397172758","1397172751","1397172756"],"photo_ids_order":["1397172744","1397172747","1397172751","1397172755","1397172756","1397172758"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/524ee27097e85b77a6799eb7d2aa8969.jpg","text":"TemporaryFile(/tmp/multipartBody4302136800018424202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572913731,"filename":"image_25112025_22_11_55_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/1/3f7e76598b1b08643b9884ce8c79fac5.jpg","text":"TemporaryFile(/tmp/multipartBody888199487796609050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572913731,"filename":"image_25112025_22_12_01_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/1/523e9b8317bfd001a69c47ba99ece1e4.jpg","text":"TemporaryFile(/tmp/multipartBody588549711624760268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572913731,"filename":"image_25112025_22_12_04_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/1/031191248dc7b64a53f783d038c55399.jpg","text":"TemporaryFile(/tmp/multipartBody4325442675769683013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572913731,"filename":"image_25112025_22_12_09_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/1/444e5dd5f0991e9e6df9cae194792edd.jpg","text":"TemporaryFile(/tmp/multipartBody8943016266683019240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572913731,"filename":"image_25112025_22_12_02_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/1/0240595c6884b58ecc76976b395bc7a6.jpg","text":"TemporaryFile(/tmp/multipartBody121596650073775891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572913731,"filename":"image_25112025_22_12_07_2582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397172751","file1":"1397172747","file0":"1397172744","file4":"1397172756","file5":"1397172758","file3":"1397172755"},"map_files_photo_id_array":[{"photo_id":"1397172758","filename":"file5"},{"photo_id":"1397172751","filename":"file2"},{"photo_id":"1397172756","filename":"file4"},{"photo_id":"1397172747","filename":"file1"},{"photo_id":"1397172744","filename":"file0"},{"photo_id":"1397172755","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397172744":["hashtag1","hashtag2"]},{"1397172747":["hashtag1","hashtag2"]},{"1397172755":["hashtag1","hashtag2"]},{"1397172758":["hashtag1","hashtag2"]},{"1397172751":["hashtag1","hashtag2"]},{"1397172756":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397172744, 1397172747, 1397172755, 1397172758, 1397172751, 1397172756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3177387714386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 08:08:12.248431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_13_3565.jpg', '/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_15_2621.jpg', '/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_25_9817.jpg', '/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_27_1636.jpg', '/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_31_4372.jpg', '/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_33_1780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_13_3565.jpg
/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_15_2621.jpg
/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_25_9817.jpg
/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_27_1636.jpg
/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_31_4372.jpg
/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_33_1780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397172801","1397172761","1397172772","1397172766","1397172792","1397172798"],"photo_ids_order":["1397172761","1397172766","1397172772","1397172792","1397172798","1397172801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/48cfe8f8c9c5ee19e4c287c964ab2306.jpg","text":"TemporaryFile(/tmp/multipartBody2101320322860898430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572953893,"filename":"image_25112025_22_12_33_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/1/675dbc305534ffead41053184b2245c8.jpg","text":"TemporaryFile(/tmp/multipartBody2537595927437746283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572953893,"filename":"image_25112025_22_12_13_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/192871177c73249a48fdc75e0cf30821.jpg","text":"TemporaryFile(/tmp/multipartBody2987006648336083565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572953893,"filename":"image_25112025_22_12_25_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c8d5cced6cf96f236a46feb49d35f5a8.jpg","text":"TemporaryFile(/tmp/multipartBody7348051635364432563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572953893,"filename":"image_25112025_22_12_15_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/1/eca91f3bf52f89d618aea9e145e4a21e.jpg","text":"TemporaryFile(/tmp/multipartBody7140212706194185056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572953893,"filename":"image_25112025_22_12_27_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/1/23e2fe31e9b7bfa9e0250152198e3901.jpg","text":"TemporaryFile(/tmp/multipartBody4692542493033020574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764572953893,"filename":"image_25112025_22_12_31_4372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397172772","file1":"1397172766","file0":"1397172761","file4":"1397172798","file5":"1397172801","file3":"1397172792"},"map_files_photo_id_array":[{"photo_id":"1397172801","filename":"file5"},{"photo_id":"1397172772","filename":"file2"},{"photo_id":"1397172798","filename":"file4"},{"photo_id":"1397172766","filename":"file1"},{"photo_id":"1397172761","filename":"file0"},{"photo_id":"1397172792","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397172801":["hashtag1","hashtag2"]},{"1397172761":["hashtag1","hashtag2"]},{"1397172772":["hashtag1","hashtag2"]},{"1397172766":["hashtag1","hashtag2"]},{"1397172792":["hashtag1","hashtag2"]},{"1397172798":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397172801, 1397172761, 1397172772, 1397172766, 1397172792, 1397172798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13819336891174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:09:03.189308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/06/image_01122025_08_06_54_9617.jpg', '/home/pi/Desktop/images/01122025/08/06/image_01122025_08_07_04_9833.jpg', '/home/pi/Desktop/images/01122025/08/07/image_01122025_08_07_14_10028.jpg', '/home/pi/Desktop/images/01122025/08/07/image_01122025_08_07_35_10803.jpg', '/home/pi/Desktop/images/01122025/08/07/image_01122025_08_07_51_16489.jpg', '/home/pi/Desktop/images/01122025/08/07/image_01122025_08_07_54_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/06/image_01122025_08_06_54_9617.jpg
/home/pi/Desktop/images/01122025/08/06/image_01122025_08_07_04_9833.jpg
/home/pi/Desktop/images/01122025/08/07/image_01122025_08_07_14_10028.jpg
/home/pi/Desktop/images/01122025/08/07/image_01122025_08_07_35_10803.jpg
/home/pi/Desktop/images/01122025/08/07/image_01122025_08_07_51_16489.jpg
/home/pi/Desktop/images/01122025/08/07/image_01122025_08_07_54_2675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397172825","1397172819","1397172822","1397172842","1397172830","1397172820"],"photo_ids_order":["1397172819","1397172820","1397172822","1397172825","1397172830","1397172842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5cab6a387964e173327f24b1019bf4ad.jpg","text":"TemporaryFile(/tmp/multipartBody103306338683253751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573004184,"filename":"image_01122025_08_07_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/1/23df20a336fc1835997e2e16ac53dba6.jpg","text":"TemporaryFile(/tmp/multipartBody1318512812112217905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573004184,"filename":"image_01122025_08_06_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/1/84fbdbbd9e6c9320c37cfa5e5de459da.jpg","text":"TemporaryFile(/tmp/multipartBody7559241722129939415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573004184,"filename":"image_01122025_08_07_14_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/1/f3da70819a458e21831fb62fb7d758eb.jpg","text":"TemporaryFile(/tmp/multipartBody3673224426925976177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573004184,"filename":"image_01122025_08_07_54_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/1/2e9b6642e127dee1d0d72f24382d0474.jpg","text":"TemporaryFile(/tmp/multipartBody3399410110856469275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573004184,"filename":"image_01122025_08_07_51_16489.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/61791e9cd7372a88b13deaba9e7e8569.jpg","text":"TemporaryFile(/tmp/multipartBody3360656036559722495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573004184,"filename":"image_01122025_08_07_04_9833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397172822","file1":"1397172820","file0":"1397172819","file4":"1397172830","file5":"1397172842","file3":"1397172825"},"map_files_photo_id_array":[{"photo_id":"1397172842","filename":"file5"},{"photo_id":"1397172822","filename":"file2"},{"photo_id":"1397172830","filename":"file4"},{"photo_id":"1397172820","filename":"file1"},{"photo_id":"1397172819","filename":"file0"},{"photo_id":"1397172825","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397172825":["hashtag1","hashtag2"]},{"1397172819":["hashtag1","hashtag2"]},{"1397172822":["hashtag1","hashtag2"]},{"1397172842":["hashtag1","hashtag2"]},{"1397172830":["hashtag1","hashtag2"]},{"1397172820":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397172825, 1397172819, 1397172822, 1397172842, 1397172830, 1397172820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.757161378860474 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-01 08:10:02.241651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/07/image_01122025_08_08_04_10584.jpg', '/home/pi/Desktop/images/01122025/08/08/image_01122025_08_08_14_9686.jpg', '/home/pi/Desktop/images/01122025/08/08/image_01122025_08_08_24_9749.jpg', '/home/pi/Desktop/images/01122025/08/08/image_01122025_08_08_34_10672.jpg', '/home/pi/Desktop/images/01122025/08/08/image_01122025_08_08_44_9686.jpg', '/home/pi/Desktop/images/01122025/08/08/image_01122025_08_08_54_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/07/image_01122025_08_08_04_10584.jpg
/home/pi/Desktop/images/01122025/08/08/image_01122025_08_08_14_9686.jpg
/home/pi/Desktop/images/01122025/08/08/image_01122025_08_08_24_9749.jpg
/home/pi/Desktop/images/01122025/08/08/image_01122025_08_08_34_10672.jpg
/home/pi/Desktop/images/01122025/08/08/image_01122025_08_08_44_9686.jpg
/home/pi/Desktop/images/01122025/08/08/image_01122025_08_08_54_9626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397172885","1397172860","1397172889","1397172880","1397172892","1397172897"],"photo_ids_order":["1397172860","1397172880","1397172885","1397172889","1397172892","1397172897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/33829f88f2a6abb2646f0350defd204d.jpg","text":"TemporaryFile(/tmp/multipartBody1953612195025595085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573063034,"filename":"image_01122025_08_08_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/1/34a91ab78801d39ab2e998af392a3c7e.jpg","text":"TemporaryFile(/tmp/multipartBody8447708523334696558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573063034,"filename":"image_01122025_08_08_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/1/e7de20044dcd284338fa495c5d71f9c8.jpg","text":"TemporaryFile(/tmp/multipartBody3261841798214642982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573063034,"filename":"image_01122025_08_08_34_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1dbcc0858fb47edd0b51236b4aa8b042.jpg","text":"TemporaryFile(/tmp/multipartBody3164063313325068079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573063034,"filename":"image_01122025_08_08_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/1/2a8296620d814c1193502d07ed22047f.jpg","text":"TemporaryFile(/tmp/multipartBody2217714139932168822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573063034,"filename":"image_01122025_08_08_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/1/4d60e6ea68f7533295f1efccee0b80e5.jpg","text":"TemporaryFile(/tmp/multipartBody2447332988332447493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573063034,"filename":"image_01122025_08_08_54_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397172885","file1":"1397172880","file0":"1397172860","file4":"1397172892","file5":"1397172897","file3":"1397172889"},"map_files_photo_id_array":[{"photo_id":"1397172897","filename":"file5"},{"photo_id":"1397172885","filename":"file2"},{"photo_id":"1397172892","filename":"file4"},{"photo_id":"1397172880","filename":"file1"},{"photo_id":"1397172860","filename":"file0"},{"photo_id":"1397172889","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397172885":["hashtag1","hashtag2"]},{"1397172860":["hashtag1","hashtag2"]},{"1397172889":["hashtag1","hashtag2"]},{"1397172880":["hashtag1","hashtag2"]},{"1397172892":["hashtag1","hashtag2"]},{"1397172897":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397172885, 1397172860, 1397172889, 1397172880, 1397172892, 1397172897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.131316900253296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 08:10:41.874191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/03/image_01112025_01_03_30_3516.jpg', '/home/pi/Desktop/images/01112025/01/03/image_01112025_01_04_00_2750.jpg', '/home/pi/Desktop/images/01112025/01/04/image_01112025_01_04_03_2693.jpg', '/home/pi/Desktop/images/01112025/01/04/image_01112025_01_04_06_2886.jpg', '/home/pi/Desktop/images/01112025/01/04/image_01112025_01_04_21_3628.jpg', '/home/pi/Desktop/images/01112025/01/04/image_01112025_01_04_27_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/03/image_01112025_01_03_30_3516.jpg
/home/pi/Desktop/images/01112025/01/03/image_01112025_01_04_00_2750.jpg
/home/pi/Desktop/images/01112025/01/04/image_01112025_01_04_03_2693.jpg
/home/pi/Desktop/images/01112025/01/04/image_01112025_01_04_06_2886.jpg
/home/pi/Desktop/images/01112025/01/04/image_01112025_01_04_21_3628.jpg
/home/pi/Desktop/images/01112025/01/04/image_01112025_01_04_27_2691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397173034","1397172971","1397173007","1397173033","1397172931","1397172913"],"photo_ids_order":["1397172913","1397172931","1397172971","1397173007","1397173033","1397173034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/93ca7c1b1e0bb3776ceb199f5bad1d6d.jpg","text":"TemporaryFile(/tmp/multipartBody6907032779595156248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573102757,"filename":"image_01112025_01_04_27_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/1/d62eb865e803ff42215eb53aaccbb58f.jpg","text":"TemporaryFile(/tmp/multipartBody1245526862699380870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573102757,"filename":"image_01112025_01_04_03_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/1/cadfe4c8ec172c371bd86d3e7a00bd42.jpg","text":"TemporaryFile(/tmp/multipartBody3798644634819383357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573102757,"filename":"image_01112025_01_04_06_2886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a4d5793e9cfc6e9835fceab64626f782.jpg","text":"TemporaryFile(/tmp/multipartBody3901088113757361123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573102757,"filename":"image_01112025_01_04_21_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/1/614481673478b20584a89334af9089b1.jpg","text":"TemporaryFile(/tmp/multipartBody8278485800747220468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573102757,"filename":"image_01112025_01_04_00_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/1/256e028dc2fcdade5039ae9e9a759997.jpg","text":"TemporaryFile(/tmp/multipartBody5429781326283548304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573102757,"filename":"image_01112025_01_03_30_3516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397172971","file1":"1397172931","file0":"1397172913","file4":"1397173033","file5":"1397173034","file3":"1397173007"},"map_files_photo_id_array":[{"photo_id":"1397173034","filename":"file5"},{"photo_id":"1397172971","filename":"file2"},{"photo_id":"1397173033","filename":"file4"},{"photo_id":"1397172931","filename":"file1"},{"photo_id":"1397172913","filename":"file0"},{"photo_id":"1397173007","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397173034":["hashtag1","hashtag2"]},{"1397172971":["hashtag1","hashtag2"]},{"1397173007":["hashtag1","hashtag2"]},{"1397173033":["hashtag1","hashtag2"]},{"1397172931":["hashtag1","hashtag2"]},{"1397172913":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397173034, 1397172971, 1397173007, 1397173033, 1397172931, 1397172913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84129762649536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 08:11:22.083792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/08/image_01122025_08_09_05_10784.jpg', '/home/pi/Desktop/images/01122025/08/09/image_01122025_08_09_24_9788.jpg', '/home/pi/Desktop/images/01122025/08/09/image_01122025_08_09_54_9879.jpg', '/home/pi/Desktop/images/01122025/08/09/image_01122025_08_10_04_9765.jpg', '/home/pi/Desktop/images/01122025/08/10/image_01122025_08_10_25_10883.jpg', '/home/pi/Desktop/images/01122025/08/10/image_01122025_08_10_35_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/08/image_01122025_08_09_05_10784.jpg
/home/pi/Desktop/images/01122025/08/09/image_01122025_08_09_24_9788.jpg
/home/pi/Desktop/images/01122025/08/09/image_01122025_08_09_54_9879.jpg
/home/pi/Desktop/images/01122025/08/09/image_01122025_08_10_04_9765.jpg
/home/pi/Desktop/images/01122025/08/10/image_01122025_08_10_25_10883.jpg
/home/pi/Desktop/images/01122025/08/10/image_01122025_08_10_35_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":["1397173094","1397173047","1397173064","1397173075","1397173068","1397173059"],"photo_ids_order":["1397173047","1397173059","1397173064","1397173068","1397173075","1397173094"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/904c7a2b1abc18da98ab8fc376d974f4.jpg","text":"TemporaryFile(/tmp/multipartBody301383125093554838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573142833,"filename":"image_01122025_08_10_35_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/41b7ce5e2faada2585e459756ce1f227.jpg","text":"TemporaryFile(/tmp/multipartBody7593229290664293747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573142833,"filename":"image_01122025_08_09_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/1/5a59aa5ff5fb6f2759a28fd750e7564a.jpg","text":"TemporaryFile(/tmp/multipartBody1414896379645407911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573142833,"filename":"image_01122025_08_09_54_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9f3f9b519231ff18448abdf3b97d59cd.jpg","text":"TemporaryFile(/tmp/multipartBody8661637502755020739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573142833,"filename":"image_01122025_08_10_25_10883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/95341db2c0cf32b5e972642da0950afe.jpg","text":"TemporaryFile(/tmp/multipartBody5923829742543150308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573142833,"filename":"image_01122025_08_10_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/1/ff4cf59955026c84a1dac389053b11d3.jpg","text":"TemporaryFile(/tmp/multipartBody8069849772346504446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573142833,"filename":"image_01122025_08_09_24_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397173064","file1":"1397173059","file0":"1397173047","file4":"1397173075","file5":"1397173094","file3":"1397173068"},"map_files_photo_id_array":[{"photo_id":"1397173094","filename":"file5"},{"photo_id":"1397173064","filename":"file2"},{"photo_id":"1397173075","filename":"file4"},{"photo_id":"1397173059","filename":"file1"},{"photo_id":"1397173047","filename":"file0"},{"photo_id":"1397173068","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397173094":["hashtag1","hashtag2"]},{"1397173047":["hashtag1","hashtag2"]},{"1397173064":["hashtag1","hashtag2"]},{"1397173075":["hashtag1","hashtag2"]},{"1397173068":["hashtag1","hashtag2"]},{"1397173059":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397173094, 1397173047, 1397173064, 1397173075, 1397173068, 1397173059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05493974685669 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:12:02.662662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/10/image_01122025_08_10_44_9642.jpg', '/home/pi/Desktop/images/01122025/08/10/image_01122025_08_11_05_10697.jpg', '/home/pi/Desktop/images/01122025/08/11/image_01122025_08_11_24_9613.jpg', '/home/pi/Desktop/images/01122025/08/11/image_01122025_08_11_35_10821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/10/image_01122025_08_10_44_9642.jpg
/home/pi/Desktop/images/01122025/08/10/image_01122025_08_11_05_10697.jpg
/home/pi/Desktop/images/01122025/08/11/image_01122025_08_11_24_9613.jpg
/home/pi/Desktop/images/01122025/08/11/image_01122025_08_11_35_10821.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397173171","1397173153","1397173114","1397173102"],"photo_ids_order":["1397173102","1397173114","1397173153","1397173171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9d57333f66ddaa3a8186697997cb8dd4.jpg","text":"TemporaryFile(/tmp/multipartBody873459734401120156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573183346,"filename":"image_01122025_08_11_35_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/1/428027206a0bda1e51e8fbe124b6b77a.jpg","text":"TemporaryFile(/tmp/multipartBody4973339562202158493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573183346,"filename":"image_01122025_08_11_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/1/8f351765c424efec041acc43c44c4ce4.jpg","text":"TemporaryFile(/tmp/multipartBody9214165206049599961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573183346,"filename":"image_01122025_08_11_05_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/730780147d7e4b159632b001ab1a5f48.jpg","text":"TemporaryFile(/tmp/multipartBody7655391285169065309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573183346,"filename":"image_01122025_08_10_44_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397173153","file1":"1397173114","file0":"1397173102","file3":"1397173171"},"map_files_photo_id_array":[{"photo_id":"1397173153","filename":"file2"},{"photo_id":"1397173114","filename":"file1"},{"photo_id":"1397173102","filename":"file0"},{"photo_id":"1397173171","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397173171":["hashtag1","hashtag2"]},{"1397173153":["hashtag1","hashtag2"]},{"1397173114":["hashtag1","hashtag2"]},{"1397173102":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397173171, 1397173153, 1397173114, 1397173102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.62220287322998 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 08:12:32.241490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_35_1681.jpg', '/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_36_1624.jpg', '/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_38_1612.jpg', '/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_40_1644.jpg', '/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_42_2677.jpg', '/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_46_3707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_35_1681.jpg
/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_36_1624.jpg
/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_38_1612.jpg
/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_40_1644.jpg
/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_42_2677.jpg
/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_46_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":["1397173218","1397173227","1397173226","1397173222","1397173225","1397173215"],"photo_ids_order":["1397173215","1397173218","1397173222","1397173225","1397173226","1397173227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2551eeb90d0fd0052ac230dd33c7ad5e.jpg","text":"TemporaryFile(/tmp/multipartBody7596067058441420716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573213965,"filename":"image_25112025_22_12_36_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/1/91c1b6eb3444798e997475157b281041.jpg","text":"TemporaryFile(/tmp/multipartBody8004266409305543509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573213965,"filename":"image_25112025_22_12_46_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/1/20a09d540cbb3f146ea0d1aad6e29afe.jpg","text":"TemporaryFile(/tmp/multipartBody7541767945397729065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573213965,"filename":"image_25112025_22_12_42_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/1/616fdb9733a59a8e8b45e67cba4e05c5.jpg","text":"TemporaryFile(/tmp/multipartBody5818378143494352040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573213965,"filename":"image_25112025_22_12_38_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dc2017184fb72a809fd636cd1460acca.jpg","text":"TemporaryFile(/tmp/multipartBody5869213892472951805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573213965,"filename":"image_25112025_22_12_40_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a20aae59ea66fe2f22fa80caae351905.jpg","text":"TemporaryFile(/tmp/multipartBody6437118210407605208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573213965,"filename":"image_25112025_22_12_35_1681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397173222","file1":"1397173218","file0":"1397173215","file4":"1397173226","file5":"1397173227","file3":"1397173225"},"map_files_photo_id_array":[{"photo_id":"1397173227","filename":"file5"},{"photo_id":"1397173222","filename":"file2"},{"photo_id":"1397173226","filename":"file4"},{"photo_id":"1397173218","filename":"file1"},{"photo_id":"1397173215","filename":"file0"},{"photo_id":"1397173225","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397173218":["hashtag1","hashtag2"]},{"1397173227":["hashtag1","hashtag2"]},{"1397173226":["hashtag1","hashtag2"]},{"1397173222":["hashtag1","hashtag2"]},{"1397173225":["hashtag1","hashtag2"]},{"1397173215":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397173218, 1397173227, 1397173226, 1397173222, 1397173225, 1397173215)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.53998947143555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 08:13:22.574386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/11/image_01122025_08_11_44_9752.jpg', '/home/pi/Desktop/images/01122025/08/11/image_01122025_08_12_04_9840.jpg', '/home/pi/Desktop/images/01122025/08/12/image_01122025_08_12_14_9987.jpg', '/home/pi/Desktop/images/01122025/08/12/image_01122025_08_12_44_9815.jpg', '/home/pi/Desktop/images/01122025/08/12/image_01122025_08_13_05_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/11/image_01122025_08_11_44_9752.jpg
/home/pi/Desktop/images/01122025/08/11/image_01122025_08_12_04_9840.jpg
/home/pi/Desktop/images/01122025/08/12/image_01122025_08_12_14_9987.jpg
/home/pi/Desktop/images/01122025/08/12/image_01122025_08_12_44_9815.jpg
/home/pi/Desktop/images/01122025/08/12/image_01122025_08_13_05_10643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397173280","1397173277","1397173273","1397173267","1397173284"],"photo_ids_order":["1397173267","1397173273","1397173277","1397173280","1397173284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5eb022ad0568e1bc6939eccd6a05b159.jpg","text":"TemporaryFile(/tmp/multipartBody4817076704491640098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573266017,"filename":"image_01122025_08_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/1/43dba91e0e7e9ebb02c64154b45a1989.jpg","text":"TemporaryFile(/tmp/multipartBody1841028386760166252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573266017,"filename":"image_01122025_08_12_14_9987.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0c607093258e4a1598981e8fe609722e.jpg","text":"TemporaryFile(/tmp/multipartBody8047030950499224781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573266017,"filename":"image_01122025_08_12_04_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0edb796bd1dbc4d10f9694b69fa1f135.jpg","text":"TemporaryFile(/tmp/multipartBody6004600974828311077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573266017,"filename":"image_01122025_08_11_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/1/82edc652481d3cdafac4d53be758314f.jpg","text":"TemporaryFile(/tmp/multipartBody521441653155648501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573266017,"filename":"image_01122025_08_13_05_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397173277","file1":"1397173273","file0":"1397173267","file4":"1397173284","file3":"1397173280"},"map_files_photo_id_array":[{"photo_id":"1397173277","filename":"file2"},{"photo_id":"1397173284","filename":"file4"},{"photo_id":"1397173273","filename":"file1"},{"photo_id":"1397173267","filename":"file0"},{"photo_id":"1397173280","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397173280":["hashtag1","hashtag2"]},{"1397173277":["hashtag1","hashtag2"]},{"1397173273":["hashtag1","hashtag2"]},{"1397173267":["hashtag1","hashtag2"]},{"1397173284":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397173280, 1397173277, 1397173273, 1397173267, 1397173284)","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 = 1397173277 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/01122025/08/12/image_01122025_08_12_14_9987.jpg";
try second time after 15 secs
uploaded 5 photos
time to upload: 60.74041247367859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 08:14:32.545991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_49_2681.jpg', '/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_51_2689.jpg', '/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_55_3627.jpg', '/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_58_2585.jpg', '/home/pi/Desktop/images/25112025/22/12/image_25112025_22_13_00_2671.jpg', '/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_04_3687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_49_2681.jpg
/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_51_2689.jpg
/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_55_3627.jpg
/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_58_2585.jpg
/home/pi/Desktop/images/25112025/22/12/image_25112025_22_13_00_2671.jpg
/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_04_3687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397173323","1397173311","1397173312","1397173306","1397173314","1397173308"],"photo_ids_order":["1397173306","1397173308","1397173311","1397173312","1397173314","1397173323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f6fad1ef6176555fd47b22479d52e431.jpg","text":"TemporaryFile(/tmp/multipartBody7094034500279218429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573337693,"filename":"image_25112025_22_13_04_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/1/278b36df74646e92fd620b4bd8f4d07f.jpg","text":"TemporaryFile(/tmp/multipartBody1514872007671321042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573337693,"filename":"image_25112025_22_12_55_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/1/8dc62e302f10e2bcc14524c2df14325b.jpg","text":"TemporaryFile(/tmp/multipartBody1241077345274756244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573337693,"filename":"image_25112025_22_12_58_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/572a07ed0fdf7c6b2b455aab733be0a3.jpg","text":"TemporaryFile(/tmp/multipartBody1999080452966418270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573337693,"filename":"image_25112025_22_12_49_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/1/f81e01866547a2d924c6a5179a7255a7.jpg","text":"TemporaryFile(/tmp/multipartBody3933101856847371749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573337693,"filename":"image_25112025_22_13_00_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/1/008e27d4899f0d86adbf494baa3a2553.jpg","text":"TemporaryFile(/tmp/multipartBody2752796414816627016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573337693,"filename":"image_25112025_22_12_51_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397173311","file1":"1397173308","file0":"1397173306","file4":"1397173314","file5":"1397173323","file3":"1397173312"},"map_files_photo_id_array":[{"photo_id":"1397173323","filename":"file5"},{"photo_id":"1397173311","filename":"file2"},{"photo_id":"1397173314","filename":"file4"},{"photo_id":"1397173308","filename":"file1"},{"photo_id":"1397173306","filename":"file0"},{"photo_id":"1397173312","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397173323":["hashtag1","hashtag2"]},{"1397173311":["hashtag1","hashtag2"]},{"1397173312":["hashtag1","hashtag2"]},{"1397173306":["hashtag1","hashtag2"]},{"1397173314":["hashtag1","hashtag2"]},{"1397173308":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397173323, 1397173311, 1397173312, 1397173306, 1397173314, 1397173308)","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 = 1397173311 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/25112025/22/12/image_25112025_22_12_55_3627.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 61.49608516693115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 08:15:35.338271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_07_2628.jpg', '/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_09_2538.jpg', '/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_13_3763.jpg', '/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_15_2515.jpg', '/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_18_2667.jpg', '/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_22_3786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_07_2628.jpg
/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_09_2538.jpg
/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_13_3763.jpg
/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_15_2515.jpg
/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_18_2667.jpg
/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_22_3786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397173361","1397173364","1397173372","1397173366","1397173369","1397173357"],"photo_ids_order":["1397173357","1397173361","1397173364","1397173366","1397173369","1397173372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/772af20fc090f069a06a0fea8a96883c.jpg","text":"TemporaryFile(/tmp/multipartBody279178455375837953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573399672,"filename":"image_25112025_22_13_09_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/1/2cf94e0fdee7c28c28dc60fb8bac3be7.jpg","text":"TemporaryFile(/tmp/multipartBody6935757812037231729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573399672,"filename":"image_25112025_22_13_13_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/af5ae60c698b7a1f16eb6cbf863b176b.jpg","text":"TemporaryFile(/tmp/multipartBody5708210731830379810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573399672,"filename":"image_25112025_22_13_22_3786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f8b3f8830fc3bcad737b6cac0d7b0c84.jpg","text":"TemporaryFile(/tmp/multipartBody6755938602729180569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573399672,"filename":"image_25112025_22_13_15_2515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b2a3dbba1ffed519b4704b0f4566cf4f.jpg","text":"TemporaryFile(/tmp/multipartBody7040315126882231271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573399672,"filename":"image_25112025_22_13_18_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/1/79db8f6c566c257af91f5b1cfa3f8b78.jpg","text":"TemporaryFile(/tmp/multipartBody6614458490227564766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573399672,"filename":"image_25112025_22_13_07_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397173364","file1":"1397173361","file0":"1397173357","file4":"1397173369","file5":"1397173372","file3":"1397173366"},"map_files_photo_id_array":[{"photo_id":"1397173372","filename":"file5"},{"photo_id":"1397173364","filename":"file2"},{"photo_id":"1397173369","filename":"file4"},{"photo_id":"1397173361","filename":"file1"},{"photo_id":"1397173357","filename":"file0"},{"photo_id":"1397173366","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397173361":["hashtag1","hashtag2"]},{"1397173364":["hashtag1","hashtag2"]},{"1397173372":["hashtag1","hashtag2"]},{"1397173366":["hashtag1","hashtag2"]},{"1397173369":["hashtag1","hashtag2"]},{"1397173357":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397173361, 1397173364, 1397173372, 1397173366, 1397173369, 1397173357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.683855056762695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 08:16:22.620891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/13/image_01122025_08_13_14_9823.jpg', '/home/pi/Desktop/images/01122025/08/14/image_01122025_08_14_15_10641.jpg', '/home/pi/Desktop/images/01122025/08/15/image_01122025_08_15_15_10574.jpg', '/home/pi/Desktop/images/01122025/08/15/image_01122025_08_15_24_9731.jpg', '/home/pi/Desktop/images/01122025/08/15/image_01122025_08_15_44_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/13/image_01122025_08_13_14_9823.jpg
/home/pi/Desktop/images/01122025/08/14/image_01122025_08_14_15_10641.jpg
/home/pi/Desktop/images/01122025/08/15/image_01122025_08_15_15_10574.jpg
/home/pi/Desktop/images/01122025/08/15/image_01122025_08_15_24_9731.jpg
/home/pi/Desktop/images/01122025/08/15/image_01122025_08_15_44_9725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397173391","1397173394","1397173388","1397173397","1397173384"],"photo_ids_order":["1397173384","1397173388","1397173391","1397173394","1397173397"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/51aa9cf4b1bbc5ce554de5c4a8f5d50e.jpg","text":"TemporaryFile(/tmp/multipartBody4668328868805231070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573443296,"filename":"image_01122025_08_15_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/1/4b89326b67d543278785f26bad83eac0.jpg","text":"TemporaryFile(/tmp/multipartBody2364631904878551644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573443296,"filename":"image_01122025_08_15_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/1/ea3e29b5c4bc273d0902655a7a8f9d95.jpg","text":"TemporaryFile(/tmp/multipartBody5447413550758224869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573443296,"filename":"image_01122025_08_14_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/1/a9470e8974d0bd536972ccff25d77575.jpg","text":"TemporaryFile(/tmp/multipartBody5610930468772812227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573443296,"filename":"image_01122025_08_15_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/1/5d2ef0d5e18953817ad79d5d3d50fa04.jpg","text":"TemporaryFile(/tmp/multipartBody7077429724728291058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573443296,"filename":"image_01122025_08_13_14_9823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397173391","file1":"1397173388","file0":"1397173384","file4":"1397173397","file3":"1397173394"},"map_files_photo_id_array":[{"photo_id":"1397173391","filename":"file2"},{"photo_id":"1397173397","filename":"file4"},{"photo_id":"1397173388","filename":"file1"},{"photo_id":"1397173384","filename":"file0"},{"photo_id":"1397173394","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397173391":["hashtag1","hashtag2"]},{"1397173394":["hashtag1","hashtag2"]},{"1397173388":["hashtag1","hashtag2"]},{"1397173397":["hashtag1","hashtag2"]},{"1397173384":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397173391, 1397173394, 1397173388, 1397173397, 1397173384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.26222372055054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:17:02.598025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_24_2693.jpg', '/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_27_2775.jpg', '/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_31_3631.jpg', '/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_36_2767.jpg', '/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_40_3675.jpg', '/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_45_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_24_2693.jpg
/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_27_2775.jpg
/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_31_3631.jpg
/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_36_2767.jpg
/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_40_3675.jpg
/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_45_2612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397173419","1397173402","1397173432","1397173426","1397173405","1397173428"],"photo_ids_order":["1397173402","1397173405","1397173419","1397173426","1397173428","1397173432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4072dad660c250cc1cc3034d68c06a3b.jpg","text":"TemporaryFile(/tmp/multipartBody7120711865651991103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573483719,"filename":"image_25112025_22_13_31_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/1/3c9f81fc324ac91440b9acadad68297c.jpg","text":"TemporaryFile(/tmp/multipartBody3190988868520466550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573483719,"filename":"image_25112025_22_13_24_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/1/f9dad85ecba36e9ee2f5f74a876ebc1d.jpg","text":"TemporaryFile(/tmp/multipartBody9177976131487415363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573483719,"filename":"image_25112025_22_13_45_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/1/3e496dae2ec5ffb0d36fc898805c7505.jpg","text":"TemporaryFile(/tmp/multipartBody5445969893540730533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573483719,"filename":"image_25112025_22_13_36_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e49c79cf0228dfd2508e06fc706138a8.jpg","text":"TemporaryFile(/tmp/multipartBody7136671268835508053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573483719,"filename":"image_25112025_22_13_27_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/869197a7d8d68c5d689b285aa8a1e935.jpg","text":"TemporaryFile(/tmp/multipartBody7744532023698123374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573483719,"filename":"image_25112025_22_13_40_3675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397173419","file1":"1397173405","file0":"1397173402","file4":"1397173428","file5":"1397173432","file3":"1397173426"},"map_files_photo_id_array":[{"photo_id":"1397173432","filename":"file5"},{"photo_id":"1397173419","filename":"file2"},{"photo_id":"1397173428","filename":"file4"},{"photo_id":"1397173405","filename":"file1"},{"photo_id":"1397173402","filename":"file0"},{"photo_id":"1397173426","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397173419":["hashtag1","hashtag2"]},{"1397173402":["hashtag1","hashtag2"]},{"1397173432":["hashtag1","hashtag2"]},{"1397173426":["hashtag1","hashtag2"]},{"1397173405":["hashtag1","hashtag2"]},{"1397173428":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397173419, 1397173402, 1397173432, 1397173426, 1397173405, 1397173428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82354116439819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 08:17:41.895015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/04/image_01112025_01_04_57_3671.jpg', '/home/pi/Desktop/images/01112025/01/05/image_01112025_01_05_15_2786.jpg', '/home/pi/Desktop/images/01112025/01/05/image_01112025_01_05_33_2724.jpg', '/home/pi/Desktop/images/01112025/01/05/image_01112025_01_05_42_2599.jpg', '/home/pi/Desktop/images/01112025/01/05/image_01112025_01_05_54_2753.jpg', '/home/pi/Desktop/images/01112025/01/05/image_01112025_01_05_57_3575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/04/image_01112025_01_04_57_3671.jpg
/home/pi/Desktop/images/01112025/01/05/image_01112025_01_05_15_2786.jpg
/home/pi/Desktop/images/01112025/01/05/image_01112025_01_05_33_2724.jpg
/home/pi/Desktop/images/01112025/01/05/image_01112025_01_05_42_2599.jpg
/home/pi/Desktop/images/01112025/01/05/image_01112025_01_05_54_2753.jpg
/home/pi/Desktop/images/01112025/01/05/image_01112025_01_05_57_3575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397173445","1397173448","1397173471","1397173441","1397173450","1397173446"],"photo_ids_order":["1397173441","1397173445","1397173446","1397173448","1397173450","1397173471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e315369d649f63a8b4006ba2e33fd5cf.jpg","text":"TemporaryFile(/tmp/multipartBody6924891239165527436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573522750,"filename":"image_01112025_01_05_15_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c16b57bd545a32caac47dd21ebfe130c.jpg","text":"TemporaryFile(/tmp/multipartBody923912461437849533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573522750,"filename":"image_01112025_01_05_42_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/1/ac1f269b052df5986ccb20141432ae86.jpg","text":"TemporaryFile(/tmp/multipartBody9042871569917271549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573522750,"filename":"image_01112025_01_05_57_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/1/f21fc49d25629d169c9c68ff881e063a.jpg","text":"TemporaryFile(/tmp/multipartBody656831362463207943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573522750,"filename":"image_01112025_01_04_57_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0610a4a90110395592f93d647e1c14ac.jpg","text":"TemporaryFile(/tmp/multipartBody4148854178281629187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573522750,"filename":"image_01112025_01_05_54_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/1/34142156e9b19c9316aa2638102acaaa.jpg","text":"TemporaryFile(/tmp/multipartBody4307256355681555953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573522750,"filename":"image_01112025_01_05_33_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397173446","file1":"1397173445","file0":"1397173441","file4":"1397173450","file5":"1397173471","file3":"1397173448"},"map_files_photo_id_array":[{"photo_id":"1397173471","filename":"file5"},{"photo_id":"1397173446","filename":"file2"},{"photo_id":"1397173450","filename":"file4"},{"photo_id":"1397173445","filename":"file1"},{"photo_id":"1397173441","filename":"file0"},{"photo_id":"1397173448","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397173445":["hashtag1","hashtag2"]},{"1397173448":["hashtag1","hashtag2"]},{"1397173471":["hashtag1","hashtag2"]},{"1397173441":["hashtag1","hashtag2"]},{"1397173450":["hashtag1","hashtag2"]},{"1397173446":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397173445, 1397173448, 1397173471, 1397173441, 1397173450, 1397173446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.821627140045166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 08:18:22.070270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/15/image_01122025_08_15_55_10740.jpg', '/home/pi/Desktop/images/01122025/08/15/image_01122025_08_16_04_9814.jpg', '/home/pi/Desktop/images/01122025/08/16/image_01122025_08_16_14_9711.jpg', '/home/pi/Desktop/images/01122025/08/16/image_01122025_08_16_34_9931.jpg', '/home/pi/Desktop/images/01122025/08/16/image_01122025_08_16_45_10801.jpg', '/home/pi/Desktop/images/01122025/08/16/image_01122025_08_16_54_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/15/image_01122025_08_15_55_10740.jpg
/home/pi/Desktop/images/01122025/08/15/image_01122025_08_16_04_9814.jpg
/home/pi/Desktop/images/01122025/08/16/image_01122025_08_16_14_9711.jpg
/home/pi/Desktop/images/01122025/08/16/image_01122025_08_16_34_9931.jpg
/home/pi/Desktop/images/01122025/08/16/image_01122025_08_16_45_10801.jpg
/home/pi/Desktop/images/01122025/08/16/image_01122025_08_16_54_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397173495","1397173498","1397173492","1397173489","1397173480","1397173485"],"photo_ids_order":["1397173480","1397173485","1397173489","1397173492","1397173495","1397173498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7e10cd6863d009776d6e94635b963c9e.jpg","text":"TemporaryFile(/tmp/multipartBody6070997968997209328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573562871,"filename":"image_01122025_08_16_45_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/1/ef31174b15ac2de85795ca6a1954f06a.jpg","text":"TemporaryFile(/tmp/multipartBody7622541100456290931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573562871,"filename":"image_01122025_08_16_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/1/7374c97e68fc574b96fb7240835bcb7d.jpg","text":"TemporaryFile(/tmp/multipartBody1287385535493967819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573562871,"filename":"image_01122025_08_16_34_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/1/f9b36cabccc38331ddc45c7ade2c9315.jpg","text":"TemporaryFile(/tmp/multipartBody5656913877838796130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573562871,"filename":"image_01122025_08_16_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/1/67c64271fc0a04b32a8ad4abea236c3f.jpg","text":"TemporaryFile(/tmp/multipartBody3849639927017476747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573562871,"filename":"image_01122025_08_15_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/1/c5e64a7a1bb659a1ee34798d0628c77c.jpg","text":"TemporaryFile(/tmp/multipartBody7581796010835413579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573562871,"filename":"image_01122025_08_16_04_9814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397173489","file1":"1397173485","file0":"1397173480","file4":"1397173495","file5":"1397173498","file3":"1397173492"},"map_files_photo_id_array":[{"photo_id":"1397173498","filename":"file5"},{"photo_id":"1397173489","filename":"file2"},{"photo_id":"1397173495","filename":"file4"},{"photo_id":"1397173485","filename":"file1"},{"photo_id":"1397173480","filename":"file0"},{"photo_id":"1397173492","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397173495":["hashtag1","hashtag2"]},{"1397173498":["hashtag1","hashtag2"]},{"1397173492":["hashtag1","hashtag2"]},{"1397173489":["hashtag1","hashtag2"]},{"1397173480":["hashtag1","hashtag2"]},{"1397173485":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397173495, 1397173498, 1397173492, 1397173489, 1397173480, 1397173485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.571268796920776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:19:03.259100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/16/image_01122025_08_17_04_9738.jpg', '/home/pi/Desktop/images/01122025/08/17/image_01122025_08_17_15_10570.jpg', '/home/pi/Desktop/images/01122025/08/17/image_01122025_08_17_24_9653.jpg', '/home/pi/Desktop/images/01122025/08/17/image_01122025_08_17_34_9728.jpg', '/home/pi/Desktop/images/01122025/08/17/image_01122025_08_17_45_10642.jpg', '/home/pi/Desktop/images/01122025/08/18/image_01122025_08_18_25_10583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/16/image_01122025_08_17_04_9738.jpg
/home/pi/Desktop/images/01122025/08/17/image_01122025_08_17_15_10570.jpg
/home/pi/Desktop/images/01122025/08/17/image_01122025_08_17_24_9653.jpg
/home/pi/Desktop/images/01122025/08/17/image_01122025_08_17_34_9728.jpg
/home/pi/Desktop/images/01122025/08/17/image_01122025_08_17_45_10642.jpg
/home/pi/Desktop/images/01122025/08/18/image_01122025_08_18_25_10583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397173635","1397173629","1397173595","1397173622","1397173625","1397173619"],"photo_ids_order":["1397173595","1397173619","1397173622","1397173625","1397173629","1397173635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d8818b5aefe72a6b9fae1cb6c6526b90.jpg","text":"TemporaryFile(/tmp/multipartBody3262725541783721005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573604164,"filename":"image_01122025_08_18_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/1/d558d63fa08430d64c71dcc5e0c1ae7a.jpg","text":"TemporaryFile(/tmp/multipartBody2952352386073192191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573604164,"filename":"image_01122025_08_17_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/1/5ad0d48817d72dbb589d1aae9425751e.jpg","text":"TemporaryFile(/tmp/multipartBody1626210786952149427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573604164,"filename":"image_01122025_08_17_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/1/380d9b704f8e1e61d82b365de330f6d5.jpg","text":"TemporaryFile(/tmp/multipartBody536082046749746283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573604164,"filename":"image_01122025_08_17_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/1/0b306e718cd7c92a49bbcfeaebe17f64.jpg","text":"TemporaryFile(/tmp/multipartBody5696258821738320370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573604164,"filename":"image_01122025_08_17_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/1/9932fb690e6836531d201f877df96a62.jpg","text":"TemporaryFile(/tmp/multipartBody5818591407361531294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573604164,"filename":"image_01122025_08_17_15_10570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397173622","file1":"1397173619","file0":"1397173595","file4":"1397173629","file5":"1397173635","file3":"1397173625"},"map_files_photo_id_array":[{"photo_id":"1397173635","filename":"file5"},{"photo_id":"1397173622","filename":"file2"},{"photo_id":"1397173629","filename":"file4"},{"photo_id":"1397173619","filename":"file1"},{"photo_id":"1397173595","filename":"file0"},{"photo_id":"1397173625","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397173635":["hashtag1","hashtag2"]},{"1397173629":["hashtag1","hashtag2"]},{"1397173595":["hashtag1","hashtag2"]},{"1397173622":["hashtag1","hashtag2"]},{"1397173625":["hashtag1","hashtag2"]},{"1397173619":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397173635, 1397173629, 1397173595, 1397173622, 1397173625, 1397173619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13463473320007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 08:19:42.264546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/06/image_01112025_01_06_12_2673.jpg', '/home/pi/Desktop/images/01112025/01/06/image_01112025_01_06_18_3604.jpg', '/home/pi/Desktop/images/01112025/01/06/image_01112025_01_06_21_2558.jpg', '/home/pi/Desktop/images/01112025/01/06/image_01112025_01_06_23_2786.jpg', '/home/pi/Desktop/images/01112025/01/07/image_01112025_01_07_03_3808.jpg', '/home/pi/Desktop/images/01112025/01/07/image_01112025_01_07_09_2819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/06/image_01112025_01_06_12_2673.jpg
/home/pi/Desktop/images/01112025/01/06/image_01112025_01_06_18_3604.jpg
/home/pi/Desktop/images/01112025/01/06/image_01112025_01_06_21_2558.jpg
/home/pi/Desktop/images/01112025/01/06/image_01112025_01_06_23_2786.jpg
/home/pi/Desktop/images/01112025/01/07/image_01112025_01_07_03_3808.jpg
/home/pi/Desktop/images/01112025/01/07/image_01112025_01_07_09_2819.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397173652","1397173646","1397173643","1397173645","1397173648","1397173650"],"photo_ids_order":["1397173643","1397173645","1397173646","1397173648","1397173650","1397173652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/03616c06587266a6c2a253d427d75e92.jpg","text":"TemporaryFile(/tmp/multipartBody5331858084348225732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573643128,"filename":"image_01112025_01_07_09_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d8a4b7853869b35f5c035a4a0897d8ca.jpg","text":"TemporaryFile(/tmp/multipartBody8563085929015971152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573643128,"filename":"image_01112025_01_06_21_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/57b2a3569aca3dc516cb40e5b67ed351.jpg","text":"TemporaryFile(/tmp/multipartBody2126950030561455907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573643128,"filename":"image_01112025_01_06_12_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/1/c24ddb593abc7c826dae1dc4b1486dfc.jpg","text":"TemporaryFile(/tmp/multipartBody4794854318024590331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573643128,"filename":"image_01112025_01_06_18_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/1/b007f275cb09fec63cfecb8ed0af8feb.jpg","text":"TemporaryFile(/tmp/multipartBody750286317172479078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573643128,"filename":"image_01112025_01_06_23_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/1/b83f7a09cf3caee3601ae9e87ad45671.jpg","text":"TemporaryFile(/tmp/multipartBody2836401564088541046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573643128,"filename":"image_01112025_01_07_03_3808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397173646","file1":"1397173645","file0":"1397173643","file4":"1397173650","file5":"1397173652","file3":"1397173648"},"map_files_photo_id_array":[{"photo_id":"1397173652","filename":"file5"},{"photo_id":"1397173646","filename":"file2"},{"photo_id":"1397173650","filename":"file4"},{"photo_id":"1397173645","filename":"file1"},{"photo_id":"1397173643","filename":"file0"},{"photo_id":"1397173648","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397173652":["hashtag1","hashtag2"]},{"1397173646":["hashtag1","hashtag2"]},{"1397173643":["hashtag1","hashtag2"]},{"1397173645":["hashtag1","hashtag2"]},{"1397173648":["hashtag1","hashtag2"]},{"1397173650":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397173652, 1397173646, 1397173643, 1397173645, 1397173648, 1397173650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34394955635071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 08:20:22.443795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/18/image_01122025_08_18_34_9838.jpg', '/home/pi/Desktop/images/01122025/08/18/image_01122025_08_18_54_9717.jpg', '/home/pi/Desktop/images/01122025/08/18/image_01122025_08_19_04_10006.jpg', '/home/pi/Desktop/images/01122025/08/19/image_01122025_08_19_15_10707.jpg', '/home/pi/Desktop/images/01122025/08/19/image_01122025_08_19_25_9861.jpg', '/home/pi/Desktop/images/01122025/08/19/image_01122025_08_19_34_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/18/image_01122025_08_18_34_9838.jpg
/home/pi/Desktop/images/01122025/08/18/image_01122025_08_18_54_9717.jpg
/home/pi/Desktop/images/01122025/08/18/image_01122025_08_19_04_10006.jpg
/home/pi/Desktop/images/01122025/08/19/image_01122025_08_19_15_10707.jpg
/home/pi/Desktop/images/01122025/08/19/image_01122025_08_19_25_9861.jpg
/home/pi/Desktop/images/01122025/08/19/image_01122025_08_19_34_9699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397173697","1397173691","1397173694","1397173675","1397173700","1397173687"],"photo_ids_order":["1397173675","1397173687","1397173691","1397173694","1397173697","1397173700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/01d1d873a62eadeab53fc8a7154229cc.jpg","text":"TemporaryFile(/tmp/multipartBody4207797309100079343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573683271,"filename":"image_01122025_08_19_25_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2910503a1878572e255c74a5946cf48a.jpg","text":"TemporaryFile(/tmp/multipartBody5299890807776431941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573683271,"filename":"image_01122025_08_19_04_10006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b6aba84ac4f3d14a194515da3f334993.jpg","text":"TemporaryFile(/tmp/multipartBody7660557074249486439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573683271,"filename":"image_01122025_08_19_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/1/5563ae49794c7cffc0516198c758172f.jpg","text":"TemporaryFile(/tmp/multipartBody7707513352092149042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573683271,"filename":"image_01122025_08_18_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/1/ea9790aa179745f657c1debb3b7707a0.jpg","text":"TemporaryFile(/tmp/multipartBody473995927461603861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573683271,"filename":"image_01122025_08_19_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/1/7858d7e088f2bf28edf11ad6b6c92049.jpg","text":"TemporaryFile(/tmp/multipartBody9005387509378232269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573683271,"filename":"image_01122025_08_18_54_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397173691","file1":"1397173687","file0":"1397173675","file4":"1397173697","file5":"1397173700","file3":"1397173694"},"map_files_photo_id_array":[{"photo_id":"1397173700","filename":"file5"},{"photo_id":"1397173691","filename":"file2"},{"photo_id":"1397173697","filename":"file4"},{"photo_id":"1397173687","filename":"file1"},{"photo_id":"1397173675","filename":"file0"},{"photo_id":"1397173694","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397173697":["hashtag1","hashtag2"]},{"1397173691":["hashtag1","hashtag2"]},{"1397173694":["hashtag1","hashtag2"]},{"1397173675":["hashtag1","hashtag2"]},{"1397173700":["hashtag1","hashtag2"]},{"1397173687":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397173697, 1397173691, 1397173694, 1397173675, 1397173700, 1397173687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.661526679992676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:21:03.267412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/19/image_01122025_08_19_44_9713.jpg', '/home/pi/Desktop/images/01122025/08/19/image_01122025_08_20_04_9644.jpg', '/home/pi/Desktop/images/01122025/08/20/image_01122025_08_20_14_9723.jpg', '/home/pi/Desktop/images/01122025/08/20/image_01122025_08_20_24_9725.jpg', '/home/pi/Desktop/images/01122025/08/20/image_01122025_08_20_35_10708.jpg', '/home/pi/Desktop/images/01122025/08/20/image_01122025_08_20_44_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/19/image_01122025_08_19_44_9713.jpg
/home/pi/Desktop/images/01122025/08/19/image_01122025_08_20_04_9644.jpg
/home/pi/Desktop/images/01122025/08/20/image_01122025_08_20_14_9723.jpg
/home/pi/Desktop/images/01122025/08/20/image_01122025_08_20_24_9725.jpg
/home/pi/Desktop/images/01122025/08/20/image_01122025_08_20_35_10708.jpg
/home/pi/Desktop/images/01122025/08/20/image_01122025_08_20_44_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":["1397173713","1397173707","1397173716","1397173727","1397173710","1397173704"],"photo_ids_order":["1397173704","1397173707","1397173710","1397173713","1397173716","1397173727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/06561c1ece8fb0ffb98bcf204504596a.jpg","text":"TemporaryFile(/tmp/multipartBody7718646865927773753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573724137,"filename":"image_01122025_08_20_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/1/d94764ad4df49638e129e2ee62feca5b.jpg","text":"TemporaryFile(/tmp/multipartBody6061064493353389021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573724137,"filename":"image_01122025_08_20_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/1/f70b1e5aa51ffb4d56c9bbe790965f45.jpg","text":"TemporaryFile(/tmp/multipartBody8772603158762198851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573724137,"filename":"image_01122025_08_20_35_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/1/54133e27bef2279521fc67e8f6e22e14.jpg","text":"TemporaryFile(/tmp/multipartBody7614883116814320960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573724137,"filename":"image_01122025_08_20_44_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b4b1b00a7aff48f534440ab99e12d99f.jpg","text":"TemporaryFile(/tmp/multipartBody1445890725345680924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573724137,"filename":"image_01122025_08_20_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/1/765fe4aca1bdb5dcf927770a379aef06.jpg","text":"TemporaryFile(/tmp/multipartBody7741447564352469520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573724137,"filename":"image_01122025_08_19_44_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397173710","file1":"1397173707","file0":"1397173704","file4":"1397173716","file5":"1397173727","file3":"1397173713"},"map_files_photo_id_array":[{"photo_id":"1397173727","filename":"file5"},{"photo_id":"1397173710","filename":"file2"},{"photo_id":"1397173716","filename":"file4"},{"photo_id":"1397173707","filename":"file1"},{"photo_id":"1397173704","filename":"file0"},{"photo_id":"1397173713","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397173713":["hashtag1","hashtag2"]},{"1397173707":["hashtag1","hashtag2"]},{"1397173716":["hashtag1","hashtag2"]},{"1397173727":["hashtag1","hashtag2"]},{"1397173710":["hashtag1","hashtag2"]},{"1397173704":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397173713, 1397173707, 1397173716, 1397173727, 1397173710, 1397173704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15821671485901 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 08:21:42.745997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/07/image_01112025_01_07_15_3629.jpg', '/home/pi/Desktop/images/01112025/01/07/image_01112025_01_07_29_2683.jpg', '/home/pi/Desktop/images/01112025/01/07/image_01112025_01_07_33_3661.jpg', '/home/pi/Desktop/images/01112025/01/07/image_01112025_01_07_38_2644.jpg', '/home/pi/Desktop/images/01112025/01/07/image_01112025_01_07_45_2657.jpg', '/home/pi/Desktop/images/01112025/01/07/image_01112025_01_07_47_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/07/image_01112025_01_07_15_3629.jpg
/home/pi/Desktop/images/01112025/01/07/image_01112025_01_07_29_2683.jpg
/home/pi/Desktop/images/01112025/01/07/image_01112025_01_07_33_3661.jpg
/home/pi/Desktop/images/01112025/01/07/image_01112025_01_07_38_2644.jpg
/home/pi/Desktop/images/01112025/01/07/image_01112025_01_07_45_2657.jpg
/home/pi/Desktop/images/01112025/01/07/image_01112025_01_07_47_2691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397173742","1397173759","1397173740","1397173743","1397173737","1397173752"],"photo_ids_order":["1397173737","1397173740","1397173742","1397173743","1397173752","1397173759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/990ad613bb94e5b5b5febac6e3f77a5c.jpg","text":"TemporaryFile(/tmp/multipartBody3160210897146282055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573763609,"filename":"image_01112025_01_07_33_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/1/ea77076f734689360b8bff99a2b7b87b.jpg","text":"TemporaryFile(/tmp/multipartBody7101116025339157553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573763609,"filename":"image_01112025_01_07_47_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/1/0d0fc07c4e714e1a2c822d1cf325c346.jpg","text":"TemporaryFile(/tmp/multipartBody4895115591555584313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573763609,"filename":"image_01112025_01_07_29_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/1/ea15c50780fad69bad253b1198220897.jpg","text":"TemporaryFile(/tmp/multipartBody7626938664881999424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573763609,"filename":"image_01112025_01_07_38_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/1/53db705112d0fa819f34214aae2d72db.jpg","text":"TemporaryFile(/tmp/multipartBody8236608561901949336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573763609,"filename":"image_01112025_01_07_15_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6a45deed60cd2738a782a9d47ea0f886.jpg","text":"TemporaryFile(/tmp/multipartBody7149485641953511009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573763609,"filename":"image_01112025_01_07_45_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397173742","file1":"1397173740","file0":"1397173737","file4":"1397173752","file5":"1397173759","file3":"1397173743"},"map_files_photo_id_array":[{"photo_id":"1397173759","filename":"file5"},{"photo_id":"1397173742","filename":"file2"},{"photo_id":"1397173752","filename":"file4"},{"photo_id":"1397173740","filename":"file1"},{"photo_id":"1397173737","filename":"file0"},{"photo_id":"1397173743","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397173742":["hashtag1","hashtag2"]},{"1397173759":["hashtag1","hashtag2"]},{"1397173740":["hashtag1","hashtag2"]},{"1397173743":["hashtag1","hashtag2"]},{"1397173737":["hashtag1","hashtag2"]},{"1397173752":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397173742, 1397173759, 1397173740, 1397173743, 1397173737, 1397173752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67619514465332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 08:22:21.901523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/20/image_01122025_08_20_54_9740.jpg', '/home/pi/Desktop/images/01122025/08/21/image_01122025_08_21_14_10612.jpg', '/home/pi/Desktop/images/01122025/08/21/image_01122025_08_21_34_9727.jpg', '/home/pi/Desktop/images/01122025/08/21/image_01122025_08_21_54_9916.jpg', '/home/pi/Desktop/images/01122025/08/22/image_01122025_08_22_14_9849.jpg', '/home/pi/Desktop/images/01122025/08/22/image_01122025_08_22_34_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/20/image_01122025_08_20_54_9740.jpg
/home/pi/Desktop/images/01122025/08/21/image_01122025_08_21_14_10612.jpg
/home/pi/Desktop/images/01122025/08/21/image_01122025_08_21_34_9727.jpg
/home/pi/Desktop/images/01122025/08/21/image_01122025_08_21_54_9916.jpg
/home/pi/Desktop/images/01122025/08/22/image_01122025_08_22_14_9849.jpg
/home/pi/Desktop/images/01122025/08/22/image_01122025_08_22_34_9778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397173815","1397173774","1397173777","1397173858","1397173878","1397173770"],"photo_ids_order":["1397173770","1397173774","1397173777","1397173815","1397173858","1397173878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f30fea2998abf391cf66c42283d5852b.jpg","text":"TemporaryFile(/tmp/multipartBody4257392977808701034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573802651,"filename":"image_01122025_08_21_54_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/1/e46ed742d42c92b71e5e89cafb5e1b56.jpg","text":"TemporaryFile(/tmp/multipartBody3343036188564502706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573802651,"filename":"image_01122025_08_21_14_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/1/c341d36058a703d4266b1a714be9c597.jpg","text":"TemporaryFile(/tmp/multipartBody1796259300826837705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573802651,"filename":"image_01122025_08_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/1/06f26c627c2be697ae6b6d83cf81338c.jpg","text":"TemporaryFile(/tmp/multipartBody887268641713441422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573802651,"filename":"image_01122025_08_22_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/1/fdca9bf921fad95ec3d8745add0fc417.jpg","text":"TemporaryFile(/tmp/multipartBody8501233119471094206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573802651,"filename":"image_01122025_08_22_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/1/2d1fd7fb5ac8ba8595030501c68d8498.jpg","text":"TemporaryFile(/tmp/multipartBody2697222259426505601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573802651,"filename":"image_01122025_08_20_54_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397173777","file1":"1397173774","file0":"1397173770","file4":"1397173858","file5":"1397173878","file3":"1397173815"},"map_files_photo_id_array":[{"photo_id":"1397173878","filename":"file5"},{"photo_id":"1397173777","filename":"file2"},{"photo_id":"1397173858","filename":"file4"},{"photo_id":"1397173774","filename":"file1"},{"photo_id":"1397173770","filename":"file0"},{"photo_id":"1397173815","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397173815":["hashtag1","hashtag2"]},{"1397173774":["hashtag1","hashtag2"]},{"1397173777":["hashtag1","hashtag2"]},{"1397173858":["hashtag1","hashtag2"]},{"1397173878":["hashtag1","hashtag2"]},{"1397173770":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397173815, 1397173774, 1397173777, 1397173858, 1397173878, 1397173770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86953139305115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:23:02.681824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/22/image_01122025_08_22_44_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/22/image_01122025_08_22_44_9759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397173882"],"photo_id":"1397173882","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e994ff463ad05c6ecb0d8c94cc91bdcb.jpg","text":"TemporaryFile(/tmp/multipartBody1825097576350962830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573843260,"filename":"image_01122025_08_22_44_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1397173882"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1397173882"}],"hashtags":[],"portfolio_id":"29033749","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.63187050819397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 08:23:22.011643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/22/image_01122025_08_22_54_9862.jpg', '/home/pi/Desktop/images/01122025/08/23/image_01122025_08_23_14_9701.jpg', '/home/pi/Desktop/images/01122025/08/23/image_01122025_08_23_24_9683.jpg', '/home/pi/Desktop/images/01122025/08/23/image_01122025_08_23_34_10029.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/22/image_01122025_08_22_54_9862.jpg
/home/pi/Desktop/images/01122025/08/23/image_01122025_08_23_14_9701.jpg
/home/pi/Desktop/images/01122025/08/23/image_01122025_08_23_24_9683.jpg
/home/pi/Desktop/images/01122025/08/23/image_01122025_08_23_34_10029.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397173994","1397173972","1397173969","1397173947"],"photo_ids_order":["1397173947","1397173969","1397173972","1397173994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6cbe0c5ac4f516fd1629b17bb71eca68.jpg","text":"TemporaryFile(/tmp/multipartBody8849454385662088257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573862668,"filename":"image_01122025_08_23_34_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/1/1e646606426d7be09d4b3a2936ad9c43.jpg","text":"TemporaryFile(/tmp/multipartBody1447492488464546945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573862668,"filename":"image_01122025_08_23_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/1/a543d6ee62ae8e402a9eb470f844b767.jpg","text":"TemporaryFile(/tmp/multipartBody945520079800812656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573862668,"filename":"image_01122025_08_23_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/1/88e7d32081394b56ff7ecd8b681ac18d.jpg","text":"TemporaryFile(/tmp/multipartBody7897170819855093354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573862668,"filename":"image_01122025_08_22_54_9862.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397173972","file1":"1397173969","file0":"1397173947","file3":"1397173994"},"map_files_photo_id_array":[{"photo_id":"1397173972","filename":"file2"},{"photo_id":"1397173969","filename":"file1"},{"photo_id":"1397173947","filename":"file0"},{"photo_id":"1397173994","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397173994":["hashtag1","hashtag2"]},{"1397173972":["hashtag1","hashtag2"]},{"1397173969":["hashtag1","hashtag2"]},{"1397173947":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397173994, 1397173972, 1397173969, 1397173947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.235724449157715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:24:03.100319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_49_3638.jpg', '/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_51_2654.jpg', '/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_54_2558.jpg', '/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_58_4297.jpg', '/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_01_2531.jpg', '/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_04_2762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_49_3638.jpg
/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_51_2654.jpg
/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_54_2558.jpg
/home/pi/Desktop/images/25112025/22/13/image_25112025_22_13_58_4297.jpg
/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_01_2531.jpg
/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_04_2762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397174024","1397174017","1397174029","1397174020","1397174014","1397174010"],"photo_ids_order":["1397174010","1397174014","1397174017","1397174020","1397174024","1397174029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e50f573ef5eaa5cfbdcef05fe5ac6723.jpg","text":"TemporaryFile(/tmp/multipartBody6370605146879725989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573904272,"filename":"image_25112025_22_14_01_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0e72e815487bd47f309a04126a3e3485.jpg","text":"TemporaryFile(/tmp/multipartBody101945595658833813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573904272,"filename":"image_25112025_22_13_54_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/1/915460abd85f90dc8a6ee52b81aa4b69.jpg","text":"TemporaryFile(/tmp/multipartBody9119218520416386369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573904272,"filename":"image_25112025_22_14_04_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1b90e111a6adae5d693f3473e5e333e9.jpg","text":"TemporaryFile(/tmp/multipartBody2969818844731302314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573904272,"filename":"image_25112025_22_13_58_4297.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/85cfc292dfed39c0dc78adb115976e15.jpg","text":"TemporaryFile(/tmp/multipartBody7938623605036018365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573904272,"filename":"image_25112025_22_13_51_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/1/1d3982c88252a9cd58c716705fd231dd.jpg","text":"TemporaryFile(/tmp/multipartBody3770701533196816618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573904272,"filename":"image_25112025_22_13_49_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397174017","file1":"1397174014","file0":"1397174010","file4":"1397174024","file5":"1397174029","file3":"1397174020"},"map_files_photo_id_array":[{"photo_id":"1397174029","filename":"file5"},{"photo_id":"1397174017","filename":"file2"},{"photo_id":"1397174024","filename":"file4"},{"photo_id":"1397174014","filename":"file1"},{"photo_id":"1397174010","filename":"file0"},{"photo_id":"1397174020","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397174024":["hashtag1","hashtag2"]},{"1397174017":["hashtag1","hashtag2"]},{"1397174029":["hashtag1","hashtag2"]},{"1397174020":["hashtag1","hashtag2"]},{"1397174014":["hashtag1","hashtag2"]},{"1397174010":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397174024, 1397174017, 1397174029, 1397174020, 1397174014, 1397174010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32351493835449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 08:24:42.348017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/07/image_01112025_01_07_51_3587.jpg', '/home/pi/Desktop/images/01112025/01/07/image_01112025_01_07_54_2596.jpg', '/home/pi/Desktop/images/01112025/01/07/image_01112025_01_08_00_3625.jpg', '/home/pi/Desktop/images/01112025/01/08/image_01112025_01_08_03_2879.jpg', '/home/pi/Desktop/images/01112025/01/08/image_01112025_01_08_06_2711.jpg', '/home/pi/Desktop/images/01112025/01/08/image_01112025_01_08_13_4990.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/07/image_01112025_01_07_51_3587.jpg
/home/pi/Desktop/images/01112025/01/07/image_01112025_01_07_54_2596.jpg
/home/pi/Desktop/images/01112025/01/07/image_01112025_01_08_00_3625.jpg
/home/pi/Desktop/images/01112025/01/08/image_01112025_01_08_03_2879.jpg
/home/pi/Desktop/images/01112025/01/08/image_01112025_01_08_06_2711.jpg
/home/pi/Desktop/images/01112025/01/08/image_01112025_01_08_13_4990.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7699484825134277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:25:03.280929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/23/image_01122025_08_23_55_10761.jpg', '/home/pi/Desktop/images/01122025/08/23/image_01122025_08_24_04_9816.jpg', '/home/pi/Desktop/images/01122025/08/24/image_01122025_08_24_14_9805.jpg', '/home/pi/Desktop/images/01122025/08/24/image_01122025_08_24_45_10810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/23/image_01122025_08_23_55_10761.jpg
/home/pi/Desktop/images/01122025/08/23/image_01122025_08_24_04_9816.jpg
/home/pi/Desktop/images/01122025/08/24/image_01122025_08_24_14_9805.jpg
/home/pi/Desktop/images/01122025/08/24/image_01122025_08_24_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":["1397174059","1397174050","1397174070","1397174046"],"photo_ids_order":["1397174046","1397174050","1397174059","1397174070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/59a2ca4aa9c26b053417030c6febb332.jpg","text":"TemporaryFile(/tmp/multipartBody725286530599762991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573963982,"filename":"image_01122025_08_24_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/1/47ed3c2f4fb0bc274dae21d0a7bdc617.jpg","text":"TemporaryFile(/tmp/multipartBody8497974893416722145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573963982,"filename":"image_01122025_08_24_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/1/b7c2bf11f9806bafcea5e6f83ef4c24f.jpg","text":"TemporaryFile(/tmp/multipartBody810973665805774098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573963982,"filename":"image_01122025_08_24_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/1/c7d3090a849c9c30cea9e2075ab61c10.jpg","text":"TemporaryFile(/tmp/multipartBody8647164343759564823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573963982,"filename":"image_01122025_08_23_55_10761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397174059","file1":"1397174050","file0":"1397174046","file3":"1397174070"},"map_files_photo_id_array":[{"photo_id":"1397174059","filename":"file2"},{"photo_id":"1397174050","filename":"file1"},{"photo_id":"1397174046","filename":"file0"},{"photo_id":"1397174070","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397174059":["hashtag1","hashtag2"]},{"1397174050":["hashtag1","hashtag2"]},{"1397174070":["hashtag1","hashtag2"]},{"1397174046":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397174059, 1397174050, 1397174070, 1397174046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.339828491210938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 08:25:32.538633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_15_11384.jpg', '/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_17_1626.jpg', '/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_18_1643.jpg', '/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_20_1771.jpg', '/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_22_1601.jpg', '/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_25_1657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_15_11384.jpg
/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_17_1626.jpg
/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_18_1643.jpg
/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_20_1771.jpg
/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_22_1601.jpg
/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_25_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397174098","1397174092","1397174086","1397174095","1397174089","1397174083"],"photo_ids_order":["1397174083","1397174086","1397174089","1397174092","1397174095","1397174098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e92bd81adbbaf6c2351d55dbb9b10d05.jpg","text":"TemporaryFile(/tmp/multipartBody839386874680503662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573994260,"filename":"image_25112025_22_14_25_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/1/07fb64e02a02dfd449d70e05cca752d2.jpg","text":"TemporaryFile(/tmp/multipartBody5789515901018935532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573994260,"filename":"image_25112025_22_14_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/1/69e0dc03f5ea1dda70eec91bc36c256d.jpg","text":"TemporaryFile(/tmp/multipartBody5740935017007817051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573994260,"filename":"image_25112025_22_14_17_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/1/5971864b3a71d4627b5c859413d0ed88.jpg","text":"TemporaryFile(/tmp/multipartBody2717816960438414427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573994260,"filename":"image_25112025_22_14_22_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/1/62015ad1462c5c696a1c165f2e6b0230.jpg","text":"TemporaryFile(/tmp/multipartBody5556876689853363862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573994260,"filename":"image_25112025_22_14_18_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5ee1834bd4baa911802a1a03017d791a.jpg","text":"TemporaryFile(/tmp/multipartBody4991527530042281348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764573994260,"filename":"image_25112025_22_14_15_11384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397174089","file1":"1397174086","file0":"1397174083","file4":"1397174095","file5":"1397174098","file3":"1397174092"},"map_files_photo_id_array":[{"photo_id":"1397174098","filename":"file5"},{"photo_id":"1397174089","filename":"file2"},{"photo_id":"1397174095","filename":"file4"},{"photo_id":"1397174086","filename":"file1"},{"photo_id":"1397174083","filename":"file0"},{"photo_id":"1397174092","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397174098":["hashtag1","hashtag2"]},{"1397174092":["hashtag1","hashtag2"]},{"1397174086":["hashtag1","hashtag2"]},{"1397174095":["hashtag1","hashtag2"]},{"1397174089":["hashtag1","hashtag2"]},{"1397174083":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397174098, 1397174092, 1397174086, 1397174095, 1397174089, 1397174083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.239612340927124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 08:26:22.715790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/24/image_01122025_08_24_54_9591.jpg', '/home/pi/Desktop/images/01122025/08/24/image_01122025_08_25_04_9783.jpg', '/home/pi/Desktop/images/01122025/08/25/image_01122025_08_25_15_10669.jpg', '/home/pi/Desktop/images/01122025/08/25/image_01122025_08_25_24_9578.jpg', '/home/pi/Desktop/images/01122025/08/25/image_01122025_08_25_34_9807.jpg', '/home/pi/Desktop/images/01122025/08/25/image_01122025_08_25_45_10561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/24/image_01122025_08_24_54_9591.jpg
/home/pi/Desktop/images/01122025/08/24/image_01122025_08_25_04_9783.jpg
/home/pi/Desktop/images/01122025/08/25/image_01122025_08_25_15_10669.jpg
/home/pi/Desktop/images/01122025/08/25/image_01122025_08_25_24_9578.jpg
/home/pi/Desktop/images/01122025/08/25/image_01122025_08_25_34_9807.jpg
/home/pi/Desktop/images/01122025/08/25/image_01122025_08_25_45_10561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397174123","1397174132","1397174113","1397174130","1397174127","1397174118"],"photo_ids_order":["1397174113","1397174118","1397174123","1397174127","1397174130","1397174132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2a3fae6bd74a1b4f16f87f579f4d8525.jpg","text":"TemporaryFile(/tmp/multipartBody4991752020598560687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574043473,"filename":"image_01122025_08_25_15_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/74781b2ac2ce6e00fe483c108dddd653.jpg","text":"TemporaryFile(/tmp/multipartBody994308670377352416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574043473,"filename":"image_01122025_08_25_45_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/1/ca7db449a59e80c4dcd225ce5aaf2d85.jpg","text":"TemporaryFile(/tmp/multipartBody4536510566487906777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574043473,"filename":"image_01122025_08_24_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/1/196702a23a8a7aca003cf2020f64384d.jpg","text":"TemporaryFile(/tmp/multipartBody1044040472775311008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574043473,"filename":"image_01122025_08_25_34_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9ffc0ab168309732f8e862ab9efaaf4f.jpg","text":"TemporaryFile(/tmp/multipartBody6364512432231851009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574043473,"filename":"image_01122025_08_25_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/1/f32a06505c717978e7c2f88858bf4f57.jpg","text":"TemporaryFile(/tmp/multipartBody1661473276439129183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574043473,"filename":"image_01122025_08_25_04_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397174123","file1":"1397174118","file0":"1397174113","file4":"1397174130","file5":"1397174132","file3":"1397174127"},"map_files_photo_id_array":[{"photo_id":"1397174132","filename":"file5"},{"photo_id":"1397174123","filename":"file2"},{"photo_id":"1397174130","filename":"file4"},{"photo_id":"1397174118","filename":"file1"},{"photo_id":"1397174113","filename":"file0"},{"photo_id":"1397174127","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397174123":["hashtag1","hashtag2"]},{"1397174132":["hashtag1","hashtag2"]},{"1397174113":["hashtag1","hashtag2"]},{"1397174130":["hashtag1","hashtag2"]},{"1397174127":["hashtag1","hashtag2"]},{"1397174118":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397174123, 1397174132, 1397174113, 1397174130, 1397174127, 1397174118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.078826904296875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:27:02.568890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/25/image_01122025_08_25_54_9660.jpg', '/home/pi/Desktop/images/01122025/08/25/image_01122025_08_26_04_9702.jpg', '/home/pi/Desktop/images/01122025/08/26/image_01122025_08_26_14_9825.jpg', '/home/pi/Desktop/images/01122025/08/26/image_01122025_08_26_25_10671.jpg', '/home/pi/Desktop/images/01122025/08/26/image_01122025_08_26_34_9900.jpg', '/home/pi/Desktop/images/01122025/08/26/image_01122025_08_26_44_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/25/image_01122025_08_25_54_9660.jpg
/home/pi/Desktop/images/01122025/08/25/image_01122025_08_26_04_9702.jpg
/home/pi/Desktop/images/01122025/08/26/image_01122025_08_26_14_9825.jpg
/home/pi/Desktop/images/01122025/08/26/image_01122025_08_26_25_10671.jpg
/home/pi/Desktop/images/01122025/08/26/image_01122025_08_26_34_9900.jpg
/home/pi/Desktop/images/01122025/08/26/image_01122025_08_26_44_9769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397174138","1397174135","1397174152","1397174134","1397174157","1397174142"],"photo_ids_order":["1397174134","1397174135","1397174138","1397174142","1397174152","1397174157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b807733774f74d733bee06d72daf0c9c.jpg","text":"TemporaryFile(/tmp/multipartBody5540995559570596892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574083347,"filename":"image_01122025_08_26_14_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/1/1b60d2a5693620784af2f7e0b51787a0.jpg","text":"TemporaryFile(/tmp/multipartBody4546550051283148885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574083347,"filename":"image_01122025_08_26_04_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3ec9fe739a0547fabf60950f4c23bc2b.jpg","text":"TemporaryFile(/tmp/multipartBody1774467849126728223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574083347,"filename":"image_01122025_08_26_34_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/1/1faa8d5c2c988fd5c4e51218ee4ee5bf.jpg","text":"TemporaryFile(/tmp/multipartBody7829979671740389993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574083347,"filename":"image_01122025_08_25_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/1/82fc4daf31bc12fccb489d210571cb40.jpg","text":"TemporaryFile(/tmp/multipartBody6337176679611850343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574083347,"filename":"image_01122025_08_26_44_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4788c62558da0125bde302eab0dd3b95.jpg","text":"TemporaryFile(/tmp/multipartBody7121272978276079189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574083347,"filename":"image_01122025_08_26_25_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397174138","file1":"1397174135","file0":"1397174134","file4":"1397174152","file5":"1397174157","file3":"1397174142"},"map_files_photo_id_array":[{"photo_id":"1397174157","filename":"file5"},{"photo_id":"1397174138","filename":"file2"},{"photo_id":"1397174152","filename":"file4"},{"photo_id":"1397174135","filename":"file1"},{"photo_id":"1397174134","filename":"file0"},{"photo_id":"1397174142","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397174138":["hashtag1","hashtag2"]},{"1397174135":["hashtag1","hashtag2"]},{"1397174152":["hashtag1","hashtag2"]},{"1397174134":["hashtag1","hashtag2"]},{"1397174157":["hashtag1","hashtag2"]},{"1397174142":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397174138, 1397174135, 1397174152, 1397174134, 1397174157, 1397174142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.53291320800781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 08:27:42.114105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/07/image_01112025_01_07_51_3587.jpg', '/home/pi/Desktop/images/01112025/01/07/image_01112025_01_07_54_2596.jpg', '/home/pi/Desktop/images/01112025/01/07/image_01112025_01_08_00_3625.jpg', '/home/pi/Desktop/images/01112025/01/08/image_01112025_01_08_03_2879.jpg', '/home/pi/Desktop/images/01112025/01/08/image_01112025_01_08_06_2711.jpg', '/home/pi/Desktop/images/01112025/01/08/image_01112025_01_08_13_4990.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/07/image_01112025_01_07_51_3587.jpg
/home/pi/Desktop/images/01112025/01/07/image_01112025_01_07_54_2596.jpg
/home/pi/Desktop/images/01112025/01/07/image_01112025_01_08_00_3625.jpg
/home/pi/Desktop/images/01112025/01/08/image_01112025_01_08_03_2879.jpg
/home/pi/Desktop/images/01112025/01/08/image_01112025_01_08_06_2711.jpg
/home/pi/Desktop/images/01112025/01/08/image_01112025_01_08_13_4990.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397174164","1397174188","1397174176","1397174190","1397174187","1397174189"],"photo_ids_order":["1397174164","1397174176","1397174187","1397174188","1397174189","1397174190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/96bfab50c69a14e7c2ba124666abe8a1.jpg","text":"TemporaryFile(/tmp/multipartBody4683650462169909333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574122837,"filename":"image_01112025_01_07_51_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/1/79f75fe8ce079995687613e1c8cbd4ac.jpg","text":"TemporaryFile(/tmp/multipartBody5372883144528364677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574122837,"filename":"image_01112025_01_08_03_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/1/92bf170e95a9226b2f9ee2d09cfdab7f.jpg","text":"TemporaryFile(/tmp/multipartBody504629286657750787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574122837,"filename":"image_01112025_01_07_54_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0370bc31e689b7a3cd82fcc9dcd0a5db.jpg","text":"TemporaryFile(/tmp/multipartBody8484740273119606773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574122837,"filename":"image_01112025_01_08_13_4990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b3f0d6e35649b3639636d93a9dbcb69e.jpg","text":"TemporaryFile(/tmp/multipartBody8624997219399183150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574122837,"filename":"image_01112025_01_08_00_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/1/76f8962a11de3cd3a3b0a9f281d9688e.jpg","text":"TemporaryFile(/tmp/multipartBody5960775267013370361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574122837,"filename":"image_01112025_01_08_06_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397174187","file1":"1397174176","file0":"1397174164","file4":"1397174189","file5":"1397174190","file3":"1397174188"},"map_files_photo_id_array":[{"photo_id":"1397174190","filename":"file5"},{"photo_id":"1397174187","filename":"file2"},{"photo_id":"1397174189","filename":"file4"},{"photo_id":"1397174176","filename":"file1"},{"photo_id":"1397174164","filename":"file0"},{"photo_id":"1397174188","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397174164":["hashtag1","hashtag2"]},{"1397174188":["hashtag1","hashtag2"]},{"1397174176":["hashtag1","hashtag2"]},{"1397174190":["hashtag1","hashtag2"]},{"1397174187":["hashtag1","hashtag2"]},{"1397174189":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397174164, 1397174188, 1397174176, 1397174190, 1397174187, 1397174189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41755032539368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 08:28:22.274357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/26/image_01122025_08_26_54_9749.jpg', '/home/pi/Desktop/images/01122025/08/27/image_01122025_08_27_14_9637.jpg', '/home/pi/Desktop/images/01122025/08/27/image_01122025_08_27_24_9734.jpg', '/home/pi/Desktop/images/01122025/08/27/image_01122025_08_27_35_10702.jpg', '/home/pi/Desktop/images/01122025/08/27/image_01122025_08_27_44_9696.jpg', '/home/pi/Desktop/images/01122025/08/27/image_01122025_08_27_54_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/26/image_01122025_08_26_54_9749.jpg
/home/pi/Desktop/images/01122025/08/27/image_01122025_08_27_14_9637.jpg
/home/pi/Desktop/images/01122025/08/27/image_01122025_08_27_24_9734.jpg
/home/pi/Desktop/images/01122025/08/27/image_01122025_08_27_35_10702.jpg
/home/pi/Desktop/images/01122025/08/27/image_01122025_08_27_44_9696.jpg
/home/pi/Desktop/images/01122025/08/27/image_01122025_08_27_54_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397174213","1397174207","1397174220","1397174198","1397174202","1397174205"],"photo_ids_order":["1397174198","1397174202","1397174205","1397174207","1397174213","1397174220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f5107f12797756d4aa1d61998f4f3a07.jpg","text":"TemporaryFile(/tmp/multipartBody1906044764031994562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574163076,"filename":"image_01122025_08_27_44_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/640406dc5b94ac7abf1cc40fc7967c7e.jpg","text":"TemporaryFile(/tmp/multipartBody8823920128743011360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574163076,"filename":"image_01122025_08_27_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/1/7046a5ef0dfe2093a4eb5aa59cc035e8.jpg","text":"TemporaryFile(/tmp/multipartBody1838935361781230929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574163076,"filename":"image_01122025_08_27_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/1/14680bc2233fb4dd4f42cbbfe8a610cf.jpg","text":"TemporaryFile(/tmp/multipartBody4992325223712887614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574163076,"filename":"image_01122025_08_26_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/1/450d8f4d1bcb9e4ce070fb4aaf171c2a.jpg","text":"TemporaryFile(/tmp/multipartBody3062153650477649987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574163076,"filename":"image_01122025_08_27_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/1/ecae0eaecc3d8eb481822d610eebd7c3.jpg","text":"TemporaryFile(/tmp/multipartBody996537898644741880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574163076,"filename":"image_01122025_08_27_24_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397174205","file1":"1397174202","file0":"1397174198","file4":"1397174213","file5":"1397174220","file3":"1397174207"},"map_files_photo_id_array":[{"photo_id":"1397174220","filename":"file5"},{"photo_id":"1397174205","filename":"file2"},{"photo_id":"1397174213","filename":"file4"},{"photo_id":"1397174202","filename":"file1"},{"photo_id":"1397174198","filename":"file0"},{"photo_id":"1397174207","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397174213":["hashtag1","hashtag2"]},{"1397174207":["hashtag1","hashtag2"]},{"1397174220":["hashtag1","hashtag2"]},{"1397174198":["hashtag1","hashtag2"]},{"1397174202":["hashtag1","hashtag2"]},{"1397174205":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397174213, 1397174207, 1397174220, 1397174198, 1397174202, 1397174205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08458948135376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:29:03.726010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/27/image_01122025_08_28_04_9834.jpg', '/home/pi/Desktop/images/01122025/08/28/image_01122025_08_28_15_10766.jpg', '/home/pi/Desktop/images/01122025/08/28/image_01122025_08_28_24_9718.jpg', '/home/pi/Desktop/images/01122025/08/28/image_01122025_08_28_45_10760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/27/image_01122025_08_28_04_9834.jpg
/home/pi/Desktop/images/01122025/08/28/image_01122025_08_28_15_10766.jpg
/home/pi/Desktop/images/01122025/08/28/image_01122025_08_28_24_9718.jpg
/home/pi/Desktop/images/01122025/08/28/image_01122025_08_28_45_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":["1397174231","1397174234","1397174228","1397174236"],"photo_ids_order":["1397174228","1397174231","1397174234","1397174236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e0524b1a57f67377bf6a256de68d79dd.jpg","text":"TemporaryFile(/tmp/multipartBody5470108605276185540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574204538,"filename":"image_01122025_08_28_15_10766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b25814083959c5a73db6e5c187c5fcff.jpg","text":"TemporaryFile(/tmp/multipartBody3857966046469357831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574204538,"filename":"image_01122025_08_28_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/1/96e9d70f6790b0670f643c5a0ebca0a2.jpg","text":"TemporaryFile(/tmp/multipartBody6372901333075025836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574204538,"filename":"image_01122025_08_28_04_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/1/5c547bfbeb96ca3d0ed3d806c7321a99.jpg","text":"TemporaryFile(/tmp/multipartBody1381017267188141421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574204538,"filename":"image_01122025_08_28_45_10760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397174234","file1":"1397174231","file0":"1397174228","file3":"1397174236"},"map_files_photo_id_array":[{"photo_id":"1397174234","filename":"file2"},{"photo_id":"1397174231","filename":"file1"},{"photo_id":"1397174228","filename":"file0"},{"photo_id":"1397174236","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397174231":["hashtag1","hashtag2"]},{"1397174234":["hashtag1","hashtag2"]},{"1397174228":["hashtag1","hashtag2"]},{"1397174236":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397174231, 1397174234, 1397174228, 1397174236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.496851444244385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 08:29:32.642677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_28_2572.jpg', '/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_30_2622.jpg', '/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_33_2691.jpg', '/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_36_2879.jpg', '/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_39_3564.jpg', '/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_42_2798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_28_2572.jpg
/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_30_2622.jpg
/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_33_2691.jpg
/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_36_2879.jpg
/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_39_3564.jpg
/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_42_2798.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397174261","1397174264","1397174258","1397174252","1397174263","1397174248"],"photo_ids_order":["1397174248","1397174252","1397174258","1397174261","1397174263","1397174264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8c442bab0d8e84df59cba7043cb640d8.jpg","text":"TemporaryFile(/tmp/multipartBody828226788196073220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574234359,"filename":"image_25112025_22_14_36_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/1/bb68406c87b1d729c72f78a5fc227c00.jpg","text":"TemporaryFile(/tmp/multipartBody5117654615719815112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574234359,"filename":"image_25112025_22_14_42_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/24fc8a9a8d138c0983f868a83cff37fc.jpg","text":"TemporaryFile(/tmp/multipartBody5043952139660874016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574234359,"filename":"image_25112025_22_14_33_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/1/1dddf7f4f8a8252a1e3f19528877868e.jpg","text":"TemporaryFile(/tmp/multipartBody3948929260970266015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574234359,"filename":"image_25112025_22_14_30_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/1/6160796d42040533d3b2047e087cd0e3.jpg","text":"TemporaryFile(/tmp/multipartBody8494592903502455490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574234359,"filename":"image_25112025_22_14_39_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/1/4906828463b1b06a614867aeee2add7a.jpg","text":"TemporaryFile(/tmp/multipartBody7508279909203392104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574234359,"filename":"image_25112025_22_14_28_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397174258","file1":"1397174252","file0":"1397174248","file4":"1397174263","file5":"1397174264","file3":"1397174261"},"map_files_photo_id_array":[{"photo_id":"1397174264","filename":"file5"},{"photo_id":"1397174258","filename":"file2"},{"photo_id":"1397174263","filename":"file4"},{"photo_id":"1397174252","filename":"file1"},{"photo_id":"1397174248","filename":"file0"},{"photo_id":"1397174261","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397174261":["hashtag1","hashtag2"]},{"1397174264":["hashtag1","hashtag2"]},{"1397174258":["hashtag1","hashtag2"]},{"1397174252":["hashtag1","hashtag2"]},{"1397174263":["hashtag1","hashtag2"]},{"1397174248":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397174261, 1397174264, 1397174258, 1397174252, 1397174263, 1397174248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57916450500488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 08:30:12.629641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_45_2612.jpg', '/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_48_3613.jpg', '/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_51_2528.jpg', '/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_55_3660.jpg', '/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_57_2709.jpg', '/home/pi/Desktop/images/25112025/22/14/image_25112025_22_15_00_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_45_2612.jpg
/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_48_3613.jpg
/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_51_2528.jpg
/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_55_3660.jpg
/home/pi/Desktop/images/25112025/22/14/image_25112025_22_14_57_2709.jpg
/home/pi/Desktop/images/25112025/22/14/image_25112025_22_15_00_2686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397174282","1397174296","1397174300","1397174283","1397174307","1397174304"],"photo_ids_order":["1397174282","1397174283","1397174296","1397174300","1397174304","1397174307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/06ef6919c46f3ea23e067b75e631c7d0.jpg","text":"TemporaryFile(/tmp/multipartBody6371014549249162861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574274253,"filename":"image_25112025_22_14_45_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/1/4ad322c78b7f93232942e82b034df31a.jpg","text":"TemporaryFile(/tmp/multipartBody7252136130182734822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574274253,"filename":"image_25112025_22_14_51_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/1/e94c374dfb0919eb0aac795b21072900.jpg","text":"TemporaryFile(/tmp/multipartBody5175822130047496925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574274253,"filename":"image_25112025_22_14_55_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b39aa06ec4531df4b36545f25f759ac7.jpg","text":"TemporaryFile(/tmp/multipartBody2624215067035462901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574274253,"filename":"image_25112025_22_14_48_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/1/fa8e45e603374cfd3c48ec8a3c19b5b6.jpg","text":"TemporaryFile(/tmp/multipartBody391853296301037680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574274253,"filename":"image_25112025_22_15_00_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/1/06c0b1827b8733f5e8058f19a378a52a.jpg","text":"TemporaryFile(/tmp/multipartBody7672751978910197347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574274253,"filename":"image_25112025_22_14_57_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397174296","file1":"1397174283","file0":"1397174282","file4":"1397174304","file5":"1397174307","file3":"1397174300"},"map_files_photo_id_array":[{"photo_id":"1397174307","filename":"file5"},{"photo_id":"1397174296","filename":"file2"},{"photo_id":"1397174304","filename":"file4"},{"photo_id":"1397174283","filename":"file1"},{"photo_id":"1397174282","filename":"file0"},{"photo_id":"1397174300","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397174282":["hashtag1","hashtag2"]},{"1397174296":["hashtag1","hashtag2"]},{"1397174300":["hashtag1","hashtag2"]},{"1397174283":["hashtag1","hashtag2"]},{"1397174307":["hashtag1","hashtag2"]},{"1397174304":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397174282, 1397174296, 1397174300, 1397174283, 1397174307, 1397174304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56546139717102 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:31:02.696353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/28/image_01122025_08_28_55_9732.jpg', '/home/pi/Desktop/images/01122025/08/28/image_01122025_08_29_04_9797.jpg', '/home/pi/Desktop/images/01122025/08/29/image_01122025_08_29_14_9727.jpg', '/home/pi/Desktop/images/01122025/08/29/image_01122025_08_29_24_9782.jpg', '/home/pi/Desktop/images/01122025/08/29/image_01122025_08_29_35_10843.jpg', '/home/pi/Desktop/images/01122025/08/29/image_01122025_08_29_44_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/28/image_01122025_08_28_55_9732.jpg
/home/pi/Desktop/images/01122025/08/28/image_01122025_08_29_04_9797.jpg
/home/pi/Desktop/images/01122025/08/29/image_01122025_08_29_14_9727.jpg
/home/pi/Desktop/images/01122025/08/29/image_01122025_08_29_24_9782.jpg
/home/pi/Desktop/images/01122025/08/29/image_01122025_08_29_35_10843.jpg
/home/pi/Desktop/images/01122025/08/29/image_01122025_08_29_44_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":["1397174380","1397174377","1397174368","1397174373","1397174370","1397174352"],"photo_ids_order":["1397174352","1397174368","1397174370","1397174373","1397174377","1397174380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8d9ec6d873e9b9500b750676ade9d1e9.jpg","text":"TemporaryFile(/tmp/multipartBody6527195013964358094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574323489,"filename":"image_01122025_08_29_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/1/86750e289e0b04e5e76973422a53c694.jpg","text":"TemporaryFile(/tmp/multipartBody6388510632003692459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574323489,"filename":"image_01122025_08_29_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/1/ffb5b416bbb2858efbc011ad6607942e.jpg","text":"TemporaryFile(/tmp/multipartBody311569737432785670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574323489,"filename":"image_01122025_08_29_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/1/4252d81d2dd67a70ac0d3a3057b9b734.jpg","text":"TemporaryFile(/tmp/multipartBody7858810530308991586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574323489,"filename":"image_01122025_08_29_24_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b2514fc3a40bd649e2358724a75352f6.jpg","text":"TemporaryFile(/tmp/multipartBody9117054955322277478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574323489,"filename":"image_01122025_08_29_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/1/d64fe1793a2c02f014dfa66330b8dc15.jpg","text":"TemporaryFile(/tmp/multipartBody2215713569079708170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574323489,"filename":"image_01122025_08_28_55_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397174370","file1":"1397174368","file0":"1397174352","file4":"1397174377","file5":"1397174380","file3":"1397174373"},"map_files_photo_id_array":[{"photo_id":"1397174380","filename":"file5"},{"photo_id":"1397174370","filename":"file2"},{"photo_id":"1397174377","filename":"file4"},{"photo_id":"1397174368","filename":"file1"},{"photo_id":"1397174352","filename":"file0"},{"photo_id":"1397174373","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397174380":["hashtag1","hashtag2"]},{"1397174377":["hashtag1","hashtag2"]},{"1397174368":["hashtag1","hashtag2"]},{"1397174373":["hashtag1","hashtag2"]},{"1397174370":["hashtag1","hashtag2"]},{"1397174352":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397174380, 1397174377, 1397174368, 1397174373, 1397174370, 1397174352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.3875367641449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 08:31:41.967918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/08/image_01112025_01_08_20_2633.jpg', '/home/pi/Desktop/images/01112025/01/08/image_01112025_01_08_23_2768.jpg', '/home/pi/Desktop/images/01112025/01/08/image_01112025_01_08_27_3672.jpg', '/home/pi/Desktop/images/01112025/01/08/image_01112025_01_08_30_2804.jpg', '/home/pi/Desktop/images/01112025/01/08/image_01112025_01_08_32_2776.jpg', '/home/pi/Desktop/images/01112025/01/08/image_01112025_01_08_36_3659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/08/image_01112025_01_08_20_2633.jpg
/home/pi/Desktop/images/01112025/01/08/image_01112025_01_08_23_2768.jpg
/home/pi/Desktop/images/01112025/01/08/image_01112025_01_08_27_3672.jpg
/home/pi/Desktop/images/01112025/01/08/image_01112025_01_08_30_2804.jpg
/home/pi/Desktop/images/01112025/01/08/image_01112025_01_08_32_2776.jpg
/home/pi/Desktop/images/01112025/01/08/image_01112025_01_08_36_3659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397174395","1397174392","1397174391","1397174394","1397174393","1397174387"],"photo_ids_order":["1397174387","1397174391","1397174392","1397174393","1397174394","1397174395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/31a1597122925ba223a6fae5e8dfbae7.jpg","text":"TemporaryFile(/tmp/multipartBody3132971233333528185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574362912,"filename":"image_01112025_01_08_36_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/1/6a7e62c30203d764c66159dbbbdfd924.jpg","text":"TemporaryFile(/tmp/multipartBody7315032086309435854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574362912,"filename":"image_01112025_01_08_27_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/1/929942f610c42541749bffacab9d09a9.jpg","text":"TemporaryFile(/tmp/multipartBody3369343318558662341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574362912,"filename":"image_01112025_01_08_23_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/1/a10ed215f1e3ff5eb34b7963b9ef3ba1.jpg","text":"TemporaryFile(/tmp/multipartBody2875926851230341119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574362912,"filename":"image_01112025_01_08_32_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/1/bf12acc640b16d68d5079be5d153d68c.jpg","text":"TemporaryFile(/tmp/multipartBody248215458867786389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574362912,"filename":"image_01112025_01_08_30_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e009964d18a892aef81f3b9425b68c8e.jpg","text":"TemporaryFile(/tmp/multipartBody8056045564640689749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574362912,"filename":"image_01112025_01_08_20_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397174392","file1":"1397174391","file0":"1397174387","file4":"1397174394","file5":"1397174395","file3":"1397174393"},"map_files_photo_id_array":[{"photo_id":"1397174395","filename":"file5"},{"photo_id":"1397174392","filename":"file2"},{"photo_id":"1397174394","filename":"file4"},{"photo_id":"1397174391","filename":"file1"},{"photo_id":"1397174387","filename":"file0"},{"photo_id":"1397174393","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397174395":["hashtag1","hashtag2"]},{"1397174392":["hashtag1","hashtag2"]},{"1397174391":["hashtag1","hashtag2"]},{"1397174394":["hashtag1","hashtag2"]},{"1397174393":["hashtag1","hashtag2"]},{"1397174387":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397174395, 1397174392, 1397174391, 1397174394, 1397174393, 1397174387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.41578197479248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 08:32:22.165469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/29/image_01122025_08_29_54_9875.jpg', '/home/pi/Desktop/images/01122025/08/30/image_01122025_08_30_25_10615.jpg', '/home/pi/Desktop/images/01122025/08/30/image_01122025_08_30_35_9600.jpg', '/home/pi/Desktop/images/01122025/08/30/image_01122025_08_30_46_10703.jpg', '/home/pi/Desktop/images/01122025/08/30/image_01122025_08_30_55_9719.jpg', '/home/pi/Desktop/images/01122025/08/31/image_01122025_08_31_25_9853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/29/image_01122025_08_29_54_9875.jpg
/home/pi/Desktop/images/01122025/08/30/image_01122025_08_30_25_10615.jpg
/home/pi/Desktop/images/01122025/08/30/image_01122025_08_30_35_9600.jpg
/home/pi/Desktop/images/01122025/08/30/image_01122025_08_30_46_10703.jpg
/home/pi/Desktop/images/01122025/08/30/image_01122025_08_30_55_9719.jpg
/home/pi/Desktop/images/01122025/08/31/image_01122025_08_31_25_9853.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397174420","1397174402","1397174405","1397174413","1397174407","1397174416"],"photo_ids_order":["1397174402","1397174405","1397174407","1397174413","1397174416","1397174420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d7f92169c6a6a4aea61d693a5a9c9655.jpg","text":"TemporaryFile(/tmp/multipartBody1831479091611922564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574402914,"filename":"image_01122025_08_31_25_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/1/cb18618e7ca4ca9f3164a68cf942dbb4.jpg","text":"TemporaryFile(/tmp/multipartBody6913703939736382706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574402914,"filename":"image_01122025_08_29_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/1/a0a09d9768b10271855b16bce1056faa.jpg","text":"TemporaryFile(/tmp/multipartBody2895482318602689850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574402914,"filename":"image_01122025_08_30_25_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ab733856a26cc26a1a1eefc21c2b1f51.jpg","text":"TemporaryFile(/tmp/multipartBody7283203274752304343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574402914,"filename":"image_01122025_08_30_46_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/1/752e6d84bf34789106bd5a13adf1fcc2.jpg","text":"TemporaryFile(/tmp/multipartBody797232628144062504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574402914,"filename":"image_01122025_08_30_35_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/daa34dd3f1aa45969301033289713c04.jpg","text":"TemporaryFile(/tmp/multipartBody5615374382844926605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574402914,"filename":"image_01122025_08_30_55_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397174407","file1":"1397174405","file0":"1397174402","file4":"1397174416","file5":"1397174420","file3":"1397174413"},"map_files_photo_id_array":[{"photo_id":"1397174420","filename":"file5"},{"photo_id":"1397174407","filename":"file2"},{"photo_id":"1397174416","filename":"file4"},{"photo_id":"1397174405","filename":"file1"},{"photo_id":"1397174402","filename":"file0"},{"photo_id":"1397174413","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397174420":["hashtag1","hashtag2"]},{"1397174402":["hashtag1","hashtag2"]},{"1397174405":["hashtag1","hashtag2"]},{"1397174413":["hashtag1","hashtag2"]},{"1397174407":["hashtag1","hashtag2"]},{"1397174416":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397174420, 1397174402, 1397174405, 1397174413, 1397174407, 1397174416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32172966003418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:33:02.797499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/31/image_01122025_08_31_35_10730.jpg', '/home/pi/Desktop/images/01122025/08/31/image_01122025_08_31_45_9887.jpg', '/home/pi/Desktop/images/01122025/08/31/image_01122025_08_31_55_9779.jpg', '/home/pi/Desktop/images/01122025/08/31/image_01122025_08_32_05_9761.jpg', '/home/pi/Desktop/images/01122025/08/32/image_01122025_08_32_16_10693.jpg', '/home/pi/Desktop/images/01122025/08/32/image_01122025_08_32_25_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/31/image_01122025_08_31_35_10730.jpg
/home/pi/Desktop/images/01122025/08/31/image_01122025_08_31_45_9887.jpg
/home/pi/Desktop/images/01122025/08/31/image_01122025_08_31_55_9779.jpg
/home/pi/Desktop/images/01122025/08/31/image_01122025_08_32_05_9761.jpg
/home/pi/Desktop/images/01122025/08/32/image_01122025_08_32_16_10693.jpg
/home/pi/Desktop/images/01122025/08/32/image_01122025_08_32_25_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":["1397174423","1397174431","1397174425","1397174428","1397174436","1397174421"],"photo_ids_order":["1397174421","1397174423","1397174425","1397174428","1397174431","1397174436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ee49f87cd0107c43339e74427eedd047.jpg","text":"TemporaryFile(/tmp/multipartBody5045559179493597392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574443595,"filename":"image_01122025_08_31_45_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ada9e067c59da95ac99254a330438afa.jpg","text":"TemporaryFile(/tmp/multipartBody6790232882371753046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574443595,"filename":"image_01122025_08_32_16_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c9febf6ec51b5494360f2e8137e6bda0.jpg","text":"TemporaryFile(/tmp/multipartBody6226723195460078643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574443595,"filename":"image_01122025_08_31_55_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/506b428dd34ab5fc8a8bcce9a0124b27.jpg","text":"TemporaryFile(/tmp/multipartBody1516858508970454419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574443595,"filename":"image_01122025_08_32_05_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/be0fec12152c8f26172b553ae6799638.jpg","text":"TemporaryFile(/tmp/multipartBody1431565028142173676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574443595,"filename":"image_01122025_08_32_25_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d0035d04c2a8c5eb419de2a7acbaa0e2.jpg","text":"TemporaryFile(/tmp/multipartBody3474482129055605768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574443595,"filename":"image_01122025_08_31_35_10730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397174425","file1":"1397174423","file0":"1397174421","file4":"1397174431","file5":"1397174436","file3":"1397174428"},"map_files_photo_id_array":[{"photo_id":"1397174436","filename":"file5"},{"photo_id":"1397174425","filename":"file2"},{"photo_id":"1397174431","filename":"file4"},{"photo_id":"1397174423","filename":"file1"},{"photo_id":"1397174421","filename":"file0"},{"photo_id":"1397174428","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397174423":["hashtag1","hashtag2"]},{"1397174431":["hashtag1","hashtag2"]},{"1397174425":["hashtag1","hashtag2"]},{"1397174428":["hashtag1","hashtag2"]},{"1397174436":["hashtag1","hashtag2"]},{"1397174421":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397174423, 1397174431, 1397174425, 1397174428, 1397174436, 1397174421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26601052284241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 08:33:42.332657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/08/image_01112025_01_08_57_3698.jpg', '/home/pi/Desktop/images/01112025/01/09/image_01112025_01_09_02_2760.jpg', '/home/pi/Desktop/images/01112025/01/09/image_01112025_01_09_05_2737.jpg', '/home/pi/Desktop/images/01112025/01/09/image_01112025_01_09_09_3649.jpg', '/home/pi/Desktop/images/01112025/01/09/image_01112025_01_09_11_2616.jpg', '/home/pi/Desktop/images/01112025/01/09/image_01112025_01_09_14_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/08/image_01112025_01_08_57_3698.jpg
/home/pi/Desktop/images/01112025/01/09/image_01112025_01_09_02_2760.jpg
/home/pi/Desktop/images/01112025/01/09/image_01112025_01_09_05_2737.jpg
/home/pi/Desktop/images/01112025/01/09/image_01112025_01_09_09_3649.jpg
/home/pi/Desktop/images/01112025/01/09/image_01112025_01_09_11_2616.jpg
/home/pi/Desktop/images/01112025/01/09/image_01112025_01_09_14_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":["1397174447","1397174444","1397174464","1397174455","1397174449","1397174448"],"photo_ids_order":["1397174444","1397174447","1397174448","1397174449","1397174455","1397174464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0b8c8664dea750505e20128de2df1cd4.jpg","text":"TemporaryFile(/tmp/multipartBody641391046751178496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574483188,"filename":"image_01112025_01_09_02_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2077a78a35d4437d8f4c4ff0cbfe30e8.jpg","text":"TemporaryFile(/tmp/multipartBody386171237336401984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574483188,"filename":"image_01112025_01_08_57_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f0b2c5beab45a385ce1bc454268ed7e2.jpg","text":"TemporaryFile(/tmp/multipartBody2602821142934725014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574483188,"filename":"image_01112025_01_09_14_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/1/cf04de0c9f198c8f5e30e97a015cecae.jpg","text":"TemporaryFile(/tmp/multipartBody5914590118452161250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574483188,"filename":"image_01112025_01_09_11_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/548fcc59ccdf253b21732ffd3d381f58.jpg","text":"TemporaryFile(/tmp/multipartBody103804086369752610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574483188,"filename":"image_01112025_01_09_09_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/1/816055223a1b6fe2eed149487e0668df.jpg","text":"TemporaryFile(/tmp/multipartBody2295375503290409619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574483188,"filename":"image_01112025_01_09_05_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397174448","file1":"1397174447","file0":"1397174444","file4":"1397174455","file5":"1397174464","file3":"1397174449"},"map_files_photo_id_array":[{"photo_id":"1397174464","filename":"file5"},{"photo_id":"1397174448","filename":"file2"},{"photo_id":"1397174455","filename":"file4"},{"photo_id":"1397174447","filename":"file1"},{"photo_id":"1397174444","filename":"file0"},{"photo_id":"1397174449","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397174447":["hashtag1","hashtag2"]},{"1397174444":["hashtag1","hashtag2"]},{"1397174464":["hashtag1","hashtag2"]},{"1397174455":["hashtag1","hashtag2"]},{"1397174449":["hashtag1","hashtag2"]},{"1397174448":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397174447, 1397174444, 1397174464, 1397174455, 1397174449, 1397174448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3941171169281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 08:34:22.524158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/32/image_01122025_08_32_35_9857.jpg', '/home/pi/Desktop/images/01122025/08/32/image_01122025_08_32_45_9727.jpg', '/home/pi/Desktop/images/01122025/08/32/image_01122025_08_33_05_9650.jpg', '/home/pi/Desktop/images/01122025/08/33/image_01122025_08_33_15_9628.jpg', '/home/pi/Desktop/images/01122025/08/33/image_01122025_08_33_25_10663.jpg', '/home/pi/Desktop/images/01122025/08/33/image_01122025_08_33_35_9834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/32/image_01122025_08_32_35_9857.jpg
/home/pi/Desktop/images/01122025/08/32/image_01122025_08_32_45_9727.jpg
/home/pi/Desktop/images/01122025/08/32/image_01122025_08_33_05_9650.jpg
/home/pi/Desktop/images/01122025/08/33/image_01122025_08_33_15_9628.jpg
/home/pi/Desktop/images/01122025/08/33/image_01122025_08_33_25_10663.jpg
/home/pi/Desktop/images/01122025/08/33/image_01122025_08_33_35_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":["1397174484","1397174487","1397174472","1397174481","1397174475","1397174478"],"photo_ids_order":["1397174472","1397174475","1397174478","1397174481","1397174484","1397174487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e51cb8d88d5a7af87d2481d991d01d93.jpg","text":"TemporaryFile(/tmp/multipartBody357954564223140757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574523282,"filename":"image_01122025_08_33_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/1/473d74cb10333f0ce111ff95ac450eca.jpg","text":"TemporaryFile(/tmp/multipartBody4668123803855099580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574523282,"filename":"image_01122025_08_33_35_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5626bbd0bda4524a08a5fe72287d56fe.jpg","text":"TemporaryFile(/tmp/multipartBody7581011418826112864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574523282,"filename":"image_01122025_08_32_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/1/b3a24b804e4ff2331a4f8ff8dd0d5a58.jpg","text":"TemporaryFile(/tmp/multipartBody8223849688603442900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574523282,"filename":"image_01122025_08_33_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/1/b6aad56267406cddd3d5bdeefb384917.jpg","text":"TemporaryFile(/tmp/multipartBody5442872250245911689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574523282,"filename":"image_01122025_08_32_45_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/1/a353deb0d8a4c26764d70b736e6fca4b.jpg","text":"TemporaryFile(/tmp/multipartBody1065113110213701976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574523282,"filename":"image_01122025_08_33_05_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397174478","file1":"1397174475","file0":"1397174472","file4":"1397174484","file5":"1397174487","file3":"1397174481"},"map_files_photo_id_array":[{"photo_id":"1397174487","filename":"file5"},{"photo_id":"1397174478","filename":"file2"},{"photo_id":"1397174484","filename":"file4"},{"photo_id":"1397174475","filename":"file1"},{"photo_id":"1397174472","filename":"file0"},{"photo_id":"1397174481","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397174484":["hashtag1","hashtag2"]},{"1397174487":["hashtag1","hashtag2"]},{"1397174472":["hashtag1","hashtag2"]},{"1397174481":["hashtag1","hashtag2"]},{"1397174475":["hashtag1","hashtag2"]},{"1397174478":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397174484, 1397174487, 1397174472, 1397174481, 1397174475, 1397174478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.723503828048706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:35:03.228070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/33/image_01122025_08_33_45_9806.jpg', '/home/pi/Desktop/images/01122025/08/33/image_01122025_08_33_56_10623.jpg', '/home/pi/Desktop/images/01122025/08/33/image_01122025_08_34_05_9654.jpg', '/home/pi/Desktop/images/01122025/08/34/image_01122025_08_34_15_9750.jpg', '/home/pi/Desktop/images/01122025/08/34/image_01122025_08_34_25_9743.jpg', '/home/pi/Desktop/images/01122025/08/34/image_01122025_08_34_36_10852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/33/image_01122025_08_33_45_9806.jpg
/home/pi/Desktop/images/01122025/08/33/image_01122025_08_33_56_10623.jpg
/home/pi/Desktop/images/01122025/08/33/image_01122025_08_34_05_9654.jpg
/home/pi/Desktop/images/01122025/08/34/image_01122025_08_34_15_9750.jpg
/home/pi/Desktop/images/01122025/08/34/image_01122025_08_34_25_9743.jpg
/home/pi/Desktop/images/01122025/08/34/image_01122025_08_34_36_10852.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397174488","1397174499","1397174490","1397174495","1397174502","1397174492"],"photo_ids_order":["1397174488","1397174490","1397174492","1397174495","1397174499","1397174502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3f3a82805e0441536e64a714d76c556e.jpg","text":"TemporaryFile(/tmp/multipartBody6663482974243832956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574564086,"filename":"image_01122025_08_33_45_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/91a3a7b7a358b71e538514ca76374328.jpg","text":"TemporaryFile(/tmp/multipartBody2677071705581785360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574564086,"filename":"image_01122025_08_34_25_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cf6bb5eea26d2dceece00bd177e7837a.jpg","text":"TemporaryFile(/tmp/multipartBody5475003474954502063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574564086,"filename":"image_01122025_08_33_56_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/676f953c17134445d0e9c09aaf84ed1d.jpg","text":"TemporaryFile(/tmp/multipartBody6567116947651071352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574564086,"filename":"image_01122025_08_34_15_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ccd2f0eb699247a6e8ec6a1c796d1068.jpg","text":"TemporaryFile(/tmp/multipartBody9071761901501641470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574564086,"filename":"image_01122025_08_34_36_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/1/c2fc614a9a7cf814bc16df32ba40baa0.jpg","text":"TemporaryFile(/tmp/multipartBody1384690775696838061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574564086,"filename":"image_01122025_08_34_05_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397174492","file1":"1397174490","file0":"1397174488","file4":"1397174499","file5":"1397174502","file3":"1397174495"},"map_files_photo_id_array":[{"photo_id":"1397174502","filename":"file5"},{"photo_id":"1397174492","filename":"file2"},{"photo_id":"1397174499","filename":"file4"},{"photo_id":"1397174490","filename":"file1"},{"photo_id":"1397174488","filename":"file0"},{"photo_id":"1397174495","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397174488":["hashtag1","hashtag2"]},{"1397174499":["hashtag1","hashtag2"]},{"1397174490":["hashtag1","hashtag2"]},{"1397174495":["hashtag1","hashtag2"]},{"1397174502":["hashtag1","hashtag2"]},{"1397174492":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397174488, 1397174499, 1397174490, 1397174495, 1397174502, 1397174492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49722361564636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 08:35:42.679741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/09/image_01112025_01_09_18_3757.jpg', '/home/pi/Desktop/images/01112025/01/09/image_01112025_01_09_21_2715.jpg', '/home/pi/Desktop/images/01112025/01/09/image_01112025_01_09_23_2639.jpg', '/home/pi/Desktop/images/01112025/01/09/image_01112025_01_09_27_3659.jpg', '/home/pi/Desktop/images/01112025/01/09/image_01112025_01_09_32_2700.jpg', '/home/pi/Desktop/images/01112025/01/09/image_01112025_01_09_39_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/09/image_01112025_01_09_18_3757.jpg
/home/pi/Desktop/images/01112025/01/09/image_01112025_01_09_21_2715.jpg
/home/pi/Desktop/images/01112025/01/09/image_01112025_01_09_23_2639.jpg
/home/pi/Desktop/images/01112025/01/09/image_01112025_01_09_27_3659.jpg
/home/pi/Desktop/images/01112025/01/09/image_01112025_01_09_32_2700.jpg
/home/pi/Desktop/images/01112025/01/09/image_01112025_01_09_39_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":["1397174513","1397174516","1397174510","1397174515","1397174517","1397174514"],"photo_ids_order":["1397174510","1397174513","1397174514","1397174515","1397174516","1397174517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0ed4ac78961bf3144d34a25d53f9ab0a.jpg","text":"TemporaryFile(/tmp/multipartBody8927856734495027119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574603622,"filename":"image_01112025_01_09_21_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/1/7e26a67cf27726cf1cdad00666cedd6c.jpg","text":"TemporaryFile(/tmp/multipartBody3022677726586789050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574603622,"filename":"image_01112025_01_09_32_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/1/cf8f8d3589ba6958d4e802566ee159fa.jpg","text":"TemporaryFile(/tmp/multipartBody7010689473314863901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574603622,"filename":"image_01112025_01_09_18_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/1/f1723156b83ba1b676e634e0c81e1ba1.jpg","text":"TemporaryFile(/tmp/multipartBody5097927946758256474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574603622,"filename":"image_01112025_01_09_27_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/1/b569265df07d64ea242420da1d38fe33.jpg","text":"TemporaryFile(/tmp/multipartBody8983406480635906216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574603622,"filename":"image_01112025_01_09_39_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/1/bd9295ef0551a84e22162f1db56cd15b.jpg","text":"TemporaryFile(/tmp/multipartBody3505298898965767953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574603622,"filename":"image_01112025_01_09_23_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397174514","file1":"1397174513","file0":"1397174510","file4":"1397174516","file5":"1397174517","file3":"1397174515"},"map_files_photo_id_array":[{"photo_id":"1397174517","filename":"file5"},{"photo_id":"1397174514","filename":"file2"},{"photo_id":"1397174516","filename":"file4"},{"photo_id":"1397174513","filename":"file1"},{"photo_id":"1397174510","filename":"file0"},{"photo_id":"1397174515","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397174513":["hashtag1","hashtag2"]},{"1397174516":["hashtag1","hashtag2"]},{"1397174510":["hashtag1","hashtag2"]},{"1397174515":["hashtag1","hashtag2"]},{"1397174517":["hashtag1","hashtag2"]},{"1397174514":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397174513, 1397174516, 1397174510, 1397174515, 1397174517, 1397174514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82534384727478 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 08:36:21.858697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/34/image_01122025_08_34_45_9573.jpg', '/home/pi/Desktop/images/01122025/08/34/image_01122025_08_34_55_9653.jpg', '/home/pi/Desktop/images/01122025/08/34/image_01122025_08_35_06_10793.jpg', '/home/pi/Desktop/images/01122025/08/35/image_01122025_08_35_15_9721.jpg', '/home/pi/Desktop/images/01122025/08/35/image_01122025_08_35_25_9639.jpg', '/home/pi/Desktop/images/01122025/08/35/image_01122025_08_35_35_9799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/34/image_01122025_08_34_45_9573.jpg
/home/pi/Desktop/images/01122025/08/34/image_01122025_08_34_55_9653.jpg
/home/pi/Desktop/images/01122025/08/34/image_01122025_08_35_06_10793.jpg
/home/pi/Desktop/images/01122025/08/35/image_01122025_08_35_15_9721.jpg
/home/pi/Desktop/images/01122025/08/35/image_01122025_08_35_25_9639.jpg
/home/pi/Desktop/images/01122025/08/35/image_01122025_08_35_35_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":["1397174542","1397174530","1397174535","1397174538","1397174532","1397174526"],"photo_ids_order":["1397174526","1397174530","1397174532","1397174535","1397174538","1397174542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9cca08ccac00f43a0819d23be741f170.jpg","text":"TemporaryFile(/tmp/multipartBody1633873029538594954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574642616,"filename":"image_01122025_08_35_35_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f6f965f80a2efdc03543e8e270a049c0.jpg","text":"TemporaryFile(/tmp/multipartBody5893529086010312950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574642616,"filename":"image_01122025_08_34_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/1/ebc88c13f97a5502644a8c0c3fcaad7b.jpg","text":"TemporaryFile(/tmp/multipartBody3013069908985387028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574642616,"filename":"image_01122025_08_35_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/1/7c9c6eb2dd738f577ab3637ad29d9d41.jpg","text":"TemporaryFile(/tmp/multipartBody5189658331941848384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574642616,"filename":"image_01122025_08_35_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/1/e26de50a720f7549c749baa97249755c.jpg","text":"TemporaryFile(/tmp/multipartBody8473124617347374047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574642616,"filename":"image_01122025_08_35_06_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/1/aa063f8e323f3eedace64fcc2e1c9990.jpg","text":"TemporaryFile(/tmp/multipartBody5438416466284434193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574642616,"filename":"image_01122025_08_34_45_9573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397174532","file1":"1397174530","file0":"1397174526","file4":"1397174538","file5":"1397174542","file3":"1397174535"},"map_files_photo_id_array":[{"photo_id":"1397174542","filename":"file5"},{"photo_id":"1397174532","filename":"file2"},{"photo_id":"1397174538","filename":"file4"},{"photo_id":"1397174530","filename":"file1"},{"photo_id":"1397174526","filename":"file0"},{"photo_id":"1397174535","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397174542":["hashtag1","hashtag2"]},{"1397174530":["hashtag1","hashtag2"]},{"1397174535":["hashtag1","hashtag2"]},{"1397174538":["hashtag1","hashtag2"]},{"1397174532":["hashtag1","hashtag2"]},{"1397174526":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397174542, 1397174530, 1397174535, 1397174538, 1397174532, 1397174526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68206167221069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:37:02.937824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/35/image_01122025_08_35_45_10675.jpg', '/home/pi/Desktop/images/01122025/08/35/image_01122025_08_35_55_9754.jpg', '/home/pi/Desktop/images/01122025/08/35/image_01122025_08_36_05_9727.jpg', '/home/pi/Desktop/images/01122025/08/36/image_01122025_08_36_15_9744.jpg', '/home/pi/Desktop/images/01122025/08/36/image_01122025_08_36_45_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/35/image_01122025_08_35_45_10675.jpg
/home/pi/Desktop/images/01122025/08/35/image_01122025_08_35_55_9754.jpg
/home/pi/Desktop/images/01122025/08/35/image_01122025_08_36_05_9727.jpg
/home/pi/Desktop/images/01122025/08/36/image_01122025_08_36_15_9744.jpg
/home/pi/Desktop/images/01122025/08/36/image_01122025_08_36_45_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":["1397174552","1397174546","1397174548","1397174550","1397174544"],"photo_ids_order":["1397174544","1397174546","1397174548","1397174550","1397174552"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9eb28222b77c717d2bae3047c6340032.jpg","text":"TemporaryFile(/tmp/multipartBody6392078139538521136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574683664,"filename":"image_01122025_08_36_45_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2476da38702ccd392996f4d4e8761990.jpg","text":"TemporaryFile(/tmp/multipartBody2312101289584586585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574683664,"filename":"image_01122025_08_35_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/1/2d35f17ae18136fd0e510596dba3d3f3.jpg","text":"TemporaryFile(/tmp/multipartBody8705198312675048911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574683664,"filename":"image_01122025_08_36_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/1/7bc4779b97f61a53491e954494ab1294.jpg","text":"TemporaryFile(/tmp/multipartBody7126539743693115997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574683664,"filename":"image_01122025_08_36_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/1/ec326cd9857d5f7246f32ef88292f67e.jpg","text":"TemporaryFile(/tmp/multipartBody3890606978128914829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574683664,"filename":"image_01122025_08_35_45_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397174548","file1":"1397174546","file0":"1397174544","file4":"1397174552","file3":"1397174550"},"map_files_photo_id_array":[{"photo_id":"1397174548","filename":"file2"},{"photo_id":"1397174552","filename":"file4"},{"photo_id":"1397174546","filename":"file1"},{"photo_id":"1397174544","filename":"file0"},{"photo_id":"1397174550","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397174552":["hashtag1","hashtag2"]},{"1397174546":["hashtag1","hashtag2"]},{"1397174548":["hashtag1","hashtag2"]},{"1397174550":["hashtag1","hashtag2"]},{"1397174544":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397174552, 1397174546, 1397174548, 1397174550, 1397174544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.309391021728516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 08:37:42.075668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/09/image_01112025_01_09_45_3540.jpg', '/home/pi/Desktop/images/01112025/01/10/image_01112025_01_10_21_3831.jpg', '/home/pi/Desktop/images/01112025/01/10/image_01112025_01_10_23_2557.jpg', '/home/pi/Desktop/images/01112025/01/10/image_01112025_01_10_30_3624.jpg', '/home/pi/Desktop/images/01112025/01/10/image_01112025_01_10_35_2746.jpg', '/home/pi/Desktop/images/01112025/01/10/image_01112025_01_10_42_3775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/09/image_01112025_01_09_45_3540.jpg
/home/pi/Desktop/images/01112025/01/10/image_01112025_01_10_21_3831.jpg
/home/pi/Desktop/images/01112025/01/10/image_01112025_01_10_23_2557.jpg
/home/pi/Desktop/images/01112025/01/10/image_01112025_01_10_30_3624.jpg
/home/pi/Desktop/images/01112025/01/10/image_01112025_01_10_35_2746.jpg
/home/pi/Desktop/images/01112025/01/10/image_01112025_01_10_42_3775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397174573","1397174569","1397174560","1397174566","1397174574","1397174564"],"photo_ids_order":["1397174560","1397174564","1397174566","1397174569","1397174573","1397174574"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a725e2c4754d5c8db00c22c4dc290303.jpg","text":"TemporaryFile(/tmp/multipartBody7507240384670185177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574722993,"filename":"image_01112025_01_10_35_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/1/1c2e68a6175a63160001a2ba307ef5b3.jpg","text":"TemporaryFile(/tmp/multipartBody7228116779013749476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574722993,"filename":"image_01112025_01_10_30_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b399c194cd05b05327d8519e8b926f9f.jpg","text":"TemporaryFile(/tmp/multipartBody6207925251644403609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574722993,"filename":"image_01112025_01_09_45_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/1/e4f49f4f9f23dba26e88ac508b0e2e86.jpg","text":"TemporaryFile(/tmp/multipartBody64259519798110025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574722993,"filename":"image_01112025_01_10_23_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cce09026164f79ad5e4574ab3573081a.jpg","text":"TemporaryFile(/tmp/multipartBody489432617776838758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574722993,"filename":"image_01112025_01_10_42_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9822518fa1eef59665a329017b627539.jpg","text":"TemporaryFile(/tmp/multipartBody2087174316652339046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574722993,"filename":"image_01112025_01_10_21_3831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397174566","file1":"1397174564","file0":"1397174560","file4":"1397174573","file5":"1397174574","file3":"1397174569"},"map_files_photo_id_array":[{"photo_id":"1397174574","filename":"file5"},{"photo_id":"1397174566","filename":"file2"},{"photo_id":"1397174573","filename":"file4"},{"photo_id":"1397174564","filename":"file1"},{"photo_id":"1397174560","filename":"file0"},{"photo_id":"1397174569","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397174573":["hashtag1","hashtag2"]},{"1397174569":["hashtag1","hashtag2"]},{"1397174560":["hashtag1","hashtag2"]},{"1397174566":["hashtag1","hashtag2"]},{"1397174574":["hashtag1","hashtag2"]},{"1397174564":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397174573, 1397174569, 1397174560, 1397174566, 1397174574, 1397174564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.429720878601074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 08:38:22.238180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/36/image_01122025_08_36_55_9712.jpg', '/home/pi/Desktop/images/01122025/08/36/image_01122025_08_37_05_10662.jpg', '/home/pi/Desktop/images/01122025/08/37/image_01122025_08_37_15_9628.jpg', '/home/pi/Desktop/images/01122025/08/37/image_01122025_08_37_25_9698.jpg', '/home/pi/Desktop/images/01122025/08/37/image_01122025_08_37_35_10721.jpg', '/home/pi/Desktop/images/01122025/08/37/image_01122025_08_37_45_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/36/image_01122025_08_36_55_9712.jpg
/home/pi/Desktop/images/01122025/08/36/image_01122025_08_37_05_10662.jpg
/home/pi/Desktop/images/01122025/08/37/image_01122025_08_37_15_9628.jpg
/home/pi/Desktop/images/01122025/08/37/image_01122025_08_37_25_9698.jpg
/home/pi/Desktop/images/01122025/08/37/image_01122025_08_37_35_10721.jpg
/home/pi/Desktop/images/01122025/08/37/image_01122025_08_37_45_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":["1397174599","1397174587","1397174583","1397174595","1397174591","1397174579"],"photo_ids_order":["1397174579","1397174583","1397174587","1397174591","1397174595","1397174599"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0281a4a6aa6b5cd19f58c0d55a425335.jpg","text":"TemporaryFile(/tmp/multipartBody433817005170806352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574763027,"filename":"image_01122025_08_37_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/1/89b0a1f3470b0bbcf177eb3abd375996.jpg","text":"TemporaryFile(/tmp/multipartBody6961342290055373231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574763027,"filename":"image_01122025_08_37_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/1/2c53a54f3b09ffd495a5d140acca2a6c.jpg","text":"TemporaryFile(/tmp/multipartBody1924450718146647054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574763027,"filename":"image_01122025_08_37_05_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1ae04de13da80f81ee6eec67b9770899.jpg","text":"TemporaryFile(/tmp/multipartBody3014777434468833446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574763027,"filename":"image_01122025_08_37_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/1/89c77ae5e470d664444cf65ae495b2a1.jpg","text":"TemporaryFile(/tmp/multipartBody5795585040092805862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574763027,"filename":"image_01122025_08_37_25_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d497c066759ab1393e3fd704f4523127.jpg","text":"TemporaryFile(/tmp/multipartBody1483941732381713383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574763027,"filename":"image_01122025_08_36_55_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397174587","file1":"1397174583","file0":"1397174579","file4":"1397174595","file5":"1397174599","file3":"1397174591"},"map_files_photo_id_array":[{"photo_id":"1397174599","filename":"file5"},{"photo_id":"1397174587","filename":"file2"},{"photo_id":"1397174595","filename":"file4"},{"photo_id":"1397174583","filename":"file1"},{"photo_id":"1397174579","filename":"file0"},{"photo_id":"1397174591","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397174599":["hashtag1","hashtag2"]},{"1397174587":["hashtag1","hashtag2"]},{"1397174583":["hashtag1","hashtag2"]},{"1397174595":["hashtag1","hashtag2"]},{"1397174591":["hashtag1","hashtag2"]},{"1397174579":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397174599, 1397174587, 1397174583, 1397174595, 1397174591, 1397174579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44907307624817 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:39:03.408043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/37/image_01122025_08_37_55_9630.jpg', '/home/pi/Desktop/images/01122025/08/37/image_01122025_08_38_05_10739.jpg', '/home/pi/Desktop/images/01122025/08/38/image_01122025_08_38_15_9711.jpg', '/home/pi/Desktop/images/01122025/08/38/image_01122025_08_38_25_9744.jpg', '/home/pi/Desktop/images/01122025/08/38/image_01122025_08_38_36_10674.jpg', '/home/pi/Desktop/images/01122025/08/38/image_01122025_08_38_45_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/37/image_01122025_08_37_55_9630.jpg
/home/pi/Desktop/images/01122025/08/37/image_01122025_08_38_05_10739.jpg
/home/pi/Desktop/images/01122025/08/38/image_01122025_08_38_15_9711.jpg
/home/pi/Desktop/images/01122025/08/38/image_01122025_08_38_25_9744.jpg
/home/pi/Desktop/images/01122025/08/38/image_01122025_08_38_36_10674.jpg
/home/pi/Desktop/images/01122025/08/38/image_01122025_08_38_45_9643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397174630","1397174633","1397174627","1397174636","1397174605","1397174620"],"photo_ids_order":["1397174605","1397174620","1397174627","1397174630","1397174633","1397174636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e64a5ea4ae402526323dce27e90a79e1.jpg","text":"TemporaryFile(/tmp/multipartBody5661386161484817056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574804340,"filename":"image_01122025_08_38_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/1/256896e266fd8d67c8559b0bf77f81da.jpg","text":"TemporaryFile(/tmp/multipartBody8829389814505619184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574804340,"filename":"image_01122025_08_38_36_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/1/7a0f2df5c0e5b5b542abb461f39dd80a.jpg","text":"TemporaryFile(/tmp/multipartBody6589191449140010492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574804340,"filename":"image_01122025_08_38_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/1/921ad42f27b5355572052f9f860b94ee.jpg","text":"TemporaryFile(/tmp/multipartBody1057911795176173775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574804340,"filename":"image_01122025_08_38_45_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bc04e558449adc060e2914c301a0c04b.jpg","text":"TemporaryFile(/tmp/multipartBody669070465709237879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574804340,"filename":"image_01122025_08_37_55_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/96435d48b6b977f31b303cf8711af2f4.jpg","text":"TemporaryFile(/tmp/multipartBody4177394447647000876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574804340,"filename":"image_01122025_08_38_05_10739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397174627","file1":"1397174620","file0":"1397174605","file4":"1397174633","file5":"1397174636","file3":"1397174630"},"map_files_photo_id_array":[{"photo_id":"1397174636","filename":"file5"},{"photo_id":"1397174627","filename":"file2"},{"photo_id":"1397174633","filename":"file4"},{"photo_id":"1397174620","filename":"file1"},{"photo_id":"1397174605","filename":"file0"},{"photo_id":"1397174630","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397174630":["hashtag1","hashtag2"]},{"1397174633":["hashtag1","hashtag2"]},{"1397174627":["hashtag1","hashtag2"]},{"1397174636":["hashtag1","hashtag2"]},{"1397174605":["hashtag1","hashtag2"]},{"1397174620":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397174630, 1397174633, 1397174627, 1397174636, 1397174605, 1397174620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72820043563843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:40:03.092182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/38/image_01122025_08_38_55_9704.jpg', '/home/pi/Desktop/images/01122025/08/38/image_01122025_08_39_05_9802.jpg', '/home/pi/Desktop/images/01122025/08/39/image_01122025_08_39_16_10887.jpg', '/home/pi/Desktop/images/01122025/08/39/image_01122025_08_39_25_9794.jpg', '/home/pi/Desktop/images/01122025/08/39/image_01122025_08_39_35_9807.jpg', '/home/pi/Desktop/images/01122025/08/39/image_01122025_08_39_45_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/38/image_01122025_08_38_55_9704.jpg
/home/pi/Desktop/images/01122025/08/38/image_01122025_08_39_05_9802.jpg
/home/pi/Desktop/images/01122025/08/39/image_01122025_08_39_16_10887.jpg
/home/pi/Desktop/images/01122025/08/39/image_01122025_08_39_25_9794.jpg
/home/pi/Desktop/images/01122025/08/39/image_01122025_08_39_35_9807.jpg
/home/pi/Desktop/images/01122025/08/39/image_01122025_08_39_45_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397174659","1397174650","1397174653","1397174647","1397174655","1397174657"],"photo_ids_order":["1397174647","1397174650","1397174653","1397174655","1397174657","1397174659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a30cc5cb9552b557e075531182b5c2de.jpg","text":"TemporaryFile(/tmp/multipartBody5822485237573313076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574863842,"filename":"image_01122025_08_39_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/1/a3938aab1ca7df7b1036d1abdd10bd27.jpg","text":"TemporaryFile(/tmp/multipartBody1610726715752714279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574863842,"filename":"image_01122025_08_39_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/1/292b2a6db1619fab9aac9f56ef997004.jpg","text":"TemporaryFile(/tmp/multipartBody6684825341232533278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574863842,"filename":"image_01122025_08_39_16_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/1/b3c5ca49d38c2cd673e9f476b428b902.jpg","text":"TemporaryFile(/tmp/multipartBody7482961031469074511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574863842,"filename":"image_01122025_08_38_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/1/62e689a61fcdef9b9491e34318095084.jpg","text":"TemporaryFile(/tmp/multipartBody654277515331271425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574863842,"filename":"image_01122025_08_39_25_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9c1f5e8da66b6382bfe09abeaeddde48.jpg","text":"TemporaryFile(/tmp/multipartBody5393258266603557614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574863842,"filename":"image_01122025_08_39_35_9807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397174653","file1":"1397174650","file0":"1397174647","file4":"1397174657","file5":"1397174659","file3":"1397174655"},"map_files_photo_id_array":[{"photo_id":"1397174659","filename":"file5"},{"photo_id":"1397174653","filename":"file2"},{"photo_id":"1397174657","filename":"file4"},{"photo_id":"1397174650","filename":"file1"},{"photo_id":"1397174647","filename":"file0"},{"photo_id":"1397174655","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397174659":["hashtag1","hashtag2"]},{"1397174650":["hashtag1","hashtag2"]},{"1397174653":["hashtag1","hashtag2"]},{"1397174647":["hashtag1","hashtag2"]},{"1397174655":["hashtag1","hashtag2"]},{"1397174657":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397174659, 1397174650, 1397174653, 1397174647, 1397174655, 1397174657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49352955818176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 08:40:42.638907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/10/image_01112025_01_10_44_2672.jpg', '/home/pi/Desktop/images/01112025/01/10/image_01112025_01_10_47_2817.jpg', '/home/pi/Desktop/images/01112025/01/11/image_01112025_01_11_09_3777.jpg', '/home/pi/Desktop/images/01112025/01/11/image_01112025_01_11_14_2617.jpg', '/home/pi/Desktop/images/01112025/01/11/image_01112025_01_11_23_3641.jpg', '/home/pi/Desktop/images/01112025/01/11/image_01112025_01_11_26_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/10/image_01112025_01_10_44_2672.jpg
/home/pi/Desktop/images/01112025/01/10/image_01112025_01_10_47_2817.jpg
/home/pi/Desktop/images/01112025/01/11/image_01112025_01_11_09_3777.jpg
/home/pi/Desktop/images/01112025/01/11/image_01112025_01_11_14_2617.jpg
/home/pi/Desktop/images/01112025/01/11/image_01112025_01_11_23_3641.jpg
/home/pi/Desktop/images/01112025/01/11/image_01112025_01_11_26_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":["1397174666","1397174697","1397174701","1397174688","1397174700","1397174693"],"photo_ids_order":["1397174666","1397174688","1397174693","1397174697","1397174700","1397174701"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/20450e883238629f287beb3278919dd2.jpg","text":"TemporaryFile(/tmp/multipartBody6922122934532018654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574903512,"filename":"image_01112025_01_10_44_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/1/2768fb78f444b11682747c57722d72c0.jpg","text":"TemporaryFile(/tmp/multipartBody5483439495911230439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574903512,"filename":"image_01112025_01_11_14_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/1/9a5ace24838c0d1c191aa681937817ff.jpg","text":"TemporaryFile(/tmp/multipartBody838654386539626004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574903512,"filename":"image_01112025_01_11_26_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/1/89171e7b053832ae07bec2d3cfb1180c.jpg","text":"TemporaryFile(/tmp/multipartBody4125954806720850372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574903512,"filename":"image_01112025_01_10_47_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/1/3539313c57b42a01aaa67e7a1c80448b.jpg","text":"TemporaryFile(/tmp/multipartBody4415963372771372675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574903512,"filename":"image_01112025_01_11_23_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/1/f3af7a535ab162788ad8b8d709ff27b8.jpg","text":"TemporaryFile(/tmp/multipartBody9065981770390032971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574903512,"filename":"image_01112025_01_11_09_3777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397174693","file1":"1397174688","file0":"1397174666","file4":"1397174700","file5":"1397174701","file3":"1397174697"},"map_files_photo_id_array":[{"photo_id":"1397174701","filename":"file5"},{"photo_id":"1397174693","filename":"file2"},{"photo_id":"1397174700","filename":"file4"},{"photo_id":"1397174688","filename":"file1"},{"photo_id":"1397174666","filename":"file0"},{"photo_id":"1397174697","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397174666":["hashtag1","hashtag2"]},{"1397174697":["hashtag1","hashtag2"]},{"1397174701":["hashtag1","hashtag2"]},{"1397174688":["hashtag1","hashtag2"]},{"1397174700":["hashtag1","hashtag2"]},{"1397174693":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397174666, 1397174697, 1397174701, 1397174688, 1397174700, 1397174693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44684195518494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 08:41:22.804833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/39/image_01122025_08_39_55_9750.jpg', '/home/pi/Desktop/images/01122025/08/39/image_01122025_08_40_05_10749.jpg', '/home/pi/Desktop/images/01122025/08/40/image_01122025_08_40_15_9747.jpg', '/home/pi/Desktop/images/01122025/08/40/image_01122025_08_40_25_9778.jpg', '/home/pi/Desktop/images/01122025/08/40/image_01122025_08_40_36_10675.jpg', '/home/pi/Desktop/images/01122025/08/40/image_01122025_08_40_45_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/39/image_01122025_08_39_55_9750.jpg
/home/pi/Desktop/images/01122025/08/39/image_01122025_08_40_05_10749.jpg
/home/pi/Desktop/images/01122025/08/40/image_01122025_08_40_15_9747.jpg
/home/pi/Desktop/images/01122025/08/40/image_01122025_08_40_25_9778.jpg
/home/pi/Desktop/images/01122025/08/40/image_01122025_08_40_36_10675.jpg
/home/pi/Desktop/images/01122025/08/40/image_01122025_08_40_45_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":["1397174759","1397174767","1397174761","1397174763","1397174748","1397174756"],"photo_ids_order":["1397174748","1397174756","1397174759","1397174761","1397174763","1397174767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/da1e636d522ca7f976190a0c89278fda.jpg","text":"TemporaryFile(/tmp/multipartBody696106928633772703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574943571,"filename":"image_01122025_08_40_15_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/30683a6cdfc7dd9cc1a60da03555b17c.jpg","text":"TemporaryFile(/tmp/multipartBody4706982237083598099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574943571,"filename":"image_01122025_08_40_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/1/b45ecf8786084aad78981964c8a00a82.jpg","text":"TemporaryFile(/tmp/multipartBody6628380806897328006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574943571,"filename":"image_01122025_08_40_25_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f7a5a76a8c8992a55217928adfe5474b.jpg","text":"TemporaryFile(/tmp/multipartBody3051225535538963809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574943571,"filename":"image_01122025_08_40_36_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/1/3a89b676bdf8b757f236d8ddeee89084.jpg","text":"TemporaryFile(/tmp/multipartBody2703467744617666636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574943571,"filename":"image_01122025_08_39_55_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0ac6030124aec1234ac2ad3278f1289e.jpg","text":"TemporaryFile(/tmp/multipartBody1857870921130603669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574943571,"filename":"image_01122025_08_40_05_10749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397174759","file1":"1397174756","file0":"1397174748","file4":"1397174763","file5":"1397174767","file3":"1397174761"},"map_files_photo_id_array":[{"photo_id":"1397174767","filename":"file5"},{"photo_id":"1397174759","filename":"file2"},{"photo_id":"1397174763","filename":"file4"},{"photo_id":"1397174756","filename":"file1"},{"photo_id":"1397174748","filename":"file0"},{"photo_id":"1397174761","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397174759":["hashtag1","hashtag2"]},{"1397174767":["hashtag1","hashtag2"]},{"1397174761":["hashtag1","hashtag2"]},{"1397174763":["hashtag1","hashtag2"]},{"1397174748":["hashtag1","hashtag2"]},{"1397174756":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397174759, 1397174767, 1397174761, 1397174763, 1397174748, 1397174756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83902955055237 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:42:02.417832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/40/image_01122025_08_41_05_9724.jpg', '/home/pi/Desktop/images/01122025/08/41/image_01122025_08_41_15_10658.jpg', '/home/pi/Desktop/images/01122025/08/41/image_01122025_08_41_25_9760.jpg', '/home/pi/Desktop/images/01122025/08/41/image_01122025_08_41_35_9836.jpg', '/home/pi/Desktop/images/01122025/08/41/image_01122025_08_41_45_9802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/40/image_01122025_08_41_05_9724.jpg
/home/pi/Desktop/images/01122025/08/41/image_01122025_08_41_15_10658.jpg
/home/pi/Desktop/images/01122025/08/41/image_01122025_08_41_25_9760.jpg
/home/pi/Desktop/images/01122025/08/41/image_01122025_08_41_35_9836.jpg
/home/pi/Desktop/images/01122025/08/41/image_01122025_08_41_45_9802.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6232874393463135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 08:42:11.923165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_07_3011.jpg', '/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_10_3659.jpg', '/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_13_2590.jpg', '/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_17_3611.jpg', '/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_19_2545.jpg', '/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_22_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_07_3011.jpg
/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_10_3659.jpg
/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_13_2590.jpg
/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_17_3611.jpg
/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_19_2545.jpg
/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_22_2602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397174852","1397174813","1397174839","1397174844","1397174780","1397174783"],"photo_ids_order":["1397174780","1397174783","1397174813","1397174839","1397174844","1397174852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d477ad943bc7ef4c1fa38d1403dc9d37.jpg","text":"TemporaryFile(/tmp/multipartBody2053758545357830612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574993388,"filename":"image_25112025_22_15_22_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/434c30e23fba87e1b928ea6b1b410feb.jpg","text":"TemporaryFile(/tmp/multipartBody7430306119371871782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574993388,"filename":"image_25112025_22_15_13_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4eba6098f91eb72956707fc0e88b88ce.jpg","text":"TemporaryFile(/tmp/multipartBody8390463278927522908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574993388,"filename":"image_25112025_22_15_17_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/355141089cd21fb6fed3acc88b6ea720.jpg","text":"TemporaryFile(/tmp/multipartBody5752932215854132793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574993388,"filename":"image_25112025_22_15_19_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/1/8e4d00830a3ac845ddabfe99afed5a47.jpg","text":"TemporaryFile(/tmp/multipartBody3799958390845371546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574993388,"filename":"image_25112025_22_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/1/a2cb8169e246e105bfb9001117101fa0.jpg","text":"TemporaryFile(/tmp/multipartBody7669018753513731206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764574993388,"filename":"image_25112025_22_15_10_3659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397174813","file1":"1397174783","file0":"1397174780","file4":"1397174844","file5":"1397174852","file3":"1397174839"},"map_files_photo_id_array":[{"photo_id":"1397174852","filename":"file5"},{"photo_id":"1397174813","filename":"file2"},{"photo_id":"1397174844","filename":"file4"},{"photo_id":"1397174783","filename":"file1"},{"photo_id":"1397174780","filename":"file0"},{"photo_id":"1397174839","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397174852":["hashtag1","hashtag2"]},{"1397174813":["hashtag1","hashtag2"]},{"1397174839":["hashtag1","hashtag2"]},{"1397174844":["hashtag1","hashtag2"]},{"1397174780":["hashtag1","hashtag2"]},{"1397174783":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397174852, 1397174813, 1397174839, 1397174844, 1397174780, 1397174783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.986769914627075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:43:02.891542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/40/image_01122025_08_41_05_9724.jpg', '/home/pi/Desktop/images/01122025/08/41/image_01122025_08_41_15_10658.jpg', '/home/pi/Desktop/images/01122025/08/41/image_01122025_08_41_25_9760.jpg', '/home/pi/Desktop/images/01122025/08/41/image_01122025_08_41_35_9836.jpg', '/home/pi/Desktop/images/01122025/08/41/image_01122025_08_41_45_9802.jpg', '/home/pi/Desktop/images/01122025/08/41/image_01122025_08_41_55_10688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/40/image_01122025_08_41_05_9724.jpg
/home/pi/Desktop/images/01122025/08/41/image_01122025_08_41_15_10658.jpg
/home/pi/Desktop/images/01122025/08/41/image_01122025_08_41_25_9760.jpg
/home/pi/Desktop/images/01122025/08/41/image_01122025_08_41_35_9836.jpg
/home/pi/Desktop/images/01122025/08/41/image_01122025_08_41_45_9802.jpg
/home/pi/Desktop/images/01122025/08/41/image_01122025_08_41_55_10688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397174918","1397174912","1397174915","1397174908","1397174913","1397174916"],"photo_ids_order":["1397174908","1397174912","1397174913","1397174915","1397174916","1397174918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4a1f8987030ef8e68116e18bfb0497d9.jpg","text":"TemporaryFile(/tmp/multipartBody524861097443600337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575043724,"filename":"image_01122025_08_41_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/1/6d39b15a7e795e79f696f673d98b4189.jpg","text":"TemporaryFile(/tmp/multipartBody2952567017414778984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575043724,"filename":"image_01122025_08_41_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/1/b590e639d6e875757f0c4a7932edfa52.jpg","text":"TemporaryFile(/tmp/multipartBody6160388037270296767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575043724,"filename":"image_01122025_08_41_35_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/42eceea272dd8ee15f2050a899673e25.jpg","text":"TemporaryFile(/tmp/multipartBody8392646522230891924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575043724,"filename":"image_01122025_08_41_05_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6dc314b0c886fccdd1885a7c1f92d491.jpg","text":"TemporaryFile(/tmp/multipartBody8853221532536289152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575043724,"filename":"image_01122025_08_41_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/1/8f31425aec1a88e05fa30ee0b86b6653.jpg","text":"TemporaryFile(/tmp/multipartBody7294022878021188965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575043724,"filename":"image_01122025_08_41_45_9802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397174913","file1":"1397174912","file0":"1397174908","file4":"1397174916","file5":"1397174918","file3":"1397174915"},"map_files_photo_id_array":[{"photo_id":"1397174918","filename":"file5"},{"photo_id":"1397174913","filename":"file2"},{"photo_id":"1397174916","filename":"file4"},{"photo_id":"1397174912","filename":"file1"},{"photo_id":"1397174908","filename":"file0"},{"photo_id":"1397174915","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397174918":["hashtag1","hashtag2"]},{"1397174912":["hashtag1","hashtag2"]},{"1397174915":["hashtag1","hashtag2"]},{"1397174908":["hashtag1","hashtag2"]},{"1397174913":["hashtag1","hashtag2"]},{"1397174916":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397174918, 1397174912, 1397174915, 1397174908, 1397174913, 1397174916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.833988428115845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 08:43:42.138210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/11/image_01112025_01_11_32_2733.jpg', '/home/pi/Desktop/images/01112025/01/11/image_01112025_01_11_35_3654.jpg', '/home/pi/Desktop/images/01112025/01/11/image_01112025_01_11_38_2783.jpg', '/home/pi/Desktop/images/01112025/01/11/image_01112025_01_11_59_2632.jpg', '/home/pi/Desktop/images/01112025/01/12/image_01112025_01_12_03_3736.jpg', '/home/pi/Desktop/images/01112025/01/12/image_01112025_01_12_11_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/11/image_01112025_01_11_32_2733.jpg
/home/pi/Desktop/images/01112025/01/11/image_01112025_01_11_35_3654.jpg
/home/pi/Desktop/images/01112025/01/11/image_01112025_01_11_38_2783.jpg
/home/pi/Desktop/images/01112025/01/11/image_01112025_01_11_59_2632.jpg
/home/pi/Desktop/images/01112025/01/12/image_01112025_01_12_03_3736.jpg
/home/pi/Desktop/images/01112025/01/12/image_01112025_01_12_11_3694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397175091","1397174980","1397175060","1397174944","1397175089","1397175023"],"photo_ids_order":["1397174944","1397174980","1397175023","1397175060","1397175089","1397175091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f7bfc2b949e38345fb6f3db4c02a0c85.jpg","text":"TemporaryFile(/tmp/multipartBody1615084427743964268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575083002,"filename":"image_01112025_01_12_11_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/33497facacab0ee48a54fb134ffbffa9.jpg","text":"TemporaryFile(/tmp/multipartBody1381029014635308319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575083002,"filename":"image_01112025_01_11_35_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e69d41e04d98bcacbdfe0a6c03de75f4.jpg","text":"TemporaryFile(/tmp/multipartBody3962254490031732466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575083002,"filename":"image_01112025_01_11_59_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/1/27fd15bb5caf42f4ae42708ff0a5d023.jpg","text":"TemporaryFile(/tmp/multipartBody3649118785854099968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575083002,"filename":"image_01112025_01_11_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/1/fa284713287b31b470bc7c6beb3239f7.jpg","text":"TemporaryFile(/tmp/multipartBody7938382581321784344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575083002,"filename":"image_01112025_01_12_03_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b5af3b8f6e39b31ff2e9f58db0478f13.jpg","text":"TemporaryFile(/tmp/multipartBody6209747265752199212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575083002,"filename":"image_01112025_01_11_38_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397175023","file1":"1397174980","file0":"1397174944","file4":"1397175089","file5":"1397175091","file3":"1397175060"},"map_files_photo_id_array":[{"photo_id":"1397175091","filename":"file5"},{"photo_id":"1397175023","filename":"file2"},{"photo_id":"1397175089","filename":"file4"},{"photo_id":"1397174980","filename":"file1"},{"photo_id":"1397174944","filename":"file0"},{"photo_id":"1397175060","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397175091":["hashtag1","hashtag2"]},{"1397174980":["hashtag1","hashtag2"]},{"1397175060":["hashtag1","hashtag2"]},{"1397174944":["hashtag1","hashtag2"]},{"1397175089":["hashtag1","hashtag2"]},{"1397175023":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397175091, 1397174980, 1397175060, 1397174944, 1397175089, 1397175023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83648204803467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 08:44:22.279715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/41/image_01122025_08_42_05_9750.jpg', '/home/pi/Desktop/images/01122025/08/42/image_01122025_08_42_15_9612.jpg', '/home/pi/Desktop/images/01122025/08/42/image_01122025_08_42_25_9983.jpg', '/home/pi/Desktop/images/01122025/08/42/image_01122025_08_42_45_9783.jpg', '/home/pi/Desktop/images/01122025/08/42/image_01122025_08_42_55_9843.jpg', '/home/pi/Desktop/images/01122025/08/42/image_01122025_08_43_05_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/41/image_01122025_08_42_05_9750.jpg
/home/pi/Desktop/images/01122025/08/42/image_01122025_08_42_15_9612.jpg
/home/pi/Desktop/images/01122025/08/42/image_01122025_08_42_25_9983.jpg
/home/pi/Desktop/images/01122025/08/42/image_01122025_08_42_45_9783.jpg
/home/pi/Desktop/images/01122025/08/42/image_01122025_08_42_55_9843.jpg
/home/pi/Desktop/images/01122025/08/42/image_01122025_08_43_05_9720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397175396","1397175214","1397175360","1397175405","1397175293","1397175251"],"photo_ids_order":["1397175214","1397175251","1397175293","1397175360","1397175396","1397175405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0397229dca898d6d5c4b5281fc2739a9.jpg","text":"TemporaryFile(/tmp/multipartBody9109686506351633666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575123062,"filename":"image_01122025_08_42_55_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d3c6fea6e61cb002671189a05739616b.jpg","text":"TemporaryFile(/tmp/multipartBody2700495491002564253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575123062,"filename":"image_01122025_08_42_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/1/bdfc9296f308d5e4835db5c90ca94f9d.jpg","text":"TemporaryFile(/tmp/multipartBody1614938531570687230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575123062,"filename":"image_01122025_08_42_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/1/7c63f42b764b7db5acdfd104916553d2.jpg","text":"TemporaryFile(/tmp/multipartBody4667914760694708093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575123062,"filename":"image_01122025_08_43_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/1/6fdb4ab64f6107c2ab6745d926a8219c.jpg","text":"TemporaryFile(/tmp/multipartBody6066617753465529038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575123062,"filename":"image_01122025_08_42_25_9983.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/de88a6e6522bae8f35d3136bc8e64564.jpg","text":"TemporaryFile(/tmp/multipartBody6701449689163819016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575123062,"filename":"image_01122025_08_42_15_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397175293","file1":"1397175251","file0":"1397175214","file4":"1397175396","file5":"1397175405","file3":"1397175360"},"map_files_photo_id_array":[{"photo_id":"1397175405","filename":"file5"},{"photo_id":"1397175293","filename":"file2"},{"photo_id":"1397175396","filename":"file4"},{"photo_id":"1397175251","filename":"file1"},{"photo_id":"1397175214","filename":"file0"},{"photo_id":"1397175360","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397175396":["hashtag1","hashtag2"]},{"1397175214":["hashtag1","hashtag2"]},{"1397175360":["hashtag1","hashtag2"]},{"1397175405":["hashtag1","hashtag2"]},{"1397175293":["hashtag1","hashtag2"]},{"1397175251":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397175396, 1397175214, 1397175360, 1397175405, 1397175293, 1397175251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94437909126282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:45:03.077438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/43/image_01122025_08_43_15_10010.jpg', '/home/pi/Desktop/images/01122025/08/43/image_01122025_08_43_25_9867.jpg', '/home/pi/Desktop/images/01122025/08/43/image_01122025_08_43_36_10765.jpg', '/home/pi/Desktop/images/01122025/08/43/image_01122025_08_43_45_9745.jpg', '/home/pi/Desktop/images/01122025/08/43/image_01122025_08_43_55_9676.jpg', '/home/pi/Desktop/images/01122025/08/43/image_01122025_08_44_05_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/43/image_01122025_08_43_15_10010.jpg
/home/pi/Desktop/images/01122025/08/43/image_01122025_08_43_25_9867.jpg
/home/pi/Desktop/images/01122025/08/43/image_01122025_08_43_36_10765.jpg
/home/pi/Desktop/images/01122025/08/43/image_01122025_08_43_45_9745.jpg
/home/pi/Desktop/images/01122025/08/43/image_01122025_08_43_55_9676.jpg
/home/pi/Desktop/images/01122025/08/43/image_01122025_08_44_05_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":["1397175495","1397175498","1397175492","1397175465","1397175489","1397175501"],"photo_ids_order":["1397175465","1397175489","1397175492","1397175495","1397175498","1397175501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4f8c078963720a0dfd941780e4cea7d1.jpg","text":"TemporaryFile(/tmp/multipartBody7566121711431769776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575163907,"filename":"image_01122025_08_43_45_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/99bd08d665631faf2cb6fbcd3af85d34.jpg","text":"TemporaryFile(/tmp/multipartBody3901593001988367432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575163907,"filename":"image_01122025_08_43_55_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a313e48c1e1b3ecde71d3e673bc8f763.jpg","text":"TemporaryFile(/tmp/multipartBody7995301779432989344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575163907,"filename":"image_01122025_08_43_36_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/1/258714c8c09d4b55f2949497a4653e91.jpg","text":"TemporaryFile(/tmp/multipartBody7221566659470644668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575163907,"filename":"image_01122025_08_43_15_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/1/b00943568aeda60d5f413b89dc8ef383.jpg","text":"TemporaryFile(/tmp/multipartBody7392619941257366315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575163907,"filename":"image_01122025_08_43_25_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/1/32c5a1b7f7db0a580856f24b98116fb1.jpg","text":"TemporaryFile(/tmp/multipartBody4133348551825400694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575163907,"filename":"image_01122025_08_44_05_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397175492","file1":"1397175489","file0":"1397175465","file4":"1397175498","file5":"1397175501","file3":"1397175495"},"map_files_photo_id_array":[{"photo_id":"1397175501","filename":"file5"},{"photo_id":"1397175492","filename":"file2"},{"photo_id":"1397175498","filename":"file4"},{"photo_id":"1397175489","filename":"file1"},{"photo_id":"1397175465","filename":"file0"},{"photo_id":"1397175495","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397175495":["hashtag1","hashtag2"]},{"1397175498":["hashtag1","hashtag2"]},{"1397175492":["hashtag1","hashtag2"]},{"1397175465":["hashtag1","hashtag2"]},{"1397175489":["hashtag1","hashtag2"]},{"1397175501":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397175495, 1397175498, 1397175492, 1397175465, 1397175489, 1397175501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83439040184021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 08:45:42.564048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/12/image_01112025_01_12_14_2577.jpg', '/home/pi/Desktop/images/01112025/01/12/image_01112025_01_12_17_3088.jpg', '/home/pi/Desktop/images/01112025/01/12/image_01112025_01_12_20_2977.jpg', '/home/pi/Desktop/images/01112025/01/12/image_01112025_01_12_23_2626.jpg', '/home/pi/Desktop/images/01112025/01/12/image_01112025_01_12_29_2591.jpg', '/home/pi/Desktop/images/01112025/01/12/image_01112025_01_12_41_2746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/12/image_01112025_01_12_14_2577.jpg
/home/pi/Desktop/images/01112025/01/12/image_01112025_01_12_17_3088.jpg
/home/pi/Desktop/images/01112025/01/12/image_01112025_01_12_20_2977.jpg
/home/pi/Desktop/images/01112025/01/12/image_01112025_01_12_23_2626.jpg
/home/pi/Desktop/images/01112025/01/12/image_01112025_01_12_29_2591.jpg
/home/pi/Desktop/images/01112025/01/12/image_01112025_01_12_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":["1397175515","1397175520","1397175517","1397175511","1397175519","1397175507"],"photo_ids_order":["1397175507","1397175511","1397175515","1397175517","1397175519","1397175520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8688c2d34feea0b7fe182c8b5085bb96.jpg","text":"TemporaryFile(/tmp/multipartBody8805923859382552314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575203432,"filename":"image_01112025_01_12_20_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/1/9c654d95634ffc50abb485fb98b9962e.jpg","text":"TemporaryFile(/tmp/multipartBody5493009280180384147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575203432,"filename":"image_01112025_01_12_41_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/1/3fb651496464a928bcefd4a2eb863b7c.jpg","text":"TemporaryFile(/tmp/multipartBody5785696740382622980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575203432,"filename":"image_01112025_01_12_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/1/32724d4b4661426c8f661bfce763521d.jpg","text":"TemporaryFile(/tmp/multipartBody3885827529018180139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575203432,"filename":"image_01112025_01_12_17_3088.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ecb557dc749ba3f860eba3600eccf85e.jpg","text":"TemporaryFile(/tmp/multipartBody5811157634845496842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575203432,"filename":"image_01112025_01_12_29_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/1/6be2d9918bc253da7362f5878a518516.jpg","text":"TemporaryFile(/tmp/multipartBody7454312915740589631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575203432,"filename":"image_01112025_01_12_14_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397175515","file1":"1397175511","file0":"1397175507","file4":"1397175519","file5":"1397175520","file3":"1397175517"},"map_files_photo_id_array":[{"photo_id":"1397175520","filename":"file5"},{"photo_id":"1397175515","filename":"file2"},{"photo_id":"1397175519","filename":"file4"},{"photo_id":"1397175511","filename":"file1"},{"photo_id":"1397175507","filename":"file0"},{"photo_id":"1397175517","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397175515":["hashtag1","hashtag2"]},{"1397175520":["hashtag1","hashtag2"]},{"1397175517":["hashtag1","hashtag2"]},{"1397175511":["hashtag1","hashtag2"]},{"1397175519":["hashtag1","hashtag2"]},{"1397175507":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397175515, 1397175520, 1397175517, 1397175511, 1397175519, 1397175507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42763710021973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 08:46:22.808257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/44/image_01122025_08_44_15_10634.jpg', '/home/pi/Desktop/images/01122025/08/44/image_01122025_08_44_25_9857.jpg', '/home/pi/Desktop/images/01122025/08/44/image_01122025_08_44_35_9731.jpg', '/home/pi/Desktop/images/01122025/08/44/image_01122025_08_44_45_9747.jpg', '/home/pi/Desktop/images/01122025/08/44/image_01122025_08_44_55_10785.jpg', '/home/pi/Desktop/images/01122025/08/44/image_01122025_08_45_05_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/44/image_01122025_08_44_15_10634.jpg
/home/pi/Desktop/images/01122025/08/44/image_01122025_08_44_25_9857.jpg
/home/pi/Desktop/images/01122025/08/44/image_01122025_08_44_35_9731.jpg
/home/pi/Desktop/images/01122025/08/44/image_01122025_08_44_45_9747.jpg
/home/pi/Desktop/images/01122025/08/44/image_01122025_08_44_55_10785.jpg
/home/pi/Desktop/images/01122025/08/44/image_01122025_08_45_05_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":["1397175538","1397175532","1397175531","1397175534","1397175528","1397175527"],"photo_ids_order":["1397175527","1397175528","1397175531","1397175532","1397175534","1397175538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1fa3cabb15fb90b4a86bac937d985a4d.jpg","text":"TemporaryFile(/tmp/multipartBody7014400747099908820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575243564,"filename":"image_01122025_08_45_05_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c4a5974ee14022d992528f52c0bc2981.jpg","text":"TemporaryFile(/tmp/multipartBody1017025257343754179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575243564,"filename":"image_01122025_08_44_45_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/92731a4e5ed42ddbfcf6e35aea306a40.jpg","text":"TemporaryFile(/tmp/multipartBody3330279213671054048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575243564,"filename":"image_01122025_08_44_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/1/af418317726fbf63f4c25cf1be631b5a.jpg","text":"TemporaryFile(/tmp/multipartBody9210149378475944557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575243564,"filename":"image_01122025_08_44_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/1/a277ecf3fe610096f3b73ebc6929e6af.jpg","text":"TemporaryFile(/tmp/multipartBody5823709114216193831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575243564,"filename":"image_01122025_08_44_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/1/5849e28e482891a0a5a4b949ff0d8897.jpg","text":"TemporaryFile(/tmp/multipartBody2673118312685203020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575243564,"filename":"image_01122025_08_44_15_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397175531","file1":"1397175528","file0":"1397175527","file4":"1397175534","file5":"1397175538","file3":"1397175532"},"map_files_photo_id_array":[{"photo_id":"1397175538","filename":"file5"},{"photo_id":"1397175531","filename":"file2"},{"photo_id":"1397175534","filename":"file4"},{"photo_id":"1397175528","filename":"file1"},{"photo_id":"1397175527","filename":"file0"},{"photo_id":"1397175532","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397175538":["hashtag1","hashtag2"]},{"1397175532":["hashtag1","hashtag2"]},{"1397175531":["hashtag1","hashtag2"]},{"1397175534":["hashtag1","hashtag2"]},{"1397175528":["hashtag1","hashtag2"]},{"1397175527":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397175538, 1397175532, 1397175531, 1397175534, 1397175528, 1397175527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04469919204712 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:47:02.673185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/45/image_01122025_08_45_15_9798.jpg', '/home/pi/Desktop/images/01122025/08/45/image_01122025_08_45_25_9842.jpg', '/home/pi/Desktop/images/01122025/08/45/image_01122025_08_45_35_10028.jpg', '/home/pi/Desktop/images/01122025/08/45/image_01122025_08_45_45_10738.jpg', '/home/pi/Desktop/images/01122025/08/45/image_01122025_08_45_55_9761.jpg', '/home/pi/Desktop/images/01122025/08/45/image_01122025_08_46_05_9955.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/45/image_01122025_08_45_15_9798.jpg
/home/pi/Desktop/images/01122025/08/45/image_01122025_08_45_25_9842.jpg
/home/pi/Desktop/images/01122025/08/45/image_01122025_08_45_35_10028.jpg
/home/pi/Desktop/images/01122025/08/45/image_01122025_08_45_45_10738.jpg
/home/pi/Desktop/images/01122025/08/45/image_01122025_08_45_55_9761.jpg
/home/pi/Desktop/images/01122025/08/45/image_01122025_08_46_05_9955.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397175580","1397175709","1397175666","1397175627","1397175752","1397175548"],"photo_ids_order":["1397175548","1397175580","1397175627","1397175666","1397175709","1397175752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ca20177793caea4bde0242ee11b6368b.jpg","text":"TemporaryFile(/tmp/multipartBody1013501906646713151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575283455,"filename":"image_01122025_08_45_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/1/502522cfc9f163e1dea37bb70ad6e54b.jpg","text":"TemporaryFile(/tmp/multipartBody7219162948233718819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575283455,"filename":"image_01122025_08_45_55_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ce9377e063daf84473f91156661216eb.jpg","text":"TemporaryFile(/tmp/multipartBody3027223182406446898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575283455,"filename":"image_01122025_08_45_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/1/481990c9adc38d01b5506811b2bac210.jpg","text":"TemporaryFile(/tmp/multipartBody3120826780658231220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575283455,"filename":"image_01122025_08_45_35_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/1/3e18b8e1385038d6ceaef75a2bea1b41.jpg","text":"TemporaryFile(/tmp/multipartBody6374843881748337410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575283455,"filename":"image_01122025_08_46_05_9955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/699d2283bf666cd1f74a15b39b8c48f4.jpg","text":"TemporaryFile(/tmp/multipartBody5295577570527887444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575283455,"filename":"image_01122025_08_45_15_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397175627","file1":"1397175580","file0":"1397175548","file4":"1397175709","file5":"1397175752","file3":"1397175666"},"map_files_photo_id_array":[{"photo_id":"1397175752","filename":"file5"},{"photo_id":"1397175627","filename":"file2"},{"photo_id":"1397175709","filename":"file4"},{"photo_id":"1397175580","filename":"file1"},{"photo_id":"1397175548","filename":"file0"},{"photo_id":"1397175666","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397175580":["hashtag1","hashtag2"]},{"1397175709":["hashtag1","hashtag2"]},{"1397175666":["hashtag1","hashtag2"]},{"1397175627":["hashtag1","hashtag2"]},{"1397175752":["hashtag1","hashtag2"]},{"1397175548":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397175580, 1397175709, 1397175666, 1397175627, 1397175752, 1397175548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0311222076416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 08:47:41.860355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/12/image_01112025_01_12_47_2759.jpg', '/home/pi/Desktop/images/01112025/01/12/image_01112025_01_12_50_2620.jpg', '/home/pi/Desktop/images/01112025/01/12/image_01112025_01_12_59_3613.jpg', '/home/pi/Desktop/images/01112025/01/13/image_01112025_01_13_05_2759.jpg', '/home/pi/Desktop/images/01112025/01/13/image_01112025_01_13_08_2637.jpg', '/home/pi/Desktop/images/01112025/01/13/image_01112025_01_13_20_2850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/12/image_01112025_01_12_47_2759.jpg
/home/pi/Desktop/images/01112025/01/12/image_01112025_01_12_50_2620.jpg
/home/pi/Desktop/images/01112025/01/12/image_01112025_01_12_59_3613.jpg
/home/pi/Desktop/images/01112025/01/13/image_01112025_01_13_05_2759.jpg
/home/pi/Desktop/images/01112025/01/13/image_01112025_01_13_08_2637.jpg
/home/pi/Desktop/images/01112025/01/13/image_01112025_01_13_20_2850.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397175874","1397175913","1397175907","1397175904","1397175915","1397175917"],"photo_ids_order":["1397175874","1397175904","1397175907","1397175913","1397175915","1397175917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4e83b863a434eacd87e376374c220a6a.jpg","text":"TemporaryFile(/tmp/multipartBody963490748571216887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575322722,"filename":"image_01112025_01_12_47_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/1/a6d168d21cf297302343f6c82daa050c.jpg","text":"TemporaryFile(/tmp/multipartBody2813720505355620904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575322722,"filename":"image_01112025_01_13_05_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/1/ab1a3ae2cd6f7b5fc489a28754d71249.jpg","text":"TemporaryFile(/tmp/multipartBody4487592126228586509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575322722,"filename":"image_01112025_01_12_59_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/43f6efd1606ca2f2412b401ee0bd66a1.jpg","text":"TemporaryFile(/tmp/multipartBody7167432769929208300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575322722,"filename":"image_01112025_01_12_50_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9725241d7af964c5d39ee23bda6ac478.jpg","text":"TemporaryFile(/tmp/multipartBody3376859636537177096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575322722,"filename":"image_01112025_01_13_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/1/0240fb92a29098a4a61de0eebce9309b.jpg","text":"TemporaryFile(/tmp/multipartBody7230853759170595072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575322722,"filename":"image_01112025_01_13_20_2850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397175907","file1":"1397175904","file0":"1397175874","file4":"1397175915","file5":"1397175917","file3":"1397175913"},"map_files_photo_id_array":[{"photo_id":"1397175917","filename":"file5"},{"photo_id":"1397175907","filename":"file2"},{"photo_id":"1397175915","filename":"file4"},{"photo_id":"1397175904","filename":"file1"},{"photo_id":"1397175874","filename":"file0"},{"photo_id":"1397175913","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397175874":["hashtag1","hashtag2"]},{"1397175913":["hashtag1","hashtag2"]},{"1397175907":["hashtag1","hashtag2"]},{"1397175904":["hashtag1","hashtag2"]},{"1397175915":["hashtag1","hashtag2"]},{"1397175917":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397175874, 1397175913, 1397175907, 1397175904, 1397175915, 1397175917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.520384073257446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 08:48:22.048531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/46/image_01122025_08_46_15_9618.jpg', '/home/pi/Desktop/images/01122025/08/46/image_01122025_08_46_26_10734.jpg', '/home/pi/Desktop/images/01122025/08/46/image_01122025_08_46_35_9702.jpg', '/home/pi/Desktop/images/01122025/08/46/image_01122025_08_46_45_9676.jpg', '/home/pi/Desktop/images/01122025/08/46/image_01122025_08_46_55_9712.jpg', '/home/pi/Desktop/images/01122025/08/46/image_01122025_08_47_05_10696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/46/image_01122025_08_46_15_9618.jpg
/home/pi/Desktop/images/01122025/08/46/image_01122025_08_46_26_10734.jpg
/home/pi/Desktop/images/01122025/08/46/image_01122025_08_46_35_9702.jpg
/home/pi/Desktop/images/01122025/08/46/image_01122025_08_46_45_9676.jpg
/home/pi/Desktop/images/01122025/08/46/image_01122025_08_46_55_9712.jpg
/home/pi/Desktop/images/01122025/08/46/image_01122025_08_47_05_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":["1397175926","1397175931","1397175936","1397175933","1397175929","1397175923"],"photo_ids_order":["1397175923","1397175926","1397175929","1397175931","1397175933","1397175936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/531c4d8b02124052ec9e6079477baf2b.jpg","text":"TemporaryFile(/tmp/multipartBody3823484058017186420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575362801,"filename":"image_01122025_08_46_26_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/090f90e7d51e28048995124eddf945c0.jpg","text":"TemporaryFile(/tmp/multipartBody3077358397904468212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575362801,"filename":"image_01122025_08_46_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/1/0c3fcd1d1535b6576c90cba3465bd2ab.jpg","text":"TemporaryFile(/tmp/multipartBody6545144067599956201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575362801,"filename":"image_01122025_08_47_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/1/f131249da269d907bee16cf7e7cb631c.jpg","text":"TemporaryFile(/tmp/multipartBody5068872118784324576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575362801,"filename":"image_01122025_08_46_55_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/92b5b27f92bc3ba21b2580de66ce0ce8.jpg","text":"TemporaryFile(/tmp/multipartBody7745883749900714954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575362801,"filename":"image_01122025_08_46_35_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fe7b8730dcb800832a4b48972e983c4a.jpg","text":"TemporaryFile(/tmp/multipartBody739877877525132965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575362801,"filename":"image_01122025_08_46_15_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397175929","file1":"1397175926","file0":"1397175923","file4":"1397175933","file5":"1397175936","file3":"1397175931"},"map_files_photo_id_array":[{"photo_id":"1397175936","filename":"file5"},{"photo_id":"1397175929","filename":"file2"},{"photo_id":"1397175933","filename":"file4"},{"photo_id":"1397175926","filename":"file1"},{"photo_id":"1397175923","filename":"file0"},{"photo_id":"1397175931","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397175926":["hashtag1","hashtag2"]},{"1397175931":["hashtag1","hashtag2"]},{"1397175936":["hashtag1","hashtag2"]},{"1397175933":["hashtag1","hashtag2"]},{"1397175929":["hashtag1","hashtag2"]},{"1397175923":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397175926, 1397175931, 1397175936, 1397175933, 1397175929, 1397175923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64525008201599 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:49:03.128016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/47/image_01122025_08_47_15_9645.jpg', '/home/pi/Desktop/images/01122025/08/47/image_01122025_08_47_25_9711.jpg', '/home/pi/Desktop/images/01122025/08/47/image_01122025_08_47_36_10843.jpg', '/home/pi/Desktop/images/01122025/08/47/image_01122025_08_47_45_9634.jpg', '/home/pi/Desktop/images/01122025/08/47/image_01122025_08_47_55_9753.jpg', '/home/pi/Desktop/images/01122025/08/47/image_01122025_08_48_05_9943.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/47/image_01122025_08_47_15_9645.jpg
/home/pi/Desktop/images/01122025/08/47/image_01122025_08_47_25_9711.jpg
/home/pi/Desktop/images/01122025/08/47/image_01122025_08_47_36_10843.jpg
/home/pi/Desktop/images/01122025/08/47/image_01122025_08_47_45_9634.jpg
/home/pi/Desktop/images/01122025/08/47/image_01122025_08_47_55_9753.jpg
/home/pi/Desktop/images/01122025/08/47/image_01122025_08_48_05_9943.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397175955","1397175943","1397175946","1397175949","1397175951","1397175953"],"photo_ids_order":["1397175943","1397175946","1397175949","1397175951","1397175953","1397175955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b29c8cdffa3bd2596ff499347b0005f3.jpg","text":"TemporaryFile(/tmp/multipartBody8858428369748452080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575404059,"filename":"image_01122025_08_48_05_9943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1b94fcb2c231d73b586d1b902f1fc977.jpg","text":"TemporaryFile(/tmp/multipartBody1388109854444916249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575404059,"filename":"image_01122025_08_47_15_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cd6eddedba9acceeb84f2c92779e2fad.jpg","text":"TemporaryFile(/tmp/multipartBody6631921300204601022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575404059,"filename":"image_01122025_08_47_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/1/ec92ac00e6a2660a49a4891533f3d6d5.jpg","text":"TemporaryFile(/tmp/multipartBody6872832808321680498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575404059,"filename":"image_01122025_08_47_36_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/1/899b2b8b0b73ae66410bdad16a625002.jpg","text":"TemporaryFile(/tmp/multipartBody5882894103592869168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575404059,"filename":"image_01122025_08_47_45_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/43255c7faf6178ad05a83df814875786.jpg","text":"TemporaryFile(/tmp/multipartBody2277576348921373296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575404059,"filename":"image_01122025_08_47_55_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397175949","file1":"1397175946","file0":"1397175943","file4":"1397175953","file5":"1397175955","file3":"1397175951"},"map_files_photo_id_array":[{"photo_id":"1397175955","filename":"file5"},{"photo_id":"1397175949","filename":"file2"},{"photo_id":"1397175953","filename":"file4"},{"photo_id":"1397175946","filename":"file1"},{"photo_id":"1397175943","filename":"file0"},{"photo_id":"1397175951","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397175955":["hashtag1","hashtag2"]},{"1397175943":["hashtag1","hashtag2"]},{"1397175946":["hashtag1","hashtag2"]},{"1397175949":["hashtag1","hashtag2"]},{"1397175951":["hashtag1","hashtag2"]},{"1397175953":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397175955, 1397175943, 1397175946, 1397175949, 1397175951, 1397175953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31401062011719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 08:49:42.207794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/13/image_01112025_01_13_23_3779.jpg', '/home/pi/Desktop/images/01112025/01/13/image_01112025_01_13_26_2645.jpg', '/home/pi/Desktop/images/01112025/01/13/image_01112025_01_13_29_2839.jpg', '/home/pi/Desktop/images/01112025/01/13/image_01112025_01_13_32_3012.jpg', '/home/pi/Desktop/images/01112025/01/13/image_01112025_01_13_35_2836.jpg', '/home/pi/Desktop/images/01112025/01/13/image_01112025_01_13_47_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/13/image_01112025_01_13_23_3779.jpg
/home/pi/Desktop/images/01112025/01/13/image_01112025_01_13_26_2645.jpg
/home/pi/Desktop/images/01112025/01/13/image_01112025_01_13_29_2839.jpg
/home/pi/Desktop/images/01112025/01/13/image_01112025_01_13_32_3012.jpg
/home/pi/Desktop/images/01112025/01/13/image_01112025_01_13_35_2836.jpg
/home/pi/Desktop/images/01112025/01/13/image_01112025_01_13_47_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":["1397175973","1397175967","1397175969","1397175960","1397175963","1397175971"],"photo_ids_order":["1397175960","1397175963","1397175967","1397175969","1397175971","1397175973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a9e621f3d99c21c8bc55a382c386cbdd.jpg","text":"TemporaryFile(/tmp/multipartBody6421806370568248937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575443099,"filename":"image_01112025_01_13_47_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/1/1560b225a1a4c6bc1c12ea8161164735.jpg","text":"TemporaryFile(/tmp/multipartBody220993454487088368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575443099,"filename":"image_01112025_01_13_29_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/48b8b98ff5fd3de0cffbdba0329c9a07.jpg","text":"TemporaryFile(/tmp/multipartBody3067722357288497311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575443099,"filename":"image_01112025_01_13_32_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/1/c4756d743ad33d3089609fd22d6628cd.jpg","text":"TemporaryFile(/tmp/multipartBody1479266059473099083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575443099,"filename":"image_01112025_01_13_23_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/1/96ad2e1e2bb57f1b70307694455e0148.jpg","text":"TemporaryFile(/tmp/multipartBody9118742146302621828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575443099,"filename":"image_01112025_01_13_26_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/1/67421f84a0f003978892a2adda9b0519.jpg","text":"TemporaryFile(/tmp/multipartBody4376335196732152043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575443099,"filename":"image_01112025_01_13_35_2836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397175967","file1":"1397175963","file0":"1397175960","file4":"1397175971","file5":"1397175973","file3":"1397175969"},"map_files_photo_id_array":[{"photo_id":"1397175973","filename":"file5"},{"photo_id":"1397175967","filename":"file2"},{"photo_id":"1397175971","filename":"file4"},{"photo_id":"1397175963","filename":"file1"},{"photo_id":"1397175960","filename":"file0"},{"photo_id":"1397175969","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397175973":["hashtag1","hashtag2"]},{"1397175967":["hashtag1","hashtag2"]},{"1397175969":["hashtag1","hashtag2"]},{"1397175960":["hashtag1","hashtag2"]},{"1397175963":["hashtag1","hashtag2"]},{"1397175971":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397175973, 1397175967, 1397175969, 1397175960, 1397175963, 1397175971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28349423408508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 08:50:22.377688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/48/image_01122025_08_48_15_9837.jpg', '/home/pi/Desktop/images/01122025/08/48/image_01122025_08_48_26_10817.jpg', '/home/pi/Desktop/images/01122025/08/48/image_01122025_08_48_35_9772.jpg', '/home/pi/Desktop/images/01122025/08/48/image_01122025_08_48_45_9636.jpg', '/home/pi/Desktop/images/01122025/08/49/image_01122025_08_49_15_9778.jpg', '/home/pi/Desktop/images/01122025/08/49/image_01122025_08_49_25_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/48/image_01122025_08_48_15_9837.jpg
/home/pi/Desktop/images/01122025/08/48/image_01122025_08_48_26_10817.jpg
/home/pi/Desktop/images/01122025/08/48/image_01122025_08_48_35_9772.jpg
/home/pi/Desktop/images/01122025/08/48/image_01122025_08_48_45_9636.jpg
/home/pi/Desktop/images/01122025/08/49/image_01122025_08_49_15_9778.jpg
/home/pi/Desktop/images/01122025/08/49/image_01122025_08_49_25_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":["1397176024","1397176020","1397176017","1397175996","1397175992","1397176010"],"photo_ids_order":["1397175992","1397175996","1397176010","1397176017","1397176020","1397176024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5a6fe4dc8d02ac88b2c7e5fb664f87a7.jpg","text":"TemporaryFile(/tmp/multipartBody7855797093579432328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575483173,"filename":"image_01122025_08_49_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/1/7e93418a3c03f7feb1058834c86243b7.jpg","text":"TemporaryFile(/tmp/multipartBody2539093290574768921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575483173,"filename":"image_01122025_08_49_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/1/b1766f14ddc17a727fde526e5faa6ea6.jpg","text":"TemporaryFile(/tmp/multipartBody1114404625501235192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575483173,"filename":"image_01122025_08_48_45_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c5c7213b7f87dba7e09ec9fe945ae43e.jpg","text":"TemporaryFile(/tmp/multipartBody1987260147301231924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575483173,"filename":"image_01122025_08_48_26_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/1/77c9fd07a1510c77c3c1cdff7fe22ba3.jpg","text":"TemporaryFile(/tmp/multipartBody8800008577988690203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575483173,"filename":"image_01122025_08_48_15_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/07df3a22bb1322214974f62175af8dac.jpg","text":"TemporaryFile(/tmp/multipartBody9164667655492146938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575483173,"filename":"image_01122025_08_48_35_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397176010","file1":"1397175996","file0":"1397175992","file4":"1397176020","file5":"1397176024","file3":"1397176017"},"map_files_photo_id_array":[{"photo_id":"1397176024","filename":"file5"},{"photo_id":"1397176010","filename":"file2"},{"photo_id":"1397176020","filename":"file4"},{"photo_id":"1397175996","filename":"file1"},{"photo_id":"1397175992","filename":"file0"},{"photo_id":"1397176017","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397176024":["hashtag1","hashtag2"]},{"1397176020":["hashtag1","hashtag2"]},{"1397176017":["hashtag1","hashtag2"]},{"1397175996":["hashtag1","hashtag2"]},{"1397175992":["hashtag1","hashtag2"]},{"1397176010":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397176024, 1397176020, 1397176017, 1397175996, 1397175992, 1397176010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45644450187683 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:51:03.217971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/49/image_01122025_08_49_35_10582.jpg', '/home/pi/Desktop/images/01122025/08/49/image_01122025_08_49_45_9734.jpg', '/home/pi/Desktop/images/01122025/08/49/image_01122025_08_49_55_9656.jpg', '/home/pi/Desktop/images/01122025/08/49/image_01122025_08_50_05_10838.jpg', '/home/pi/Desktop/images/01122025/08/50/image_01122025_08_50_15_9702.jpg', '/home/pi/Desktop/images/01122025/08/50/image_01122025_08_50_25_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/49/image_01122025_08_49_35_10582.jpg
/home/pi/Desktop/images/01122025/08/49/image_01122025_08_49_45_9734.jpg
/home/pi/Desktop/images/01122025/08/49/image_01122025_08_49_55_9656.jpg
/home/pi/Desktop/images/01122025/08/49/image_01122025_08_50_05_10838.jpg
/home/pi/Desktop/images/01122025/08/50/image_01122025_08_50_15_9702.jpg
/home/pi/Desktop/images/01122025/08/50/image_01122025_08_50_25_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":["1397176042","1397176058","1397176052","1397176055","1397176028","1397176054"],"photo_ids_order":["1397176028","1397176042","1397176052","1397176054","1397176055","1397176058"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/10789ceab68f5787facd93edcdb58d12.jpg","text":"TemporaryFile(/tmp/multipartBody698355113859335014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575524107,"filename":"image_01122025_08_49_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/1/64e1baa6cac546a94f7835969ba546d8.jpg","text":"TemporaryFile(/tmp/multipartBody6036343778800193862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575524107,"filename":"image_01122025_08_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/1/06df9b5de3a4e806bb50bcf7ea77c51f.jpg","text":"TemporaryFile(/tmp/multipartBody8834221623747821787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575524107,"filename":"image_01122025_08_49_55_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f81458111b0ceb0724e66e2fd7f96125.jpg","text":"TemporaryFile(/tmp/multipartBody9202458984815124211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575524107,"filename":"image_01122025_08_50_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/1/606650078ad42e298dc45c7cf98fb635.jpg","text":"TemporaryFile(/tmp/multipartBody1514815775925474927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575524107,"filename":"image_01122025_08_49_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/1/c923d4b730865e6ee73f755dea5c607c.jpg","text":"TemporaryFile(/tmp/multipartBody7745494678303101307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575524107,"filename":"image_01122025_08_50_05_10838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397176052","file1":"1397176042","file0":"1397176028","file4":"1397176055","file5":"1397176058","file3":"1397176054"},"map_files_photo_id_array":[{"photo_id":"1397176058","filename":"file5"},{"photo_id":"1397176052","filename":"file2"},{"photo_id":"1397176055","filename":"file4"},{"photo_id":"1397176042","filename":"file1"},{"photo_id":"1397176028","filename":"file0"},{"photo_id":"1397176054","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397176042":["hashtag1","hashtag2"]},{"1397176058":["hashtag1","hashtag2"]},{"1397176052":["hashtag1","hashtag2"]},{"1397176055":["hashtag1","hashtag2"]},{"1397176028":["hashtag1","hashtag2"]},{"1397176054":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397176042, 1397176058, 1397176052, 1397176055, 1397176028, 1397176054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.908990144729614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 08:51:42.556825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/13/image_01112025_01_13_50_2692.jpg', '/home/pi/Desktop/images/01112025/01/13/image_01112025_01_13_53_2587.jpg', '/home/pi/Desktop/images/01112025/01/13/image_01112025_01_13_56_3791.jpg', '/home/pi/Desktop/images/01112025/01/13/image_01112025_01_13_59_2718.jpg', '/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_02_2544.jpg', '/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_05_3693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/13/image_01112025_01_13_50_2692.jpg
/home/pi/Desktop/images/01112025/01/13/image_01112025_01_13_53_2587.jpg
/home/pi/Desktop/images/01112025/01/13/image_01112025_01_13_56_3791.jpg
/home/pi/Desktop/images/01112025/01/13/image_01112025_01_13_59_2718.jpg
/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_02_2544.jpg
/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_05_3693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397176063","1397176065","1397176062","1397176088","1397176067","1397176124"],"photo_ids_order":["1397176062","1397176063","1397176065","1397176067","1397176088","1397176124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/07ed9c65d7abe8cf5f8814d981a2d27f.jpg","text":"TemporaryFile(/tmp/multipartBody1035509638982954719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575563644,"filename":"image_01112025_01_13_53_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/1/c8d3f5339fa35e833f37ed1779f90a92.jpg","text":"TemporaryFile(/tmp/multipartBody5656077360606364500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575563644,"filename":"image_01112025_01_13_56_3791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/307fd9c203af6b4d21777bb5d004778c.jpg","text":"TemporaryFile(/tmp/multipartBody3761174927303601059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575563644,"filename":"image_01112025_01_13_50_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/1/10312c18d3be51a155716978d0bf1b66.jpg","text":"TemporaryFile(/tmp/multipartBody2184862450724206852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575563644,"filename":"image_01112025_01_14_02_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8a2669fc35e4df20c85759c1db265aa6.jpg","text":"TemporaryFile(/tmp/multipartBody8430599491035152970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575563644,"filename":"image_01112025_01_13_59_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/1/306082ecc562fac82eb6ba109024ff82.jpg","text":"TemporaryFile(/tmp/multipartBody3045599673007031234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575563644,"filename":"image_01112025_01_14_05_3693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397176065","file1":"1397176063","file0":"1397176062","file4":"1397176088","file5":"1397176124","file3":"1397176067"},"map_files_photo_id_array":[{"photo_id":"1397176124","filename":"file5"},{"photo_id":"1397176065","filename":"file2"},{"photo_id":"1397176088","filename":"file4"},{"photo_id":"1397176063","filename":"file1"},{"photo_id":"1397176062","filename":"file0"},{"photo_id":"1397176067","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397176063":["hashtag1","hashtag2"]},{"1397176065":["hashtag1","hashtag2"]},{"1397176062":["hashtag1","hashtag2"]},{"1397176088":["hashtag1","hashtag2"]},{"1397176067":["hashtag1","hashtag2"]},{"1397176124":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397176063, 1397176065, 1397176062, 1397176088, 1397176067, 1397176124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16982889175415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 08:52:22.790214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/50/image_01122025_08_50_35_9742.jpg', '/home/pi/Desktop/images/01122025/08/50/image_01122025_08_50_45_10712.jpg', '/home/pi/Desktop/images/01122025/08/50/image_01122025_08_50_55_9681.jpg', '/home/pi/Desktop/images/01122025/08/50/image_01122025_08_51_05_9776.jpg', '/home/pi/Desktop/images/01122025/08/51/image_01122025_08_51_16_10716.jpg', '/home/pi/Desktop/images/01122025/08/51/image_01122025_08_51_25_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/50/image_01122025_08_50_35_9742.jpg
/home/pi/Desktop/images/01122025/08/50/image_01122025_08_50_45_10712.jpg
/home/pi/Desktop/images/01122025/08/50/image_01122025_08_50_55_9681.jpg
/home/pi/Desktop/images/01122025/08/50/image_01122025_08_51_05_9776.jpg
/home/pi/Desktop/images/01122025/08/51/image_01122025_08_51_16_10716.jpg
/home/pi/Desktop/images/01122025/08/51/image_01122025_08_51_25_9735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397176233","1397176230","1397176224","1397176218","1397176226","1397176220"],"photo_ids_order":["1397176218","1397176220","1397176224","1397176226","1397176230","1397176233"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3669b93a8447be88624395bcffed8b0f.jpg","text":"TemporaryFile(/tmp/multipartBody6267013046667878572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575603523,"filename":"image_01122025_08_51_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/1/01eb0ac0ae3bcc968e08348c892d136d.jpg","text":"TemporaryFile(/tmp/multipartBody1698913846769727834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575603523,"filename":"image_01122025_08_51_16_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/1/14487d0f48c46d5b5df568033e3b08c0.jpg","text":"TemporaryFile(/tmp/multipartBody9142270451747358297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575603523,"filename":"image_01122025_08_50_55_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/128bcdf6da042a00ac6eb754c88d673e.jpg","text":"TemporaryFile(/tmp/multipartBody8466107707677759172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575603523,"filename":"image_01122025_08_50_35_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7c4eaee0fced2ccfaf8c8b17dae3591b.jpg","text":"TemporaryFile(/tmp/multipartBody7910791614487468402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575603523,"filename":"image_01122025_08_51_05_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5028c4cffdb891407a850260a57f9d47.jpg","text":"TemporaryFile(/tmp/multipartBody3187244450780234911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575603523,"filename":"image_01122025_08_50_45_10712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397176224","file1":"1397176220","file0":"1397176218","file4":"1397176230","file5":"1397176233","file3":"1397176226"},"map_files_photo_id_array":[{"photo_id":"1397176233","filename":"file5"},{"photo_id":"1397176224","filename":"file2"},{"photo_id":"1397176230","filename":"file4"},{"photo_id":"1397176220","filename":"file1"},{"photo_id":"1397176218","filename":"file0"},{"photo_id":"1397176226","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397176233":["hashtag1","hashtag2"]},{"1397176230":["hashtag1","hashtag2"]},{"1397176224":["hashtag1","hashtag2"]},{"1397176218":["hashtag1","hashtag2"]},{"1397176226":["hashtag1","hashtag2"]},{"1397176220":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397176233, 1397176230, 1397176224, 1397176218, 1397176226, 1397176220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66714692115784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:53:02.497497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/51/image_01122025_08_51_35_9610.jpg', '/home/pi/Desktop/images/01122025/08/51/image_01122025_08_51_55_9652.jpg', '/home/pi/Desktop/images/01122025/08/51/image_01122025_08_52_05_9708.jpg', '/home/pi/Desktop/images/01122025/08/52/image_01122025_08_52_35_9712.jpg', '/home/pi/Desktop/images/01122025/08/52/image_01122025_08_52_45_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/51/image_01122025_08_51_35_9610.jpg
/home/pi/Desktop/images/01122025/08/51/image_01122025_08_51_55_9652.jpg
/home/pi/Desktop/images/01122025/08/51/image_01122025_08_52_05_9708.jpg
/home/pi/Desktop/images/01122025/08/52/image_01122025_08_52_35_9712.jpg
/home/pi/Desktop/images/01122025/08/52/image_01122025_08_52_45_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":["1397176251","1397176245","1397176248","1397176250","1397176241"],"photo_ids_order":["1397176241","1397176245","1397176248","1397176250","1397176251"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3cbe33abc0e79e8b98d8a9d63ef7e90c.jpg","text":"TemporaryFile(/tmp/multipartBody8370467623260810818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575643267,"filename":"image_01122025_08_52_45_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5b815524c3b27d1896a556286a17b4bf.jpg","text":"TemporaryFile(/tmp/multipartBody4531305744414147422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575643267,"filename":"image_01122025_08_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/1/0882ec9d5fd9af530ee3052ecf5798ae.jpg","text":"TemporaryFile(/tmp/multipartBody3856236607725918521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575643267,"filename":"image_01122025_08_52_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/1/ea13afcac6483460f8d66ec890b4fab3.jpg","text":"TemporaryFile(/tmp/multipartBody3495500437653713248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575643267,"filename":"image_01122025_08_52_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/1/5109180ee20df86459bf9dfb86647442.jpg","text":"TemporaryFile(/tmp/multipartBody414521983598648292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575643267,"filename":"image_01122025_08_51_35_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397176248","file1":"1397176245","file0":"1397176241","file4":"1397176251","file3":"1397176250"},"map_files_photo_id_array":[{"photo_id":"1397176248","filename":"file2"},{"photo_id":"1397176251","filename":"file4"},{"photo_id":"1397176245","filename":"file1"},{"photo_id":"1397176241","filename":"file0"},{"photo_id":"1397176250","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397176251":["hashtag1","hashtag2"]},{"1397176245":["hashtag1","hashtag2"]},{"1397176248":["hashtag1","hashtag2"]},{"1397176250":["hashtag1","hashtag2"]},{"1397176241":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397176251, 1397176245, 1397176248, 1397176250, 1397176241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.96159338951111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 08:53:41.970546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_08_2581.jpg', '/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_20_2659.jpg', '/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_26_2937.jpg', '/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_29_3709.jpg', '/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_32_2621.jpg', '/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_35_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_08_2581.jpg
/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_20_2659.jpg
/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_26_2937.jpg
/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_29_3709.jpg
/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_32_2621.jpg
/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_35_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":["1397176264","1397176266","1397176257","1397176268","1397176262","1397176270"],"photo_ids_order":["1397176257","1397176262","1397176264","1397176266","1397176268","1397176270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/536384fff4a28e5c8379df69861ad7ba.jpg","text":"TemporaryFile(/tmp/multipartBody7490059685281379479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575682858,"filename":"image_01112025_01_14_26_2937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/49964280b3456e4412cd99e40174ed54.jpg","text":"TemporaryFile(/tmp/multipartBody8148933304381682836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575682858,"filename":"image_01112025_01_14_29_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/1/762220de48bc4312132f30fff25c348a.jpg","text":"TemporaryFile(/tmp/multipartBody4486742435105080274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575682858,"filename":"image_01112025_01_14_08_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/1/87a1cb32e13a194cf24e95b708a04105.jpg","text":"TemporaryFile(/tmp/multipartBody316700282922590895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575682858,"filename":"image_01112025_01_14_32_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/1/f6fe87b5f704546b5935964615a721f0.jpg","text":"TemporaryFile(/tmp/multipartBody1040928821820259595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575682858,"filename":"image_01112025_01_14_20_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/1/50046e32176dfdc994bf7e9fe35c1d06.jpg","text":"TemporaryFile(/tmp/multipartBody6651325060757456074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575682858,"filename":"image_01112025_01_14_35_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397176264","file1":"1397176262","file0":"1397176257","file4":"1397176268","file5":"1397176270","file3":"1397176266"},"map_files_photo_id_array":[{"photo_id":"1397176270","filename":"file5"},{"photo_id":"1397176264","filename":"file2"},{"photo_id":"1397176268","filename":"file4"},{"photo_id":"1397176262","filename":"file1"},{"photo_id":"1397176257","filename":"file0"},{"photo_id":"1397176266","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397176264":["hashtag1","hashtag2"]},{"1397176266":["hashtag1","hashtag2"]},{"1397176257":["hashtag1","hashtag2"]},{"1397176268":["hashtag1","hashtag2"]},{"1397176262":["hashtag1","hashtag2"]},{"1397176270":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397176264, 1397176266, 1397176257, 1397176268, 1397176262, 1397176270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96140265464783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 08:54:22.251301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/52/image_01122025_08_52_55_10575.jpg', '/home/pi/Desktop/images/01122025/08/52/image_01122025_08_53_05_9560.jpg', '/home/pi/Desktop/images/01122025/08/53/image_01122025_08_53_15_10581.jpg', '/home/pi/Desktop/images/01122025/08/53/image_01122025_08_53_25_9752.jpg', '/home/pi/Desktop/images/01122025/08/53/image_01122025_08_53_35_9642.jpg', '/home/pi/Desktop/images/01122025/08/53/image_01122025_08_53_45_10585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/52/image_01122025_08_52_55_10575.jpg
/home/pi/Desktop/images/01122025/08/52/image_01122025_08_53_05_9560.jpg
/home/pi/Desktop/images/01122025/08/53/image_01122025_08_53_15_10581.jpg
/home/pi/Desktop/images/01122025/08/53/image_01122025_08_53_25_9752.jpg
/home/pi/Desktop/images/01122025/08/53/image_01122025_08_53_35_9642.jpg
/home/pi/Desktop/images/01122025/08/53/image_01122025_08_53_45_10585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397176281","1397176293","1397176314","1397176277","1397176279","1397176288"],"photo_ids_order":["1397176277","1397176279","1397176281","1397176288","1397176293","1397176314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1eaf633c41ca2b24254b6970dc246ce4.jpg","text":"TemporaryFile(/tmp/multipartBody46793493882270503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575723005,"filename":"image_01122025_08_53_15_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ead0ca04e08a527f5884b22d8c1797ad.jpg","text":"TemporaryFile(/tmp/multipartBody4978479530143702350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575723005,"filename":"image_01122025_08_53_35_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4598419a54771f1cdf6cd815d1a4bd90.jpg","text":"TemporaryFile(/tmp/multipartBody8881059193455205550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575723005,"filename":"image_01122025_08_53_45_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/713a25cb4c8f2902ced5ef4a1bb8cfcd.jpg","text":"TemporaryFile(/tmp/multipartBody5624571734650036454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575723005,"filename":"image_01122025_08_52_55_10575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/998bc0f461febe8bb1212561e499b9c0.jpg","text":"TemporaryFile(/tmp/multipartBody7348659614813873043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575723005,"filename":"image_01122025_08_53_05_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7702f3e0aaf8a0000cf0e1e0d2dff504.jpg","text":"TemporaryFile(/tmp/multipartBody1787115343957073489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575723005,"filename":"image_01122025_08_53_25_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397176281","file1":"1397176279","file0":"1397176277","file4":"1397176293","file5":"1397176314","file3":"1397176288"},"map_files_photo_id_array":[{"photo_id":"1397176314","filename":"file5"},{"photo_id":"1397176281","filename":"file2"},{"photo_id":"1397176293","filename":"file4"},{"photo_id":"1397176279","filename":"file1"},{"photo_id":"1397176277","filename":"file0"},{"photo_id":"1397176288","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397176281":["hashtag1","hashtag2"]},{"1397176293":["hashtag1","hashtag2"]},{"1397176314":["hashtag1","hashtag2"]},{"1397176277":["hashtag1","hashtag2"]},{"1397176279":["hashtag1","hashtag2"]},{"1397176288":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397176281, 1397176293, 1397176314, 1397176277, 1397176279, 1397176288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22250843048096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:55:03.057272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/53/image_01122025_08_53_55_9798.jpg', '/home/pi/Desktop/images/01122025/08/53/image_01122025_08_54_05_9893.jpg', '/home/pi/Desktop/images/01122025/08/54/image_01122025_08_54_15_9780.jpg', '/home/pi/Desktop/images/01122025/08/54/image_01122025_08_54_26_10565.jpg', '/home/pi/Desktop/images/01122025/08/54/image_01122025_08_54_35_9746.jpg', '/home/pi/Desktop/images/01122025/08/54/image_01122025_08_54_45_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/53/image_01122025_08_53_55_9798.jpg
/home/pi/Desktop/images/01122025/08/53/image_01122025_08_54_05_9893.jpg
/home/pi/Desktop/images/01122025/08/54/image_01122025_08_54_15_9780.jpg
/home/pi/Desktop/images/01122025/08/54/image_01122025_08_54_26_10565.jpg
/home/pi/Desktop/images/01122025/08/54/image_01122025_08_54_35_9746.jpg
/home/pi/Desktop/images/01122025/08/54/image_01122025_08_54_45_9751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397176345","1397176339","1397176341","1397176329","1397176337","1397176334"],"photo_ids_order":["1397176329","1397176334","1397176337","1397176339","1397176341","1397176345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/178eb7958312e0f40a8f8df8f5413f22.jpg","text":"TemporaryFile(/tmp/multipartBody7340537230749767188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575763930,"filename":"image_01122025_08_54_45_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fcfab9a34350072b13ff2ed5b2912966.jpg","text":"TemporaryFile(/tmp/multipartBody3499538977714778840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575763930,"filename":"image_01122025_08_54_26_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3ab664485db886de9e906ace06e5ae10.jpg","text":"TemporaryFile(/tmp/multipartBody7758584068686222977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575763930,"filename":"image_01122025_08_54_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/1/6c68c3192c59c8363fab8194547cc1ae.jpg","text":"TemporaryFile(/tmp/multipartBody1640386961553387948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575763930,"filename":"image_01122025_08_53_55_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8ef70e9a5bf7863050870b5ac8f4418a.jpg","text":"TemporaryFile(/tmp/multipartBody2476499597783507838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575763930,"filename":"image_01122025_08_54_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/1/19b0b4b9285b3569a405381ad219116a.jpg","text":"TemporaryFile(/tmp/multipartBody5230162854680353534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575763930,"filename":"image_01122025_08_54_05_9893.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397176337","file1":"1397176334","file0":"1397176329","file4":"1397176341","file5":"1397176345","file3":"1397176339"},"map_files_photo_id_array":[{"photo_id":"1397176345","filename":"file5"},{"photo_id":"1397176337","filename":"file2"},{"photo_id":"1397176341","filename":"file4"},{"photo_id":"1397176334","filename":"file1"},{"photo_id":"1397176329","filename":"file0"},{"photo_id":"1397176339","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397176345":["hashtag1","hashtag2"]},{"1397176339":["hashtag1","hashtag2"]},{"1397176341":["hashtag1","hashtag2"]},{"1397176329":["hashtag1","hashtag2"]},{"1397176337":["hashtag1","hashtag2"]},{"1397176334":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397176345, 1397176339, 1397176341, 1397176329, 1397176337, 1397176334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55963659286499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 08:55:42.333766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_38_3823.jpg', '/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_41_2544.jpg', '/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_44_2613.jpg', '/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_47_3703.jpg', '/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_50_2817.jpg', '/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_56_2924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_38_3823.jpg
/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_41_2544.jpg
/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_44_2613.jpg
/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_47_3703.jpg
/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_50_2817.jpg
/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_56_2924.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8206439018249512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:56:02.963534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/54/image_01122025_08_54_55_9792.jpg', '/home/pi/Desktop/images/01122025/08/55/image_01122025_08_55_15_9673.jpg', '/home/pi/Desktop/images/01122025/08/55/image_01122025_08_55_25_9629.jpg', '/home/pi/Desktop/images/01122025/08/55/image_01122025_08_55_36_10611.jpg', '/home/pi/Desktop/images/01122025/08/55/image_01122025_08_55_45_9576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/54/image_01122025_08_54_55_9792.jpg
/home/pi/Desktop/images/01122025/08/55/image_01122025_08_55_15_9673.jpg
/home/pi/Desktop/images/01122025/08/55/image_01122025_08_55_25_9629.jpg
/home/pi/Desktop/images/01122025/08/55/image_01122025_08_55_36_10611.jpg
/home/pi/Desktop/images/01122025/08/55/image_01122025_08_55_45_9576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397176357","1397176362","1397176365","1397176359","1397176368"],"photo_ids_order":["1397176357","1397176359","1397176362","1397176365","1397176368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3516db0bb91674c47aa638988aa08159.jpg","text":"TemporaryFile(/tmp/multipartBody4849958692235004033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575823703,"filename":"image_01122025_08_54_55_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/04c5a4acecfca7af5d988131a0cccc94.jpg","text":"TemporaryFile(/tmp/multipartBody4597650901436932417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575823703,"filename":"image_01122025_08_55_25_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7e77e2cd2e1432837b8e58c4b5f512db.jpg","text":"TemporaryFile(/tmp/multipartBody8948866561878214125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575823703,"filename":"image_01122025_08_55_36_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/1/5a803c7a12eb19401c1c730187998c76.jpg","text":"TemporaryFile(/tmp/multipartBody2806761421972178642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575823703,"filename":"image_01122025_08_55_15_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7afe003e319fff16dff3f06eaf532e3d.jpg","text":"TemporaryFile(/tmp/multipartBody5456102714764561773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575823703,"filename":"image_01122025_08_55_45_9576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397176362","file1":"1397176359","file0":"1397176357","file4":"1397176368","file3":"1397176365"},"map_files_photo_id_array":[{"photo_id":"1397176362","filename":"file2"},{"photo_id":"1397176368","filename":"file4"},{"photo_id":"1397176359","filename":"file1"},{"photo_id":"1397176357","filename":"file0"},{"photo_id":"1397176365","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397176357":["hashtag1","hashtag2"]},{"1397176362":["hashtag1","hashtag2"]},{"1397176365":["hashtag1","hashtag2"]},{"1397176359":["hashtag1","hashtag2"]},{"1397176368":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397176357, 1397176362, 1397176365, 1397176359, 1397176368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.10716772079468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 08:56:42.530186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_38_3823.jpg', '/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_41_2544.jpg', '/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_44_2613.jpg', '/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_47_3703.jpg', '/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_50_2817.jpg', '/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_56_2924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_38_3823.jpg
/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_41_2544.jpg
/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_44_2613.jpg
/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_47_3703.jpg
/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_50_2817.jpg
/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_56_2924.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397176420","1397176414","1397176417","1397176416","1397176412","1397176415"],"photo_ids_order":["1397176412","1397176414","1397176415","1397176416","1397176417","1397176420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/60461946394c22dbe9de63cd9650fae7.jpg","text":"TemporaryFile(/tmp/multipartBody2830867828985942511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575863274,"filename":"image_01112025_01_14_56_2924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/be1d9620806a89d9110ee04d1f877926.jpg","text":"TemporaryFile(/tmp/multipartBody6426100467085563250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575863274,"filename":"image_01112025_01_14_41_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/1/ee5ffaeab28cf4e646b501549e2a510a.jpg","text":"TemporaryFile(/tmp/multipartBody7761983657995435045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575863274,"filename":"image_01112025_01_14_50_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1d8c676110a8ba6e19b6d1f5ca34ec37.jpg","text":"TemporaryFile(/tmp/multipartBody7681180256558365145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575863274,"filename":"image_01112025_01_14_47_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/1/acc1b6f8cf6efcc90f782205c6120465.jpg","text":"TemporaryFile(/tmp/multipartBody1304888911800908470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575863274,"filename":"image_01112025_01_14_38_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/1/ec91de0f3184bd57f6f7ddd260ca3fb7.jpg","text":"TemporaryFile(/tmp/multipartBody3470448567654341421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575863274,"filename":"image_01112025_01_14_44_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397176415","file1":"1397176414","file0":"1397176412","file4":"1397176417","file5":"1397176420","file3":"1397176416"},"map_files_photo_id_array":[{"photo_id":"1397176420","filename":"file5"},{"photo_id":"1397176415","filename":"file2"},{"photo_id":"1397176417","filename":"file4"},{"photo_id":"1397176414","filename":"file1"},{"photo_id":"1397176412","filename":"file0"},{"photo_id":"1397176416","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397176420":["hashtag1","hashtag2"]},{"1397176414":["hashtag1","hashtag2"]},{"1397176417":["hashtag1","hashtag2"]},{"1397176416":["hashtag1","hashtag2"]},{"1397176412":["hashtag1","hashtag2"]},{"1397176415":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397176420, 1397176414, 1397176417, 1397176416, 1397176412, 1397176415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82091450691223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 08:57:22.735507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/55/image_01122025_08_55_55_9691.jpg', '/home/pi/Desktop/images/01122025/08/55/image_01122025_08_56_05_9929.jpg', '/home/pi/Desktop/images/01122025/08/56/image_01122025_08_56_15_10631.jpg', '/home/pi/Desktop/images/01122025/08/56/image_01122025_08_56_25_9610.jpg', '/home/pi/Desktop/images/01122025/08/56/image_01122025_08_56_36_10630.jpg', '/home/pi/Desktop/images/01122025/08/56/image_01122025_08_56_45_9591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/55/image_01122025_08_55_55_9691.jpg
/home/pi/Desktop/images/01122025/08/55/image_01122025_08_56_05_9929.jpg
/home/pi/Desktop/images/01122025/08/56/image_01122025_08_56_15_10631.jpg
/home/pi/Desktop/images/01122025/08/56/image_01122025_08_56_25_9610.jpg
/home/pi/Desktop/images/01122025/08/56/image_01122025_08_56_36_10630.jpg
/home/pi/Desktop/images/01122025/08/56/image_01122025_08_56_45_9591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397176447","1397176441","1397176438","1397176443","1397176445","1397176430"],"photo_ids_order":["1397176430","1397176438","1397176441","1397176443","1397176445","1397176447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3071da2d45758d2897330623aeab4803.jpg","text":"TemporaryFile(/tmp/multipartBody9119814048817240421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575903445,"filename":"image_01122025_08_56_45_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a0d2b33993a8398b5ef34b96f185eda8.jpg","text":"TemporaryFile(/tmp/multipartBody8089850024739318417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575903445,"filename":"image_01122025_08_56_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/1/05c85c7988a3137ea539361a69bc94ec.jpg","text":"TemporaryFile(/tmp/multipartBody1994209045068533192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575903445,"filename":"image_01122025_08_56_05_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/1/4760546b80a15b9975bfa5b9ce778299.jpg","text":"TemporaryFile(/tmp/multipartBody494048316194155194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575903445,"filename":"image_01122025_08_56_25_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8efaa3711e8c2b105e3ee95379551df6.jpg","text":"TemporaryFile(/tmp/multipartBody6328602844842239751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575903445,"filename":"image_01122025_08_56_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/1/3d9977af2b4306cdcb5c316e46e00bdf.jpg","text":"TemporaryFile(/tmp/multipartBody8788245218576890311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764575903445,"filename":"image_01122025_08_55_55_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397176441","file1":"1397176438","file0":"1397176430","file4":"1397176445","file5":"1397176447","file3":"1397176443"},"map_files_photo_id_array":[{"photo_id":"1397176447","filename":"file5"},{"photo_id":"1397176441","filename":"file2"},{"photo_id":"1397176445","filename":"file4"},{"photo_id":"1397176438","filename":"file1"},{"photo_id":"1397176430","filename":"file0"},{"photo_id":"1397176443","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397176447":["hashtag1","hashtag2"]},{"1397176441":["hashtag1","hashtag2"]},{"1397176438":["hashtag1","hashtag2"]},{"1397176443":["hashtag1","hashtag2"]},{"1397176445":["hashtag1","hashtag2"]},{"1397176430":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397176447, 1397176441, 1397176438, 1397176443, 1397176445, 1397176430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92843747138977 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 08:59:02.970085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/56/image_01122025_08_56_55_9500.jpg', '/home/pi/Desktop/images/01122025/08/56/image_01122025_08_57_05_10665.jpg', '/home/pi/Desktop/images/01122025/08/57/image_01122025_08_57_15_9744.jpg', '/home/pi/Desktop/images/01122025/08/57/image_01122025_08_57_25_9612.jpg', '/home/pi/Desktop/images/01122025/08/57/image_01122025_08_57_35_10631.jpg', '/home/pi/Desktop/images/01122025/08/57/image_01122025_08_57_45_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/56/image_01122025_08_56_55_9500.jpg
/home/pi/Desktop/images/01122025/08/56/image_01122025_08_57_05_10665.jpg
/home/pi/Desktop/images/01122025/08/57/image_01122025_08_57_15_9744.jpg
/home/pi/Desktop/images/01122025/08/57/image_01122025_08_57_25_9612.jpg
/home/pi/Desktop/images/01122025/08/57/image_01122025_08_57_35_10631.jpg
/home/pi/Desktop/images/01122025/08/57/image_01122025_08_57_45_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397176474","1397176455","1397176479","1397176470","1397176465","1397176459"],"photo_ids_order":["1397176455","1397176459","1397176465","1397176470","1397176474","1397176479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9ce2299d085a74d565c95a3e65f2f762.jpg","text":"TemporaryFile(/tmp/multipartBody3798836445299011244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576003755,"filename":"image_01122025_08_57_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/1/36f81c3e8e1fd9ded21643464b1dac79.jpg","text":"TemporaryFile(/tmp/multipartBody3831489873996135848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576003755,"filename":"image_01122025_08_56_55_9500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/aef75209b4faf5a29ba911a9c19ec52a.jpg","text":"TemporaryFile(/tmp/multipartBody6529756556225149183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576003755,"filename":"image_01122025_08_57_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/1/d86b2179f1a4ec54cb952f8d38ce5d53.jpg","text":"TemporaryFile(/tmp/multipartBody6296059517762518126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576003755,"filename":"image_01122025_08_57_25_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c12e03685fd61b357d9eae16d468b83d.jpg","text":"TemporaryFile(/tmp/multipartBody1847491527313289127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576003755,"filename":"image_01122025_08_57_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/1/f93073edb21fa39b01eb81057cc34702.jpg","text":"TemporaryFile(/tmp/multipartBody7964514583257055841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576003755,"filename":"image_01122025_08_57_05_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397176465","file1":"1397176459","file0":"1397176455","file4":"1397176474","file5":"1397176479","file3":"1397176470"},"map_files_photo_id_array":[{"photo_id":"1397176479","filename":"file5"},{"photo_id":"1397176465","filename":"file2"},{"photo_id":"1397176474","filename":"file4"},{"photo_id":"1397176459","filename":"file1"},{"photo_id":"1397176455","filename":"file0"},{"photo_id":"1397176470","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397176474":["hashtag1","hashtag2"]},{"1397176455":["hashtag1","hashtag2"]},{"1397176479":["hashtag1","hashtag2"]},{"1397176470":["hashtag1","hashtag2"]},{"1397176465":["hashtag1","hashtag2"]},{"1397176459":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397176474, 1397176455, 1397176479, 1397176470, 1397176465, 1397176459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89833664894104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 08:59:41.995561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_58_2620.jpg', '/home/pi/Desktop/images/01112025/01/15/image_01112025_01_15_06_7964.jpg', '/home/pi/Desktop/images/01112025/01/15/image_01112025_01_15_08_1601.jpg', '/home/pi/Desktop/images/01112025/01/15/image_01112025_01_15_10_1941.jpg', '/home/pi/Desktop/images/01112025/01/15/image_01112025_01_15_19_8581.jpg', '/home/pi/Desktop/images/01112025/01/15/image_01112025_01_15_20_1758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/14/image_01112025_01_14_58_2620.jpg
/home/pi/Desktop/images/01112025/01/15/image_01112025_01_15_06_7964.jpg
/home/pi/Desktop/images/01112025/01/15/image_01112025_01_15_08_1601.jpg
/home/pi/Desktop/images/01112025/01/15/image_01112025_01_15_10_1941.jpg
/home/pi/Desktop/images/01112025/01/15/image_01112025_01_15_19_8581.jpg
/home/pi/Desktop/images/01112025/01/15/image_01112025_01_15_20_1758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397176501","1397176491","1397176497","1397176499","1397176487","1397176495"],"photo_ids_order":["1397176487","1397176491","1397176495","1397176497","1397176499","1397176501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b3567ea8018fbf969a73b38f3ccfad10.jpg","text":"TemporaryFile(/tmp/multipartBody9058283146238058880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576042882,"filename":"image_01112025_01_15_20_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/1/3e328b594578414b565b8f41d679b936.jpg","text":"TemporaryFile(/tmp/multipartBody3592947454605340237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576042882,"filename":"image_01112025_01_15_06_7964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3e6d1c479b49fb7130d4ed4a2ccf850d.jpg","text":"TemporaryFile(/tmp/multipartBody2117792540421986559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576042882,"filename":"image_01112025_01_15_10_1941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/19bf1d8e98afd9e7fa9f049de2b338aa.jpg","text":"TemporaryFile(/tmp/multipartBody6289906352749782548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576042882,"filename":"image_01112025_01_15_19_8581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4ff353b85d4baed02b31525f6695412a.jpg","text":"TemporaryFile(/tmp/multipartBody2116339780384940429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576042882,"filename":"image_01112025_01_14_58_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/1/d38b3842a660726e72e2d9e8b4ba1588.jpg","text":"TemporaryFile(/tmp/multipartBody76008069773227760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576042882,"filename":"image_01112025_01_15_08_1601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397176495","file1":"1397176491","file0":"1397176487","file4":"1397176499","file5":"1397176501","file3":"1397176497"},"map_files_photo_id_array":[{"photo_id":"1397176501","filename":"file5"},{"photo_id":"1397176495","filename":"file2"},{"photo_id":"1397176499","filename":"file4"},{"photo_id":"1397176491","filename":"file1"},{"photo_id":"1397176487","filename":"file0"},{"photo_id":"1397176497","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397176501":["hashtag1","hashtag2"]},{"1397176491":["hashtag1","hashtag2"]},{"1397176497":["hashtag1","hashtag2"]},{"1397176499":["hashtag1","hashtag2"]},{"1397176487":["hashtag1","hashtag2"]},{"1397176495":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397176501, 1397176491, 1397176497, 1397176499, 1397176487, 1397176495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3748345375061 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 09:00:22.175899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/57/image_01122025_08_57_56_10639.jpg', '/home/pi/Desktop/images/01122025/08/57/image_01122025_08_58_05_9812.jpg', '/home/pi/Desktop/images/01122025/08/58/image_01122025_08_58_15_9835.jpg', '/home/pi/Desktop/images/01122025/08/58/image_01122025_08_58_25_9618.jpg', '/home/pi/Desktop/images/01122025/08/58/image_01122025_08_58_36_10689.jpg', '/home/pi/Desktop/images/01122025/08/58/image_01122025_08_58_45_9532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/57/image_01122025_08_57_56_10639.jpg
/home/pi/Desktop/images/01122025/08/57/image_01122025_08_58_05_9812.jpg
/home/pi/Desktop/images/01122025/08/58/image_01122025_08_58_15_9835.jpg
/home/pi/Desktop/images/01122025/08/58/image_01122025_08_58_25_9618.jpg
/home/pi/Desktop/images/01122025/08/58/image_01122025_08_58_36_10689.jpg
/home/pi/Desktop/images/01122025/08/58/image_01122025_08_58_45_9532.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397176624","1397176749","1397176792","1397176703","1397176660","1397176582"],"photo_ids_order":["1397176582","1397176624","1397176660","1397176703","1397176749","1397176792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b9d672bafc2b0ce78672decb56843ac5.jpg","text":"TemporaryFile(/tmp/multipartBody1712005304441119572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576082873,"filename":"image_01122025_08_58_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/1/704a9122545684c299df0b128b448751.jpg","text":"TemporaryFile(/tmp/multipartBody5375078102850516023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576082873,"filename":"image_01122025_08_58_36_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/1/04ca1ea3ba812ab9ad193903a28a35b5.jpg","text":"TemporaryFile(/tmp/multipartBody1055130310076255427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576082873,"filename":"image_01122025_08_58_45_9532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3c34eb3ed8e1ab43db21b0bc8c06072b.jpg","text":"TemporaryFile(/tmp/multipartBody8099321632553651619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576082873,"filename":"image_01122025_08_58_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/1/0a929f16ac3d2c8188dfc79c22ce9551.jpg","text":"TemporaryFile(/tmp/multipartBody7292288984308760285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576082873,"filename":"image_01122025_08_58_15_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/15207312828a4a790a22793ff0aa96a7.jpg","text":"TemporaryFile(/tmp/multipartBody4221607654077529620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576082873,"filename":"image_01122025_08_57_56_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397176660","file1":"1397176624","file0":"1397176582","file4":"1397176749","file5":"1397176792","file3":"1397176703"},"map_files_photo_id_array":[{"photo_id":"1397176792","filename":"file5"},{"photo_id":"1397176660","filename":"file2"},{"photo_id":"1397176749","filename":"file4"},{"photo_id":"1397176624","filename":"file1"},{"photo_id":"1397176582","filename":"file0"},{"photo_id":"1397176703","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397176624":["hashtag1","hashtag2"]},{"1397176749":["hashtag1","hashtag2"]},{"1397176792":["hashtag1","hashtag2"]},{"1397176703":["hashtag1","hashtag2"]},{"1397176660":["hashtag1","hashtag2"]},{"1397176582":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397176624, 1397176749, 1397176792, 1397176703, 1397176660, 1397176582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22051167488098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:01:03.078205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/58/image_01122025_08_59_05_10718.jpg', '/home/pi/Desktop/images/01122025/08/59/image_01122025_08_59_15_9738.jpg', '/home/pi/Desktop/images/01122025/08/59/image_01122025_08_59_25_9692.jpg', '/home/pi/Desktop/images/01122025/08/59/image_01122025_08_59_36_10646.jpg', '/home/pi/Desktop/images/01122025/08/59/image_01122025_08_59_45_9705.jpg', '/home/pi/Desktop/images/01122025/08/59/image_01122025_08_59_55_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/58/image_01122025_08_59_05_10718.jpg
/home/pi/Desktop/images/01122025/08/59/image_01122025_08_59_15_9738.jpg
/home/pi/Desktop/images/01122025/08/59/image_01122025_08_59_25_9692.jpg
/home/pi/Desktop/images/01122025/08/59/image_01122025_08_59_36_10646.jpg
/home/pi/Desktop/images/01122025/08/59/image_01122025_08_59_45_9705.jpg
/home/pi/Desktop/images/01122025/08/59/image_01122025_08_59_55_9671.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6563534736633301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 09:01:12.317811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_25_3694.jpg', '/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_28_2688.jpg', '/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_31_2571.jpg', '/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_34_3629.jpg', '/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_37_2508.jpg', '/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_41_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_25_3694.jpg
/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_28_2688.jpg
/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_31_2571.jpg
/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_34_3629.jpg
/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_37_2508.jpg
/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_41_3651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397177159","1397177144","1397177095","1397177047","1397177161","1397177002"],"photo_ids_order":["1397177002","1397177047","1397177095","1397177144","1397177159","1397177161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ce846b33c4155a946a0de6add00bd206.jpg","text":"TemporaryFile(/tmp/multipartBody4900675592701327469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576133838,"filename":"image_25112025_22_15_37_2508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b3ef446fa253cddd47fcc90aae4ff899.jpg","text":"TemporaryFile(/tmp/multipartBody517976708566275074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576133838,"filename":"image_25112025_22_15_34_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/1/0916564feca7d09ef1cd956f7aac684f.jpg","text":"TemporaryFile(/tmp/multipartBody6398962135979129615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576133838,"filename":"image_25112025_22_15_31_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e5323b8ada79404ff02d284f511ee829.jpg","text":"TemporaryFile(/tmp/multipartBody730252610688103607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576133838,"filename":"image_25112025_22_15_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/1/5e2a701e385f38f9f63966d12da8b26a.jpg","text":"TemporaryFile(/tmp/multipartBody3241103676526503552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576133838,"filename":"image_25112025_22_15_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/1/e3187e7942f5b201cf5b4fcb2dbc4c28.jpg","text":"TemporaryFile(/tmp/multipartBody4385285767551862316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576133838,"filename":"image_25112025_22_15_25_3694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397177095","file1":"1397177047","file0":"1397177002","file4":"1397177159","file5":"1397177161","file3":"1397177144"},"map_files_photo_id_array":[{"photo_id":"1397177161","filename":"file5"},{"photo_id":"1397177095","filename":"file2"},{"photo_id":"1397177159","filename":"file4"},{"photo_id":"1397177047","filename":"file1"},{"photo_id":"1397177002","filename":"file0"},{"photo_id":"1397177144","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397177159":["hashtag1","hashtag2"]},{"1397177144":["hashtag1","hashtag2"]},{"1397177095":["hashtag1","hashtag2"]},{"1397177047":["hashtag1","hashtag2"]},{"1397177161":["hashtag1","hashtag2"]},{"1397177002":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397177159, 1397177144, 1397177095, 1397177047, 1397177161, 1397177002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.64861297607422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:02:03.056892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/08/58/image_01122025_08_59_05_10718.jpg', '/home/pi/Desktop/images/01122025/08/59/image_01122025_08_59_15_9738.jpg', '/home/pi/Desktop/images/01122025/08/59/image_01122025_08_59_25_9692.jpg', '/home/pi/Desktop/images/01122025/08/59/image_01122025_08_59_36_10646.jpg', '/home/pi/Desktop/images/01122025/08/59/image_01122025_08_59_45_9705.jpg', '/home/pi/Desktop/images/01122025/08/59/image_01122025_08_59_55_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/08/58/image_01122025_08_59_05_10718.jpg
/home/pi/Desktop/images/01122025/08/59/image_01122025_08_59_15_9738.jpg
/home/pi/Desktop/images/01122025/08/59/image_01122025_08_59_25_9692.jpg
/home/pi/Desktop/images/01122025/08/59/image_01122025_08_59_36_10646.jpg
/home/pi/Desktop/images/01122025/08/59/image_01122025_08_59_45_9705.jpg
/home/pi/Desktop/images/01122025/08/59/image_01122025_08_59_55_9671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397177211","1397177180","1397177249","1397177287","1397177326","1397177176"],"photo_ids_order":["1397177176","1397177180","1397177211","1397177249","1397177287","1397177326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a34738c195a80b50868838e6fb27243f.jpg","text":"TemporaryFile(/tmp/multipartBody7033638944552684906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576183772,"filename":"image_01122025_08_59_25_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/1/0f1370518ef23b39e1661303d0299b8a.jpg","text":"TemporaryFile(/tmp/multipartBody2829314735882409396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576183772,"filename":"image_01122025_08_59_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/1/2c48424da2410cb3909e7509b07f342b.jpg","text":"TemporaryFile(/tmp/multipartBody5145993793635414137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576183772,"filename":"image_01122025_08_59_36_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/1/46d990c62c4baaf6924fe4bf98d3d3f3.jpg","text":"TemporaryFile(/tmp/multipartBody3502962739571873344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576183772,"filename":"image_01122025_08_59_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/1/94dd9977e82c12e8ede8eb50e7ef12b2.jpg","text":"TemporaryFile(/tmp/multipartBody5190170648883925478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576183772,"filename":"image_01122025_08_59_55_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fd0b9338d5ec2bad959430f991aaa03a.jpg","text":"TemporaryFile(/tmp/multipartBody4527650383839587640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576183772,"filename":"image_01122025_08_59_05_10718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397177211","file1":"1397177180","file0":"1397177176","file4":"1397177287","file5":"1397177326","file3":"1397177249"},"map_files_photo_id_array":[{"photo_id":"1397177326","filename":"file5"},{"photo_id":"1397177211","filename":"file2"},{"photo_id":"1397177287","filename":"file4"},{"photo_id":"1397177180","filename":"file1"},{"photo_id":"1397177176","filename":"file0"},{"photo_id":"1397177249","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397177211":["hashtag1","hashtag2"]},{"1397177180":["hashtag1","hashtag2"]},{"1397177249":["hashtag1","hashtag2"]},{"1397177287":["hashtag1","hashtag2"]},{"1397177326":["hashtag1","hashtag2"]},{"1397177176":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397177211, 1397177180, 1397177249, 1397177287, 1397177326, 1397177176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89367485046387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 09:02:42.558819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/15/image_01112025_01_15_22_1581.jpg', '/home/pi/Desktop/images/01112025/01/15/image_01112025_01_15_29_2781.jpg', '/home/pi/Desktop/images/01112025/01/15/image_01112025_01_15_31_1820.jpg', '/home/pi/Desktop/images/01112025/01/15/image_01112025_01_15_32_1635.jpg', '/home/pi/Desktop/images/01112025/01/15/image_01112025_01_15_38_2733.jpg', '/home/pi/Desktop/images/01112025/01/15/image_01112025_01_15_40_2841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/15/image_01112025_01_15_22_1581.jpg
/home/pi/Desktop/images/01112025/01/15/image_01112025_01_15_29_2781.jpg
/home/pi/Desktop/images/01112025/01/15/image_01112025_01_15_31_1820.jpg
/home/pi/Desktop/images/01112025/01/15/image_01112025_01_15_32_1635.jpg
/home/pi/Desktop/images/01112025/01/15/image_01112025_01_15_38_2733.jpg
/home/pi/Desktop/images/01112025/01/15/image_01112025_01_15_40_2841.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397177469","1397177465","1397177402","1397177405","1397177467","1397177431"],"photo_ids_order":["1397177402","1397177405","1397177431","1397177465","1397177467","1397177469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/05662e6ff42f34a7b696983d385891a9.jpg","text":"TemporaryFile(/tmp/multipartBody9056345284425988682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576223442,"filename":"image_01112025_01_15_40_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8e2459c8dd084af843d841edf42b3c3f.jpg","text":"TemporaryFile(/tmp/multipartBody2303967905867394552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576223442,"filename":"image_01112025_01_15_32_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/1/d70f550bd88fa89c4b6cc9640ba55f84.jpg","text":"TemporaryFile(/tmp/multipartBody308992035716288581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576223442,"filename":"image_01112025_01_15_22_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/1/003ad923b474a8f54bf97da6ad64d565.jpg","text":"TemporaryFile(/tmp/multipartBody9209842488528958757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576223442,"filename":"image_01112025_01_15_29_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/1/d1cf775db1a1f017994987b4796d5a58.jpg","text":"TemporaryFile(/tmp/multipartBody6653433109907706845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576223442,"filename":"image_01112025_01_15_38_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/1/7eba3d27dd6344cc07635817d0750fc5.jpg","text":"TemporaryFile(/tmp/multipartBody1128475127905719350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576223442,"filename":"image_01112025_01_15_31_1820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397177431","file1":"1397177405","file0":"1397177402","file4":"1397177467","file5":"1397177469","file3":"1397177465"},"map_files_photo_id_array":[{"photo_id":"1397177469","filename":"file5"},{"photo_id":"1397177431","filename":"file2"},{"photo_id":"1397177467","filename":"file4"},{"photo_id":"1397177405","filename":"file1"},{"photo_id":"1397177402","filename":"file0"},{"photo_id":"1397177465","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397177469":["hashtag1","hashtag2"]},{"1397177465":["hashtag1","hashtag2"]},{"1397177402":["hashtag1","hashtag2"]},{"1397177405":["hashtag1","hashtag2"]},{"1397177467":["hashtag1","hashtag2"]},{"1397177431":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397177469, 1397177465, 1397177402, 1397177405, 1397177467, 1397177431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.66303777694702 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 09:03:22.753408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/00/image_01122025_09_00_14_10055.jpg', '/home/pi/Desktop/images/01122025/09/00/image_01122025_09_00_25_10729.jpg', '/home/pi/Desktop/images/01122025/09/00/image_01122025_09_00_35_9672.jpg', '/home/pi/Desktop/images/01122025/09/00/image_01122025_09_00_44_9802.jpg', '/home/pi/Desktop/images/01122025/09/00/image_01122025_09_00_54_9820.jpg', '/home/pi/Desktop/images/01122025/09/00/image_01122025_09_01_05_10853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/00/image_01122025_09_00_14_10055.jpg
/home/pi/Desktop/images/01122025/09/00/image_01122025_09_00_25_10729.jpg
/home/pi/Desktop/images/01122025/09/00/image_01122025_09_00_35_9672.jpg
/home/pi/Desktop/images/01122025/09/00/image_01122025_09_00_44_9802.jpg
/home/pi/Desktop/images/01122025/09/00/image_01122025_09_00_54_9820.jpg
/home/pi/Desktop/images/01122025/09/00/image_01122025_09_01_05_10853.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397177541","1397177538","1397177532","1397177549","1397177534","1397177545"],"photo_ids_order":["1397177532","1397177534","1397177538","1397177541","1397177545","1397177549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b5925a76f2097afa3f6e565273c1a9bc.jpg","text":"TemporaryFile(/tmp/multipartBody3465539777678329601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576263454,"filename":"image_01122025_09_00_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/1/fcd4407a098ab042755e233447ec15c1.jpg","text":"TemporaryFile(/tmp/multipartBody8075047267691180970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576263454,"filename":"image_01122025_09_00_35_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e4d52f2d326e18b8c3523d4794437da4.jpg","text":"TemporaryFile(/tmp/multipartBody4665184554136910419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576263454,"filename":"image_01122025_09_00_14_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dd2421df1f97ad8eec332f10ad4f67fb.jpg","text":"TemporaryFile(/tmp/multipartBody1118866881129515218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576263454,"filename":"image_01122025_09_01_05_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/1/62ca61b1ef5f65e17673ed1e3f65c8d5.jpg","text":"TemporaryFile(/tmp/multipartBody390382895073743148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576263454,"filename":"image_01122025_09_00_25_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/56cfd9a236bdb872ec610ef7ee2d275d.jpg","text":"TemporaryFile(/tmp/multipartBody7017693726565410535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576263454,"filename":"image_01122025_09_00_54_9820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397177538","file1":"1397177534","file0":"1397177532","file4":"1397177545","file5":"1397177549","file3":"1397177541"},"map_files_photo_id_array":[{"photo_id":"1397177549","filename":"file5"},{"photo_id":"1397177538","filename":"file2"},{"photo_id":"1397177545","filename":"file4"},{"photo_id":"1397177534","filename":"file1"},{"photo_id":"1397177532","filename":"file0"},{"photo_id":"1397177541","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397177541":["hashtag1","hashtag2"]},{"1397177538":["hashtag1","hashtag2"]},{"1397177532":["hashtag1","hashtag2"]},{"1397177549":["hashtag1","hashtag2"]},{"1397177534":["hashtag1","hashtag2"]},{"1397177545":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397177541, 1397177538, 1397177532, 1397177549, 1397177534, 1397177545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.380486488342285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:04:02.614786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/01/image_01122025_09_01_15_9720.jpg', '/home/pi/Desktop/images/01122025/09/01/image_01122025_09_01_25_9666.jpg', '/home/pi/Desktop/images/01122025/09/01/image_01122025_09_01_35_10682.jpg', '/home/pi/Desktop/images/01122025/09/01/image_01122025_09_01_45_9615.jpg', '/home/pi/Desktop/images/01122025/09/01/image_01122025_09_01_55_9828.jpg', '/home/pi/Desktop/images/01122025/09/01/image_01122025_09_02_04_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/01/image_01122025_09_01_15_9720.jpg
/home/pi/Desktop/images/01122025/09/01/image_01122025_09_01_25_9666.jpg
/home/pi/Desktop/images/01122025/09/01/image_01122025_09_01_35_10682.jpg
/home/pi/Desktop/images/01122025/09/01/image_01122025_09_01_45_9615.jpg
/home/pi/Desktop/images/01122025/09/01/image_01122025_09_01_55_9828.jpg
/home/pi/Desktop/images/01122025/09/01/image_01122025_09_02_04_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":["1397177679","1397177637","1397177786","1397177825","1397177714","1397177749"],"photo_ids_order":["1397177637","1397177679","1397177714","1397177749","1397177786","1397177825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/78162c192f4868d5605f71133e106905.jpg","text":"TemporaryFile(/tmp/multipartBody9026890627775368583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576303363,"filename":"image_01122025_09_01_25_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/95bccc2c04cc34602d1241bc3503900f.jpg","text":"TemporaryFile(/tmp/multipartBody5833228542270806357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576303363,"filename":"image_01122025_09_01_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/1/2af1833f8b0ca3f622c7a75fad194e16.jpg","text":"TemporaryFile(/tmp/multipartBody1012081845181981387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576303363,"filename":"image_01122025_09_01_55_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7791460a9034c84b31ced6226317e8e0.jpg","text":"TemporaryFile(/tmp/multipartBody3077133191257119338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576303363,"filename":"image_01122025_09_02_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/1/fb7d6067a496821b6b231403f8aceb41.jpg","text":"TemporaryFile(/tmp/multipartBody1082506604158994929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576303363,"filename":"image_01122025_09_01_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/1/ecce93d2c2ad276ca47487a898dd6517.jpg","text":"TemporaryFile(/tmp/multipartBody5389182694853916398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576303363,"filename":"image_01122025_09_01_45_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397177714","file1":"1397177679","file0":"1397177637","file4":"1397177786","file5":"1397177825","file3":"1397177749"},"map_files_photo_id_array":[{"photo_id":"1397177825","filename":"file5"},{"photo_id":"1397177714","filename":"file2"},{"photo_id":"1397177786","filename":"file4"},{"photo_id":"1397177679","filename":"file1"},{"photo_id":"1397177637","filename":"file0"},{"photo_id":"1397177749","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397177679":["hashtag1","hashtag2"]},{"1397177637":["hashtag1","hashtag2"]},{"1397177786":["hashtag1","hashtag2"]},{"1397177825":["hashtag1","hashtag2"]},{"1397177714":["hashtag1","hashtag2"]},{"1397177749":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397177679, 1397177637, 1397177786, 1397177825, 1397177714, 1397177749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23759436607361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 09:04:42.009986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/15/image_01112025_01_15_44_3683.jpg', '/home/pi/Desktop/images/01112025/01/15/image_01112025_01_15_56_2608.jpg', '/home/pi/Desktop/images/01112025/01/15/image_01112025_01_15_59_2657.jpg', '/home/pi/Desktop/images/01112025/01/16/image_01112025_01_16_05_3692.jpg', '/home/pi/Desktop/images/01112025/01/16/image_01112025_01_16_08_2670.jpg', '/home/pi/Desktop/images/01112025/01/16/image_01112025_01_16_17_3763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/15/image_01112025_01_15_44_3683.jpg
/home/pi/Desktop/images/01112025/01/15/image_01112025_01_15_56_2608.jpg
/home/pi/Desktop/images/01112025/01/15/image_01112025_01_15_59_2657.jpg
/home/pi/Desktop/images/01112025/01/16/image_01112025_01_16_05_3692.jpg
/home/pi/Desktop/images/01112025/01/16/image_01112025_01_16_08_2670.jpg
/home/pi/Desktop/images/01112025/01/16/image_01112025_01_16_17_3763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397178057","1397178095","1397178009","1397177966","1397178131","1397178171"],"photo_ids_order":["1397177966","1397178009","1397178057","1397178095","1397178131","1397178171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/997c37d314c4c902bc60a2772e0aadc2.jpg","text":"TemporaryFile(/tmp/multipartBody7155840400536892299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576342896,"filename":"image_01112025_01_15_59_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fbb60718ad8c814b5c34a644ed2aae3d.jpg","text":"TemporaryFile(/tmp/multipartBody5191156607230686958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576342896,"filename":"image_01112025_01_16_05_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/1/547865e9c662eb2960b329087e3bb361.jpg","text":"TemporaryFile(/tmp/multipartBody7141954156686893698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576342896,"filename":"image_01112025_01_15_56_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/1/0d99d76667b4270f86cc170594e200cb.jpg","text":"TemporaryFile(/tmp/multipartBody522984500127391220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576342896,"filename":"image_01112025_01_15_44_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/1/f4d0e121827502c2f327d5bbf42b66c0.jpg","text":"TemporaryFile(/tmp/multipartBody246189778368395136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576342896,"filename":"image_01112025_01_16_08_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c2c98a88a565d0850538340415b13fc2.jpg","text":"TemporaryFile(/tmp/multipartBody1465286494972829122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576342896,"filename":"image_01112025_01_16_17_3763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397178057","file1":"1397178009","file0":"1397177966","file4":"1397178131","file5":"1397178171","file3":"1397178095"},"map_files_photo_id_array":[{"photo_id":"1397178171","filename":"file5"},{"photo_id":"1397178057","filename":"file2"},{"photo_id":"1397178131","filename":"file4"},{"photo_id":"1397178009","filename":"file1"},{"photo_id":"1397177966","filename":"file0"},{"photo_id":"1397178095","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397178057":["hashtag1","hashtag2"]},{"1397178095":["hashtag1","hashtag2"]},{"1397178009":["hashtag1","hashtag2"]},{"1397177966":["hashtag1","hashtag2"]},{"1397178131":["hashtag1","hashtag2"]},{"1397178171":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397178057, 1397178095, 1397178009, 1397177966, 1397178131, 1397178171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.201406717300415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 09:05:24.706147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/02/image_01122025_09_02_15_10544.jpg', '/home/pi/Desktop/images/01122025/09/02/image_01122025_09_02_24_9615.jpg', '/home/pi/Desktop/images/01122025/09/02/image_01122025_09_02_35_10614.jpg', '/home/pi/Desktop/images/01122025/09/02/image_01122025_09_03_04_9701.jpg', '/home/pi/Desktop/images/01122025/09/03/image_01122025_09_03_14_9950.jpg', '/home/pi/Desktop/images/01122025/09/03/image_01122025_09_03_25_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/02/image_01122025_09_02_15_10544.jpg
/home/pi/Desktop/images/01122025/09/02/image_01122025_09_02_24_9615.jpg
/home/pi/Desktop/images/01122025/09/02/image_01122025_09_02_35_10614.jpg
/home/pi/Desktop/images/01122025/09/02/image_01122025_09_03_04_9701.jpg
/home/pi/Desktop/images/01122025/09/03/image_01122025_09_03_14_9950.jpg
/home/pi/Desktop/images/01122025/09/03/image_01122025_09_03_25_10707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397178348","1397178344","1397178338","1397178341","1397178370","1397178322"],"photo_ids_order":["1397178322","1397178338","1397178341","1397178344","1397178348","1397178370"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8a6e4bc26ad7ed1ce1ca72258bc04fd4.jpg","text":"TemporaryFile(/tmp/multipartBody7639974706281654822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576385406,"filename":"image_01122025_09_03_14_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/1/47502eb823d6b7b5fa080ed0e155f433.jpg","text":"TemporaryFile(/tmp/multipartBody4323178901365707600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576385406,"filename":"image_01122025_09_03_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/1/216aa3ef831694ce1a8fda45771afd1b.jpg","text":"TemporaryFile(/tmp/multipartBody8489665720786957166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576385406,"filename":"image_01122025_09_02_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/1/9bd3aaf1241682f9b238e775e09c3e0a.jpg","text":"TemporaryFile(/tmp/multipartBody2209753868919417628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576385406,"filename":"image_01122025_09_02_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/1/c6ec68e4a71c7321d3fbc7f679069937.jpg","text":"TemporaryFile(/tmp/multipartBody7607014977781535687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576385406,"filename":"image_01122025_09_03_25_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/97c4dedfff8d2d49ee55bca5d74f7d3f.jpg","text":"TemporaryFile(/tmp/multipartBody2124553641616261321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576385406,"filename":"image_01122025_09_02_15_10544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397178341","file1":"1397178338","file0":"1397178322","file4":"1397178348","file5":"1397178370","file3":"1397178344"},"map_files_photo_id_array":[{"photo_id":"1397178370","filename":"file5"},{"photo_id":"1397178341","filename":"file2"},{"photo_id":"1397178348","filename":"file4"},{"photo_id":"1397178338","filename":"file1"},{"photo_id":"1397178322","filename":"file0"},{"photo_id":"1397178344","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397178348":["hashtag1","hashtag2"]},{"1397178344":["hashtag1","hashtag2"]},{"1397178338":["hashtag1","hashtag2"]},{"1397178341":["hashtag1","hashtag2"]},{"1397178370":["hashtag1","hashtag2"]},{"1397178322":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397178348, 1397178344, 1397178338, 1397178341, 1397178370, 1397178322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.842047929763794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 09:06:11.853681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_43_2606.jpg', '/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_46_2590.jpg', '/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_49_3364.jpg', '/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_53_3520.jpg', '/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_55_2681.jpg', '/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_58_2819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_43_2606.jpg
/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_46_2590.jpg
/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_49_3364.jpg
/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_53_3520.jpg
/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_55_2681.jpg
/home/pi/Desktop/images/25112025/22/15/image_25112025_22_15_58_2819.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397178545","1397178506","1397178466","1397178394","1397178430","1397178396"],"photo_ids_order":["1397178394","1397178396","1397178430","1397178466","1397178506","1397178545"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7ef0ff8e72926b141b9a37eefebcb67f.jpg","text":"TemporaryFile(/tmp/multipartBody1703204194174851808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576433311,"filename":"image_25112025_22_15_58_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/260121ab19269bad88ac1da0a5f5514f.jpg","text":"TemporaryFile(/tmp/multipartBody1651261279656562460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576433311,"filename":"image_25112025_22_15_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/1/19eef3c1a2c59f423637d077fa634723.jpg","text":"TemporaryFile(/tmp/multipartBody4197683563405751969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576433311,"filename":"image_25112025_22_15_53_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/1/4aea6311a4e61cb9f3a4dd3063f73888.jpg","text":"TemporaryFile(/tmp/multipartBody360575296916563187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576433311,"filename":"image_25112025_22_15_43_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/1/a5ebf5ba31a8c53062ead36ac6d81dec.jpg","text":"TemporaryFile(/tmp/multipartBody8991774183144069597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576433311,"filename":"image_25112025_22_15_49_3364.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bd88fc891dd1754af83543c1c95cef1f.jpg","text":"TemporaryFile(/tmp/multipartBody7434195526518574339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576433311,"filename":"image_25112025_22_15_46_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397178430","file1":"1397178396","file0":"1397178394","file4":"1397178506","file5":"1397178545","file3":"1397178466"},"map_files_photo_id_array":[{"photo_id":"1397178545","filename":"file5"},{"photo_id":"1397178430","filename":"file2"},{"photo_id":"1397178506","filename":"file4"},{"photo_id":"1397178396","filename":"file1"},{"photo_id":"1397178394","filename":"file0"},{"photo_id":"1397178466","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397178545":["hashtag1","hashtag2"]},{"1397178506":["hashtag1","hashtag2"]},{"1397178466":["hashtag1","hashtag2"]},{"1397178394":["hashtag1","hashtag2"]},{"1397178430":["hashtag1","hashtag2"]},{"1397178396":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397178545, 1397178506, 1397178466, 1397178394, 1397178430, 1397178396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82637310028076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:07:02.833680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/03/image_01122025_09_03_35_9652.jpg', '/home/pi/Desktop/images/01122025/09/03/image_01122025_09_03_44_9598.jpg', '/home/pi/Desktop/images/01122025/09/03/image_01122025_09_03_55_10720.jpg', '/home/pi/Desktop/images/01122025/09/03/image_01122025_09_04_04_9521.jpg', '/home/pi/Desktop/images/01122025/09/04/image_01122025_09_04_15_10671.jpg', '/home/pi/Desktop/images/01122025/09/04/image_01122025_09_04_25_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/03/image_01122025_09_03_35_9652.jpg
/home/pi/Desktop/images/01122025/09/03/image_01122025_09_03_44_9598.jpg
/home/pi/Desktop/images/01122025/09/03/image_01122025_09_03_55_10720.jpg
/home/pi/Desktop/images/01122025/09/03/image_01122025_09_04_04_9521.jpg
/home/pi/Desktop/images/01122025/09/04/image_01122025_09_04_15_10671.jpg
/home/pi/Desktop/images/01122025/09/04/image_01122025_09_04_25_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":["1397179125","1397178936","1397179079","1397178875","1397179004","1397179041"],"photo_ids_order":["1397178875","1397178936","1397179004","1397179041","1397179079","1397179125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2537cc74ce3443baa29c61cd9ddfc315.jpg","text":"TemporaryFile(/tmp/multipartBody2159980569204669195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576483561,"filename":"image_01122025_09_04_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/1/8188acc423d66291bedbc3e8823d3915.jpg","text":"TemporaryFile(/tmp/multipartBody6076321093290230902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576483561,"filename":"image_01122025_09_03_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/1/fcc786e668a3924e149a6f556c0ee610.jpg","text":"TemporaryFile(/tmp/multipartBody1172775358124644358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576483561,"filename":"image_01122025_09_04_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/1/9daf146367a4f2c6a8f151c5dbb0080c.jpg","text":"TemporaryFile(/tmp/multipartBody1569523795926257936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576483561,"filename":"image_01122025_09_03_35_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4d565f56ee3457827ba78e5a71a595d4.jpg","text":"TemporaryFile(/tmp/multipartBody798960998483057540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576483561,"filename":"image_01122025_09_03_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/1/fb1deb261e8b00bc0c7b36d140595fdc.jpg","text":"TemporaryFile(/tmp/multipartBody4244712795914465804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576483561,"filename":"image_01122025_09_04_04_9521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397179004","file1":"1397178936","file0":"1397178875","file4":"1397179079","file5":"1397179125","file3":"1397179041"},"map_files_photo_id_array":[{"photo_id":"1397179125","filename":"file5"},{"photo_id":"1397179004","filename":"file2"},{"photo_id":"1397179079","filename":"file4"},{"photo_id":"1397178936","filename":"file1"},{"photo_id":"1397178875","filename":"file0"},{"photo_id":"1397179041","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397179125":["hashtag1","hashtag2"]},{"1397178936":["hashtag1","hashtag2"]},{"1397179079":["hashtag1","hashtag2"]},{"1397178875":["hashtag1","hashtag2"]},{"1397179004":["hashtag1","hashtag2"]},{"1397179041":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397179125, 1397178936, 1397179079, 1397178875, 1397179004, 1397179041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7029983997345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 09:07:42.132983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/16/image_01112025_01_16_20_2728.jpg', '/home/pi/Desktop/images/01112025/01/16/image_01112025_01_16_23_2746.jpg', '/home/pi/Desktop/images/01112025/01/16/image_01112025_01_16_25_2675.jpg', '/home/pi/Desktop/images/01112025/01/16/image_01112025_01_16_29_3611.jpg', '/home/pi/Desktop/images/01112025/01/16/image_01112025_01_16_38_2826.jpg', '/home/pi/Desktop/images/01112025/01/16/image_01112025_01_16_40_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/16/image_01112025_01_16_20_2728.jpg
/home/pi/Desktop/images/01112025/01/16/image_01112025_01_16_23_2746.jpg
/home/pi/Desktop/images/01112025/01/16/image_01112025_01_16_25_2675.jpg
/home/pi/Desktop/images/01112025/01/16/image_01112025_01_16_29_3611.jpg
/home/pi/Desktop/images/01112025/01/16/image_01112025_01_16_38_2826.jpg
/home/pi/Desktop/images/01112025/01/16/image_01112025_01_16_40_2693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397179509","1397179475","1397179403","1397179369","1397179440","1397179329"],"photo_ids_order":["1397179329","1397179369","1397179403","1397179440","1397179475","1397179509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dc99c88a3a18a4cb017f1306cfa004a9.jpg","text":"TemporaryFile(/tmp/multipartBody6263962422799181297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576523098,"filename":"image_01112025_01_16_40_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d18615ecaa2638b735eb839fdf2e5c9a.jpg","text":"TemporaryFile(/tmp/multipartBody6441671910695336576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576523098,"filename":"image_01112025_01_16_38_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/56a73138f0fa015a4c67e91a9167987e.jpg","text":"TemporaryFile(/tmp/multipartBody7582607212772680230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576523098,"filename":"image_01112025_01_16_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/1/13d845e77f026b9c8d754e7e8bbfc947.jpg","text":"TemporaryFile(/tmp/multipartBody1633512836181207532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576523098,"filename":"image_01112025_01_16_23_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/77877f062aa363d3c88e86e1827dfbd4.jpg","text":"TemporaryFile(/tmp/multipartBody367714800045924604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576523098,"filename":"image_01112025_01_16_29_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/1/4f8d04daac87a16513be0d7485c13f20.jpg","text":"TemporaryFile(/tmp/multipartBody2399035047022368574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576523098,"filename":"image_01112025_01_16_20_2728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397179403","file1":"1397179369","file0":"1397179329","file4":"1397179475","file5":"1397179509","file3":"1397179440"},"map_files_photo_id_array":[{"photo_id":"1397179509","filename":"file5"},{"photo_id":"1397179403","filename":"file2"},{"photo_id":"1397179475","filename":"file4"},{"photo_id":"1397179369","filename":"file1"},{"photo_id":"1397179329","filename":"file0"},{"photo_id":"1397179440","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397179509":["hashtag1","hashtag2"]},{"1397179475":["hashtag1","hashtag2"]},{"1397179403":["hashtag1","hashtag2"]},{"1397179369":["hashtag1","hashtag2"]},{"1397179440":["hashtag1","hashtag2"]},{"1397179329":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397179509, 1397179475, 1397179403, 1397179369, 1397179440, 1397179329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1794958114624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 09:08:22.410685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/04/image_01122025_09_04_34_9562.jpg', '/home/pi/Desktop/images/01122025/09/04/image_01122025_09_04_45_10608.jpg', '/home/pi/Desktop/images/01122025/09/04/image_01122025_09_04_55_9770.jpg', '/home/pi/Desktop/images/01122025/09/04/image_01122025_09_05_04_9635.jpg', '/home/pi/Desktop/images/01122025/09/05/image_01122025_09_05_15_10659.jpg', '/home/pi/Desktop/images/01122025/09/05/image_01122025_09_05_25_10089.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/04/image_01122025_09_04_34_9562.jpg
/home/pi/Desktop/images/01122025/09/04/image_01122025_09_04_45_10608.jpg
/home/pi/Desktop/images/01122025/09/04/image_01122025_09_04_55_9770.jpg
/home/pi/Desktop/images/01122025/09/04/image_01122025_09_05_04_9635.jpg
/home/pi/Desktop/images/01122025/09/05/image_01122025_09_05_15_10659.jpg
/home/pi/Desktop/images/01122025/09/05/image_01122025_09_05_25_10089.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397179583","1397179588","1397179591","1397179599","1397179593","1397179595"],"photo_ids_order":["1397179583","1397179588","1397179591","1397179593","1397179595","1397179599"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/72b321238fa93574b99a88819718c381.jpg","text":"TemporaryFile(/tmp/multipartBody1312960217120370869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576563093,"filename":"image_01122025_09_04_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/1/ac8fe582e0ab415a06c028dfac4f14e3.jpg","text":"TemporaryFile(/tmp/multipartBody6715375965258990178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576563093,"filename":"image_01122025_09_04_45_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e28c0871fef9b8cf2994e409770703d3.jpg","text":"TemporaryFile(/tmp/multipartBody986714006741928618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576563093,"filename":"image_01122025_09_04_55_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7a095eb4ceb5e6bb2bf3359498d3e478.jpg","text":"TemporaryFile(/tmp/multipartBody732631646744509548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576563093,"filename":"image_01122025_09_05_25_10089.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/21777fe54e02ef65f5d577d58545b5c9.jpg","text":"TemporaryFile(/tmp/multipartBody5402853025499073220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576563093,"filename":"image_01122025_09_05_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/1/60cdd31938cf8f014ae26b886636a10a.jpg","text":"TemporaryFile(/tmp/multipartBody579695171947214242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576563093,"filename":"image_01122025_09_05_15_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397179591","file1":"1397179588","file0":"1397179583","file4":"1397179595","file5":"1397179599","file3":"1397179593"},"map_files_photo_id_array":[{"photo_id":"1397179599","filename":"file5"},{"photo_id":"1397179591","filename":"file2"},{"photo_id":"1397179595","filename":"file4"},{"photo_id":"1397179588","filename":"file1"},{"photo_id":"1397179583","filename":"file0"},{"photo_id":"1397179593","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397179583":["hashtag1","hashtag2"]},{"1397179588":["hashtag1","hashtag2"]},{"1397179591":["hashtag1","hashtag2"]},{"1397179599":["hashtag1","hashtag2"]},{"1397179593":["hashtag1","hashtag2"]},{"1397179595":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397179583, 1397179588, 1397179591, 1397179599, 1397179593, 1397179595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.42352223396301 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-01 09:09:12.399057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_01_2843.jpg', '/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_05_3597.jpg', '/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_07_2726.jpg', '/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_10_2625.jpg', '/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_13_3528.jpg', '/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_16_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_01_2843.jpg
/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_05_3597.jpg
/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_07_2726.jpg
/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_10_2625.jpg
/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_13_3528.jpg
/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_16_2601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397179838","1397179832","1397179858","1397179776","1397179836","1397179818"],"photo_ids_order":["1397179776","1397179818","1397179832","1397179836","1397179838","1397179858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/576a6c0a26fb2a155b82ed0a207425d3.jpg","text":"TemporaryFile(/tmp/multipartBody1759030380611109534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576613870,"filename":"image_25112025_22_16_13_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4a962454269d4b6291eacb841642d159.jpg","text":"TemporaryFile(/tmp/multipartBody7186114927603665302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576613870,"filename":"image_25112025_22_16_07_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/1/f044907e35ce8254a4fe5920d439f2af.jpg","text":"TemporaryFile(/tmp/multipartBody8069894501606483714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576613870,"filename":"image_25112025_22_16_16_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/1/3b7f16a759f0553b01bf30f152cdc6ae.jpg","text":"TemporaryFile(/tmp/multipartBody6781488723969350866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576613870,"filename":"image_25112025_22_16_01_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/59a0d6fd3038199f8ac9918f9733de60.jpg","text":"TemporaryFile(/tmp/multipartBody7002820410592676723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576613870,"filename":"image_25112025_22_16_10_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/55c8beb990e8a23df5945ff38dfda95d.jpg","text":"TemporaryFile(/tmp/multipartBody6537355041908730402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576613870,"filename":"image_25112025_22_16_05_3597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397179832","file1":"1397179818","file0":"1397179776","file4":"1397179838","file5":"1397179858","file3":"1397179836"},"map_files_photo_id_array":[{"photo_id":"1397179858","filename":"file5"},{"photo_id":"1397179832","filename":"file2"},{"photo_id":"1397179838","filename":"file4"},{"photo_id":"1397179818","filename":"file1"},{"photo_id":"1397179776","filename":"file0"},{"photo_id":"1397179836","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397179838":["hashtag1","hashtag2"]},{"1397179832":["hashtag1","hashtag2"]},{"1397179858":["hashtag1","hashtag2"]},{"1397179776":["hashtag1","hashtag2"]},{"1397179836":["hashtag1","hashtag2"]},{"1397179818":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397179838, 1397179832, 1397179858, 1397179776, 1397179836, 1397179818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64040470123291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:10:03.116765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/05/image_01122025_09_05_35_9880.jpg', '/home/pi/Desktop/images/01122025/09/05/image_01122025_09_05_45_9583.jpg', '/home/pi/Desktop/images/01122025/09/05/image_01122025_09_05_54_9687.jpg', '/home/pi/Desktop/images/01122025/09/05/image_01122025_09_06_05_10548.jpg', '/home/pi/Desktop/images/01122025/09/06/image_01122025_09_06_15_9787.jpg', '/home/pi/Desktop/images/01122025/09/06/image_01122025_09_06_24_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/05/image_01122025_09_05_35_9880.jpg
/home/pi/Desktop/images/01122025/09/05/image_01122025_09_05_45_9583.jpg
/home/pi/Desktop/images/01122025/09/05/image_01122025_09_05_54_9687.jpg
/home/pi/Desktop/images/01122025/09/05/image_01122025_09_06_05_10548.jpg
/home/pi/Desktop/images/01122025/09/06/image_01122025_09_06_15_9787.jpg
/home/pi/Desktop/images/01122025/09/06/image_01122025_09_06_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":["1397179967","1397179975","1397179980","1397179977","1397179971","1397179974"],"photo_ids_order":["1397179967","1397179971","1397179974","1397179975","1397179977","1397179980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/03b181e09ab6fcc50f2083a65fc81a13.jpg","text":"TemporaryFile(/tmp/multipartBody8757976781650536105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576663763,"filename":"image_01122025_09_05_35_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/1/8dd27d752aa26bf471b26d729d9f0d73.jpg","text":"TemporaryFile(/tmp/multipartBody5511318394768427871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576663763,"filename":"image_01122025_09_06_05_10548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f0a2d93600ea9f1a565cb90364bbfa0b.jpg","text":"TemporaryFile(/tmp/multipartBody3791957709233372911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576663763,"filename":"image_01122025_09_06_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c11dbaf305fe827cab24e9558ff89b89.jpg","text":"TemporaryFile(/tmp/multipartBody4398161148570534548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576663763,"filename":"image_01122025_09_06_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/1/ad7ec39b117ed9cea68eb5d13acd83de.jpg","text":"TemporaryFile(/tmp/multipartBody2088717965240382776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576663763,"filename":"image_01122025_09_05_45_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a51750e2a58c0e24db527b719f7baaeb.jpg","text":"TemporaryFile(/tmp/multipartBody2428290447508411210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576663763,"filename":"image_01122025_09_05_54_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397179974","file1":"1397179971","file0":"1397179967","file4":"1397179977","file5":"1397179980","file3":"1397179975"},"map_files_photo_id_array":[{"photo_id":"1397179980","filename":"file5"},{"photo_id":"1397179974","filename":"file2"},{"photo_id":"1397179977","filename":"file4"},{"photo_id":"1397179971","filename":"file1"},{"photo_id":"1397179967","filename":"file0"},{"photo_id":"1397179975","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397179967":["hashtag1","hashtag2"]},{"1397179975":["hashtag1","hashtag2"]},{"1397179980":["hashtag1","hashtag2"]},{"1397179977":["hashtag1","hashtag2"]},{"1397179971":["hashtag1","hashtag2"]},{"1397179974":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397179967, 1397179975, 1397179980, 1397179977, 1397179971, 1397179974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0804922580719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 09:10:42.784973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/16/image_01112025_01_16_49_2685.jpg', '/home/pi/Desktop/images/01112025/01/16/image_01112025_01_16_53_3706.jpg', '/home/pi/Desktop/images/01112025/01/16/image_01112025_01_16_56_2682.jpg', '/home/pi/Desktop/images/01112025/01/16/image_01112025_01_16_58_2558.jpg', '/home/pi/Desktop/images/01112025/01/17/image_01112025_01_17_02_3691.jpg', '/home/pi/Desktop/images/01112025/01/17/image_01112025_01_17_07_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/16/image_01112025_01_16_49_2685.jpg
/home/pi/Desktop/images/01112025/01/16/image_01112025_01_16_53_3706.jpg
/home/pi/Desktop/images/01112025/01/16/image_01112025_01_16_56_2682.jpg
/home/pi/Desktop/images/01112025/01/16/image_01112025_01_16_58_2558.jpg
/home/pi/Desktop/images/01112025/01/17/image_01112025_01_17_02_3691.jpg
/home/pi/Desktop/images/01112025/01/17/image_01112025_01_17_07_2575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397180004","1397179996","1397180000","1397180003","1397180002","1397179992"],"photo_ids_order":["1397179992","1397179996","1397180000","1397180002","1397180003","1397180004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9c4e223c82df11df9241d1f7d9e48097.jpg","text":"TemporaryFile(/tmp/multipartBody1482290758473443795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576703652,"filename":"image_01112025_01_17_07_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/1/f1ef62cb108d0f3ca48f3e1d01aaf377.jpg","text":"TemporaryFile(/tmp/multipartBody3693711700931841712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576703652,"filename":"image_01112025_01_16_53_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/1/e4782049a7353415ec345a6c56df0140.jpg","text":"TemporaryFile(/tmp/multipartBody1253565006255333046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576703652,"filename":"image_01112025_01_16_56_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/951d6d89fbbc634ad8e9e4f3db08bc01.jpg","text":"TemporaryFile(/tmp/multipartBody471778698986334403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576703652,"filename":"image_01112025_01_17_02_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/1/a971a9a0d85e0c4c7dc34c33f8f33fa6.jpg","text":"TemporaryFile(/tmp/multipartBody8089543504601007011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576703652,"filename":"image_01112025_01_16_58_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/1/36f65ddf267ac22c244a1ad2b4910ddc.jpg","text":"TemporaryFile(/tmp/multipartBody5442826660568856728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576703652,"filename":"image_01112025_01_16_49_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397180000","file1":"1397179996","file0":"1397179992","file4":"1397180003","file5":"1397180004","file3":"1397180002"},"map_files_photo_id_array":[{"photo_id":"1397180004","filename":"file5"},{"photo_id":"1397180000","filename":"file2"},{"photo_id":"1397180003","filename":"file4"},{"photo_id":"1397179996","filename":"file1"},{"photo_id":"1397179992","filename":"file0"},{"photo_id":"1397180002","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397180004":["hashtag1","hashtag2"]},{"1397179996":["hashtag1","hashtag2"]},{"1397180000":["hashtag1","hashtag2"]},{"1397180003":["hashtag1","hashtag2"]},{"1397180002":["hashtag1","hashtag2"]},{"1397179992":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397180004, 1397179996, 1397180000, 1397180003, 1397180002, 1397179992)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.594541788101196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 09:11:31.956763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_20_3988.jpg', '/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_23_2586.jpg', '/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_25_2663.jpg', '/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_28_2600.jpg', '/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_31_2962.jpg', '/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_35_3942.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_20_3988.jpg
/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_23_2586.jpg
/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_25_2663.jpg
/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_28_2600.jpg
/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_31_2962.jpg
/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_35_3942.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397180028","1397180072","1397180019","1397180024","1397180071","1397180058"],"photo_ids_order":["1397180019","1397180024","1397180028","1397180058","1397180071","1397180072"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8d1b5e2206ad0f2bc418c71f45857669.jpg","text":"TemporaryFile(/tmp/multipartBody8288113681159072060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576753698,"filename":"image_25112025_22_16_25_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/1/240300a5d4a68268fca2ab50b9200018.jpg","text":"TemporaryFile(/tmp/multipartBody4692011368563939219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576753698,"filename":"image_25112025_22_16_35_3942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f215d359350f54685102786e1ae13a26.jpg","text":"TemporaryFile(/tmp/multipartBody5058959245409501764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576753698,"filename":"image_25112025_22_16_20_3988.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f823c1df63ad7b5a804dd626f867f312.jpg","text":"TemporaryFile(/tmp/multipartBody2271527857164922471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576753698,"filename":"image_25112025_22_16_23_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/1/02d4673ba90cfdf506af01d831425237.jpg","text":"TemporaryFile(/tmp/multipartBody2719580247908407229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576753698,"filename":"image_25112025_22_16_31_2962.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e335800ee3ea310aaba4c5cc17699da7.jpg","text":"TemporaryFile(/tmp/multipartBody7214221512360811710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576753698,"filename":"image_25112025_22_16_28_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397180028","file1":"1397180024","file0":"1397180019","file4":"1397180071","file5":"1397180072","file3":"1397180058"},"map_files_photo_id_array":[{"photo_id":"1397180072","filename":"file5"},{"photo_id":"1397180028","filename":"file2"},{"photo_id":"1397180071","filename":"file4"},{"photo_id":"1397180024","filename":"file1"},{"photo_id":"1397180019","filename":"file0"},{"photo_id":"1397180058","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397180028":["hashtag1","hashtag2"]},{"1397180072":["hashtag1","hashtag2"]},{"1397180019":["hashtag1","hashtag2"]},{"1397180024":["hashtag1","hashtag2"]},{"1397180071":["hashtag1","hashtag2"]},{"1397180058":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397180028, 1397180072, 1397180019, 1397180024, 1397180071, 1397180058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32317638397217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 09:12:12.283165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_37_2553.jpg', '/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_40_2772.jpg', '/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_48_8284.jpg', '/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_50_1644.jpg', '/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_53_3370.jpg', '/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_58_3187.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_37_2553.jpg
/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_40_2772.jpg
/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_48_8284.jpg
/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_50_1644.jpg
/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_53_3370.jpg
/home/pi/Desktop/images/25112025/22/16/image_25112025_22_16_58_3187.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397180092","1397180086","1397180089","1397180077","1397180082","1397180079"],"photo_ids_order":["1397180077","1397180079","1397180082","1397180086","1397180089","1397180092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3e7c07249a8fa077bb2a810ef91215ad.jpg","text":"TemporaryFile(/tmp/multipartBody2970219917849698344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576793932,"filename":"image_25112025_22_16_58_3187.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bc0409438414f6bf74394d8453a12973.jpg","text":"TemporaryFile(/tmp/multipartBody495340436588256616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576793932,"filename":"image_25112025_22_16_50_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/1/4081610165d057f9061f94b6e6b00dfe.jpg","text":"TemporaryFile(/tmp/multipartBody3059282469589044073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576793932,"filename":"image_25112025_22_16_53_3370.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/08d30f6e9a4e5737a2cd3ebedbbc606e.jpg","text":"TemporaryFile(/tmp/multipartBody5639399324838890792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576793932,"filename":"image_25112025_22_16_37_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/1/62d5b1cf32db9eec6d29c72938c62896.jpg","text":"TemporaryFile(/tmp/multipartBody6306825288872881677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576793932,"filename":"image_25112025_22_16_48_8284.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/00504c29ca6a2997077b3b204c9fb482.jpg","text":"TemporaryFile(/tmp/multipartBody317655606110784708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576793932,"filename":"image_25112025_22_16_40_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397180082","file1":"1397180079","file0":"1397180077","file4":"1397180089","file5":"1397180092","file3":"1397180086"},"map_files_photo_id_array":[{"photo_id":"1397180092","filename":"file5"},{"photo_id":"1397180082","filename":"file2"},{"photo_id":"1397180089","filename":"file4"},{"photo_id":"1397180079","filename":"file1"},{"photo_id":"1397180077","filename":"file0"},{"photo_id":"1397180086","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397180092":["hashtag1","hashtag2"]},{"1397180086":["hashtag1","hashtag2"]},{"1397180089":["hashtag1","hashtag2"]},{"1397180077":["hashtag1","hashtag2"]},{"1397180082":["hashtag1","hashtag2"]},{"1397180079":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397180092, 1397180086, 1397180089, 1397180077, 1397180082, 1397180079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52126717567444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:13:03.144456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/06/image_01122025_09_06_35_10690.jpg', '/home/pi/Desktop/images/01122025/09/06/image_01122025_09_06_45_9687.jpg', '/home/pi/Desktop/images/01122025/09/06/image_01122025_09_06_55_10542.jpg', '/home/pi/Desktop/images/01122025/09/06/image_01122025_09_07_05_9786.jpg', '/home/pi/Desktop/images/01122025/09/07/image_01122025_09_07_15_9752.jpg', '/home/pi/Desktop/images/01122025/09/07/image_01122025_09_07_24_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/06/image_01122025_09_06_35_10690.jpg
/home/pi/Desktop/images/01122025/09/06/image_01122025_09_06_45_9687.jpg
/home/pi/Desktop/images/01122025/09/06/image_01122025_09_06_55_10542.jpg
/home/pi/Desktop/images/01122025/09/06/image_01122025_09_07_05_9786.jpg
/home/pi/Desktop/images/01122025/09/07/image_01122025_09_07_15_9752.jpg
/home/pi/Desktop/images/01122025/09/07/image_01122025_09_07_24_9671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397180109","1397180103","1397180111","1397180105","1397180114","1397180107"],"photo_ids_order":["1397180103","1397180105","1397180107","1397180109","1397180111","1397180114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4de49b3121a58f9dca6ae40556b2909b.jpg","text":"TemporaryFile(/tmp/multipartBody2140427981651181024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576843831,"filename":"image_01122025_09_07_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/1/ede6acafacceea17d64eaf2e4ac4eb1e.jpg","text":"TemporaryFile(/tmp/multipartBody6346696472927634023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576843831,"filename":"image_01122025_09_06_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/1/cd495adb72318030d2c14b634d556385.jpg","text":"TemporaryFile(/tmp/multipartBody4078833659200598916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576843831,"filename":"image_01122025_09_07_15_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/353c86474cffcd74411f85a0d1675914.jpg","text":"TemporaryFile(/tmp/multipartBody4106578015985225906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576843831,"filename":"image_01122025_09_06_45_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/07fc8185bb8562807b96d2a38953d72a.jpg","text":"TemporaryFile(/tmp/multipartBody5915227078259897232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576843831,"filename":"image_01122025_09_07_24_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dffe1c3e9ba1530d6b663dc6cb55d0ac.jpg","text":"TemporaryFile(/tmp/multipartBody4928452786985064445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576843831,"filename":"image_01122025_09_06_55_10542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397180107","file1":"1397180105","file0":"1397180103","file4":"1397180111","file5":"1397180114","file3":"1397180109"},"map_files_photo_id_array":[{"photo_id":"1397180114","filename":"file5"},{"photo_id":"1397180107","filename":"file2"},{"photo_id":"1397180111","filename":"file4"},{"photo_id":"1397180105","filename":"file1"},{"photo_id":"1397180103","filename":"file0"},{"photo_id":"1397180109","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397180109":["hashtag1","hashtag2"]},{"1397180103":["hashtag1","hashtag2"]},{"1397180111":["hashtag1","hashtag2"]},{"1397180105":["hashtag1","hashtag2"]},{"1397180114":["hashtag1","hashtag2"]},{"1397180107":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397180109, 1397180103, 1397180111, 1397180105, 1397180114, 1397180107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06232166290283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 09:13:42.593856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/17/image_01112025_01_17_11_3630.jpg', '/home/pi/Desktop/images/01112025/01/17/image_01112025_01_17_20_3756.jpg', '/home/pi/Desktop/images/01112025/01/17/image_01112025_01_17_23_2878.jpg', '/home/pi/Desktop/images/01112025/01/17/image_01112025_01_17_26_2724.jpg', '/home/pi/Desktop/images/01112025/01/17/image_01112025_01_17_28_2704.jpg', '/home/pi/Desktop/images/01112025/01/17/image_01112025_01_17_52_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/17/image_01112025_01_17_11_3630.jpg
/home/pi/Desktop/images/01112025/01/17/image_01112025_01_17_20_3756.jpg
/home/pi/Desktop/images/01112025/01/17/image_01112025_01_17_23_2878.jpg
/home/pi/Desktop/images/01112025/01/17/image_01112025_01_17_26_2724.jpg
/home/pi/Desktop/images/01112025/01/17/image_01112025_01_17_28_2704.jpg
/home/pi/Desktop/images/01112025/01/17/image_01112025_01_17_52_2695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397180133","1397180135","1397180126","1397180129","1397180134","1397180131"],"photo_ids_order":["1397180126","1397180129","1397180131","1397180133","1397180134","1397180135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cca0480d1a448339f8c9b1bc0fc820ad.jpg","text":"TemporaryFile(/tmp/multipartBody4758625859108799944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576883464,"filename":"image_01112025_01_17_26_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/1/a707d7828c674a8c9b2e1f96cb26dd47.jpg","text":"TemporaryFile(/tmp/multipartBody877047902270373767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576883464,"filename":"image_01112025_01_17_52_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/1/623651c3e0b03a83e9b7292fbf898f5d.jpg","text":"TemporaryFile(/tmp/multipartBody1681278866987422847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576883464,"filename":"image_01112025_01_17_11_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d40f1f5e8d8af8dd67f167a4e77e92bc.jpg","text":"TemporaryFile(/tmp/multipartBody278022419022366359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576883464,"filename":"image_01112025_01_17_20_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e5d4a8e3d29d4e2ada3a90241fca603c.jpg","text":"TemporaryFile(/tmp/multipartBody8134507012178977078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576883464,"filename":"image_01112025_01_17_28_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/1/6f3758eb631fceb5281d476ac0dce36a.jpg","text":"TemporaryFile(/tmp/multipartBody4404237507942519858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576883464,"filename":"image_01112025_01_17_23_2878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397180131","file1":"1397180129","file0":"1397180126","file4":"1397180134","file5":"1397180135","file3":"1397180133"},"map_files_photo_id_array":[{"photo_id":"1397180135","filename":"file5"},{"photo_id":"1397180131","filename":"file2"},{"photo_id":"1397180134","filename":"file4"},{"photo_id":"1397180129","filename":"file1"},{"photo_id":"1397180126","filename":"file0"},{"photo_id":"1397180133","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397180133":["hashtag1","hashtag2"]},{"1397180135":["hashtag1","hashtag2"]},{"1397180126":["hashtag1","hashtag2"]},{"1397180129":["hashtag1","hashtag2"]},{"1397180134":["hashtag1","hashtag2"]},{"1397180131":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397180133, 1397180135, 1397180126, 1397180129, 1397180134, 1397180131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.592548847198486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 09:14:22.770225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/07/image_01122025_09_07_35_10605.jpg', '/home/pi/Desktop/images/01122025/09/07/image_01122025_09_07_45_9535.jpg', '/home/pi/Desktop/images/01122025/09/07/image_01122025_09_07_54_9689.jpg', '/home/pi/Desktop/images/01122025/09/07/image_01122025_09_08_05_10709.jpg', '/home/pi/Desktop/images/01122025/09/08/image_01122025_09_08_15_9829.jpg', '/home/pi/Desktop/images/01122025/09/08/image_01122025_09_08_24_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/07/image_01122025_09_07_35_10605.jpg
/home/pi/Desktop/images/01122025/09/07/image_01122025_09_07_45_9535.jpg
/home/pi/Desktop/images/01122025/09/07/image_01122025_09_07_54_9689.jpg
/home/pi/Desktop/images/01122025/09/07/image_01122025_09_08_05_10709.jpg
/home/pi/Desktop/images/01122025/09/08/image_01122025_09_08_15_9829.jpg
/home/pi/Desktop/images/01122025/09/08/image_01122025_09_08_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":["1397180151","1397180154","1397180142","1397180159","1397180147","1397180163"],"photo_ids_order":["1397180142","1397180147","1397180151","1397180154","1397180159","1397180163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9a0697adfb75c937178cc32b20839b11.jpg","text":"TemporaryFile(/tmp/multipartBody8762538861260299789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576923449,"filename":"image_01122025_09_07_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/1/7f452ae997f8979fa7870ba229cf9ae8.jpg","text":"TemporaryFile(/tmp/multipartBody5951032402336156637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576923449,"filename":"image_01122025_09_08_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/1/a8b20cf72fe76e448c7b7a0dd23764dd.jpg","text":"TemporaryFile(/tmp/multipartBody9124204998341585704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576923449,"filename":"image_01122025_09_07_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/1/15d59317635a886a7ec50bfbdefea0b4.jpg","text":"TemporaryFile(/tmp/multipartBody1713237840418759211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576923449,"filename":"image_01122025_09_08_15_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/671b0d13e159b155e4c4c34435725d64.jpg","text":"TemporaryFile(/tmp/multipartBody2367489704647062533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576923449,"filename":"image_01122025_09_07_45_9535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6275c35c9e83ebfb7b72543aa635ceb7.jpg","text":"TemporaryFile(/tmp/multipartBody1359790396931939713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576923449,"filename":"image_01122025_09_08_24_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397180151","file1":"1397180147","file0":"1397180142","file4":"1397180159","file5":"1397180163","file3":"1397180154"},"map_files_photo_id_array":[{"photo_id":"1397180163","filename":"file5"},{"photo_id":"1397180151","filename":"file2"},{"photo_id":"1397180159","filename":"file4"},{"photo_id":"1397180147","filename":"file1"},{"photo_id":"1397180142","filename":"file0"},{"photo_id":"1397180154","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397180151":["hashtag1","hashtag2"]},{"1397180154":["hashtag1","hashtag2"]},{"1397180142":["hashtag1","hashtag2"]},{"1397180159":["hashtag1","hashtag2"]},{"1397180147":["hashtag1","hashtag2"]},{"1397180163":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397180151, 1397180154, 1397180142, 1397180159, 1397180147, 1397180163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92074179649353 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:15:02.549421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/08/image_01122025_09_08_35_10732.jpg', '/home/pi/Desktop/images/01122025/09/08/image_01122025_09_08_45_9664.jpg', '/home/pi/Desktop/images/01122025/09/08/image_01122025_09_08_54_9539.jpg', '/home/pi/Desktop/images/01122025/09/08/image_01122025_09_09_05_10771.jpg', '/home/pi/Desktop/images/01122025/09/09/image_01122025_09_09_15_9617.jpg', '/home/pi/Desktop/images/01122025/09/09/image_01122025_09_09_24_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/08/image_01122025_09_08_35_10732.jpg
/home/pi/Desktop/images/01122025/09/08/image_01122025_09_08_45_9664.jpg
/home/pi/Desktop/images/01122025/09/08/image_01122025_09_08_54_9539.jpg
/home/pi/Desktop/images/01122025/09/08/image_01122025_09_09_05_10771.jpg
/home/pi/Desktop/images/01122025/09/09/image_01122025_09_09_15_9617.jpg
/home/pi/Desktop/images/01122025/09/09/image_01122025_09_09_24_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397180180","1397180168","1397180165","1397180170","1397180173","1397180176"],"photo_ids_order":["1397180165","1397180168","1397180170","1397180173","1397180176","1397180180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fb215e31fe33ff2e84cb0f859f328d10.jpg","text":"TemporaryFile(/tmp/multipartBody945515632106100051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576963300,"filename":"image_01122025_09_09_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/1/95d782e5a87f4f98873ac9488ca558f2.jpg","text":"TemporaryFile(/tmp/multipartBody7402238910905418309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576963300,"filename":"image_01122025_09_08_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/1/02f1a28517fe5a24ff573a6f9431c40c.jpg","text":"TemporaryFile(/tmp/multipartBody7621500368212199489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576963300,"filename":"image_01122025_09_08_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/1/64c422d88b49b8582c78e31148260f16.jpg","text":"TemporaryFile(/tmp/multipartBody286409577594363216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576963300,"filename":"image_01122025_09_08_54_9539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6c7615d4183f5e9c39126e6c3a03d3a6.jpg","text":"TemporaryFile(/tmp/multipartBody8962537116336251326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576963300,"filename":"image_01122025_09_09_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/1/0d0ed2f0d916efff8d2f9286fd29b434.jpg","text":"TemporaryFile(/tmp/multipartBody5769999628625540547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764576963300,"filename":"image_01122025_09_09_15_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397180170","file1":"1397180168","file0":"1397180165","file4":"1397180176","file5":"1397180180","file3":"1397180173"},"map_files_photo_id_array":[{"photo_id":"1397180180","filename":"file5"},{"photo_id":"1397180170","filename":"file2"},{"photo_id":"1397180176","filename":"file4"},{"photo_id":"1397180168","filename":"file1"},{"photo_id":"1397180165","filename":"file0"},{"photo_id":"1397180173","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397180180":["hashtag1","hashtag2"]},{"1397180168":["hashtag1","hashtag2"]},{"1397180165":["hashtag1","hashtag2"]},{"1397180170":["hashtag1","hashtag2"]},{"1397180173":["hashtag1","hashtag2"]},{"1397180176":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397180180, 1397180168, 1397180165, 1397180170, 1397180173, 1397180176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50095057487488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 09:15:41.875139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/17/image_01112025_01_17_56_3740.jpg', '/home/pi/Desktop/images/01112025/01/18/image_01112025_01_18_08_3808.jpg', '/home/pi/Desktop/images/01112025/01/18/image_01112025_01_18_11_2726.jpg', '/home/pi/Desktop/images/01112025/01/18/image_01112025_01_18_17_3650.jpg', '/home/pi/Desktop/images/01112025/01/18/image_01112025_01_18_26_3609.jpg', '/home/pi/Desktop/images/01112025/01/18/image_01112025_01_18_38_3456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/17/image_01112025_01_17_56_3740.jpg
/home/pi/Desktop/images/01112025/01/18/image_01112025_01_18_08_3808.jpg
/home/pi/Desktop/images/01112025/01/18/image_01112025_01_18_11_2726.jpg
/home/pi/Desktop/images/01112025/01/18/image_01112025_01_18_17_3650.jpg
/home/pi/Desktop/images/01112025/01/18/image_01112025_01_18_26_3609.jpg
/home/pi/Desktop/images/01112025/01/18/image_01112025_01_18_38_3456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397180198","1397180191","1397180194","1397180188","1397180200","1397180196"],"photo_ids_order":["1397180188","1397180191","1397180194","1397180196","1397180198","1397180200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/abeccfef2f63e2cd93a17a3d50b4b11f.jpg","text":"TemporaryFile(/tmp/multipartBody6346994967258654539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577003520,"filename":"image_01112025_01_18_26_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/1/1e4c619fef2e2976a39cb7c2f33c3f0d.jpg","text":"TemporaryFile(/tmp/multipartBody1565880662277716644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577003520,"filename":"image_01112025_01_18_08_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/1/d25e1de91ea89818d364801fe0728d01.jpg","text":"TemporaryFile(/tmp/multipartBody6245814119999298906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577003520,"filename":"image_01112025_01_18_11_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/1/476d7ece470d775271e2642215e17a3a.jpg","text":"TemporaryFile(/tmp/multipartBody5467505162132708465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577003520,"filename":"image_01112025_01_17_56_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/1/6938e656e0c6a4747e3d7eb6bb4ba6cc.jpg","text":"TemporaryFile(/tmp/multipartBody4917472756350117274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577003520,"filename":"image_01112025_01_18_38_3456.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5ce29636456c812194a230582bdd188f.jpg","text":"TemporaryFile(/tmp/multipartBody5982221618308189558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577003520,"filename":"image_01112025_01_18_17_3650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397180194","file1":"1397180191","file0":"1397180188","file4":"1397180198","file5":"1397180200","file3":"1397180196"},"map_files_photo_id_array":[{"photo_id":"1397180200","filename":"file5"},{"photo_id":"1397180194","filename":"file2"},{"photo_id":"1397180198","filename":"file4"},{"photo_id":"1397180191","filename":"file1"},{"photo_id":"1397180188","filename":"file0"},{"photo_id":"1397180196","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397180198":["hashtag1","hashtag2"]},{"1397180191":["hashtag1","hashtag2"]},{"1397180194":["hashtag1","hashtag2"]},{"1397180188":["hashtag1","hashtag2"]},{"1397180200":["hashtag1","hashtag2"]},{"1397180196":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397180198, 1397180191, 1397180194, 1397180188, 1397180200, 1397180196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.66748929023743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 09:16:22.109454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/09/image_01122025_09_09_35_10637.jpg', '/home/pi/Desktop/images/01122025/09/09/image_01122025_09_09_45_9546.jpg', '/home/pi/Desktop/images/01122025/09/09/image_01122025_09_09_55_10629.jpg', '/home/pi/Desktop/images/01122025/09/09/image_01122025_09_10_05_9745.jpg', '/home/pi/Desktop/images/01122025/09/10/image_01122025_09_10_15_9713.jpg', '/home/pi/Desktop/images/01122025/09/10/image_01122025_09_10_24_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/09/image_01122025_09_09_35_10637.jpg
/home/pi/Desktop/images/01122025/09/09/image_01122025_09_09_45_9546.jpg
/home/pi/Desktop/images/01122025/09/09/image_01122025_09_09_55_10629.jpg
/home/pi/Desktop/images/01122025/09/09/image_01122025_09_10_05_9745.jpg
/home/pi/Desktop/images/01122025/09/10/image_01122025_09_10_15_9713.jpg
/home/pi/Desktop/images/01122025/09/10/image_01122025_09_10_24_9803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397180211","1397180220","1397180208","1397180204","1397180215","1397180224"],"photo_ids_order":["1397180204","1397180208","1397180211","1397180215","1397180220","1397180224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a4255178a8146a1ca52f524bd4ce8501.jpg","text":"TemporaryFile(/tmp/multipartBody6311823606906417557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577042844,"filename":"image_01122025_09_09_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/1/08f70584110b45894785d109d04f05c1.jpg","text":"TemporaryFile(/tmp/multipartBody7961687082805116751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577042844,"filename":"image_01122025_09_10_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/1/cb45c9eb5b1da99d6893f52d3933a3da.jpg","text":"TemporaryFile(/tmp/multipartBody2688885285483123018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577042844,"filename":"image_01122025_09_09_45_9546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/481f91d5c21a11c7fa0a55ae75021681.jpg","text":"TemporaryFile(/tmp/multipartBody4744539339858805867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577042844,"filename":"image_01122025_09_09_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/1/017468eaffc4c796176c911d8d44a58b.jpg","text":"TemporaryFile(/tmp/multipartBody5224866388752670129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577042844,"filename":"image_01122025_09_10_05_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cf462b70c898ffa17f46205cb06aec8f.jpg","text":"TemporaryFile(/tmp/multipartBody8399960409109022549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577042844,"filename":"image_01122025_09_10_24_9803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397180211","file1":"1397180208","file0":"1397180204","file4":"1397180220","file5":"1397180224","file3":"1397180215"},"map_files_photo_id_array":[{"photo_id":"1397180224","filename":"file5"},{"photo_id":"1397180211","filename":"file2"},{"photo_id":"1397180220","filename":"file4"},{"photo_id":"1397180208","filename":"file1"},{"photo_id":"1397180204","filename":"file0"},{"photo_id":"1397180215","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397180211":["hashtag1","hashtag2"]},{"1397180220":["hashtag1","hashtag2"]},{"1397180208":["hashtag1","hashtag2"]},{"1397180204":["hashtag1","hashtag2"]},{"1397180215":["hashtag1","hashtag2"]},{"1397180224":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397180211, 1397180220, 1397180208, 1397180204, 1397180215, 1397180224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90487718582153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:17:02.835517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/10/image_01122025_09_10_35_10723.jpg', '/home/pi/Desktop/images/01122025/09/10/image_01122025_09_10_45_9700.jpg', '/home/pi/Desktop/images/01122025/09/10/image_01122025_09_10_55_9703.jpg', '/home/pi/Desktop/images/01122025/09/10/image_01122025_09_11_04_9859.jpg', '/home/pi/Desktop/images/01122025/09/11/image_01122025_09_11_14_9838.jpg', '/home/pi/Desktop/images/01122025/09/11/image_01122025_09_11_25_10718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/10/image_01122025_09_10_35_10723.jpg
/home/pi/Desktop/images/01122025/09/10/image_01122025_09_10_45_9700.jpg
/home/pi/Desktop/images/01122025/09/10/image_01122025_09_10_55_9703.jpg
/home/pi/Desktop/images/01122025/09/10/image_01122025_09_11_04_9859.jpg
/home/pi/Desktop/images/01122025/09/11/image_01122025_09_11_14_9838.jpg
/home/pi/Desktop/images/01122025/09/11/image_01122025_09_11_25_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":["1397180229","1397180240","1397180231","1397180233","1397180236","1397180230"],"photo_ids_order":["1397180229","1397180230","1397180231","1397180233","1397180236","1397180240"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b41759490340b9859055c97ac3e0ad34.jpg","text":"TemporaryFile(/tmp/multipartBody1446683312404582162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577083585,"filename":"image_01122025_09_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/1/4370010045fd9b4c84932b40a3e313ed.jpg","text":"TemporaryFile(/tmp/multipartBody668557947063571411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577083585,"filename":"image_01122025_09_11_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/1/a42d8e336e18bb53f4323465f7a35040.jpg","text":"TemporaryFile(/tmp/multipartBody4597462060957014364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577083585,"filename":"image_01122025_09_10_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/1/4291cd8bcd1ad0abcd8f91c64789c242.jpg","text":"TemporaryFile(/tmp/multipartBody4564378124782387432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577083585,"filename":"image_01122025_09_11_04_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/43c7e1ce4f4c3767627818d413b51a88.jpg","text":"TemporaryFile(/tmp/multipartBody119867570145683928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577083585,"filename":"image_01122025_09_11_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/1/0cbe5a71e010f88429d2f5f4d4c7afdb.jpg","text":"TemporaryFile(/tmp/multipartBody3157430767765670733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577083585,"filename":"image_01122025_09_10_45_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397180231","file1":"1397180230","file0":"1397180229","file4":"1397180236","file5":"1397180240","file3":"1397180233"},"map_files_photo_id_array":[{"photo_id":"1397180240","filename":"file5"},{"photo_id":"1397180231","filename":"file2"},{"photo_id":"1397180236","filename":"file4"},{"photo_id":"1397180230","filename":"file1"},{"photo_id":"1397180229","filename":"file0"},{"photo_id":"1397180233","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397180229":["hashtag1","hashtag2"]},{"1397180240":["hashtag1","hashtag2"]},{"1397180231":["hashtag1","hashtag2"]},{"1397180233":["hashtag1","hashtag2"]},{"1397180236":["hashtag1","hashtag2"]},{"1397180230":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397180229, 1397180240, 1397180231, 1397180233, 1397180236, 1397180230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.353882789611816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 09:17:42.234979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/18/image_01112025_01_18_40_2558.jpg', '/home/pi/Desktop/images/01112025/01/18/image_01112025_01_18_56_3767.jpg', '/home/pi/Desktop/images/01112025/01/19/image_01112025_01_19_05_3664.jpg', '/home/pi/Desktop/images/01112025/01/19/image_01112025_01_19_08_3194.jpg', '/home/pi/Desktop/images/01112025/01/19/image_01112025_01_19_14_2670.jpg', '/home/pi/Desktop/images/01112025/01/19/image_01112025_01_19_16_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/18/image_01112025_01_18_40_2558.jpg
/home/pi/Desktop/images/01112025/01/18/image_01112025_01_18_56_3767.jpg
/home/pi/Desktop/images/01112025/01/19/image_01112025_01_19_05_3664.jpg
/home/pi/Desktop/images/01112025/01/19/image_01112025_01_19_08_3194.jpg
/home/pi/Desktop/images/01112025/01/19/image_01112025_01_19_14_2670.jpg
/home/pi/Desktop/images/01112025/01/19/image_01112025_01_19_16_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":["1397180325","1397180253","1397180433","1397180360","1397180394","1397180289"],"photo_ids_order":["1397180253","1397180289","1397180325","1397180360","1397180394","1397180433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/451eef9a7b20dab558cf903eb50c8904.jpg","text":"TemporaryFile(/tmp/multipartBody5725349014082402774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577123142,"filename":"image_01112025_01_19_05_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/1/5e7a03f266d550604d81fe2129885039.jpg","text":"TemporaryFile(/tmp/multipartBody126152384660219566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577123142,"filename":"image_01112025_01_18_40_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/88637bb0aa7b7573bb11ee7b9b1bbf63.jpg","text":"TemporaryFile(/tmp/multipartBody2404647094652530980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577123142,"filename":"image_01112025_01_19_16_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/559f50098727efda9151014abf7351a8.jpg","text":"TemporaryFile(/tmp/multipartBody5517715979874810577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577123142,"filename":"image_01112025_01_19_08_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/1/982ba8dd34f9aa9a742d2a768a9d4ad3.jpg","text":"TemporaryFile(/tmp/multipartBody1117631555047470441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577123142,"filename":"image_01112025_01_19_14_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/1/9558bf0add74e93a872f664790c641ca.jpg","text":"TemporaryFile(/tmp/multipartBody6630032258989262853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577123142,"filename":"image_01112025_01_18_56_3767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397180325","file1":"1397180289","file0":"1397180253","file4":"1397180394","file5":"1397180433","file3":"1397180360"},"map_files_photo_id_array":[{"photo_id":"1397180433","filename":"file5"},{"photo_id":"1397180325","filename":"file2"},{"photo_id":"1397180394","filename":"file4"},{"photo_id":"1397180289","filename":"file1"},{"photo_id":"1397180253","filename":"file0"},{"photo_id":"1397180360","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397180325":["hashtag1","hashtag2"]},{"1397180253":["hashtag1","hashtag2"]},{"1397180433":["hashtag1","hashtag2"]},{"1397180360":["hashtag1","hashtag2"]},{"1397180394":["hashtag1","hashtag2"]},{"1397180289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397180325, 1397180253, 1397180433, 1397180360, 1397180394, 1397180289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39219546318054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 09:18:22.416249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/11/image_01122025_09_11_35_9544.jpg', '/home/pi/Desktop/images/01122025/09/11/image_01122025_09_11_44_9677.jpg', '/home/pi/Desktop/images/01122025/09/11/image_01122025_09_11_55_10656.jpg', '/home/pi/Desktop/images/01122025/09/11/image_01122025_09_12_04_9625.jpg', '/home/pi/Desktop/images/01122025/09/12/image_01122025_09_12_14_9820.jpg', '/home/pi/Desktop/images/01122025/09/12/image_01122025_09_12_25_10847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/11/image_01122025_09_11_35_9544.jpg
/home/pi/Desktop/images/01122025/09/11/image_01122025_09_11_44_9677.jpg
/home/pi/Desktop/images/01122025/09/11/image_01122025_09_11_55_10656.jpg
/home/pi/Desktop/images/01122025/09/11/image_01122025_09_12_04_9625.jpg
/home/pi/Desktop/images/01122025/09/12/image_01122025_09_12_14_9820.jpg
/home/pi/Desktop/images/01122025/09/12/image_01122025_09_12_25_10847.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397180715","1397180604","1397180642","1397180564","1397180761","1397180679"],"photo_ids_order":["1397180564","1397180604","1397180642","1397180679","1397180715","1397180761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1a6fde74b438835e19f432a090308939.jpg","text":"TemporaryFile(/tmp/multipartBody6862474201708517439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577163092,"filename":"image_01122025_09_12_14_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/63f3bb1a8c0c696bf28db9a0e42147d9.jpg","text":"TemporaryFile(/tmp/multipartBody4774334759230079544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577163092,"filename":"image_01122025_09_11_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/1/9250a6b56a40f1cd26983dea38148599.jpg","text":"TemporaryFile(/tmp/multipartBody9192936547231708101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577163092,"filename":"image_01122025_09_11_55_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f7a2a646cb5ccd066d334a70641f17b2.jpg","text":"TemporaryFile(/tmp/multipartBody422809441176317680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577163092,"filename":"image_01122025_09_11_35_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/1/3fb0ccfd18b8e81301c02d52e0360049.jpg","text":"TemporaryFile(/tmp/multipartBody1952807963611686063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577163092,"filename":"image_01122025_09_12_25_10847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0c10692577553cffa1deaef8fa929e10.jpg","text":"TemporaryFile(/tmp/multipartBody1603281452527607314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577163092,"filename":"image_01122025_09_12_04_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397180642","file1":"1397180604","file0":"1397180564","file4":"1397180715","file5":"1397180761","file3":"1397180679"},"map_files_photo_id_array":[{"photo_id":"1397180761","filename":"file5"},{"photo_id":"1397180642","filename":"file2"},{"photo_id":"1397180715","filename":"file4"},{"photo_id":"1397180604","filename":"file1"},{"photo_id":"1397180564","filename":"file0"},{"photo_id":"1397180679","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397180715":["hashtag1","hashtag2"]},{"1397180604":["hashtag1","hashtag2"]},{"1397180642":["hashtag1","hashtag2"]},{"1397180564":["hashtag1","hashtag2"]},{"1397180761":["hashtag1","hashtag2"]},{"1397180679":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397180715, 1397180604, 1397180642, 1397180564, 1397180761, 1397180679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7786819934845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:19:03.559829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/12/image_01122025_09_12_35_9528.jpg', '/home/pi/Desktop/images/01122025/09/12/image_01122025_09_12_44_9611.jpg', '/home/pi/Desktop/images/01122025/09/12/image_01122025_09_12_55_10657.jpg', '/home/pi/Desktop/images/01122025/09/12/image_01122025_09_13_05_9675.jpg', '/home/pi/Desktop/images/01122025/09/13/image_01122025_09_13_14_9653.jpg', '/home/pi/Desktop/images/01122025/09/13/image_01122025_09_13_25_10586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/12/image_01122025_09_12_35_9528.jpg
/home/pi/Desktop/images/01122025/09/12/image_01122025_09_12_44_9611.jpg
/home/pi/Desktop/images/01122025/09/12/image_01122025_09_12_55_10657.jpg
/home/pi/Desktop/images/01122025/09/12/image_01122025_09_13_05_9675.jpg
/home/pi/Desktop/images/01122025/09/13/image_01122025_09_13_14_9653.jpg
/home/pi/Desktop/images/01122025/09/13/image_01122025_09_13_25_10586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397180769","1397180786","1397180822","1397180771","1397180773","1397180869"],"photo_ids_order":["1397180769","1397180771","1397180773","1397180786","1397180822","1397180869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/37e9629780e34114969466140a7c2df8.jpg","text":"TemporaryFile(/tmp/multipartBody7541546252195518413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577204393,"filename":"image_01122025_09_12_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/1/0fd0e7ef96e9120b73eb7803eb1f5606.jpg","text":"TemporaryFile(/tmp/multipartBody1799895204519472448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577204393,"filename":"image_01122025_09_13_05_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f9d6495663b0bd962801982bf75c41e3.jpg","text":"TemporaryFile(/tmp/multipartBody4071182677144598263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577204393,"filename":"image_01122025_09_13_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/1/6724575d429b22ab52d0f4b51b7c4c93.jpg","text":"TemporaryFile(/tmp/multipartBody4954284122513087759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577204393,"filename":"image_01122025_09_12_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/1/c497593db44c87b392a456df79bf7a4d.jpg","text":"TemporaryFile(/tmp/multipartBody7065359421097901456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577204393,"filename":"image_01122025_09_12_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/1/94c1af227ed16d110cccf6e6f0f7ce37.jpg","text":"TemporaryFile(/tmp/multipartBody7567367213629129536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577204393,"filename":"image_01122025_09_13_25_10586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397180773","file1":"1397180771","file0":"1397180769","file4":"1397180822","file5":"1397180869","file3":"1397180786"},"map_files_photo_id_array":[{"photo_id":"1397180869","filename":"file5"},{"photo_id":"1397180773","filename":"file2"},{"photo_id":"1397180822","filename":"file4"},{"photo_id":"1397180771","filename":"file1"},{"photo_id":"1397180769","filename":"file0"},{"photo_id":"1397180786","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397180769":["hashtag1","hashtag2"]},{"1397180786":["hashtag1","hashtag2"]},{"1397180822":["hashtag1","hashtag2"]},{"1397180771":["hashtag1","hashtag2"]},{"1397180773":["hashtag1","hashtag2"]},{"1397180869":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397180769, 1397180786, 1397180822, 1397180771, 1397180773, 1397180869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.237154483795166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 09:19:42.714471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/19/image_01112025_01_19_28_2684.jpg', '/home/pi/Desktop/images/01112025/01/19/image_01112025_01_19_47_2951.jpg', '/home/pi/Desktop/images/01112025/01/19/image_01112025_01_19_49_2730.jpg', '/home/pi/Desktop/images/01112025/01/20/image_01112025_01_20_02_3555.jpg', '/home/pi/Desktop/images/01112025/01/20/image_01112025_01_20_05_2763.jpg', '/home/pi/Desktop/images/01112025/01/20/image_01112025_01_20_07_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/19/image_01112025_01_19_28_2684.jpg
/home/pi/Desktop/images/01112025/01/19/image_01112025_01_19_47_2951.jpg
/home/pi/Desktop/images/01112025/01/19/image_01112025_01_19_49_2730.jpg
/home/pi/Desktop/images/01112025/01/20/image_01112025_01_20_02_3555.jpg
/home/pi/Desktop/images/01112025/01/20/image_01112025_01_20_05_2763.jpg
/home/pi/Desktop/images/01112025/01/20/image_01112025_01_20_07_2666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397181000","1397180934","1397180989","1397180950","1397181060","1397181144"],"photo_ids_order":["1397180934","1397180950","1397180989","1397181000","1397181060","1397181144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7e1894fcf72ba7d7427e2c87ae980bd3.jpg","text":"TemporaryFile(/tmp/multipartBody5666178495999585605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577243592,"filename":"image_01112025_01_20_02_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/1/3e344eea5524bad1d6b9baf7d30218ef.jpg","text":"TemporaryFile(/tmp/multipartBody74939189161451816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577243592,"filename":"image_01112025_01_19_28_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/1/e6c10ad7c77c7239b53899f4f44f43c3.jpg","text":"TemporaryFile(/tmp/multipartBody9083869316544772582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577243592,"filename":"image_01112025_01_19_49_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/1/e8825bb3a321e37d1a41cf9fff0c79a0.jpg","text":"TemporaryFile(/tmp/multipartBody9061015823177427300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577243592,"filename":"image_01112025_01_19_47_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/1/e46a2ad3a2fe6308dec378e3dc4e38e4.jpg","text":"TemporaryFile(/tmp/multipartBody2187778798928769536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577243592,"filename":"image_01112025_01_20_05_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/1/f5be862c64debd89c265d4fb9b087cf8.jpg","text":"TemporaryFile(/tmp/multipartBody3079166191545214902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577243592,"filename":"image_01112025_01_20_07_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397180989","file1":"1397180950","file0":"1397180934","file4":"1397181060","file5":"1397181144","file3":"1397181000"},"map_files_photo_id_array":[{"photo_id":"1397181144","filename":"file5"},{"photo_id":"1397180989","filename":"file2"},{"photo_id":"1397181060","filename":"file4"},{"photo_id":"1397180950","filename":"file1"},{"photo_id":"1397180934","filename":"file0"},{"photo_id":"1397181000","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397181000":["hashtag1","hashtag2"]},{"1397180934":["hashtag1","hashtag2"]},{"1397180989":["hashtag1","hashtag2"]},{"1397180950":["hashtag1","hashtag2"]},{"1397181060":["hashtag1","hashtag2"]},{"1397181144":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397181000, 1397180934, 1397180989, 1397180950, 1397181060, 1397181144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35049772262573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 09:20:21.889454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/13/image_01122025_09_13_35_9632.jpg', '/home/pi/Desktop/images/01122025/09/13/image_01122025_09_13_45_10618.jpg', '/home/pi/Desktop/images/01122025/09/13/image_01122025_09_13_55_9735.jpg', '/home/pi/Desktop/images/01122025/09/13/image_01122025_09_14_04_9587.jpg', '/home/pi/Desktop/images/01122025/09/14/image_01122025_09_14_15_10691.jpg', '/home/pi/Desktop/images/01122025/09/14/image_01122025_09_14_25_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/13/image_01122025_09_13_35_9632.jpg
/home/pi/Desktop/images/01122025/09/13/image_01122025_09_13_45_10618.jpg
/home/pi/Desktop/images/01122025/09/13/image_01122025_09_13_55_9735.jpg
/home/pi/Desktop/images/01122025/09/13/image_01122025_09_14_04_9587.jpg
/home/pi/Desktop/images/01122025/09/14/image_01122025_09_14_15_10691.jpg
/home/pi/Desktop/images/01122025/09/14/image_01122025_09_14_25_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":["1397181473","1397181380","1397181290","1397181478","1397181343","1397181418"],"photo_ids_order":["1397181290","1397181343","1397181380","1397181418","1397181473","1397181478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3021a45e53f962b480b03360daedd448.jpg","text":"TemporaryFile(/tmp/multipartBody6518972254414955237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577282591,"filename":"image_01122025_09_14_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/1/99f2d4b49c39decb3db6d4b7e38e4f53.jpg","text":"TemporaryFile(/tmp/multipartBody335823416067046532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577282591,"filename":"image_01122025_09_13_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/1/30b0f39cc62bbdc1508c7870be8e7399.jpg","text":"TemporaryFile(/tmp/multipartBody642363916077301367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577282591,"filename":"image_01122025_09_13_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/1/8bbe252bb41c173f556429d098595550.jpg","text":"TemporaryFile(/tmp/multipartBody2754674093413272408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577282591,"filename":"image_01122025_09_14_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/1/0b015a51897bcd4dadad4254bdb995eb.jpg","text":"TemporaryFile(/tmp/multipartBody1446977400456678236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577282591,"filename":"image_01122025_09_13_45_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ec3215ca37207f9f3313e7c42b6874c6.jpg","text":"TemporaryFile(/tmp/multipartBody3580296435708591833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577282591,"filename":"image_01122025_09_14_04_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397181380","file1":"1397181343","file0":"1397181290","file4":"1397181473","file5":"1397181478","file3":"1397181418"},"map_files_photo_id_array":[{"photo_id":"1397181478","filename":"file5"},{"photo_id":"1397181380","filename":"file2"},{"photo_id":"1397181473","filename":"file4"},{"photo_id":"1397181343","filename":"file1"},{"photo_id":"1397181290","filename":"file0"},{"photo_id":"1397181418","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397181473":["hashtag1","hashtag2"]},{"1397181380":["hashtag1","hashtag2"]},{"1397181290":["hashtag1","hashtag2"]},{"1397181478":["hashtag1","hashtag2"]},{"1397181343":["hashtag1","hashtag2"]},{"1397181418":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397181473, 1397181380, 1397181290, 1397181478, 1397181343, 1397181418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.43432641029358 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:21:02.612709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/14/image_01122025_09_14_34_9625.jpg', '/home/pi/Desktop/images/01122025/09/14/image_01122025_09_14_45_10623.jpg', '/home/pi/Desktop/images/01122025/09/14/image_01122025_09_14_55_9573.jpg', '/home/pi/Desktop/images/01122025/09/14/image_01122025_09_15_04_9709.jpg', '/home/pi/Desktop/images/01122025/09/15/image_01122025_09_15_15_10582.jpg', '/home/pi/Desktop/images/01122025/09/15/image_01122025_09_15_25_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/14/image_01122025_09_14_34_9625.jpg
/home/pi/Desktop/images/01122025/09/14/image_01122025_09_14_45_10623.jpg
/home/pi/Desktop/images/01122025/09/14/image_01122025_09_14_55_9573.jpg
/home/pi/Desktop/images/01122025/09/14/image_01122025_09_15_04_9709.jpg
/home/pi/Desktop/images/01122025/09/15/image_01122025_09_15_15_10582.jpg
/home/pi/Desktop/images/01122025/09/15/image_01122025_09_15_25_9752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397181593","1397181536","1397181500","1397181570","1397181633","1397181606"],"photo_ids_order":["1397181500","1397181536","1397181570","1397181593","1397181606","1397181633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/40f2c06f5cea1ba4133f99b34a166c34.jpg","text":"TemporaryFile(/tmp/multipartBody8626772862337515101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577323299,"filename":"image_01122025_09_15_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/1/5e227eb05643eaaa989195b3c68a487e.jpg","text":"TemporaryFile(/tmp/multipartBody994520502458303750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577323299,"filename":"image_01122025_09_14_45_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2bd832f0753e03656d02f42462d9f470.jpg","text":"TemporaryFile(/tmp/multipartBody8471617478313345506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577323299,"filename":"image_01122025_09_14_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/1/75fd35a310c22b2c699fd339a0778caf.jpg","text":"TemporaryFile(/tmp/multipartBody688756173033354080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577323299,"filename":"image_01122025_09_14_55_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2677de0d418653d928b905cf3ff51953.jpg","text":"TemporaryFile(/tmp/multipartBody172325559335542719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577323299,"filename":"image_01122025_09_15_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/1/b9139d96d19beb09db599f7d6767daaa.jpg","text":"TemporaryFile(/tmp/multipartBody591134880892524208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577323299,"filename":"image_01122025_09_15_15_10582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397181570","file1":"1397181536","file0":"1397181500","file4":"1397181606","file5":"1397181633","file3":"1397181593"},"map_files_photo_id_array":[{"photo_id":"1397181633","filename":"file5"},{"photo_id":"1397181570","filename":"file2"},{"photo_id":"1397181606","filename":"file4"},{"photo_id":"1397181536","filename":"file1"},{"photo_id":"1397181500","filename":"file0"},{"photo_id":"1397181593","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397181593":["hashtag1","hashtag2"]},{"1397181536":["hashtag1","hashtag2"]},{"1397181500":["hashtag1","hashtag2"]},{"1397181570":["hashtag1","hashtag2"]},{"1397181633":["hashtag1","hashtag2"]},{"1397181606":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397181593, 1397181536, 1397181500, 1397181570, 1397181633, 1397181606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30853462219238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 09:21:42.105903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/20/image_01112025_01_20_14_3914.jpg', '/home/pi/Desktop/images/01112025/01/20/image_01112025_01_20_17_2768.jpg', '/home/pi/Desktop/images/01112025/01/20/image_01112025_01_20_19_2762.jpg', '/home/pi/Desktop/images/01112025/01/20/image_01112025_01_20_22_2716.jpg', '/home/pi/Desktop/images/01112025/01/20/image_01112025_01_20_28_2604.jpg', '/home/pi/Desktop/images/01112025/01/20/image_01112025_01_20_32_3605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/20/image_01112025_01_20_14_3914.jpg
/home/pi/Desktop/images/01112025/01/20/image_01112025_01_20_17_2768.jpg
/home/pi/Desktop/images/01112025/01/20/image_01112025_01_20_19_2762.jpg
/home/pi/Desktop/images/01112025/01/20/image_01112025_01_20_22_2716.jpg
/home/pi/Desktop/images/01112025/01/20/image_01112025_01_20_28_2604.jpg
/home/pi/Desktop/images/01112025/01/20/image_01112025_01_20_32_3605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397181674","1397181676","1397181670","1397181673","1397181675","1397181678"],"photo_ids_order":["1397181670","1397181673","1397181674","1397181675","1397181676","1397181678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0936b349cd6b2fb978a8efdc89f71e88.jpg","text":"TemporaryFile(/tmp/multipartBody3170489934134792421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577362970,"filename":"image_01112025_01_20_19_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9d0f7be71000713538cb5a13824695f2.jpg","text":"TemporaryFile(/tmp/multipartBody8206886115605202069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577362970,"filename":"image_01112025_01_20_28_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/1/f6d08c761b11b6ca3a8597f91adb9842.jpg","text":"TemporaryFile(/tmp/multipartBody8939505476750958211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577362970,"filename":"image_01112025_01_20_14_3914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c34f4488993f04e0b13cc3d27613838b.jpg","text":"TemporaryFile(/tmp/multipartBody5791262303864919367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577362970,"filename":"image_01112025_01_20_17_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/1/2dd42164a4cd7b3f510ac274453cef8a.jpg","text":"TemporaryFile(/tmp/multipartBody1084634034822647686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577362970,"filename":"image_01112025_01_20_22_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f92af7cd9e788530229970b370252eb7.jpg","text":"TemporaryFile(/tmp/multipartBody5958534880598879655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577362970,"filename":"image_01112025_01_20_32_3605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397181674","file1":"1397181673","file0":"1397181670","file4":"1397181676","file5":"1397181678","file3":"1397181675"},"map_files_photo_id_array":[{"photo_id":"1397181678","filename":"file5"},{"photo_id":"1397181674","filename":"file2"},{"photo_id":"1397181676","filename":"file4"},{"photo_id":"1397181673","filename":"file1"},{"photo_id":"1397181670","filename":"file0"},{"photo_id":"1397181675","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397181674":["hashtag1","hashtag2"]},{"1397181676":["hashtag1","hashtag2"]},{"1397181670":["hashtag1","hashtag2"]},{"1397181673":["hashtag1","hashtag2"]},{"1397181675":["hashtag1","hashtag2"]},{"1397181678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397181674, 1397181676, 1397181670, 1397181673, 1397181675, 1397181678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84074115753174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 09:22:22.320393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/15/image_01122025_09_15_34_9510.jpg', '/home/pi/Desktop/images/01122025/09/15/image_01122025_09_15_45_10729.jpg', '/home/pi/Desktop/images/01122025/09/15/image_01122025_09_15_55_9743.jpg', '/home/pi/Desktop/images/01122025/09/15/image_01122025_09_16_04_9662.jpg', '/home/pi/Desktop/images/01122025/09/16/image_01122025_09_16_15_10743.jpg', '/home/pi/Desktop/images/01122025/09/16/image_01122025_09_16_25_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/15/image_01122025_09_15_34_9510.jpg
/home/pi/Desktop/images/01122025/09/15/image_01122025_09_15_45_10729.jpg
/home/pi/Desktop/images/01122025/09/15/image_01122025_09_15_55_9743.jpg
/home/pi/Desktop/images/01122025/09/15/image_01122025_09_16_04_9662.jpg
/home/pi/Desktop/images/01122025/09/16/image_01122025_09_16_15_10743.jpg
/home/pi/Desktop/images/01122025/09/16/image_01122025_09_16_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":["1397181686","1397181704","1397181691","1397181700","1397181696","1397181690"],"photo_ids_order":["1397181686","1397181690","1397181691","1397181696","1397181700","1397181704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0f953c50a7ddfc595412181cd919bff2.jpg","text":"TemporaryFile(/tmp/multipartBody7883686447669116720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577402995,"filename":"image_01122025_09_15_34_9510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e558c2a3cf17d284d49df21715ce2bbe.jpg","text":"TemporaryFile(/tmp/multipartBody5017040964729419635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577402995,"filename":"image_01122025_09_16_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/1/284e105f1d98d1b185a6b9d6f90a8399.jpg","text":"TemporaryFile(/tmp/multipartBody1380364412006264447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577402995,"filename":"image_01122025_09_15_55_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8044e80d1828aafc7b58f144f609cf21.jpg","text":"TemporaryFile(/tmp/multipartBody846160919757418845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577402995,"filename":"image_01122025_09_16_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/1/54fd6af4c04476a9415deeafb749b18c.jpg","text":"TemporaryFile(/tmp/multipartBody977680410675878480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577402995,"filename":"image_01122025_09_16_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/1/addf2c01707940d1f50ecbd730b1e07d.jpg","text":"TemporaryFile(/tmp/multipartBody4168538697918360163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577402995,"filename":"image_01122025_09_15_45_10729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397181691","file1":"1397181690","file0":"1397181686","file4":"1397181700","file5":"1397181704","file3":"1397181696"},"map_files_photo_id_array":[{"photo_id":"1397181704","filename":"file5"},{"photo_id":"1397181691","filename":"file2"},{"photo_id":"1397181700","filename":"file4"},{"photo_id":"1397181690","filename":"file1"},{"photo_id":"1397181686","filename":"file0"},{"photo_id":"1397181696","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397181686":["hashtag1","hashtag2"]},{"1397181704":["hashtag1","hashtag2"]},{"1397181691":["hashtag1","hashtag2"]},{"1397181700":["hashtag1","hashtag2"]},{"1397181696":["hashtag1","hashtag2"]},{"1397181690":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397181686, 1397181704, 1397181691, 1397181700, 1397181696, 1397181690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22056484222412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:23:03.260293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/16/image_01122025_09_16_34_9616.jpg', '/home/pi/Desktop/images/01122025/09/16/image_01122025_09_16_45_10587.jpg', '/home/pi/Desktop/images/01122025/09/16/image_01122025_09_16_55_9597.jpg', '/home/pi/Desktop/images/01122025/09/16/image_01122025_09_17_04_9621.jpg', '/home/pi/Desktop/images/01122025/09/17/image_01122025_09_17_15_10909.jpg', '/home/pi/Desktop/images/01122025/09/17/image_01122025_09_17_25_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/16/image_01122025_09_16_34_9616.jpg
/home/pi/Desktop/images/01122025/09/16/image_01122025_09_16_45_10587.jpg
/home/pi/Desktop/images/01122025/09/16/image_01122025_09_16_55_9597.jpg
/home/pi/Desktop/images/01122025/09/16/image_01122025_09_17_04_9621.jpg
/home/pi/Desktop/images/01122025/09/17/image_01122025_09_17_15_10909.jpg
/home/pi/Desktop/images/01122025/09/17/image_01122025_09_17_25_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":["1397181717","1397181722","1397181721","1397181723","1397181726","1397181720"],"photo_ids_order":["1397181717","1397181720","1397181721","1397181722","1397181723","1397181726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fc92e90d2a9d627ae07e4eae4ba6dbb4.jpg","text":"TemporaryFile(/tmp/multipartBody4462163442016565937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577443924,"filename":"image_01122025_09_16_34_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/eaab7accb83e72b981c1f1234e7ed996.jpg","text":"TemporaryFile(/tmp/multipartBody5259346245574850983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577443924,"filename":"image_01122025_09_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/1/683ecbce7cfa6940424d271f1c15ad75.jpg","text":"TemporaryFile(/tmp/multipartBody3491471811785960967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577443924,"filename":"image_01122025_09_16_55_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d98dce4a0504abce5393fd73bbd57148.jpg","text":"TemporaryFile(/tmp/multipartBody5425459656293494659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577443924,"filename":"image_01122025_09_17_15_10909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1d814201b2f1a68d747b5136c71e04f3.jpg","text":"TemporaryFile(/tmp/multipartBody1061853309264392293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577443924,"filename":"image_01122025_09_17_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/1/9cfb74a2c2a8a49ab99c96343342b716.jpg","text":"TemporaryFile(/tmp/multipartBody5161694634005895262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577443924,"filename":"image_01122025_09_16_45_10587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397181721","file1":"1397181720","file0":"1397181717","file4":"1397181723","file5":"1397181726","file3":"1397181722"},"map_files_photo_id_array":[{"photo_id":"1397181726","filename":"file5"},{"photo_id":"1397181721","filename":"file2"},{"photo_id":"1397181723","filename":"file4"},{"photo_id":"1397181720","filename":"file1"},{"photo_id":"1397181717","filename":"file0"},{"photo_id":"1397181722","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397181717":["hashtag1","hashtag2"]},{"1397181722":["hashtag1","hashtag2"]},{"1397181721":["hashtag1","hashtag2"]},{"1397181723":["hashtag1","hashtag2"]},{"1397181726":["hashtag1","hashtag2"]},{"1397181720":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397181717, 1397181722, 1397181721, 1397181723, 1397181726, 1397181720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36935472488403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 09:23:42.570306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/20/image_01112025_01_20_43_2896.jpg', '/home/pi/Desktop/images/01112025/01/20/image_01112025_01_20_52_2805.jpg', '/home/pi/Desktop/images/01112025/01/20/image_01112025_01_20_55_2743.jpg', '/home/pi/Desktop/images/01112025/01/20/image_01112025_01_20_59_3718.jpg', '/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_13_2808.jpg', '/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_17_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/20/image_01112025_01_20_43_2896.jpg
/home/pi/Desktop/images/01112025/01/20/image_01112025_01_20_52_2805.jpg
/home/pi/Desktop/images/01112025/01/20/image_01112025_01_20_55_2743.jpg
/home/pi/Desktop/images/01112025/01/20/image_01112025_01_20_59_3718.jpg
/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_13_2808.jpg
/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_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":["1397181749","1397181745","1397181748","1397181742","1397181738","1397181747"],"photo_ids_order":["1397181738","1397181742","1397181745","1397181747","1397181748","1397181749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5dcce77ed61dccc3f2083e0f6896c89d.jpg","text":"TemporaryFile(/tmp/multipartBody6083687174003089124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577483439,"filename":"image_01112025_01_21_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/1/3f8de8f235ba425ec2da0ce8ed135752.jpg","text":"TemporaryFile(/tmp/multipartBody1535661094470650386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577483439,"filename":"image_01112025_01_20_55_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/1/54c99b118f287c3c8c3f10c4c00eb73c.jpg","text":"TemporaryFile(/tmp/multipartBody1894153882220043548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577483439,"filename":"image_01112025_01_21_13_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6f99285f05e1bddfec4bdece48251526.jpg","text":"TemporaryFile(/tmp/multipartBody7053977198527201832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577483439,"filename":"image_01112025_01_20_52_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f9f8120ec251e6021d62ec4d2b6b781a.jpg","text":"TemporaryFile(/tmp/multipartBody7832428563736770439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577483439,"filename":"image_01112025_01_20_43_2896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c3ed44c2bd2617a92a6d31e92721b499.jpg","text":"TemporaryFile(/tmp/multipartBody1191608094059965215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577483439,"filename":"image_01112025_01_20_59_3718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397181745","file1":"1397181742","file0":"1397181738","file4":"1397181748","file5":"1397181749","file3":"1397181747"},"map_files_photo_id_array":[{"photo_id":"1397181749","filename":"file5"},{"photo_id":"1397181745","filename":"file2"},{"photo_id":"1397181748","filename":"file4"},{"photo_id":"1397181742","filename":"file1"},{"photo_id":"1397181738","filename":"file0"},{"photo_id":"1397181747","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397181749":["hashtag1","hashtag2"]},{"1397181745":["hashtag1","hashtag2"]},{"1397181748":["hashtag1","hashtag2"]},{"1397181742":["hashtag1","hashtag2"]},{"1397181738":["hashtag1","hashtag2"]},{"1397181747":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397181749, 1397181745, 1397181748, 1397181742, 1397181738, 1397181747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40842938423157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 09:24:22.832964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/17/image_01122025_09_17_34_9657.jpg', '/home/pi/Desktop/images/01122025/09/17/image_01122025_09_17_45_10551.jpg', '/home/pi/Desktop/images/01122025/09/17/image_01122025_09_17_55_9539.jpg', '/home/pi/Desktop/images/01122025/09/17/image_01122025_09_18_05_10570.jpg', '/home/pi/Desktop/images/01122025/09/18/image_01122025_09_18_15_9633.jpg', '/home/pi/Desktop/images/01122025/09/18/image_01122025_09_18_24_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/17/image_01122025_09_17_34_9657.jpg
/home/pi/Desktop/images/01122025/09/17/image_01122025_09_17_45_10551.jpg
/home/pi/Desktop/images/01122025/09/17/image_01122025_09_17_55_9539.jpg
/home/pi/Desktop/images/01122025/09/17/image_01122025_09_18_05_10570.jpg
/home/pi/Desktop/images/01122025/09/18/image_01122025_09_18_15_9633.jpg
/home/pi/Desktop/images/01122025/09/18/image_01122025_09_18_24_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":["1397181764","1397181757","1397181772","1397181760","1397181768","1397181753"],"photo_ids_order":["1397181753","1397181757","1397181760","1397181764","1397181768","1397181772"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/af884b2b5ed57773012c7fece84b202f.jpg","text":"TemporaryFile(/tmp/multipartBody5391328085671481962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577523500,"filename":"image_01122025_09_18_05_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/1/4ceecc00788ceaf035b5613ae62d74ff.jpg","text":"TemporaryFile(/tmp/multipartBody2667894600724835184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577523500,"filename":"image_01122025_09_17_45_10551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a73fcf207a08ebccc2614077bb00e370.jpg","text":"TemporaryFile(/tmp/multipartBody4835661342624780858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577523500,"filename":"image_01122025_09_18_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/1/56314e38acbea3f2207e57081a073cd6.jpg","text":"TemporaryFile(/tmp/multipartBody2527344351051204831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577523500,"filename":"image_01122025_09_17_55_9539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d88d79e8af46e96fd3337fe1cb2b2866.jpg","text":"TemporaryFile(/tmp/multipartBody4664386379907726261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577523500,"filename":"image_01122025_09_18_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/1/c80dc45e7c8623d1e9659e12514399ab.jpg","text":"TemporaryFile(/tmp/multipartBody9036262539725881683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577523500,"filename":"image_01122025_09_17_34_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397181760","file1":"1397181757","file0":"1397181753","file4":"1397181768","file5":"1397181772","file3":"1397181764"},"map_files_photo_id_array":[{"photo_id":"1397181772","filename":"file5"},{"photo_id":"1397181760","filename":"file2"},{"photo_id":"1397181768","filename":"file4"},{"photo_id":"1397181757","filename":"file1"},{"photo_id":"1397181753","filename":"file0"},{"photo_id":"1397181764","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397181764":["hashtag1","hashtag2"]},{"1397181757":["hashtag1","hashtag2"]},{"1397181772":["hashtag1","hashtag2"]},{"1397181760":["hashtag1","hashtag2"]},{"1397181768":["hashtag1","hashtag2"]},{"1397181753":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397181764, 1397181757, 1397181772, 1397181760, 1397181768, 1397181753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94541025161743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:25:02.672155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/18/image_01122025_09_18_35_10318.jpg', '/home/pi/Desktop/images/01122025/09/18/image_01122025_09_18_45_9778.jpg', '/home/pi/Desktop/images/01122025/09/18/image_01122025_09_18_54_9788.jpg', '/home/pi/Desktop/images/01122025/09/18/image_01122025_09_19_05_10565.jpg', '/home/pi/Desktop/images/01122025/09/19/image_01122025_09_19_15_9806.jpg', '/home/pi/Desktop/images/01122025/09/19/image_01122025_09_19_24_9525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/18/image_01122025_09_18_35_10318.jpg
/home/pi/Desktop/images/01122025/09/18/image_01122025_09_18_45_9778.jpg
/home/pi/Desktop/images/01122025/09/18/image_01122025_09_18_54_9788.jpg
/home/pi/Desktop/images/01122025/09/18/image_01122025_09_19_05_10565.jpg
/home/pi/Desktop/images/01122025/09/19/image_01122025_09_19_15_9806.jpg
/home/pi/Desktop/images/01122025/09/19/image_01122025_09_19_24_9525.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397181785","1397181779","1397181788","1397181776","1397181781","1397181783"],"photo_ids_order":["1397181776","1397181779","1397181781","1397181783","1397181785","1397181788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/42660d0703b0add28f84d03d759fc6fa.jpg","text":"TemporaryFile(/tmp/multipartBody4307457227082132863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577563365,"filename":"image_01122025_09_19_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/1/437d3e0f2fda97c3dc73d88c635963bf.jpg","text":"TemporaryFile(/tmp/multipartBody86966568563278568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577563365,"filename":"image_01122025_09_18_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/1/d483c7b187d90dbcbb80bd80eea01ef5.jpg","text":"TemporaryFile(/tmp/multipartBody6823731485922147545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577563365,"filename":"image_01122025_09_19_24_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/1/814a75b04484ff549bec69bf5d559a6a.jpg","text":"TemporaryFile(/tmp/multipartBody6081055234032131409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577563365,"filename":"image_01122025_09_18_35_10318.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b6e2af0402e59ca3a7e8257a79464441.jpg","text":"TemporaryFile(/tmp/multipartBody6177095580569718855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577563365,"filename":"image_01122025_09_18_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/1/7cc1f89bafada00fb6caa05c383a5daa.jpg","text":"TemporaryFile(/tmp/multipartBody4114651899423714495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577563365,"filename":"image_01122025_09_19_05_10565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397181781","file1":"1397181779","file0":"1397181776","file4":"1397181785","file5":"1397181788","file3":"1397181783"},"map_files_photo_id_array":[{"photo_id":"1397181788","filename":"file5"},{"photo_id":"1397181781","filename":"file2"},{"photo_id":"1397181785","filename":"file4"},{"photo_id":"1397181779","filename":"file1"},{"photo_id":"1397181776","filename":"file0"},{"photo_id":"1397181783","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397181785":["hashtag1","hashtag2"]},{"1397181779":["hashtag1","hashtag2"]},{"1397181788":["hashtag1","hashtag2"]},{"1397181776":["hashtag1","hashtag2"]},{"1397181781":["hashtag1","hashtag2"]},{"1397181783":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397181785, 1397181779, 1397181788, 1397181776, 1397181781, 1397181783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.07543444633484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 09:25:42.023749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_19_2710.jpg', '/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_22_2666.jpg', '/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_28_3633.jpg', '/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_31_2537.jpg', '/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_49_2658.jpg', '/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_58_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_19_2710.jpg
/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_22_2666.jpg
/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_28_3633.jpg
/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_31_2537.jpg
/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_49_2658.jpg
/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_58_2610.jpg
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>8bi46o173</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>8bi46o173</strong>.
uploaded 0 photos
time to upload: 0.7758870124816895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:26:02.643902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/19/image_01122025_09_19_35_10553.jpg', '/home/pi/Desktop/images/01122025/09/19/image_01122025_09_19_45_9737.jpg', '/home/pi/Desktop/images/01122025/09/19/image_01122025_09_19_55_10627.jpg', '/home/pi/Desktop/images/01122025/09/19/image_01122025_09_20_05_9696.jpg', '/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_15_9695.jpg', '/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_24_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/19/image_01122025_09_19_35_10553.jpg
/home/pi/Desktop/images/01122025/09/19/image_01122025_09_19_45_9737.jpg
/home/pi/Desktop/images/01122025/09/19/image_01122025_09_19_55_10627.jpg
/home/pi/Desktop/images/01122025/09/19/image_01122025_09_20_05_9696.jpg
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_15_9695.jpg
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_24_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":["1397181794","1397181806","1397181799","1397181802","1397181804","1397181797"],"photo_ids_order":["1397181794","1397181797","1397181799","1397181802","1397181804","1397181806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e4315e875748825addec8467e4d0812f.jpg","text":"TemporaryFile(/tmp/multipartBody1768398963901427141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577623288,"filename":"image_01122025_09_19_35_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/1/0057788975473f59a1515c0202e07dcc.jpg","text":"TemporaryFile(/tmp/multipartBody8713766941688270383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577623288,"filename":"image_01122025_09_20_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/1/76260eff968f1fe894913cd8e9f04899.jpg","text":"TemporaryFile(/tmp/multipartBody7889047720567555699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577623288,"filename":"image_01122025_09_19_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/1/c069f099a551cdb124fbfc47c4a3ba1e.jpg","text":"TemporaryFile(/tmp/multipartBody7956085276931105625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577623288,"filename":"image_01122025_09_20_05_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/35f5d2d6f4837084de7ab61553aabb13.jpg","text":"TemporaryFile(/tmp/multipartBody3154499750000244750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577623288,"filename":"image_01122025_09_20_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/1/1a097bf121d4879d0fb5020fefd5337b.jpg","text":"TemporaryFile(/tmp/multipartBody485134241286959509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577623288,"filename":"image_01122025_09_19_45_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397181799","file1":"1397181797","file0":"1397181794","file4":"1397181804","file5":"1397181806","file3":"1397181802"},"map_files_photo_id_array":[{"photo_id":"1397181806","filename":"file5"},{"photo_id":"1397181799","filename":"file2"},{"photo_id":"1397181804","filename":"file4"},{"photo_id":"1397181797","filename":"file1"},{"photo_id":"1397181794","filename":"file0"},{"photo_id":"1397181802","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397181794":["hashtag1","hashtag2"]},{"1397181806":["hashtag1","hashtag2"]},{"1397181799":["hashtag1","hashtag2"]},{"1397181802":["hashtag1","hashtag2"]},{"1397181804":["hashtag1","hashtag2"]},{"1397181797":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397181794, 1397181806, 1397181799, 1397181802, 1397181804, 1397181797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 27.761460781097412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 09:26:32.215815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_04_4557.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_06_1649.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_08_1848.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_20_12436.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_24_1554.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_25_1640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_04_4557.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_06_1649.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_08_1848.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_20_12436.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_24_1554.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_25_1640.jpg
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>8bi470ol3</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>8bi470ol3</strong>.
uploaded 0 photos
time to upload: 1.6115138530731201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 09:26:42.212756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_19_2710.jpg', '/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_22_2666.jpg', '/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_28_3633.jpg', '/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_31_2537.jpg', '/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_49_2658.jpg', '/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_58_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_19_2710.jpg
/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_22_2666.jpg
/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_28_3633.jpg
/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_31_2537.jpg
/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_49_2658.jpg
/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_58_2610.jpg
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>8bi471cb3</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>8bi471cb3</strong>.
uploaded 0 photos
time to upload: 0.7058558464050293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:27:03.089073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_35_10718.jpg', '/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_45_9682.jpg', '/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_54_9640.jpg', '/home/pi/Desktop/images/01122025/09/20/image_01122025_09_21_05_10674.jpg', '/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_15_9529.jpg', '/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_24_9868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_35_10718.jpg
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_45_9682.jpg
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_54_9640.jpg
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_21_05_10674.jpg
/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_15_9529.jpg
/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_24_9868.jpg
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>8bi472h7l</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>8bi472h7l</strong>.
uploaded 0 photos
time to upload: 0.6361746788024902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 09:27:12.291012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_04_4557.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_06_1649.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_08_1848.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_20_12436.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_24_1554.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_25_1640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_04_4557.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_06_1649.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_08_1848.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_20_12436.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_24_1554.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_25_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":["1397181816","1397181815","1397181812","1397181811","1397181814","1397181813"],"photo_ids_order":["1397181811","1397181812","1397181813","1397181814","1397181815","1397181816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8774cee5a1f46f727eef08047b0a6069.jpg","text":"TemporaryFile(/tmp/multipartBody3489406679834391059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577693669,"filename":"image_25112025_22_17_25_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/1/c6ce7b4e7ee10e707a269dcbb0917dd2.jpg","text":"TemporaryFile(/tmp/multipartBody4387389888307925293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577693669,"filename":"image_25112025_22_17_24_1554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/884d841d12cfd872ee757415e4f25c81.jpg","text":"TemporaryFile(/tmp/multipartBody1773413025980171391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577693669,"filename":"image_25112025_22_17_06_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/1/faad8d5a1f3c4ae9c068952b31b8331a.jpg","text":"TemporaryFile(/tmp/multipartBody3304466507131274694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577693669,"filename":"image_25112025_22_17_04_4557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1b2d8a7520b0b1be04f95ef85801c556.jpg","text":"TemporaryFile(/tmp/multipartBody3376019073283236134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577693669,"filename":"image_25112025_22_17_20_12436.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5c1e2a2017e82619f459d2c70cea5a21.jpg","text":"TemporaryFile(/tmp/multipartBody109658483946182748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577693669,"filename":"image_25112025_22_17_08_1848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397181813","file1":"1397181812","file0":"1397181811","file4":"1397181815","file5":"1397181816","file3":"1397181814"},"map_files_photo_id_array":[{"photo_id":"1397181816","filename":"file5"},{"photo_id":"1397181813","filename":"file2"},{"photo_id":"1397181815","filename":"file4"},{"photo_id":"1397181812","filename":"file1"},{"photo_id":"1397181811","filename":"file0"},{"photo_id":"1397181814","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397181816":["hashtag1","hashtag2"]},{"1397181815":["hashtag1","hashtag2"]},{"1397181812":["hashtag1","hashtag2"]},{"1397181811":["hashtag1","hashtag2"]},{"1397181814":["hashtag1","hashtag2"]},{"1397181813":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397181816, 1397181815, 1397181812, 1397181811, 1397181814, 1397181813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 24.404545307159424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 09:27:42.438192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_19_2710.jpg', '/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_22_2666.jpg', '/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_28_3633.jpg', '/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_31_2537.jpg', '/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_49_2658.jpg', '/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_58_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_19_2710.jpg
/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_22_2666.jpg
/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_28_3633.jpg
/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_31_2537.jpg
/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_49_2658.jpg
/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_58_2610.jpg
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>8bi474n3l</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>8bi474n3l</strong>.
uploaded 0 photos
time to upload: 0.6280453205108643 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:28:03.001778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_35_10718.jpg', '/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_45_9682.jpg', '/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_54_9640.jpg', '/home/pi/Desktop/images/01122025/09/20/image_01122025_09_21_05_10674.jpg', '/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_15_9529.jpg', '/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_24_9868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_35_10718.jpg
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_45_9682.jpg
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_54_9640.jpg
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_21_05_10674.jpg
/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_15_9529.jpg
/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_24_9868.jpg
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>8bi4761dj</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>8bi4761dj</strong>.
uploaded 0 photos
time to upload: 0.5576059818267822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 09:28:12.573515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_27_1650.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_29_1753.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_33_4240.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_36_2985.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_38_1885.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_39_1571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_27_1650.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_29_1753.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_33_4240.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_36_2985.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_38_1885.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_39_1571.jpg
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>8bi476gnp</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>8bi476gnp</strong>.
uploaded 0 photos
time to upload: 1.3954558372497559 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 09:28:22.774816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_35_10718.jpg', '/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_45_9682.jpg', '/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_54_9640.jpg', '/home/pi/Desktop/images/01122025/09/20/image_01122025_09_21_05_10674.jpg', '/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_15_9529.jpg', '/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_24_9868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_35_10718.jpg
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_45_9682.jpg
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_54_9640.jpg
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_21_05_10674.jpg
/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_15_9529.jpg
/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_24_9868.jpg
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>8bi4774kh</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>8bi4774kh</strong>.
uploaded 0 photos
time to upload: 0.5495867729187012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 09:28:32.661869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_27_1650.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_29_1753.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_33_4240.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_36_2985.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_38_1885.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_39_1571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_27_1650.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_29_1753.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_33_4240.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_36_2985.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_38_1885.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_39_1571.jpg
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>8bi477ko6</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>8bi477ko6</strong>.
uploaded 0 photos
time to upload: 1.5737698078155518 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 09:28:42.767049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_19_2710.jpg', '/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_22_2666.jpg', '/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_28_3633.jpg', '/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_31_2537.jpg', '/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_49_2658.jpg', '/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_58_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_19_2710.jpg
/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_22_2666.jpg
/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_28_3633.jpg
/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_31_2537.jpg
/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_49_2658.jpg
/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_58_2610.jpg
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>8bi47889a</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>8bi47889a</strong>.
uploaded 0 photos
time to upload: 0.608863353729248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:29:02.697314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_35_10718.jpg', '/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_45_9682.jpg', '/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_54_9640.jpg', '/home/pi/Desktop/images/01122025/09/20/image_01122025_09_21_05_10674.jpg', '/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_15_9529.jpg', '/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_24_9868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_35_10718.jpg
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_45_9682.jpg
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_54_9640.jpg
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_21_05_10674.jpg
/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_15_9529.jpg
/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_24_9868.jpg
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>8bi479bni</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>8bi479bni</strong>.
uploaded 0 photos
time to upload: 0.5949888229370117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 09:29:11.954079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_27_1650.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_29_1753.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_33_4240.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_36_2985.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_38_1885.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_39_1571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_27_1650.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_29_1753.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_33_4240.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_36_2985.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_38_1885.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_39_1571.jpg
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>8bi47a0ia</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>8bi47a0ia</strong>.
uploaded 0 photos
time to upload: 1.3283915519714355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 09:29:21.970451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_35_10718.jpg', '/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_45_9682.jpg', '/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_54_9640.jpg', '/home/pi/Desktop/images/01122025/09/20/image_01122025_09_21_05_10674.jpg', '/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_15_9529.jpg', '/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_24_9868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_35_10718.jpg
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_45_9682.jpg
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_54_9640.jpg
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_21_05_10674.jpg
/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_15_9529.jpg
/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_24_9868.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6187758445739746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 09:29:32.025658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_27_1650.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_29_1753.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_33_4240.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_36_2985.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_38_1885.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_39_1571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_27_1650.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_29_1753.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_33_4240.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_36_2985.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_38_1885.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_39_1571.jpg
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>8bi47b4hk</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>8bi47b4hk</strong>.
uploaded 0 photos
time to upload: 1.5322234630584717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 09:29:41.958509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_19_2710.jpg', '/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_22_2666.jpg', '/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_28_3633.jpg', '/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_31_2537.jpg', '/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_49_2658.jpg', '/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_58_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_19_2710.jpg
/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_22_2666.jpg
/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_28_3633.jpg
/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_31_2537.jpg
/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_49_2658.jpg
/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_58_2610.jpg
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>8bi47bhpa</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>8bi47bhpa</strong>.
uploaded 0 photos
time to upload: 0.6476519107818604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:30:02.565726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_35_10718.jpg', '/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_45_9682.jpg', '/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_54_9640.jpg', '/home/pi/Desktop/images/01122025/09/20/image_01122025_09_21_05_10674.jpg', '/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_15_9529.jpg', '/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_24_9868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_35_10718.jpg
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_45_9682.jpg
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_54_9640.jpg
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_21_05_10674.jpg
/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_15_9529.jpg
/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_24_9868.jpg
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>8bi47cma5</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>8bi47cma5</strong>.
uploaded 0 photos
time to upload: 0.5400657653808594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 09:30:12.147629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_27_1650.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_29_1753.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_33_4240.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_36_2985.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_38_1885.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_39_1571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_27_1650.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_29_1753.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_33_4240.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_36_2985.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_38_1885.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_39_1571.jpg
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>8bi47dble</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>8bi47dble</strong>.
uploaded 0 photos
time to upload: 1.426367998123169 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 09:30:22.098323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_35_10718.jpg', '/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_45_9682.jpg', '/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_54_9640.jpg', '/home/pi/Desktop/images/01122025/09/20/image_01122025_09_21_05_10674.jpg', '/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_15_9529.jpg', '/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_24_9868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_35_10718.jpg
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_45_9682.jpg
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_54_9640.jpg
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_21_05_10674.jpg
/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_15_9529.jpg
/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_24_9868.jpg
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>8bi47dp74</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>8bi47dp74</strong>.
uploaded 0 photos
time to upload: 0.531641960144043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 09:30:32.059260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_27_1650.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_29_1753.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_33_4240.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_36_2985.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_38_1885.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_39_1571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_27_1650.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_29_1753.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_33_4240.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_36_2985.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_38_1885.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_39_1571.jpg
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>8bi47ef91</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>8bi47ef91</strong>.
uploaded 0 photos
time to upload: 1.4247205257415771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 09:30:42.056255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_19_2710.jpg', '/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_22_2666.jpg', '/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_28_3633.jpg', '/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_31_2537.jpg', '/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_49_2658.jpg', '/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_58_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_19_2710.jpg
/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_22_2666.jpg
/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_28_3633.jpg
/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_31_2537.jpg
/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_49_2658.jpg
/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_58_2610.jpg
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>8bi47f2l3</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>8bi47f2l3</strong>.
uploaded 0 photos
time to upload: 0.5819334983825684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:31:02.965018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_35_10718.jpg', '/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_45_9682.jpg', '/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_54_9640.jpg', '/home/pi/Desktop/images/01122025/09/20/image_01122025_09_21_05_10674.jpg', '/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_15_9529.jpg', '/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_24_9868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_35_10718.jpg
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_45_9682.jpg
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_54_9640.jpg
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_21_05_10674.jpg
/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_15_9529.jpg
/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_24_9868.jpg
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>8bi47g7l0</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>8bi47g7l0</strong>.
uploaded 0 photos
time to upload: 0.6173088550567627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 09:31:12.230168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_27_1650.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_29_1753.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_33_4240.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_36_2985.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_38_1885.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_39_1571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_27_1650.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_29_1753.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_33_4240.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_36_2985.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_38_1885.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_39_1571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397181851","1397181845","1397181854","1397181862","1397181847","1397181858"],"photo_ids_order":["1397181845","1397181847","1397181851","1397181854","1397181858","1397181862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3fa2a9192d3a003f0a84645b44760789.jpg","text":"TemporaryFile(/tmp/multipartBody8604563802618033947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577933594,"filename":"image_25112025_22_17_33_4240.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fe51fa16331fbf036941b2fbffd5018a.jpg","text":"TemporaryFile(/tmp/multipartBody4090162794074071813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577933594,"filename":"image_25112025_22_17_27_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/1/30793219473e77a47990eac27c3e4a8a.jpg","text":"TemporaryFile(/tmp/multipartBody714838776532661001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577933594,"filename":"image_25112025_22_17_36_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/1/68913fbec2c0154366dd9e0cfb89a6d3.jpg","text":"TemporaryFile(/tmp/multipartBody3018698744699783543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577933594,"filename":"image_25112025_22_17_39_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/1/1216bf1f3758ee241282f8ae8aef08c7.jpg","text":"TemporaryFile(/tmp/multipartBody308626116112312819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577933594,"filename":"image_25112025_22_17_29_1753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cc37aa5b76adbac99ed4fd43d76defc2.jpg","text":"TemporaryFile(/tmp/multipartBody4753309178229088192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577933594,"filename":"image_25112025_22_17_38_1885.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397181851","file1":"1397181847","file0":"1397181845","file4":"1397181858","file5":"1397181862","file3":"1397181854"},"map_files_photo_id_array":[{"photo_id":"1397181862","filename":"file5"},{"photo_id":"1397181851","filename":"file2"},{"photo_id":"1397181858","filename":"file4"},{"photo_id":"1397181847","filename":"file1"},{"photo_id":"1397181845","filename":"file0"},{"photo_id":"1397181854","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397181851":["hashtag1","hashtag2"]},{"1397181845":["hashtag1","hashtag2"]},{"1397181854":["hashtag1","hashtag2"]},{"1397181862":["hashtag1","hashtag2"]},{"1397181847":["hashtag1","hashtag2"]},{"1397181858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397181851, 1397181845, 1397181854, 1397181862, 1397181847, 1397181858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.08255076408386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:32:02.909135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_35_10718.jpg', '/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_45_9682.jpg', '/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_54_9640.jpg', '/home/pi/Desktop/images/01122025/09/20/image_01122025_09_21_05_10674.jpg', '/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_15_9529.jpg', '/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_24_9868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_35_10718.jpg
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_45_9682.jpg
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_20_54_9640.jpg
/home/pi/Desktop/images/01122025/09/20/image_01122025_09_21_05_10674.jpg
/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_15_9529.jpg
/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_24_9868.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397181890","1397181898","1397181886","1397181894","1397181882","1397181876"],"photo_ids_order":["1397181876","1397181882","1397181886","1397181890","1397181894","1397181898"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/20553e841a1268a09daf768f7b90fd42.jpg","text":"TemporaryFile(/tmp/multipartBody7283714305213870927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577983567,"filename":"image_01122025_09_21_05_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3a83833a599b50acedd06476814b69c1.jpg","text":"TemporaryFile(/tmp/multipartBody5017609611772880291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577983567,"filename":"image_01122025_09_21_24_9868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b3828108a79e7b0ec0ae3ad5ab5413e8.jpg","text":"TemporaryFile(/tmp/multipartBody3641912584612856363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577983567,"filename":"image_01122025_09_20_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/1/27cab552bd0b575616981360275dc865.jpg","text":"TemporaryFile(/tmp/multipartBody8695399205005369098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577983567,"filename":"image_01122025_09_21_15_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/1/fb6090acb029bb32be7c1dce61b2c7e0.jpg","text":"TemporaryFile(/tmp/multipartBody8436414992328087196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577983567,"filename":"image_01122025_09_20_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/1/dfadc61986294195f36c4250dddb724d.jpg","text":"TemporaryFile(/tmp/multipartBody1489887890634290274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764577983567,"filename":"image_01122025_09_20_35_10718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397181886","file1":"1397181882","file0":"1397181876","file4":"1397181894","file5":"1397181898","file3":"1397181890"},"map_files_photo_id_array":[{"photo_id":"1397181898","filename":"file5"},{"photo_id":"1397181886","filename":"file2"},{"photo_id":"1397181894","filename":"file4"},{"photo_id":"1397181882","filename":"file1"},{"photo_id":"1397181876","filename":"file0"},{"photo_id":"1397181890","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397181890":["hashtag1","hashtag2"]},{"1397181898":["hashtag1","hashtag2"]},{"1397181886":["hashtag1","hashtag2"]},{"1397181894":["hashtag1","hashtag2"]},{"1397181882":["hashtag1","hashtag2"]},{"1397181876":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397181890, 1397181898, 1397181886, 1397181894, 1397181882, 1397181876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56535887718201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 09:32:42.532921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_19_2710.jpg', '/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_22_2666.jpg', '/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_28_3633.jpg', '/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_31_2537.jpg', '/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_49_2658.jpg', '/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_58_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_19_2710.jpg
/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_22_2666.jpg
/home/pi/Desktop/images/01112025/01/21/image_01112025_01_21_28_3633.jpg
/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_31_2537.jpg
/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_49_2658.jpg
/home/pi/Desktop/images/01112025/01/22/image_01112025_01_22_58_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":["1397181923","1397181917","1397181931","1397181904","1397181927","1397181912"],"photo_ids_order":["1397181904","1397181912","1397181917","1397181923","1397181927","1397181931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e982669877b35e524c50dbbb1ef21cfe.jpg","text":"TemporaryFile(/tmp/multipartBody531402425005715464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578023245,"filename":"image_01112025_01_22_31_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/1/6d7072bb6742a3332a17e8f4d1e95fa2.jpg","text":"TemporaryFile(/tmp/multipartBody3075083607057997227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578023245,"filename":"image_01112025_01_21_28_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/262c671629068c29af5585ce75505213.jpg","text":"TemporaryFile(/tmp/multipartBody8348232865168768822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578023245,"filename":"image_01112025_01_22_58_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/1/d8df9a884bf26548f78c36a0a0bdf5b9.jpg","text":"TemporaryFile(/tmp/multipartBody7355322550105491627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578023245,"filename":"image_01112025_01_21_19_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/1/ded66af015a4a2d72296097cc4fec5a3.jpg","text":"TemporaryFile(/tmp/multipartBody6204319748229175419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578023245,"filename":"image_01112025_01_22_49_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9285be500e08f658ae5558bc1c97f34a.jpg","text":"TemporaryFile(/tmp/multipartBody5362018248410673935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578023245,"filename":"image_01112025_01_21_22_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397181917","file1":"1397181912","file0":"1397181904","file4":"1397181927","file5":"1397181931","file3":"1397181923"},"map_files_photo_id_array":[{"photo_id":"1397181931","filename":"file5"},{"photo_id":"1397181917","filename":"file2"},{"photo_id":"1397181927","filename":"file4"},{"photo_id":"1397181912","filename":"file1"},{"photo_id":"1397181904","filename":"file0"},{"photo_id":"1397181923","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397181923":["hashtag1","hashtag2"]},{"1397181917":["hashtag1","hashtag2"]},{"1397181931":["hashtag1","hashtag2"]},{"1397181904":["hashtag1","hashtag2"]},{"1397181927":["hashtag1","hashtag2"]},{"1397181912":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397181923, 1397181917, 1397181931, 1397181904, 1397181927, 1397181912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.562193632125854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 09:33:22.713067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_35_10668.jpg', '/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_45_9669.jpg', '/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_54_9720.jpg', '/home/pi/Desktop/images/01122025/09/21/image_01122025_09_22_05_10708.jpg', '/home/pi/Desktop/images/01122025/09/22/image_01122025_09_22_15_9680.jpg', '/home/pi/Desktop/images/01122025/09/22/image_01122025_09_22_25_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_35_10668.jpg
/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_45_9669.jpg
/home/pi/Desktop/images/01122025/09/21/image_01122025_09_21_54_9720.jpg
/home/pi/Desktop/images/01122025/09/21/image_01122025_09_22_05_10708.jpg
/home/pi/Desktop/images/01122025/09/22/image_01122025_09_22_15_9680.jpg
/home/pi/Desktop/images/01122025/09/22/image_01122025_09_22_25_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":["1397181959","1397181941","1397181943","1397181949","1397181954","1397181945"],"photo_ids_order":["1397181941","1397181943","1397181945","1397181949","1397181954","1397181959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fefbff17c0e0eaf2197eda0f5ed36c56.jpg","text":"TemporaryFile(/tmp/multipartBody4309626812919319870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578063335,"filename":"image_01122025_09_22_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/1/2b0afc15dcc9b515b03900fdd5a8b59b.jpg","text":"TemporaryFile(/tmp/multipartBody8144102099149230496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578063335,"filename":"image_01122025_09_21_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/1/cabdf8c72e52e3649c5e3f78775b0211.jpg","text":"TemporaryFile(/tmp/multipartBody3538554676864301607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578063335,"filename":"image_01122025_09_21_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/1/3133c99b6ce6fcd3d6f4a8d8d42542d1.jpg","text":"TemporaryFile(/tmp/multipartBody7250962806126004268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578063335,"filename":"image_01122025_09_22_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/1/1403b10bec196bb13e66f6f7349885e7.jpg","text":"TemporaryFile(/tmp/multipartBody3167218228100831533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578063335,"filename":"image_01122025_09_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/1/c9be223d02a432f3738df7487995c483.jpg","text":"TemporaryFile(/tmp/multipartBody2819356100712513844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578063335,"filename":"image_01122025_09_21_54_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397181945","file1":"1397181943","file0":"1397181941","file4":"1397181954","file5":"1397181959","file3":"1397181949"},"map_files_photo_id_array":[{"photo_id":"1397181959","filename":"file5"},{"photo_id":"1397181945","filename":"file2"},{"photo_id":"1397181954","filename":"file4"},{"photo_id":"1397181943","filename":"file1"},{"photo_id":"1397181941","filename":"file0"},{"photo_id":"1397181949","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397181959":["hashtag1","hashtag2"]},{"1397181941":["hashtag1","hashtag2"]},{"1397181943":["hashtag1","hashtag2"]},{"1397181949":["hashtag1","hashtag2"]},{"1397181954":["hashtag1","hashtag2"]},{"1397181945":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397181959, 1397181941, 1397181943, 1397181949, 1397181954, 1397181945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58456468582153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:34:02.550634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/22/image_01122025_09_22_35_10571.jpg', '/home/pi/Desktop/images/01122025/09/22/image_01122025_09_22_45_9658.jpg', '/home/pi/Desktop/images/01122025/09/22/image_01122025_09_22_54_9703.jpg', '/home/pi/Desktop/images/01122025/09/22/image_01122025_09_23_04_9713.jpg', '/home/pi/Desktop/images/01122025/09/23/image_01122025_09_23_15_10604.jpg', '/home/pi/Desktop/images/01122025/09/23/image_01122025_09_23_24_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/22/image_01122025_09_22_35_10571.jpg
/home/pi/Desktop/images/01122025/09/22/image_01122025_09_22_45_9658.jpg
/home/pi/Desktop/images/01122025/09/22/image_01122025_09_22_54_9703.jpg
/home/pi/Desktop/images/01122025/09/22/image_01122025_09_23_04_9713.jpg
/home/pi/Desktop/images/01122025/09/23/image_01122025_09_23_15_10604.jpg
/home/pi/Desktop/images/01122025/09/23/image_01122025_09_23_24_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":["1397181983","1397181965","1397181974","1397181979","1397181970","1397181967"],"photo_ids_order":["1397181965","1397181967","1397181970","1397181974","1397181979","1397181983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e36b9d25ae07801ae9c7ab740ba2c0ab.jpg","text":"TemporaryFile(/tmp/multipartBody7464595437535103089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578103282,"filename":"image_01122025_09_23_24_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/900ef779ee84130c5aad40c61b5a7cbb.jpg","text":"TemporaryFile(/tmp/multipartBody7446903347579177506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578103282,"filename":"image_01122025_09_22_35_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c93cac8c972328542dfb8b172cd0aabe.jpg","text":"TemporaryFile(/tmp/multipartBody6186796072189639649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578103282,"filename":"image_01122025_09_23_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/1/3f2eaf820de3f45f75233a7e186095e3.jpg","text":"TemporaryFile(/tmp/multipartBody8146648625305355407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578103282,"filename":"image_01122025_09_23_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/1/330160890185ed7df99487cc4ff23763.jpg","text":"TemporaryFile(/tmp/multipartBody7803192010633924162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578103282,"filename":"image_01122025_09_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/1/1dac0f43f7a3d74d0e46b8a869dd6f56.jpg","text":"TemporaryFile(/tmp/multipartBody711889505250476861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578103282,"filename":"image_01122025_09_22_45_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397181970","file1":"1397181967","file0":"1397181965","file4":"1397181979","file5":"1397181983","file3":"1397181974"},"map_files_photo_id_array":[{"photo_id":"1397181983","filename":"file5"},{"photo_id":"1397181970","filename":"file2"},{"photo_id":"1397181979","filename":"file4"},{"photo_id":"1397181967","filename":"file1"},{"photo_id":"1397181965","filename":"file0"},{"photo_id":"1397181974","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397181983":["hashtag1","hashtag2"]},{"1397181965":["hashtag1","hashtag2"]},{"1397181974":["hashtag1","hashtag2"]},{"1397181979":["hashtag1","hashtag2"]},{"1397181970":["hashtag1","hashtag2"]},{"1397181967":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397181983, 1397181965, 1397181974, 1397181979, 1397181970, 1397181967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.429043769836426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 09:34:41.928319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/22/image_01112025_01_23_01_3670.jpg', '/home/pi/Desktop/images/01112025/01/23/image_01112025_01_23_07_2659.jpg', '/home/pi/Desktop/images/01112025/01/23/image_01112025_01_23_16_2554.jpg', '/home/pi/Desktop/images/01112025/01/23/image_01112025_01_23_19_3732.jpg', '/home/pi/Desktop/images/01112025/01/23/image_01112025_01_23_28_3669.jpg', '/home/pi/Desktop/images/01112025/01/23/image_01112025_01_23_31_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/22/image_01112025_01_23_01_3670.jpg
/home/pi/Desktop/images/01112025/01/23/image_01112025_01_23_07_2659.jpg
/home/pi/Desktop/images/01112025/01/23/image_01112025_01_23_16_2554.jpg
/home/pi/Desktop/images/01112025/01/23/image_01112025_01_23_19_3732.jpg
/home/pi/Desktop/images/01112025/01/23/image_01112025_01_23_28_3669.jpg
/home/pi/Desktop/images/01112025/01/23/image_01112025_01_23_31_2795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397182010","1397181994","1397181997","1397182000","1397181990","1397182002"],"photo_ids_order":["1397181990","1397181994","1397181997","1397182000","1397182002","1397182010"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b39d044248b4d0ca22bec0ce2fef3757.jpg","text":"TemporaryFile(/tmp/multipartBody2583379392307943012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578142880,"filename":"image_01112025_01_23_31_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/1/ffbd89b317027b0ae076493eaa08dd29.jpg","text":"TemporaryFile(/tmp/multipartBody4172424686572470177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578142880,"filename":"image_01112025_01_23_07_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d6ae5b51dc36d50903534925d14a892e.jpg","text":"TemporaryFile(/tmp/multipartBody3311605621167272502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578142880,"filename":"image_01112025_01_23_16_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/616c92aafa87a96144cc9628c14e6065.jpg","text":"TemporaryFile(/tmp/multipartBody468785711641773798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578142880,"filename":"image_01112025_01_23_19_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/1/ff46860d1f44bf42eadaea5fe71c7c87.jpg","text":"TemporaryFile(/tmp/multipartBody1176570906970623710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578142880,"filename":"image_01112025_01_23_01_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/1/d3ef0e63d422cc608c1cf08f7c653b24.jpg","text":"TemporaryFile(/tmp/multipartBody4986692929614355202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578142880,"filename":"image_01112025_01_23_28_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397181997","file1":"1397181994","file0":"1397181990","file4":"1397182002","file5":"1397182010","file3":"1397182000"},"map_files_photo_id_array":[{"photo_id":"1397182010","filename":"file5"},{"photo_id":"1397181997","filename":"file2"},{"photo_id":"1397182002","filename":"file4"},{"photo_id":"1397181994","filename":"file1"},{"photo_id":"1397181990","filename":"file0"},{"photo_id":"1397182000","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397182010":["hashtag1","hashtag2"]},{"1397181994":["hashtag1","hashtag2"]},{"1397181997":["hashtag1","hashtag2"]},{"1397182000":["hashtag1","hashtag2"]},{"1397181990":["hashtag1","hashtag2"]},{"1397182002":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397182010, 1397181994, 1397181997, 1397182000, 1397181990, 1397182002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.427753925323486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 09:35:22.092446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/23/image_01122025_09_23_55_9794.jpg', '/home/pi/Desktop/images/01122025/09/23/image_01122025_09_24_04_9701.jpg', '/home/pi/Desktop/images/01122025/09/24/image_01122025_09_24_15_10585.jpg', '/home/pi/Desktop/images/01122025/09/24/image_01122025_09_24_25_9626.jpg', '/home/pi/Desktop/images/01122025/09/24/image_01122025_09_24_34_9770.jpg', '/home/pi/Desktop/images/01122025/09/24/image_01122025_09_24_45_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/23/image_01122025_09_23_55_9794.jpg
/home/pi/Desktop/images/01122025/09/23/image_01122025_09_24_04_9701.jpg
/home/pi/Desktop/images/01122025/09/24/image_01122025_09_24_15_10585.jpg
/home/pi/Desktop/images/01122025/09/24/image_01122025_09_24_25_9626.jpg
/home/pi/Desktop/images/01122025/09/24/image_01122025_09_24_34_9770.jpg
/home/pi/Desktop/images/01122025/09/24/image_01122025_09_24_45_10641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397182045","1397182039","1397182048","1397182041","1397182035","1397182043"],"photo_ids_order":["1397182035","1397182039","1397182041","1397182043","1397182045","1397182048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a6185060c3387b7fa5e572661a796465.jpg","text":"TemporaryFile(/tmp/multipartBody5904989851280540598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578182750,"filename":"image_01122025_09_24_34_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2ff08e81543201a045ce92f6f5b379e6.jpg","text":"TemporaryFile(/tmp/multipartBody3171041767132188789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578182750,"filename":"image_01122025_09_24_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/1/f35dda5b8fb20b56e2d601420bbd4bff.jpg","text":"TemporaryFile(/tmp/multipartBody4797138973308327918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578182750,"filename":"image_01122025_09_24_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/1/e43aa71096fbe8504ba0863dec21fa35.jpg","text":"TemporaryFile(/tmp/multipartBody3143400180809849434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578182750,"filename":"image_01122025_09_24_15_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/187339747695681fa725c19c6b708d93.jpg","text":"TemporaryFile(/tmp/multipartBody8931601075279364897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578182750,"filename":"image_01122025_09_23_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/1/76990f54bd6ce34d4eeb7c5c6e550223.jpg","text":"TemporaryFile(/tmp/multipartBody6587659601921247393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578182750,"filename":"image_01122025_09_24_25_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397182041","file1":"1397182039","file0":"1397182035","file4":"1397182045","file5":"1397182048","file3":"1397182043"},"map_files_photo_id_array":[{"photo_id":"1397182048","filename":"file5"},{"photo_id":"1397182041","filename":"file2"},{"photo_id":"1397182045","filename":"file4"},{"photo_id":"1397182039","filename":"file1"},{"photo_id":"1397182035","filename":"file0"},{"photo_id":"1397182043","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397182045":["hashtag1","hashtag2"]},{"1397182039":["hashtag1","hashtag2"]},{"1397182048":["hashtag1","hashtag2"]},{"1397182041":["hashtag1","hashtag2"]},{"1397182035":["hashtag1","hashtag2"]},{"1397182043":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397182045, 1397182039, 1397182048, 1397182041, 1397182035, 1397182043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29058623313904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:36:02.787760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/24/image_01122025_09_24_55_9548.jpg', '/home/pi/Desktop/images/01122025/09/24/image_01122025_09_25_04_9919.jpg', '/home/pi/Desktop/images/01122025/09/25/image_01122025_09_25_14_9741.jpg', '/home/pi/Desktop/images/01122025/09/25/image_01122025_09_25_25_10710.jpg', '/home/pi/Desktop/images/01122025/09/25/image_01122025_09_25_35_9671.jpg', '/home/pi/Desktop/images/01122025/09/25/image_01122025_09_25_44_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/24/image_01122025_09_24_55_9548.jpg
/home/pi/Desktop/images/01122025/09/24/image_01122025_09_25_04_9919.jpg
/home/pi/Desktop/images/01122025/09/25/image_01122025_09_25_14_9741.jpg
/home/pi/Desktop/images/01122025/09/25/image_01122025_09_25_25_10710.jpg
/home/pi/Desktop/images/01122025/09/25/image_01122025_09_25_35_9671.jpg
/home/pi/Desktop/images/01122025/09/25/image_01122025_09_25_44_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397182067","1397182078","1397182071","1397182074","1397182062","1397182076"],"photo_ids_order":["1397182062","1397182067","1397182071","1397182074","1397182076","1397182078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1749d0d86be9ea8e1df093c073f6a436.jpg","text":"TemporaryFile(/tmp/multipartBody193472518383965167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578223569,"filename":"image_01122025_09_25_04_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/1/ac9b7463106be2ebcdec0e31f8b62251.jpg","text":"TemporaryFile(/tmp/multipartBody3578170108941409760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578223569,"filename":"image_01122025_09_25_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/1/14061ac63002ae4b8090e0ac9154fc03.jpg","text":"TemporaryFile(/tmp/multipartBody3917638808546329870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578223569,"filename":"image_01122025_09_25_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/1/7f44d9411524508d308ad84b8811de1f.jpg","text":"TemporaryFile(/tmp/multipartBody2398138017396046020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578223569,"filename":"image_01122025_09_25_25_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6963aba1bf32e192a43d764f2f5193d9.jpg","text":"TemporaryFile(/tmp/multipartBody7102057609216824786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578223569,"filename":"image_01122025_09_24_55_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/1/16e31f8e62c0c866770382789f046cea.jpg","text":"TemporaryFile(/tmp/multipartBody689767261964315463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578223569,"filename":"image_01122025_09_25_35_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397182071","file1":"1397182067","file0":"1397182062","file4":"1397182076","file5":"1397182078","file3":"1397182074"},"map_files_photo_id_array":[{"photo_id":"1397182078","filename":"file5"},{"photo_id":"1397182071","filename":"file2"},{"photo_id":"1397182076","filename":"file4"},{"photo_id":"1397182067","filename":"file1"},{"photo_id":"1397182062","filename":"file0"},{"photo_id":"1397182074","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397182067":["hashtag1","hashtag2"]},{"1397182078":["hashtag1","hashtag2"]},{"1397182071":["hashtag1","hashtag2"]},{"1397182074":["hashtag1","hashtag2"]},{"1397182062":["hashtag1","hashtag2"]},{"1397182076":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397182067, 1397182078, 1397182071, 1397182074, 1397182062, 1397182076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68395733833313 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 09:36:42.257756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/23/image_01112025_01_23_34_2793.jpg', '/home/pi/Desktop/images/01112025/01/23/image_01112025_01_23_58_2526.jpg', '/home/pi/Desktop/images/01112025/01/24/image_01112025_01_24_04_2886.jpg', '/home/pi/Desktop/images/01112025/01/24/image_01112025_01_24_07_2884.jpg', '/home/pi/Desktop/images/01112025/01/24/image_01112025_01_24_19_2675.jpg', '/home/pi/Desktop/images/01112025/01/24/image_01112025_01_24_22_3547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/23/image_01112025_01_23_34_2793.jpg
/home/pi/Desktop/images/01112025/01/23/image_01112025_01_23_58_2526.jpg
/home/pi/Desktop/images/01112025/01/24/image_01112025_01_24_04_2886.jpg
/home/pi/Desktop/images/01112025/01/24/image_01112025_01_24_07_2884.jpg
/home/pi/Desktop/images/01112025/01/24/image_01112025_01_24_19_2675.jpg
/home/pi/Desktop/images/01112025/01/24/image_01112025_01_24_22_3547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397182139","1397182095","1397182092","1397182143","1397182137","1397182088"],"photo_ids_order":["1397182088","1397182092","1397182095","1397182137","1397182139","1397182143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e419ab26a4e80f7e830814ae6a98a3fa.jpg","text":"TemporaryFile(/tmp/multipartBody7159921553774580563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578263124,"filename":"image_01112025_01_24_19_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a8e2c3350dc8e06c5af31ac183384be9.jpg","text":"TemporaryFile(/tmp/multipartBody8966686674639015244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578263124,"filename":"image_01112025_01_24_04_2886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dce5e4e7b1391a78e8204de0a2ad2703.jpg","text":"TemporaryFile(/tmp/multipartBody130884890841741766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578263124,"filename":"image_01112025_01_23_58_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c92f596aeb82ffcdb0c0375257e5174b.jpg","text":"TemporaryFile(/tmp/multipartBody8363966204828570569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578263124,"filename":"image_01112025_01_24_22_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/1/8e2de52110aed17eaef78f06917f626b.jpg","text":"TemporaryFile(/tmp/multipartBody8595967987198250618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578263124,"filename":"image_01112025_01_24_07_2884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5bad8f61639afdb544ecca0f628a03b0.jpg","text":"TemporaryFile(/tmp/multipartBody2284788352730426328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578263124,"filename":"image_01112025_01_23_34_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397182095","file1":"1397182092","file0":"1397182088","file4":"1397182139","file5":"1397182143","file3":"1397182137"},"map_files_photo_id_array":[{"photo_id":"1397182143","filename":"file5"},{"photo_id":"1397182095","filename":"file2"},{"photo_id":"1397182139","filename":"file4"},{"photo_id":"1397182092","filename":"file1"},{"photo_id":"1397182088","filename":"file0"},{"photo_id":"1397182137","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397182139":["hashtag1","hashtag2"]},{"1397182095":["hashtag1","hashtag2"]},{"1397182092":["hashtag1","hashtag2"]},{"1397182143":["hashtag1","hashtag2"]},{"1397182137":["hashtag1","hashtag2"]},{"1397182088":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397182139, 1397182095, 1397182092, 1397182143, 1397182137, 1397182088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40553021430969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 09:37:22.468395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/25/image_01122025_09_25_55_10568.jpg', '/home/pi/Desktop/images/01122025/09/25/image_01122025_09_26_04_9704.jpg', '/home/pi/Desktop/images/01122025/09/26/image_01122025_09_26_15_10634.jpg', '/home/pi/Desktop/images/01122025/09/26/image_01122025_09_26_25_9564.jpg', '/home/pi/Desktop/images/01122025/09/26/image_01122025_09_26_34_9519.jpg', '/home/pi/Desktop/images/01122025/09/26/image_01122025_09_26_45_10851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/25/image_01122025_09_25_55_10568.jpg
/home/pi/Desktop/images/01122025/09/25/image_01122025_09_26_04_9704.jpg
/home/pi/Desktop/images/01122025/09/26/image_01122025_09_26_15_10634.jpg
/home/pi/Desktop/images/01122025/09/26/image_01122025_09_26_25_9564.jpg
/home/pi/Desktop/images/01122025/09/26/image_01122025_09_26_34_9519.jpg
/home/pi/Desktop/images/01122025/09/26/image_01122025_09_26_45_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":["1397182153","1397182162","1397182170","1397182164","1397182167","1397182157"],"photo_ids_order":["1397182153","1397182157","1397182162","1397182164","1397182167","1397182170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4b6f8f186fd10d188594130e415d4872.jpg","text":"TemporaryFile(/tmp/multipartBody2240285967449585375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578303161,"filename":"image_01122025_09_25_55_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/72dd44b3576906ffa1d15c02949d5575.jpg","text":"TemporaryFile(/tmp/multipartBody3201123680189128304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578303161,"filename":"image_01122025_09_26_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/1/765af6114b03ee48dab0538cffca6058.jpg","text":"TemporaryFile(/tmp/multipartBody8338238081471252040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578303161,"filename":"image_01122025_09_26_45_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/1/63bdec9b657ca4f69266e469f1717f50.jpg","text":"TemporaryFile(/tmp/multipartBody3066201713609529445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578303161,"filename":"image_01122025_09_26_25_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/1/e8c31d0c8ab4c30e92d4b18ffaf7b114.jpg","text":"TemporaryFile(/tmp/multipartBody2312116495465437632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578303161,"filename":"image_01122025_09_26_34_9519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/356671dd83a488787d804a74be46b564.jpg","text":"TemporaryFile(/tmp/multipartBody6038302901435521521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578303161,"filename":"image_01122025_09_26_04_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397182162","file1":"1397182157","file0":"1397182153","file4":"1397182167","file5":"1397182170","file3":"1397182164"},"map_files_photo_id_array":[{"photo_id":"1397182170","filename":"file5"},{"photo_id":"1397182162","filename":"file2"},{"photo_id":"1397182167","filename":"file4"},{"photo_id":"1397182157","filename":"file1"},{"photo_id":"1397182153","filename":"file0"},{"photo_id":"1397182164","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397182153":["hashtag1","hashtag2"]},{"1397182162":["hashtag1","hashtag2"]},{"1397182170":["hashtag1","hashtag2"]},{"1397182164":["hashtag1","hashtag2"]},{"1397182167":["hashtag1","hashtag2"]},{"1397182157":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397182153, 1397182162, 1397182170, 1397182164, 1397182167, 1397182157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.544628858566284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:38:03.168274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/26/image_01122025_09_26_55_9709.jpg', '/home/pi/Desktop/images/01122025/09/26/image_01122025_09_27_05_9804.jpg', '/home/pi/Desktop/images/01122025/09/27/image_01122025_09_27_14_9675.jpg', '/home/pi/Desktop/images/01122025/09/27/image_01122025_09_27_25_10651.jpg', '/home/pi/Desktop/images/01122025/09/27/image_01122025_09_27_35_9789.jpg', '/home/pi/Desktop/images/01122025/09/27/image_01122025_09_27_44_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/26/image_01122025_09_26_55_9709.jpg
/home/pi/Desktop/images/01122025/09/26/image_01122025_09_27_05_9804.jpg
/home/pi/Desktop/images/01122025/09/27/image_01122025_09_27_14_9675.jpg
/home/pi/Desktop/images/01122025/09/27/image_01122025_09_27_25_10651.jpg
/home/pi/Desktop/images/01122025/09/27/image_01122025_09_27_35_9789.jpg
/home/pi/Desktop/images/01122025/09/27/image_01122025_09_27_44_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":["1397182285","1397182210","1397182281","1397182179","1397182193","1397182256"],"photo_ids_order":["1397182179","1397182193","1397182210","1397182256","1397182281","1397182285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7915864c510c1a421292dceadc236240.jpg","text":"TemporaryFile(/tmp/multipartBody864707800747579009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578343848,"filename":"image_01122025_09_27_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/1/c9401354453153ed650647f98a2aab82.jpg","text":"TemporaryFile(/tmp/multipartBody8159137753601362704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578343848,"filename":"image_01122025_09_27_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/1/fc4fc1e284bcee0ec9b416476483da7f.jpg","text":"TemporaryFile(/tmp/multipartBody8925888425064521093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578343848,"filename":"image_01122025_09_27_35_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/1/a183ff1703424fd6f95af0ca8f4ddaab.jpg","text":"TemporaryFile(/tmp/multipartBody8783934162611316353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578343848,"filename":"image_01122025_09_26_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/1/0592e41aac721855a3e5a577b2460fe1.jpg","text":"TemporaryFile(/tmp/multipartBody6862492643351283911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578343848,"filename":"image_01122025_09_27_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/1/4824fe8f85376c214af50ea6ce280793.jpg","text":"TemporaryFile(/tmp/multipartBody986888390515336578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578343848,"filename":"image_01122025_09_27_25_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397182210","file1":"1397182193","file0":"1397182179","file4":"1397182281","file5":"1397182285","file3":"1397182256"},"map_files_photo_id_array":[{"photo_id":"1397182285","filename":"file5"},{"photo_id":"1397182210","filename":"file2"},{"photo_id":"1397182281","filename":"file4"},{"photo_id":"1397182193","filename":"file1"},{"photo_id":"1397182179","filename":"file0"},{"photo_id":"1397182256","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397182285":["hashtag1","hashtag2"]},{"1397182210":["hashtag1","hashtag2"]},{"1397182281":["hashtag1","hashtag2"]},{"1397182179":["hashtag1","hashtag2"]},{"1397182193":["hashtag1","hashtag2"]},{"1397182256":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397182285, 1397182210, 1397182281, 1397182179, 1397182193, 1397182256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83623552322388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 09:38:42.806947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/24/image_01112025_01_24_28_2663.jpg', '/home/pi/Desktop/images/01112025/01/24/image_01112025_01_24_31_3546.jpg', '/home/pi/Desktop/images/01112025/01/24/image_01112025_01_24_34_3041.jpg', '/home/pi/Desktop/images/01112025/01/24/image_01112025_01_24_40_2558.jpg', '/home/pi/Desktop/images/01112025/01/24/image_01112025_01_24_43_3619.jpg', '/home/pi/Desktop/images/01112025/01/24/image_01112025_01_24_46_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/24/image_01112025_01_24_28_2663.jpg
/home/pi/Desktop/images/01112025/01/24/image_01112025_01_24_31_3546.jpg
/home/pi/Desktop/images/01112025/01/24/image_01112025_01_24_34_3041.jpg
/home/pi/Desktop/images/01112025/01/24/image_01112025_01_24_40_2558.jpg
/home/pi/Desktop/images/01112025/01/24/image_01112025_01_24_43_3619.jpg
/home/pi/Desktop/images/01112025/01/24/image_01112025_01_24_46_2626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397182294","1397182315","1397182309","1397182312","1397182326","1397182317"],"photo_ids_order":["1397182294","1397182309","1397182312","1397182315","1397182317","1397182326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2f861f0ebf2c7705d277c0e8e04e5959.jpg","text":"TemporaryFile(/tmp/multipartBody8820958427745835328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578383714,"filename":"image_01112025_01_24_28_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/1/cface5800899194e913fc2936026d3ce.jpg","text":"TemporaryFile(/tmp/multipartBody5367444958793988536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578383714,"filename":"image_01112025_01_24_40_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c0af79e61e8c05c7de90aa83658b0614.jpg","text":"TemporaryFile(/tmp/multipartBody7541214621612590758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578383714,"filename":"image_01112025_01_24_31_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/1/de411fdcb0abb254e3a09003ce83571a.jpg","text":"TemporaryFile(/tmp/multipartBody2304139069097910702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578383714,"filename":"image_01112025_01_24_34_3041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1b641760fa9cf6a19141d0fcc193e5e4.jpg","text":"TemporaryFile(/tmp/multipartBody3388221446559932662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578383714,"filename":"image_01112025_01_24_46_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/1/83874cc7297e8e5249bdb25577176217.jpg","text":"TemporaryFile(/tmp/multipartBody1897394304491776315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578383714,"filename":"image_01112025_01_24_43_3619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397182312","file1":"1397182309","file0":"1397182294","file4":"1397182317","file5":"1397182326","file3":"1397182315"},"map_files_photo_id_array":[{"photo_id":"1397182326","filename":"file5"},{"photo_id":"1397182312","filename":"file2"},{"photo_id":"1397182317","filename":"file4"},{"photo_id":"1397182309","filename":"file1"},{"photo_id":"1397182294","filename":"file0"},{"photo_id":"1397182315","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397182294":["hashtag1","hashtag2"]},{"1397182315":["hashtag1","hashtag2"]},{"1397182309":["hashtag1","hashtag2"]},{"1397182312":["hashtag1","hashtag2"]},{"1397182326":["hashtag1","hashtag2"]},{"1397182317":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397182294, 1397182315, 1397182309, 1397182312, 1397182326, 1397182317)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.5567786693573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 09:39:32.034272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_41_1644.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_43_1564.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_46_3533.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_49_2815.jpg', '/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_52_2715.jpg', '/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_02_10066.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_41_1644.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_43_1564.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_46_3533.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_49_2815.jpg
/home/pi/Desktop/images/25112025/22/17/image_25112025_22_17_52_2715.jpg
/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_02_10066.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397182463","1397182457","1397182450","1397182460","1397182454","1397182448"],"photo_ids_order":["1397182448","1397182450","1397182454","1397182457","1397182460","1397182463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b3f74303a3552e046cdd8c035c007ba7.jpg","text":"TemporaryFile(/tmp/multipartBody6871576548026134130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578433776,"filename":"image_25112025_22_18_02_10066.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8b146bbbbd9e26858a6fe33b663e43fd.jpg","text":"TemporaryFile(/tmp/multipartBody2527960799494303940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578433776,"filename":"image_25112025_22_17_49_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6d36265d0c4a48654f970e9551f8cbe4.jpg","text":"TemporaryFile(/tmp/multipartBody5206832693111587116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578433776,"filename":"image_25112025_22_17_43_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/1/e6d0b3da80b547cb21b5d0a5f2edd671.jpg","text":"TemporaryFile(/tmp/multipartBody7580427061275777278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578433776,"filename":"image_25112025_22_17_52_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/1/06134d9ecdfdb035ab2effe6ae435d05.jpg","text":"TemporaryFile(/tmp/multipartBody4715075516748351137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578433776,"filename":"image_25112025_22_17_46_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/1/1b3891c07d3fc49b8842d47815f7ae75.jpg","text":"TemporaryFile(/tmp/multipartBody9054918442294868105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578433776,"filename":"image_25112025_22_17_41_1644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397182454","file1":"1397182450","file0":"1397182448","file4":"1397182460","file5":"1397182463","file3":"1397182457"},"map_files_photo_id_array":[{"photo_id":"1397182463","filename":"file5"},{"photo_id":"1397182454","filename":"file2"},{"photo_id":"1397182460","filename":"file4"},{"photo_id":"1397182450","filename":"file1"},{"photo_id":"1397182448","filename":"file0"},{"photo_id":"1397182457","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397182463":["hashtag1","hashtag2"]},{"1397182457":["hashtag1","hashtag2"]},{"1397182450":["hashtag1","hashtag2"]},{"1397182460":["hashtag1","hashtag2"]},{"1397182454":["hashtag1","hashtag2"]},{"1397182448":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397182463, 1397182457, 1397182450, 1397182460, 1397182454, 1397182448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.442304372787476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 09:40:12.072010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_03_1584.jpg', '/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_14_10400.jpg', '/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_15_1824.jpg', '/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_19_1628.jpg', '/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_20_1557.jpg', '/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_22_1640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_03_1584.jpg
/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_14_10400.jpg
/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_15_1824.jpg
/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_19_1628.jpg
/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_20_1557.jpg
/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_22_1640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397182480","1397182483","1397182477","1397182474","1397182491","1397182487"],"photo_ids_order":["1397182474","1397182477","1397182480","1397182483","1397182487","1397182491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/843c4b0aa0decda50643d4ed7545368f.jpg","text":"TemporaryFile(/tmp/multipartBody9110143458007049790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578473704,"filename":"image_25112025_22_18_15_1824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/aaf044b4a917e11eaac81c6fe9a31e6d.jpg","text":"TemporaryFile(/tmp/multipartBody5599846060321515421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578473704,"filename":"image_25112025_22_18_19_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6f84e58a36571045ff2f6b15f390eaac.jpg","text":"TemporaryFile(/tmp/multipartBody4405022926951519844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578473704,"filename":"image_25112025_22_18_14_10400.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d7254e1b14baf81d26d9011b35f5111a.jpg","text":"TemporaryFile(/tmp/multipartBody358774222356749637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578473704,"filename":"image_25112025_22_18_03_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/1/c027c56d13e2d3cd3066d787f68748eb.jpg","text":"TemporaryFile(/tmp/multipartBody2789004629839352150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578473704,"filename":"image_25112025_22_18_22_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5e77669eb0346d25112df7fc15d2f829.jpg","text":"TemporaryFile(/tmp/multipartBody2945040385975384660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578473704,"filename":"image_25112025_22_18_20_1557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397182480","file1":"1397182477","file0":"1397182474","file4":"1397182487","file5":"1397182491","file3":"1397182483"},"map_files_photo_id_array":[{"photo_id":"1397182491","filename":"file5"},{"photo_id":"1397182480","filename":"file2"},{"photo_id":"1397182487","filename":"file4"},{"photo_id":"1397182477","filename":"file1"},{"photo_id":"1397182474","filename":"file0"},{"photo_id":"1397182483","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397182480":["hashtag1","hashtag2"]},{"1397182483":["hashtag1","hashtag2"]},{"1397182477":["hashtag1","hashtag2"]},{"1397182474":["hashtag1","hashtag2"]},{"1397182491":["hashtag1","hashtag2"]},{"1397182487":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397182480, 1397182483, 1397182477, 1397182474, 1397182491, 1397182487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.400928020477295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:41:03.219657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/27/image_01122025_09_28_05_9593.jpg', '/home/pi/Desktop/images/01122025/09/28/image_01122025_09_28_15_9848.jpg', '/home/pi/Desktop/images/01122025/09/28/image_01122025_09_28_24_9773.jpg', '/home/pi/Desktop/images/01122025/09/28/image_01122025_09_28_35_10529.jpg', '/home/pi/Desktop/images/01122025/09/28/image_01122025_09_28_45_9833.jpg', '/home/pi/Desktop/images/01122025/09/28/image_01122025_09_28_54_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/27/image_01122025_09_28_05_9593.jpg
/home/pi/Desktop/images/01122025/09/28/image_01122025_09_28_15_9848.jpg
/home/pi/Desktop/images/01122025/09/28/image_01122025_09_28_24_9773.jpg
/home/pi/Desktop/images/01122025/09/28/image_01122025_09_28_35_10529.jpg
/home/pi/Desktop/images/01122025/09/28/image_01122025_09_28_45_9833.jpg
/home/pi/Desktop/images/01122025/09/28/image_01122025_09_28_54_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":["1397182520","1397182517","1397182513","1397182510","1397182524","1397182515"],"photo_ids_order":["1397182510","1397182513","1397182515","1397182517","1397182520","1397182524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f0d12ed107e332a7eee9ef3f533f9b77.jpg","text":"TemporaryFile(/tmp/multipartBody2902100928540563618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578523982,"filename":"image_01122025_09_28_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/1/793c4188c6fdfed77be0f0b9a6b867be.jpg","text":"TemporaryFile(/tmp/multipartBody1191474237906724759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578523982,"filename":"image_01122025_09_28_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/1/5ecdc51dc22ebb7a2d62829b7554e4ad.jpg","text":"TemporaryFile(/tmp/multipartBody2819737077992925198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578523982,"filename":"image_01122025_09_28_15_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4757d2070711fa8f5e780839f456d353.jpg","text":"TemporaryFile(/tmp/multipartBody5842838546771006618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578523982,"filename":"image_01122025_09_28_05_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/58d0f37ca16608aff61d93ee5565a272.jpg","text":"TemporaryFile(/tmp/multipartBody1662806638869789423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578523982,"filename":"image_01122025_09_28_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d097727cc34e4a86476f9ce890fe24c7.jpg","text":"TemporaryFile(/tmp/multipartBody7201981770467480639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578523982,"filename":"image_01122025_09_28_24_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397182515","file1":"1397182513","file0":"1397182510","file4":"1397182520","file5":"1397182524","file3":"1397182517"},"map_files_photo_id_array":[{"photo_id":"1397182524","filename":"file5"},{"photo_id":"1397182515","filename":"file2"},{"photo_id":"1397182520","filename":"file4"},{"photo_id":"1397182513","filename":"file1"},{"photo_id":"1397182510","filename":"file0"},{"photo_id":"1397182517","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397182520":["hashtag1","hashtag2"]},{"1397182517":["hashtag1","hashtag2"]},{"1397182513":["hashtag1","hashtag2"]},{"1397182510":["hashtag1","hashtag2"]},{"1397182524":["hashtag1","hashtag2"]},{"1397182515":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397182520, 1397182517, 1397182513, 1397182510, 1397182524, 1397182515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85029888153076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 09:41:42.535080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/24/image_01112025_01_24_48_2686.jpg', '/home/pi/Desktop/images/01112025/01/24/image_01112025_01_24_52_3782.jpg', '/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_04_2737.jpg', '/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_25_2659.jpg', '/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_28_3635.jpg', '/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_31_2731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/24/image_01112025_01_24_48_2686.jpg
/home/pi/Desktop/images/01112025/01/24/image_01112025_01_24_52_3782.jpg
/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_04_2737.jpg
/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_25_2659.jpg
/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_28_3635.jpg
/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_31_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":["1397182562","1397182535","1397182538","1397182560","1397182566","1397182559"],"photo_ids_order":["1397182535","1397182538","1397182559","1397182560","1397182562","1397182566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a93aea88a8038a952272a1e7ad45eb7b.jpg","text":"TemporaryFile(/tmp/multipartBody7068796137589144333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578563473,"filename":"image_01112025_01_25_28_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f08fa651997a09ce6cda4d8e059cc2b5.jpg","text":"TemporaryFile(/tmp/multipartBody2552719891262282913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578563473,"filename":"image_01112025_01_24_48_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/1/814968c0b5d30d9209fe9a81ba46bce8.jpg","text":"TemporaryFile(/tmp/multipartBody8251034605657342633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578563473,"filename":"image_01112025_01_24_52_3782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3fb30530913e1a38cb4c5ac0ddcaf303.jpg","text":"TemporaryFile(/tmp/multipartBody775714111469780827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578563473,"filename":"image_01112025_01_25_25_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/1/1185b73976a8136d4d9a55119bed4bcd.jpg","text":"TemporaryFile(/tmp/multipartBody8843836165914296194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578563473,"filename":"image_01112025_01_25_31_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/257f84af404f4406374900a4521808a7.jpg","text":"TemporaryFile(/tmp/multipartBody5071848927032448773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578563473,"filename":"image_01112025_01_25_04_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397182559","file1":"1397182538","file0":"1397182535","file4":"1397182562","file5":"1397182566","file3":"1397182560"},"map_files_photo_id_array":[{"photo_id":"1397182566","filename":"file5"},{"photo_id":"1397182559","filename":"file2"},{"photo_id":"1397182562","filename":"file4"},{"photo_id":"1397182538","filename":"file1"},{"photo_id":"1397182535","filename":"file0"},{"photo_id":"1397182560","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397182562":["hashtag1","hashtag2"]},{"1397182535":["hashtag1","hashtag2"]},{"1397182538":["hashtag1","hashtag2"]},{"1397182560":["hashtag1","hashtag2"]},{"1397182566":["hashtag1","hashtag2"]},{"1397182559":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397182562, 1397182535, 1397182538, 1397182560, 1397182566, 1397182559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.893524408340454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 09:42:22.719778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/28/image_01122025_09_29_05_10798.jpg', '/home/pi/Desktop/images/01122025/09/29/image_01122025_09_29_15_9719.jpg', '/home/pi/Desktop/images/01122025/09/29/image_01122025_09_29_25_9747.jpg', '/home/pi/Desktop/images/01122025/09/29/image_01122025_09_29_34_9645.jpg', '/home/pi/Desktop/images/01122025/09/29/image_01122025_09_29_45_10606.jpg', '/home/pi/Desktop/images/01122025/09/29/image_01122025_09_29_54_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/28/image_01122025_09_29_05_10798.jpg
/home/pi/Desktop/images/01122025/09/29/image_01122025_09_29_15_9719.jpg
/home/pi/Desktop/images/01122025/09/29/image_01122025_09_29_25_9747.jpg
/home/pi/Desktop/images/01122025/09/29/image_01122025_09_29_34_9645.jpg
/home/pi/Desktop/images/01122025/09/29/image_01122025_09_29_45_10606.jpg
/home/pi/Desktop/images/01122025/09/29/image_01122025_09_29_54_9593.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.660879373550415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 09:42:32.732147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_24_1612.jpg', '/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_25_1677.jpg', '/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_27_1508.jpg', '/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_29_1578.jpg', '/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_31_2591.jpg', '/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_34_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_24_1612.jpg
/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_25_1677.jpg
/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_27_1508.jpg
/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_29_1578.jpg
/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_31_2591.jpg
/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_34_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":["1397182622","1397182597","1397182633","1397182587","1397182629","1397182602"],"photo_ids_order":["1397182587","1397182597","1397182602","1397182622","1397182629","1397182633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/50c229690f75dff97611cb4282f8d1cc.jpg","text":"TemporaryFile(/tmp/multipartBody5068118109934818863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578614485,"filename":"image_25112025_22_18_29_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b90995a4170823496e5d684d15ba0fe8.jpg","text":"TemporaryFile(/tmp/multipartBody8858206698426472412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578614485,"filename":"image_25112025_22_18_25_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/1/b99139720452e52a329414fa6bc92464.jpg","text":"TemporaryFile(/tmp/multipartBody1518225783780778617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578614485,"filename":"image_25112025_22_18_34_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/65b3f20c838f6abc9b47c4c4d543697b.jpg","text":"TemporaryFile(/tmp/multipartBody2076154976228978025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578614485,"filename":"image_25112025_22_18_24_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/1/a14b6c7cb9694d04c7dbd5bc53ea0602.jpg","text":"TemporaryFile(/tmp/multipartBody8998194139931347756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578614485,"filename":"image_25112025_22_18_31_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0e938353bfff619cfc23d4b66bc484b4.jpg","text":"TemporaryFile(/tmp/multipartBody569243626339240377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578614485,"filename":"image_25112025_22_18_27_1508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397182602","file1":"1397182597","file0":"1397182587","file4":"1397182629","file5":"1397182633","file3":"1397182622"},"map_files_photo_id_array":[{"photo_id":"1397182633","filename":"file5"},{"photo_id":"1397182602","filename":"file2"},{"photo_id":"1397182629","filename":"file4"},{"photo_id":"1397182597","filename":"file1"},{"photo_id":"1397182587","filename":"file0"},{"photo_id":"1397182622","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397182622":["hashtag1","hashtag2"]},{"1397182597":["hashtag1","hashtag2"]},{"1397182633":["hashtag1","hashtag2"]},{"1397182587":["hashtag1","hashtag2"]},{"1397182629":["hashtag1","hashtag2"]},{"1397182602":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397182622, 1397182597, 1397182633, 1397182587, 1397182629, 1397182602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1491003036499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 09:43:11.864350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_36_2789.jpg', '/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_40_3633.jpg', '/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_43_2659.jpg', '/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_45_2679.jpg', '/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_54_2559.jpg', '/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_01_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_36_2789.jpg
/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_40_3633.jpg
/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_43_2659.jpg
/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_45_2679.jpg
/home/pi/Desktop/images/25112025/22/18/image_25112025_22_18_54_2559.jpg
/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_01_2681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397182655","1397182660","1397182657","1397182650","1397182664","1397182652"],"photo_ids_order":["1397182650","1397182652","1397182655","1397182657","1397182660","1397182664"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/73c8592707e0025ec66f9c791bd70b38.jpg","text":"TemporaryFile(/tmp/multipartBody4754738101779437761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578653496,"filename":"image_25112025_22_18_43_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/333b8caef0e33b813b8a97a3a792964a.jpg","text":"TemporaryFile(/tmp/multipartBody6886201473028307855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578653496,"filename":"image_25112025_22_18_54_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/1/f4b0137877f5d841b45ac1d2e9b09e81.jpg","text":"TemporaryFile(/tmp/multipartBody470024247355774565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578653496,"filename":"image_25112025_22_18_45_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/1/e4059324837055a3ca7ffa600cf83ee3.jpg","text":"TemporaryFile(/tmp/multipartBody5445466781595847903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578653496,"filename":"image_25112025_22_18_36_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/1/3d49246faf58df69b7e6e80c72e4777e.jpg","text":"TemporaryFile(/tmp/multipartBody2161418266328271137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578653496,"filename":"image_25112025_22_19_01_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/1/dad3ba59cf4c5d143f568b52d8dce1ef.jpg","text":"TemporaryFile(/tmp/multipartBody4076030754520562734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578653496,"filename":"image_25112025_22_18_40_3633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397182655","file1":"1397182652","file0":"1397182650","file4":"1397182660","file5":"1397182664","file3":"1397182657"},"map_files_photo_id_array":[{"photo_id":"1397182664","filename":"file5"},{"photo_id":"1397182655","filename":"file2"},{"photo_id":"1397182660","filename":"file4"},{"photo_id":"1397182652","filename":"file1"},{"photo_id":"1397182650","filename":"file0"},{"photo_id":"1397182657","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397182655":["hashtag1","hashtag2"]},{"1397182660":["hashtag1","hashtag2"]},{"1397182657":["hashtag1","hashtag2"]},{"1397182650":["hashtag1","hashtag2"]},{"1397182664":["hashtag1","hashtag2"]},{"1397182652":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397182655, 1397182660, 1397182657, 1397182650, 1397182664, 1397182652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.013885259628296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:44:02.624841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/28/image_01122025_09_29_05_10798.jpg', '/home/pi/Desktop/images/01122025/09/29/image_01122025_09_29_15_9719.jpg', '/home/pi/Desktop/images/01122025/09/29/image_01122025_09_29_25_9747.jpg', '/home/pi/Desktop/images/01122025/09/29/image_01122025_09_29_34_9645.jpg', '/home/pi/Desktop/images/01122025/09/29/image_01122025_09_29_45_10606.jpg', '/home/pi/Desktop/images/01122025/09/29/image_01122025_09_29_54_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/28/image_01122025_09_29_05_10798.jpg
/home/pi/Desktop/images/01122025/09/29/image_01122025_09_29_15_9719.jpg
/home/pi/Desktop/images/01122025/09/29/image_01122025_09_29_25_9747.jpg
/home/pi/Desktop/images/01122025/09/29/image_01122025_09_29_34_9645.jpg
/home/pi/Desktop/images/01122025/09/29/image_01122025_09_29_45_10606.jpg
/home/pi/Desktop/images/01122025/09/29/image_01122025_09_29_54_9593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397182904","1397182849","1397182851","1397182854","1397182889","1397182856"],"photo_ids_order":["1397182849","1397182851","1397182854","1397182856","1397182889","1397182904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4a11b8ed0a04639ab988943a11168c89.jpg","text":"TemporaryFile(/tmp/multipartBody4332085860682362763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578703401,"filename":"image_01122025_09_29_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/1/6c1f56141dccaff6d5614b30cb01cfd3.jpg","text":"TemporaryFile(/tmp/multipartBody4645285350685572712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578703401,"filename":"image_01122025_09_29_05_10798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9a2e6e72e4d6d15817ca6c33fe785978.jpg","text":"TemporaryFile(/tmp/multipartBody5029214658692997950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578703401,"filename":"image_01122025_09_29_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/1/c4a4d9765a4beac2d5fd028adeb9f880.jpg","text":"TemporaryFile(/tmp/multipartBody5362337069119665991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578703401,"filename":"image_01122025_09_29_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/1/0965c75d9a3a6141d4f39baa6a11c270.jpg","text":"TemporaryFile(/tmp/multipartBody5105147904354015418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578703401,"filename":"image_01122025_09_29_45_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/1/387e7e02d0551dbc5383ee17b4a16f98.jpg","text":"TemporaryFile(/tmp/multipartBody7317953142213256085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578703401,"filename":"image_01122025_09_29_34_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397182854","file1":"1397182851","file0":"1397182849","file4":"1397182889","file5":"1397182904","file3":"1397182856"},"map_files_photo_id_array":[{"photo_id":"1397182904","filename":"file5"},{"photo_id":"1397182854","filename":"file2"},{"photo_id":"1397182889","filename":"file4"},{"photo_id":"1397182851","filename":"file1"},{"photo_id":"1397182849","filename":"file0"},{"photo_id":"1397182856","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397182904":["hashtag1","hashtag2"]},{"1397182849":["hashtag1","hashtag2"]},{"1397182851":["hashtag1","hashtag2"]},{"1397182854":["hashtag1","hashtag2"]},{"1397182889":["hashtag1","hashtag2"]},{"1397182856":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397182904, 1397182849, 1397182851, 1397182854, 1397182889, 1397182856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3628044128418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 09:44:42.055219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_34_2688.jpg', '/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_43_2674.jpg', '/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_45_2780.jpg', '/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_49_3631.jpg', '/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_52_2792.jpg', '/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_01_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_34_2688.jpg
/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_43_2674.jpg
/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_45_2780.jpg
/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_49_3631.jpg
/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_52_2792.jpg
/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_01_2620.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8080928325653076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:45:02.970151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/31/image_01122025_09_31_14_10039.jpg', '/home/pi/Desktop/images/01122025/09/31/image_01122025_09_31_24_10743.jpg', '/home/pi/Desktop/images/01122025/09/31/image_01122025_09_31_34_9595.jpg', '/home/pi/Desktop/images/01122025/09/31/image_01122025_09_31_44_9623.jpg', '/home/pi/Desktop/images/01122025/09/31/image_01122025_09_31_54_10700.jpg', '/home/pi/Desktop/images/01122025/09/31/image_01122025_09_32_04_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/31/image_01122025_09_31_14_10039.jpg
/home/pi/Desktop/images/01122025/09/31/image_01122025_09_31_24_10743.jpg
/home/pi/Desktop/images/01122025/09/31/image_01122025_09_31_34_9595.jpg
/home/pi/Desktop/images/01122025/09/31/image_01122025_09_31_44_9623.jpg
/home/pi/Desktop/images/01122025/09/31/image_01122025_09_31_54_10700.jpg
/home/pi/Desktop/images/01122025/09/31/image_01122025_09_32_04_9778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397183040","1397183001","1397183060","1397183051","1397183045","1397183048"],"photo_ids_order":["1397183001","1397183040","1397183045","1397183048","1397183051","1397183060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9e5d6e282c35daced5ecd61873b33bd6.jpg","text":"TemporaryFile(/tmp/multipartBody2443294378244975344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578763708,"filename":"image_01122025_09_31_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/1/4a6c11e654b64e221525d88dde4f15e9.jpg","text":"TemporaryFile(/tmp/multipartBody5764885078860988656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578763708,"filename":"image_01122025_09_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/1/443a049421d6cbcdc28daa62cedef11a.jpg","text":"TemporaryFile(/tmp/multipartBody6412530962533619198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578763708,"filename":"image_01122025_09_32_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/1/237b7ed7ee145360270f4547bf68495e.jpg","text":"TemporaryFile(/tmp/multipartBody419112638173909586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578763708,"filename":"image_01122025_09_31_54_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/1/ed97baf60fdeab6690ddbf4750c0038a.jpg","text":"TemporaryFile(/tmp/multipartBody5611235846460581219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578763708,"filename":"image_01122025_09_31_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/1/9cd2d465db12f20ec678af9bfafa9627.jpg","text":"TemporaryFile(/tmp/multipartBody3318963285926245210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578763708,"filename":"image_01122025_09_31_44_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397183045","file1":"1397183040","file0":"1397183001","file4":"1397183051","file5":"1397183060","file3":"1397183048"},"map_files_photo_id_array":[{"photo_id":"1397183060","filename":"file5"},{"photo_id":"1397183045","filename":"file2"},{"photo_id":"1397183051","filename":"file4"},{"photo_id":"1397183040","filename":"file1"},{"photo_id":"1397183001","filename":"file0"},{"photo_id":"1397183048","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397183040":["hashtag1","hashtag2"]},{"1397183001":["hashtag1","hashtag2"]},{"1397183060":["hashtag1","hashtag2"]},{"1397183051":["hashtag1","hashtag2"]},{"1397183045":["hashtag1","hashtag2"]},{"1397183048":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397183040, 1397183001, 1397183060, 1397183051, 1397183045, 1397183048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0028190612793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 09:45:42.339565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_34_2688.jpg', '/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_43_2674.jpg', '/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_45_2780.jpg', '/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_49_3631.jpg', '/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_52_2792.jpg', '/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_01_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_34_2688.jpg
/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_43_2674.jpg
/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_45_2780.jpg
/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_49_3631.jpg
/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_52_2792.jpg
/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_01_2620.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7725837230682373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:46:02.961855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/32/image_01122025_09_32_14_9653.jpg', '/home/pi/Desktop/images/01122025/09/32/image_01122025_09_32_24_10724.jpg', '/home/pi/Desktop/images/01122025/09/32/image_01122025_09_32_34_9621.jpg', '/home/pi/Desktop/images/01122025/09/32/image_01122025_09_32_44_9678.jpg', '/home/pi/Desktop/images/01122025/09/32/image_01122025_09_32_54_10801.jpg', '/home/pi/Desktop/images/01122025/09/32/image_01122025_09_33_04_9909.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/32/image_01122025_09_32_14_9653.jpg
/home/pi/Desktop/images/01122025/09/32/image_01122025_09_32_24_10724.jpg
/home/pi/Desktop/images/01122025/09/32/image_01122025_09_32_34_9621.jpg
/home/pi/Desktop/images/01122025/09/32/image_01122025_09_32_44_9678.jpg
/home/pi/Desktop/images/01122025/09/32/image_01122025_09_32_54_10801.jpg
/home/pi/Desktop/images/01122025/09/32/image_01122025_09_33_04_9909.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397183083","1397183089","1397183091","1397183085","1397183093","1397183095"],"photo_ids_order":["1397183083","1397183085","1397183089","1397183091","1397183093","1397183095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b4b648807ac86b08e1340e9686120820.jpg","text":"TemporaryFile(/tmp/multipartBody6631502288896913439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578823684,"filename":"image_01122025_09_32_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/1/baca49a0e43c1628adaec166ed73266f.jpg","text":"TemporaryFile(/tmp/multipartBody1794582018113105721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578823684,"filename":"image_01122025_09_32_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/1/dbbac8ebe7533a7158cbc2b912cbc1b5.jpg","text":"TemporaryFile(/tmp/multipartBody2035100169572609836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578823684,"filename":"image_01122025_09_32_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/1/621c422c3acac01fb9df99b55b43d3c4.jpg","text":"TemporaryFile(/tmp/multipartBody4888426181407448038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578823684,"filename":"image_01122025_09_32_24_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/1/361c4ca49ebeb4415be0594a0764e251.jpg","text":"TemporaryFile(/tmp/multipartBody475023012048176271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578823684,"filename":"image_01122025_09_32_54_10801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e3b6b736f2306ffe70900972dee20dc2.jpg","text":"TemporaryFile(/tmp/multipartBody5263491731326533783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578823684,"filename":"image_01122025_09_33_04_9909.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397183089","file1":"1397183085","file0":"1397183083","file4":"1397183093","file5":"1397183095","file3":"1397183091"},"map_files_photo_id_array":[{"photo_id":"1397183095","filename":"file5"},{"photo_id":"1397183089","filename":"file2"},{"photo_id":"1397183093","filename":"file4"},{"photo_id":"1397183085","filename":"file1"},{"photo_id":"1397183083","filename":"file0"},{"photo_id":"1397183091","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397183083":["hashtag1","hashtag2"]},{"1397183089":["hashtag1","hashtag2"]},{"1397183091":["hashtag1","hashtag2"]},{"1397183085":["hashtag1","hashtag2"]},{"1397183093":["hashtag1","hashtag2"]},{"1397183095":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397183083, 1397183089, 1397183091, 1397183085, 1397183093, 1397183095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06572103500366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 09:46:42.506179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_34_2688.jpg', '/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_43_2674.jpg', '/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_45_2780.jpg', '/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_49_3631.jpg', '/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_52_2792.jpg', '/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_01_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_34_2688.jpg
/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_43_2674.jpg
/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_45_2780.jpg
/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_49_3631.jpg
/home/pi/Desktop/images/01112025/01/25/image_01112025_01_25_52_2792.jpg
/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_01_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":["1397183131","1397183113","1397183119","1397183109","1397183168","1397183117"],"photo_ids_order":["1397183109","1397183113","1397183117","1397183119","1397183131","1397183168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e39b85df5438e1ddfff1e208308cc979.jpg","text":"TemporaryFile(/tmp/multipartBody3484845679974908474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578863249,"filename":"image_01112025_01_25_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/1/81b3b0094e091e9c55f8b55ff2201b34.jpg","text":"TemporaryFile(/tmp/multipartBody6075358045861204725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578863249,"filename":"image_01112025_01_25_43_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a1a1b82163660f1dcbdc75451f97209d.jpg","text":"TemporaryFile(/tmp/multipartBody2533124893332845037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578863249,"filename":"image_01112025_01_25_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/1/f6303b93cd7d4ee67d6a214ed6fe5d63.jpg","text":"TemporaryFile(/tmp/multipartBody7748568926139472455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578863249,"filename":"image_01112025_01_25_34_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/1/bf60a28bf63038095b3cccd6e2fb8596.jpg","text":"TemporaryFile(/tmp/multipartBody3827079397052923803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578863249,"filename":"image_01112025_01_26_01_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fc52a0665354e3da3e1f35f289626698.jpg","text":"TemporaryFile(/tmp/multipartBody4743850915856812271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578863249,"filename":"image_01112025_01_25_45_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397183117","file1":"1397183113","file0":"1397183109","file4":"1397183131","file5":"1397183168","file3":"1397183119"},"map_files_photo_id_array":[{"photo_id":"1397183168","filename":"file5"},{"photo_id":"1397183117","filename":"file2"},{"photo_id":"1397183131","filename":"file4"},{"photo_id":"1397183113","filename":"file1"},{"photo_id":"1397183109","filename":"file0"},{"photo_id":"1397183119","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397183131":["hashtag1","hashtag2"]},{"1397183113":["hashtag1","hashtag2"]},{"1397183119":["hashtag1","hashtag2"]},{"1397183109":["hashtag1","hashtag2"]},{"1397183168":["hashtag1","hashtag2"]},{"1397183117":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397183131, 1397183113, 1397183119, 1397183109, 1397183168, 1397183117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.446518898010254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 09:47:22.808747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/33/image_01122025_09_33_14_9630.jpg', '/home/pi/Desktop/images/01122025/09/33/image_01122025_09_33_24_9812.jpg', '/home/pi/Desktop/images/01122025/09/33/image_01122025_09_33_34_9701.jpg', '/home/pi/Desktop/images/01122025/09/33/image_01122025_09_33_44_10756.jpg', '/home/pi/Desktop/images/01122025/09/33/image_01122025_09_33_54_9632.jpg', '/home/pi/Desktop/images/01122025/09/33/image_01122025_09_34_04_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/33/image_01122025_09_33_14_9630.jpg
/home/pi/Desktop/images/01122025/09/33/image_01122025_09_33_24_9812.jpg
/home/pi/Desktop/images/01122025/09/33/image_01122025_09_33_34_9701.jpg
/home/pi/Desktop/images/01122025/09/33/image_01122025_09_33_44_10756.jpg
/home/pi/Desktop/images/01122025/09/33/image_01122025_09_33_54_9632.jpg
/home/pi/Desktop/images/01122025/09/33/image_01122025_09_34_04_9692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397183380","1397183306","1397183452","1397183421","1397183445","1397183459"],"photo_ids_order":["1397183306","1397183380","1397183421","1397183445","1397183452","1397183459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cc9bbe4d9295336c62e0f271eca38e47.jpg","text":"TemporaryFile(/tmp/multipartBody1007374263222892551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578903729,"filename":"image_01122025_09_33_24_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e5cf8270fd03f8284b563e25c332be43.jpg","text":"TemporaryFile(/tmp/multipartBody5389861166961291380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578903729,"filename":"image_01122025_09_33_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/1/b32af5758e87cea13ad1e0731b0f4ba9.jpg","text":"TemporaryFile(/tmp/multipartBody6171822063525263683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578903729,"filename":"image_01122025_09_33_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/1/6c37fbf3249aca6438b99030cd3fe1a2.jpg","text":"TemporaryFile(/tmp/multipartBody5097506132567242101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578903729,"filename":"image_01122025_09_33_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/1/76dd061c55be0864f5019abe4ae4d7bd.jpg","text":"TemporaryFile(/tmp/multipartBody7835752628190491413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578903729,"filename":"image_01122025_09_33_44_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d2109c9bc18426b20928fb6c3fdef9e6.jpg","text":"TemporaryFile(/tmp/multipartBody6499504243893515726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578903729,"filename":"image_01122025_09_34_04_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397183421","file1":"1397183380","file0":"1397183306","file4":"1397183452","file5":"1397183459","file3":"1397183445"},"map_files_photo_id_array":[{"photo_id":"1397183459","filename":"file5"},{"photo_id":"1397183421","filename":"file2"},{"photo_id":"1397183452","filename":"file4"},{"photo_id":"1397183380","filename":"file1"},{"photo_id":"1397183306","filename":"file0"},{"photo_id":"1397183445","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397183380":["hashtag1","hashtag2"]},{"1397183306":["hashtag1","hashtag2"]},{"1397183452":["hashtag1","hashtag2"]},{"1397183421":["hashtag1","hashtag2"]},{"1397183445":["hashtag1","hashtag2"]},{"1397183459":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397183380, 1397183306, 1397183452, 1397183421, 1397183445, 1397183459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.05581474304199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 09:48:11.832039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_03_2692.jpg', '/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_07_3747.jpg', '/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_10_2614.jpg', '/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_12_2639.jpg', '/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_16_3631.jpg', '/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_19_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_03_2692.jpg
/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_07_3747.jpg
/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_10_2614.jpg
/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_12_2639.jpg
/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_16_3631.jpg
/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_19_2713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397183487","1397183480","1397183477","1397183471","1397183474","1397183468"],"photo_ids_order":["1397183468","1397183471","1397183474","1397183477","1397183480","1397183487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4afb1546782dda81c8d8d520d9673001.jpg","text":"TemporaryFile(/tmp/multipartBody5043437867997845844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578953484,"filename":"image_25112025_22_19_19_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/1/e6326c33c9e04bd37363762892f9c631.jpg","text":"TemporaryFile(/tmp/multipartBody994576698607979646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578953484,"filename":"image_25112025_22_19_16_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/1/1751afec80b4bf2e70adc442fa5582b8.jpg","text":"TemporaryFile(/tmp/multipartBody2509696560392212694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578953484,"filename":"image_25112025_22_19_12_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dc77e610fb6d7160e9deafe046e648e2.jpg","text":"TemporaryFile(/tmp/multipartBody8769812813721727776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578953484,"filename":"image_25112025_22_19_07_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/1/d897ed5072460ff789350739b9737f1a.jpg","text":"TemporaryFile(/tmp/multipartBody8440293847871252418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578953484,"filename":"image_25112025_22_19_10_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/1/078ca58410a6597cdaf797141eb3fb14.jpg","text":"TemporaryFile(/tmp/multipartBody6965244865051435237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764578953484,"filename":"image_25112025_22_19_03_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397183474","file1":"1397183471","file0":"1397183468","file4":"1397183480","file5":"1397183487","file3":"1397183477"},"map_files_photo_id_array":[{"photo_id":"1397183487","filename":"file5"},{"photo_id":"1397183474","filename":"file2"},{"photo_id":"1397183480","filename":"file4"},{"photo_id":"1397183471","filename":"file1"},{"photo_id":"1397183468","filename":"file0"},{"photo_id":"1397183477","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397183487":["hashtag1","hashtag2"]},{"1397183480":["hashtag1","hashtag2"]},{"1397183477":["hashtag1","hashtag2"]},{"1397183471":["hashtag1","hashtag2"]},{"1397183474":["hashtag1","hashtag2"]},{"1397183468":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397183487, 1397183480, 1397183477, 1397183471, 1397183474, 1397183468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10880708694458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:49:02.946119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/34/image_01122025_09_34_14_10878.jpg', '/home/pi/Desktop/images/01122025/09/34/image_01122025_09_34_24_9609.jpg', '/home/pi/Desktop/images/01122025/09/34/image_01122025_09_34_34_9819.jpg', '/home/pi/Desktop/images/01122025/09/34/image_01122025_09_34_44_9801.jpg', '/home/pi/Desktop/images/01122025/09/34/image_01122025_09_34_54_10690.jpg', '/home/pi/Desktop/images/01122025/09/34/image_01122025_09_35_04_9555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/34/image_01122025_09_34_14_10878.jpg
/home/pi/Desktop/images/01122025/09/34/image_01122025_09_34_24_9609.jpg
/home/pi/Desktop/images/01122025/09/34/image_01122025_09_34_34_9819.jpg
/home/pi/Desktop/images/01122025/09/34/image_01122025_09_34_44_9801.jpg
/home/pi/Desktop/images/01122025/09/34/image_01122025_09_34_54_10690.jpg
/home/pi/Desktop/images/01122025/09/34/image_01122025_09_35_04_9555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397183504","1397183515","1397183509","1397183500","1397183511","1397183507"],"photo_ids_order":["1397183500","1397183504","1397183507","1397183509","1397183511","1397183515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5fef0217cd63c97a7950d1a66151b710.jpg","text":"TemporaryFile(/tmp/multipartBody6396961441830132965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579003840,"filename":"image_01122025_09_34_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/1/0ec9b89e32b9ad57a5138a15aa84fe8f.jpg","text":"TemporaryFile(/tmp/multipartBody7002087208631843344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579003840,"filename":"image_01122025_09_35_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/1/6c180e520e59912e21805d610132445e.jpg","text":"TemporaryFile(/tmp/multipartBody121241063565942724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579003840,"filename":"image_01122025_09_34_44_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/98772078ac7b108c405c4bbbcc3f6eb8.jpg","text":"TemporaryFile(/tmp/multipartBody2296610354905315901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579003840,"filename":"image_01122025_09_34_14_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/1/13b9e6555007db478cef935aad34bd61.jpg","text":"TemporaryFile(/tmp/multipartBody907288713474402263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579003840,"filename":"image_01122025_09_34_54_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/27277adb873434d689564ced08ea93d3.jpg","text":"TemporaryFile(/tmp/multipartBody5403520870358494536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579003840,"filename":"image_01122025_09_34_34_9819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397183507","file1":"1397183504","file0":"1397183500","file4":"1397183511","file5":"1397183515","file3":"1397183509"},"map_files_photo_id_array":[{"photo_id":"1397183515","filename":"file5"},{"photo_id":"1397183507","filename":"file2"},{"photo_id":"1397183511","filename":"file4"},{"photo_id":"1397183504","filename":"file1"},{"photo_id":"1397183500","filename":"file0"},{"photo_id":"1397183509","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397183504":["hashtag1","hashtag2"]},{"1397183515":["hashtag1","hashtag2"]},{"1397183509":["hashtag1","hashtag2"]},{"1397183500":["hashtag1","hashtag2"]},{"1397183511":["hashtag1","hashtag2"]},{"1397183507":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397183504, 1397183515, 1397183509, 1397183500, 1397183511, 1397183507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51479434967041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 09:49:42.055062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_10_2913.jpg', '/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_16_3647.jpg', '/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_22_2855.jpg', '/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_25_3610.jpg', '/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_28_2655.jpg', '/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_30_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_10_2913.jpg
/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_16_3647.jpg
/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_22_2855.jpg
/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_25_3610.jpg
/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_28_2655.jpg
/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_30_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":["1397183536","1397183532","1397183535","1397183529","1397183526","1397183537"],"photo_ids_order":["1397183526","1397183529","1397183532","1397183535","1397183536","1397183537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9232b487eb0a535d176108a60520ba75.jpg","text":"TemporaryFile(/tmp/multipartBody6171807085238412400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579042932,"filename":"image_01112025_01_26_28_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ffc08b87d14d1e85f6f9ebdf97ca4c2c.jpg","text":"TemporaryFile(/tmp/multipartBody9218715377958133760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579042932,"filename":"image_01112025_01_26_22_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/1/1e1b8bd7b384178b7cc849c5bf6bc0d1.jpg","text":"TemporaryFile(/tmp/multipartBody2210827719472958711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579042932,"filename":"image_01112025_01_26_25_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/1/47e37b3ece24369ed8e745545bd5aa8e.jpg","text":"TemporaryFile(/tmp/multipartBody7971938472560490294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579042932,"filename":"image_01112025_01_26_16_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/1/14e23ba94c62560e05c9defd36495e36.jpg","text":"TemporaryFile(/tmp/multipartBody7543091810255105041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579042932,"filename":"image_01112025_01_26_10_2913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b121b0ace50918258cf31a274d942d18.jpg","text":"TemporaryFile(/tmp/multipartBody605241328687373445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579042932,"filename":"image_01112025_01_26_30_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397183532","file1":"1397183529","file0":"1397183526","file4":"1397183536","file5":"1397183537","file3":"1397183535"},"map_files_photo_id_array":[{"photo_id":"1397183537","filename":"file5"},{"photo_id":"1397183532","filename":"file2"},{"photo_id":"1397183536","filename":"file4"},{"photo_id":"1397183529","filename":"file1"},{"photo_id":"1397183526","filename":"file0"},{"photo_id":"1397183535","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397183536":["hashtag1","hashtag2"]},{"1397183532":["hashtag1","hashtag2"]},{"1397183535":["hashtag1","hashtag2"]},{"1397183529":["hashtag1","hashtag2"]},{"1397183526":["hashtag1","hashtag2"]},{"1397183537":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397183536, 1397183532, 1397183535, 1397183529, 1397183526, 1397183537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.460986852645874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 09:50:22.335875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/35/image_01122025_09_35_14_9793.jpg', '/home/pi/Desktop/images/01122025/09/35/image_01122025_09_35_24_10722.jpg', '/home/pi/Desktop/images/01122025/09/35/image_01122025_09_35_34_9730.jpg', '/home/pi/Desktop/images/01122025/09/35/image_01122025_09_35_44_9629.jpg', '/home/pi/Desktop/images/01122025/09/35/image_01122025_09_35_54_9786.jpg', '/home/pi/Desktop/images/01122025/09/35/image_01122025_09_36_04_10762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/35/image_01122025_09_35_14_9793.jpg
/home/pi/Desktop/images/01122025/09/35/image_01122025_09_35_24_10722.jpg
/home/pi/Desktop/images/01122025/09/35/image_01122025_09_35_34_9730.jpg
/home/pi/Desktop/images/01122025/09/35/image_01122025_09_35_44_9629.jpg
/home/pi/Desktop/images/01122025/09/35/image_01122025_09_35_54_9786.jpg
/home/pi/Desktop/images/01122025/09/35/image_01122025_09_36_04_10762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397183560","1397183571","1397183565","1397183580","1397183588","1397183584"],"photo_ids_order":["1397183560","1397183565","1397183571","1397183580","1397183584","1397183588"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/50be3aebd5797acf80f950b9cb046709.jpg","text":"TemporaryFile(/tmp/multipartBody7703078216153410455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579083027,"filename":"image_01122025_09_35_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/1/f5733630af0171241e4b624e63b30d8f.jpg","text":"TemporaryFile(/tmp/multipartBody8494738960241263443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579083027,"filename":"image_01122025_09_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/1/29604413a2fb4d535261ad03ce49d61b.jpg","text":"TemporaryFile(/tmp/multipartBody8192899869536339763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579083027,"filename":"image_01122025_09_35_24_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8ced41621567e29b7e7f30284757fc0c.jpg","text":"TemporaryFile(/tmp/multipartBody7944013593034094142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579083027,"filename":"image_01122025_09_35_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/1/0c692dc724b3b1e615e5fbaadc803fa6.jpg","text":"TemporaryFile(/tmp/multipartBody7983211546368255186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579083027,"filename":"image_01122025_09_36_04_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/1/3d6c501c479ade85eba3fae3e821bc0a.jpg","text":"TemporaryFile(/tmp/multipartBody6207065500650897877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579083027,"filename":"image_01122025_09_35_54_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397183571","file1":"1397183565","file0":"1397183560","file4":"1397183584","file5":"1397183588","file3":"1397183580"},"map_files_photo_id_array":[{"photo_id":"1397183588","filename":"file5"},{"photo_id":"1397183571","filename":"file2"},{"photo_id":"1397183584","filename":"file4"},{"photo_id":"1397183565","filename":"file1"},{"photo_id":"1397183560","filename":"file0"},{"photo_id":"1397183580","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397183560":["hashtag1","hashtag2"]},{"1397183571":["hashtag1","hashtag2"]},{"1397183565":["hashtag1","hashtag2"]},{"1397183580":["hashtag1","hashtag2"]},{"1397183588":["hashtag1","hashtag2"]},{"1397183584":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397183560, 1397183571, 1397183565, 1397183580, 1397183588, 1397183584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72457027435303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:51:02.979707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/36/image_01122025_09_36_14_9670.jpg', '/home/pi/Desktop/images/01122025/09/36/image_01122025_09_36_24_9785.jpg', '/home/pi/Desktop/images/01122025/09/36/image_01122025_09_36_34_9670.jpg', '/home/pi/Desktop/images/01122025/09/36/image_01122025_09_36_54_9654.jpg', '/home/pi/Desktop/images/01122025/09/36/image_01122025_09_37_04_9707.jpg', '/home/pi/Desktop/images/01122025/09/37/image_01122025_09_37_14_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/36/image_01122025_09_36_14_9670.jpg
/home/pi/Desktop/images/01122025/09/36/image_01122025_09_36_24_9785.jpg
/home/pi/Desktop/images/01122025/09/36/image_01122025_09_36_34_9670.jpg
/home/pi/Desktop/images/01122025/09/36/image_01122025_09_36_54_9654.jpg
/home/pi/Desktop/images/01122025/09/36/image_01122025_09_37_04_9707.jpg
/home/pi/Desktop/images/01122025/09/37/image_01122025_09_37_14_10634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397183618","1397183602","1397183611","1397183605","1397183614","1397183608"],"photo_ids_order":["1397183602","1397183605","1397183608","1397183611","1397183614","1397183618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d7581fcac6b0f3b25ff1f7fd74a67f00.jpg","text":"TemporaryFile(/tmp/multipartBody6350411495526945265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579123756,"filename":"image_01122025_09_37_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/1/81166405d27bed72c7087b0e1d1fa9f2.jpg","text":"TemporaryFile(/tmp/multipartBody8072981262952771803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579123756,"filename":"image_01122025_09_36_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/1/9c30af2312f0c4cde6a0a0b843938fa6.jpg","text":"TemporaryFile(/tmp/multipartBody8227225423537538081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579123756,"filename":"image_01122025_09_36_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/1/70623b5eabddecb4140effb1961f9839.jpg","text":"TemporaryFile(/tmp/multipartBody8185651249075258484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579123756,"filename":"image_01122025_09_36_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/1/5b35c544bce548efab2d23ffe1a46d5d.jpg","text":"TemporaryFile(/tmp/multipartBody4222215057912977810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579123756,"filename":"image_01122025_09_37_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/1/382b5b2f7f75cbe464a77a3ea4ee160a.jpg","text":"TemporaryFile(/tmp/multipartBody6080024534069104904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579123756,"filename":"image_01122025_09_36_34_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397183608","file1":"1397183605","file0":"1397183602","file4":"1397183614","file5":"1397183618","file3":"1397183611"},"map_files_photo_id_array":[{"photo_id":"1397183618","filename":"file5"},{"photo_id":"1397183608","filename":"file2"},{"photo_id":"1397183614","filename":"file4"},{"photo_id":"1397183605","filename":"file1"},{"photo_id":"1397183602","filename":"file0"},{"photo_id":"1397183611","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397183618":["hashtag1","hashtag2"]},{"1397183602":["hashtag1","hashtag2"]},{"1397183611":["hashtag1","hashtag2"]},{"1397183605":["hashtag1","hashtag2"]},{"1397183614":["hashtag1","hashtag2"]},{"1397183608":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397183618, 1397183602, 1397183611, 1397183605, 1397183614, 1397183608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77713394165039 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 09:51:42.383375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_34_3659.jpg', '/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_37_2900.jpg', '/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_39_2429.jpg', '/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_42_2780.jpg', '/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_46_3654.jpg', '/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_52_3665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_34_3659.jpg
/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_37_2900.jpg
/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_39_2429.jpg
/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_42_2780.jpg
/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_46_3654.jpg
/home/pi/Desktop/images/01112025/01/26/image_01112025_01_26_52_3665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397183632","1397183634","1397183639","1397183630","1397183627","1397183636"],"photo_ids_order":["1397183627","1397183630","1397183632","1397183634","1397183636","1397183639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a81dfc3281024633575a01d635ac7973.jpg","text":"TemporaryFile(/tmp/multipartBody1696926892875933720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579163328,"filename":"image_01112025_01_26_39_2429.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a397f4350cf114d67bb35a6009acc765.jpg","text":"TemporaryFile(/tmp/multipartBody4308690183971325040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579163328,"filename":"image_01112025_01_26_42_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/1/d0db01c0a07323f27a1335a0da5b85a1.jpg","text":"TemporaryFile(/tmp/multipartBody2199280325050915276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579163328,"filename":"image_01112025_01_26_52_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/1/758e11551660dc8af1db6b6bbb10db43.jpg","text":"TemporaryFile(/tmp/multipartBody7579911201028679988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579163328,"filename":"image_01112025_01_26_37_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/1/5eb6df7650acaf6c7065b7d9fd2b2165.jpg","text":"TemporaryFile(/tmp/multipartBody5373243898016889279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579163328,"filename":"image_01112025_01_26_34_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/1/a3174ddb205be37f1e56eb9f872217aa.jpg","text":"TemporaryFile(/tmp/multipartBody8075091871490321392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579163328,"filename":"image_01112025_01_26_46_3654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397183632","file1":"1397183630","file0":"1397183627","file4":"1397183636","file5":"1397183639","file3":"1397183634"},"map_files_photo_id_array":[{"photo_id":"1397183639","filename":"file5"},{"photo_id":"1397183632","filename":"file2"},{"photo_id":"1397183636","filename":"file4"},{"photo_id":"1397183630","filename":"file1"},{"photo_id":"1397183627","filename":"file0"},{"photo_id":"1397183634","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397183632":["hashtag1","hashtag2"]},{"1397183634":["hashtag1","hashtag2"]},{"1397183639":["hashtag1","hashtag2"]},{"1397183630":["hashtag1","hashtag2"]},{"1397183627":["hashtag1","hashtag2"]},{"1397183636":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397183632, 1397183634, 1397183639, 1397183630, 1397183627, 1397183636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.033393144607544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 09:52:22.540073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/37/image_01122025_09_37_24_9758.jpg', '/home/pi/Desktop/images/01122025/09/37/image_01122025_09_37_34_9618.jpg', '/home/pi/Desktop/images/01122025/09/37/image_01122025_09_37_54_9708.jpg', '/home/pi/Desktop/images/01122025/09/37/image_01122025_09_38_04_9706.jpg', '/home/pi/Desktop/images/01122025/09/38/image_01122025_09_38_14_10702.jpg', '/home/pi/Desktop/images/01122025/09/38/image_01122025_09_38_24_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/37/image_01122025_09_37_24_9758.jpg
/home/pi/Desktop/images/01122025/09/37/image_01122025_09_37_34_9618.jpg
/home/pi/Desktop/images/01122025/09/37/image_01122025_09_37_54_9708.jpg
/home/pi/Desktop/images/01122025/09/37/image_01122025_09_38_04_9706.jpg
/home/pi/Desktop/images/01122025/09/38/image_01122025_09_38_14_10702.jpg
/home/pi/Desktop/images/01122025/09/38/image_01122025_09_38_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":["1397183668","1397183650","1397183664","1397183658","1397183673","1397183648"],"photo_ids_order":["1397183648","1397183650","1397183658","1397183664","1397183668","1397183673"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c411ce164454f46a1088406fc5fc6e8b.jpg","text":"TemporaryFile(/tmp/multipartBody7578250028338335575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579203233,"filename":"image_01122025_09_38_14_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8452aaca3eb7c938ca45c0a473d879f0.jpg","text":"TemporaryFile(/tmp/multipartBody309575325095662655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579203233,"filename":"image_01122025_09_37_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/1/0634500b640dafdb47eb4c649c933776.jpg","text":"TemporaryFile(/tmp/multipartBody7227099134133267007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579203233,"filename":"image_01122025_09_38_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/1/1bc8659f4b7a72c26ff91c1a7e4c9eea.jpg","text":"TemporaryFile(/tmp/multipartBody6658910218568344403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579203233,"filename":"image_01122025_09_37_54_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0cdecd9ba675b6d1e13937b1dd3743b8.jpg","text":"TemporaryFile(/tmp/multipartBody992375445114156678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579203233,"filename":"image_01122025_09_38_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/1/b560b9b17a54ebd70f8209e83ec16cbd.jpg","text":"TemporaryFile(/tmp/multipartBody8149897392403640569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579203233,"filename":"image_01122025_09_37_24_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397183658","file1":"1397183650","file0":"1397183648","file4":"1397183668","file5":"1397183673","file3":"1397183664"},"map_files_photo_id_array":[{"photo_id":"1397183673","filename":"file5"},{"photo_id":"1397183658","filename":"file2"},{"photo_id":"1397183668","filename":"file4"},{"photo_id":"1397183650","filename":"file1"},{"photo_id":"1397183648","filename":"file0"},{"photo_id":"1397183664","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397183668":["hashtag1","hashtag2"]},{"1397183650":["hashtag1","hashtag2"]},{"1397183664":["hashtag1","hashtag2"]},{"1397183658":["hashtag1","hashtag2"]},{"1397183673":["hashtag1","hashtag2"]},{"1397183648":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397183668, 1397183650, 1397183664, 1397183658, 1397183673, 1397183648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.186410427093506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:53:02.505070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/38/image_01122025_09_38_34_9745.jpg', '/home/pi/Desktop/images/01122025/09/38/image_01122025_09_38_44_9876.jpg', '/home/pi/Desktop/images/01122025/09/38/image_01122025_09_38_54_10755.jpg', '/home/pi/Desktop/images/01122025/09/38/image_01122025_09_39_04_9738.jpg', '/home/pi/Desktop/images/01122025/09/39/image_01122025_09_39_14_9624.jpg', '/home/pi/Desktop/images/01122025/09/39/image_01122025_09_39_24_9802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/38/image_01122025_09_38_34_9745.jpg
/home/pi/Desktop/images/01122025/09/38/image_01122025_09_38_44_9876.jpg
/home/pi/Desktop/images/01122025/09/38/image_01122025_09_38_54_10755.jpg
/home/pi/Desktop/images/01122025/09/38/image_01122025_09_39_04_9738.jpg
/home/pi/Desktop/images/01122025/09/39/image_01122025_09_39_14_9624.jpg
/home/pi/Desktop/images/01122025/09/39/image_01122025_09_39_24_9802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397183680","1397183682","1397183693","1397183687","1397183684","1397183678"],"photo_ids_order":["1397183678","1397183680","1397183682","1397183684","1397183687","1397183693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4d7ca8de5f0ac73b6fa1abf2df32a35a.jpg","text":"TemporaryFile(/tmp/multipartBody2786945513219786390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579243323,"filename":"image_01122025_09_38_44_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/1/a4518bc4d2174e1c1c97a644f3b41075.jpg","text":"TemporaryFile(/tmp/multipartBody16323742030454595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579243323,"filename":"image_01122025_09_38_54_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/1/e1579c3395e1a96ab95cc7ff0eb723fa.jpg","text":"TemporaryFile(/tmp/multipartBody8105384295459007238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579243323,"filename":"image_01122025_09_39_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/1/0dc2c896426876b27330fdb089220316.jpg","text":"TemporaryFile(/tmp/multipartBody5754709164383807448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579243323,"filename":"image_01122025_09_39_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/1/4ddfd9a7ffcf3b8376961bfcd70f81f8.jpg","text":"TemporaryFile(/tmp/multipartBody7705513123293917693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579243323,"filename":"image_01122025_09_39_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/1/8408f0980a43d283afb62923588d41fb.jpg","text":"TemporaryFile(/tmp/multipartBody7724862671496256648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579243323,"filename":"image_01122025_09_38_34_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397183682","file1":"1397183680","file0":"1397183678","file4":"1397183687","file5":"1397183693","file3":"1397183684"},"map_files_photo_id_array":[{"photo_id":"1397183693","filename":"file5"},{"photo_id":"1397183682","filename":"file2"},{"photo_id":"1397183687","filename":"file4"},{"photo_id":"1397183680","filename":"file1"},{"photo_id":"1397183678","filename":"file0"},{"photo_id":"1397183684","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397183680":["hashtag1","hashtag2"]},{"1397183682":["hashtag1","hashtag2"]},{"1397183693":["hashtag1","hashtag2"]},{"1397183687":["hashtag1","hashtag2"]},{"1397183684":["hashtag1","hashtag2"]},{"1397183678":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397183680, 1397183682, 1397183693, 1397183687, 1397183684, 1397183678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.363694190979004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:54:02.632347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/39/image_01122025_09_39_34_10652.jpg', '/home/pi/Desktop/images/01122025/09/39/image_01122025_09_39_44_9774.jpg', '/home/pi/Desktop/images/01122025/09/39/image_01122025_09_40_04_10634.jpg', '/home/pi/Desktop/images/01122025/09/40/image_01122025_09_40_14_9632.jpg', '/home/pi/Desktop/images/01122025/09/40/image_01122025_09_40_24_9641.jpg', '/home/pi/Desktop/images/01122025/09/40/image_01122025_09_40_34_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/39/image_01122025_09_39_34_10652.jpg
/home/pi/Desktop/images/01122025/09/39/image_01122025_09_39_44_9774.jpg
/home/pi/Desktop/images/01122025/09/39/image_01122025_09_40_04_10634.jpg
/home/pi/Desktop/images/01122025/09/40/image_01122025_09_40_14_9632.jpg
/home/pi/Desktop/images/01122025/09/40/image_01122025_09_40_24_9641.jpg
/home/pi/Desktop/images/01122025/09/40/image_01122025_09_40_34_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":["1397183722","1397183716","1397183733","1397183718","1397183726","1397183729"],"photo_ids_order":["1397183716","1397183718","1397183722","1397183726","1397183729","1397183733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f05fcd770fb7bdb9f3d8b3f67559e1e1.jpg","text":"TemporaryFile(/tmp/multipartBody8964154681712273666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579303379,"filename":"image_01122025_09_40_04_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5e9117c16629e0122afdd88a91732107.jpg","text":"TemporaryFile(/tmp/multipartBody3886489629360851129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579303379,"filename":"image_01122025_09_39_34_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/64784ec4e3dede688a997700256593a6.jpg","text":"TemporaryFile(/tmp/multipartBody2114854230471603833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579303379,"filename":"image_01122025_09_40_34_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/67ea7de978db5f93e384e0cce5f5a0b1.jpg","text":"TemporaryFile(/tmp/multipartBody4801956200487756378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579303379,"filename":"image_01122025_09_39_44_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c205b6cf569275d303260c5ec650e70b.jpg","text":"TemporaryFile(/tmp/multipartBody3038050831299629787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579303379,"filename":"image_01122025_09_40_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/1/5caabf608726205bf0c63f9c71310fc5.jpg","text":"TemporaryFile(/tmp/multipartBody3972011446248532525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579303379,"filename":"image_01122025_09_40_24_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397183722","file1":"1397183718","file0":"1397183716","file4":"1397183729","file5":"1397183733","file3":"1397183726"},"map_files_photo_id_array":[{"photo_id":"1397183733","filename":"file5"},{"photo_id":"1397183722","filename":"file2"},{"photo_id":"1397183729","filename":"file4"},{"photo_id":"1397183718","filename":"file1"},{"photo_id":"1397183716","filename":"file0"},{"photo_id":"1397183726","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397183722":["hashtag1","hashtag2"]},{"1397183716":["hashtag1","hashtag2"]},{"1397183733":["hashtag1","hashtag2"]},{"1397183718":["hashtag1","hashtag2"]},{"1397183726":["hashtag1","hashtag2"]},{"1397183729":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397183722, 1397183716, 1397183733, 1397183718, 1397183726, 1397183729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.620023250579834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 09:54:42.109484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/26/image_01112025_01_27_01_3621.jpg', '/home/pi/Desktop/images/01112025/01/27/image_01112025_01_27_04_2773.jpg', '/home/pi/Desktop/images/01112025/01/27/image_01112025_01_27_06_2625.jpg', '/home/pi/Desktop/images/01112025/01/27/image_01112025_01_27_28_3739.jpg', '/home/pi/Desktop/images/01112025/01/27/image_01112025_01_27_40_2535.jpg', '/home/pi/Desktop/images/01112025/01/27/image_01112025_01_27_49_3734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/26/image_01112025_01_27_01_3621.jpg
/home/pi/Desktop/images/01112025/01/27/image_01112025_01_27_04_2773.jpg
/home/pi/Desktop/images/01112025/01/27/image_01112025_01_27_06_2625.jpg
/home/pi/Desktop/images/01112025/01/27/image_01112025_01_27_28_3739.jpg
/home/pi/Desktop/images/01112025/01/27/image_01112025_01_27_40_2535.jpg
/home/pi/Desktop/images/01112025/01/27/image_01112025_01_27_49_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":["1397183752","1397183746","1397183749","1397183743","1397183754","1397183756"],"photo_ids_order":["1397183743","1397183746","1397183749","1397183752","1397183754","1397183756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ef502452ec396c49f0a934c060285f52.jpg","text":"TemporaryFile(/tmp/multipartBody5053866193045467054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579342997,"filename":"image_01112025_01_27_28_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/1/328df7a35e72b7387e379e413e74e1eb.jpg","text":"TemporaryFile(/tmp/multipartBody9176709946353918636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579342997,"filename":"image_01112025_01_27_04_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e2ce02e90a8d9992c1f349e1f0cbedb2.jpg","text":"TemporaryFile(/tmp/multipartBody8522415166793544978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579342997,"filename":"image_01112025_01_27_06_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/1/5541fbad7788cbf8054a9ba374ee7be4.jpg","text":"TemporaryFile(/tmp/multipartBody2985082136316587633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579342997,"filename":"image_01112025_01_27_01_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/1/8b4f14a2dc2c01c1a69316f3c8f0c2e1.jpg","text":"TemporaryFile(/tmp/multipartBody4354093742835031757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579342997,"filename":"image_01112025_01_27_40_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/1/7233988d5b7ccf582f33591e50eb8f6d.jpg","text":"TemporaryFile(/tmp/multipartBody6983654063006147974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579342997,"filename":"image_01112025_01_27_49_3734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397183749","file1":"1397183746","file0":"1397183743","file4":"1397183754","file5":"1397183756","file3":"1397183752"},"map_files_photo_id_array":[{"photo_id":"1397183756","filename":"file5"},{"photo_id":"1397183749","filename":"file2"},{"photo_id":"1397183754","filename":"file4"},{"photo_id":"1397183746","filename":"file1"},{"photo_id":"1397183743","filename":"file0"},{"photo_id":"1397183752","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397183752":["hashtag1","hashtag2"]},{"1397183746":["hashtag1","hashtag2"]},{"1397183749":["hashtag1","hashtag2"]},{"1397183743":["hashtag1","hashtag2"]},{"1397183754":["hashtag1","hashtag2"]},{"1397183756":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397183752, 1397183746, 1397183749, 1397183743, 1397183754, 1397183756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.306549310684204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 09:55:22.395705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/40/image_01122025_09_40_44_9620.jpg', '/home/pi/Desktop/images/01122025/09/40/image_01122025_09_40_54_9777.jpg', '/home/pi/Desktop/images/01122025/09/40/image_01122025_09_41_04_10730.jpg', '/home/pi/Desktop/images/01122025/09/41/image_01122025_09_41_14_9713.jpg', '/home/pi/Desktop/images/01122025/09/41/image_01122025_09_41_24_9626.jpg', '/home/pi/Desktop/images/01122025/09/41/image_01122025_09_41_34_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/40/image_01122025_09_40_44_9620.jpg
/home/pi/Desktop/images/01122025/09/40/image_01122025_09_40_54_9777.jpg
/home/pi/Desktop/images/01122025/09/40/image_01122025_09_41_04_10730.jpg
/home/pi/Desktop/images/01122025/09/41/image_01122025_09_41_14_9713.jpg
/home/pi/Desktop/images/01122025/09/41/image_01122025_09_41_24_9626.jpg
/home/pi/Desktop/images/01122025/09/41/image_01122025_09_41_34_10622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397183785","1397183788","1397183775","1397183778","1397183769","1397183782"],"photo_ids_order":["1397183769","1397183775","1397183778","1397183782","1397183785","1397183788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/be1a553e2f0eacba763d8a48e12e3c43.jpg","text":"TemporaryFile(/tmp/multipartBody1960826349967103401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579383139,"filename":"image_01122025_09_41_24_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6dc27514ecc034d0a549440ce777a548.jpg","text":"TemporaryFile(/tmp/multipartBody8530146687104205127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579383139,"filename":"image_01122025_09_41_34_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/48f3a9794c64a7aeb6b1ddf50ea86c3c.jpg","text":"TemporaryFile(/tmp/multipartBody8395795741087107035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579383139,"filename":"image_01122025_09_40_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/1/90fa6db68a960fb7b0def5bf1ea04ef0.jpg","text":"TemporaryFile(/tmp/multipartBody6899024943552667749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579383139,"filename":"image_01122025_09_41_04_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/01750b35bb872bc449f90f845a817176.jpg","text":"TemporaryFile(/tmp/multipartBody6173662326104320641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579383139,"filename":"image_01122025_09_40_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/1/16b923027cb6ccb55edcbfb6da8e33cf.jpg","text":"TemporaryFile(/tmp/multipartBody5079381722350905629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579383139,"filename":"image_01122025_09_41_14_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397183778","file1":"1397183775","file0":"1397183769","file4":"1397183785","file5":"1397183788","file3":"1397183782"},"map_files_photo_id_array":[{"photo_id":"1397183788","filename":"file5"},{"photo_id":"1397183778","filename":"file2"},{"photo_id":"1397183785","filename":"file4"},{"photo_id":"1397183775","filename":"file1"},{"photo_id":"1397183769","filename":"file0"},{"photo_id":"1397183782","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397183785":["hashtag1","hashtag2"]},{"1397183788":["hashtag1","hashtag2"]},{"1397183775":["hashtag1","hashtag2"]},{"1397183778":["hashtag1","hashtag2"]},{"1397183769":["hashtag1","hashtag2"]},{"1397183782":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397183785, 1397183788, 1397183775, 1397183778, 1397183769, 1397183782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.744446754455566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:56:02.868322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/41/image_01122025_09_41_44_9633.jpg', '/home/pi/Desktop/images/01122025/09/41/image_01122025_09_41_54_9712.jpg', '/home/pi/Desktop/images/01122025/09/41/image_01122025_09_42_04_10542.jpg', '/home/pi/Desktop/images/01122025/09/42/image_01122025_09_42_24_9815.jpg', '/home/pi/Desktop/images/01122025/09/42/image_01122025_09_42_34_10830.jpg', '/home/pi/Desktop/images/01122025/09/42/image_01122025_09_42_44_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/41/image_01122025_09_41_44_9633.jpg
/home/pi/Desktop/images/01122025/09/41/image_01122025_09_41_54_9712.jpg
/home/pi/Desktop/images/01122025/09/41/image_01122025_09_42_04_10542.jpg
/home/pi/Desktop/images/01122025/09/42/image_01122025_09_42_24_9815.jpg
/home/pi/Desktop/images/01122025/09/42/image_01122025_09_42_34_10830.jpg
/home/pi/Desktop/images/01122025/09/42/image_01122025_09_42_44_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":["1397183801","1397183808","1397183798","1397183795","1397183804","1397183797"],"photo_ids_order":["1397183795","1397183797","1397183798","1397183801","1397183804","1397183808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2611eef6cd456809234e356ad7a4065d.jpg","text":"TemporaryFile(/tmp/multipartBody2834613533244697440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579423607,"filename":"image_01122025_09_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/1/d3d874ab70dd24182c8bb3501911e432.jpg","text":"TemporaryFile(/tmp/multipartBody5244827989559000953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579423607,"filename":"image_01122025_09_42_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/1/0a9aabcde7959e5f73c0601503b9aff3.jpg","text":"TemporaryFile(/tmp/multipartBody258988345155042665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579423607,"filename":"image_01122025_09_42_04_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/1/367ec60cfce84d6dc6b13640253efad6.jpg","text":"TemporaryFile(/tmp/multipartBody1808375815941697802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579423607,"filename":"image_01122025_09_41_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/1/55ffad3c9ff7497a10a54be1d35ad2f0.jpg","text":"TemporaryFile(/tmp/multipartBody8074803943171465863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579423607,"filename":"image_01122025_09_42_34_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/1/c1c1a1df9bc956278cf2bc1443020289.jpg","text":"TemporaryFile(/tmp/multipartBody6411201209077089349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579423607,"filename":"image_01122025_09_41_54_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397183798","file1":"1397183797","file0":"1397183795","file4":"1397183804","file5":"1397183808","file3":"1397183801"},"map_files_photo_id_array":[{"photo_id":"1397183808","filename":"file5"},{"photo_id":"1397183798","filename":"file2"},{"photo_id":"1397183804","filename":"file4"},{"photo_id":"1397183797","filename":"file1"},{"photo_id":"1397183795","filename":"file0"},{"photo_id":"1397183801","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397183801":["hashtag1","hashtag2"]},{"1397183808":["hashtag1","hashtag2"]},{"1397183798":["hashtag1","hashtag2"]},{"1397183795":["hashtag1","hashtag2"]},{"1397183804":["hashtag1","hashtag2"]},{"1397183797":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397183801, 1397183808, 1397183798, 1397183795, 1397183804, 1397183797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44398236274719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 09:56:42.464556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/27/image_01112025_01_27_52_2732.jpg', '/home/pi/Desktop/images/01112025/01/28/image_01112025_01_28_07_2812.jpg', '/home/pi/Desktop/images/01112025/01/28/image_01112025_01_28_09_2794.jpg', '/home/pi/Desktop/images/01112025/01/28/image_01112025_01_28_26_1797.jpg', '/home/pi/Desktop/images/01112025/01/28/image_01112025_01_28_43_2633.jpg', '/home/pi/Desktop/images/01112025/01/28/image_01112025_01_28_45_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/27/image_01112025_01_27_52_2732.jpg
/home/pi/Desktop/images/01112025/01/28/image_01112025_01_28_07_2812.jpg
/home/pi/Desktop/images/01112025/01/28/image_01112025_01_28_09_2794.jpg
/home/pi/Desktop/images/01112025/01/28/image_01112025_01_28_26_1797.jpg
/home/pi/Desktop/images/01112025/01/28/image_01112025_01_28_43_2633.jpg
/home/pi/Desktop/images/01112025/01/28/image_01112025_01_28_45_2720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397183832","1397183835","1397183834","1397183837","1397183831","1397183828"],"photo_ids_order":["1397183828","1397183831","1397183832","1397183834","1397183835","1397183837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/15b512529413588dc70b1037183dc7fd.jpg","text":"TemporaryFile(/tmp/multipartBody5876462793822181690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579463346,"filename":"image_01112025_01_28_09_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a319a154d092d939404c5a162c7cbef3.jpg","text":"TemporaryFile(/tmp/multipartBody6792336971626159209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579463346,"filename":"image_01112025_01_28_43_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/1/c80aa01da603682a7f20bd56eaeddf2a.jpg","text":"TemporaryFile(/tmp/multipartBody7517829697410956707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579463346,"filename":"image_01112025_01_28_26_1797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/69f7dd2528486843b22ebab850e33402.jpg","text":"TemporaryFile(/tmp/multipartBody7768461207736888628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579463346,"filename":"image_01112025_01_28_45_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cd6ae92b83338656f60a8304a9268662.jpg","text":"TemporaryFile(/tmp/multipartBody7777711809381231547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579463346,"filename":"image_01112025_01_28_07_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6e2b9db2431f2039ae6ae2f1666412ef.jpg","text":"TemporaryFile(/tmp/multipartBody7277799153896885625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579463346,"filename":"image_01112025_01_27_52_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397183832","file1":"1397183831","file0":"1397183828","file4":"1397183835","file5":"1397183837","file3":"1397183834"},"map_files_photo_id_array":[{"photo_id":"1397183837","filename":"file5"},{"photo_id":"1397183832","filename":"file2"},{"photo_id":"1397183835","filename":"file4"},{"photo_id":"1397183831","filename":"file1"},{"photo_id":"1397183828","filename":"file0"},{"photo_id":"1397183834","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397183832":["hashtag1","hashtag2"]},{"1397183835":["hashtag1","hashtag2"]},{"1397183834":["hashtag1","hashtag2"]},{"1397183837":["hashtag1","hashtag2"]},{"1397183831":["hashtag1","hashtag2"]},{"1397183828":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397183832, 1397183835, 1397183834, 1397183837, 1397183831, 1397183828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64832878112793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 09:57:22.718941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/42/image_01122025_09_42_54_9632.jpg', '/home/pi/Desktop/images/01122025/09/42/image_01122025_09_43_04_10573.jpg', '/home/pi/Desktop/images/01122025/09/43/image_01122025_09_43_14_9654.jpg', '/home/pi/Desktop/images/01122025/09/43/image_01122025_09_43_24_9798.jpg', '/home/pi/Desktop/images/01122025/09/43/image_01122025_09_43_34_9631.jpg', '/home/pi/Desktop/images/01122025/09/43/image_01122025_09_43_44_10904.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/42/image_01122025_09_42_54_9632.jpg
/home/pi/Desktop/images/01122025/09/42/image_01122025_09_43_04_10573.jpg
/home/pi/Desktop/images/01122025/09/43/image_01122025_09_43_14_9654.jpg
/home/pi/Desktop/images/01122025/09/43/image_01122025_09_43_24_9798.jpg
/home/pi/Desktop/images/01122025/09/43/image_01122025_09_43_34_9631.jpg
/home/pi/Desktop/images/01122025/09/43/image_01122025_09_43_44_10904.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397183860","1397183848","1397183857","1397183856","1397183853","1397183864"],"photo_ids_order":["1397183848","1397183853","1397183856","1397183857","1397183860","1397183864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/db261d18bd01a53491a142b8b8d0b6c6.jpg","text":"TemporaryFile(/tmp/multipartBody2255193371823340606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579503442,"filename":"image_01122025_09_43_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/1/c1e6467577b0e452c90debc4b0c84c22.jpg","text":"TemporaryFile(/tmp/multipartBody6179663239251592892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579503442,"filename":"image_01122025_09_42_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/1/340787a4650393f63836e93c588a6c9c.jpg","text":"TemporaryFile(/tmp/multipartBody7824622890858914602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579503442,"filename":"image_01122025_09_43_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/1/47201f5642b1cf75f65ae9237610ac81.jpg","text":"TemporaryFile(/tmp/multipartBody2401837074418578175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579503442,"filename":"image_01122025_09_43_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/1/e72ae2ff7fb510e8ceb6c675b201eb98.jpg","text":"TemporaryFile(/tmp/multipartBody5139352964600100687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579503442,"filename":"image_01122025_09_43_04_10573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/041c3ee607f83baf4111e360c28a22c5.jpg","text":"TemporaryFile(/tmp/multipartBody9205856575963380041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579503442,"filename":"image_01122025_09_43_44_10904.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397183856","file1":"1397183853","file0":"1397183848","file4":"1397183860","file5":"1397183864","file3":"1397183857"},"map_files_photo_id_array":[{"photo_id":"1397183864","filename":"file5"},{"photo_id":"1397183856","filename":"file2"},{"photo_id":"1397183860","filename":"file4"},{"photo_id":"1397183853","filename":"file1"},{"photo_id":"1397183848","filename":"file0"},{"photo_id":"1397183857","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397183860":["hashtag1","hashtag2"]},{"1397183848":["hashtag1","hashtag2"]},{"1397183857":["hashtag1","hashtag2"]},{"1397183856":["hashtag1","hashtag2"]},{"1397183853":["hashtag1","hashtag2"]},{"1397183864":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397183860, 1397183848, 1397183857, 1397183856, 1397183853, 1397183864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02093744277954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 09:59:02.713581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/43/image_01122025_09_43_54_9721.jpg', '/home/pi/Desktop/images/01122025/09/43/image_01122025_09_44_04_9695.jpg', '/home/pi/Desktop/images/01122025/09/44/image_01122025_09_44_14_9713.jpg', '/home/pi/Desktop/images/01122025/09/44/image_01122025_09_44_24_10633.jpg', '/home/pi/Desktop/images/01122025/09/44/image_01122025_09_44_34_9598.jpg', '/home/pi/Desktop/images/01122025/09/44/image_01122025_09_44_44_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/43/image_01122025_09_43_54_9721.jpg
/home/pi/Desktop/images/01122025/09/43/image_01122025_09_44_04_9695.jpg
/home/pi/Desktop/images/01122025/09/44/image_01122025_09_44_14_9713.jpg
/home/pi/Desktop/images/01122025/09/44/image_01122025_09_44_24_10633.jpg
/home/pi/Desktop/images/01122025/09/44/image_01122025_09_44_34_9598.jpg
/home/pi/Desktop/images/01122025/09/44/image_01122025_09_44_44_9777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397183878","1397183887","1397184001","1397183955","1397183882","1397183915"],"photo_ids_order":["1397183878","1397183882","1397183887","1397183915","1397183955","1397184001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a9a5898402dd94ed186af2c5e31e9ef5.jpg","text":"TemporaryFile(/tmp/multipartBody7082047235814394738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579603586,"filename":"image_01122025_09_43_54_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/77897f001d29642674d638f9a8995b93.jpg","text":"TemporaryFile(/tmp/multipartBody3199293217741231638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579603586,"filename":"image_01122025_09_44_14_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/adc8bc19fd01c296a2bfd395c9a64b60.jpg","text":"TemporaryFile(/tmp/multipartBody4889104284059379390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579603586,"filename":"image_01122025_09_44_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/1/c25f6a4a9a8b22c29e332f66f249e16f.jpg","text":"TemporaryFile(/tmp/multipartBody3754269521376787921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579603586,"filename":"image_01122025_09_44_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/1/42a79f8d02993f8c1c3dbd33c81f4310.jpg","text":"TemporaryFile(/tmp/multipartBody7434984784634068874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579603586,"filename":"image_01122025_09_44_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/1/817a7a3cc3bed6fe11e4efb0ee839839.jpg","text":"TemporaryFile(/tmp/multipartBody4573749430564285688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579603586,"filename":"image_01122025_09_44_24_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397183887","file1":"1397183882","file0":"1397183878","file4":"1397183955","file5":"1397184001","file3":"1397183915"},"map_files_photo_id_array":[{"photo_id":"1397184001","filename":"file5"},{"photo_id":"1397183887","filename":"file2"},{"photo_id":"1397183955","filename":"file4"},{"photo_id":"1397183882","filename":"file1"},{"photo_id":"1397183878","filename":"file0"},{"photo_id":"1397183915","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397183878":["hashtag1","hashtag2"]},{"1397183887":["hashtag1","hashtag2"]},{"1397184001":["hashtag1","hashtag2"]},{"1397183955":["hashtag1","hashtag2"]},{"1397183882":["hashtag1","hashtag2"]},{"1397183915":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397183878, 1397183887, 1397184001, 1397183955, 1397183882, 1397183915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.21679091453552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 10:00:02.407428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/44/image_01122025_09_44_54_10825.jpg', '/home/pi/Desktop/images/01122025/09/44/image_01122025_09_45_04_9634.jpg', '/home/pi/Desktop/images/01122025/09/45/image_01122025_09_45_14_9741.jpg', '/home/pi/Desktop/images/01122025/09/45/image_01122025_09_45_24_10736.jpg', '/home/pi/Desktop/images/01122025/09/45/image_01122025_09_45_34_9647.jpg', '/home/pi/Desktop/images/01122025/09/45/image_01122025_09_45_44_9567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/44/image_01122025_09_44_54_10825.jpg
/home/pi/Desktop/images/01122025/09/44/image_01122025_09_45_04_9634.jpg
/home/pi/Desktop/images/01122025/09/45/image_01122025_09_45_14_9741.jpg
/home/pi/Desktop/images/01122025/09/45/image_01122025_09_45_24_10736.jpg
/home/pi/Desktop/images/01122025/09/45/image_01122025_09_45_34_9647.jpg
/home/pi/Desktop/images/01122025/09/45/image_01122025_09_45_44_9567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397184453","1397184296","1397184332","1397184413","1397184490","1397184373"],"photo_ids_order":["1397184296","1397184332","1397184373","1397184413","1397184453","1397184490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ef5a687461136b013d30529e207991f2.jpg","text":"TemporaryFile(/tmp/multipartBody4144921074863233669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579663127,"filename":"image_01122025_09_45_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/1/3b235c50418667c210e8fe1b2c5a1e8e.jpg","text":"TemporaryFile(/tmp/multipartBody4183307241356474037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579663127,"filename":"image_01122025_09_44_54_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/1/85f2f0cfb54e1954eadf3574e1d3bd19.jpg","text":"TemporaryFile(/tmp/multipartBody1020075264323434383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579663127,"filename":"image_01122025_09_45_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/1/cb5451f475742084cb68c9b2863a72f1.jpg","text":"TemporaryFile(/tmp/multipartBody5016245796654481424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579663127,"filename":"image_01122025_09_45_24_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/1/199532c63bb475ca1f9a7cdfc87ecd59.jpg","text":"TemporaryFile(/tmp/multipartBody4392204838135342946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579663127,"filename":"image_01122025_09_45_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/1/46f19947651ecfd8b569067222e44de2.jpg","text":"TemporaryFile(/tmp/multipartBody3727920301583187450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579663127,"filename":"image_01122025_09_45_14_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397184373","file1":"1397184332","file0":"1397184296","file4":"1397184453","file5":"1397184490","file3":"1397184413"},"map_files_photo_id_array":[{"photo_id":"1397184490","filename":"file5"},{"photo_id":"1397184373","filename":"file2"},{"photo_id":"1397184453","filename":"file4"},{"photo_id":"1397184332","filename":"file1"},{"photo_id":"1397184296","filename":"file0"},{"photo_id":"1397184413","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397184453":["hashtag1","hashtag2"]},{"1397184296":["hashtag1","hashtag2"]},{"1397184332":["hashtag1","hashtag2"]},{"1397184413":["hashtag1","hashtag2"]},{"1397184490":["hashtag1","hashtag2"]},{"1397184373":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397184453, 1397184296, 1397184332, 1397184413, 1397184490, 1397184373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00797486305237 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 10:00:41.966088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/28/image_01112025_01_28_48_2743.jpg', '/home/pi/Desktop/images/01112025/01/28/image_01112025_01_28_55_2867.jpg', '/home/pi/Desktop/images/01112025/01/28/image_01112025_01_28_57_2781.jpg', '/home/pi/Desktop/images/01112025/01/29/image_01112025_01_29_09_2714.jpg', '/home/pi/Desktop/images/01112025/01/29/image_01112025_01_29_12_3225.jpg', '/home/pi/Desktop/images/01112025/01/29/image_01112025_01_29_15_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/28/image_01112025_01_28_48_2743.jpg
/home/pi/Desktop/images/01112025/01/28/image_01112025_01_28_55_2867.jpg
/home/pi/Desktop/images/01112025/01/28/image_01112025_01_28_57_2781.jpg
/home/pi/Desktop/images/01112025/01/29/image_01112025_01_29_09_2714.jpg
/home/pi/Desktop/images/01112025/01/29/image_01112025_01_29_12_3225.jpg
/home/pi/Desktop/images/01112025/01/29/image_01112025_01_29_15_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":["1397184544","1397184618","1397184550","1397184580","1397184553","1397184547"],"photo_ids_order":["1397184544","1397184547","1397184550","1397184553","1397184580","1397184618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4ec35c2a9962fe4c49e3677f7bbe0110.jpg","text":"TemporaryFile(/tmp/multipartBody4535729843574962137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579702852,"filename":"image_01112025_01_28_48_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/1/f147b40118b7162f2e1f4d40d50da31d.jpg","text":"TemporaryFile(/tmp/multipartBody2948966946062982829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579702852,"filename":"image_01112025_01_29_15_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/1/4b9b0fce3333454f0408c2c935b165fe.jpg","text":"TemporaryFile(/tmp/multipartBody5083057517681713866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579702852,"filename":"image_01112025_01_28_57_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/1/aead525a422303e1d877a160100a467d.jpg","text":"TemporaryFile(/tmp/multipartBody1453392950345094562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579702852,"filename":"image_01112025_01_29_12_3225.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a43499c200a0b5937d6c3ae45a64e2bc.jpg","text":"TemporaryFile(/tmp/multipartBody7114889566144389649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579702852,"filename":"image_01112025_01_29_09_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/1/8a32f2af701d200c21219ddec8002538.jpg","text":"TemporaryFile(/tmp/multipartBody8705810157970928070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579702852,"filename":"image_01112025_01_28_55_2867.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397184550","file1":"1397184547","file0":"1397184544","file4":"1397184580","file5":"1397184618","file3":"1397184553"},"map_files_photo_id_array":[{"photo_id":"1397184618","filename":"file5"},{"photo_id":"1397184550","filename":"file2"},{"photo_id":"1397184580","filename":"file4"},{"photo_id":"1397184547","filename":"file1"},{"photo_id":"1397184544","filename":"file0"},{"photo_id":"1397184553","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397184544":["hashtag1","hashtag2"]},{"1397184618":["hashtag1","hashtag2"]},{"1397184550":["hashtag1","hashtag2"]},{"1397184580":["hashtag1","hashtag2"]},{"1397184553":["hashtag1","hashtag2"]},{"1397184547":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397184544, 1397184618, 1397184550, 1397184580, 1397184553, 1397184547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.402260065078735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 10:01:22.182657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/45/image_01122025_09_45_54_10634.jpg', '/home/pi/Desktop/images/01122025/09/45/image_01122025_09_46_04_9636.jpg', '/home/pi/Desktop/images/01122025/09/46/image_01122025_09_46_14_9646.jpg', '/home/pi/Desktop/images/01122025/09/46/image_01122025_09_46_24_10576.jpg', '/home/pi/Desktop/images/01122025/09/46/image_01122025_09_46_34_9649.jpg', '/home/pi/Desktop/images/01122025/09/46/image_01122025_09_46_44_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/45/image_01122025_09_45_54_10634.jpg
/home/pi/Desktop/images/01122025/09/45/image_01122025_09_46_04_9636.jpg
/home/pi/Desktop/images/01122025/09/46/image_01122025_09_46_14_9646.jpg
/home/pi/Desktop/images/01122025/09/46/image_01122025_09_46_24_10576.jpg
/home/pi/Desktop/images/01122025/09/46/image_01122025_09_46_34_9649.jpg
/home/pi/Desktop/images/01122025/09/46/image_01122025_09_46_44_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":["1397185212","1397184936","1397185055","1397184860","1397185135","1397185006"],"photo_ids_order":["1397184860","1397184936","1397185006","1397185055","1397185135","1397185212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f8036af0b26ff36fc40623b57e2b0a31.jpg","text":"TemporaryFile(/tmp/multipartBody3881341703907854224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579742884,"filename":"image_01122025_09_46_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/1/0b31fdc376d71af1d63c81d620783a06.jpg","text":"TemporaryFile(/tmp/multipartBody6263376078008137122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579742884,"filename":"image_01122025_09_46_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/1/b708eab26335c5ae0b83bdb622a8362c.jpg","text":"TemporaryFile(/tmp/multipartBody1281938571141311651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579742884,"filename":"image_01122025_09_46_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/1/441f784e2b01304b321f8efb77079b6d.jpg","text":"TemporaryFile(/tmp/multipartBody3359188401901829442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579742884,"filename":"image_01122025_09_45_54_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/1/243f212f4a960c4e1980ce3a8beac06e.jpg","text":"TemporaryFile(/tmp/multipartBody5107724736828163243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579742884,"filename":"image_01122025_09_46_34_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/07d73b03b23c178351883bbc9ce8505b.jpg","text":"TemporaryFile(/tmp/multipartBody7467922431918336464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579742884,"filename":"image_01122025_09_46_14_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397185006","file1":"1397184936","file0":"1397184860","file4":"1397185135","file5":"1397185212","file3":"1397185055"},"map_files_photo_id_array":[{"photo_id":"1397185212","filename":"file5"},{"photo_id":"1397185006","filename":"file2"},{"photo_id":"1397185135","filename":"file4"},{"photo_id":"1397184936","filename":"file1"},{"photo_id":"1397184860","filename":"file0"},{"photo_id":"1397185055","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397185212":["hashtag1","hashtag2"]},{"1397184936":["hashtag1","hashtag2"]},{"1397185055":["hashtag1","hashtag2"]},{"1397184860":["hashtag1","hashtag2"]},{"1397185135":["hashtag1","hashtag2"]},{"1397185006":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397185212, 1397184936, 1397185055, 1397184860, 1397185135, 1397185006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.594547748565674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 10:02:12.237594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_21_2669.jpg', '/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_25_3683.jpg', '/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_28_2667.jpg', '/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_30_2596.jpg', '/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_34_3530.jpg', '/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_37_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_21_2669.jpg
/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_25_3683.jpg
/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_28_2667.jpg
/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_30_2596.jpg
/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_34_3530.jpg
/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_37_2585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397185572","1397185458","1397185533","1397185614","1397185493","1397185687"],"photo_ids_order":["1397185458","1397185493","1397185533","1397185572","1397185614","1397185687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2cfb1540a62d20212a4b3d9aa9fbf18e.jpg","text":"TemporaryFile(/tmp/multipartBody2210338955852752637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579793866,"filename":"image_25112025_22_19_30_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/be02aca71e0981008cf190a21320e611.jpg","text":"TemporaryFile(/tmp/multipartBody3948455134817690097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579793866,"filename":"image_25112025_22_19_21_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/1/28e2f1b98c652859ec7df727f697ca5d.jpg","text":"TemporaryFile(/tmp/multipartBody2220776659793890138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579793866,"filename":"image_25112025_22_19_28_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/1/8be14a2b6584b9253e5f49caf9c9634c.jpg","text":"TemporaryFile(/tmp/multipartBody8953089149055305957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579793866,"filename":"image_25112025_22_19_34_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/1/612149507caf6e62ccad4206e886ed9a.jpg","text":"TemporaryFile(/tmp/multipartBody1057337738183814891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579793866,"filename":"image_25112025_22_19_25_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/1/f730f61dc6180932062cba117b29f81f.jpg","text":"TemporaryFile(/tmp/multipartBody257013812278133015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579793866,"filename":"image_25112025_22_19_37_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397185533","file1":"1397185493","file0":"1397185458","file4":"1397185614","file5":"1397185687","file3":"1397185572"},"map_files_photo_id_array":[{"photo_id":"1397185687","filename":"file5"},{"photo_id":"1397185533","filename":"file2"},{"photo_id":"1397185614","filename":"file4"},{"photo_id":"1397185493","filename":"file1"},{"photo_id":"1397185458","filename":"file0"},{"photo_id":"1397185572","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397185572":["hashtag1","hashtag2"]},{"1397185458":["hashtag1","hashtag2"]},{"1397185533":["hashtag1","hashtag2"]},{"1397185614":["hashtag1","hashtag2"]},{"1397185493":["hashtag1","hashtag2"]},{"1397185687":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397185572, 1397185458, 1397185533, 1397185614, 1397185493, 1397185687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10913300514221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 10:03:03.092345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/46/image_01122025_09_46_54_10552.jpg', '/home/pi/Desktop/images/01122025/09/46/image_01122025_09_47_04_9592.jpg', '/home/pi/Desktop/images/01122025/09/47/image_01122025_09_47_14_10592.jpg', '/home/pi/Desktop/images/01122025/09/47/image_01122025_09_47_24_9560.jpg', '/home/pi/Desktop/images/01122025/09/47/image_01122025_09_47_34_9672.jpg', '/home/pi/Desktop/images/01122025/09/47/image_01122025_09_47_44_10694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/46/image_01122025_09_46_54_10552.jpg
/home/pi/Desktop/images/01122025/09/46/image_01122025_09_47_04_9592.jpg
/home/pi/Desktop/images/01122025/09/47/image_01122025_09_47_14_10592.jpg
/home/pi/Desktop/images/01122025/09/47/image_01122025_09_47_24_9560.jpg
/home/pi/Desktop/images/01122025/09/47/image_01122025_09_47_34_9672.jpg
/home/pi/Desktop/images/01122025/09/47/image_01122025_09_47_44_10694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397186147","1397186228","1397186077","1397185934","1397186032","1397185974"],"photo_ids_order":["1397185934","1397185974","1397186032","1397186077","1397186147","1397186228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fa9430425506fc94ce3ed6378cbfb7ef.jpg","text":"TemporaryFile(/tmp/multipartBody7705910390680137158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579843881,"filename":"image_01122025_09_47_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/1/0eb25e64ae9d194bbe136abbf43764df.jpg","text":"TemporaryFile(/tmp/multipartBody5987897376265337466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579843881,"filename":"image_01122025_09_47_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/1/7fc79c830cd56d6d46eee78161b35935.jpg","text":"TemporaryFile(/tmp/multipartBody3892453066434870932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579843881,"filename":"image_01122025_09_47_24_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/130062e88cee0d121bfaab4899ec833b.jpg","text":"TemporaryFile(/tmp/multipartBody7038765916966323174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579843881,"filename":"image_01122025_09_46_54_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/1/3c78412af29413c13d4d62e00acf6ec2.jpg","text":"TemporaryFile(/tmp/multipartBody4516485303237751219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579843881,"filename":"image_01122025_09_47_14_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ed77ae9aa04f29922272986b1ae0ad4a.jpg","text":"TemporaryFile(/tmp/multipartBody5598822855387970049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579843881,"filename":"image_01122025_09_47_04_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397186032","file1":"1397185974","file0":"1397185934","file4":"1397186147","file5":"1397186228","file3":"1397186077"},"map_files_photo_id_array":[{"photo_id":"1397186228","filename":"file5"},{"photo_id":"1397186032","filename":"file2"},{"photo_id":"1397186147","filename":"file4"},{"photo_id":"1397185974","filename":"file1"},{"photo_id":"1397185934","filename":"file0"},{"photo_id":"1397186077","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397186147":["hashtag1","hashtag2"]},{"1397186228":["hashtag1","hashtag2"]},{"1397186077":["hashtag1","hashtag2"]},{"1397185934":["hashtag1","hashtag2"]},{"1397186032":["hashtag1","hashtag2"]},{"1397185974":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397186147, 1397186228, 1397186077, 1397185934, 1397186032, 1397185974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.1203978061676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 10:04:02.682103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/47/image_01122025_09_47_54_9664.jpg', '/home/pi/Desktop/images/01122025/09/47/image_01122025_09_48_04_9696.jpg', '/home/pi/Desktop/images/01122025/09/48/image_01122025_09_48_14_10703.jpg', '/home/pi/Desktop/images/01122025/09/48/image_01122025_09_48_24_9707.jpg', '/home/pi/Desktop/images/01122025/09/48/image_01122025_09_48_34_9691.jpg', '/home/pi/Desktop/images/01122025/09/48/image_01122025_09_48_44_10546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/47/image_01122025_09_47_54_9664.jpg
/home/pi/Desktop/images/01122025/09/47/image_01122025_09_48_04_9696.jpg
/home/pi/Desktop/images/01122025/09/48/image_01122025_09_48_14_10703.jpg
/home/pi/Desktop/images/01122025/09/48/image_01122025_09_48_24_9707.jpg
/home/pi/Desktop/images/01122025/09/48/image_01122025_09_48_34_9691.jpg
/home/pi/Desktop/images/01122025/09/48/image_01122025_09_48_44_10546.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397186601","1397186480","1397186411","1397186554","1397186641","1397186629"],"photo_ids_order":["1397186411","1397186480","1397186554","1397186601","1397186629","1397186641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c325edbed63ddde2490140d0c63e49a7.jpg","text":"TemporaryFile(/tmp/multipartBody2582625265719089546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579903411,"filename":"image_01122025_09_48_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/1/665187aac8b2634006917c085bb7aa7d.jpg","text":"TemporaryFile(/tmp/multipartBody4465638623484459551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579903411,"filename":"image_01122025_09_48_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/1/18bea44a62d57c78d1a35e834e82cd23.jpg","text":"TemporaryFile(/tmp/multipartBody495166301256086514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579903411,"filename":"image_01122025_09_47_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/1/6477445a1078cbdcb7412eb81debaa13.jpg","text":"TemporaryFile(/tmp/multipartBody703018576795660317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579903411,"filename":"image_01122025_09_48_14_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f6289412d7b488e8ed06b5a435769109.jpg","text":"TemporaryFile(/tmp/multipartBody8984604312481197172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579903411,"filename":"image_01122025_09_48_44_10546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/550b9d44b5faedae5594cd0ec2a99cce.jpg","text":"TemporaryFile(/tmp/multipartBody6324397015357194118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579903411,"filename":"image_01122025_09_48_34_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397186554","file1":"1397186480","file0":"1397186411","file4":"1397186629","file5":"1397186641","file3":"1397186601"},"map_files_photo_id_array":[{"photo_id":"1397186641","filename":"file5"},{"photo_id":"1397186554","filename":"file2"},{"photo_id":"1397186629","filename":"file4"},{"photo_id":"1397186480","filename":"file1"},{"photo_id":"1397186411","filename":"file0"},{"photo_id":"1397186601","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397186601":["hashtag1","hashtag2"]},{"1397186480":["hashtag1","hashtag2"]},{"1397186411":["hashtag1","hashtag2"]},{"1397186554":["hashtag1","hashtag2"]},{"1397186641":["hashtag1","hashtag2"]},{"1397186629":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397186601, 1397186480, 1397186411, 1397186554, 1397186641, 1397186629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86312007904053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 10:04:41.835914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/29/image_01112025_01_29_31_3731.jpg', '/home/pi/Desktop/images/01112025/01/29/image_01112025_01_29_34_2804.jpg', '/home/pi/Desktop/images/01112025/01/29/image_01112025_01_29_36_2641.jpg', '/home/pi/Desktop/images/01112025/01/29/image_01112025_01_29_43_3652.jpg', '/home/pi/Desktop/images/01112025/01/29/image_01112025_01_29_52_3797.jpg', '/home/pi/Desktop/images/01112025/01/29/image_01112025_01_30_01_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/29/image_01112025_01_29_31_3731.jpg
/home/pi/Desktop/images/01112025/01/29/image_01112025_01_29_34_2804.jpg
/home/pi/Desktop/images/01112025/01/29/image_01112025_01_29_36_2641.jpg
/home/pi/Desktop/images/01112025/01/29/image_01112025_01_29_43_3652.jpg
/home/pi/Desktop/images/01112025/01/29/image_01112025_01_29_52_3797.jpg
/home/pi/Desktop/images/01112025/01/29/image_01112025_01_30_01_3677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397186768","1397186765","1397186750","1397186776","1397186779","1397186772"],"photo_ids_order":["1397186750","1397186765","1397186768","1397186772","1397186776","1397186779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/00d51eb7a4da9462d2ecde404c514bd6.jpg","text":"TemporaryFile(/tmp/multipartBody3161310953639216146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579942732,"filename":"image_01112025_01_29_36_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e52906eb9821aceab241851a9ffd1573.jpg","text":"TemporaryFile(/tmp/multipartBody8402677909413508612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579942732,"filename":"image_01112025_01_29_34_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/287398645d2124f999e9431734c3c43c.jpg","text":"TemporaryFile(/tmp/multipartBody431461277189249359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579942732,"filename":"image_01112025_01_29_31_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/1/6b4889b8a8e5f437051f056ac11f66bf.jpg","text":"TemporaryFile(/tmp/multipartBody3000311898180534686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579942732,"filename":"image_01112025_01_29_52_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/1/0f1caa36525ecaf9800ca4c9aec756b0.jpg","text":"TemporaryFile(/tmp/multipartBody152573883631487463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579942732,"filename":"image_01112025_01_30_01_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/1/4aecd5ff03b9c8b094fe1b9938a1fc7a.jpg","text":"TemporaryFile(/tmp/multipartBody6639085956441261858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579942732,"filename":"image_01112025_01_29_43_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397186768","file1":"1397186765","file0":"1397186750","file4":"1397186776","file5":"1397186779","file3":"1397186772"},"map_files_photo_id_array":[{"photo_id":"1397186779","filename":"file5"},{"photo_id":"1397186768","filename":"file2"},{"photo_id":"1397186776","filename":"file4"},{"photo_id":"1397186765","filename":"file1"},{"photo_id":"1397186750","filename":"file0"},{"photo_id":"1397186772","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397186768":["hashtag1","hashtag2"]},{"1397186765":["hashtag1","hashtag2"]},{"1397186750":["hashtag1","hashtag2"]},{"1397186776":["hashtag1","hashtag2"]},{"1397186779":["hashtag1","hashtag2"]},{"1397186772":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397186768, 1397186765, 1397186750, 1397186776, 1397186779, 1397186772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60456728935242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 10:05:21.987826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/48/image_01122025_09_48_54_9587.jpg', '/home/pi/Desktop/images/01122025/09/48/image_01122025_09_49_04_9863.jpg', '/home/pi/Desktop/images/01122025/09/49/image_01122025_09_49_14_9848.jpg', '/home/pi/Desktop/images/01122025/09/49/image_01122025_09_49_24_10726.jpg', '/home/pi/Desktop/images/01122025/09/49/image_01122025_09_49_34_9685.jpg', '/home/pi/Desktop/images/01122025/09/49/image_01122025_09_49_44_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/48/image_01122025_09_48_54_9587.jpg
/home/pi/Desktop/images/01122025/09/48/image_01122025_09_49_04_9863.jpg
/home/pi/Desktop/images/01122025/09/49/image_01122025_09_49_14_9848.jpg
/home/pi/Desktop/images/01122025/09/49/image_01122025_09_49_24_10726.jpg
/home/pi/Desktop/images/01122025/09/49/image_01122025_09_49_34_9685.jpg
/home/pi/Desktop/images/01122025/09/49/image_01122025_09_49_44_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":["1397186802","1397186791","1397186793","1397186787","1397186806","1397186799"],"photo_ids_order":["1397186787","1397186791","1397186793","1397186799","1397186802","1397186806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/60724db1430feffce82ca6dd41229eb4.jpg","text":"TemporaryFile(/tmp/multipartBody6447635460604671350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579982689,"filename":"image_01122025_09_49_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/1/994714f50effd2d90df994e1d4e3f30e.jpg","text":"TemporaryFile(/tmp/multipartBody3205010915679778421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579982689,"filename":"image_01122025_09_49_04_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/1/f152904d2db5a238de79e6a294d7cb7d.jpg","text":"TemporaryFile(/tmp/multipartBody8177433641571824861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579982689,"filename":"image_01122025_09_49_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/1/0d241c452bbc3d40f5307dd854eab376.jpg","text":"TemporaryFile(/tmp/multipartBody476076594314765246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579982689,"filename":"image_01122025_09_48_54_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/94a049f76d87e6acc86457e5ee4205f6.jpg","text":"TemporaryFile(/tmp/multipartBody5763165560314066143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579982689,"filename":"image_01122025_09_49_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/1/ee738fc47cd6e2360af56b2eaa9d869d.jpg","text":"TemporaryFile(/tmp/multipartBody3752634978230125354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764579982689,"filename":"image_01122025_09_49_24_10726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397186793","file1":"1397186791","file0":"1397186787","file4":"1397186802","file5":"1397186806","file3":"1397186799"},"map_files_photo_id_array":[{"photo_id":"1397186806","filename":"file5"},{"photo_id":"1397186793","filename":"file2"},{"photo_id":"1397186802","filename":"file4"},{"photo_id":"1397186791","filename":"file1"},{"photo_id":"1397186787","filename":"file0"},{"photo_id":"1397186799","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397186802":["hashtag1","hashtag2"]},{"1397186791":["hashtag1","hashtag2"]},{"1397186793":["hashtag1","hashtag2"]},{"1397186787":["hashtag1","hashtag2"]},{"1397186806":["hashtag1","hashtag2"]},{"1397186799":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397186802, 1397186791, 1397186793, 1397186787, 1397186806, 1397186799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.742717027664185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 10:06:04.163661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/49/image_01122025_09_49_54_9774.jpg', '/home/pi/Desktop/images/01122025/09/49/image_01122025_09_50_04_10601.jpg', '/home/pi/Desktop/images/01122025/09/50/image_01122025_09_50_14_9883.jpg', '/home/pi/Desktop/images/01122025/09/50/image_01122025_09_50_24_9671.jpg', '/home/pi/Desktop/images/01122025/09/50/image_01122025_09_50_34_10710.jpg', '/home/pi/Desktop/images/01122025/09/50/image_01122025_09_50_44_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/49/image_01122025_09_49_54_9774.jpg
/home/pi/Desktop/images/01122025/09/49/image_01122025_09_50_04_10601.jpg
/home/pi/Desktop/images/01122025/09/50/image_01122025_09_50_14_9883.jpg
/home/pi/Desktop/images/01122025/09/50/image_01122025_09_50_24_9671.jpg
/home/pi/Desktop/images/01122025/09/50/image_01122025_09_50_34_10710.jpg
/home/pi/Desktop/images/01122025/09/50/image_01122025_09_50_44_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":["1397186820","1397186814","1397186817","1397186828","1397186833","1397186824"],"photo_ids_order":["1397186814","1397186817","1397186820","1397186824","1397186828","1397186833"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a1e43430df90fe9a9a583e32844f44e8.jpg","text":"TemporaryFile(/tmp/multipartBody1441554260171581637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580024843,"filename":"image_01122025_09_50_14_9883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/db2863c4d6c6920435db9fcbfe40b325.jpg","text":"TemporaryFile(/tmp/multipartBody4325316082576969579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580024843,"filename":"image_01122025_09_49_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/1/70da2796d42ea5bc7601b04a6c9934ad.jpg","text":"TemporaryFile(/tmp/multipartBody7928804376968647341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580024843,"filename":"image_01122025_09_50_04_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/92570885da2eaaaf55eb2e4658adb637.jpg","text":"TemporaryFile(/tmp/multipartBody5828570754322770679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580024843,"filename":"image_01122025_09_50_34_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/59703efad4a410c7931e7a3b5756a266.jpg","text":"TemporaryFile(/tmp/multipartBody7111003395732581909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580024843,"filename":"image_01122025_09_50_44_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b43263b8898b1db2e946236c1d44a771.jpg","text":"TemporaryFile(/tmp/multipartBody7790892775072724981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580024843,"filename":"image_01122025_09_50_24_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397186820","file1":"1397186817","file0":"1397186814","file4":"1397186828","file5":"1397186833","file3":"1397186824"},"map_files_photo_id_array":[{"photo_id":"1397186833","filename":"file5"},{"photo_id":"1397186820","filename":"file2"},{"photo_id":"1397186828","filename":"file4"},{"photo_id":"1397186817","filename":"file1"},{"photo_id":"1397186814","filename":"file0"},{"photo_id":"1397186824","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397186820":["hashtag1","hashtag2"]},{"1397186814":["hashtag1","hashtag2"]},{"1397186817":["hashtag1","hashtag2"]},{"1397186828":["hashtag1","hashtag2"]},{"1397186833":["hashtag1","hashtag2"]},{"1397186824":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397186820, 1397186814, 1397186817, 1397186828, 1397186833, 1397186824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86035418510437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 10:07:02.979678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/50/image_01122025_09_50_54_9662.jpg', '/home/pi/Desktop/images/01122025/09/50/image_01122025_09_51_04_9778.jpg', '/home/pi/Desktop/images/01122025/09/51/image_01122025_09_51_14_10621.jpg', '/home/pi/Desktop/images/01122025/09/51/image_01122025_09_51_24_9784.jpg', '/home/pi/Desktop/images/01122025/09/51/image_01122025_09_51_34_9632.jpg', '/home/pi/Desktop/images/01122025/09/51/image_01122025_09_51_44_10752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/50/image_01122025_09_50_54_9662.jpg
/home/pi/Desktop/images/01122025/09/50/image_01122025_09_51_04_9778.jpg
/home/pi/Desktop/images/01122025/09/51/image_01122025_09_51_14_10621.jpg
/home/pi/Desktop/images/01122025/09/51/image_01122025_09_51_24_9784.jpg
/home/pi/Desktop/images/01122025/09/51/image_01122025_09_51_34_9632.jpg
/home/pi/Desktop/images/01122025/09/51/image_01122025_09_51_44_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":["1397186867","1397186846","1397186855","1397186851","1397186862","1397186859"],"photo_ids_order":["1397186846","1397186851","1397186855","1397186859","1397186862","1397186867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ac4d3c231fc1cb9cddd010c07bc1868d.jpg","text":"TemporaryFile(/tmp/multipartBody4379607693410693088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580083720,"filename":"image_01122025_09_51_44_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/1/c0ee8a97adbb6b108cc4fbd0ec48c688.jpg","text":"TemporaryFile(/tmp/multipartBody7072666115258912253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580083720,"filename":"image_01122025_09_50_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/1/491e78fe75015cbeed43da2be83fab79.jpg","text":"TemporaryFile(/tmp/multipartBody667975025972905709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580083720,"filename":"image_01122025_09_51_14_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b57e1342555ff3faace38983eae4275c.jpg","text":"TemporaryFile(/tmp/multipartBody5641564068250901272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580083720,"filename":"image_01122025_09_51_04_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3b50dc42833765c45847da4b865a250f.jpg","text":"TemporaryFile(/tmp/multipartBody5320332819010622588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580083720,"filename":"image_01122025_09_51_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/1/6a7fa09cf9989480cfe146d40e234d66.jpg","text":"TemporaryFile(/tmp/multipartBody2182532741289556014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580083720,"filename":"image_01122025_09_51_24_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397186855","file1":"1397186851","file0":"1397186846","file4":"1397186862","file5":"1397186867","file3":"1397186859"},"map_files_photo_id_array":[{"photo_id":"1397186867","filename":"file5"},{"photo_id":"1397186855","filename":"file2"},{"photo_id":"1397186862","filename":"file4"},{"photo_id":"1397186851","filename":"file1"},{"photo_id":"1397186846","filename":"file0"},{"photo_id":"1397186859","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397186867":["hashtag1","hashtag2"]},{"1397186846":["hashtag1","hashtag2"]},{"1397186855":["hashtag1","hashtag2"]},{"1397186851":["hashtag1","hashtag2"]},{"1397186862":["hashtag1","hashtag2"]},{"1397186859":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397186867, 1397186846, 1397186855, 1397186851, 1397186862, 1397186859)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.7929630279541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 10:08:02.950683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/51/image_01122025_09_51_54_9698.jpg', '/home/pi/Desktop/images/01122025/09/51/image_01122025_09_52_04_9560.jpg', '/home/pi/Desktop/images/01122025/09/52/image_01122025_09_52_14_9873.jpg', '/home/pi/Desktop/images/01122025/09/52/image_01122025_09_52_24_10718.jpg', '/home/pi/Desktop/images/01122025/09/52/image_01122025_09_52_34_9675.jpg', '/home/pi/Desktop/images/01122025/09/52/image_01122025_09_52_44_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/51/image_01122025_09_51_54_9698.jpg
/home/pi/Desktop/images/01122025/09/51/image_01122025_09_52_04_9560.jpg
/home/pi/Desktop/images/01122025/09/52/image_01122025_09_52_14_9873.jpg
/home/pi/Desktop/images/01122025/09/52/image_01122025_09_52_24_10718.jpg
/home/pi/Desktop/images/01122025/09/52/image_01122025_09_52_34_9675.jpg
/home/pi/Desktop/images/01122025/09/52/image_01122025_09_52_44_9669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397186928","1397186939","1397186887","1397186947","1397186892","1397186895"],"photo_ids_order":["1397186887","1397186892","1397186895","1397186928","1397186939","1397186947"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7b1864d0d88b60a21d529f1f6d155432.jpg","text":"TemporaryFile(/tmp/multipartBody1025439299841569428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580143663,"filename":"image_01122025_09_52_24_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/26e6c690e3e85be0776ed0c7e50876dd.jpg","text":"TemporaryFile(/tmp/multipartBody7232192320450761904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580143663,"filename":"image_01122025_09_52_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/1/1d0859a6b4e51a2fc83600919b597156.jpg","text":"TemporaryFile(/tmp/multipartBody5163088512372899541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580143663,"filename":"image_01122025_09_51_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/1/c93bf2f4a8db6fc5f0c7cf5304d5c710.jpg","text":"TemporaryFile(/tmp/multipartBody3969289112400801546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580143663,"filename":"image_01122025_09_52_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/1/6ea31bed9d72f4f528605f3d781a7dc2.jpg","text":"TemporaryFile(/tmp/multipartBody7828213125850770426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580143663,"filename":"image_01122025_09_52_04_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d3300d8ac54efc1ca35692fe5bb98441.jpg","text":"TemporaryFile(/tmp/multipartBody5354238794366339856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580143663,"filename":"image_01122025_09_52_14_9873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397186895","file1":"1397186892","file0":"1397186887","file4":"1397186939","file5":"1397186947","file3":"1397186928"},"map_files_photo_id_array":[{"photo_id":"1397186947","filename":"file5"},{"photo_id":"1397186895","filename":"file2"},{"photo_id":"1397186939","filename":"file4"},{"photo_id":"1397186892","filename":"file1"},{"photo_id":"1397186887","filename":"file0"},{"photo_id":"1397186928","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397186928":["hashtag1","hashtag2"]},{"1397186939":["hashtag1","hashtag2"]},{"1397186887":["hashtag1","hashtag2"]},{"1397186947":["hashtag1","hashtag2"]},{"1397186892":["hashtag1","hashtag2"]},{"1397186895":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397186928, 1397186939, 1397186887, 1397186947, 1397186892, 1397186895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.232483863830566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 10:08:42.582719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/30/image_01112025_01_30_18_2907.jpg', '/home/pi/Desktop/images/01112025/01/30/image_01112025_01_30_25_3761.jpg', '/home/pi/Desktop/images/01112025/01/30/image_01112025_01_30_28_2872.jpg', '/home/pi/Desktop/images/01112025/01/30/image_01112025_01_30_33_2653.jpg', '/home/pi/Desktop/images/01112025/01/30/image_01112025_01_30_39_2788.jpg', '/home/pi/Desktop/images/01112025/01/30/image_01112025_01_30_42_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/30/image_01112025_01_30_18_2907.jpg
/home/pi/Desktop/images/01112025/01/30/image_01112025_01_30_25_3761.jpg
/home/pi/Desktop/images/01112025/01/30/image_01112025_01_30_28_2872.jpg
/home/pi/Desktop/images/01112025/01/30/image_01112025_01_30_33_2653.jpg
/home/pi/Desktop/images/01112025/01/30/image_01112025_01_30_39_2788.jpg
/home/pi/Desktop/images/01112025/01/30/image_01112025_01_30_42_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":["1397186981","1397186963","1397186969","1397186960","1397186957","1397186976"],"photo_ids_order":["1397186957","1397186960","1397186963","1397186969","1397186976","1397186981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2a43d5a5a9cd573eae9af256b804349b.jpg","text":"TemporaryFile(/tmp/multipartBody5515860054832290997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580183466,"filename":"image_01112025_01_30_42_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/1/4660131f072fed8d7876e341823821ea.jpg","text":"TemporaryFile(/tmp/multipartBody4587295626710401501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580183466,"filename":"image_01112025_01_30_28_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/1/592646f6fd01d124c03dfde3513dc6ed.jpg","text":"TemporaryFile(/tmp/multipartBody1147430865751138870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580183466,"filename":"image_01112025_01_30_33_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/1/03ad228c5d367e4491b70efc4f67c298.jpg","text":"TemporaryFile(/tmp/multipartBody8408694769721428219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580183466,"filename":"image_01112025_01_30_25_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/1/6dd4dd91b98e35b343dc2c2afcdb06b0.jpg","text":"TemporaryFile(/tmp/multipartBody3996656052306404971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580183466,"filename":"image_01112025_01_30_18_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/1/caddf574f0fce028d6977dcbd40994a3.jpg","text":"TemporaryFile(/tmp/multipartBody8801044023550202721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580183466,"filename":"image_01112025_01_30_39_2788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397186963","file1":"1397186960","file0":"1397186957","file4":"1397186976","file5":"1397186981","file3":"1397186969"},"map_files_photo_id_array":[{"photo_id":"1397186981","filename":"file5"},{"photo_id":"1397186963","filename":"file2"},{"photo_id":"1397186976","filename":"file4"},{"photo_id":"1397186960","filename":"file1"},{"photo_id":"1397186957","filename":"file0"},{"photo_id":"1397186969","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397186981":["hashtag1","hashtag2"]},{"1397186963":["hashtag1","hashtag2"]},{"1397186969":["hashtag1","hashtag2"]},{"1397186960":["hashtag1","hashtag2"]},{"1397186957":["hashtag1","hashtag2"]},{"1397186976":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397186981, 1397186963, 1397186969, 1397186960, 1397186957, 1397186976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.249316692352295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 10:09:22.762355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/52/image_01122025_09_52_54_10572.jpg', '/home/pi/Desktop/images/01122025/09/52/image_01122025_09_53_04_9859.jpg', '/home/pi/Desktop/images/01122025/09/53/image_01122025_09_53_14_9673.jpg', '/home/pi/Desktop/images/01122025/09/53/image_01122025_09_53_24_10684.jpg', '/home/pi/Desktop/images/01122025/09/53/image_01122025_09_53_34_9687.jpg', '/home/pi/Desktop/images/01122025/09/53/image_01122025_09_53_44_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/52/image_01122025_09_52_54_10572.jpg
/home/pi/Desktop/images/01122025/09/52/image_01122025_09_53_04_9859.jpg
/home/pi/Desktop/images/01122025/09/53/image_01122025_09_53_14_9673.jpg
/home/pi/Desktop/images/01122025/09/53/image_01122025_09_53_24_10684.jpg
/home/pi/Desktop/images/01122025/09/53/image_01122025_09_53_34_9687.jpg
/home/pi/Desktop/images/01122025/09/53/image_01122025_09_53_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":["1397186990","1397187011","1397187072","1397187075","1397187054","1397187080"],"photo_ids_order":["1397186990","1397187011","1397187054","1397187072","1397187075","1397187080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c64a6f57324bdea3613b26975dedb3f6.jpg","text":"TemporaryFile(/tmp/multipartBody3635635256943116668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580223456,"filename":"image_01122025_09_52_54_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7eb1dbdc9a3f2c4422df47f383f1083e.jpg","text":"TemporaryFile(/tmp/multipartBody2181327350554401544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580223456,"filename":"image_01122025_09_53_04_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/63b48e7e92baf7a3da0c65601cf743b6.jpg","text":"TemporaryFile(/tmp/multipartBody8728147670009703995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580223456,"filename":"image_01122025_09_53_24_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/961bdb7d8a6fcf89f3f28be791b19334.jpg","text":"TemporaryFile(/tmp/multipartBody1600438542109985229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580223456,"filename":"image_01122025_09_53_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/1/1fc0a24b16aa07290ff8170214bbea23.jpg","text":"TemporaryFile(/tmp/multipartBody4249677227646613451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580223456,"filename":"image_01122025_09_53_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/1/d0f1e84ec0c01153056fc2f7160cdb7b.jpg","text":"TemporaryFile(/tmp/multipartBody8118843599513761125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580223456,"filename":"image_01122025_09_53_44_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397187054","file1":"1397187011","file0":"1397186990","file4":"1397187075","file5":"1397187080","file3":"1397187072"},"map_files_photo_id_array":[{"photo_id":"1397187080","filename":"file5"},{"photo_id":"1397187054","filename":"file2"},{"photo_id":"1397187075","filename":"file4"},{"photo_id":"1397187011","filename":"file1"},{"photo_id":"1397186990","filename":"file0"},{"photo_id":"1397187072","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397186990":["hashtag1","hashtag2"]},{"1397187011":["hashtag1","hashtag2"]},{"1397187072":["hashtag1","hashtag2"]},{"1397187075":["hashtag1","hashtag2"]},{"1397187054":["hashtag1","hashtag2"]},{"1397187080":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397186990, 1397187011, 1397187072, 1397187075, 1397187054, 1397187080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9050931930542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 10:10:11.955902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_41_3990.jpg', '/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_43_2632.jpg', '/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_46_2610.jpg', '/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_48_2592.jpg', '/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_52_3600.jpg', '/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_55_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_41_3990.jpg
/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_43_2632.jpg
/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_46_2610.jpg
/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_48_2592.jpg
/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_52_3600.jpg
/home/pi/Desktop/images/25112025/22/19/image_25112025_22_19_55_2702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397187101","1397187091","1397187104","1397187106","1397187096","1397187087"],"photo_ids_order":["1397187087","1397187091","1397187096","1397187101","1397187104","1397187106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e1ba9a0dfa73019242f334db2dcf895f.jpg","text":"TemporaryFile(/tmp/multipartBody7305305901283559878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580273513,"filename":"image_25112025_22_19_48_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/1/83990bc64562251a196fe38b7ca8fbf6.jpg","text":"TemporaryFile(/tmp/multipartBody2656671193295000563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580273513,"filename":"image_25112025_22_19_43_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c9e923f89a505738feca692ed4d5c6b9.jpg","text":"TemporaryFile(/tmp/multipartBody8777983031007531079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580273513,"filename":"image_25112025_22_19_52_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/1/1a4ea77622f7eca78fff8d2e6854f664.jpg","text":"TemporaryFile(/tmp/multipartBody7062101762560952831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580273513,"filename":"image_25112025_22_19_55_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/58a4222a16433c959d2e3756cb8d468f.jpg","text":"TemporaryFile(/tmp/multipartBody1743602149149415618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580273513,"filename":"image_25112025_22_19_46_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c85ec3c94af72aa720e1c2c309dd8014.jpg","text":"TemporaryFile(/tmp/multipartBody3698925971781782250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580273513,"filename":"image_25112025_22_19_41_3990.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397187096","file1":"1397187091","file0":"1397187087","file4":"1397187104","file5":"1397187106","file3":"1397187101"},"map_files_photo_id_array":[{"photo_id":"1397187106","filename":"file5"},{"photo_id":"1397187096","filename":"file2"},{"photo_id":"1397187104","filename":"file4"},{"photo_id":"1397187091","filename":"file1"},{"photo_id":"1397187087","filename":"file0"},{"photo_id":"1397187101","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397187101":["hashtag1","hashtag2"]},{"1397187091":["hashtag1","hashtag2"]},{"1397187104":["hashtag1","hashtag2"]},{"1397187106":["hashtag1","hashtag2"]},{"1397187096":["hashtag1","hashtag2"]},{"1397187087":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397187101, 1397187091, 1397187104, 1397187106, 1397187096, 1397187087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2110595703125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 10:11:02.915702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/53/image_01122025_09_53_54_10817.jpg', '/home/pi/Desktop/images/01122025/09/53/image_01122025_09_54_04_9747.jpg', '/home/pi/Desktop/images/01122025/09/54/image_01122025_09_54_14_9633.jpg', '/home/pi/Desktop/images/01122025/09/54/image_01122025_09_54_34_10554.jpg', '/home/pi/Desktop/images/01122025/09/54/image_01122025_09_54_44_9717.jpg', '/home/pi/Desktop/images/01122025/09/54/image_01122025_09_54_54_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/53/image_01122025_09_53_54_10817.jpg
/home/pi/Desktop/images/01122025/09/53/image_01122025_09_54_04_9747.jpg
/home/pi/Desktop/images/01122025/09/54/image_01122025_09_54_14_9633.jpg
/home/pi/Desktop/images/01122025/09/54/image_01122025_09_54_34_10554.jpg
/home/pi/Desktop/images/01122025/09/54/image_01122025_09_54_44_9717.jpg
/home/pi/Desktop/images/01122025/09/54/image_01122025_09_54_54_9693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397187197","1397187161","1397187158","1397187184","1397187192","1397187189"],"photo_ids_order":["1397187158","1397187161","1397187184","1397187189","1397187192","1397187197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/30be98830ebcca69e540c9a66ac3cb98.jpg","text":"TemporaryFile(/tmp/multipartBody4641019164180276291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580323641,"filename":"image_01122025_09_54_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/1/f17990b32ec5d687cfa8dcd40e9089f6.jpg","text":"TemporaryFile(/tmp/multipartBody2478316627810485959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580323641,"filename":"image_01122025_09_54_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/1/5e182c6b06fb486fdc87857911c2f4fc.jpg","text":"TemporaryFile(/tmp/multipartBody8751179969769322418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580323641,"filename":"image_01122025_09_53_54_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/1/48e91383a20b866364914276bb9c1fee.jpg","text":"TemporaryFile(/tmp/multipartBody3873769333074539453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580323641,"filename":"image_01122025_09_54_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/1/23baf5a685f8e27f2019c88bf15d4964.jpg","text":"TemporaryFile(/tmp/multipartBody8549620005397677922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580323641,"filename":"image_01122025_09_54_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/1/26d864c9652ae41539b7edc80d84951c.jpg","text":"TemporaryFile(/tmp/multipartBody4557142268498020944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580323641,"filename":"image_01122025_09_54_34_10554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397187184","file1":"1397187161","file0":"1397187158","file4":"1397187192","file5":"1397187197","file3":"1397187189"},"map_files_photo_id_array":[{"photo_id":"1397187197","filename":"file5"},{"photo_id":"1397187184","filename":"file2"},{"photo_id":"1397187192","filename":"file4"},{"photo_id":"1397187161","filename":"file1"},{"photo_id":"1397187158","filename":"file0"},{"photo_id":"1397187189","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397187197":["hashtag1","hashtag2"]},{"1397187161":["hashtag1","hashtag2"]},{"1397187158":["hashtag1","hashtag2"]},{"1397187184":["hashtag1","hashtag2"]},{"1397187192":["hashtag1","hashtag2"]},{"1397187189":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397187197, 1397187161, 1397187158, 1397187184, 1397187192, 1397187189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84414577484131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 10:11:42.238855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/30/image_01112025_01_30_46_3676.jpg', '/home/pi/Desktop/images/01112025/01/30/image_01112025_01_30_48_2664.jpg', '/home/pi/Desktop/images/01112025/01/31/image_01112025_01_31_13_3968.jpg', '/home/pi/Desktop/images/01112025/01/31/image_01112025_01_31_16_2784.jpg', '/home/pi/Desktop/images/01112025/01/31/image_01112025_01_31_18_2707.jpg', '/home/pi/Desktop/images/01112025/01/31/image_01112025_01_31_27_2566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/30/image_01112025_01_30_46_3676.jpg
/home/pi/Desktop/images/01112025/01/30/image_01112025_01_30_48_2664.jpg
/home/pi/Desktop/images/01112025/01/31/image_01112025_01_31_13_3968.jpg
/home/pi/Desktop/images/01112025/01/31/image_01112025_01_31_16_2784.jpg
/home/pi/Desktop/images/01112025/01/31/image_01112025_01_31_18_2707.jpg
/home/pi/Desktop/images/01112025/01/31/image_01112025_01_31_27_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":["1397187251","1397187254","1397187253","1397187226","1397187255","1397187249"],"photo_ids_order":["1397187226","1397187249","1397187251","1397187253","1397187254","1397187255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fdb3b9ae99739355bd347a3a80293c20.jpg","text":"TemporaryFile(/tmp/multipartBody3452648803754695782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580363143,"filename":"image_01112025_01_31_13_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/1/1c37a0858df01e3b4c31c60d8e1220d6.jpg","text":"TemporaryFile(/tmp/multipartBody3322990439093536770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580363143,"filename":"image_01112025_01_31_18_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e128fe66ac955fee74b1cc415af047aa.jpg","text":"TemporaryFile(/tmp/multipartBody5506264950950921991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580363143,"filename":"image_01112025_01_31_16_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1c3b5d0b6468c975469ebf3e3abc6f83.jpg","text":"TemporaryFile(/tmp/multipartBody3131597398493527674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580363143,"filename":"image_01112025_01_30_46_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/1/5173bd99006cdb7d774ff3b9f9d95d14.jpg","text":"TemporaryFile(/tmp/multipartBody5837978792835353175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580363143,"filename":"image_01112025_01_31_27_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/1/d4961f53a6bbdee19c121b0667b09431.jpg","text":"TemporaryFile(/tmp/multipartBody3201410947323647159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580363143,"filename":"image_01112025_01_30_48_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397187251","file1":"1397187249","file0":"1397187226","file4":"1397187254","file5":"1397187255","file3":"1397187253"},"map_files_photo_id_array":[{"photo_id":"1397187255","filename":"file5"},{"photo_id":"1397187251","filename":"file2"},{"photo_id":"1397187254","filename":"file4"},{"photo_id":"1397187249","filename":"file1"},{"photo_id":"1397187226","filename":"file0"},{"photo_id":"1397187253","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397187251":["hashtag1","hashtag2"]},{"1397187254":["hashtag1","hashtag2"]},{"1397187253":["hashtag1","hashtag2"]},{"1397187226":["hashtag1","hashtag2"]},{"1397187255":["hashtag1","hashtag2"]},{"1397187249":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397187251, 1397187254, 1397187253, 1397187226, 1397187255, 1397187249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64865207672119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 10:12:22.417970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/54/image_01122025_09_55_04_10728.jpg', '/home/pi/Desktop/images/01122025/09/55/image_01122025_09_55_14_9658.jpg', '/home/pi/Desktop/images/01122025/09/55/image_01122025_09_55_24_9557.jpg', '/home/pi/Desktop/images/01122025/09/55/image_01122025_09_55_34_10616.jpg', '/home/pi/Desktop/images/01122025/09/55/image_01122025_09_55_44_9841.jpg', '/home/pi/Desktop/images/01122025/09/55/image_01122025_09_55_54_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/54/image_01122025_09_55_04_10728.jpg
/home/pi/Desktop/images/01122025/09/55/image_01122025_09_55_14_9658.jpg
/home/pi/Desktop/images/01122025/09/55/image_01122025_09_55_24_9557.jpg
/home/pi/Desktop/images/01122025/09/55/image_01122025_09_55_34_10616.jpg
/home/pi/Desktop/images/01122025/09/55/image_01122025_09_55_44_9841.jpg
/home/pi/Desktop/images/01122025/09/55/image_01122025_09_55_54_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":["1397187284","1397187289","1397187274","1397187265","1397187291","1397187270"],"photo_ids_order":["1397187265","1397187270","1397187274","1397187284","1397187289","1397187291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7b51a8866d7d22dcb22eaf9e9ad5e141.jpg","text":"TemporaryFile(/tmp/multipartBody4819694696470830584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580403164,"filename":"image_01122025_09_55_34_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0a9f8975fe1c000b4185e4e91ceb0654.jpg","text":"TemporaryFile(/tmp/multipartBody3394939507952406145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580403164,"filename":"image_01122025_09_55_44_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fbd40da1105b49882de1ee70d9223fb4.jpg","text":"TemporaryFile(/tmp/multipartBody6790415508124656343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580403164,"filename":"image_01122025_09_55_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/1/4b6758567e116d65cf9bb918d77804af.jpg","text":"TemporaryFile(/tmp/multipartBody8412547367464077055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580403164,"filename":"image_01122025_09_55_04_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/32420fcfb025faa7d81707b79c6f8786.jpg","text":"TemporaryFile(/tmp/multipartBody8800401034337849945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580403164,"filename":"image_01122025_09_55_54_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d05998c51b9f9355c48c875a05736277.jpg","text":"TemporaryFile(/tmp/multipartBody1853004011936114834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580403164,"filename":"image_01122025_09_55_14_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397187274","file1":"1397187270","file0":"1397187265","file4":"1397187289","file5":"1397187291","file3":"1397187284"},"map_files_photo_id_array":[{"photo_id":"1397187291","filename":"file5"},{"photo_id":"1397187274","filename":"file2"},{"photo_id":"1397187289","filename":"file4"},{"photo_id":"1397187270","filename":"file1"},{"photo_id":"1397187265","filename":"file0"},{"photo_id":"1397187284","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397187284":["hashtag1","hashtag2"]},{"1397187289":["hashtag1","hashtag2"]},{"1397187274":["hashtag1","hashtag2"]},{"1397187265":["hashtag1","hashtag2"]},{"1397187291":["hashtag1","hashtag2"]},{"1397187270":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397187284, 1397187289, 1397187274, 1397187265, 1397187291, 1397187270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33916687965393 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 10:13:03.231801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/55/image_01122025_09_56_04_10733.jpg', '/home/pi/Desktop/images/01122025/09/56/image_01122025_09_56_14_9780.jpg', '/home/pi/Desktop/images/01122025/09/56/image_01122025_09_56_24_9583.jpg', '/home/pi/Desktop/images/01122025/09/56/image_01122025_09_56_34_10625.jpg', '/home/pi/Desktop/images/01122025/09/56/image_01122025_09_56_44_9765.jpg', '/home/pi/Desktop/images/01122025/09/56/image_01122025_09_56_54_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/55/image_01122025_09_56_04_10733.jpg
/home/pi/Desktop/images/01122025/09/56/image_01122025_09_56_14_9780.jpg
/home/pi/Desktop/images/01122025/09/56/image_01122025_09_56_24_9583.jpg
/home/pi/Desktop/images/01122025/09/56/image_01122025_09_56_34_10625.jpg
/home/pi/Desktop/images/01122025/09/56/image_01122025_09_56_44_9765.jpg
/home/pi/Desktop/images/01122025/09/56/image_01122025_09_56_54_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":["1397187306","1397187299","1397187295","1397187312","1397187309","1397187303"],"photo_ids_order":["1397187295","1397187299","1397187303","1397187306","1397187309","1397187312"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f070f90ba7bb9a1026a11767988341f0.jpg","text":"TemporaryFile(/tmp/multipartBody3780214183383218954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580444016,"filename":"image_01122025_09_56_34_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/27e77620100c8905e3d8c6c50d64352a.jpg","text":"TemporaryFile(/tmp/multipartBody7015740104552910177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580444016,"filename":"image_01122025_09_56_14_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/988be84b212620468572374131a495d8.jpg","text":"TemporaryFile(/tmp/multipartBody312565229235721976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580444016,"filename":"image_01122025_09_56_04_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b56caddfc87e872416c5cc9a87ff639f.jpg","text":"TemporaryFile(/tmp/multipartBody5729815933434446534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580444016,"filename":"image_01122025_09_56_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/1/46feafc7779e4e38dc84364a21179c65.jpg","text":"TemporaryFile(/tmp/multipartBody6370841955406201354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580444016,"filename":"image_01122025_09_56_44_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7f4fb1daea5abfd917fbf24afe29df79.jpg","text":"TemporaryFile(/tmp/multipartBody5872053916297105443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580444016,"filename":"image_01122025_09_56_24_9583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397187303","file1":"1397187299","file0":"1397187295","file4":"1397187309","file5":"1397187312","file3":"1397187306"},"map_files_photo_id_array":[{"photo_id":"1397187312","filename":"file5"},{"photo_id":"1397187303","filename":"file2"},{"photo_id":"1397187309","filename":"file4"},{"photo_id":"1397187299","filename":"file1"},{"photo_id":"1397187295","filename":"file0"},{"photo_id":"1397187306","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397187306":["hashtag1","hashtag2"]},{"1397187299":["hashtag1","hashtag2"]},{"1397187295":["hashtag1","hashtag2"]},{"1397187312":["hashtag1","hashtag2"]},{"1397187309":["hashtag1","hashtag2"]},{"1397187303":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397187306, 1397187299, 1397187295, 1397187312, 1397187309, 1397187303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.355621576309204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 10:13:42.755061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/31/image_01112025_01_31_34_3783.jpg', '/home/pi/Desktop/images/01112025/01/31/image_01112025_01_31_36_2526.jpg', '/home/pi/Desktop/images/01112025/01/31/image_01112025_01_31_39_2744.jpg', '/home/pi/Desktop/images/01112025/01/31/image_01112025_01_31_42_2827.jpg', '/home/pi/Desktop/images/01112025/01/31/image_01112025_01_31_45_3653.jpg', '/home/pi/Desktop/images/01112025/01/31/image_01112025_01_31_51_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/31/image_01112025_01_31_34_3783.jpg
/home/pi/Desktop/images/01112025/01/31/image_01112025_01_31_36_2526.jpg
/home/pi/Desktop/images/01112025/01/31/image_01112025_01_31_39_2744.jpg
/home/pi/Desktop/images/01112025/01/31/image_01112025_01_31_42_2827.jpg
/home/pi/Desktop/images/01112025/01/31/image_01112025_01_31_45_3653.jpg
/home/pi/Desktop/images/01112025/01/31/image_01112025_01_31_51_2636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397187320","1397187325","1397187339","1397187330","1397187333","1397187336"],"photo_ids_order":["1397187320","1397187325","1397187330","1397187333","1397187336","1397187339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/464768fc949d3d25c778d91e1b825a2a.jpg","text":"TemporaryFile(/tmp/multipartBody2391761558075527671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580483630,"filename":"image_01112025_01_31_34_3783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/32ecf907017ea85abb26fbb28dd4be4d.jpg","text":"TemporaryFile(/tmp/multipartBody6322854744354310999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580483630,"filename":"image_01112025_01_31_36_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/48314fb35f71eb8d74cc0e8b783deceb.jpg","text":"TemporaryFile(/tmp/multipartBody5494815286439722443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580483630,"filename":"image_01112025_01_31_51_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/1/dea1acb954eddf1e6824a4731739eb5e.jpg","text":"TemporaryFile(/tmp/multipartBody7432566041882524074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580483630,"filename":"image_01112025_01_31_39_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/1/a7fd565a78507452e784e16384d3c195.jpg","text":"TemporaryFile(/tmp/multipartBody5353240012439729639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580483630,"filename":"image_01112025_01_31_42_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ef78ed734324873b082d37b815aad533.jpg","text":"TemporaryFile(/tmp/multipartBody4607878228938833570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580483630,"filename":"image_01112025_01_31_45_3653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397187330","file1":"1397187325","file0":"1397187320","file4":"1397187336","file5":"1397187339","file3":"1397187333"},"map_files_photo_id_array":[{"photo_id":"1397187339","filename":"file5"},{"photo_id":"1397187330","filename":"file2"},{"photo_id":"1397187336","filename":"file4"},{"photo_id":"1397187325","filename":"file1"},{"photo_id":"1397187320","filename":"file0"},{"photo_id":"1397187333","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397187320":["hashtag1","hashtag2"]},{"1397187325":["hashtag1","hashtag2"]},{"1397187339":["hashtag1","hashtag2"]},{"1397187330":["hashtag1","hashtag2"]},{"1397187333":["hashtag1","hashtag2"]},{"1397187336":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397187320, 1397187325, 1397187339, 1397187330, 1397187333, 1397187336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.414005756378174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 10:14:31.970156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_07_3011.jpg', '/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_11_3705.jpg', '/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_22_11349.jpg', '/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_24_1741.jpg', '/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_25_1512.jpg', '/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_27_1649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_07_3011.jpg
/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_11_3705.jpg
/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_22_11349.jpg
/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_24_1741.jpg
/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_25_1512.jpg
/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_27_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":["1397187350","1397187379","1397187376","1397187361","1397187355","1397187369"],"photo_ids_order":["1397187350","1397187355","1397187361","1397187369","1397187376","1397187379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a9546c4306c9f01131ba66aa0bf3b5cc.jpg","text":"TemporaryFile(/tmp/multipartBody8689725096519030116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580533687,"filename":"image_25112025_22_21_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/1/e90e1451e9e23d37c74c9cd3d7f5c910.jpg","text":"TemporaryFile(/tmp/multipartBody980953302976602382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580533687,"filename":"image_25112025_22_21_27_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0e6c29b08924684dd5f648b8ae10e089.jpg","text":"TemporaryFile(/tmp/multipartBody4020198960695299591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580533687,"filename":"image_25112025_22_21_25_1512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ea1eda7af678534caa4cfbe2343f3ed1.jpg","text":"TemporaryFile(/tmp/multipartBody6131764769813429092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580533687,"filename":"image_25112025_22_21_22_11349.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/00b6c330ddb4655b97a2f162094d9b8a.jpg","text":"TemporaryFile(/tmp/multipartBody5653142068677000760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580533687,"filename":"image_25112025_22_21_11_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f6ce2c53cf95e751bb7fb7318f34c824.jpg","text":"TemporaryFile(/tmp/multipartBody6720057287175768135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580533687,"filename":"image_25112025_22_21_24_1741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397187361","file1":"1397187355","file0":"1397187350","file4":"1397187376","file5":"1397187379","file3":"1397187369"},"map_files_photo_id_array":[{"photo_id":"1397187379","filename":"file5"},{"photo_id":"1397187361","filename":"file2"},{"photo_id":"1397187376","filename":"file4"},{"photo_id":"1397187355","filename":"file1"},{"photo_id":"1397187350","filename":"file0"},{"photo_id":"1397187369","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397187350":["hashtag1","hashtag2"]},{"1397187379":["hashtag1","hashtag2"]},{"1397187376":["hashtag1","hashtag2"]},{"1397187361":["hashtag1","hashtag2"]},{"1397187355":["hashtag1","hashtag2"]},{"1397187369":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397187350, 1397187379, 1397187376, 1397187361, 1397187355, 1397187369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95445442199707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 10:15:12.178723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_29_1714.jpg', '/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_30_1742.jpg', '/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_34_3397.jpg', '/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_35_1648.jpg', '/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_37_1638.jpg', '/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_41_3585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_29_1714.jpg
/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_30_1742.jpg
/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_34_3397.jpg
/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_35_1648.jpg
/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_37_1638.jpg
/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_41_3585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397187425","1397187419","1397187416","1397187401","1397187399","1397187423"],"photo_ids_order":["1397187399","1397187401","1397187416","1397187419","1397187423","1397187425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/04c175f0b2fb2a3a892f1ca9af31b54d.jpg","text":"TemporaryFile(/tmp/multipartBody2604660978272736662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580573940,"filename":"image_25112025_22_21_41_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/1/339120b4ae9a2d89022129cd62b95b9f.jpg","text":"TemporaryFile(/tmp/multipartBody7190640601168814635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580573940,"filename":"image_25112025_22_21_35_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/1/aa8200d0956c30ffb256cc598b16e939.jpg","text":"TemporaryFile(/tmp/multipartBody4801767891666480552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580573940,"filename":"image_25112025_22_21_34_3397.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/56abb0a5d57fc4370c5a82ce25b62ce9.jpg","text":"TemporaryFile(/tmp/multipartBody8107253233917000125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580573940,"filename":"image_25112025_22_21_30_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/1/7b65d759c6a74d1e447c5e25b8c7d0ec.jpg","text":"TemporaryFile(/tmp/multipartBody2116386121570005699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580573940,"filename":"image_25112025_22_21_29_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/1/fb4b33b98e290b98f808c7e902b24afe.jpg","text":"TemporaryFile(/tmp/multipartBody5955002909856375992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580573940,"filename":"image_25112025_22_21_37_1638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397187416","file1":"1397187401","file0":"1397187399","file4":"1397187423","file5":"1397187425","file3":"1397187419"},"map_files_photo_id_array":[{"photo_id":"1397187425","filename":"file5"},{"photo_id":"1397187416","filename":"file2"},{"photo_id":"1397187423","filename":"file4"},{"photo_id":"1397187401","filename":"file1"},{"photo_id":"1397187399","filename":"file0"},{"photo_id":"1397187419","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397187425":["hashtag1","hashtag2"]},{"1397187419":["hashtag1","hashtag2"]},{"1397187416":["hashtag1","hashtag2"]},{"1397187401":["hashtag1","hashtag2"]},{"1397187399":["hashtag1","hashtag2"]},{"1397187423":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397187425, 1397187419, 1397187416, 1397187401, 1397187399, 1397187423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.97400999069214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 10:16:02.764471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/56/image_01122025_09_57_04_10656.jpg', '/home/pi/Desktop/images/01122025/09/57/image_01122025_09_57_14_9700.jpg', '/home/pi/Desktop/images/01122025/09/57/image_01122025_09_57_24_9777.jpg', '/home/pi/Desktop/images/01122025/09/57/image_01122025_09_57_34_10555.jpg', '/home/pi/Desktop/images/01122025/09/57/image_01122025_09_57_44_9909.jpg', '/home/pi/Desktop/images/01122025/09/57/image_01122025_09_57_54_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/56/image_01122025_09_57_04_10656.jpg
/home/pi/Desktop/images/01122025/09/57/image_01122025_09_57_14_9700.jpg
/home/pi/Desktop/images/01122025/09/57/image_01122025_09_57_24_9777.jpg
/home/pi/Desktop/images/01122025/09/57/image_01122025_09_57_34_10555.jpg
/home/pi/Desktop/images/01122025/09/57/image_01122025_09_57_44_9909.jpg
/home/pi/Desktop/images/01122025/09/57/image_01122025_09_57_54_9677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397187469","1397187433","1397187442","1397187456","1397187507","1397187491"],"photo_ids_order":["1397187433","1397187442","1397187456","1397187469","1397187491","1397187507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f2743ad8d3c5ddc1f106b860d027f6ae.jpg","text":"TemporaryFile(/tmp/multipartBody2895873787641254231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580623564,"filename":"image_01122025_09_57_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/1/7236b40cd8d19d0d518edb94fb094dc5.jpg","text":"TemporaryFile(/tmp/multipartBody5199672564549205591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580623564,"filename":"image_01122025_09_57_04_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/1/84f5b9c7652aea29a5e675e727bc386a.jpg","text":"TemporaryFile(/tmp/multipartBody159830906348568797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580623564,"filename":"image_01122025_09_57_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/1/c44aa58db44274f985d6578275332869.jpg","text":"TemporaryFile(/tmp/multipartBody7248474388090011198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580623564,"filename":"image_01122025_09_57_24_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e30dc95077dcdfed8540a577deab9625.jpg","text":"TemporaryFile(/tmp/multipartBody5838135454364652559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580623564,"filename":"image_01122025_09_57_54_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/140efad61aa604cf93ccf9dfb710aa3a.jpg","text":"TemporaryFile(/tmp/multipartBody4260104494348571934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580623564,"filename":"image_01122025_09_57_44_9909.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397187456","file1":"1397187442","file0":"1397187433","file4":"1397187491","file5":"1397187507","file3":"1397187469"},"map_files_photo_id_array":[{"photo_id":"1397187507","filename":"file5"},{"photo_id":"1397187456","filename":"file2"},{"photo_id":"1397187491","filename":"file4"},{"photo_id":"1397187442","filename":"file1"},{"photo_id":"1397187433","filename":"file0"},{"photo_id":"1397187469","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397187469":["hashtag1","hashtag2"]},{"1397187433":["hashtag1","hashtag2"]},{"1397187442":["hashtag1","hashtag2"]},{"1397187456":["hashtag1","hashtag2"]},{"1397187507":["hashtag1","hashtag2"]},{"1397187491":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397187469, 1397187433, 1397187442, 1397187456, 1397187507, 1397187491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83461308479309 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 10:16:42.468411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/31/image_01112025_01_31_55_3668.jpg', '/home/pi/Desktop/images/01112025/01/32/image_01112025_01_32_04_3789.jpg', '/home/pi/Desktop/images/01112025/01/32/image_01112025_01_32_06_2964.jpg', '/home/pi/Desktop/images/01112025/01/32/image_01112025_01_32_09_2907.jpg', '/home/pi/Desktop/images/01112025/01/32/image_01112025_01_32_18_3632.jpg', '/home/pi/Desktop/images/01112025/01/32/image_01112025_01_32_21_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/31/image_01112025_01_31_55_3668.jpg
/home/pi/Desktop/images/01112025/01/32/image_01112025_01_32_04_3789.jpg
/home/pi/Desktop/images/01112025/01/32/image_01112025_01_32_06_2964.jpg
/home/pi/Desktop/images/01112025/01/32/image_01112025_01_32_09_2907.jpg
/home/pi/Desktop/images/01112025/01/32/image_01112025_01_32_18_3632.jpg
/home/pi/Desktop/images/01112025/01/32/image_01112025_01_32_21_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":["1397187539","1397187512","1397187514","1397187517","1397187525","1397187519"],"photo_ids_order":["1397187512","1397187514","1397187517","1397187519","1397187525","1397187539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/59b9eed33e9285cbd974fc997d2acb10.jpg","text":"TemporaryFile(/tmp/multipartBody5773590017908235367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580663370,"filename":"image_01112025_01_32_21_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/1/3ed53a8be951bd715df756b20b720ed2.jpg","text":"TemporaryFile(/tmp/multipartBody5177142431088569213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580663370,"filename":"image_01112025_01_31_55_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/1/ac5198228cb264d85c1519b5074b5d4f.jpg","text":"TemporaryFile(/tmp/multipartBody8553620618804704599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580663370,"filename":"image_01112025_01_32_04_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/918094ea60e2f52e2094b804b4f2df68.jpg","text":"TemporaryFile(/tmp/multipartBody6225295905401953357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580663370,"filename":"image_01112025_01_32_06_2964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/479cec634edf24e653d6a06d05175e1b.jpg","text":"TemporaryFile(/tmp/multipartBody2024213099403049111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580663370,"filename":"image_01112025_01_32_18_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/1/255a223be029736483bd8f663d286928.jpg","text":"TemporaryFile(/tmp/multipartBody7588831232890682304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580663370,"filename":"image_01112025_01_32_09_2907.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397187517","file1":"1397187514","file0":"1397187512","file4":"1397187525","file5":"1397187539","file3":"1397187519"},"map_files_photo_id_array":[{"photo_id":"1397187539","filename":"file5"},{"photo_id":"1397187517","filename":"file2"},{"photo_id":"1397187525","filename":"file4"},{"photo_id":"1397187514","filename":"file1"},{"photo_id":"1397187512","filename":"file0"},{"photo_id":"1397187519","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397187539":["hashtag1","hashtag2"]},{"1397187512":["hashtag1","hashtag2"]},{"1397187514":["hashtag1","hashtag2"]},{"1397187517":["hashtag1","hashtag2"]},{"1397187525":["hashtag1","hashtag2"]},{"1397187519":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397187539, 1397187512, 1397187514, 1397187517, 1397187525, 1397187519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61037731170654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 10:17:22.631635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/57/image_01122025_09_58_04_9702.jpg', '/home/pi/Desktop/images/01122025/09/58/image_01122025_09_58_14_10742.jpg', '/home/pi/Desktop/images/01122025/09/58/image_01122025_09_58_24_9640.jpg', '/home/pi/Desktop/images/01122025/09/58/image_01122025_09_58_34_9638.jpg', '/home/pi/Desktop/images/01122025/09/58/image_01122025_09_58_44_10655.jpg', '/home/pi/Desktop/images/01122025/09/58/image_01122025_09_58_54_9838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/57/image_01122025_09_58_04_9702.jpg
/home/pi/Desktop/images/01122025/09/58/image_01122025_09_58_14_10742.jpg
/home/pi/Desktop/images/01122025/09/58/image_01122025_09_58_24_9640.jpg
/home/pi/Desktop/images/01122025/09/58/image_01122025_09_58_34_9638.jpg
/home/pi/Desktop/images/01122025/09/58/image_01122025_09_58_44_10655.jpg
/home/pi/Desktop/images/01122025/09/58/image_01122025_09_58_54_9838.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397187755","1397187670","1397187631","1397187747","1397187711","1397187596"],"photo_ids_order":["1397187596","1397187631","1397187670","1397187711","1397187747","1397187755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/62e8b7b0eec20d253cb7a7b39df7d946.jpg","text":"TemporaryFile(/tmp/multipartBody6218732828146244366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580703444,"filename":"image_01122025_09_58_54_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/208adf2168cfed8ad717599dd12291f8.jpg","text":"TemporaryFile(/tmp/multipartBody4015834906208665173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580703444,"filename":"image_01122025_09_58_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/1/bcea33d2ba505e26bb2a4e8a4755034d.jpg","text":"TemporaryFile(/tmp/multipartBody5162511325528508862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580703444,"filename":"image_01122025_09_58_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/1/f080c25cb779ce24661866e7e81b4c78.jpg","text":"TemporaryFile(/tmp/multipartBody5953585744851336177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580703444,"filename":"image_01122025_09_58_44_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d7800d5c9bdc7d475dca49acde2549ce.jpg","text":"TemporaryFile(/tmp/multipartBody4963533806599327751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580703444,"filename":"image_01122025_09_58_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/1/14b871b1d1967137f0742f2cb89cc070.jpg","text":"TemporaryFile(/tmp/multipartBody4652187178850516770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580703444,"filename":"image_01122025_09_58_04_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397187670","file1":"1397187631","file0":"1397187596","file4":"1397187747","file5":"1397187755","file3":"1397187711"},"map_files_photo_id_array":[{"photo_id":"1397187755","filename":"file5"},{"photo_id":"1397187670","filename":"file2"},{"photo_id":"1397187747","filename":"file4"},{"photo_id":"1397187631","filename":"file1"},{"photo_id":"1397187596","filename":"file0"},{"photo_id":"1397187711","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397187755":["hashtag1","hashtag2"]},{"1397187670":["hashtag1","hashtag2"]},{"1397187631":["hashtag1","hashtag2"]},{"1397187747":["hashtag1","hashtag2"]},{"1397187711":["hashtag1","hashtag2"]},{"1397187596":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397187755, 1397187670, 1397187631, 1397187747, 1397187711, 1397187596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40572476387024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 10:18:03.228047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/09/58/image_01122025_09_59_04_9757.jpg', '/home/pi/Desktop/images/01122025/09/59/image_01122025_09_59_14_9942.jpg', '/home/pi/Desktop/images/01122025/09/59/image_01122025_09_59_24_9656.jpg', '/home/pi/Desktop/images/01122025/09/59/image_01122025_09_59_34_10706.jpg', '/home/pi/Desktop/images/01122025/09/59/image_01122025_09_59_44_9704.jpg', '/home/pi/Desktop/images/01122025/09/59/image_01122025_09_59_54_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/09/58/image_01122025_09_59_04_9757.jpg
/home/pi/Desktop/images/01122025/09/59/image_01122025_09_59_14_9942.jpg
/home/pi/Desktop/images/01122025/09/59/image_01122025_09_59_24_9656.jpg
/home/pi/Desktop/images/01122025/09/59/image_01122025_09_59_34_10706.jpg
/home/pi/Desktop/images/01122025/09/59/image_01122025_09_59_44_9704.jpg
/home/pi/Desktop/images/01122025/09/59/image_01122025_09_59_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":["1397187788","1397187860","1397187827","1397187824","1397187855","1397187834"],"photo_ids_order":["1397187788","1397187824","1397187827","1397187834","1397187855","1397187860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1f6eff8c6ace69b0a7a6147fd756f63f.jpg","text":"TemporaryFile(/tmp/multipartBody2177824387288032693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580743967,"filename":"image_01122025_09_59_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/1/080dc12809c54c716bb4eeae97a4e767.jpg","text":"TemporaryFile(/tmp/multipartBody7348043783417579667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580743967,"filename":"image_01122025_09_59_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/1/8ed7247d973e5b0f9104520ab0e9e61d.jpg","text":"TemporaryFile(/tmp/multipartBody7096832330974898520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580743967,"filename":"image_01122025_09_59_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/1/23a5425a5fbc88e193959f069ccff168.jpg","text":"TemporaryFile(/tmp/multipartBody8934106650196024987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580743967,"filename":"image_01122025_09_59_14_9942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/641af586b9c9e90a537d230514287bb5.jpg","text":"TemporaryFile(/tmp/multipartBody429679047677744923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580743967,"filename":"image_01122025_09_59_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/1/e126d0587929d6042d2db9e672784714.jpg","text":"TemporaryFile(/tmp/multipartBody815733413506024735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580743967,"filename":"image_01122025_09_59_34_10706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397187827","file1":"1397187824","file0":"1397187788","file4":"1397187855","file5":"1397187860","file3":"1397187834"},"map_files_photo_id_array":[{"photo_id":"1397187860","filename":"file5"},{"photo_id":"1397187827","filename":"file2"},{"photo_id":"1397187855","filename":"file4"},{"photo_id":"1397187824","filename":"file1"},{"photo_id":"1397187788","filename":"file0"},{"photo_id":"1397187834","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397187788":["hashtag1","hashtag2"]},{"1397187860":["hashtag1","hashtag2"]},{"1397187827":["hashtag1","hashtag2"]},{"1397187824":["hashtag1","hashtag2"]},{"1397187855":["hashtag1","hashtag2"]},{"1397187834":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397187788, 1397187860, 1397187827, 1397187824, 1397187855, 1397187834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27353286743164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 10:18:42.798993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/32/image_01112025_01_32_24_2777.jpg', '/home/pi/Desktop/images/01112025/01/32/image_01112025_01_32_27_3639.jpg', '/home/pi/Desktop/images/01112025/01/32/image_01112025_01_32_40_3427.jpg', '/home/pi/Desktop/images/01112025/01/32/image_01112025_01_32_45_2599.jpg', '/home/pi/Desktop/images/01112025/01/32/image_01112025_01_32_51_2799.jpg', '/home/pi/Desktop/images/01112025/01/33/image_01112025_01_33_06_2885.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/32/image_01112025_01_32_24_2777.jpg
/home/pi/Desktop/images/01112025/01/32/image_01112025_01_32_27_3639.jpg
/home/pi/Desktop/images/01112025/01/32/image_01112025_01_32_40_3427.jpg
/home/pi/Desktop/images/01112025/01/32/image_01112025_01_32_45_2599.jpg
/home/pi/Desktop/images/01112025/01/32/image_01112025_01_32_51_2799.jpg
/home/pi/Desktop/images/01112025/01/33/image_01112025_01_33_06_2885.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397187944","1397187947","1397187940","1397187885","1397187942","1397187918"],"photo_ids_order":["1397187885","1397187918","1397187940","1397187942","1397187944","1397187947"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/13c179d931503b1019d6a58008c060e5.jpg","text":"TemporaryFile(/tmp/multipartBody8477965130342771550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580783677,"filename":"image_01112025_01_32_51_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7cc7e3ad3515df5afe338eb791f7ae78.jpg","text":"TemporaryFile(/tmp/multipartBody2515057992369426227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580783677,"filename":"image_01112025_01_33_06_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/1/b63dfe7266984d9b3f69ac4b8d974e26.jpg","text":"TemporaryFile(/tmp/multipartBody5477240059093104954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580783677,"filename":"image_01112025_01_32_40_3427.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/171d65a60950d0193f291d9ad3b2994a.jpg","text":"TemporaryFile(/tmp/multipartBody2714285644297337720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580783677,"filename":"image_01112025_01_32_24_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/1/d69de15124dcdfb9d663ae64252fb89e.jpg","text":"TemporaryFile(/tmp/multipartBody7166819451089419603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580783677,"filename":"image_01112025_01_32_45_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/1/048d075fdb3d19af5880a26ca984d8d1.jpg","text":"TemporaryFile(/tmp/multipartBody7484793799451084171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580783677,"filename":"image_01112025_01_32_27_3639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397187940","file1":"1397187918","file0":"1397187885","file4":"1397187944","file5":"1397187947","file3":"1397187942"},"map_files_photo_id_array":[{"photo_id":"1397187947","filename":"file5"},{"photo_id":"1397187940","filename":"file2"},{"photo_id":"1397187944","filename":"file4"},{"photo_id":"1397187918","filename":"file1"},{"photo_id":"1397187885","filename":"file0"},{"photo_id":"1397187942","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397187944":["hashtag1","hashtag2"]},{"1397187947":["hashtag1","hashtag2"]},{"1397187940":["hashtag1","hashtag2"]},{"1397187885":["hashtag1","hashtag2"]},{"1397187942":["hashtag1","hashtag2"]},{"1397187918":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397187944, 1397187947, 1397187940, 1397187885, 1397187942, 1397187918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84476041793823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 10:19:21.922045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/00/image_01122025_10_00_14_10058.jpg', '/home/pi/Desktop/images/01122025/10/00/image_01122025_10_00_25_10647.jpg', '/home/pi/Desktop/images/01122025/10/00/image_01122025_10_00_35_9985.jpg', '/home/pi/Desktop/images/01122025/10/00/image_01122025_10_00_44_9710.jpg', '/home/pi/Desktop/images/01122025/10/00/image_01122025_10_00_54_9789.jpg', '/home/pi/Desktop/images/01122025/10/00/image_01122025_10_01_04_9897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/00/image_01122025_10_00_14_10058.jpg
/home/pi/Desktop/images/01122025/10/00/image_01122025_10_00_25_10647.jpg
/home/pi/Desktop/images/01122025/10/00/image_01122025_10_00_35_9985.jpg
/home/pi/Desktop/images/01122025/10/00/image_01122025_10_00_44_9710.jpg
/home/pi/Desktop/images/01122025/10/00/image_01122025_10_00_54_9789.jpg
/home/pi/Desktop/images/01122025/10/00/image_01122025_10_01_04_9897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397187968","1397187973","1397187964","1397187966","1397187969","1397187960"],"photo_ids_order":["1397187960","1397187964","1397187966","1397187968","1397187969","1397187973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7f111d280685f4d777f826ad24624e4c.jpg","text":"TemporaryFile(/tmp/multipartBody6568653953392671531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580822671,"filename":"image_01122025_10_00_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/1/ca48fc5b8f090219f6edb2a5e208c92c.jpg","text":"TemporaryFile(/tmp/multipartBody4645605763351808077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580822671,"filename":"image_01122025_10_01_04_9897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/089aff4413902ec944570512a8334bfa.jpg","text":"TemporaryFile(/tmp/multipartBody1408335202467901885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580822671,"filename":"image_01122025_10_00_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/1/1e1eb0eff9b1f10909c6567882d0a434.jpg","text":"TemporaryFile(/tmp/multipartBody392836515995811261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580822671,"filename":"image_01122025_10_00_35_9985.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/81de924553d646a287ecaabd56499aa6.jpg","text":"TemporaryFile(/tmp/multipartBody5505521420996654772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580822671,"filename":"image_01122025_10_00_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/1/ef71efd76652e7217e73f7da330f6075.jpg","text":"TemporaryFile(/tmp/multipartBody5864575145762996389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580822671,"filename":"image_01122025_10_00_14_10058.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397187966","file1":"1397187964","file0":"1397187960","file4":"1397187969","file5":"1397187973","file3":"1397187968"},"map_files_photo_id_array":[{"photo_id":"1397187973","filename":"file5"},{"photo_id":"1397187966","filename":"file2"},{"photo_id":"1397187969","filename":"file4"},{"photo_id":"1397187964","filename":"file1"},{"photo_id":"1397187960","filename":"file0"},{"photo_id":"1397187968","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397187968":["hashtag1","hashtag2"]},{"1397187973":["hashtag1","hashtag2"]},{"1397187964":["hashtag1","hashtag2"]},{"1397187966":["hashtag1","hashtag2"]},{"1397187969":["hashtag1","hashtag2"]},{"1397187960":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397187968, 1397187973, 1397187964, 1397187966, 1397187969, 1397187960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07761216163635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 10:20:02.639495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/01/image_01122025_10_01_15_10620.jpg', '/home/pi/Desktop/images/01122025/10/01/image_01122025_10_01_25_9730.jpg', '/home/pi/Desktop/images/01122025/10/01/image_01122025_10_01_45_10843.jpg', '/home/pi/Desktop/images/01122025/10/01/image_01122025_10_01_55_9790.jpg', '/home/pi/Desktop/images/01122025/10/01/image_01122025_10_02_04_9578.jpg', '/home/pi/Desktop/images/01122025/10/02/image_01122025_10_02_14_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/01/image_01122025_10_01_15_10620.jpg
/home/pi/Desktop/images/01122025/10/01/image_01122025_10_01_25_9730.jpg
/home/pi/Desktop/images/01122025/10/01/image_01122025_10_01_45_10843.jpg
/home/pi/Desktop/images/01122025/10/01/image_01122025_10_01_55_9790.jpg
/home/pi/Desktop/images/01122025/10/01/image_01122025_10_02_04_9578.jpg
/home/pi/Desktop/images/01122025/10/02/image_01122025_10_02_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":["1397187983","1397188039","1397188111","1397188000","1397187987","1397188076"],"photo_ids_order":["1397187983","1397187987","1397188000","1397188039","1397188076","1397188111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/83a1f390fb238d158cd16619b77fc0a4.jpg","text":"TemporaryFile(/tmp/multipartBody4005321351613466280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580863475,"filename":"image_01122025_10_01_15_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/33d72fdc0caa52ee4fb36b74853e107b.jpg","text":"TemporaryFile(/tmp/multipartBody6001839545536325856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580863475,"filename":"image_01122025_10_01_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/1/3069edb7ec99a8c6b4f5c81d8c709918.jpg","text":"TemporaryFile(/tmp/multipartBody516389383527203761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580863475,"filename":"image_01122025_10_02_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/1/ab6e0efd542bf575af7506eccdac203b.jpg","text":"TemporaryFile(/tmp/multipartBody1952125653237854976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580863475,"filename":"image_01122025_10_01_45_10843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e958b848afc0810463cd6c0b0cb60c50.jpg","text":"TemporaryFile(/tmp/multipartBody6814058040797789567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580863475,"filename":"image_01122025_10_01_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/1/5d9a7e336866d5ae1134602b8961e62b.jpg","text":"TemporaryFile(/tmp/multipartBody5251626263186644504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580863475,"filename":"image_01122025_10_02_04_9578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397188000","file1":"1397187987","file0":"1397187983","file4":"1397188076","file5":"1397188111","file3":"1397188039"},"map_files_photo_id_array":[{"photo_id":"1397188111","filename":"file5"},{"photo_id":"1397188000","filename":"file2"},{"photo_id":"1397188076","filename":"file4"},{"photo_id":"1397187987","filename":"file1"},{"photo_id":"1397187983","filename":"file0"},{"photo_id":"1397188039","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397187983":["hashtag1","hashtag2"]},{"1397188039":["hashtag1","hashtag2"]},{"1397188111":["hashtag1","hashtag2"]},{"1397188000":["hashtag1","hashtag2"]},{"1397187987":["hashtag1","hashtag2"]},{"1397188076":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397187983, 1397188039, 1397188111, 1397188000, 1397187987, 1397188076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.457603931427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-12-01 10:20:42.272414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/01/33/image_01112025_01_33_09_3314.jpg', '/home/pi/Desktop/images/01112025/01/33/image_01112025_01_33_27_3710.jpg', '/home/pi/Desktop/images/01112025/01/33/image_01112025_01_33_33_2736.jpg', '/home/pi/Desktop/images/01112025/01/33/image_01112025_01_33_36_2864.jpg', '/home/pi/Desktop/images/01112025/01/33/image_01112025_01_33_45_3596.jpg', '/home/pi/Desktop/images/01112025/01/33/image_01112025_01_33_57_8840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/01/33/image_01112025_01_33_09_3314.jpg
/home/pi/Desktop/images/01112025/01/33/image_01112025_01_33_27_3710.jpg
/home/pi/Desktop/images/01112025/01/33/image_01112025_01_33_33_2736.jpg
/home/pi/Desktop/images/01112025/01/33/image_01112025_01_33_36_2864.jpg
/home/pi/Desktop/images/01112025/01/33/image_01112025_01_33_45_3596.jpg
/home/pi/Desktop/images/01112025/01/33/image_01112025_01_33_57_8840.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397188310","1397188396","1397188249","1397188420","1397188422","1397188350"],"photo_ids_order":["1397188249","1397188310","1397188350","1397188396","1397188420","1397188422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6856bef1348f8c3e5318bb71f92424de.jpg","text":"TemporaryFile(/tmp/multipartBody682732485768200042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580903192,"filename":"image_01112025_01_33_27_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d6c5e59ff57d90a7bea7a658196d834e.jpg","text":"TemporaryFile(/tmp/multipartBody127942291011539729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580903192,"filename":"image_01112025_01_33_36_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/1/37c7f257f5796ae9baa5a466840f5f95.jpg","text":"TemporaryFile(/tmp/multipartBody4683979181294620805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580903192,"filename":"image_01112025_01_33_09_3314.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b265daa2a24c20c03324921824851891.jpg","text":"TemporaryFile(/tmp/multipartBody7770949936523529144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580903192,"filename":"image_01112025_01_33_45_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/1/d6962cc78bb08b1ff07a282c7dd1d992.jpg","text":"TemporaryFile(/tmp/multipartBody4080074656556436563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580903192,"filename":"image_01112025_01_33_57_8840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ee9bf830a6870946e87210919ec3173f.jpg","text":"TemporaryFile(/tmp/multipartBody8813955557030846389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580903192,"filename":"image_01112025_01_33_33_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397188350","file1":"1397188310","file0":"1397188249","file4":"1397188420","file5":"1397188422","file3":"1397188396"},"map_files_photo_id_array":[{"photo_id":"1397188422","filename":"file5"},{"photo_id":"1397188350","filename":"file2"},{"photo_id":"1397188420","filename":"file4"},{"photo_id":"1397188310","filename":"file1"},{"photo_id":"1397188249","filename":"file0"},{"photo_id":"1397188396","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1397188310":["hashtag1","hashtag2"]},{"1397188396":["hashtag1","hashtag2"]},{"1397188249":["hashtag1","hashtag2"]},{"1397188420":["hashtag1","hashtag2"]},{"1397188422":["hashtag1","hashtag2"]},{"1397188350":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1397188310, 1397188396, 1397188249, 1397188420, 1397188422, 1397188350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78062129020691 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-12-01 10:21:22.434535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/02/image_01122025_10_02_25_10685.jpg', '/home/pi/Desktop/images/01122025/10/02/image_01122025_10_02_35_9800.jpg', '/home/pi/Desktop/images/01122025/10/02/image_01122025_10_02_44_9773.jpg', '/home/pi/Desktop/images/01122025/10/02/image_01122025_10_02_54_9723.jpg', '/home/pi/Desktop/images/01122025/10/02/image_01122025_10_03_05_10581.jpg', '/home/pi/Desktop/images/01122025/10/03/image_01122025_10_03_14_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/02/image_01122025_10_02_25_10685.jpg
/home/pi/Desktop/images/01122025/10/02/image_01122025_10_02_35_9800.jpg
/home/pi/Desktop/images/01122025/10/02/image_01122025_10_02_44_9773.jpg
/home/pi/Desktop/images/01122025/10/02/image_01122025_10_02_54_9723.jpg
/home/pi/Desktop/images/01122025/10/02/image_01122025_10_03_05_10581.jpg
/home/pi/Desktop/images/01122025/10/03/image_01122025_10_03_14_9696.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6840240955352783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 10:21:32.428332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_43_2644.jpg', '/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_47_3580.jpg', '/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_50_2579.jpg', '/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_52_2852.jpg', '/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_55_2606.jpg', '/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_59_3662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_43_2644.jpg
/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_47_3580.jpg
/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_50_2579.jpg
/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_52_2852.jpg
/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_55_2606.jpg
/home/pi/Desktop/images/25112025/22/21/image_25112025_22_21_59_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":["1397188564","1397188558","1397188639","1397188615","1397188587","1397188524"],"photo_ids_order":["1397188524","1397188558","1397188564","1397188587","1397188615","1397188639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/abc42df81c0f86dccd40ddca8644de5c.jpg","text":"TemporaryFile(/tmp/multipartBody9136091648987600476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580954219,"filename":"image_25112025_22_21_50_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/eed54ac480d71557411a5ab5cc2342f0.jpg","text":"TemporaryFile(/tmp/multipartBody212247064165007868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580954219,"filename":"image_25112025_22_21_47_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/1/dbf7de987215bab7854263f696e64ac3.jpg","text":"TemporaryFile(/tmp/multipartBody5233000891978690459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580954219,"filename":"image_25112025_22_21_59_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/1/df80fb67f086aa744f7643b76729d16e.jpg","text":"TemporaryFile(/tmp/multipartBody6149497362495080693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580954219,"filename":"image_25112025_22_21_55_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/1/ed41412aaab389356c1c07bcc2b617ea.jpg","text":"TemporaryFile(/tmp/multipartBody8079012222964635805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580954219,"filename":"image_25112025_22_21_52_2852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f59d1dc539feed08bb3953e56417ead7.jpg","text":"TemporaryFile(/tmp/multipartBody5513673266671615941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580954219,"filename":"image_25112025_22_21_43_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397188564","file1":"1397188558","file0":"1397188524","file4":"1397188615","file5":"1397188639","file3":"1397188587"},"map_files_photo_id_array":[{"photo_id":"1397188639","filename":"file5"},{"photo_id":"1397188564","filename":"file2"},{"photo_id":"1397188615","filename":"file4"},{"photo_id":"1397188558","filename":"file1"},{"photo_id":"1397188524","filename":"file0"},{"photo_id":"1397188587","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397188564":["hashtag1","hashtag2"]},{"1397188558":["hashtag1","hashtag2"]},{"1397188639":["hashtag1","hashtag2"]},{"1397188615":["hashtag1","hashtag2"]},{"1397188587":["hashtag1","hashtag2"]},{"1397188524":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397188564, 1397188558, 1397188639, 1397188615, 1397188587, 1397188524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.947391510009766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 10:22:12.565540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_01_2577.jpg', '/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_05_3618.jpg', '/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_07_2529.jpg', '/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_10_2669.jpg', '/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_14_3549.jpg', '/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_16_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_01_2577.jpg
/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_05_3618.jpg
/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_07_2529.jpg
/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_10_2669.jpg
/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_14_3549.jpg
/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_16_2705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397188706","1397188699","1397188702","1397188695","1397188692","1397188704"],"photo_ids_order":["1397188692","1397188695","1397188699","1397188702","1397188704","1397188706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ef23b4e91083ae9064702139bf098f59.jpg","text":"TemporaryFile(/tmp/multipartBody4837704524894626567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580994197,"filename":"image_25112025_22_22_16_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/1/2b8c5d11d4f0a17c75b82f85bf3420b8.jpg","text":"TemporaryFile(/tmp/multipartBody8452847835463447660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580994197,"filename":"image_25112025_22_22_07_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/051d7c28576394283f73894e6a2eb4a6.jpg","text":"TemporaryFile(/tmp/multipartBody2918714503761607381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580994197,"filename":"image_25112025_22_22_10_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/1/a2a4aa7d02b5034ef1831ad766983ec5.jpg","text":"TemporaryFile(/tmp/multipartBody552806991116702706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580994197,"filename":"image_25112025_22_22_05_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/1/88f19409c4623add3a625943c0940296.jpg","text":"TemporaryFile(/tmp/multipartBody3363253352567356018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580994197,"filename":"image_25112025_22_22_01_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/1/be38941c93b77b321f14b5a897c32d4f.jpg","text":"TemporaryFile(/tmp/multipartBody9091955164438595459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764580994197,"filename":"image_25112025_22_22_14_3549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397188699","file1":"1397188695","file0":"1397188692","file4":"1397188704","file5":"1397188706","file3":"1397188702"},"map_files_photo_id_array":[{"photo_id":"1397188706","filename":"file5"},{"photo_id":"1397188699","filename":"file2"},{"photo_id":"1397188704","filename":"file4"},{"photo_id":"1397188695","filename":"file1"},{"photo_id":"1397188692","filename":"file0"},{"photo_id":"1397188702","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397188706":["hashtag1","hashtag2"]},{"1397188699":["hashtag1","hashtag2"]},{"1397188702":["hashtag1","hashtag2"]},{"1397188695":["hashtag1","hashtag2"]},{"1397188692":["hashtag1","hashtag2"]},{"1397188704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397188706, 1397188699, 1397188702, 1397188695, 1397188692, 1397188704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42174744606018 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 10:23:03.428977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/02/image_01122025_10_02_25_10685.jpg', '/home/pi/Desktop/images/01122025/10/02/image_01122025_10_02_35_9800.jpg', '/home/pi/Desktop/images/01122025/10/02/image_01122025_10_02_44_9773.jpg', '/home/pi/Desktop/images/01122025/10/02/image_01122025_10_02_54_9723.jpg', '/home/pi/Desktop/images/01122025/10/02/image_01122025_10_03_05_10581.jpg', '/home/pi/Desktop/images/01122025/10/03/image_01122025_10_03_14_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/02/image_01122025_10_02_25_10685.jpg
/home/pi/Desktop/images/01122025/10/02/image_01122025_10_02_35_9800.jpg
/home/pi/Desktop/images/01122025/10/02/image_01122025_10_02_44_9773.jpg
/home/pi/Desktop/images/01122025/10/02/image_01122025_10_02_54_9723.jpg
/home/pi/Desktop/images/01122025/10/02/image_01122025_10_03_05_10581.jpg
/home/pi/Desktop/images/01122025/10/03/image_01122025_10_03_14_9696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397188741","1397188726","1397188746","1397188731","1397188734","1397188737"],"photo_ids_order":["1397188726","1397188731","1397188734","1397188737","1397188741","1397188746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e8ef888515b9f13bef6f577d7e442f97.jpg","text":"TemporaryFile(/tmp/multipartBody7595150986623179333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581044215,"filename":"image_01122025_10_03_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/1/392e0b004cb9f2369b028996eeea1511.jpg","text":"TemporaryFile(/tmp/multipartBody5294199060873597759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581044215,"filename":"image_01122025_10_02_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/1/e8dea7f1ef96ec79200726faeb9d1b46.jpg","text":"TemporaryFile(/tmp/multipartBody4981809946343069330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581044215,"filename":"image_01122025_10_03_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/1/3c89f1519fe51df138636312743ccb33.jpg","text":"TemporaryFile(/tmp/multipartBody999008448119522808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581044215,"filename":"image_01122025_10_02_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/1/8d0044fd6615588f3d03a4eca53a1ccb.jpg","text":"TemporaryFile(/tmp/multipartBody6282291611452659476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581044215,"filename":"image_01122025_10_02_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/1/ee6f1ecac87a2617be991331c6592216.jpg","text":"TemporaryFile(/tmp/multipartBody2430076227139727633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581044215,"filename":"image_01122025_10_02_54_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397188734","file1":"1397188731","file0":"1397188726","file4":"1397188741","file5":"1397188746","file3":"1397188737"},"map_files_photo_id_array":[{"photo_id":"1397188746","filename":"file5"},{"photo_id":"1397188734","filename":"file2"},{"photo_id":"1397188741","filename":"file4"},{"photo_id":"1397188731","filename":"file1"},{"photo_id":"1397188726","filename":"file0"},{"photo_id":"1397188737","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397188741":["hashtag1","hashtag2"]},{"1397188726":["hashtag1","hashtag2"]},{"1397188746":["hashtag1","hashtag2"]},{"1397188731":["hashtag1","hashtag2"]},{"1397188734":["hashtag1","hashtag2"]},{"1397188737":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397188741, 1397188726, 1397188746, 1397188731, 1397188734, 1397188737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.532761573791504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 10:24:02.747262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/03/image_01122025_10_03_24_9654.jpg', '/home/pi/Desktop/images/01122025/10/03/image_01122025_10_03_35_10779.jpg', '/home/pi/Desktop/images/01122025/10/03/image_01122025_10_03_45_9731.jpg', '/home/pi/Desktop/images/01122025/10/03/image_01122025_10_03_54_9750.jpg', '/home/pi/Desktop/images/01122025/10/03/image_01122025_10_04_04_9884.jpg', '/home/pi/Desktop/images/01122025/10/04/image_01122025_10_04_15_10751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/03/image_01122025_10_03_24_9654.jpg
/home/pi/Desktop/images/01122025/10/03/image_01122025_10_03_35_10779.jpg
/home/pi/Desktop/images/01122025/10/03/image_01122025_10_03_45_9731.jpg
/home/pi/Desktop/images/01122025/10/03/image_01122025_10_03_54_9750.jpg
/home/pi/Desktop/images/01122025/10/03/image_01122025_10_04_04_9884.jpg
/home/pi/Desktop/images/01122025/10/04/image_01122025_10_04_15_10751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397188783","1397188771","1397188776","1397188779","1397188773","1397188787"],"photo_ids_order":["1397188771","1397188773","1397188776","1397188779","1397188783","1397188787"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/41ff65baed85a70bf52fafa508159573.jpg","text":"TemporaryFile(/tmp/multipartBody3533000815024835633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581103572,"filename":"image_01122025_10_04_04_9884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/85caa62b9b2619b039ce33112c1a423f.jpg","text":"TemporaryFile(/tmp/multipartBody6473424458731522388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581103572,"filename":"image_01122025_10_03_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/1/56de7d540a397b5267aa37d8e6314c2b.jpg","text":"TemporaryFile(/tmp/multipartBody6935475329000874427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581103572,"filename":"image_01122025_10_03_45_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3078ec6964b94de9e21a303e2dd92e70.jpg","text":"TemporaryFile(/tmp/multipartBody6186786036841898994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581103572,"filename":"image_01122025_10_03_54_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/713194ddb6b7f51dd2a3c2cf5e7f18b0.jpg","text":"TemporaryFile(/tmp/multipartBody7843422388464918743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581103572,"filename":"image_01122025_10_03_35_10779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/569940cda61ddeb9829f1e702a11350a.jpg","text":"TemporaryFile(/tmp/multipartBody5233651243945058621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581103572,"filename":"image_01122025_10_04_15_10751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397188776","file1":"1397188773","file0":"1397188771","file4":"1397188783","file5":"1397188787","file3":"1397188779"},"map_files_photo_id_array":[{"photo_id":"1397188787","filename":"file5"},{"photo_id":"1397188776","filename":"file2"},{"photo_id":"1397188783","filename":"file4"},{"photo_id":"1397188773","filename":"file1"},{"photo_id":"1397188771","filename":"file0"},{"photo_id":"1397188779","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397188783":["hashtag1","hashtag2"]},{"1397188771":["hashtag1","hashtag2"]},{"1397188776":["hashtag1","hashtag2"]},{"1397188779":["hashtag1","hashtag2"]},{"1397188773":["hashtag1","hashtag2"]},{"1397188787":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397188783, 1397188771, 1397188776, 1397188779, 1397188773, 1397188787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59976863861084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 10:24:41.966893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_19_2733.jpg', '/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_22_2824.jpg', '/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_25_3593.jpg', '/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_28_2590.jpg', '/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_30_2731.jpg', '/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_40_2802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_19_2733.jpg
/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_22_2824.jpg
/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_25_3593.jpg
/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_28_2590.jpg
/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_30_2731.jpg
/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_40_2802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397188805","1397188808","1397188807","1397188812","1397188803","1397188806"],"photo_ids_order":["1397188803","1397188805","1397188806","1397188807","1397188808","1397188812"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dee923665451525261218f54a51e8047.jpg","text":"TemporaryFile(/tmp/multipartBody7768021566386237002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581144629,"filename":"image_31102025_14_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/1/5778475c237862c9583769c86a0dcd34.jpg","text":"TemporaryFile(/tmp/multipartBody7207806674791768419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581144629,"filename":"image_31102025_14_04_30_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/1/2f48666e69bad67c1b809d4400e6dfc8.jpg","text":"TemporaryFile(/tmp/multipartBody652800479197959516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581144629,"filename":"image_31102025_14_04_28_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3485fe8ef3f835d7a14fae55690c90cf.jpg","text":"TemporaryFile(/tmp/multipartBody4947446399275713571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581144629,"filename":"image_31102025_14_04_40_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5cb03abe4b8884071333c1119cb84e19.jpg","text":"TemporaryFile(/tmp/multipartBody3550214664617945937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581144629,"filename":"image_31102025_14_04_19_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/1/da7a52e28ec0e8582db738a03121515f.jpg","text":"TemporaryFile(/tmp/multipartBody3732965695744535388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581144629,"filename":"image_31102025_14_04_25_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397188806","file1":"1397188805","file0":"1397188803","file4":"1397188808","file5":"1397188812","file3":"1397188807"},"map_files_photo_id_array":[{"photo_id":"1397188812","filename":"file5"},{"photo_id":"1397188806","filename":"file2"},{"photo_id":"1397188808","filename":"file4"},{"photo_id":"1397188805","filename":"file1"},{"photo_id":"1397188803","filename":"file0"},{"photo_id":"1397188807","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397188805":["hashtag1","hashtag2"]},{"1397188808":["hashtag1","hashtag2"]},{"1397188807":["hashtag1","hashtag2"]},{"1397188812":["hashtag1","hashtag2"]},{"1397188803":["hashtag1","hashtag2"]},{"1397188806":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397188805, 1397188808, 1397188807, 1397188812, 1397188803, 1397188806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9982807636261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 10:25:22.113832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/04/image_01122025_10_04_25_9762.jpg', '/home/pi/Desktop/images/01122025/10/04/image_01122025_10_04_34_9682.jpg', '/home/pi/Desktop/images/01122025/10/04/image_01122025_10_04_44_9676.jpg', '/home/pi/Desktop/images/01122025/10/04/image_01122025_10_04_55_10754.jpg', '/home/pi/Desktop/images/01122025/10/05/image_01122025_10_05_14_10055.jpg', '/home/pi/Desktop/images/01122025/10/05/image_01122025_10_05_24_10696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/04/image_01122025_10_04_25_9762.jpg
/home/pi/Desktop/images/01122025/10/04/image_01122025_10_04_34_9682.jpg
/home/pi/Desktop/images/01122025/10/04/image_01122025_10_04_44_9676.jpg
/home/pi/Desktop/images/01122025/10/04/image_01122025_10_04_55_10754.jpg
/home/pi/Desktop/images/01122025/10/05/image_01122025_10_05_14_10055.jpg
/home/pi/Desktop/images/01122025/10/05/image_01122025_10_05_24_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":["1397188832","1397188846","1397188828","1397188854","1397188836","1397188824"],"photo_ids_order":["1397188824","1397188828","1397188832","1397188836","1397188846","1397188854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bea83bf7850f313e6879da4da74f188b.jpg","text":"TemporaryFile(/tmp/multipartBody1171578792115303320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581182876,"filename":"image_01122025_10_04_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/1/34ba3e69776899bc76c4495b0356e12a.jpg","text":"TemporaryFile(/tmp/multipartBody369527636684006896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581182876,"filename":"image_01122025_10_05_14_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b1fafb915258dbf19daa69a6dfd775c6.jpg","text":"TemporaryFile(/tmp/multipartBody5996276550103526458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581182876,"filename":"image_01122025_10_04_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/1/f2c42c12b4360b4db058124c5c288d13.jpg","text":"TemporaryFile(/tmp/multipartBody5010836018573221161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581182876,"filename":"image_01122025_10_05_24_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/1/56719d761da3abfb82c453946f6d65ab.jpg","text":"TemporaryFile(/tmp/multipartBody7906348728179105911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581182876,"filename":"image_01122025_10_04_55_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3d9763cd0bbf9386bfa2ce8546cacf84.jpg","text":"TemporaryFile(/tmp/multipartBody8188585599775813706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581182876,"filename":"image_01122025_10_04_25_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397188832","file1":"1397188828","file0":"1397188824","file4":"1397188846","file5":"1397188854","file3":"1397188836"},"map_files_photo_id_array":[{"photo_id":"1397188854","filename":"file5"},{"photo_id":"1397188832","filename":"file2"},{"photo_id":"1397188846","filename":"file4"},{"photo_id":"1397188828","filename":"file1"},{"photo_id":"1397188824","filename":"file0"},{"photo_id":"1397188836","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397188832":["hashtag1","hashtag2"]},{"1397188846":["hashtag1","hashtag2"]},{"1397188828":["hashtag1","hashtag2"]},{"1397188854":["hashtag1","hashtag2"]},{"1397188836":["hashtag1","hashtag2"]},{"1397188824":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397188832, 1397188846, 1397188828, 1397188854, 1397188836, 1397188824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09752297401428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 10:26:02.838422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/05/image_01122025_10_05_34_9647.jpg', '/home/pi/Desktop/images/01122025/10/05/image_01122025_10_05_44_9757.jpg', '/home/pi/Desktop/images/01122025/10/05/image_01122025_10_05_54_9933.jpg', '/home/pi/Desktop/images/01122025/10/05/image_01122025_10_06_04_10826.jpg', '/home/pi/Desktop/images/01122025/10/06/image_01122025_10_06_14_9656.jpg', '/home/pi/Desktop/images/01122025/10/06/image_01122025_10_06_24_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/05/image_01122025_10_05_34_9647.jpg
/home/pi/Desktop/images/01122025/10/05/image_01122025_10_05_44_9757.jpg
/home/pi/Desktop/images/01122025/10/05/image_01122025_10_05_54_9933.jpg
/home/pi/Desktop/images/01122025/10/05/image_01122025_10_06_04_10826.jpg
/home/pi/Desktop/images/01122025/10/06/image_01122025_10_06_14_9656.jpg
/home/pi/Desktop/images/01122025/10/06/image_01122025_10_06_24_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":["1397188861","1397188869","1397188872","1397188874","1397188877","1397188865"],"photo_ids_order":["1397188861","1397188865","1397188869","1397188872","1397188874","1397188877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6ee84060e77b8bbfdd897db14c6d9a46.jpg","text":"TemporaryFile(/tmp/multipartBody2218749398528049477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581223553,"filename":"image_01122025_10_05_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/1/6accb8eeaa4c3a6b2d44a2213a0e9e12.jpg","text":"TemporaryFile(/tmp/multipartBody6269668735226768311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581223553,"filename":"image_01122025_10_05_54_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/1/af79ab91e7d84bdf5029dbe15d94590b.jpg","text":"TemporaryFile(/tmp/multipartBody2424132476618079067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581223553,"filename":"image_01122025_10_06_04_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/1/b65f33b2559c9b6eff47cdab40cd94c4.jpg","text":"TemporaryFile(/tmp/multipartBody1456904299887941814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581223553,"filename":"image_01122025_10_06_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/1/4471a1be1c5b969a7eec832987291ae4.jpg","text":"TemporaryFile(/tmp/multipartBody1051483085776417928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581223553,"filename":"image_01122025_10_06_24_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5ae9bf46c95d83c9bc45b8759cce6484.jpg","text":"TemporaryFile(/tmp/multipartBody3430060570931925937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581223553,"filename":"image_01122025_10_05_44_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397188869","file1":"1397188865","file0":"1397188861","file4":"1397188874","file5":"1397188877","file3":"1397188872"},"map_files_photo_id_array":[{"photo_id":"1397188877","filename":"file5"},{"photo_id":"1397188869","filename":"file2"},{"photo_id":"1397188874","filename":"file4"},{"photo_id":"1397188865","filename":"file1"},{"photo_id":"1397188861","filename":"file0"},{"photo_id":"1397188872","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397188861":["hashtag1","hashtag2"]},{"1397188869":["hashtag1","hashtag2"]},{"1397188872":["hashtag1","hashtag2"]},{"1397188874":["hashtag1","hashtag2"]},{"1397188877":["hashtag1","hashtag2"]},{"1397188865":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397188861, 1397188869, 1397188872, 1397188874, 1397188877, 1397188865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88789749145508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 10:26:42.387416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_42_2752.jpg', '/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_46_3637.jpg', '/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_49_2725.jpg', '/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_51_2645.jpg', '/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_55_3600.jpg', '/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_58_2727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_42_2752.jpg
/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_46_3637.jpg
/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_49_2725.jpg
/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_51_2645.jpg
/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_55_3600.jpg
/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_58_2727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397188910","1397188897","1397188915","1397188918","1397188912","1397188914"],"photo_ids_order":["1397188897","1397188910","1397188912","1397188914","1397188915","1397188918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/70e86332c63d0a2bd6cdf44110c64fca.jpg","text":"TemporaryFile(/tmp/multipartBody9010699551333543807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581265067,"filename":"image_31102025_14_04_46_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/1/54a12e588841f252fd645a404885d4e1.jpg","text":"TemporaryFile(/tmp/multipartBody3476203374069896848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581265067,"filename":"image_31102025_14_04_42_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1a7aa6a8f815905834dbb28467f5ff65.jpg","text":"TemporaryFile(/tmp/multipartBody6020302604736762223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581265067,"filename":"image_31102025_14_04_55_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/1/e2e1431f1ff364e4dcbe97aed81dfd2b.jpg","text":"TemporaryFile(/tmp/multipartBody3501317527255704603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581265067,"filename":"image_31102025_14_04_58_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/1/df6a2f71d695fc51cbc75234aeedfac2.jpg","text":"TemporaryFile(/tmp/multipartBody2528447605543352148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581265067,"filename":"image_31102025_14_04_49_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/1/9ed5db2bf1f1b4d4e77aed19765a3ea0.jpg","text":"TemporaryFile(/tmp/multipartBody7774153231487172922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581265067,"filename":"image_31102025_14_04_51_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397188912","file1":"1397188910","file0":"1397188897","file4":"1397188915","file5":"1397188918","file3":"1397188914"},"map_files_photo_id_array":[{"photo_id":"1397188918","filename":"file5"},{"photo_id":"1397188912","filename":"file2"},{"photo_id":"1397188915","filename":"file4"},{"photo_id":"1397188910","filename":"file1"},{"photo_id":"1397188897","filename":"file0"},{"photo_id":"1397188914","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397188910":["hashtag1","hashtag2"]},{"1397188897":["hashtag1","hashtag2"]},{"1397188915":["hashtag1","hashtag2"]},{"1397188918":["hashtag1","hashtag2"]},{"1397188912":["hashtag1","hashtag2"]},{"1397188914":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397188910, 1397188897, 1397188915, 1397188918, 1397188912, 1397188914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.621766090393066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 10:27:22.565103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/06/image_01122025_10_06_33_9641.jpg', '/home/pi/Desktop/images/01122025/10/06/image_01122025_10_06_44_10663.jpg', '/home/pi/Desktop/images/01122025/10/06/image_01122025_10_06_54_9702.jpg', '/home/pi/Desktop/images/01122025/10/06/image_01122025_10_07_04_10601.jpg', '/home/pi/Desktop/images/01122025/10/07/image_01122025_10_07_14_9684.jpg', '/home/pi/Desktop/images/01122025/10/07/image_01122025_10_07_24_9848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/06/image_01122025_10_06_33_9641.jpg
/home/pi/Desktop/images/01122025/10/06/image_01122025_10_06_44_10663.jpg
/home/pi/Desktop/images/01122025/10/06/image_01122025_10_06_54_9702.jpg
/home/pi/Desktop/images/01122025/10/06/image_01122025_10_07_04_10601.jpg
/home/pi/Desktop/images/01122025/10/07/image_01122025_10_07_14_9684.jpg
/home/pi/Desktop/images/01122025/10/07/image_01122025_10_07_24_9848.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397188951","1397188933","1397188939","1397188947","1397188926","1397188943"],"photo_ids_order":["1397188926","1397188933","1397188939","1397188943","1397188947","1397188951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/264001a9d9ff0cf3dd540f377bba9a71.jpg","text":"TemporaryFile(/tmp/multipartBody2431511487485400813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581303303,"filename":"image_01122025_10_07_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/1/01c83ea92ea18680a2d16fc94ec87b6a.jpg","text":"TemporaryFile(/tmp/multipartBody4934753641218368929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581303303,"filename":"image_01122025_10_06_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/1/ca35ed825ec66fe8ed27401564795fc9.jpg","text":"TemporaryFile(/tmp/multipartBody8967735970989049359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581303303,"filename":"image_01122025_10_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/1/8094318eaec00c262c74fbddda673b93.jpg","text":"TemporaryFile(/tmp/multipartBody2580242192337976887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581303303,"filename":"image_01122025_10_07_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/1/cf89824eff619fa96af95bed7d3e4b6f.jpg","text":"TemporaryFile(/tmp/multipartBody7634988099386875033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581303303,"filename":"image_01122025_10_06_33_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/1/c451c2e0f4ccd8bd8faeb175b5c2df83.jpg","text":"TemporaryFile(/tmp/multipartBody2009148619407355771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581303303,"filename":"image_01122025_10_07_04_10601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397188939","file1":"1397188933","file0":"1397188926","file4":"1397188947","file5":"1397188951","file3":"1397188943"},"map_files_photo_id_array":[{"photo_id":"1397188951","filename":"file5"},{"photo_id":"1397188939","filename":"file2"},{"photo_id":"1397188947","filename":"file4"},{"photo_id":"1397188933","filename":"file1"},{"photo_id":"1397188926","filename":"file0"},{"photo_id":"1397188943","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397188951":["hashtag1","hashtag2"]},{"1397188933":["hashtag1","hashtag2"]},{"1397188939":["hashtag1","hashtag2"]},{"1397188947":["hashtag1","hashtag2"]},{"1397188926":["hashtag1","hashtag2"]},{"1397188943":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397188951, 1397188933, 1397188939, 1397188947, 1397188926, 1397188943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31280303001404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 10:28:03.182321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/07/image_01122025_10_07_34_9758.jpg', '/home/pi/Desktop/images/01122025/10/07/image_01122025_10_07_44_10678.jpg', '/home/pi/Desktop/images/01122025/10/07/image_01122025_10_07_54_9667.jpg', '/home/pi/Desktop/images/01122025/10/07/image_01122025_10_08_04_9611.jpg', '/home/pi/Desktop/images/01122025/10/08/image_01122025_10_08_14_10575.jpg', '/home/pi/Desktop/images/01122025/10/08/image_01122025_10_08_24_9571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/07/image_01122025_10_07_34_9758.jpg
/home/pi/Desktop/images/01122025/10/07/image_01122025_10_07_44_10678.jpg
/home/pi/Desktop/images/01122025/10/07/image_01122025_10_07_54_9667.jpg
/home/pi/Desktop/images/01122025/10/07/image_01122025_10_08_04_9611.jpg
/home/pi/Desktop/images/01122025/10/08/image_01122025_10_08_14_10575.jpg
/home/pi/Desktop/images/01122025/10/08/image_01122025_10_08_24_9571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397188954","1397188957","1397188971","1397188967","1397188961","1397188964"],"photo_ids_order":["1397188954","1397188957","1397188961","1397188964","1397188967","1397188971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c70788775ffb8f3ec54ab299b6f902d6.jpg","text":"TemporaryFile(/tmp/multipartBody6170695764705754961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581343934,"filename":"image_01122025_10_07_34_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6abc1a70b989152ce088196e6d707d4a.jpg","text":"TemporaryFile(/tmp/multipartBody1143823721233400554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581343934,"filename":"image_01122025_10_07_44_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/db894e8584b349cc24424618b32bf71e.jpg","text":"TemporaryFile(/tmp/multipartBody227146815375841150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581343934,"filename":"image_01122025_10_08_24_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6bf9ac58d21d756c9e5fbb1c64ee5245.jpg","text":"TemporaryFile(/tmp/multipartBody2077441226737717415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581343934,"filename":"image_01122025_10_08_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/1/1ba7622830977fafbd3d4670c8e1f3ad.jpg","text":"TemporaryFile(/tmp/multipartBody2111816204345963205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581343934,"filename":"image_01122025_10_07_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/1/4dd5bee5501db595c520b9066208fe0f.jpg","text":"TemporaryFile(/tmp/multipartBody6881102949467813420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581343934,"filename":"image_01122025_10_08_04_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397188961","file1":"1397188957","file0":"1397188954","file4":"1397188967","file5":"1397188971","file3":"1397188964"},"map_files_photo_id_array":[{"photo_id":"1397188971","filename":"file5"},{"photo_id":"1397188961","filename":"file2"},{"photo_id":"1397188967","filename":"file4"},{"photo_id":"1397188957","filename":"file1"},{"photo_id":"1397188954","filename":"file0"},{"photo_id":"1397188964","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397188954":["hashtag1","hashtag2"]},{"1397188957":["hashtag1","hashtag2"]},{"1397188971":["hashtag1","hashtag2"]},{"1397188967":["hashtag1","hashtag2"]},{"1397188961":["hashtag1","hashtag2"]},{"1397188964":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397188954, 1397188957, 1397188971, 1397188967, 1397188961, 1397188964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39384841918945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 10:28:42.738533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_04_3702.jpg', '/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_07_2764.jpg', '/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_10_2696.jpg', '/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_12_2744.jpg', '/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_16_3726.jpg', '/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_19_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_04_3702.jpg
/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_07_2764.jpg
/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_10_2696.jpg
/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_12_2744.jpg
/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_16_3726.jpg
/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_19_2720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397188986","1397188983","1397188991","1397188979","1397188994","1397188988"],"photo_ids_order":["1397188979","1397188983","1397188986","1397188988","1397188991","1397188994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4f49e52d0cd4c7046992c7d78055f5a7.jpg","text":"TemporaryFile(/tmp/multipartBody1036024132063732761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581385405,"filename":"image_31102025_14_05_10_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/1/632cc386e6a04a37a6d6f14fc72cba72.jpg","text":"TemporaryFile(/tmp/multipartBody7300665330496218079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581385405,"filename":"image_31102025_14_05_07_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c95817beaba14874cd239029027e32da.jpg","text":"TemporaryFile(/tmp/multipartBody5548532474138738549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581385405,"filename":"image_31102025_14_05_16_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0c5b3b920428a846ed588676243c4c9e.jpg","text":"TemporaryFile(/tmp/multipartBody7151960803126647668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581385405,"filename":"image_31102025_14_05_04_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/1/7729afaf0612e33eef79d750c72d4a61.jpg","text":"TemporaryFile(/tmp/multipartBody193353273598749950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581385405,"filename":"image_31102025_14_05_19_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/1/3f5fb42229427add90a13ecd2f939266.jpg","text":"TemporaryFile(/tmp/multipartBody4050595776941921923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581385405,"filename":"image_31102025_14_05_12_2744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397188986","file1":"1397188983","file0":"1397188979","file4":"1397188991","file5":"1397188994","file3":"1397188988"},"map_files_photo_id_array":[{"photo_id":"1397188994","filename":"file5"},{"photo_id":"1397188986","filename":"file2"},{"photo_id":"1397188991","filename":"file4"},{"photo_id":"1397188983","filename":"file1"},{"photo_id":"1397188979","filename":"file0"},{"photo_id":"1397188988","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397188986":["hashtag1","hashtag2"]},{"1397188983":["hashtag1","hashtag2"]},{"1397188991":["hashtag1","hashtag2"]},{"1397188979":["hashtag1","hashtag2"]},{"1397188994":["hashtag1","hashtag2"]},{"1397188988":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397188986, 1397188983, 1397188991, 1397188979, 1397188994, 1397188988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.42051839828491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 10:29:31.980415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_20_3545.jpg', '/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_22_2600.jpg', '/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_25_2587.jpg', '/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_28_3133.jpg', '/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_33_4710.jpg', '/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_47_14405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_20_3545.jpg
/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_22_2600.jpg
/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_25_2587.jpg
/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_28_3133.jpg
/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_33_4710.jpg
/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_47_14405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397189038","1397189023","1397189007","1397189036","1397189018","1397189012"],"photo_ids_order":["1397189007","1397189012","1397189018","1397189023","1397189036","1397189038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/40ddb85a754a7b2ab71a3f0010b212d3.jpg","text":"TemporaryFile(/tmp/multipartBody3562352386112263647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581433712,"filename":"image_25112025_22_22_47_14405.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d65afa2ad42a8ae9035f8fbdf6e5748c.jpg","text":"TemporaryFile(/tmp/multipartBody4857686455941883188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581433712,"filename":"image_25112025_22_22_28_3133.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ebbfbde3582fdbe7a8ff12ee6d2551a6.jpg","text":"TemporaryFile(/tmp/multipartBody4155753903614467035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581433712,"filename":"image_25112025_22_22_20_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/1/24eb01bb9c27dabfe5e9b8f1bf3ce3a4.jpg","text":"TemporaryFile(/tmp/multipartBody4391481943699589895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581433712,"filename":"image_25112025_22_22_33_4710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2be3559e499eb1f5702c4cb9f32ce3d4.jpg","text":"TemporaryFile(/tmp/multipartBody1597819337900993234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581433712,"filename":"image_25112025_22_22_25_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/487d9f2493314f410680e006f66dee7c.jpg","text":"TemporaryFile(/tmp/multipartBody4104246791831353342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581433712,"filename":"image_25112025_22_22_22_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397189018","file1":"1397189012","file0":"1397189007","file4":"1397189036","file5":"1397189038","file3":"1397189023"},"map_files_photo_id_array":[{"photo_id":"1397189038","filename":"file5"},{"photo_id":"1397189018","filename":"file2"},{"photo_id":"1397189036","filename":"file4"},{"photo_id":"1397189012","filename":"file1"},{"photo_id":"1397189007","filename":"file0"},{"photo_id":"1397189023","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397189038":["hashtag1","hashtag2"]},{"1397189023":["hashtag1","hashtag2"]},{"1397189007":["hashtag1","hashtag2"]},{"1397189036":["hashtag1","hashtag2"]},{"1397189018":["hashtag1","hashtag2"]},{"1397189012":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397189038, 1397189023, 1397189007, 1397189036, 1397189018, 1397189012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37926530838013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 10:30:12.272297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_49_1539.jpg', '/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_50_1616.jpg', '/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_52_1583.jpg', '/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_54_1645.jpg', '/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_57_1569.jpg', '/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_59_1677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_49_1539.jpg
/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_50_1616.jpg
/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_52_1583.jpg
/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_54_1645.jpg
/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_57_1569.jpg
/home/pi/Desktop/images/25112025/22/22/image_25112025_22_22_59_1677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397189044","1397189056","1397189041","1397189052","1397189060","1397189048"],"photo_ids_order":["1397189041","1397189044","1397189048","1397189052","1397189056","1397189060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0eec15403f948c93f1df705e02a4ce71.jpg","text":"TemporaryFile(/tmp/multipartBody3920464927287264437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581473906,"filename":"image_25112025_22_22_50_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/1/9c0c975113b68d250e3c1c4d9a7d719e.jpg","text":"TemporaryFile(/tmp/multipartBody7517639858735826860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581473906,"filename":"image_25112025_22_22_57_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/1/e7496dc328e5504d67f8e86ef2036817.jpg","text":"TemporaryFile(/tmp/multipartBody7358368013053542335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581473906,"filename":"image_25112025_22_22_49_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/1/b95c522d598450e950f01900deae5228.jpg","text":"TemporaryFile(/tmp/multipartBody1228856701140831793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581473906,"filename":"image_25112025_22_22_54_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/1/c02f69c4f1c62a19d53998b6ad05993b.jpg","text":"TemporaryFile(/tmp/multipartBody8859444210954057786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581473906,"filename":"image_25112025_22_22_59_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/1/4e23cfcd1f4d515714acca9e22c3f302.jpg","text":"TemporaryFile(/tmp/multipartBody1954451350211162576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581473906,"filename":"image_25112025_22_22_52_1583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397189048","file1":"1397189044","file0":"1397189041","file4":"1397189056","file5":"1397189060","file3":"1397189052"},"map_files_photo_id_array":[{"photo_id":"1397189060","filename":"file5"},{"photo_id":"1397189048","filename":"file2"},{"photo_id":"1397189056","filename":"file4"},{"photo_id":"1397189044","filename":"file1"},{"photo_id":"1397189041","filename":"file0"},{"photo_id":"1397189052","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397189044":["hashtag1","hashtag2"]},{"1397189056":["hashtag1","hashtag2"]},{"1397189041":["hashtag1","hashtag2"]},{"1397189052":["hashtag1","hashtag2"]},{"1397189060":["hashtag1","hashtag2"]},{"1397189048":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397189044, 1397189056, 1397189041, 1397189052, 1397189060, 1397189048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.503182888031006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 10:31:03.029768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/08/image_01122025_10_08_34_9901.jpg', '/home/pi/Desktop/images/01122025/10/08/image_01122025_10_08_44_10676.jpg', '/home/pi/Desktop/images/01122025/10/08/image_01122025_10_08_54_9606.jpg', '/home/pi/Desktop/images/01122025/10/08/image_01122025_10_09_04_9798.jpg', '/home/pi/Desktop/images/01122025/10/09/image_01122025_10_09_14_9939.jpg', '/home/pi/Desktop/images/01122025/10/09/image_01122025_10_09_24_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/08/image_01122025_10_08_34_9901.jpg
/home/pi/Desktop/images/01122025/10/08/image_01122025_10_08_44_10676.jpg
/home/pi/Desktop/images/01122025/10/08/image_01122025_10_08_54_9606.jpg
/home/pi/Desktop/images/01122025/10/08/image_01122025_10_09_04_9798.jpg
/home/pi/Desktop/images/01122025/10/09/image_01122025_10_09_14_9939.jpg
/home/pi/Desktop/images/01122025/10/09/image_01122025_10_09_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":["1397189091","1397189085","1397189094","1397189088","1397189097","1397189102"],"photo_ids_order":["1397189085","1397189088","1397189091","1397189094","1397189097","1397189102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ea193b7428e8846128f65883649ee53b.jpg","text":"TemporaryFile(/tmp/multipartBody2433522570519619505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581523857,"filename":"image_01122025_10_08_54_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e14f8b8abc3a531f1e2dfce7e66582e5.jpg","text":"TemporaryFile(/tmp/multipartBody6027845939780734019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581523857,"filename":"image_01122025_10_08_34_9901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d4bb43bb96a80914aeada66a070c6759.jpg","text":"TemporaryFile(/tmp/multipartBody8267227393608868824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581523857,"filename":"image_01122025_10_09_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/1/4baa4c660eb65bf2f2d7542a45ea4d67.jpg","text":"TemporaryFile(/tmp/multipartBody1378247935661954176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581523857,"filename":"image_01122025_10_08_44_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/1/1e100d6f0199dafd8e866311771b46f1.jpg","text":"TemporaryFile(/tmp/multipartBody5780508361275078765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581523857,"filename":"image_01122025_10_09_14_9939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/292962600b80aaa8dfd7b1f6a24fdca8.jpg","text":"TemporaryFile(/tmp/multipartBody4777441073760435609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581523857,"filename":"image_01122025_10_09_24_9764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397189091","file1":"1397189088","file0":"1397189085","file4":"1397189097","file5":"1397189102","file3":"1397189094"},"map_files_photo_id_array":[{"photo_id":"1397189102","filename":"file5"},{"photo_id":"1397189091","filename":"file2"},{"photo_id":"1397189097","filename":"file4"},{"photo_id":"1397189088","filename":"file1"},{"photo_id":"1397189085","filename":"file0"},{"photo_id":"1397189094","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397189091":["hashtag1","hashtag2"]},{"1397189085":["hashtag1","hashtag2"]},{"1397189094":["hashtag1","hashtag2"]},{"1397189088":["hashtag1","hashtag2"]},{"1397189097":["hashtag1","hashtag2"]},{"1397189102":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397189091, 1397189085, 1397189094, 1397189088, 1397189097, 1397189102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.328673124313354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 10:31:42.376791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_21_2723.jpg', '/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_25_3670.jpg', '/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_28_2721.jpg', '/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_31_2734.jpg', '/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_33_2816.jpg', '/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_37_3583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_21_2723.jpg
/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_25_3670.jpg
/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_28_2721.jpg
/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_31_2734.jpg
/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_33_2816.jpg
/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_37_3583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397189113","1397189119","1397189130","1397189132","1397189123","1397189126"],"photo_ids_order":["1397189113","1397189119","1397189123","1397189126","1397189130","1397189132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3ce0e9b4d2b8b6b192aab63cb6e5ec36.jpg","text":"TemporaryFile(/tmp/multipartBody6570225430382486102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581565055,"filename":"image_31102025_14_05_21_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/16d2600896bc885d49e300b0e728e895.jpg","text":"TemporaryFile(/tmp/multipartBody7267845061876626514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581565055,"filename":"image_31102025_14_05_25_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/1/1b5867598e1549be1030f45a181f440b.jpg","text":"TemporaryFile(/tmp/multipartBody1431165553429308247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581565055,"filename":"image_31102025_14_05_33_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/df0f1edcd74fb992f8840b4ce098a9c1.jpg","text":"TemporaryFile(/tmp/multipartBody8689287145085905535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581565055,"filename":"image_31102025_14_05_37_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3f2bddab699fc2419232dfc4ef555372.jpg","text":"TemporaryFile(/tmp/multipartBody6336982619511691232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581565055,"filename":"image_31102025_14_05_28_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/1/64d8b07cb9be50be139f2dfb2fe49e5f.jpg","text":"TemporaryFile(/tmp/multipartBody890358000078249916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581565055,"filename":"image_31102025_14_05_31_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397189123","file1":"1397189119","file0":"1397189113","file4":"1397189130","file5":"1397189132","file3":"1397189126"},"map_files_photo_id_array":[{"photo_id":"1397189132","filename":"file5"},{"photo_id":"1397189123","filename":"file2"},{"photo_id":"1397189130","filename":"file4"},{"photo_id":"1397189119","filename":"file1"},{"photo_id":"1397189113","filename":"file0"},{"photo_id":"1397189126","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397189113":["hashtag1","hashtag2"]},{"1397189119":["hashtag1","hashtag2"]},{"1397189130":["hashtag1","hashtag2"]},{"1397189132":["hashtag1","hashtag2"]},{"1397189123":["hashtag1","hashtag2"]},{"1397189126":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397189113, 1397189119, 1397189130, 1397189132, 1397189123, 1397189126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23767328262329 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 10:32:22.551065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/09/image_01122025_10_09_34_10686.jpg', '/home/pi/Desktop/images/01122025/10/09/image_01122025_10_09_44_9739.jpg', '/home/pi/Desktop/images/01122025/10/09/image_01122025_10_09_54_9966.jpg', '/home/pi/Desktop/images/01122025/10/11/image_01122025_10_11_13_10037.jpg', '/home/pi/Desktop/images/01122025/10/11/image_01122025_10_11_24_10666.jpg', '/home/pi/Desktop/images/01122025/10/11/image_01122025_10_11_34_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/09/image_01122025_10_09_34_10686.jpg
/home/pi/Desktop/images/01122025/10/09/image_01122025_10_09_44_9739.jpg
/home/pi/Desktop/images/01122025/10/09/image_01122025_10_09_54_9966.jpg
/home/pi/Desktop/images/01122025/10/11/image_01122025_10_11_13_10037.jpg
/home/pi/Desktop/images/01122025/10/11/image_01122025_10_11_24_10666.jpg
/home/pi/Desktop/images/01122025/10/11/image_01122025_10_11_34_9784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397189146","1397189155","1397189139","1397189159","1397189150","1397189141"],"photo_ids_order":["1397189139","1397189141","1397189146","1397189150","1397189155","1397189159"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/116b7f8596dfc39c25d13e47718fbf17.jpg","text":"TemporaryFile(/tmp/multipartBody951563270324723967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581603314,"filename":"image_01122025_10_09_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/1/17be47b45e13881d7e0829f65e89ad1a.jpg","text":"TemporaryFile(/tmp/multipartBody3396654001730402103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581603314,"filename":"image_01122025_10_11_24_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c714559aba86a0dd27bc1c51e0499e9d.jpg","text":"TemporaryFile(/tmp/multipartBody4118412874441067077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581603314,"filename":"image_01122025_10_09_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/1/487a31607461a28282a7b03bdedf4279.jpg","text":"TemporaryFile(/tmp/multipartBody9062077412200128620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581603314,"filename":"image_01122025_10_11_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/1/a641b02827863cbf6865bad1b0518229.jpg","text":"TemporaryFile(/tmp/multipartBody8985468557372778582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581603314,"filename":"image_01122025_10_11_13_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f64c1f664c1410275c772ee33d0091a3.jpg","text":"TemporaryFile(/tmp/multipartBody6326077701567650377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581603314,"filename":"image_01122025_10_09_44_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397189146","file1":"1397189141","file0":"1397189139","file4":"1397189155","file5":"1397189159","file3":"1397189150"},"map_files_photo_id_array":[{"photo_id":"1397189159","filename":"file5"},{"photo_id":"1397189146","filename":"file2"},{"photo_id":"1397189155","filename":"file4"},{"photo_id":"1397189141","filename":"file1"},{"photo_id":"1397189139","filename":"file0"},{"photo_id":"1397189150","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397189146":["hashtag1","hashtag2"]},{"1397189155":["hashtag1","hashtag2"]},{"1397189139":["hashtag1","hashtag2"]},{"1397189159":["hashtag1","hashtag2"]},{"1397189150":["hashtag1","hashtag2"]},{"1397189141":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397189146, 1397189155, 1397189139, 1397189159, 1397189150, 1397189141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.709211111068726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 10:33:03.404797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/11/image_01122025_10_11_43_9560.jpg', '/home/pi/Desktop/images/01122025/10/11/image_01122025_10_11_54_10731.jpg', '/home/pi/Desktop/images/01122025/10/11/image_01122025_10_12_04_9636.jpg', '/home/pi/Desktop/images/01122025/10/12/image_01122025_10_12_13_9691.jpg', '/home/pi/Desktop/images/01122025/10/12/image_01122025_10_12_24_10583.jpg', '/home/pi/Desktop/images/01122025/10/12/image_01122025_10_12_34_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/11/image_01122025_10_11_43_9560.jpg
/home/pi/Desktop/images/01122025/10/11/image_01122025_10_11_54_10731.jpg
/home/pi/Desktop/images/01122025/10/11/image_01122025_10_12_04_9636.jpg
/home/pi/Desktop/images/01122025/10/12/image_01122025_10_12_13_9691.jpg
/home/pi/Desktop/images/01122025/10/12/image_01122025_10_12_24_10583.jpg
/home/pi/Desktop/images/01122025/10/12/image_01122025_10_12_34_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":["1397189170","1397189172","1397189181","1397189177","1397189174","1397189168"],"photo_ids_order":["1397189168","1397189170","1397189172","1397189174","1397189177","1397189181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/542643935665a9fbd17e0f203d40a2df.jpg","text":"TemporaryFile(/tmp/multipartBody5322040467821837420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581644181,"filename":"image_01122025_10_11_54_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/1/eef67356354bf8138c453cc1f12f4c69.jpg","text":"TemporaryFile(/tmp/multipartBody4166160484761526966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581644181,"filename":"image_01122025_10_12_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/1/e979ea6178a858b9adcaf8794d4c660a.jpg","text":"TemporaryFile(/tmp/multipartBody7717968125182892098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581644181,"filename":"image_01122025_10_12_34_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ce54dc8d7384cc6b4c492d4902c0c58a.jpg","text":"TemporaryFile(/tmp/multipartBody6899071503250254481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581644181,"filename":"image_01122025_10_12_24_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/eeb68dccd3f8e7982dfb0a75b606ada1.jpg","text":"TemporaryFile(/tmp/multipartBody6736633114209058097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581644181,"filename":"image_01122025_10_12_13_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/1/f4a6d7be43c6f3c93d430c54d22f376f.jpg","text":"TemporaryFile(/tmp/multipartBody982561812224461654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581644181,"filename":"image_01122025_10_11_43_9560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397189172","file1":"1397189170","file0":"1397189168","file4":"1397189177","file5":"1397189181","file3":"1397189174"},"map_files_photo_id_array":[{"photo_id":"1397189181","filename":"file5"},{"photo_id":"1397189172","filename":"file2"},{"photo_id":"1397189177","filename":"file4"},{"photo_id":"1397189170","filename":"file1"},{"photo_id":"1397189168","filename":"file0"},{"photo_id":"1397189174","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397189170":["hashtag1","hashtag2"]},{"1397189172":["hashtag1","hashtag2"]},{"1397189181":["hashtag1","hashtag2"]},{"1397189177":["hashtag1","hashtag2"]},{"1397189174":["hashtag1","hashtag2"]},{"1397189168":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397189170, 1397189172, 1397189181, 1397189177, 1397189174, 1397189168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92777752876282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 10:33:42.736021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_40_2775.jpg', '/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_42_2718.jpg', '/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_46_3592.jpg', '/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_49_2619.jpg', '/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_51_2790.jpg', '/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_58_3700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_40_2775.jpg
/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_42_2718.jpg
/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_46_3592.jpg
/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_49_2619.jpg
/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_51_2790.jpg
/home/pi/Desktop/images/31102025/14/05/image_31102025_14_05_58_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":["1397189200","1397189202","1397189195","1397189198","1397189201","1397189204"],"photo_ids_order":["1397189195","1397189198","1397189200","1397189201","1397189202","1397189204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/17a10037c1ed724ff2fa11f8ba2d027c.jpg","text":"TemporaryFile(/tmp/multipartBody5395980644127979462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581685436,"filename":"image_31102025_14_05_46_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/1/275bd0b2a9dd4bfa366a243d9a6dbdd1.jpg","text":"TemporaryFile(/tmp/multipartBody6908621171845336647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581685436,"filename":"image_31102025_14_05_51_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/47280ab9f9c0ab80ad669e8b8a864e28.jpg","text":"TemporaryFile(/tmp/multipartBody2657119591713298572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581685436,"filename":"image_31102025_14_05_40_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5c7c5dba3ffb2147393133e1a5e4362f.jpg","text":"TemporaryFile(/tmp/multipartBody4145876716490444939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581685436,"filename":"image_31102025_14_05_42_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/70169acd15150fb2742dbbe6eb20994b.jpg","text":"TemporaryFile(/tmp/multipartBody538571270393128143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581685436,"filename":"image_31102025_14_05_49_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/233438b5f213c8f14eaf6727b4fbf86a.jpg","text":"TemporaryFile(/tmp/multipartBody4137364862155891897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581685436,"filename":"image_31102025_14_05_58_3700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397189200","file1":"1397189198","file0":"1397189195","file4":"1397189202","file5":"1397189204","file3":"1397189201"},"map_files_photo_id_array":[{"photo_id":"1397189204","filename":"file5"},{"photo_id":"1397189200","filename":"file2"},{"photo_id":"1397189202","filename":"file4"},{"photo_id":"1397189198","filename":"file1"},{"photo_id":"1397189195","filename":"file0"},{"photo_id":"1397189201","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397189200":["hashtag1","hashtag2"]},{"1397189202":["hashtag1","hashtag2"]},{"1397189195":["hashtag1","hashtag2"]},{"1397189198":["hashtag1","hashtag2"]},{"1397189201":["hashtag1","hashtag2"]},{"1397189204":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397189200, 1397189202, 1397189195, 1397189198, 1397189201, 1397189204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50311326980591 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-01 10:34:31.999804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/22/image_25112025_22_23_00_1661.jpg', '/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_02_1555.jpg', '/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_05_2749.jpg', '/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_07_2586.jpg', '/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_11_3618.jpg', '/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_13_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/22/image_25112025_22_23_00_1661.jpg
/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_02_1555.jpg
/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_05_2749.jpg
/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_07_2586.jpg
/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_11_3618.jpg
/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_13_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":["1397189227","1397189229","1397189223","1397189232","1397189234","1397189219"],"photo_ids_order":["1397189219","1397189223","1397189227","1397189229","1397189232","1397189234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/91d777969ee97572ceae0abe5860bde1.jpg","text":"TemporaryFile(/tmp/multipartBody7439989197354273794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581733726,"filename":"image_25112025_22_23_05_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/1/a69b233acf8395814a4d1961196ef0ae.jpg","text":"TemporaryFile(/tmp/multipartBody868915639790225894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581733726,"filename":"image_25112025_22_23_07_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/1/67f0c1fa8887878c92adee4c8da93a0b.jpg","text":"TemporaryFile(/tmp/multipartBody5879394510585207256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581733726,"filename":"image_25112025_22_23_02_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/1/842d3df3c1cda06dd379497f866b43b7.jpg","text":"TemporaryFile(/tmp/multipartBody5675332504624620124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581733726,"filename":"image_25112025_22_23_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/1/265bc71f8fc3a41be5a40bc6bc43e34d.jpg","text":"TemporaryFile(/tmp/multipartBody218086874619381392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581733726,"filename":"image_25112025_22_23_13_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/1/114f530760aba22b84004cb77a66dac8.jpg","text":"TemporaryFile(/tmp/multipartBody3321977700584579279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581733726,"filename":"image_25112025_22_23_00_1661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397189227","file1":"1397189223","file0":"1397189219","file4":"1397189232","file5":"1397189234","file3":"1397189229"},"map_files_photo_id_array":[{"photo_id":"1397189234","filename":"file5"},{"photo_id":"1397189227","filename":"file2"},{"photo_id":"1397189232","filename":"file4"},{"photo_id":"1397189223","filename":"file1"},{"photo_id":"1397189219","filename":"file0"},{"photo_id":"1397189229","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397189227":["hashtag1","hashtag2"]},{"1397189229":["hashtag1","hashtag2"]},{"1397189223":["hashtag1","hashtag2"]},{"1397189232":["hashtag1","hashtag2"]},{"1397189234":["hashtag1","hashtag2"]},{"1397189219":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397189227, 1397189229, 1397189223, 1397189232, 1397189234, 1397189219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.354960918426514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 10:35:12.031097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_16_2780.jpg', '/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_19_2745.jpg', '/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_23_3760.jpg', '/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_28_2769.jpg', '/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_32_3413.jpg', '/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_34_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_16_2780.jpg
/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_19_2745.jpg
/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_23_3760.jpg
/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_28_2769.jpg
/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_32_3413.jpg
/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_34_2572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397189257","1397189236","1397189241","1397189238","1397189252","1397189246"],"photo_ids_order":["1397189236","1397189238","1397189241","1397189246","1397189252","1397189257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d2ffdca4172e532607bec5566b548c12.jpg","text":"TemporaryFile(/tmp/multipartBody7187728784109371301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581773662,"filename":"image_25112025_22_23_34_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/1/f4c69ec7b6874d342559d9cbb3869981.jpg","text":"TemporaryFile(/tmp/multipartBody1554527784440314796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581773662,"filename":"image_25112025_22_23_16_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/1/57a4aadd34560000a424b866e07e08a2.jpg","text":"TemporaryFile(/tmp/multipartBody7302840000734129223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581773662,"filename":"image_25112025_22_23_23_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/1/5cdb615545c42f8e8685b60c33c547d6.jpg","text":"TemporaryFile(/tmp/multipartBody4986427478138237971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581773662,"filename":"image_25112025_22_23_19_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f5f662057d83ca36481369ce37d212b9.jpg","text":"TemporaryFile(/tmp/multipartBody1825302392096780614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581773662,"filename":"image_25112025_22_23_32_3413.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/54e309d9fa6fa6cdb4c384cb61322e99.jpg","text":"TemporaryFile(/tmp/multipartBody3400046553104702222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581773662,"filename":"image_25112025_22_23_28_2769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397189241","file1":"1397189238","file0":"1397189236","file4":"1397189252","file5":"1397189257","file3":"1397189246"},"map_files_photo_id_array":[{"photo_id":"1397189257","filename":"file5"},{"photo_id":"1397189241","filename":"file2"},{"photo_id":"1397189252","filename":"file4"},{"photo_id":"1397189238","filename":"file1"},{"photo_id":"1397189236","filename":"file0"},{"photo_id":"1397189246","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397189257":["hashtag1","hashtag2"]},{"1397189236":["hashtag1","hashtag2"]},{"1397189241":["hashtag1","hashtag2"]},{"1397189238":["hashtag1","hashtag2"]},{"1397189252":["hashtag1","hashtag2"]},{"1397189246":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397189257, 1397189236, 1397189241, 1397189238, 1397189252, 1397189246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.53365683555603 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 10:36:02.655010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/12/image_01122025_10_12_43_9809.jpg', '/home/pi/Desktop/images/01122025/10/12/image_01122025_10_12_54_10600.jpg', '/home/pi/Desktop/images/01122025/10/12/image_01122025_10_13_04_9745.jpg', '/home/pi/Desktop/images/01122025/10/13/image_01122025_10_13_13_9559.jpg', '/home/pi/Desktop/images/01122025/10/13/image_01122025_10_13_24_10691.jpg', '/home/pi/Desktop/images/01122025/10/13/image_01122025_10_13_34_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/12/image_01122025_10_12_43_9809.jpg
/home/pi/Desktop/images/01122025/10/12/image_01122025_10_12_54_10600.jpg
/home/pi/Desktop/images/01122025/10/12/image_01122025_10_13_04_9745.jpg
/home/pi/Desktop/images/01122025/10/13/image_01122025_10_13_13_9559.jpg
/home/pi/Desktop/images/01122025/10/13/image_01122025_10_13_24_10691.jpg
/home/pi/Desktop/images/01122025/10/13/image_01122025_10_13_34_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":["1397189271","1397189280","1397189274","1397189276","1397189285","1397189273"],"photo_ids_order":["1397189271","1397189273","1397189274","1397189276","1397189280","1397189285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dae31f250d53b90366f47d21ed19fde3.jpg","text":"TemporaryFile(/tmp/multipartBody154368604756282495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581823378,"filename":"image_01122025_10_12_43_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/1/0548923b4c61215d9e24d5563e0ee5c8.jpg","text":"TemporaryFile(/tmp/multipartBody1601584410330601528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581823378,"filename":"image_01122025_10_13_24_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cadcf045c671c516ca2fa9a7f2f2eb76.jpg","text":"TemporaryFile(/tmp/multipartBody5022354041179962628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581823378,"filename":"image_01122025_10_13_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/1/e69b04911d0c23bb31f8e87edba315c5.jpg","text":"TemporaryFile(/tmp/multipartBody9175213119494159515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581823378,"filename":"image_01122025_10_13_13_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/1/3cda9eba3cfaa8875dd792cabd961703.jpg","text":"TemporaryFile(/tmp/multipartBody6163338474030085185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581823378,"filename":"image_01122025_10_13_34_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7084f9665fc9135b1dae5edc782c080b.jpg","text":"TemporaryFile(/tmp/multipartBody6604427463331642547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581823378,"filename":"image_01122025_10_12_54_10600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397189274","file1":"1397189273","file0":"1397189271","file4":"1397189280","file5":"1397189285","file3":"1397189276"},"map_files_photo_id_array":[{"photo_id":"1397189285","filename":"file5"},{"photo_id":"1397189274","filename":"file2"},{"photo_id":"1397189280","filename":"file4"},{"photo_id":"1397189273","filename":"file1"},{"photo_id":"1397189271","filename":"file0"},{"photo_id":"1397189276","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397189271":["hashtag1","hashtag2"]},{"1397189280":["hashtag1","hashtag2"]},{"1397189274":["hashtag1","hashtag2"]},{"1397189276":["hashtag1","hashtag2"]},{"1397189285":["hashtag1","hashtag2"]},{"1397189273":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397189271, 1397189280, 1397189274, 1397189276, 1397189285, 1397189273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27026724815369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 10:36:42.252716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_01_2721.jpg', '/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_04_2852.jpg', '/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_07_3592.jpg', '/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_10_2746.jpg', '/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_12_2569.jpg', '/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_15_2742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_01_2721.jpg
/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_04_2852.jpg
/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_07_3592.jpg
/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_10_2746.jpg
/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_12_2569.jpg
/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_15_2742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397189306","1397189308","1397189310","1397189304","1397189312","1397189300"],"photo_ids_order":["1397189300","1397189304","1397189306","1397189308","1397189310","1397189312"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5d4520f461f482e7f7463ed7fb0e6e0d.jpg","text":"TemporaryFile(/tmp/multipartBody1512128299622972650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581864921,"filename":"image_31102025_14_06_07_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/1/86774bb2556a0880b1c170b61c27c279.jpg","text":"TemporaryFile(/tmp/multipartBody5901331765987960591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581864921,"filename":"image_31102025_14_06_10_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/1/d0cb63655621a73b2b999a933dc7dba2.jpg","text":"TemporaryFile(/tmp/multipartBody3039602100120337762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581864921,"filename":"image_31102025_14_06_12_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/1/4cba01bf1fe95dbb8ad2d79056366c79.jpg","text":"TemporaryFile(/tmp/multipartBody1513729712460885697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581864921,"filename":"image_31102025_14_06_04_2852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/46d40fd6d08ed214964732c81361ed2c.jpg","text":"TemporaryFile(/tmp/multipartBody7491457790118466983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581864921,"filename":"image_31102025_14_06_15_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9ae3f257c1a2ec9ef2addb7c363fd8a4.jpg","text":"TemporaryFile(/tmp/multipartBody4348911654270212154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581864921,"filename":"image_31102025_14_06_01_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397189306","file1":"1397189304","file0":"1397189300","file4":"1397189310","file5":"1397189312","file3":"1397189308"},"map_files_photo_id_array":[{"photo_id":"1397189312","filename":"file5"},{"photo_id":"1397189306","filename":"file2"},{"photo_id":"1397189310","filename":"file4"},{"photo_id":"1397189304","filename":"file1"},{"photo_id":"1397189300","filename":"file0"},{"photo_id":"1397189308","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397189306":["hashtag1","hashtag2"]},{"1397189308":["hashtag1","hashtag2"]},{"1397189310":["hashtag1","hashtag2"]},{"1397189304":["hashtag1","hashtag2"]},{"1397189312":["hashtag1","hashtag2"]},{"1397189300":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397189306, 1397189308, 1397189310, 1397189304, 1397189312, 1397189300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.98931002616882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 10:37:32.564091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_37_2665.jpg', '/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_40_3634.jpg', '/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_43_2523.jpg', '/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_47_3524.jpg', '/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_49_2602.jpg', '/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_52_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_37_2665.jpg
/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_40_3634.jpg
/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_43_2523.jpg
/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_47_3524.jpg
/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_49_2602.jpg
/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_52_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":["1397189359","1397189391","1397189355","1397189343","1397189399","1397189363"],"photo_ids_order":["1397189343","1397189355","1397189359","1397189363","1397189391","1397189399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c939964d02794c2c5e5820e6ab9ef8ec.jpg","text":"TemporaryFile(/tmp/multipartBody7922831217372246866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581914377,"filename":"image_25112025_22_23_43_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1511cf50ebcb9fa2a695aff7445dce78.jpg","text":"TemporaryFile(/tmp/multipartBody6509893262308054532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581914377,"filename":"image_25112025_22_23_49_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/1/e4d4b12dc270a7218146715a71731053.jpg","text":"TemporaryFile(/tmp/multipartBody2113971798552459666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581914377,"filename":"image_25112025_22_23_40_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/1/713b5e6d68a35a26f1c3cc675eebdec9.jpg","text":"TemporaryFile(/tmp/multipartBody609950144290196078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581914377,"filename":"image_25112025_22_23_37_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/95558859e52f380221678733111e6e9b.jpg","text":"TemporaryFile(/tmp/multipartBody1806972812219472225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581914377,"filename":"image_25112025_22_23_52_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/1/b041ee9fa3c17ffb3bbf2f4b473fb1d4.jpg","text":"TemporaryFile(/tmp/multipartBody1885950032299587560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581914377,"filename":"image_25112025_22_23_47_3524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397189359","file1":"1397189355","file0":"1397189343","file4":"1397189391","file5":"1397189399","file3":"1397189363"},"map_files_photo_id_array":[{"photo_id":"1397189399","filename":"file5"},{"photo_id":"1397189359","filename":"file2"},{"photo_id":"1397189391","filename":"file4"},{"photo_id":"1397189355","filename":"file1"},{"photo_id":"1397189343","filename":"file0"},{"photo_id":"1397189363","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397189359":["hashtag1","hashtag2"]},{"1397189391":["hashtag1","hashtag2"]},{"1397189355":["hashtag1","hashtag2"]},{"1397189343":["hashtag1","hashtag2"]},{"1397189399":["hashtag1","hashtag2"]},{"1397189363":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397189359, 1397189391, 1397189355, 1397189343, 1397189399, 1397189363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59457182884216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 10:38:12.762091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_55_3586.jpg', '/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_58_2596.jpg', '/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_02_3602.jpg', '/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_07_2625.jpg', '/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_10_3679.jpg', '/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_13_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_55_3586.jpg
/home/pi/Desktop/images/25112025/22/23/image_25112025_22_23_58_2596.jpg
/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_02_3602.jpg
/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_07_2625.jpg
/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_10_3679.jpg
/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_13_2565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397189421","1397189409","1397189424","1397189418","1397189411","1397189414"],"photo_ids_order":["1397189409","1397189411","1397189414","1397189418","1397189421","1397189424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3d543ef77519612487766536f2f15a00.jpg","text":"TemporaryFile(/tmp/multipartBody5907818670061933168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581954405,"filename":"image_25112025_22_24_10_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/1/fdf3554fae775ceb1a5820007283e8dd.jpg","text":"TemporaryFile(/tmp/multipartBody8585217026931260549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581954405,"filename":"image_25112025_22_23_55_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/1/e921fad072b6c00f2e3a0793087b8010.jpg","text":"TemporaryFile(/tmp/multipartBody7582664178473848922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581954405,"filename":"image_25112025_22_24_13_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/1/405ed48840c35da35c7fd5c8c240f868.jpg","text":"TemporaryFile(/tmp/multipartBody1548026193554135926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581954405,"filename":"image_25112025_22_24_07_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/385da883a1bce828b3254b943da48c2c.jpg","text":"TemporaryFile(/tmp/multipartBody3530933116538006716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581954405,"filename":"image_25112025_22_23_58_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/1/de60bc92cd322c91a5c53dd2c0cdc1b7.jpg","text":"TemporaryFile(/tmp/multipartBody6992405395427374904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764581954405,"filename":"image_25112025_22_24_02_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397189414","file1":"1397189411","file0":"1397189409","file4":"1397189421","file5":"1397189424","file3":"1397189418"},"map_files_photo_id_array":[{"photo_id":"1397189424","filename":"file5"},{"photo_id":"1397189414","filename":"file2"},{"photo_id":"1397189421","filename":"file4"},{"photo_id":"1397189411","filename":"file1"},{"photo_id":"1397189409","filename":"file0"},{"photo_id":"1397189418","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397189421":["hashtag1","hashtag2"]},{"1397189409":["hashtag1","hashtag2"]},{"1397189424":["hashtag1","hashtag2"]},{"1397189418":["hashtag1","hashtag2"]},{"1397189411":["hashtag1","hashtag2"]},{"1397189414":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397189421, 1397189409, 1397189424, 1397189418, 1397189411, 1397189414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33565616607666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 10:39:02.463309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/13/image_01122025_10_13_43_9777.jpg', '/home/pi/Desktop/images/01122025/10/13/image_01122025_10_13_53_9820.jpg', '/home/pi/Desktop/images/01122025/10/13/image_01122025_10_14_04_10699.jpg', '/home/pi/Desktop/images/01122025/10/14/image_01122025_10_14_14_9725.jpg', '/home/pi/Desktop/images/01122025/10/14/image_01122025_10_14_24_9926.jpg', '/home/pi/Desktop/images/01122025/10/14/image_01122025_10_14_33_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/13/image_01122025_10_13_43_9777.jpg
/home/pi/Desktop/images/01122025/10/13/image_01122025_10_13_53_9820.jpg
/home/pi/Desktop/images/01122025/10/13/image_01122025_10_14_04_10699.jpg
/home/pi/Desktop/images/01122025/10/14/image_01122025_10_14_14_9725.jpg
/home/pi/Desktop/images/01122025/10/14/image_01122025_10_14_24_9926.jpg
/home/pi/Desktop/images/01122025/10/14/image_01122025_10_14_33_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":["1397189458","1397189466","1397189469","1397189474","1397189471","1397189479"],"photo_ids_order":["1397189458","1397189466","1397189469","1397189471","1397189474","1397189479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/005e64da24e06960cb48d69b586cca08.jpg","text":"TemporaryFile(/tmp/multipartBody4958558113159187017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582003336,"filename":"image_01122025_10_13_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/1/3cedf82b66c2664a385294508bc9793a.jpg","text":"TemporaryFile(/tmp/multipartBody7608242432026827148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582003336,"filename":"image_01122025_10_13_53_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/1/9bc41fe868f0427802ca793248ec030b.jpg","text":"TemporaryFile(/tmp/multipartBody2580469030526684944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582003336,"filename":"image_01122025_10_14_04_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/1/74e47fa212d3e43e0bd8bbf23189bda2.jpg","text":"TemporaryFile(/tmp/multipartBody8146071128630400279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582003336,"filename":"image_01122025_10_14_24_9926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/da189cb0cd05a8bcc551e4e2b5538c99.jpg","text":"TemporaryFile(/tmp/multipartBody7770793373431309204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582003336,"filename":"image_01122025_10_14_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/1/152abeaca6ddc4e9a23a3b09dfd9525d.jpg","text":"TemporaryFile(/tmp/multipartBody6906110846966989327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582003336,"filename":"image_01122025_10_14_33_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397189469","file1":"1397189466","file0":"1397189458","file4":"1397189474","file5":"1397189479","file3":"1397189471"},"map_files_photo_id_array":[{"photo_id":"1397189479","filename":"file5"},{"photo_id":"1397189469","filename":"file2"},{"photo_id":"1397189474","filename":"file4"},{"photo_id":"1397189466","filename":"file1"},{"photo_id":"1397189458","filename":"file0"},{"photo_id":"1397189471","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397189458":["hashtag1","hashtag2"]},{"1397189466":["hashtag1","hashtag2"]},{"1397189469":["hashtag1","hashtag2"]},{"1397189474":["hashtag1","hashtag2"]},{"1397189471":["hashtag1","hashtag2"]},{"1397189479":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397189458, 1397189466, 1397189469, 1397189474, 1397189471, 1397189479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.701709270477295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 10:39:42.031610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_19_3764.jpg', '/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_22_2630.jpg', '/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_24_2639.jpg', '/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_28_3667.jpg', '/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_30_2604.jpg', '/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_33_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_19_3764.jpg
/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_22_2630.jpg
/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_24_2639.jpg
/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_28_3667.jpg
/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_30_2604.jpg
/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_33_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":["1397189494","1397189496","1397189500","1397189493","1397189489","1397189498"],"photo_ids_order":["1397189489","1397189493","1397189494","1397189496","1397189498","1397189500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/41a138b8c07e7d15c7812372db0ffaa5.jpg","text":"TemporaryFile(/tmp/multipartBody1948822662961108721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582044716,"filename":"image_31102025_14_06_24_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/66630eb7860d9ce7e33286759e3d594f.jpg","text":"TemporaryFile(/tmp/multipartBody5806576942485904055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582044716,"filename":"image_31102025_14_06_28_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a996f6480ef153a8a304aa8d6bf38b5a.jpg","text":"TemporaryFile(/tmp/multipartBody3914887744493855608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582044716,"filename":"image_31102025_14_06_33_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/1/cd7c69683c3af7e1153b5768621acf1c.jpg","text":"TemporaryFile(/tmp/multipartBody4840184565126027879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582044716,"filename":"image_31102025_14_06_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/1/13f9130020bfcfc67869dec5e9e4ba20.jpg","text":"TemporaryFile(/tmp/multipartBody1916517962800668450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582044716,"filename":"image_31102025_14_06_19_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/1/995eeabe1c1f619f400dcd75782ec4ca.jpg","text":"TemporaryFile(/tmp/multipartBody6373825040494977437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582044716,"filename":"image_31102025_14_06_30_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397189494","file1":"1397189493","file0":"1397189489","file4":"1397189498","file5":"1397189500","file3":"1397189496"},"map_files_photo_id_array":[{"photo_id":"1397189500","filename":"file5"},{"photo_id":"1397189494","filename":"file2"},{"photo_id":"1397189498","filename":"file4"},{"photo_id":"1397189493","filename":"file1"},{"photo_id":"1397189489","filename":"file0"},{"photo_id":"1397189496","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397189494":["hashtag1","hashtag2"]},{"1397189496":["hashtag1","hashtag2"]},{"1397189500":["hashtag1","hashtag2"]},{"1397189493":["hashtag1","hashtag2"]},{"1397189489":["hashtag1","hashtag2"]},{"1397189498":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397189494, 1397189496, 1397189500, 1397189493, 1397189489, 1397189498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9036066532135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 10:40:22.291791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/14/image_01122025_10_14_44_10832.jpg', '/home/pi/Desktop/images/01122025/10/14/image_01122025_10_14_54_9801.jpg', '/home/pi/Desktop/images/01122025/10/16/image_01122025_10_16_14_10038.jpg', '/home/pi/Desktop/images/01122025/10/16/image_01122025_10_16_24_10639.jpg', '/home/pi/Desktop/images/01122025/10/16/image_01122025_10_16_34_9792.jpg', '/home/pi/Desktop/images/01122025/10/16/image_01122025_10_16_44_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/14/image_01122025_10_14_44_10832.jpg
/home/pi/Desktop/images/01122025/10/14/image_01122025_10_14_54_9801.jpg
/home/pi/Desktop/images/01122025/10/16/image_01122025_10_16_14_10038.jpg
/home/pi/Desktop/images/01122025/10/16/image_01122025_10_16_24_10639.jpg
/home/pi/Desktop/images/01122025/10/16/image_01122025_10_16_34_9792.jpg
/home/pi/Desktop/images/01122025/10/16/image_01122025_10_16_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":["1397189518","1397189547","1397189540","1397189522","1397189525","1397189507"],"photo_ids_order":["1397189507","1397189518","1397189522","1397189525","1397189540","1397189547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5ce8f8608f16957e3b4938b39b245e28.jpg","text":"TemporaryFile(/tmp/multipartBody2549226763838696079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582083012,"filename":"image_01122025_10_14_54_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e2227b7d954eed7b89a862fc1d4f79cb.jpg","text":"TemporaryFile(/tmp/multipartBody7037718877749390093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582083012,"filename":"image_01122025_10_16_44_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6b89c4fda291ee1a597254f7ada96b9f.jpg","text":"TemporaryFile(/tmp/multipartBody7323066407381471727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582083012,"filename":"image_01122025_10_16_34_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2146473aa56e9b08c45a56f667646abe.jpg","text":"TemporaryFile(/tmp/multipartBody1280239635222143645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582083012,"filename":"image_01122025_10_16_14_10038.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/62dbc4a2dd3ce55069be0cc344eb0f00.jpg","text":"TemporaryFile(/tmp/multipartBody8619127198486638402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582083012,"filename":"image_01122025_10_16_24_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f91880b20cbb0e10665be7d966e635d9.jpg","text":"TemporaryFile(/tmp/multipartBody5246375534534370475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582083012,"filename":"image_01122025_10_14_44_10832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397189522","file1":"1397189518","file0":"1397189507","file4":"1397189540","file5":"1397189547","file3":"1397189525"},"map_files_photo_id_array":[{"photo_id":"1397189547","filename":"file5"},{"photo_id":"1397189522","filename":"file2"},{"photo_id":"1397189540","filename":"file4"},{"photo_id":"1397189518","filename":"file1"},{"photo_id":"1397189507","filename":"file0"},{"photo_id":"1397189525","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397189518":["hashtag1","hashtag2"]},{"1397189547":["hashtag1","hashtag2"]},{"1397189540":["hashtag1","hashtag2"]},{"1397189522":["hashtag1","hashtag2"]},{"1397189525":["hashtag1","hashtag2"]},{"1397189507":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397189518, 1397189547, 1397189540, 1397189522, 1397189525, 1397189507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13027882575989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 10:41:03.026844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/16/image_01122025_10_16_54_10702.jpg', '/home/pi/Desktop/images/01122025/10/16/image_01122025_10_17_04_9625.jpg', '/home/pi/Desktop/images/01122025/10/17/image_01122025_10_17_14_9626.jpg', '/home/pi/Desktop/images/01122025/10/17/image_01122025_10_17_24_10775.jpg', '/home/pi/Desktop/images/01122025/10/17/image_01122025_10_17_34_9673.jpg', '/home/pi/Desktop/images/01122025/10/17/image_01122025_10_17_44_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/16/image_01122025_10_16_54_10702.jpg
/home/pi/Desktop/images/01122025/10/16/image_01122025_10_17_04_9625.jpg
/home/pi/Desktop/images/01122025/10/17/image_01122025_10_17_14_9626.jpg
/home/pi/Desktop/images/01122025/10/17/image_01122025_10_17_24_10775.jpg
/home/pi/Desktop/images/01122025/10/17/image_01122025_10_17_34_9673.jpg
/home/pi/Desktop/images/01122025/10/17/image_01122025_10_17_44_9621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397189566","1397189575","1397189560","1397189563","1397189571","1397189568"],"photo_ids_order":["1397189560","1397189563","1397189566","1397189568","1397189571","1397189575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9fa62fef3c538752a3a94be85a3773e5.jpg","text":"TemporaryFile(/tmp/multipartBody2949949861012377992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582123824,"filename":"image_01122025_10_17_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/1/67986ce86b75f0e10f14532b6687158e.jpg","text":"TemporaryFile(/tmp/multipartBody2503420174200776712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582123824,"filename":"image_01122025_10_17_44_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d4e17bfacb20eae140f826ccecf026b6.jpg","text":"TemporaryFile(/tmp/multipartBody7706121322812755249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582123824,"filename":"image_01122025_10_16_54_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9864a3f6801fa962b97ccebac7fd8e2c.jpg","text":"TemporaryFile(/tmp/multipartBody1177390359937668645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582123824,"filename":"image_01122025_10_17_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/1/1cef7f7cd2bf65b5cb5d25094cd23ce5.jpg","text":"TemporaryFile(/tmp/multipartBody5253681174336468131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582123824,"filename":"image_01122025_10_17_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/1/96714bb7e7aea658cb4172da697313f6.jpg","text":"TemporaryFile(/tmp/multipartBody4387139603584513930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582123824,"filename":"image_01122025_10_17_24_10775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397189566","file1":"1397189563","file0":"1397189560","file4":"1397189571","file5":"1397189575","file3":"1397189568"},"map_files_photo_id_array":[{"photo_id":"1397189575","filename":"file5"},{"photo_id":"1397189566","filename":"file2"},{"photo_id":"1397189571","filename":"file4"},{"photo_id":"1397189563","filename":"file1"},{"photo_id":"1397189560","filename":"file0"},{"photo_id":"1397189568","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397189566":["hashtag1","hashtag2"]},{"1397189575":["hashtag1","hashtag2"]},{"1397189560":["hashtag1","hashtag2"]},{"1397189563":["hashtag1","hashtag2"]},{"1397189571":["hashtag1","hashtag2"]},{"1397189568":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397189566, 1397189575, 1397189560, 1397189563, 1397189571, 1397189568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76281213760376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 10:41:42.382728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_40_2774.jpg', '/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_42_2705.jpg', '/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_45_2809.jpg', '/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_49_3652.jpg', '/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_52_2786.jpg', '/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_58_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_40_2774.jpg
/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_42_2705.jpg
/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_45_2809.jpg
/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_49_3652.jpg
/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_52_2786.jpg
/home/pi/Desktop/images/31102025/14/06/image_31102025_14_06_58_3632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397189585","1397189610","1397189604","1397189606","1397189600","1397189599"],"photo_ids_order":["1397189585","1397189599","1397189600","1397189604","1397189606","1397189610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0ccb2a51851b38d559e68cdc643659ed.jpg","text":"TemporaryFile(/tmp/multipartBody7530380246570222721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582165123,"filename":"image_31102025_14_06_40_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/1/31baeb67ea58c077c78cd4c64fb52084.jpg","text":"TemporaryFile(/tmp/multipartBody549260270814000016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582165123,"filename":"image_31102025_14_06_58_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/79520646b7e889281ee78b6630592171.jpg","text":"TemporaryFile(/tmp/multipartBody2944626568770175623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582165123,"filename":"image_31102025_14_06_49_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/1/1aa25c43fef3161ec679cc29acacefab.jpg","text":"TemporaryFile(/tmp/multipartBody4529458649267382110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582165123,"filename":"image_31102025_14_06_52_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/1/68f74cb9782e57b60c1088bcfe4f05ab.jpg","text":"TemporaryFile(/tmp/multipartBody6573186017720825889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582165123,"filename":"image_31102025_14_06_45_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/75d33ffed0a5bf849df9c8e84d34d443.jpg","text":"TemporaryFile(/tmp/multipartBody5044339771807344693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582165123,"filename":"image_31102025_14_06_42_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397189600","file1":"1397189599","file0":"1397189585","file4":"1397189606","file5":"1397189610","file3":"1397189604"},"map_files_photo_id_array":[{"photo_id":"1397189610","filename":"file5"},{"photo_id":"1397189600","filename":"file2"},{"photo_id":"1397189606","filename":"file4"},{"photo_id":"1397189599","filename":"file1"},{"photo_id":"1397189585","filename":"file0"},{"photo_id":"1397189604","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397189585":["hashtag1","hashtag2"]},{"1397189610":["hashtag1","hashtag2"]},{"1397189604":["hashtag1","hashtag2"]},{"1397189606":["hashtag1","hashtag2"]},{"1397189600":["hashtag1","hashtag2"]},{"1397189599":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397189585, 1397189610, 1397189604, 1397189606, 1397189600, 1397189599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.90304470062256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 10:42:22.562435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/17/image_01122025_10_17_55_10808.jpg', '/home/pi/Desktop/images/01122025/10/17/image_01122025_10_18_04_9716.jpg', '/home/pi/Desktop/images/01122025/10/18/image_01122025_10_18_14_9772.jpg', '/home/pi/Desktop/images/01122025/10/18/image_01122025_10_18_24_9773.jpg', '/home/pi/Desktop/images/01122025/10/18/image_01122025_10_18_34_10598.jpg', '/home/pi/Desktop/images/01122025/10/18/image_01122025_10_18_44_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/17/image_01122025_10_17_55_10808.jpg
/home/pi/Desktop/images/01122025/10/17/image_01122025_10_18_04_9716.jpg
/home/pi/Desktop/images/01122025/10/18/image_01122025_10_18_14_9772.jpg
/home/pi/Desktop/images/01122025/10/18/image_01122025_10_18_24_9773.jpg
/home/pi/Desktop/images/01122025/10/18/image_01122025_10_18_34_10598.jpg
/home/pi/Desktop/images/01122025/10/18/image_01122025_10_18_44_9776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397189632","1397189617","1397189626","1397189643","1397189622","1397189651"],"photo_ids_order":["1397189617","1397189622","1397189626","1397189632","1397189643","1397189651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/76e5a082b9dfd9867d6d9f39c56733c6.jpg","text":"TemporaryFile(/tmp/multipartBody4371232072529049405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582203284,"filename":"image_01122025_10_18_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/1/109cd87d0b6f07447edb7107d1417814.jpg","text":"TemporaryFile(/tmp/multipartBody1458861185088840867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582203284,"filename":"image_01122025_10_17_55_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/1/05a4a85e72b74e20c9cb40d4b14e707d.jpg","text":"TemporaryFile(/tmp/multipartBody2376840831130614210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582203284,"filename":"image_01122025_10_18_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/1/fc2bfc830ee306ae0ee9736ab62cf0e8.jpg","text":"TemporaryFile(/tmp/multipartBody8873020973484612769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582203284,"filename":"image_01122025_10_18_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/1/6ce62141c89ad9cced35132d7db097c1.jpg","text":"TemporaryFile(/tmp/multipartBody100017569883126178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582203284,"filename":"image_01122025_10_18_04_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/39fd8cf06b11c53e0c44f55d11e01a92.jpg","text":"TemporaryFile(/tmp/multipartBody6178491230644886933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582203284,"filename":"image_01122025_10_18_44_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397189626","file1":"1397189622","file0":"1397189617","file4":"1397189643","file5":"1397189651","file3":"1397189632"},"map_files_photo_id_array":[{"photo_id":"1397189651","filename":"file5"},{"photo_id":"1397189626","filename":"file2"},{"photo_id":"1397189643","filename":"file4"},{"photo_id":"1397189622","filename":"file1"},{"photo_id":"1397189617","filename":"file0"},{"photo_id":"1397189632","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397189632":["hashtag1","hashtag2"]},{"1397189617":["hashtag1","hashtag2"]},{"1397189626":["hashtag1","hashtag2"]},{"1397189643":["hashtag1","hashtag2"]},{"1397189622":["hashtag1","hashtag2"]},{"1397189651":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397189632, 1397189617, 1397189626, 1397189643, 1397189622, 1397189651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.003926038742065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 10:43:03.471412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/18/image_01122025_10_18_54_9815.jpg', '/home/pi/Desktop/images/01122025/10/18/image_01122025_10_19_04_9617.jpg', '/home/pi/Desktop/images/01122025/10/19/image_01122025_10_19_14_10717.jpg', '/home/pi/Desktop/images/01122025/10/19/image_01122025_10_19_24_9708.jpg', '/home/pi/Desktop/images/01122025/10/19/image_01122025_10_19_34_9692.jpg', '/home/pi/Desktop/images/01122025/10/19/image_01122025_10_19_44_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/18/image_01122025_10_18_54_9815.jpg
/home/pi/Desktop/images/01122025/10/18/image_01122025_10_19_04_9617.jpg
/home/pi/Desktop/images/01122025/10/19/image_01122025_10_19_14_10717.jpg
/home/pi/Desktop/images/01122025/10/19/image_01122025_10_19_24_9708.jpg
/home/pi/Desktop/images/01122025/10/19/image_01122025_10_19_34_9692.jpg
/home/pi/Desktop/images/01122025/10/19/image_01122025_10_19_44_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397189667","1397189669","1397189660","1397189654","1397189663","1397189657"],"photo_ids_order":["1397189654","1397189657","1397189660","1397189663","1397189667","1397189669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/aa2cedb25d34bc05802c34f154c24da0.jpg","text":"TemporaryFile(/tmp/multipartBody1189629769712812544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582244214,"filename":"image_01122025_10_19_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/1/5f69c4739641bd15d5edda0fe5cc34f8.jpg","text":"TemporaryFile(/tmp/multipartBody156742806144206014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582244214,"filename":"image_01122025_10_19_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/1/41200f310311e0c3fa00c23147edf933.jpg","text":"TemporaryFile(/tmp/multipartBody1681385941314085794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582244214,"filename":"image_01122025_10_19_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/1/65c52c1a75466f3a8de2c48b39d69f58.jpg","text":"TemporaryFile(/tmp/multipartBody443451423924057139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582244214,"filename":"image_01122025_10_18_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/1/2f720a66d7b2cc0bdc3e6c5e09971530.jpg","text":"TemporaryFile(/tmp/multipartBody7766612758574887481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582244214,"filename":"image_01122025_10_19_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/1/a178d3a2d83d7e05290f6ede8a373dc0.jpg","text":"TemporaryFile(/tmp/multipartBody3423328157388937548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582244214,"filename":"image_01122025_10_19_04_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397189660","file1":"1397189657","file0":"1397189654","file4":"1397189667","file5":"1397189669","file3":"1397189663"},"map_files_photo_id_array":[{"photo_id":"1397189669","filename":"file5"},{"photo_id":"1397189660","filename":"file2"},{"photo_id":"1397189667","filename":"file4"},{"photo_id":"1397189657","filename":"file1"},{"photo_id":"1397189654","filename":"file0"},{"photo_id":"1397189663","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397189667":["hashtag1","hashtag2"]},{"1397189669":["hashtag1","hashtag2"]},{"1397189660":["hashtag1","hashtag2"]},{"1397189654":["hashtag1","hashtag2"]},{"1397189663":["hashtag1","hashtag2"]},{"1397189657":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397189667, 1397189669, 1397189660, 1397189654, 1397189663, 1397189657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03308153152466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 10:43:42.783001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_04_2740.jpg', '/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_06_2592.jpg', '/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_10_3788.jpg', '/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_13_2650.jpg', '/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_15_2688.jpg', '/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_19_3636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_04_2740.jpg
/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_06_2592.jpg
/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_10_3788.jpg
/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_13_2650.jpg
/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_15_2688.jpg
/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_19_3636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397189694","1397189697","1397189679","1397189687","1397189681","1397189683"],"photo_ids_order":["1397189679","1397189681","1397189683","1397189687","1397189694","1397189697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/853aa227fe19ad4efd71312366a6765a.jpg","text":"TemporaryFile(/tmp/multipartBody3881201034240159397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582285505,"filename":"image_31102025_14_07_15_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/1/529e8cfc4837657b025958ec75ca69c2.jpg","text":"TemporaryFile(/tmp/multipartBody4950978265839393994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582285505,"filename":"image_31102025_14_07_19_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/1/e2075bce4266857e96b2cbead373c6cf.jpg","text":"TemporaryFile(/tmp/multipartBody5881443007424732690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582285505,"filename":"image_31102025_14_07_04_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/00b2d499e1ca91c68b6c7947388d964a.jpg","text":"TemporaryFile(/tmp/multipartBody7082533392161770576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582285505,"filename":"image_31102025_14_07_13_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/1/777457171423f37fd1c791df59665f16.jpg","text":"TemporaryFile(/tmp/multipartBody2799308104445287063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582285505,"filename":"image_31102025_14_07_06_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/1/38bf4419435f50753be307071032c350.jpg","text":"TemporaryFile(/tmp/multipartBody5697254674374492782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582285505,"filename":"image_31102025_14_07_10_3788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397189683","file1":"1397189681","file0":"1397189679","file4":"1397189694","file5":"1397189697","file3":"1397189687"},"map_files_photo_id_array":[{"photo_id":"1397189697","filename":"file5"},{"photo_id":"1397189683","filename":"file2"},{"photo_id":"1397189694","filename":"file4"},{"photo_id":"1397189681","filename":"file1"},{"photo_id":"1397189679","filename":"file0"},{"photo_id":"1397189687","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397189694":["hashtag1","hashtag2"]},{"1397189697":["hashtag1","hashtag2"]},{"1397189679":["hashtag1","hashtag2"]},{"1397189687":["hashtag1","hashtag2"]},{"1397189681":["hashtag1","hashtag2"]},{"1397189683":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397189694, 1397189697, 1397189679, 1397189687, 1397189681, 1397189683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.08613729476929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 10:44:31.995617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_17_3637.jpg', '/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_19_2641.jpg', '/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_26_3666.jpg', '/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_28_2550.jpg', '/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_32_3562.jpg', '/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_34_2783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_17_3637.jpg
/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_19_2641.jpg
/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_26_3666.jpg
/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_28_2550.jpg
/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_32_3562.jpg
/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_34_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":["1397189728","1397189713","1397189722","1397189716","1397189724","1397189726"],"photo_ids_order":["1397189713","1397189716","1397189722","1397189724","1397189726","1397189728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0c5dc543a1b42fe578652617bcc6feef.jpg","text":"TemporaryFile(/tmp/multipartBody3040750775933729708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582333741,"filename":"image_25112025_22_24_34_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/1/e8f54ca1862d51e200494629a4e21cc6.jpg","text":"TemporaryFile(/tmp/multipartBody801353588906444216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582333741,"filename":"image_25112025_22_24_17_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/1/535b84dfd9a9cf19c6240fe26b954de3.jpg","text":"TemporaryFile(/tmp/multipartBody7699445962435497735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582333741,"filename":"image_25112025_22_24_26_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ee41e15c16ab9b021c40cf52013c1a17.jpg","text":"TemporaryFile(/tmp/multipartBody6834448922709150544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582333741,"filename":"image_25112025_22_24_19_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5967fd20ceb793cc64f610dc933a1f0f.jpg","text":"TemporaryFile(/tmp/multipartBody6541923021909176181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582333741,"filename":"image_25112025_22_24_28_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/1/f4c01853eab951ee1ae1a3395dba5da1.jpg","text":"TemporaryFile(/tmp/multipartBody6475554255674027209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582333741,"filename":"image_25112025_22_24_32_3562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397189722","file1":"1397189716","file0":"1397189713","file4":"1397189726","file5":"1397189728","file3":"1397189724"},"map_files_photo_id_array":[{"photo_id":"1397189728","filename":"file5"},{"photo_id":"1397189722","filename":"file2"},{"photo_id":"1397189726","filename":"file4"},{"photo_id":"1397189716","filename":"file1"},{"photo_id":"1397189713","filename":"file0"},{"photo_id":"1397189724","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397189728":["hashtag1","hashtag2"]},{"1397189713":["hashtag1","hashtag2"]},{"1397189722":["hashtag1","hashtag2"]},{"1397189716":["hashtag1","hashtag2"]},{"1397189724":["hashtag1","hashtag2"]},{"1397189726":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397189728, 1397189713, 1397189722, 1397189716, 1397189724, 1397189726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.66268563270569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 10:45:12.203960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_37_2980.jpg', '/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_40_2621.jpg', '/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_44_3605.jpg', '/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_46_2534.jpg', '/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_49_2671.jpg', '/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_52_3636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_37_2980.jpg
/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_40_2621.jpg
/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_44_3605.jpg
/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_46_2534.jpg
/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_49_2671.jpg
/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_52_3636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397189758","1397189746","1397189749","1397189754","1397189766","1397189762"],"photo_ids_order":["1397189746","1397189749","1397189754","1397189758","1397189762","1397189766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7fbc0e2ed12c3cc7bf4070cc1bffedec.jpg","text":"TemporaryFile(/tmp/multipartBody732673632615680817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582373949,"filename":"image_25112025_22_24_46_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/1/43f02dc10d7e56fc89a7bca361d7c436.jpg","text":"TemporaryFile(/tmp/multipartBody4083230783642636031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582373949,"filename":"image_25112025_22_24_37_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/1/fe0de884f33f5924d8b3258dc397836a.jpg","text":"TemporaryFile(/tmp/multipartBody1489422648998839970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582373949,"filename":"image_25112025_22_24_40_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/38a35c54c7b809d7043e50dc33911c50.jpg","text":"TemporaryFile(/tmp/multipartBody444410930164616254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582373949,"filename":"image_25112025_22_24_44_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/1/65d67f53e031745eb60e1b412af910d5.jpg","text":"TemporaryFile(/tmp/multipartBody6055451898535733832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582373949,"filename":"image_25112025_22_24_52_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/1/26c405fce41d70d25500b0ee5431dd69.jpg","text":"TemporaryFile(/tmp/multipartBody6465332965238666014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582373949,"filename":"image_25112025_22_24_49_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397189754","file1":"1397189749","file0":"1397189746","file4":"1397189762","file5":"1397189766","file3":"1397189758"},"map_files_photo_id_array":[{"photo_id":"1397189766","filename":"file5"},{"photo_id":"1397189754","filename":"file2"},{"photo_id":"1397189762","filename":"file4"},{"photo_id":"1397189749","filename":"file1"},{"photo_id":"1397189746","filename":"file0"},{"photo_id":"1397189758","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397189758":["hashtag1","hashtag2"]},{"1397189746":["hashtag1","hashtag2"]},{"1397189749":["hashtag1","hashtag2"]},{"1397189754":["hashtag1","hashtag2"]},{"1397189766":["hashtag1","hashtag2"]},{"1397189762":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397189758, 1397189746, 1397189749, 1397189754, 1397189766, 1397189762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.025375843048096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 10:46:02.864307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/19/image_01122025_10_19_54_9687.jpg', '/home/pi/Desktop/images/01122025/10/20/image_01122025_10_20_14_10054.jpg', '/home/pi/Desktop/images/01122025/10/20/image_01122025_10_20_25_10699.jpg', '/home/pi/Desktop/images/01122025/10/20/image_01122025_10_20_34_9712.jpg', '/home/pi/Desktop/images/01122025/10/20/image_01122025_10_20_44_9725.jpg', '/home/pi/Desktop/images/01122025/10/20/image_01122025_10_20_55_10528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/19/image_01122025_10_19_54_9687.jpg
/home/pi/Desktop/images/01122025/10/20/image_01122025_10_20_14_10054.jpg
/home/pi/Desktop/images/01122025/10/20/image_01122025_10_20_25_10699.jpg
/home/pi/Desktop/images/01122025/10/20/image_01122025_10_20_34_9712.jpg
/home/pi/Desktop/images/01122025/10/20/image_01122025_10_20_44_9725.jpg
/home/pi/Desktop/images/01122025/10/20/image_01122025_10_20_55_10528.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397189787","1397189796","1397189784","1397189786","1397189780","1397189807"],"photo_ids_order":["1397189780","1397189784","1397189786","1397189787","1397189796","1397189807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/caceb3b5c28a3e7e4b07235797748e92.jpg","text":"TemporaryFile(/tmp/multipartBody9151167767516502019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582423598,"filename":"image_01122025_10_20_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/1/6f16e94c05650aca6da071f19da31e7b.jpg","text":"TemporaryFile(/tmp/multipartBody7838685828256534258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582423598,"filename":"image_01122025_10_20_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/1/fb1a4e9a289160b6c7d7baf02fcf5d5e.jpg","text":"TemporaryFile(/tmp/multipartBody3220808210931944455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582423598,"filename":"image_01122025_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/1/9fec8b9bd029636f2850765fb486b5dd.jpg","text":"TemporaryFile(/tmp/multipartBody1771211547227856103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582423598,"filename":"image_01122025_10_20_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/1/b470d054099521724c5ef4db2e855f26.jpg","text":"TemporaryFile(/tmp/multipartBody1422270474950346545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582423598,"filename":"image_01122025_10_19_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/1/224e54c0ef642ca1a75e39505e364149.jpg","text":"TemporaryFile(/tmp/multipartBody3683607750604667134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582423598,"filename":"image_01122025_10_20_55_10528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397189786","file1":"1397189784","file0":"1397189780","file4":"1397189796","file5":"1397189807","file3":"1397189787"},"map_files_photo_id_array":[{"photo_id":"1397189807","filename":"file5"},{"photo_id":"1397189786","filename":"file2"},{"photo_id":"1397189796","filename":"file4"},{"photo_id":"1397189784","filename":"file1"},{"photo_id":"1397189780","filename":"file0"},{"photo_id":"1397189787","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397189787":["hashtag1","hashtag2"]},{"1397189796":["hashtag1","hashtag2"]},{"1397189784":["hashtag1","hashtag2"]},{"1397189786":["hashtag1","hashtag2"]},{"1397189780":["hashtag1","hashtag2"]},{"1397189807":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397189787, 1397189796, 1397189784, 1397189786, 1397189780, 1397189807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99443864822388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 10:46:42.441998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_22_2673.jpg', '/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_24_2720.jpg', '/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_27_2902.jpg', '/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_31_3672.jpg', '/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_36_2676.jpg', '/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_39_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_22_2673.jpg
/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_24_2720.jpg
/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_27_2902.jpg
/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_31_3672.jpg
/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_36_2676.jpg
/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_39_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":["1397189839","1397189833","1397189836","1397189841","1397189844","1397189838"],"photo_ids_order":["1397189833","1397189836","1397189838","1397189839","1397189841","1397189844"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/039067382694051f1cf8850f94dd2879.jpg","text":"TemporaryFile(/tmp/multipartBody8354237558427504867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582465117,"filename":"image_31102025_14_07_31_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/508393f5045f467e4d99b0b284775c6d.jpg","text":"TemporaryFile(/tmp/multipartBody3059379420963595509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582465117,"filename":"image_31102025_14_07_22_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/1/c3e3a9e25d384c2a360fddc5d076b1e6.jpg","text":"TemporaryFile(/tmp/multipartBody1026179334154464646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582465117,"filename":"image_31102025_14_07_24_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/1/762a1209904d54da32fc740c07d9cdac.jpg","text":"TemporaryFile(/tmp/multipartBody3597719719814703128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582465117,"filename":"image_31102025_14_07_36_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/1/2cd74c216ca60116c42e27c54db683f9.jpg","text":"TemporaryFile(/tmp/multipartBody1675095023852736727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582465117,"filename":"image_31102025_14_07_39_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/16dc336c5fbf149853dc1d8573dc86f2.jpg","text":"TemporaryFile(/tmp/multipartBody8039645415537995574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582465117,"filename":"image_31102025_14_07_27_2902.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397189838","file1":"1397189836","file0":"1397189833","file4":"1397189841","file5":"1397189844","file3":"1397189839"},"map_files_photo_id_array":[{"photo_id":"1397189844","filename":"file5"},{"photo_id":"1397189838","filename":"file2"},{"photo_id":"1397189841","filename":"file4"},{"photo_id":"1397189836","filename":"file1"},{"photo_id":"1397189833","filename":"file0"},{"photo_id":"1397189839","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397189839":["hashtag1","hashtag2"]},{"1397189833":["hashtag1","hashtag2"]},{"1397189836":["hashtag1","hashtag2"]},{"1397189841":["hashtag1","hashtag2"]},{"1397189844":["hashtag1","hashtag2"]},{"1397189838":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397189839, 1397189833, 1397189836, 1397189841, 1397189844, 1397189838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23077869415283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 10:47:22.588199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/20/image_01122025_10_21_04_9679.jpg', '/home/pi/Desktop/images/01122025/10/21/image_01122025_10_21_14_9792.jpg', '/home/pi/Desktop/images/01122025/10/21/image_01122025_10_21_25_10643.jpg', '/home/pi/Desktop/images/01122025/10/21/image_01122025_10_21_35_9942.jpg', '/home/pi/Desktop/images/01122025/10/21/image_01122025_10_21_44_9664.jpg', '/home/pi/Desktop/images/01122025/10/21/image_01122025_10_21_54_9916.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/20/image_01122025_10_21_04_9679.jpg
/home/pi/Desktop/images/01122025/10/21/image_01122025_10_21_14_9792.jpg
/home/pi/Desktop/images/01122025/10/21/image_01122025_10_21_25_10643.jpg
/home/pi/Desktop/images/01122025/10/21/image_01122025_10_21_35_9942.jpg
/home/pi/Desktop/images/01122025/10/21/image_01122025_10_21_44_9664.jpg
/home/pi/Desktop/images/01122025/10/21/image_01122025_10_21_54_9916.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397189880","1397189868","1397189853","1397189897","1397189894","1397189888"],"photo_ids_order":["1397189853","1397189868","1397189880","1397189888","1397189894","1397189897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/091c0c54831a519d73ca7b7c56183520.jpg","text":"TemporaryFile(/tmp/multipartBody7978850643499604424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582503306,"filename":"image_01122025_10_21_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/1/c994c5e54a8e141a9932b79409ea3083.jpg","text":"TemporaryFile(/tmp/multipartBody919528292998593254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582503306,"filename":"image_01122025_10_21_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/1/d97baa50a92da4c4a7c32b544e09bead.jpg","text":"TemporaryFile(/tmp/multipartBody3814862715339577006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582503306,"filename":"image_01122025_10_21_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/1/3de31ed5ddaa5d9b094d6d09fa680168.jpg","text":"TemporaryFile(/tmp/multipartBody7838957630510093111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582503306,"filename":"image_01122025_10_21_54_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/1/a076c789ba7e6fc1618eee5bb5243287.jpg","text":"TemporaryFile(/tmp/multipartBody7398614797939484230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582503306,"filename":"image_01122025_10_21_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/1/43d5f5bf395f50658b9cb15f254d79f7.jpg","text":"TemporaryFile(/tmp/multipartBody2115418054649520757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582503306,"filename":"image_01122025_10_21_35_9942.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397189880","file1":"1397189868","file0":"1397189853","file4":"1397189894","file5":"1397189897","file3":"1397189888"},"map_files_photo_id_array":[{"photo_id":"1397189897","filename":"file5"},{"photo_id":"1397189880","filename":"file2"},{"photo_id":"1397189894","filename":"file4"},{"photo_id":"1397189868","filename":"file1"},{"photo_id":"1397189853","filename":"file0"},{"photo_id":"1397189888","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397189880":["hashtag1","hashtag2"]},{"1397189868":["hashtag1","hashtag2"]},{"1397189853":["hashtag1","hashtag2"]},{"1397189897":["hashtag1","hashtag2"]},{"1397189894":["hashtag1","hashtag2"]},{"1397189888":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397189880, 1397189868, 1397189853, 1397189897, 1397189894, 1397189888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64326548576355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 10:48:03.232117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/21/image_01122025_10_22_04_9859.jpg', '/home/pi/Desktop/images/01122025/10/22/image_01122025_10_22_15_10636.jpg', '/home/pi/Desktop/images/01122025/10/22/image_01122025_10_22_24_9760.jpg', '/home/pi/Desktop/images/01122025/10/22/image_01122025_10_22_34_9671.jpg', '/home/pi/Desktop/images/01122025/10/22/image_01122025_10_22_45_10629.jpg', '/home/pi/Desktop/images/01122025/10/22/image_01122025_10_22_55_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/21/image_01122025_10_22_04_9859.jpg
/home/pi/Desktop/images/01122025/10/22/image_01122025_10_22_15_10636.jpg
/home/pi/Desktop/images/01122025/10/22/image_01122025_10_22_24_9760.jpg
/home/pi/Desktop/images/01122025/10/22/image_01122025_10_22_34_9671.jpg
/home/pi/Desktop/images/01122025/10/22/image_01122025_10_22_45_10629.jpg
/home/pi/Desktop/images/01122025/10/22/image_01122025_10_22_55_9809.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.633002519607544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 10:48:12.653077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_55_2750.jpg', '/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_58_2756.jpg', '/home/pi/Desktop/images/25112025/22/25/image_25112025_22_25_07_3010.jpg', '/home/pi/Desktop/images/25112025/22/25/image_25112025_22_25_11_3693.jpg', '/home/pi/Desktop/images/25112025/22/25/image_25112025_22_25_16_2594.jpg', '/home/pi/Desktop/images/25112025/22/25/image_25112025_22_25_22_2756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_55_2750.jpg
/home/pi/Desktop/images/25112025/22/24/image_25112025_22_24_58_2756.jpg
/home/pi/Desktop/images/25112025/22/25/image_25112025_22_25_07_3010.jpg
/home/pi/Desktop/images/25112025/22/25/image_25112025_22_25_11_3693.jpg
/home/pi/Desktop/images/25112025/22/25/image_25112025_22_25_16_2594.jpg
/home/pi/Desktop/images/25112025/22/25/image_25112025_22_25_22_2756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397189923","1397189926","1397189920","1397189908","1397189917","1397189913"],"photo_ids_order":["1397189908","1397189913","1397189917","1397189920","1397189923","1397189926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6e36f8ec0f9d8c49c1469733f1e19ec2.jpg","text":"TemporaryFile(/tmp/multipartBody8631841899645114015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582554293,"filename":"image_25112025_22_25_16_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e963b72c8591033e48ca17047ac33b12.jpg","text":"TemporaryFile(/tmp/multipartBody7112370641773980588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582554293,"filename":"image_25112025_22_25_22_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/1/df17377e359c44aaed8bc289bcaf864e.jpg","text":"TemporaryFile(/tmp/multipartBody3133606529718525778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582554293,"filename":"image_25112025_22_25_11_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/1/cdaf238a1e1335a8cd71947a186c0fa9.jpg","text":"TemporaryFile(/tmp/multipartBody1086822881699754283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582554293,"filename":"image_25112025_22_24_55_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/1/3962b150243b306b3a1d638dbbd20b23.jpg","text":"TemporaryFile(/tmp/multipartBody8989926637063166130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582554293,"filename":"image_25112025_22_25_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/1/2b0e805198314526103c98624da5940d.jpg","text":"TemporaryFile(/tmp/multipartBody5459529999545653031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582554293,"filename":"image_25112025_22_24_58_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397189917","file1":"1397189913","file0":"1397189908","file4":"1397189923","file5":"1397189926","file3":"1397189920"},"map_files_photo_id_array":[{"photo_id":"1397189926","filename":"file5"},{"photo_id":"1397189917","filename":"file2"},{"photo_id":"1397189923","filename":"file4"},{"photo_id":"1397189913","filename":"file1"},{"photo_id":"1397189908","filename":"file0"},{"photo_id":"1397189920","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397189923":["hashtag1","hashtag2"]},{"1397189926":["hashtag1","hashtag2"]},{"1397189920":["hashtag1","hashtag2"]},{"1397189908":["hashtag1","hashtag2"]},{"1397189917":["hashtag1","hashtag2"]},{"1397189913":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397189923, 1397189926, 1397189920, 1397189908, 1397189917, 1397189913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43778681755066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 10:49:02.419124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/21/image_01122025_10_22_04_9859.jpg', '/home/pi/Desktop/images/01122025/10/22/image_01122025_10_22_15_10636.jpg', '/home/pi/Desktop/images/01122025/10/22/image_01122025_10_22_24_9760.jpg', '/home/pi/Desktop/images/01122025/10/22/image_01122025_10_22_34_9671.jpg', '/home/pi/Desktop/images/01122025/10/22/image_01122025_10_22_45_10629.jpg', '/home/pi/Desktop/images/01122025/10/22/image_01122025_10_22_55_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/21/image_01122025_10_22_04_9859.jpg
/home/pi/Desktop/images/01122025/10/22/image_01122025_10_22_15_10636.jpg
/home/pi/Desktop/images/01122025/10/22/image_01122025_10_22_24_9760.jpg
/home/pi/Desktop/images/01122025/10/22/image_01122025_10_22_34_9671.jpg
/home/pi/Desktop/images/01122025/10/22/image_01122025_10_22_45_10629.jpg
/home/pi/Desktop/images/01122025/10/22/image_01122025_10_22_55_9809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397189973","1397189958","1397189963","1397189960","1397189954","1397189968"],"photo_ids_order":["1397189954","1397189958","1397189960","1397189963","1397189968","1397189973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ab3d8ced7684db9f720c33643cbd919b.jpg","text":"TemporaryFile(/tmp/multipartBody6380326179878013913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582603211,"filename":"image_01122025_10_22_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/1/f29bdd9b4148a1dc159e1c081a7d5ed3.jpg","text":"TemporaryFile(/tmp/multipartBody1856380824545771023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582603211,"filename":"image_01122025_10_22_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/1/6cecf3a9fc39a43ab489356c0b3dce11.jpg","text":"TemporaryFile(/tmp/multipartBody344885501513382960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582603211,"filename":"image_01122025_10_22_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/1/be7740c5c8edc10d24b3d5f14da7b0cf.jpg","text":"TemporaryFile(/tmp/multipartBody7214923602030254028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582603211,"filename":"image_01122025_10_22_24_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8ed020076c42f3e387ddaa22f1c69b8c.jpg","text":"TemporaryFile(/tmp/multipartBody8386881419150904214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582603211,"filename":"image_01122025_10_22_04_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/61459bc7969f9eda6e13fbaa7fa5453d.jpg","text":"TemporaryFile(/tmp/multipartBody8488901129829841628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582603211,"filename":"image_01122025_10_22_45_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397189960","file1":"1397189958","file0":"1397189954","file4":"1397189968","file5":"1397189973","file3":"1397189963"},"map_files_photo_id_array":[{"photo_id":"1397189973","filename":"file5"},{"photo_id":"1397189960","filename":"file2"},{"photo_id":"1397189968","filename":"file4"},{"photo_id":"1397189958","filename":"file1"},{"photo_id":"1397189954","filename":"file0"},{"photo_id":"1397189963","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397189973":["hashtag1","hashtag2"]},{"1397189958":["hashtag1","hashtag2"]},{"1397189963":["hashtag1","hashtag2"]},{"1397189960":["hashtag1","hashtag2"]},{"1397189954":["hashtag1","hashtag2"]},{"1397189968":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397189973, 1397189958, 1397189963, 1397189960, 1397189954, 1397189968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.41829490661621 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 10:50:02.572524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/22/image_01122025_10_23_04_9787.jpg', '/home/pi/Desktop/images/01122025/10/23/image_01122025_10_23_14_9721.jpg', '/home/pi/Desktop/images/01122025/10/23/image_01122025_10_23_25_10663.jpg', '/home/pi/Desktop/images/01122025/10/23/image_01122025_10_23_35_9912.jpg', '/home/pi/Desktop/images/01122025/10/23/image_01122025_10_23_44_9785.jpg', '/home/pi/Desktop/images/01122025/10/23/image_01122025_10_23_54_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/22/image_01122025_10_23_04_9787.jpg
/home/pi/Desktop/images/01122025/10/23/image_01122025_10_23_14_9721.jpg
/home/pi/Desktop/images/01122025/10/23/image_01122025_10_23_25_10663.jpg
/home/pi/Desktop/images/01122025/10/23/image_01122025_10_23_35_9912.jpg
/home/pi/Desktop/images/01122025/10/23/image_01122025_10_23_44_9785.jpg
/home/pi/Desktop/images/01122025/10/23/image_01122025_10_23_54_9720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397189998","1397190001","1397189993","1397189990","1397189987","1397189995"],"photo_ids_order":["1397189987","1397189990","1397189993","1397189995","1397189998","1397190001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/222aeb7afad5c72d957124ea7699380e.jpg","text":"TemporaryFile(/tmp/multipartBody3648177825322322019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582663313,"filename":"image_01122025_10_23_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/1/40724b4a7607bff4bc1daaf5921844cb.jpg","text":"TemporaryFile(/tmp/multipartBody2897745558141752274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582663313,"filename":"image_01122025_10_23_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/1/6e381da5dc549d848aba650bac26b909.jpg","text":"TemporaryFile(/tmp/multipartBody6984546498807081282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582663313,"filename":"image_01122025_10_23_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/1/d311e9ce5cbb669ffeac85eb7a493867.jpg","text":"TemporaryFile(/tmp/multipartBody6924441947915048959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582663313,"filename":"image_01122025_10_23_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/1/957221b29b0fb1af04694fb866168dbf.jpg","text":"TemporaryFile(/tmp/multipartBody545274031022298468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582663313,"filename":"image_01122025_10_23_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/1/1de2ef46be5bc0ab9ffd001891ec79d3.jpg","text":"TemporaryFile(/tmp/multipartBody4320930978299263383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582663313,"filename":"image_01122025_10_23_35_9912.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397189993","file1":"1397189990","file0":"1397189987","file4":"1397189998","file5":"1397190001","file3":"1397189995"},"map_files_photo_id_array":[{"photo_id":"1397190001","filename":"file5"},{"photo_id":"1397189993","filename":"file2"},{"photo_id":"1397189998","filename":"file4"},{"photo_id":"1397189990","filename":"file1"},{"photo_id":"1397189987","filename":"file0"},{"photo_id":"1397189995","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397189998":["hashtag1","hashtag2"]},{"1397190001":["hashtag1","hashtag2"]},{"1397189993":["hashtag1","hashtag2"]},{"1397189990":["hashtag1","hashtag2"]},{"1397189987":["hashtag1","hashtag2"]},{"1397189995":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397189998, 1397190001, 1397189993, 1397189990, 1397189987, 1397189995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.751335859298706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 10:50:42.103947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_43_3774.jpg', '/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_46_2684.jpg', '/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_48_2534.jpg', '/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_55_2923.jpg', '/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_57_2775.jpg', '/home/pi/Desktop/images/31102025/14/07/image_31102025_14_08_00_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_43_3774.jpg
/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_46_2684.jpg
/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_48_2534.jpg
/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_55_2923.jpg
/home/pi/Desktop/images/31102025/14/07/image_31102025_14_07_57_2775.jpg
/home/pi/Desktop/images/31102025/14/07/image_31102025_14_08_00_2733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397190041","1397190044","1397190043","1397190049","1397190060","1397190018"],"photo_ids_order":["1397190018","1397190041","1397190043","1397190044","1397190049","1397190060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1e5da6981815c3f1ff2f31f902038bbd.jpg","text":"TemporaryFile(/tmp/multipartBody2670326209854606030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582704659,"filename":"image_31102025_14_07_46_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/1/bdb0a25d89bfa92796278131d85ffac6.jpg","text":"TemporaryFile(/tmp/multipartBody8352971808251302659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582704659,"filename":"image_31102025_14_07_55_2923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bc48bd7289e3c6dd85ff75ce566250e7.jpg","text":"TemporaryFile(/tmp/multipartBody5838913853372662577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582704659,"filename":"image_31102025_14_07_48_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/1/d9fc49142e8dc10354177d1ffbb7b737.jpg","text":"TemporaryFile(/tmp/multipartBody5783778746720719671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582704659,"filename":"image_31102025_14_07_57_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/30cbce2e89951918588ab930c39c3a07.jpg","text":"TemporaryFile(/tmp/multipartBody1651608665198356582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582704659,"filename":"image_31102025_14_08_00_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/1/7658f41de279cb0ac72b4d50fb0f30ad.jpg","text":"TemporaryFile(/tmp/multipartBody7979302613679626348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582704659,"filename":"image_31102025_14_07_43_3774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397190043","file1":"1397190041","file0":"1397190018","file4":"1397190049","file5":"1397190060","file3":"1397190044"},"map_files_photo_id_array":[{"photo_id":"1397190060","filename":"file5"},{"photo_id":"1397190043","filename":"file2"},{"photo_id":"1397190049","filename":"file4"},{"photo_id":"1397190041","filename":"file1"},{"photo_id":"1397190018","filename":"file0"},{"photo_id":"1397190044","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397190041":["hashtag1","hashtag2"]},{"1397190044":["hashtag1","hashtag2"]},{"1397190043":["hashtag1","hashtag2"]},{"1397190049":["hashtag1","hashtag2"]},{"1397190060":["hashtag1","hashtag2"]},{"1397190018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397190041, 1397190044, 1397190043, 1397190049, 1397190060, 1397190018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.50352621078491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 10:51:22.490412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/23/image_01122025_10_24_05_10661.jpg', '/home/pi/Desktop/images/01122025/10/24/image_01122025_10_24_14_9695.jpg', '/home/pi/Desktop/images/01122025/10/24/image_01122025_10_24_24_9612.jpg', '/home/pi/Desktop/images/01122025/10/24/image_01122025_10_24_35_10643.jpg', '/home/pi/Desktop/images/01122025/10/24/image_01122025_10_24_44_9676.jpg', '/home/pi/Desktop/images/01122025/10/24/image_01122025_10_24_54_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/23/image_01122025_10_24_05_10661.jpg
/home/pi/Desktop/images/01122025/10/24/image_01122025_10_24_14_9695.jpg
/home/pi/Desktop/images/01122025/10/24/image_01122025_10_24_24_9612.jpg
/home/pi/Desktop/images/01122025/10/24/image_01122025_10_24_35_10643.jpg
/home/pi/Desktop/images/01122025/10/24/image_01122025_10_24_44_9676.jpg
/home/pi/Desktop/images/01122025/10/24/image_01122025_10_24_54_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397190076","1397190067","1397190072","1397190078","1397190083","1397190080"],"photo_ids_order":["1397190067","1397190072","1397190076","1397190078","1397190080","1397190083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/417dfa920e41cef712c629aa763ed223.jpg","text":"TemporaryFile(/tmp/multipartBody7602012604285065661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582743289,"filename":"image_01122025_10_24_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/1/679ae04cfa0dcbe167ed908bc85090fc.jpg","text":"TemporaryFile(/tmp/multipartBody4180095508997341597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582743289,"filename":"image_01122025_10_24_05_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b074b9a015a725f116cca079ba9deacb.jpg","text":"TemporaryFile(/tmp/multipartBody6016537890087259580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582743289,"filename":"image_01122025_10_24_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/1/bda489600841ff337ef09c8e59bd1b1a.jpg","text":"TemporaryFile(/tmp/multipartBody4612542230498556609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582743289,"filename":"image_01122025_10_24_35_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/90f49db930409324910aadd9ad133969.jpg","text":"TemporaryFile(/tmp/multipartBody4499974860900233535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582743289,"filename":"image_01122025_10_24_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/1/6c70a3dfa5e848e0d94df6586e1a669d.jpg","text":"TemporaryFile(/tmp/multipartBody3555715326349640990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582743289,"filename":"image_01122025_10_24_44_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397190076","file1":"1397190072","file0":"1397190067","file4":"1397190080","file5":"1397190083","file3":"1397190078"},"map_files_photo_id_array":[{"photo_id":"1397190083","filename":"file5"},{"photo_id":"1397190076","filename":"file2"},{"photo_id":"1397190080","filename":"file4"},{"photo_id":"1397190072","filename":"file1"},{"photo_id":"1397190067","filename":"file0"},{"photo_id":"1397190078","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397190076":["hashtag1","hashtag2"]},{"1397190067":["hashtag1","hashtag2"]},{"1397190072":["hashtag1","hashtag2"]},{"1397190078":["hashtag1","hashtag2"]},{"1397190083":["hashtag1","hashtag2"]},{"1397190080":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397190076, 1397190067, 1397190072, 1397190078, 1397190083, 1397190080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61434364318848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 10:52:02.855196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/25/image_01122025_10_25_14_10060.jpg', '/home/pi/Desktop/images/01122025/10/25/image_01122025_10_25_24_10679.jpg', '/home/pi/Desktop/images/01122025/10/25/image_01122025_10_25_34_9702.jpg', '/home/pi/Desktop/images/01122025/10/25/image_01122025_10_25_44_9692.jpg', '/home/pi/Desktop/images/01122025/10/25/image_01122025_10_25_54_10701.jpg', '/home/pi/Desktop/images/01122025/10/25/image_01122025_10_26_04_9950.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/25/image_01122025_10_25_14_10060.jpg
/home/pi/Desktop/images/01122025/10/25/image_01122025_10_25_24_10679.jpg
/home/pi/Desktop/images/01122025/10/25/image_01122025_10_25_34_9702.jpg
/home/pi/Desktop/images/01122025/10/25/image_01122025_10_25_44_9692.jpg
/home/pi/Desktop/images/01122025/10/25/image_01122025_10_25_54_10701.jpg
/home/pi/Desktop/images/01122025/10/25/image_01122025_10_26_04_9950.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397190099","1397190093","1397190087","1397190096","1397190102","1397190089"],"photo_ids_order":["1397190087","1397190089","1397190093","1397190096","1397190099","1397190102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b7b1ef5177609d51c8bc73712a2ce74c.jpg","text":"TemporaryFile(/tmp/multipartBody9002398800827324337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582783535,"filename":"image_01122025_10_25_54_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d4cc8ebaaffb11da970f5fdf34d24696.jpg","text":"TemporaryFile(/tmp/multipartBody4728967522898642204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582783535,"filename":"image_01122025_10_25_34_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8918516a9e93e1d5c383f2b2c5cc4e68.jpg","text":"TemporaryFile(/tmp/multipartBody6068502945030638819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582783535,"filename":"image_01122025_10_25_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/1/8106a588705d39caa60a00bb2441569b.jpg","text":"TemporaryFile(/tmp/multipartBody721043597493286148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582783535,"filename":"image_01122025_10_25_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/1/ce684505c44e1f67887e3c01d8544a78.jpg","text":"TemporaryFile(/tmp/multipartBody6877614787059373340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582783535,"filename":"image_01122025_10_26_04_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/1/1047d1401fa270e732cc45146a0cc329.jpg","text":"TemporaryFile(/tmp/multipartBody7542561122636769666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582783535,"filename":"image_01122025_10_25_24_10679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397190093","file1":"1397190089","file0":"1397190087","file4":"1397190099","file5":"1397190102","file3":"1397190096"},"map_files_photo_id_array":[{"photo_id":"1397190102","filename":"file5"},{"photo_id":"1397190093","filename":"file2"},{"photo_id":"1397190099","filename":"file4"},{"photo_id":"1397190089","filename":"file1"},{"photo_id":"1397190087","filename":"file0"},{"photo_id":"1397190096","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397190099":["hashtag1","hashtag2"]},{"1397190093":["hashtag1","hashtag2"]},{"1397190087":["hashtag1","hashtag2"]},{"1397190096":["hashtag1","hashtag2"]},{"1397190102":["hashtag1","hashtag2"]},{"1397190089":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397190099, 1397190093, 1397190087, 1397190096, 1397190102, 1397190089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61696243286133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 10:52:42.672340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_03_2784.jpg', '/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_07_3535.jpg', '/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_09_2889.jpg', '/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_12_2790.jpg', '/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_15_2750.jpg', '/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_19_3702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_03_2784.jpg
/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_07_3535.jpg
/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_09_2889.jpg
/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_12_2790.jpg
/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_15_2750.jpg
/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_19_3702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397190122","1397190136","1397190130","1397190133","1397190127","1397190131"],"photo_ids_order":["1397190122","1397190127","1397190130","1397190131","1397190133","1397190136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1b5ab6f1aaf8058b8516a21c1d09c48d.jpg","text":"TemporaryFile(/tmp/multipartBody4630354519828415548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582825436,"filename":"image_31102025_14_08_03_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b1ce403dba6f4fd7d9ce05f2a2b51ead.jpg","text":"TemporaryFile(/tmp/multipartBody5619124903230627207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582825436,"filename":"image_31102025_14_08_19_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/1/63c7dec86dc92153094135b987fc3e05.jpg","text":"TemporaryFile(/tmp/multipartBody6489569829595212639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582825436,"filename":"image_31102025_14_08_09_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/1/c52777f93bd82216b12477e73ebebefb.jpg","text":"TemporaryFile(/tmp/multipartBody4615052555634805842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582825436,"filename":"image_31102025_14_08_15_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/1/a870dfa69e1dfa14bb6f20c61921e297.jpg","text":"TemporaryFile(/tmp/multipartBody8420338608998377617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582825436,"filename":"image_31102025_14_08_07_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/808e269cf10f96445626128fa855af67.jpg","text":"TemporaryFile(/tmp/multipartBody2726886404247426342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582825436,"filename":"image_31102025_14_08_12_2790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397190130","file1":"1397190127","file0":"1397190122","file4":"1397190133","file5":"1397190136","file3":"1397190131"},"map_files_photo_id_array":[{"photo_id":"1397190136","filename":"file5"},{"photo_id":"1397190130","filename":"file2"},{"photo_id":"1397190133","filename":"file4"},{"photo_id":"1397190127","filename":"file1"},{"photo_id":"1397190122","filename":"file0"},{"photo_id":"1397190131","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397190122":["hashtag1","hashtag2"]},{"1397190136":["hashtag1","hashtag2"]},{"1397190130":["hashtag1","hashtag2"]},{"1397190133":["hashtag1","hashtag2"]},{"1397190127":["hashtag1","hashtag2"]},{"1397190131":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397190122, 1397190136, 1397190130, 1397190133, 1397190127, 1397190131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.080628871917725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 10:53:22.823236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/26/image_01122025_10_26_14_9713.jpg', '/home/pi/Desktop/images/01122025/10/26/image_01122025_10_26_24_9564.jpg', '/home/pi/Desktop/images/01122025/10/26/image_01122025_10_26_35_10862.jpg', '/home/pi/Desktop/images/01122025/10/26/image_01122025_10_26_44_9563.jpg', '/home/pi/Desktop/images/01122025/10/26/image_01122025_10_26_54_9580.jpg', '/home/pi/Desktop/images/01122025/10/26/image_01122025_10_27_04_10749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/26/image_01122025_10_26_14_9713.jpg
/home/pi/Desktop/images/01122025/10/26/image_01122025_10_26_24_9564.jpg
/home/pi/Desktop/images/01122025/10/26/image_01122025_10_26_35_10862.jpg
/home/pi/Desktop/images/01122025/10/26/image_01122025_10_26_44_9563.jpg
/home/pi/Desktop/images/01122025/10/26/image_01122025_10_26_54_9580.jpg
/home/pi/Desktop/images/01122025/10/26/image_01122025_10_27_04_10749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397190160","1397190154","1397190157","1397190151","1397190147","1397190143"],"photo_ids_order":["1397190143","1397190147","1397190151","1397190154","1397190157","1397190160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/35edb3d70fde7ae3651824fd4e16458b.jpg","text":"TemporaryFile(/tmp/multipartBody1762554497041481854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582863586,"filename":"image_01122025_10_27_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/1/bc8ce02b9ca37e31d92eb012dc1056e9.jpg","text":"TemporaryFile(/tmp/multipartBody2799592417233751622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582863586,"filename":"image_01122025_10_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/1/98015c9b5afd92ebc4fd006246480002.jpg","text":"TemporaryFile(/tmp/multipartBody2506368862593876005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582863586,"filename":"image_01122025_10_26_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/1/39e1d7ca1693bb278558970437f4669d.jpg","text":"TemporaryFile(/tmp/multipartBody408378384980106395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582863586,"filename":"image_01122025_10_26_35_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/1/ddb6232e71b755d44f9ea17d90c6ee4d.jpg","text":"TemporaryFile(/tmp/multipartBody4107881898009191087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582863586,"filename":"image_01122025_10_26_24_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/51041aa33e147656cfa8ba05e58e4bd4.jpg","text":"TemporaryFile(/tmp/multipartBody677702250573086669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582863586,"filename":"image_01122025_10_26_14_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397190151","file1":"1397190147","file0":"1397190143","file4":"1397190157","file5":"1397190160","file3":"1397190154"},"map_files_photo_id_array":[{"photo_id":"1397190160","filename":"file5"},{"photo_id":"1397190151","filename":"file2"},{"photo_id":"1397190157","filename":"file4"},{"photo_id":"1397190147","filename":"file1"},{"photo_id":"1397190143","filename":"file0"},{"photo_id":"1397190154","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397190160":["hashtag1","hashtag2"]},{"1397190154":["hashtag1","hashtag2"]},{"1397190157":["hashtag1","hashtag2"]},{"1397190151":["hashtag1","hashtag2"]},{"1397190147":["hashtag1","hashtag2"]},{"1397190143":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397190160, 1397190154, 1397190157, 1397190151, 1397190147, 1397190143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.231998920440674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 10:54:02.538467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/27/image_01122025_10_27_14_9738.jpg', '/home/pi/Desktop/images/01122025/10/27/image_01122025_10_27_24_9552.jpg', '/home/pi/Desktop/images/01122025/10/27/image_01122025_10_27_34_10719.jpg', '/home/pi/Desktop/images/01122025/10/27/image_01122025_10_27_44_9757.jpg', '/home/pi/Desktop/images/01122025/10/27/image_01122025_10_27_54_9645.jpg', '/home/pi/Desktop/images/01122025/10/27/image_01122025_10_28_04_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/27/image_01122025_10_27_14_9738.jpg
/home/pi/Desktop/images/01122025/10/27/image_01122025_10_27_24_9552.jpg
/home/pi/Desktop/images/01122025/10/27/image_01122025_10_27_34_10719.jpg
/home/pi/Desktop/images/01122025/10/27/image_01122025_10_27_44_9757.jpg
/home/pi/Desktop/images/01122025/10/27/image_01122025_10_27_54_9645.jpg
/home/pi/Desktop/images/01122025/10/27/image_01122025_10_28_04_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":["1397190169","1397190178","1397190171","1397190174","1397190164","1397190167"],"photo_ids_order":["1397190164","1397190167","1397190169","1397190171","1397190174","1397190178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5054f96114116ec01ae7b13130b4e1e2.jpg","text":"TemporaryFile(/tmp/multipartBody3995343728379467450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582903306,"filename":"image_01122025_10_27_34_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0a8761e3e42000fc91523e7d8fb82127.jpg","text":"TemporaryFile(/tmp/multipartBody5025404670170458215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582903306,"filename":"image_01122025_10_28_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/1/40f8d6bc4851b96785dfbf2f721b5001.jpg","text":"TemporaryFile(/tmp/multipartBody5294488227121234599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582903306,"filename":"image_01122025_10_27_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/1/261864d20164dbf738d96951e56f2c84.jpg","text":"TemporaryFile(/tmp/multipartBody9052312975040568324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582903306,"filename":"image_01122025_10_27_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/1/37d70d9df4f14599d091d202e133a5aa.jpg","text":"TemporaryFile(/tmp/multipartBody6275584317159151519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582903306,"filename":"image_01122025_10_27_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/1/c70f10041c9f2c0668e4a7fd37e80f0e.jpg","text":"TemporaryFile(/tmp/multipartBody7356204982919447933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582903306,"filename":"image_01122025_10_27_24_9552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397190169","file1":"1397190167","file0":"1397190164","file4":"1397190174","file5":"1397190178","file3":"1397190171"},"map_files_photo_id_array":[{"photo_id":"1397190178","filename":"file5"},{"photo_id":"1397190169","filename":"file2"},{"photo_id":"1397190174","filename":"file4"},{"photo_id":"1397190167","filename":"file1"},{"photo_id":"1397190164","filename":"file0"},{"photo_id":"1397190171","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397190169":["hashtag1","hashtag2"]},{"1397190178":["hashtag1","hashtag2"]},{"1397190171":["hashtag1","hashtag2"]},{"1397190174":["hashtag1","hashtag2"]},{"1397190164":["hashtag1","hashtag2"]},{"1397190167":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397190169, 1397190178, 1397190171, 1397190174, 1397190164, 1397190167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03237986564636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 10:54:42.026816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_21_2585.jpg', '/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_24_2790.jpg', '/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_28_3552.jpg', '/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_30_2791.jpg', '/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_33_2643.jpg', '/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_36_2970.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_21_2585.jpg
/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_24_2790.jpg
/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_28_3552.jpg
/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_30_2791.jpg
/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_33_2643.jpg
/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_36_2970.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397190195","1397190192","1397190189","1397190201","1397190194","1397190197"],"photo_ids_order":["1397190189","1397190192","1397190194","1397190195","1397190197","1397190201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5e22ebe341f094e77050e8e27b90e11f.jpg","text":"TemporaryFile(/tmp/multipartBody5827721804809684540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582944705,"filename":"image_31102025_14_08_30_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/1/18b46951a6769b348ae41a29bd9169cf.jpg","text":"TemporaryFile(/tmp/multipartBody5006207226097164678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582944705,"filename":"image_31102025_14_08_24_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/1/65800267b01b990b28ab669335dea973.jpg","text":"TemporaryFile(/tmp/multipartBody2642091056972197177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582944705,"filename":"image_31102025_14_08_21_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/1/195698b4332e424ffeab7e01a61bfe7c.jpg","text":"TemporaryFile(/tmp/multipartBody2633845746524120630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582944705,"filename":"image_31102025_14_08_36_2970.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/00198088962023b486d9ca4f9005c8da.jpg","text":"TemporaryFile(/tmp/multipartBody9148867556743309382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582944705,"filename":"image_31102025_14_08_28_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/1/23214a69cadd65855692dfaa1d4b68eb.jpg","text":"TemporaryFile(/tmp/multipartBody8535777982119175487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582944705,"filename":"image_31102025_14_08_33_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397190194","file1":"1397190192","file0":"1397190189","file4":"1397190197","file5":"1397190201","file3":"1397190195"},"map_files_photo_id_array":[{"photo_id":"1397190201","filename":"file5"},{"photo_id":"1397190194","filename":"file2"},{"photo_id":"1397190197","filename":"file4"},{"photo_id":"1397190192","filename":"file1"},{"photo_id":"1397190189","filename":"file0"},{"photo_id":"1397190195","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397190195":["hashtag1","hashtag2"]},{"1397190192":["hashtag1","hashtag2"]},{"1397190189":["hashtag1","hashtag2"]},{"1397190201":["hashtag1","hashtag2"]},{"1397190194":["hashtag1","hashtag2"]},{"1397190197":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397190195, 1397190192, 1397190189, 1397190201, 1397190194, 1397190197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.381091833114624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 10:55:22.224581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/28/image_01122025_10_28_14_10634.jpg', '/home/pi/Desktop/images/01122025/10/28/image_01122025_10_28_24_9603.jpg', '/home/pi/Desktop/images/01122025/10/28/image_01122025_10_28_34_10571.jpg', '/home/pi/Desktop/images/01122025/10/28/image_01122025_10_28_44_9714.jpg', '/home/pi/Desktop/images/01122025/10/28/image_01122025_10_28_54_9786.jpg', '/home/pi/Desktop/images/01122025/10/28/image_01122025_10_29_04_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/28/image_01122025_10_28_14_10634.jpg
/home/pi/Desktop/images/01122025/10/28/image_01122025_10_28_24_9603.jpg
/home/pi/Desktop/images/01122025/10/28/image_01122025_10_28_34_10571.jpg
/home/pi/Desktop/images/01122025/10/28/image_01122025_10_28_44_9714.jpg
/home/pi/Desktop/images/01122025/10/28/image_01122025_10_28_54_9786.jpg
/home/pi/Desktop/images/01122025/10/28/image_01122025_10_29_04_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":["1397190241","1397190235","1397190238","1397190232","1397190219","1397190210"],"photo_ids_order":["1397190210","1397190219","1397190232","1397190235","1397190238","1397190241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/52e97a53934799f456af2d42f1bebb52.jpg","text":"TemporaryFile(/tmp/multipartBody6951161339497789979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582982950,"filename":"image_01122025_10_29_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/1/8775769d54e3c9e0493b9a080a92b4f9.jpg","text":"TemporaryFile(/tmp/multipartBody6383034373398691570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582982950,"filename":"image_01122025_10_28_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/1/faa767bc0a843a87ef8ab333129f37d2.jpg","text":"TemporaryFile(/tmp/multipartBody2819557483121857250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582982950,"filename":"image_01122025_10_28_54_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4ef43e09a17511bb10efb628429224e4.jpg","text":"TemporaryFile(/tmp/multipartBody8210772301906334018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582982950,"filename":"image_01122025_10_28_34_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3dea3bf465c16c57f7de009a45871dcb.jpg","text":"TemporaryFile(/tmp/multipartBody2875585106698495593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582982950,"filename":"image_01122025_10_28_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/1/59f6329246ab1dafa29305c9aee6ffd9.jpg","text":"TemporaryFile(/tmp/multipartBody3144044063556127287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764582982950,"filename":"image_01122025_10_28_14_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397190232","file1":"1397190219","file0":"1397190210","file4":"1397190238","file5":"1397190241","file3":"1397190235"},"map_files_photo_id_array":[{"photo_id":"1397190241","filename":"file5"},{"photo_id":"1397190232","filename":"file2"},{"photo_id":"1397190238","filename":"file4"},{"photo_id":"1397190219","filename":"file1"},{"photo_id":"1397190210","filename":"file0"},{"photo_id":"1397190235","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397190241":["hashtag1","hashtag2"]},{"1397190235":["hashtag1","hashtag2"]},{"1397190238":["hashtag1","hashtag2"]},{"1397190232":["hashtag1","hashtag2"]},{"1397190219":["hashtag1","hashtag2"]},{"1397190210":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397190241, 1397190235, 1397190238, 1397190232, 1397190219, 1397190210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.789193630218506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 10:56:02.957926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/29/image_01122025_10_29_14_10633.jpg', '/home/pi/Desktop/images/01122025/10/29/image_01122025_10_29_24_9675.jpg', '/home/pi/Desktop/images/01122025/10/29/image_01122025_10_29_35_10636.jpg', '/home/pi/Desktop/images/01122025/10/29/image_01122025_10_29_44_9635.jpg', '/home/pi/Desktop/images/01122025/10/29/image_01122025_10_29_54_9606.jpg', '/home/pi/Desktop/images/01122025/10/30/image_01122025_10_30_14_10055.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/29/image_01122025_10_29_14_10633.jpg
/home/pi/Desktop/images/01122025/10/29/image_01122025_10_29_24_9675.jpg
/home/pi/Desktop/images/01122025/10/29/image_01122025_10_29_35_10636.jpg
/home/pi/Desktop/images/01122025/10/29/image_01122025_10_29_44_9635.jpg
/home/pi/Desktop/images/01122025/10/29/image_01122025_10_29_54_9606.jpg
/home/pi/Desktop/images/01122025/10/30/image_01122025_10_30_14_10055.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397190253","1397190250","1397190258","1397190246","1397190261","1397190255"],"photo_ids_order":["1397190246","1397190250","1397190253","1397190255","1397190258","1397190261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/81556639c2c8839fcf8f7e6fcd932778.jpg","text":"TemporaryFile(/tmp/multipartBody3841119462256011997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583023675,"filename":"image_01122025_10_29_35_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/15dacbeb4d2cc693e8f625e764a807d5.jpg","text":"TemporaryFile(/tmp/multipartBody1596320020094586802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583023675,"filename":"image_01122025_10_29_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/1/e8daa80c92ca0cef1d6d0dffa5dc844c.jpg","text":"TemporaryFile(/tmp/multipartBody4037479480993519138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583023675,"filename":"image_01122025_10_29_54_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a73ce1870c4fed25d13c48ecb8cc5446.jpg","text":"TemporaryFile(/tmp/multipartBody6978872546154300088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583023675,"filename":"image_01122025_10_29_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/1/3f166b07236ef5563e7043a714011bbb.jpg","text":"TemporaryFile(/tmp/multipartBody7211083310209023298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583023675,"filename":"image_01122025_10_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/1/e795ac36b0dbb26e2f0e452b0ac99512.jpg","text":"TemporaryFile(/tmp/multipartBody1686962696596118223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583023675,"filename":"image_01122025_10_29_44_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397190253","file1":"1397190250","file0":"1397190246","file4":"1397190258","file5":"1397190261","file3":"1397190255"},"map_files_photo_id_array":[{"photo_id":"1397190261","filename":"file5"},{"photo_id":"1397190253","filename":"file2"},{"photo_id":"1397190258","filename":"file4"},{"photo_id":"1397190250","filename":"file1"},{"photo_id":"1397190246","filename":"file0"},{"photo_id":"1397190255","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397190253":["hashtag1","hashtag2"]},{"1397190250":["hashtag1","hashtag2"]},{"1397190258":["hashtag1","hashtag2"]},{"1397190246":["hashtag1","hashtag2"]},{"1397190261":["hashtag1","hashtag2"]},{"1397190255":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397190253, 1397190250, 1397190258, 1397190246, 1397190261, 1397190255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.438616037368774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 10:56:42.529837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_40_3769.jpg', '/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_45_2672.jpg', '/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_51_2676.jpg', '/home/pi/Desktop/images/31102025/14/08/image_31102025_14_09_01_3736.jpg', '/home/pi/Desktop/images/31102025/14/09/image_31102025_14_09_06_2706.jpg', '/home/pi/Desktop/images/31102025/14/09/image_31102025_14_09_09_2747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_40_3769.jpg
/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_45_2672.jpg
/home/pi/Desktop/images/31102025/14/08/image_31102025_14_08_51_2676.jpg
/home/pi/Desktop/images/31102025/14/08/image_31102025_14_09_01_3736.jpg
/home/pi/Desktop/images/31102025/14/09/image_31102025_14_09_06_2706.jpg
/home/pi/Desktop/images/31102025/14/09/image_31102025_14_09_09_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":["1397190298","1397190271","1397190294","1397190301","1397190285","1397190296"],"photo_ids_order":["1397190271","1397190285","1397190294","1397190296","1397190298","1397190301"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3ddaef7c663a43f643a590811e90a76d.jpg","text":"TemporaryFile(/tmp/multipartBody9182400825725705431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583065216,"filename":"image_31102025_14_09_06_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/508f5de4c239a39fceb5eed35004f5e1.jpg","text":"TemporaryFile(/tmp/multipartBody8533495562290044738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583065216,"filename":"image_31102025_14_08_40_3769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1426894ddfe6de70be01ecbfb2cd4f3d.jpg","text":"TemporaryFile(/tmp/multipartBody3829720175419788553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583065216,"filename":"image_31102025_14_08_51_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/1/f0cf28eb05da5c485ebd15afb70c29f1.jpg","text":"TemporaryFile(/tmp/multipartBody171642609229311510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583065216,"filename":"image_31102025_14_09_09_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/1/f45c0882cd7e229e2ad79703f6817d48.jpg","text":"TemporaryFile(/tmp/multipartBody3282436827371987706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583065216,"filename":"image_31102025_14_08_45_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/610ecfcea8a96274da29f2e6298b3b2e.jpg","text":"TemporaryFile(/tmp/multipartBody7608301864462022454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583065216,"filename":"image_31102025_14_09_01_3736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397190294","file1":"1397190285","file0":"1397190271","file4":"1397190298","file5":"1397190301","file3":"1397190296"},"map_files_photo_id_array":[{"photo_id":"1397190301","filename":"file5"},{"photo_id":"1397190294","filename":"file2"},{"photo_id":"1397190298","filename":"file4"},{"photo_id":"1397190285","filename":"file1"},{"photo_id":"1397190271","filename":"file0"},{"photo_id":"1397190296","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397190298":["hashtag1","hashtag2"]},{"1397190271":["hashtag1","hashtag2"]},{"1397190294":["hashtag1","hashtag2"]},{"1397190301":["hashtag1","hashtag2"]},{"1397190285":["hashtag1","hashtag2"]},{"1397190296":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397190298, 1397190271, 1397190294, 1397190301, 1397190285, 1397190296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.78435158729553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 10:57:32.694526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/25/image_25112025_22_25_28_3511.jpg', '/home/pi/Desktop/images/25112025/22/25/image_25112025_22_25_31_2582.jpg', '/home/pi/Desktop/images/25112025/22/25/image_25112025_22_25_40_2899.jpg', '/home/pi/Desktop/images/25112025/22/25/image_25112025_22_25_44_3608.jpg', '/home/pi/Desktop/images/25112025/22/25/image_25112025_22_25_47_2816.jpg', '/home/pi/Desktop/images/25112025/22/25/image_25112025_22_25_49_2527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/25/image_25112025_22_25_28_3511.jpg
/home/pi/Desktop/images/25112025/22/25/image_25112025_22_25_31_2582.jpg
/home/pi/Desktop/images/25112025/22/25/image_25112025_22_25_40_2899.jpg
/home/pi/Desktop/images/25112025/22/25/image_25112025_22_25_44_3608.jpg
/home/pi/Desktop/images/25112025/22/25/image_25112025_22_25_47_2816.jpg
/home/pi/Desktop/images/25112025/22/25/image_25112025_22_25_49_2527.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397190314","1397190317","1397190328","1397190327","1397190321","1397190324"],"photo_ids_order":["1397190314","1397190317","1397190321","1397190324","1397190327","1397190328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5c7bded0af9c9dc64dc6ab9121a284b5.jpg","text":"TemporaryFile(/tmp/multipartBody6300724463840264368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583114466,"filename":"image_25112025_22_25_28_3511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/30d0117b7bff05cff67b66dbbf2c9dff.jpg","text":"TemporaryFile(/tmp/multipartBody2679910081746009539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583114466,"filename":"image_25112025_22_25_31_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/1/c50f6e32debee480b0e887ffa42eb5c3.jpg","text":"TemporaryFile(/tmp/multipartBody5352875336988245193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583114466,"filename":"image_25112025_22_25_49_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/1/50ebd4098bdb1f3b8d978e7763f0a1b1.jpg","text":"TemporaryFile(/tmp/multipartBody5480537377001557617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583114466,"filename":"image_25112025_22_25_47_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c682bba18a39aa698b4cdaf22dc60afd.jpg","text":"TemporaryFile(/tmp/multipartBody3568112147935640043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583114466,"filename":"image_25112025_22_25_40_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/1/0c38a8eb18a36f28dbda6c89fb538f60.jpg","text":"TemporaryFile(/tmp/multipartBody320812387017739422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583114466,"filename":"image_25112025_22_25_44_3608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397190321","file1":"1397190317","file0":"1397190314","file4":"1397190327","file5":"1397190328","file3":"1397190324"},"map_files_photo_id_array":[{"photo_id":"1397190328","filename":"file5"},{"photo_id":"1397190321","filename":"file2"},{"photo_id":"1397190327","filename":"file4"},{"photo_id":"1397190317","filename":"file1"},{"photo_id":"1397190314","filename":"file0"},{"photo_id":"1397190324","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397190314":["hashtag1","hashtag2"]},{"1397190317":["hashtag1","hashtag2"]},{"1397190328":["hashtag1","hashtag2"]},{"1397190327":["hashtag1","hashtag2"]},{"1397190321":["hashtag1","hashtag2"]},{"1397190324":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397190314, 1397190317, 1397190328, 1397190327, 1397190321, 1397190324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.115843057632446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 10:59:02.915373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/30/image_01122025_10_30_24_10650.jpg', '/home/pi/Desktop/images/01122025/10/30/image_01122025_10_30_34_9553.jpg', '/home/pi/Desktop/images/01122025/10/30/image_01122025_10_30_45_10697.jpg', '/home/pi/Desktop/images/01122025/10/30/image_01122025_10_30_54_9633.jpg', '/home/pi/Desktop/images/01122025/10/30/image_01122025_10_31_04_9642.jpg', '/home/pi/Desktop/images/01122025/10/31/image_01122025_10_31_15_10708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/30/image_01122025_10_30_24_10650.jpg
/home/pi/Desktop/images/01122025/10/30/image_01122025_10_30_34_9553.jpg
/home/pi/Desktop/images/01122025/10/30/image_01122025_10_30_45_10697.jpg
/home/pi/Desktop/images/01122025/10/30/image_01122025_10_30_54_9633.jpg
/home/pi/Desktop/images/01122025/10/30/image_01122025_10_31_04_9642.jpg
/home/pi/Desktop/images/01122025/10/31/image_01122025_10_31_15_10708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397190347","1397190355","1397190337","1397190342","1397190359","1397190350"],"photo_ids_order":["1397190337","1397190342","1397190347","1397190350","1397190355","1397190359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ae84076c84a986fa2bcdd2cba08f7cfa.jpg","text":"TemporaryFile(/tmp/multipartBody6955435911116784004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583203861,"filename":"image_01122025_10_30_45_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2a59ef90e024315dc17531ac6b63fd2c.jpg","text":"TemporaryFile(/tmp/multipartBody7053302918819179883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583203861,"filename":"image_01122025_10_31_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/1/0c0eadb3ebc6df32dff8f0a9b31cc704.jpg","text":"TemporaryFile(/tmp/multipartBody154214623133450726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583203861,"filename":"image_01122025_10_30_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/1/c11f303ea756c3d37df33ccc8289afe4.jpg","text":"TemporaryFile(/tmp/multipartBody8204555261107768355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583203861,"filename":"image_01122025_10_30_34_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1d14f74c43a988127c9d72ef4be91e5a.jpg","text":"TemporaryFile(/tmp/multipartBody2519403856825877635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583203861,"filename":"image_01122025_10_31_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/1/e25d0d2cba6789086aea0157b0479e53.jpg","text":"TemporaryFile(/tmp/multipartBody4852913583124334038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583203861,"filename":"image_01122025_10_30_54_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397190347","file1":"1397190342","file0":"1397190337","file4":"1397190355","file5":"1397190359","file3":"1397190350"},"map_files_photo_id_array":[{"photo_id":"1397190359","filename":"file5"},{"photo_id":"1397190347","filename":"file2"},{"photo_id":"1397190355","filename":"file4"},{"photo_id":"1397190342","filename":"file1"},{"photo_id":"1397190337","filename":"file0"},{"photo_id":"1397190350","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397190347":["hashtag1","hashtag2"]},{"1397190355":["hashtag1","hashtag2"]},{"1397190337":["hashtag1","hashtag2"]},{"1397190342":["hashtag1","hashtag2"]},{"1397190359":["hashtag1","hashtag2"]},{"1397190350":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397190347, 1397190355, 1397190337, 1397190342, 1397190359, 1397190350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30248284339905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 10:59:42.093346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/09/image_31102025_14_09_13_3616.jpg', '/home/pi/Desktop/images/31102025/14/09/image_31102025_14_09_15_2842.jpg', '/home/pi/Desktop/images/31102025/14/09/image_31102025_14_09_25_3618.jpg', '/home/pi/Desktop/images/31102025/14/09/image_31102025_14_09_27_2709.jpg', '/home/pi/Desktop/images/31102025/14/09/image_31102025_14_09_36_2680.jpg', '/home/pi/Desktop/images/31102025/14/09/image_31102025_14_09_39_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/09/image_31102025_14_09_13_3616.jpg
/home/pi/Desktop/images/31102025/14/09/image_31102025_14_09_15_2842.jpg
/home/pi/Desktop/images/31102025/14/09/image_31102025_14_09_25_3618.jpg
/home/pi/Desktop/images/31102025/14/09/image_31102025_14_09_27_2709.jpg
/home/pi/Desktop/images/31102025/14/09/image_31102025_14_09_36_2680.jpg
/home/pi/Desktop/images/31102025/14/09/image_31102025_14_09_39_2717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397190370","1397190388","1397190373","1397190384","1397190372","1397190374"],"photo_ids_order":["1397190370","1397190372","1397190373","1397190374","1397190384","1397190388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6cac63a62041f24b0c141ec912388ef6.jpg","text":"TemporaryFile(/tmp/multipartBody2785226183933165748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583244794,"filename":"image_31102025_14_09_13_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ec3198cb0a1ca0be1ca5de113ea07e21.jpg","text":"TemporaryFile(/tmp/multipartBody2179585773950848157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583244794,"filename":"image_31102025_14_09_39_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/1/665235d1dc14fef92874c04ef89faf9a.jpg","text":"TemporaryFile(/tmp/multipartBody3029827011698280358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583244794,"filename":"image_31102025_14_09_25_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/1/68b78e3afb17d87d642ef3af95d55de2.jpg","text":"TemporaryFile(/tmp/multipartBody3084529774552394815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583244794,"filename":"image_31102025_14_09_36_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/1/3dca07492a601ea265828ce92a1869a9.jpg","text":"TemporaryFile(/tmp/multipartBody1179976051350427316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583244794,"filename":"image_31102025_14_09_15_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7c56705fa300489714e85e75f5ebd127.jpg","text":"TemporaryFile(/tmp/multipartBody5341099752314293982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583244794,"filename":"image_31102025_14_09_27_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397190373","file1":"1397190372","file0":"1397190370","file4":"1397190384","file5":"1397190388","file3":"1397190374"},"map_files_photo_id_array":[{"photo_id":"1397190388","filename":"file5"},{"photo_id":"1397190373","filename":"file2"},{"photo_id":"1397190384","filename":"file4"},{"photo_id":"1397190372","filename":"file1"},{"photo_id":"1397190370","filename":"file0"},{"photo_id":"1397190374","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397190370":["hashtag1","hashtag2"]},{"1397190388":["hashtag1","hashtag2"]},{"1397190373":["hashtag1","hashtag2"]},{"1397190384":["hashtag1","hashtag2"]},{"1397190372":["hashtag1","hashtag2"]},{"1397190374":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397190370, 1397190388, 1397190373, 1397190384, 1397190372, 1397190374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.81507110595703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:00:22.242571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/31/image_01122025_10_31_24_9666.jpg', '/home/pi/Desktop/images/01122025/10/31/image_01122025_10_31_34_9582.jpg', '/home/pi/Desktop/images/01122025/10/31/image_01122025_10_31_44_10541.jpg', '/home/pi/Desktop/images/01122025/10/31/image_01122025_10_31_54_9798.jpg', '/home/pi/Desktop/images/01122025/10/31/image_01122025_10_32_04_9658.jpg', '/home/pi/Desktop/images/01122025/10/32/image_01122025_10_32_15_10579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/31/image_01122025_10_31_24_9666.jpg
/home/pi/Desktop/images/01122025/10/31/image_01122025_10_31_34_9582.jpg
/home/pi/Desktop/images/01122025/10/31/image_01122025_10_31_44_10541.jpg
/home/pi/Desktop/images/01122025/10/31/image_01122025_10_31_54_9798.jpg
/home/pi/Desktop/images/01122025/10/31/image_01122025_10_32_04_9658.jpg
/home/pi/Desktop/images/01122025/10/32/image_01122025_10_32_15_10579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397190425","1397190433","1397190427","1397190424","1397190429","1397190420"],"photo_ids_order":["1397190420","1397190424","1397190425","1397190427","1397190429","1397190433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/683c914db7166aa85c2914a4c22dc2a6.jpg","text":"TemporaryFile(/tmp/multipartBody8953446930829476774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583282977,"filename":"image_01122025_10_31_44_10541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4e196e0fae4dd9fcf1293dca39cb1484.jpg","text":"TemporaryFile(/tmp/multipartBody3025243826748644528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583282977,"filename":"image_01122025_10_32_15_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2e268cdb4ff750a25a08fb2a92568a83.jpg","text":"TemporaryFile(/tmp/multipartBody6761488705286573662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583282977,"filename":"image_01122025_10_31_54_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a0e1c172cbbddfb1cbb3a1fa6f18cf71.jpg","text":"TemporaryFile(/tmp/multipartBody500112998421697440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583282977,"filename":"image_01122025_10_31_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/1/de19ef8ca98a56779960fd5ccabf8c70.jpg","text":"TemporaryFile(/tmp/multipartBody1284421330579650029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583282977,"filename":"image_01122025_10_32_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/1/28d1bbd401424dd245242b94914557da.jpg","text":"TemporaryFile(/tmp/multipartBody320507926718022157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583282977,"filename":"image_01122025_10_31_24_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397190425","file1":"1397190424","file0":"1397190420","file4":"1397190429","file5":"1397190433","file3":"1397190427"},"map_files_photo_id_array":[{"photo_id":"1397190433","filename":"file5"},{"photo_id":"1397190425","filename":"file2"},{"photo_id":"1397190429","filename":"file4"},{"photo_id":"1397190424","filename":"file1"},{"photo_id":"1397190420","filename":"file0"},{"photo_id":"1397190427","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397190425":["hashtag1","hashtag2"]},{"1397190433":["hashtag1","hashtag2"]},{"1397190427":["hashtag1","hashtag2"]},{"1397190424":["hashtag1","hashtag2"]},{"1397190429":["hashtag1","hashtag2"]},{"1397190420":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397190425, 1397190433, 1397190427, 1397190424, 1397190429, 1397190420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73955965042114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:01:03.086938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/32/image_01122025_10_32_24_9682.jpg', '/home/pi/Desktop/images/01122025/10/32/image_01122025_10_32_35_10519.jpg', '/home/pi/Desktop/images/01122025/10/32/image_01122025_10_32_44_9661.jpg', '/home/pi/Desktop/images/01122025/10/32/image_01122025_10_32_54_9856.jpg', '/home/pi/Desktop/images/01122025/10/32/image_01122025_10_33_04_9809.jpg', '/home/pi/Desktop/images/01122025/10/33/image_01122025_10_33_15_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/32/image_01122025_10_32_24_9682.jpg
/home/pi/Desktop/images/01122025/10/32/image_01122025_10_32_35_10519.jpg
/home/pi/Desktop/images/01122025/10/32/image_01122025_10_32_44_9661.jpg
/home/pi/Desktop/images/01122025/10/32/image_01122025_10_32_54_9856.jpg
/home/pi/Desktop/images/01122025/10/32/image_01122025_10_33_04_9809.jpg
/home/pi/Desktop/images/01122025/10/33/image_01122025_10_33_15_10676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397190446","1397190442","1397190459","1397190450","1397190453","1397190455"],"photo_ids_order":["1397190442","1397190446","1397190450","1397190453","1397190455","1397190459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f9601cb1d98c12dd0f656ced78d23af6.jpg","text":"TemporaryFile(/tmp/multipartBody3764426441857666358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583323887,"filename":"image_01122025_10_32_35_10519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c11aa8d48130cde6bc0d8ab57ef5e277.jpg","text":"TemporaryFile(/tmp/multipartBody8374484076665863067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583323887,"filename":"image_01122025_10_32_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/1/093ceac2a7691e83c069ea37bbf8b5ab.jpg","text":"TemporaryFile(/tmp/multipartBody683445548393015419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583323887,"filename":"image_01122025_10_33_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/1/7b7ab2529017c63652edbcef205fcef7.jpg","text":"TemporaryFile(/tmp/multipartBody4702643505068650820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583323887,"filename":"image_01122025_10_32_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/1/1c9cf466e80ee46a94096de606e85d51.jpg","text":"TemporaryFile(/tmp/multipartBody5305862490931728382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583323887,"filename":"image_01122025_10_32_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/1/1155d5cd769502fcf4d0e4750d510005.jpg","text":"TemporaryFile(/tmp/multipartBody2270221330300691955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583323887,"filename":"image_01122025_10_33_04_9809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397190450","file1":"1397190446","file0":"1397190442","file4":"1397190455","file5":"1397190459","file3":"1397190453"},"map_files_photo_id_array":[{"photo_id":"1397190459","filename":"file5"},{"photo_id":"1397190450","filename":"file2"},{"photo_id":"1397190455","filename":"file4"},{"photo_id":"1397190446","filename":"file1"},{"photo_id":"1397190442","filename":"file0"},{"photo_id":"1397190453","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397190446":["hashtag1","hashtag2"]},{"1397190442":["hashtag1","hashtag2"]},{"1397190459":["hashtag1","hashtag2"]},{"1397190450":["hashtag1","hashtag2"]},{"1397190453":["hashtag1","hashtag2"]},{"1397190455":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397190446, 1397190442, 1397190459, 1397190450, 1397190453, 1397190455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86876964569092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:01:42.431566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/09/image_31102025_14_09_43_3686.jpg', '/home/pi/Desktop/images/31102025/14/09/image_31102025_14_09_45_2621.jpg', '/home/pi/Desktop/images/31102025/14/09/image_31102025_14_09_55_3738.jpg', '/home/pi/Desktop/images/31102025/14/09/image_31102025_14_09_57_2786.jpg', '/home/pi/Desktop/images/31102025/14/09/image_31102025_14_10_00_2835.jpg', '/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_03_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/09/image_31102025_14_09_43_3686.jpg
/home/pi/Desktop/images/31102025/14/09/image_31102025_14_09_45_2621.jpg
/home/pi/Desktop/images/31102025/14/09/image_31102025_14_09_55_3738.jpg
/home/pi/Desktop/images/31102025/14/09/image_31102025_14_09_57_2786.jpg
/home/pi/Desktop/images/31102025/14/09/image_31102025_14_10_00_2835.jpg
/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_03_2795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397190493","1397190472","1397190495","1397190489","1397190480","1397190474"],"photo_ids_order":["1397190472","1397190474","1397190480","1397190489","1397190493","1397190495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0084b050fe692721aac22a4af4b21405.jpg","text":"TemporaryFile(/tmp/multipartBody2656524738244531862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583365149,"filename":"image_31102025_14_10_00_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/20cfda9b5b514e72b2020a60b107b632.jpg","text":"TemporaryFile(/tmp/multipartBody96424754633816332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583365149,"filename":"image_31102025_14_09_43_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f135c9b30693766b89ad7eafa40a917c.jpg","text":"TemporaryFile(/tmp/multipartBody1803805050160115068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583365149,"filename":"image_31102025_14_10_03_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/1/7579fa7ff44b9a6872f9d49e682185df.jpg","text":"TemporaryFile(/tmp/multipartBody5844920057019646577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583365149,"filename":"image_31102025_14_09_57_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/1/b747d5a6c677104f894f193b84cdbae8.jpg","text":"TemporaryFile(/tmp/multipartBody3633359491254496592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583365149,"filename":"image_31102025_14_09_55_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f5163abce139f8525c4f905253fe2e66.jpg","text":"TemporaryFile(/tmp/multipartBody6010046198625408772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583365149,"filename":"image_31102025_14_09_45_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397190480","file1":"1397190474","file0":"1397190472","file4":"1397190493","file5":"1397190495","file3":"1397190489"},"map_files_photo_id_array":[{"photo_id":"1397190495","filename":"file5"},{"photo_id":"1397190480","filename":"file2"},{"photo_id":"1397190493","filename":"file4"},{"photo_id":"1397190474","filename":"file1"},{"photo_id":"1397190472","filename":"file0"},{"photo_id":"1397190489","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397190493":["hashtag1","hashtag2"]},{"1397190472":["hashtag1","hashtag2"]},{"1397190495":["hashtag1","hashtag2"]},{"1397190489":["hashtag1","hashtag2"]},{"1397190480":["hashtag1","hashtag2"]},{"1397190474":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397190493, 1397190472, 1397190495, 1397190489, 1397190480, 1397190474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.27028131484985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:02:22.588737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/33/image_01122025_10_33_34_9760.jpg', '/home/pi/Desktop/images/01122025/10/33/image_01122025_10_33_44_9619.jpg', '/home/pi/Desktop/images/01122025/10/33/image_01122025_10_33_55_10835.jpg', '/home/pi/Desktop/images/01122025/10/33/image_01122025_10_34_04_9637.jpg', '/home/pi/Desktop/images/01122025/10/34/image_01122025_10_34_14_9698.jpg', '/home/pi/Desktop/images/01122025/10/34/image_01122025_10_34_25_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/33/image_01122025_10_33_34_9760.jpg
/home/pi/Desktop/images/01122025/10/33/image_01122025_10_33_44_9619.jpg
/home/pi/Desktop/images/01122025/10/33/image_01122025_10_33_55_10835.jpg
/home/pi/Desktop/images/01122025/10/33/image_01122025_10_34_04_9637.jpg
/home/pi/Desktop/images/01122025/10/34/image_01122025_10_34_14_9698.jpg
/home/pi/Desktop/images/01122025/10/34/image_01122025_10_34_25_10659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397190527","1397190514","1397190517","1397190510","1397190507","1397190504"],"photo_ids_order":["1397190504","1397190507","1397190510","1397190514","1397190517","1397190527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/355e93792fe7099f5b0c8e8b072e6fc9.jpg","text":"TemporaryFile(/tmp/multipartBody3481849520521676708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583403285,"filename":"image_01122025_10_34_25_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f214903348e958a5419df1b3a19e17f2.jpg","text":"TemporaryFile(/tmp/multipartBody5197459173784101677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583403285,"filename":"image_01122025_10_34_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/1/657be4a87ce722959fc156ac0bc8035b.jpg","text":"TemporaryFile(/tmp/multipartBody83237343429259655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583403285,"filename":"image_01122025_10_34_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/1/74a87af44595fcd6bef28968da8f9289.jpg","text":"TemporaryFile(/tmp/multipartBody3129976760580905117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583403285,"filename":"image_01122025_10_33_55_10835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ae4aa9a11104fe720ac46bcfe96832b9.jpg","text":"TemporaryFile(/tmp/multipartBody1714535643836576941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583403285,"filename":"image_01122025_10_33_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/1/212e3615720e036a585aa227a3beea0f.jpg","text":"TemporaryFile(/tmp/multipartBody1753500240271006733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583403285,"filename":"image_01122025_10_33_34_9760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397190510","file1":"1397190507","file0":"1397190504","file4":"1397190517","file5":"1397190527","file3":"1397190514"},"map_files_photo_id_array":[{"photo_id":"1397190527","filename":"file5"},{"photo_id":"1397190510","filename":"file2"},{"photo_id":"1397190517","filename":"file4"},{"photo_id":"1397190507","filename":"file1"},{"photo_id":"1397190504","filename":"file0"},{"photo_id":"1397190514","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397190527":["hashtag1","hashtag2"]},{"1397190514":["hashtag1","hashtag2"]},{"1397190517":["hashtag1","hashtag2"]},{"1397190510":["hashtag1","hashtag2"]},{"1397190507":["hashtag1","hashtag2"]},{"1397190504":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397190527, 1397190514, 1397190517, 1397190510, 1397190507, 1397190504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78621053695679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:03:03.461350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/34/image_01122025_10_34_34_9613.jpg', '/home/pi/Desktop/images/01122025/10/34/image_01122025_10_34_44_9692.jpg', '/home/pi/Desktop/images/01122025/10/34/image_01122025_10_34_55_10652.jpg', '/home/pi/Desktop/images/01122025/10/35/image_01122025_10_35_13_10059.jpg', '/home/pi/Desktop/images/01122025/10/35/image_01122025_10_35_24_10773.jpg', '/home/pi/Desktop/images/01122025/10/35/image_01122025_10_35_43_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/34/image_01122025_10_34_34_9613.jpg
/home/pi/Desktop/images/01122025/10/34/image_01122025_10_34_44_9692.jpg
/home/pi/Desktop/images/01122025/10/34/image_01122025_10_34_55_10652.jpg
/home/pi/Desktop/images/01122025/10/35/image_01122025_10_35_13_10059.jpg
/home/pi/Desktop/images/01122025/10/35/image_01122025_10_35_24_10773.jpg
/home/pi/Desktop/images/01122025/10/35/image_01122025_10_35_43_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397190583","1397190571","1397190574","1397190588","1397190576","1397190579"],"photo_ids_order":["1397190571","1397190574","1397190576","1397190579","1397190583","1397190588"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1d5d15244d85c4f61768b2625adb187b.jpg","text":"TemporaryFile(/tmp/multipartBody1998289083737614983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583444209,"filename":"image_01122025_10_35_24_10773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a30150839c16a8b5cd97ccfa4888563e.jpg","text":"TemporaryFile(/tmp/multipartBody3352295697039299562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583444209,"filename":"image_01122025_10_34_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/1/0ffd5b51990689adfe7c2a474c67a08d.jpg","text":"TemporaryFile(/tmp/multipartBody6961706416640330557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583444209,"filename":"image_01122025_10_34_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/1/9f7634837350d44774082197f4f769b8.jpg","text":"TemporaryFile(/tmp/multipartBody7337120998282479091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583444209,"filename":"image_01122025_10_35_43_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/895e4de81fa71e6170fe6e4695d59bb7.jpg","text":"TemporaryFile(/tmp/multipartBody5150128159698367026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583444209,"filename":"image_01122025_10_34_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/1/33266457be624661633f6587d44d04cf.jpg","text":"TemporaryFile(/tmp/multipartBody7021931885676317965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583444209,"filename":"image_01122025_10_35_13_10059.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397190576","file1":"1397190574","file0":"1397190571","file4":"1397190583","file5":"1397190588","file3":"1397190579"},"map_files_photo_id_array":[{"photo_id":"1397190588","filename":"file5"},{"photo_id":"1397190576","filename":"file2"},{"photo_id":"1397190583","filename":"file4"},{"photo_id":"1397190574","filename":"file1"},{"photo_id":"1397190571","filename":"file0"},{"photo_id":"1397190579","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397190583":["hashtag1","hashtag2"]},{"1397190571":["hashtag1","hashtag2"]},{"1397190574":["hashtag1","hashtag2"]},{"1397190588":["hashtag1","hashtag2"]},{"1397190576":["hashtag1","hashtag2"]},{"1397190579":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397190583, 1397190571, 1397190574, 1397190588, 1397190576, 1397190579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.470927476882935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:03:42.845824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_06_2861.jpg', '/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_09_3547.jpg', '/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_12_2896.jpg', '/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_15_2726.jpg', '/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_18_2923.jpg', '/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_22_3749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_06_2861.jpg
/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_09_3547.jpg
/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_12_2896.jpg
/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_15_2726.jpg
/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_18_2923.jpg
/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_22_3749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397190602","1397190601","1397190604","1397190606","1397190609","1397190599"],"photo_ids_order":["1397190599","1397190601","1397190602","1397190604","1397190606","1397190609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7e6e74010355c1b0737deddff7cf5e02.jpg","text":"TemporaryFile(/tmp/multipartBody2467328294571624664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583485534,"filename":"image_31102025_14_10_12_2896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1de7c6dbdcc4f230b0b6267eefe56436.jpg","text":"TemporaryFile(/tmp/multipartBody6130799690464079876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583485534,"filename":"image_31102025_14_10_09_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/1/b1473bfcbde276f6f1c6672a794233f2.jpg","text":"TemporaryFile(/tmp/multipartBody2507573017088865128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583485534,"filename":"image_31102025_14_10_15_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/1/2b87841e9606269e4ca6b03a73a7d7b8.jpg","text":"TemporaryFile(/tmp/multipartBody2041555693704700906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583485534,"filename":"image_31102025_14_10_18_2923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3179613dd28887166575174a41d4fd92.jpg","text":"TemporaryFile(/tmp/multipartBody8187824572899393479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583485534,"filename":"image_31102025_14_10_22_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a82d0373da9bdd35446d7645c732524c.jpg","text":"TemporaryFile(/tmp/multipartBody3847957097702007680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583485534,"filename":"image_31102025_14_10_06_2861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397190602","file1":"1397190601","file0":"1397190599","file4":"1397190606","file5":"1397190609","file3":"1397190604"},"map_files_photo_id_array":[{"photo_id":"1397190609","filename":"file5"},{"photo_id":"1397190602","filename":"file2"},{"photo_id":"1397190606","filename":"file4"},{"photo_id":"1397190601","filename":"file1"},{"photo_id":"1397190599","filename":"file0"},{"photo_id":"1397190604","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397190602":["hashtag1","hashtag2"]},{"1397190601":["hashtag1","hashtag2"]},{"1397190604":["hashtag1","hashtag2"]},{"1397190606":["hashtag1","hashtag2"]},{"1397190609":["hashtag1","hashtag2"]},{"1397190599":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397190602, 1397190601, 1397190604, 1397190606, 1397190609, 1397190599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.449267625808716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:04:22.107810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/35/image_01122025_10_35_54_10558.jpg', '/home/pi/Desktop/images/01122025/10/35/image_01122025_10_36_04_9678.jpg', '/home/pi/Desktop/images/01122025/10/36/image_01122025_10_36_13_9666.jpg', '/home/pi/Desktop/images/01122025/10/36/image_01122025_10_36_24_10569.jpg', '/home/pi/Desktop/images/01122025/10/36/image_01122025_10_36_34_9573.jpg', '/home/pi/Desktop/images/01122025/10/36/image_01122025_10_36_44_10804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/35/image_01122025_10_35_54_10558.jpg
/home/pi/Desktop/images/01122025/10/35/image_01122025_10_36_04_9678.jpg
/home/pi/Desktop/images/01122025/10/36/image_01122025_10_36_13_9666.jpg
/home/pi/Desktop/images/01122025/10/36/image_01122025_10_36_24_10569.jpg
/home/pi/Desktop/images/01122025/10/36/image_01122025_10_36_34_9573.jpg
/home/pi/Desktop/images/01122025/10/36/image_01122025_10_36_44_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":["1397190623","1397190617","1397190626","1397190631","1397190634","1397190636"],"photo_ids_order":["1397190617","1397190623","1397190626","1397190631","1397190634","1397190636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/885582c8d51b7e2ed15e1ded435c2111.jpg","text":"TemporaryFile(/tmp/multipartBody1932626929996218224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583522860,"filename":"image_01122025_10_36_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/1/a91b026fa2ddfa40d061c8ed8939aaf3.jpg","text":"TemporaryFile(/tmp/multipartBody3092013364006406495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583522860,"filename":"image_01122025_10_35_54_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/1/40697bbb76f1bf1e1bc0d2dd3af9ca7b.jpg","text":"TemporaryFile(/tmp/multipartBody5528990063233981047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583522860,"filename":"image_01122025_10_36_13_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/1/88faffd655804e6c4fa475fdc98ec37f.jpg","text":"TemporaryFile(/tmp/multipartBody848594123358060031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583522860,"filename":"image_01122025_10_36_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/1/53e373d1bfdac92abe9b86836adf149c.jpg","text":"TemporaryFile(/tmp/multipartBody1033934357122888594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583522860,"filename":"image_01122025_10_36_34_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1a62a6d23fc3cd6b6c8420e713b5ddf2.jpg","text":"TemporaryFile(/tmp/multipartBody7935984454169215408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583522860,"filename":"image_01122025_10_36_44_10804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397190626","file1":"1397190623","file0":"1397190617","file4":"1397190634","file5":"1397190636","file3":"1397190631"},"map_files_photo_id_array":[{"photo_id":"1397190636","filename":"file5"},{"photo_id":"1397190626","filename":"file2"},{"photo_id":"1397190634","filename":"file4"},{"photo_id":"1397190623","filename":"file1"},{"photo_id":"1397190617","filename":"file0"},{"photo_id":"1397190631","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397190623":["hashtag1","hashtag2"]},{"1397190617":["hashtag1","hashtag2"]},{"1397190626":["hashtag1","hashtag2"]},{"1397190631":["hashtag1","hashtag2"]},{"1397190634":["hashtag1","hashtag2"]},{"1397190636":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397190623, 1397190617, 1397190626, 1397190631, 1397190634, 1397190636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.623023986816406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:05:02.720392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/36/image_01122025_10_36_54_9620.jpg', '/home/pi/Desktop/images/01122025/10/36/image_01122025_10_37_04_9761.jpg', '/home/pi/Desktop/images/01122025/10/37/image_01122025_10_37_13_9742.jpg', '/home/pi/Desktop/images/01122025/10/37/image_01122025_10_37_24_10653.jpg', '/home/pi/Desktop/images/01122025/10/37/image_01122025_10_37_34_9773.jpg', '/home/pi/Desktop/images/01122025/10/37/image_01122025_10_37_44_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/36/image_01122025_10_36_54_9620.jpg
/home/pi/Desktop/images/01122025/10/36/image_01122025_10_37_04_9761.jpg
/home/pi/Desktop/images/01122025/10/37/image_01122025_10_37_13_9742.jpg
/home/pi/Desktop/images/01122025/10/37/image_01122025_10_37_24_10653.jpg
/home/pi/Desktop/images/01122025/10/37/image_01122025_10_37_34_9773.jpg
/home/pi/Desktop/images/01122025/10/37/image_01122025_10_37_44_9770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397190650","1397190643","1397190646","1397190654","1397190639","1397190659"],"photo_ids_order":["1397190639","1397190643","1397190646","1397190650","1397190654","1397190659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b2d0f13a567f0faafe96e662610fdbe3.jpg","text":"TemporaryFile(/tmp/multipartBody191933704500129280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583563483,"filename":"image_01122025_10_37_24_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/89bc1a05ef368bce1be8f550a3ddad08.jpg","text":"TemporaryFile(/tmp/multipartBody4118548502784282906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583563483,"filename":"image_01122025_10_37_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/1/a8997174a17ecd0589ffda4e92e16168.jpg","text":"TemporaryFile(/tmp/multipartBody964341853642090083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583563483,"filename":"image_01122025_10_37_13_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/16974c195c441d7dee5c9142f2dc8f0c.jpg","text":"TemporaryFile(/tmp/multipartBody2000234984956961584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583563483,"filename":"image_01122025_10_37_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/1/ee8438778ea6a6615993537aad6610a0.jpg","text":"TemporaryFile(/tmp/multipartBody3936086425435499544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583563483,"filename":"image_01122025_10_36_54_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fa8dcd26a008ad65de32365fb7b0d208.jpg","text":"TemporaryFile(/tmp/multipartBody2251097043268939437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583563483,"filename":"image_01122025_10_37_44_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397190646","file1":"1397190643","file0":"1397190639","file4":"1397190654","file5":"1397190659","file3":"1397190650"},"map_files_photo_id_array":[{"photo_id":"1397190659","filename":"file5"},{"photo_id":"1397190646","filename":"file2"},{"photo_id":"1397190654","filename":"file4"},{"photo_id":"1397190643","filename":"file1"},{"photo_id":"1397190639","filename":"file0"},{"photo_id":"1397190650","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397190650":["hashtag1","hashtag2"]},{"1397190643":["hashtag1","hashtag2"]},{"1397190646":["hashtag1","hashtag2"]},{"1397190654":["hashtag1","hashtag2"]},{"1397190639":["hashtag1","hashtag2"]},{"1397190659":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397190650, 1397190643, 1397190646, 1397190654, 1397190639, 1397190659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59008479118347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:05:42.211699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_27_2762.jpg', '/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_31_3739.jpg', '/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_33_2497.jpg', '/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_36_2597.jpg', '/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_42_2730.jpg', '/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_45_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_27_2762.jpg
/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_31_3739.jpg
/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_33_2497.jpg
/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_36_2597.jpg
/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_42_2730.jpg
/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_45_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":["1397190716","1397190688","1397190682","1397190712","1397190711","1397190713"],"photo_ids_order":["1397190682","1397190688","1397190711","1397190712","1397190713","1397190716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b7195d070fb94e6cc510bb22187b268d.jpg","text":"TemporaryFile(/tmp/multipartBody9063360816188471757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583604891,"filename":"image_31102025_14_10_45_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b7aeb3b274546c7cba0800bb0e148489.jpg","text":"TemporaryFile(/tmp/multipartBody6216498579645401322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583604891,"filename":"image_31102025_14_10_31_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e019aef2dfb46d1d44d299525c9463a2.jpg","text":"TemporaryFile(/tmp/multipartBody5977897206854790719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583604891,"filename":"image_31102025_14_10_27_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0e2c66407f3e8b0ade8bdd56364f3b5f.jpg","text":"TemporaryFile(/tmp/multipartBody5906765925995032171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583604891,"filename":"image_31102025_14_10_36_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/1/fa6b6a8036d3881214fadfba6b2b9662.jpg","text":"TemporaryFile(/tmp/multipartBody6027728714765226555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583604891,"filename":"image_31102025_14_10_33_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/1/875e507f34665871600aca71c8fee1f8.jpg","text":"TemporaryFile(/tmp/multipartBody44913960485421137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583604891,"filename":"image_31102025_14_10_42_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397190711","file1":"1397190688","file0":"1397190682","file4":"1397190713","file5":"1397190716","file3":"1397190712"},"map_files_photo_id_array":[{"photo_id":"1397190716","filename":"file5"},{"photo_id":"1397190711","filename":"file2"},{"photo_id":"1397190713","filename":"file4"},{"photo_id":"1397190688","filename":"file1"},{"photo_id":"1397190682","filename":"file0"},{"photo_id":"1397190712","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397190716":["hashtag1","hashtag2"]},{"1397190688":["hashtag1","hashtag2"]},{"1397190682":["hashtag1","hashtag2"]},{"1397190712":["hashtag1","hashtag2"]},{"1397190711":["hashtag1","hashtag2"]},{"1397190713":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397190716, 1397190688, 1397190682, 1397190712, 1397190711, 1397190713)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.47799372673035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:06:32.421249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/25/image_25112025_22_25_53_3595.jpg', '/home/pi/Desktop/images/25112025/22/25/image_25112025_22_25_55_2642.jpg', '/home/pi/Desktop/images/25112025/22/25/image_25112025_22_25_58_2683.jpg', '/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_02_3687.jpg', '/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_04_2468.jpg', '/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_07_2762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/25/image_25112025_22_25_53_3595.jpg
/home/pi/Desktop/images/25112025/22/25/image_25112025_22_25_55_2642.jpg
/home/pi/Desktop/images/25112025/22/25/image_25112025_22_25_58_2683.jpg
/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_02_3687.jpg
/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_04_2468.jpg
/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_07_2762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397190743","1397190745","1397190736","1397190744","1397190732","1397190740"],"photo_ids_order":["1397190732","1397190736","1397190740","1397190743","1397190744","1397190745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e56b7db53585d12a1c7c5745f39778ea.jpg","text":"TemporaryFile(/tmp/multipartBody1868683698540560877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583654178,"filename":"image_25112025_22_26_02_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/1/4a9f10962a97b3006c075f49ecd0f239.jpg","text":"TemporaryFile(/tmp/multipartBody6143159703784725843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583654178,"filename":"image_25112025_22_26_07_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/24c8328bbb653ee318ce3776b6520ea5.jpg","text":"TemporaryFile(/tmp/multipartBody7026548576108571433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583654178,"filename":"image_25112025_22_25_55_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/51897c737241a59eca51c69ce5346f0e.jpg","text":"TemporaryFile(/tmp/multipartBody7798289648460178696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583654178,"filename":"image_25112025_22_26_04_2468.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/57ae37ca0cd3af8bf8a7de3fcc919273.jpg","text":"TemporaryFile(/tmp/multipartBody5281094280992064874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583654178,"filename":"image_25112025_22_25_53_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/1/c67ec190ee8a5540fab948958e506938.jpg","text":"TemporaryFile(/tmp/multipartBody3344713834751157591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583654178,"filename":"image_25112025_22_25_58_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397190740","file1":"1397190736","file0":"1397190732","file4":"1397190744","file5":"1397190745","file3":"1397190743"},"map_files_photo_id_array":[{"photo_id":"1397190745","filename":"file5"},{"photo_id":"1397190740","filename":"file2"},{"photo_id":"1397190744","filename":"file4"},{"photo_id":"1397190736","filename":"file1"},{"photo_id":"1397190732","filename":"file0"},{"photo_id":"1397190743","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397190743":["hashtag1","hashtag2"]},{"1397190745":["hashtag1","hashtag2"]},{"1397190736":["hashtag1","hashtag2"]},{"1397190744":["hashtag1","hashtag2"]},{"1397190732":["hashtag1","hashtag2"]},{"1397190740":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397190743, 1397190745, 1397190736, 1397190744, 1397190732, 1397190740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.86972689628601 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:07:22.525294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/37/image_01122025_10_37_53_9732.jpg', '/home/pi/Desktop/images/01122025/10/37/image_01122025_10_38_04_10711.jpg', '/home/pi/Desktop/images/01122025/10/38/image_01122025_10_38_14_9649.jpg', '/home/pi/Desktop/images/01122025/10/38/image_01122025_10_38_24_9831.jpg', '/home/pi/Desktop/images/01122025/10/38/image_01122025_10_38_34_10717.jpg', '/home/pi/Desktop/images/01122025/10/38/image_01122025_10_38_44_9753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/37/image_01122025_10_37_53_9732.jpg
/home/pi/Desktop/images/01122025/10/37/image_01122025_10_38_04_10711.jpg
/home/pi/Desktop/images/01122025/10/38/image_01122025_10_38_14_9649.jpg
/home/pi/Desktop/images/01122025/10/38/image_01122025_10_38_24_9831.jpg
/home/pi/Desktop/images/01122025/10/38/image_01122025_10_38_34_10717.jpg
/home/pi/Desktop/images/01122025/10/38/image_01122025_10_38_44_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":["1397190784","1397190789","1397190780","1397190776","1397190791","1397190773"],"photo_ids_order":["1397190773","1397190776","1397190780","1397190784","1397190789","1397190791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bc982c7e47af722c5ed900c50c87c60d.jpg","text":"TemporaryFile(/tmp/multipartBody5770730867290050797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583703230,"filename":"image_01122025_10_38_24_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8d3b0abbf16565e2a7912e71b497e229.jpg","text":"TemporaryFile(/tmp/multipartBody3027465901596120783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583703230,"filename":"image_01122025_10_38_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/1/a07237240b5e1d9501d996bdc9457d1c.jpg","text":"TemporaryFile(/tmp/multipartBody868897048014789797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583703230,"filename":"image_01122025_10_38_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/1/e0067c595d4fab24a8a4369d354e058a.jpg","text":"TemporaryFile(/tmp/multipartBody1346428574369984490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583703230,"filename":"image_01122025_10_38_04_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/076cd67de02a48a7d58e23a4c8bf6b4f.jpg","text":"TemporaryFile(/tmp/multipartBody4738329632473511103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583703230,"filename":"image_01122025_10_38_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/1/662f9ace27c85931e3c9a00fb13ead2a.jpg","text":"TemporaryFile(/tmp/multipartBody3833657605105865263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583703230,"filename":"image_01122025_10_37_53_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397190780","file1":"1397190776","file0":"1397190773","file4":"1397190789","file5":"1397190791","file3":"1397190784"},"map_files_photo_id_array":[{"photo_id":"1397190791","filename":"file5"},{"photo_id":"1397190780","filename":"file2"},{"photo_id":"1397190789","filename":"file4"},{"photo_id":"1397190776","filename":"file1"},{"photo_id":"1397190773","filename":"file0"},{"photo_id":"1397190784","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397190784":["hashtag1","hashtag2"]},{"1397190789":["hashtag1","hashtag2"]},{"1397190780":["hashtag1","hashtag2"]},{"1397190776":["hashtag1","hashtag2"]},{"1397190791":["hashtag1","hashtag2"]},{"1397190773":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397190784, 1397190789, 1397190780, 1397190776, 1397190791, 1397190773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.94888091087341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:08:03.193270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/38/image_01122025_10_38_54_9692.jpg', '/home/pi/Desktop/images/01122025/10/38/image_01122025_10_39_04_10624.jpg', '/home/pi/Desktop/images/01122025/10/39/image_01122025_10_39_14_9659.jpg', '/home/pi/Desktop/images/01122025/10/39/image_01122025_10_39_24_9583.jpg', '/home/pi/Desktop/images/01122025/10/39/image_01122025_10_39_34_10722.jpg', '/home/pi/Desktop/images/01122025/10/39/image_01122025_10_39_44_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/38/image_01122025_10_38_54_9692.jpg
/home/pi/Desktop/images/01122025/10/38/image_01122025_10_39_04_10624.jpg
/home/pi/Desktop/images/01122025/10/39/image_01122025_10_39_14_9659.jpg
/home/pi/Desktop/images/01122025/10/39/image_01122025_10_39_24_9583.jpg
/home/pi/Desktop/images/01122025/10/39/image_01122025_10_39_34_10722.jpg
/home/pi/Desktop/images/01122025/10/39/image_01122025_10_39_44_9684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397190836","1397190818","1397190829","1397190820","1397190831","1397190810"],"photo_ids_order":["1397190810","1397190818","1397190820","1397190829","1397190831","1397190836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/29457e1353d8325dd86fc647a893ad4d.jpg","text":"TemporaryFile(/tmp/multipartBody8814535020979562118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583743927,"filename":"image_01122025_10_39_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/1/558dc73b4e226c6f91354b8e77cc3e9f.jpg","text":"TemporaryFile(/tmp/multipartBody9210870050948459204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583743927,"filename":"image_01122025_10_39_04_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bee5a225a979ce22325033c7844d65c3.jpg","text":"TemporaryFile(/tmp/multipartBody8603781517801447912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583743927,"filename":"image_01122025_10_39_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/1/63931fc5bfca86b91351f101e1cbe265.jpg","text":"TemporaryFile(/tmp/multipartBody3275902634117781769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583743927,"filename":"image_01122025_10_39_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/1/30c077b227669dfc12bf000ea62b2aaa.jpg","text":"TemporaryFile(/tmp/multipartBody1397600551705494330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583743927,"filename":"image_01122025_10_39_34_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/1/de009d81e97d94e6e0fa42e9e14f75ca.jpg","text":"TemporaryFile(/tmp/multipartBody2881494818139372361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583743927,"filename":"image_01122025_10_38_54_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397190820","file1":"1397190818","file0":"1397190810","file4":"1397190831","file5":"1397190836","file3":"1397190829"},"map_files_photo_id_array":[{"photo_id":"1397190836","filename":"file5"},{"photo_id":"1397190820","filename":"file2"},{"photo_id":"1397190831","filename":"file4"},{"photo_id":"1397190818","filename":"file1"},{"photo_id":"1397190810","filename":"file0"},{"photo_id":"1397190829","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397190836":["hashtag1","hashtag2"]},{"1397190818":["hashtag1","hashtag2"]},{"1397190829":["hashtag1","hashtag2"]},{"1397190820":["hashtag1","hashtag2"]},{"1397190831":["hashtag1","hashtag2"]},{"1397190810":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397190836, 1397190818, 1397190829, 1397190820, 1397190831, 1397190810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38867139816284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:08:42.787326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_49_3771.jpg', '/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_51_2738.jpg', '/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_54_2663.jpg', '/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_58_3631.jpg', '/home/pi/Desktop/images/31102025/14/10/image_31102025_14_11_00_2639.jpg', '/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_03_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_49_3771.jpg
/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_51_2738.jpg
/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_54_2663.jpg
/home/pi/Desktop/images/31102025/14/10/image_31102025_14_10_58_3631.jpg
/home/pi/Desktop/images/31102025/14/10/image_31102025_14_11_00_2639.jpg
/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_03_2685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397190874","1397190879","1397190876","1397190881","1397190878","1397190848"],"photo_ids_order":["1397190848","1397190874","1397190876","1397190878","1397190879","1397190881"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2d04adef2aaaab6323359a365db0b0da.jpg","text":"TemporaryFile(/tmp/multipartBody3738797810139074548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583785463,"filename":"image_31102025_14_10_51_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/1/180c4d51f7587ead1fcc144a08b380db.jpg","text":"TemporaryFile(/tmp/multipartBody6487291525344735938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583785463,"filename":"image_31102025_14_11_00_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9d10d7c26ee752571be34f91550a71b0.jpg","text":"TemporaryFile(/tmp/multipartBody4645980340863920812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583785463,"filename":"image_31102025_14_10_54_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/1/a2b23e65591849ca26d276439508238d.jpg","text":"TemporaryFile(/tmp/multipartBody1899475611080442149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583785463,"filename":"image_31102025_14_11_03_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f77003277d16c43b44b5d2586d123e03.jpg","text":"TemporaryFile(/tmp/multipartBody8423743675421129949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583785463,"filename":"image_31102025_14_10_58_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/1/db3486f5818cbf9af8668b7b79eb14c4.jpg","text":"TemporaryFile(/tmp/multipartBody7756121344767647941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583785463,"filename":"image_31102025_14_10_49_3771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397190876","file1":"1397190874","file0":"1397190848","file4":"1397190879","file5":"1397190881","file3":"1397190878"},"map_files_photo_id_array":[{"photo_id":"1397190881","filename":"file5"},{"photo_id":"1397190876","filename":"file2"},{"photo_id":"1397190879","filename":"file4"},{"photo_id":"1397190874","filename":"file1"},{"photo_id":"1397190848","filename":"file0"},{"photo_id":"1397190878","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397190874":["hashtag1","hashtag2"]},{"1397190879":["hashtag1","hashtag2"]},{"1397190876":["hashtag1","hashtag2"]},{"1397190881":["hashtag1","hashtag2"]},{"1397190878":["hashtag1","hashtag2"]},{"1397190848":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397190874, 1397190879, 1397190876, 1397190881, 1397190878, 1397190848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.83906865119934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:09:31.961068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_11_3704.jpg', '/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_14_2796.jpg', '/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_16_2513.jpg', '/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_20_3547.jpg', '/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_22_2547.jpg', '/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_26_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_11_3704.jpg
/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_14_2796.jpg
/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_16_2513.jpg
/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_20_3547.jpg
/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_22_2547.jpg
/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_26_3635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397190929","1397190949","1397190940","1397190950","1397190947","1397190926"],"photo_ids_order":["1397190926","1397190929","1397190940","1397190947","1397190949","1397190950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/232fe2bffdc25753f9d9e51bc20c183d.jpg","text":"TemporaryFile(/tmp/multipartBody3707144629927678778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583833736,"filename":"image_25112025_22_26_14_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8fd09618cf5e5beb267e02891eff730a.jpg","text":"TemporaryFile(/tmp/multipartBody2891078019746276061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583833736,"filename":"image_25112025_22_26_22_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/1/8cebab8774ac0a0dc581ea09e378fef6.jpg","text":"TemporaryFile(/tmp/multipartBody5824937100362372935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583833736,"filename":"image_25112025_22_26_16_2513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2d836e7df1b79b80fd811a2638ff0da4.jpg","text":"TemporaryFile(/tmp/multipartBody2814581624385748794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583833736,"filename":"image_25112025_22_26_26_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/1/e197fb10c1cc7d352eb83694f8cd0cb0.jpg","text":"TemporaryFile(/tmp/multipartBody8654820773313400563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583833736,"filename":"image_25112025_22_26_20_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/1/d8afbe6b200b87e1db5d065fc694422a.jpg","text":"TemporaryFile(/tmp/multipartBody2529775068114097823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583833736,"filename":"image_25112025_22_26_11_3704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397190940","file1":"1397190929","file0":"1397190926","file4":"1397190949","file5":"1397190950","file3":"1397190947"},"map_files_photo_id_array":[{"photo_id":"1397190950","filename":"file5"},{"photo_id":"1397190940","filename":"file2"},{"photo_id":"1397190949","filename":"file4"},{"photo_id":"1397190929","filename":"file1"},{"photo_id":"1397190926","filename":"file0"},{"photo_id":"1397190947","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397190929":["hashtag1","hashtag2"]},{"1397190949":["hashtag1","hashtag2"]},{"1397190940":["hashtag1","hashtag2"]},{"1397190950":["hashtag1","hashtag2"]},{"1397190947":["hashtag1","hashtag2"]},{"1397190926":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397190929, 1397190949, 1397190940, 1397190950, 1397190947, 1397190926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68714761734009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:10:12.116879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_28_2619.jpg', '/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_31_2536.jpg', '/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_35_3616.jpg', '/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_37_2555.jpg', '/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_40_2794.jpg', '/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_43_3567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_28_2619.jpg
/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_31_2536.jpg
/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_35_3616.jpg
/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_37_2555.jpg
/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_40_2794.jpg
/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_43_3567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397191054","1397190981","1397191014","1397191119","1397191097","1397191115"],"photo_ids_order":["1397190981","1397191014","1397191054","1397191097","1397191115","1397191119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7f30fec604195d1ae2d5f21b34a7d287.jpg","text":"TemporaryFile(/tmp/multipartBody4118497564831513524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583873907,"filename":"image_25112025_22_26_35_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ad21ac4382d139553fd363cf14deb996.jpg","text":"TemporaryFile(/tmp/multipartBody4332339629964129195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583873907,"filename":"image_25112025_22_26_28_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/1/c84014ec8bb89807d086aaca135c8230.jpg","text":"TemporaryFile(/tmp/multipartBody7492849155998589505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583873907,"filename":"image_25112025_22_26_31_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/1/9988489cb201145b189350b84daf5eed.jpg","text":"TemporaryFile(/tmp/multipartBody2156888286646606867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583873907,"filename":"image_25112025_22_26_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/1/0a8e0384b9df154b2e96e43df2a35dc6.jpg","text":"TemporaryFile(/tmp/multipartBody6824074181184089715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583873907,"filename":"image_25112025_22_26_37_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/1/e3d4f6deeed37a838fcb3dace6ac5e17.jpg","text":"TemporaryFile(/tmp/multipartBody6935610262218116422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583873907,"filename":"image_25112025_22_26_40_2794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397191054","file1":"1397191014","file0":"1397190981","file4":"1397191115","file5":"1397191119","file3":"1397191097"},"map_files_photo_id_array":[{"photo_id":"1397191119","filename":"file5"},{"photo_id":"1397191054","filename":"file2"},{"photo_id":"1397191115","filename":"file4"},{"photo_id":"1397191014","filename":"file1"},{"photo_id":"1397190981","filename":"file0"},{"photo_id":"1397191097","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397191054":["hashtag1","hashtag2"]},{"1397190981":["hashtag1","hashtag2"]},{"1397191014":["hashtag1","hashtag2"]},{"1397191119":["hashtag1","hashtag2"]},{"1397191097":["hashtag1","hashtag2"]},{"1397191115":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397191054, 1397190981, 1397191014, 1397191119, 1397191097, 1397191115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08767104148865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:11:02.920593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/39/image_01122025_10_39_54_9610.jpg', '/home/pi/Desktop/images/01122025/10/41/image_01122025_10_41_13_10038.jpg', '/home/pi/Desktop/images/01122025/10/41/image_01122025_10_41_24_10694.jpg', '/home/pi/Desktop/images/01122025/10/41/image_01122025_10_41_34_9675.jpg', '/home/pi/Desktop/images/01122025/10/41/image_01122025_10_41_43_9641.jpg', '/home/pi/Desktop/images/01122025/10/41/image_01122025_10_41_54_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/39/image_01122025_10_39_54_9610.jpg
/home/pi/Desktop/images/01122025/10/41/image_01122025_10_41_13_10038.jpg
/home/pi/Desktop/images/01122025/10/41/image_01122025_10_41_24_10694.jpg
/home/pi/Desktop/images/01122025/10/41/image_01122025_10_41_34_9675.jpg
/home/pi/Desktop/images/01122025/10/41/image_01122025_10_41_43_9641.jpg
/home/pi/Desktop/images/01122025/10/41/image_01122025_10_41_54_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":["1397191159","1397191153","1397191147","1397191156","1397191135","1397191163"],"photo_ids_order":["1397191135","1397191147","1397191153","1397191156","1397191159","1397191163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d66ae8ca8f4ed913ed6f311c25e4d2ed.jpg","text":"TemporaryFile(/tmp/multipartBody1318342400046611448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583923654,"filename":"image_01122025_10_41_43_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c051e32bf7995f39a5b0a58e4f27dc5c.jpg","text":"TemporaryFile(/tmp/multipartBody8216747172923979039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583923654,"filename":"image_01122025_10_41_24_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/1/dcc8e068a7699c75d758f2c57eba9dd2.jpg","text":"TemporaryFile(/tmp/multipartBody7903818499275582813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583923654,"filename":"image_01122025_10_41_13_10038.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/061ad9ae545015d9856f3865a7af6345.jpg","text":"TemporaryFile(/tmp/multipartBody7395986939198049664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583923654,"filename":"image_01122025_10_41_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/1/bea03348da680ed52d1003dff70588d5.jpg","text":"TemporaryFile(/tmp/multipartBody748638658679214681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583923654,"filename":"image_01122025_10_39_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/1/77b11f6a3922ae1dfba186cf49d61f96.jpg","text":"TemporaryFile(/tmp/multipartBody2568370742509728684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583923654,"filename":"image_01122025_10_41_54_10711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397191153","file1":"1397191147","file0":"1397191135","file4":"1397191159","file5":"1397191163","file3":"1397191156"},"map_files_photo_id_array":[{"photo_id":"1397191163","filename":"file5"},{"photo_id":"1397191153","filename":"file2"},{"photo_id":"1397191159","filename":"file4"},{"photo_id":"1397191147","filename":"file1"},{"photo_id":"1397191135","filename":"file0"},{"photo_id":"1397191156","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397191159":["hashtag1","hashtag2"]},{"1397191153":["hashtag1","hashtag2"]},{"1397191147":["hashtag1","hashtag2"]},{"1397191156":["hashtag1","hashtag2"]},{"1397191135":["hashtag1","hashtag2"]},{"1397191163":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397191159, 1397191153, 1397191147, 1397191156, 1397191135, 1397191163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09587001800537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:11:42.289714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_06_2873.jpg', '/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_09_3636.jpg', '/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_12_2744.jpg', '/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_15_2673.jpg', '/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_18_3587.jpg', '/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_21_3069.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_06_2873.jpg
/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_09_3636.jpg
/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_12_2744.jpg
/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_15_2673.jpg
/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_18_3587.jpg
/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_21_3069.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397191213","1397191248","1397191181","1397191184","1397191178","1397191183"],"photo_ids_order":["1397191178","1397191181","1397191183","1397191184","1397191213","1397191248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d04e1c2bfcd8719fa9eeaa76c4386c3f.jpg","text":"TemporaryFile(/tmp/multipartBody414684873922702388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583964952,"filename":"image_31102025_14_11_18_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/1/a810bb05b39934096134a8b67e688283.jpg","text":"TemporaryFile(/tmp/multipartBody6910209665585737958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583964952,"filename":"image_31102025_14_11_21_3069.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/762cac2ae2de4ae9063c8b21bcda5c1c.jpg","text":"TemporaryFile(/tmp/multipartBody5705395120318554074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583964952,"filename":"image_31102025_14_11_09_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/60b3eae6a35ec8762193d51a7c7c9037.jpg","text":"TemporaryFile(/tmp/multipartBody2405034038850303574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583964952,"filename":"image_31102025_14_11_15_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/1/b33259ab3223cb1222275fc1e0dc590b.jpg","text":"TemporaryFile(/tmp/multipartBody2451651831643306307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583964952,"filename":"image_31102025_14_11_06_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8f3ebac0e42549763d770e82944cb3c3.jpg","text":"TemporaryFile(/tmp/multipartBody4499958968250695083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764583964952,"filename":"image_31102025_14_11_12_2744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397191183","file1":"1397191181","file0":"1397191178","file4":"1397191213","file5":"1397191248","file3":"1397191184"},"map_files_photo_id_array":[{"photo_id":"1397191248","filename":"file5"},{"photo_id":"1397191183","filename":"file2"},{"photo_id":"1397191213","filename":"file4"},{"photo_id":"1397191181","filename":"file1"},{"photo_id":"1397191178","filename":"file0"},{"photo_id":"1397191184","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397191213":["hashtag1","hashtag2"]},{"1397191248":["hashtag1","hashtag2"]},{"1397191181":["hashtag1","hashtag2"]},{"1397191184":["hashtag1","hashtag2"]},{"1397191178":["hashtag1","hashtag2"]},{"1397191183":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397191213, 1397191248, 1397191181, 1397191184, 1397191178, 1397191183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95875024795532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:12:22.473639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/41/image_01122025_10_42_04_9682.jpg', '/home/pi/Desktop/images/01122025/10/42/image_01122025_10_42_14_9794.jpg', '/home/pi/Desktop/images/01122025/10/42/image_01122025_10_42_24_10733.jpg', '/home/pi/Desktop/images/01122025/10/42/image_01122025_10_42_34_9724.jpg', '/home/pi/Desktop/images/01122025/10/42/image_01122025_10_42_44_9503.jpg', '/home/pi/Desktop/images/01122025/10/42/image_01122025_10_42_54_10778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/41/image_01122025_10_42_04_9682.jpg
/home/pi/Desktop/images/01122025/10/42/image_01122025_10_42_14_9794.jpg
/home/pi/Desktop/images/01122025/10/42/image_01122025_10_42_24_10733.jpg
/home/pi/Desktop/images/01122025/10/42/image_01122025_10_42_34_9724.jpg
/home/pi/Desktop/images/01122025/10/42/image_01122025_10_42_44_9503.jpg
/home/pi/Desktop/images/01122025/10/42/image_01122025_10_42_54_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":["1397191315","1397191260","1397191341","1397191338","1397191311","1397191280"],"photo_ids_order":["1397191260","1397191280","1397191311","1397191315","1397191338","1397191341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2282aaecd486927693bc62c33ce756db.jpg","text":"TemporaryFile(/tmp/multipartBody2529693432840281752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584003174,"filename":"image_01122025_10_42_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/1/2add4479b7c8b946476cfb9c2f6488d7.jpg","text":"TemporaryFile(/tmp/multipartBody4560680501854731941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584003174,"filename":"image_01122025_10_42_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/1/44a14438b8d98771f1f3460f9710d96e.jpg","text":"TemporaryFile(/tmp/multipartBody1641944041674349900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584003174,"filename":"image_01122025_10_42_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/1/a7998a49eec4ec47555e5f31333754e4.jpg","text":"TemporaryFile(/tmp/multipartBody3213614806444384296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584003174,"filename":"image_01122025_10_42_44_9503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6639982f6456d49a3cd4d3f661808ed4.jpg","text":"TemporaryFile(/tmp/multipartBody7282844565473807346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584003174,"filename":"image_01122025_10_42_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/1/bd25abbea61a4edd00c1576366bb9580.jpg","text":"TemporaryFile(/tmp/multipartBody5197637523540399078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584003174,"filename":"image_01122025_10_42_14_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397191311","file1":"1397191280","file0":"1397191260","file4":"1397191338","file5":"1397191341","file3":"1397191315"},"map_files_photo_id_array":[{"photo_id":"1397191341","filename":"file5"},{"photo_id":"1397191311","filename":"file2"},{"photo_id":"1397191338","filename":"file4"},{"photo_id":"1397191280","filename":"file1"},{"photo_id":"1397191260","filename":"file0"},{"photo_id":"1397191315","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397191315":["hashtag1","hashtag2"]},{"1397191260":["hashtag1","hashtag2"]},{"1397191341":["hashtag1","hashtag2"]},{"1397191338":["hashtag1","hashtag2"]},{"1397191311":["hashtag1","hashtag2"]},{"1397191280":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397191315, 1397191260, 1397191341, 1397191338, 1397191311, 1397191280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87521958351135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:13:03.205256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/42/image_01122025_10_43_04_9689.jpg', '/home/pi/Desktop/images/01122025/10/43/image_01122025_10_43_14_9708.jpg', '/home/pi/Desktop/images/01122025/10/43/image_01122025_10_43_34_10621.jpg', '/home/pi/Desktop/images/01122025/10/43/image_01122025_10_43_44_9737.jpg', '/home/pi/Desktop/images/01122025/10/43/image_01122025_10_43_53_9716.jpg', '/home/pi/Desktop/images/01122025/10/43/image_01122025_10_44_04_10851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/42/image_01122025_10_43_04_9689.jpg
/home/pi/Desktop/images/01122025/10/43/image_01122025_10_43_14_9708.jpg
/home/pi/Desktop/images/01122025/10/43/image_01122025_10_43_34_10621.jpg
/home/pi/Desktop/images/01122025/10/43/image_01122025_10_43_44_9737.jpg
/home/pi/Desktop/images/01122025/10/43/image_01122025_10_43_53_9716.jpg
/home/pi/Desktop/images/01122025/10/43/image_01122025_10_44_04_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":["1397191372","1397191356","1397191350","1397191353","1397191367","1397191358"],"photo_ids_order":["1397191350","1397191353","1397191356","1397191358","1397191367","1397191372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/789695d9227be977fdcecbaf47fe7f66.jpg","text":"TemporaryFile(/tmp/multipartBody4764835730537516160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584043991,"filename":"image_01122025_10_44_04_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/1/86ffe1d3152ce78408baf04ed03d45dc.jpg","text":"TemporaryFile(/tmp/multipartBody5841213948364364222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584043991,"filename":"image_01122025_10_43_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/1/45952422021852108a242f0661943094.jpg","text":"TemporaryFile(/tmp/multipartBody3167736463120674611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584043991,"filename":"image_01122025_10_43_04_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/48cc2d7b6a7e4a288ec9e2a169ecce95.jpg","text":"TemporaryFile(/tmp/multipartBody5953810621203645805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584043991,"filename":"image_01122025_10_43_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/1/fcb9e192d990b10c18ad959a84dc5e90.jpg","text":"TemporaryFile(/tmp/multipartBody3027824800416301970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584043991,"filename":"image_01122025_10_43_53_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/1/7783fc925d8334324438f7254caf0442.jpg","text":"TemporaryFile(/tmp/multipartBody998426617362462842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584043991,"filename":"image_01122025_10_43_44_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397191356","file1":"1397191353","file0":"1397191350","file4":"1397191367","file5":"1397191372","file3":"1397191358"},"map_files_photo_id_array":[{"photo_id":"1397191372","filename":"file5"},{"photo_id":"1397191356","filename":"file2"},{"photo_id":"1397191367","filename":"file4"},{"photo_id":"1397191353","filename":"file1"},{"photo_id":"1397191350","filename":"file0"},{"photo_id":"1397191358","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397191372":["hashtag1","hashtag2"]},{"1397191356":["hashtag1","hashtag2"]},{"1397191350":["hashtag1","hashtag2"]},{"1397191353":["hashtag1","hashtag2"]},{"1397191367":["hashtag1","hashtag2"]},{"1397191358":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397191372, 1397191356, 1397191350, 1397191353, 1397191367, 1397191358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.6641960144043 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-01 11:14:03.414395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/44/image_01122025_10_44_14_9796.jpg', '/home/pi/Desktop/images/01122025/10/44/image_01122025_10_44_24_9717.jpg', '/home/pi/Desktop/images/01122025/10/44/image_01122025_10_44_33_9567.jpg', '/home/pi/Desktop/images/01122025/10/44/image_01122025_10_44_44_10713.jpg', '/home/pi/Desktop/images/01122025/10/44/image_01122025_10_44_54_9634.jpg', '/home/pi/Desktop/images/01122025/10/46/image_01122025_10_46_14_10038.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/44/image_01122025_10_44_14_9796.jpg
/home/pi/Desktop/images/01122025/10/44/image_01122025_10_44_24_9717.jpg
/home/pi/Desktop/images/01122025/10/44/image_01122025_10_44_33_9567.jpg
/home/pi/Desktop/images/01122025/10/44/image_01122025_10_44_44_10713.jpg
/home/pi/Desktop/images/01122025/10/44/image_01122025_10_44_54_9634.jpg
/home/pi/Desktop/images/01122025/10/46/image_01122025_10_46_14_10038.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397191413","1397191397","1397191401","1397191391","1397191409","1397191403"],"photo_ids_order":["1397191391","1397191397","1397191401","1397191403","1397191409","1397191413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/012c2f0f00f0252662a05540dd8e19a9.jpg","text":"TemporaryFile(/tmp/multipartBody3348243812595980961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584104140,"filename":"image_01122025_10_46_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/1/93b8fdd29de47f7e89c08947c3a46f17.jpg","text":"TemporaryFile(/tmp/multipartBody5796065872211995512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584104140,"filename":"image_01122025_10_44_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/1/9972b34a3a86cc5ab26c6fe1254afa19.jpg","text":"TemporaryFile(/tmp/multipartBody4591253115472142170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584104140,"filename":"image_01122025_10_44_33_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/1/5d7ce86d52f44145a09053a37a805b8b.jpg","text":"TemporaryFile(/tmp/multipartBody4085478436536649374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584104140,"filename":"image_01122025_10_44_14_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6f6023c646835ae4a94ebe5edf078d3a.jpg","text":"TemporaryFile(/tmp/multipartBody13542187108375357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584104140,"filename":"image_01122025_10_44_54_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5632db713513ff14c5eb052b08bcce12.jpg","text":"TemporaryFile(/tmp/multipartBody5360002950826977887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584104140,"filename":"image_01122025_10_44_44_10713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397191401","file1":"1397191397","file0":"1397191391","file4":"1397191409","file5":"1397191413","file3":"1397191403"},"map_files_photo_id_array":[{"photo_id":"1397191413","filename":"file5"},{"photo_id":"1397191401","filename":"file2"},{"photo_id":"1397191409","filename":"file4"},{"photo_id":"1397191397","filename":"file1"},{"photo_id":"1397191391","filename":"file0"},{"photo_id":"1397191403","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397191413":["hashtag1","hashtag2"]},{"1397191397":["hashtag1","hashtag2"]},{"1397191401":["hashtag1","hashtag2"]},{"1397191391":["hashtag1","hashtag2"]},{"1397191409":["hashtag1","hashtag2"]},{"1397191403":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397191413, 1397191397, 1397191401, 1397191391, 1397191409, 1397191403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10694122314453 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:14:42.782840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_24_2671.jpg', '/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_27_2823.jpg', '/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_31_3603.jpg', '/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_33_2637.jpg', '/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_36_2736.jpg', '/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_40_3588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_24_2671.jpg
/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_27_2823.jpg
/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_31_3603.jpg
/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_33_2637.jpg
/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_36_2736.jpg
/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_40_3588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397191444","1397191441","1397191437","1397191425","1397191436","1397191439"],"photo_ids_order":["1397191425","1397191436","1397191437","1397191439","1397191441","1397191444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/776906aff33e43bba65bd9ab2c1378ce.jpg","text":"TemporaryFile(/tmp/multipartBody2033471414729914592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584145468,"filename":"image_31102025_14_11_40_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/1/dbd678ff1449f797123297424774f28c.jpg","text":"TemporaryFile(/tmp/multipartBody1898708317574364172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584145468,"filename":"image_31102025_14_11_36_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/1/6e187c9f495fb59344d50368028837a9.jpg","text":"TemporaryFile(/tmp/multipartBody1557908797940754052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584145468,"filename":"image_31102025_14_11_31_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/1/ddb7d65d3eaea1c5d3b39fdd89c23e40.jpg","text":"TemporaryFile(/tmp/multipartBody6283276762368024190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584145468,"filename":"image_31102025_14_11_24_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/1/4b6b3ea9685961bbc04df4e8066450a9.jpg","text":"TemporaryFile(/tmp/multipartBody7694263297851432777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584145468,"filename":"image_31102025_14_11_27_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2e969feaaa129f9eb33ffa7b309d00cd.jpg","text":"TemporaryFile(/tmp/multipartBody2019287059393205368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584145468,"filename":"image_31102025_14_11_33_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397191437","file1":"1397191436","file0":"1397191425","file4":"1397191441","file5":"1397191444","file3":"1397191439"},"map_files_photo_id_array":[{"photo_id":"1397191444","filename":"file5"},{"photo_id":"1397191437","filename":"file2"},{"photo_id":"1397191441","filename":"file4"},{"photo_id":"1397191436","filename":"file1"},{"photo_id":"1397191425","filename":"file0"},{"photo_id":"1397191439","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397191444":["hashtag1","hashtag2"]},{"1397191441":["hashtag1","hashtag2"]},{"1397191437":["hashtag1","hashtag2"]},{"1397191425":["hashtag1","hashtag2"]},{"1397191436":["hashtag1","hashtag2"]},{"1397191439":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397191444, 1397191441, 1397191437, 1397191425, 1397191436, 1397191439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65319585800171 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:15:32.017119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_46_2692.jpg', '/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_50_3583.jpg', '/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_52_2650.jpg', '/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_55_2799.jpg', '/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_58_2670.jpg', '/home/pi/Desktop/images/25112025/22/26/image_25112025_22_27_01_3586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_46_2692.jpg
/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_50_3583.jpg
/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_52_2650.jpg
/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_55_2799.jpg
/home/pi/Desktop/images/25112025/22/26/image_25112025_22_26_58_2670.jpg
/home/pi/Desktop/images/25112025/22/26/image_25112025_22_27_01_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":["1397191515","1397191518","1397191512","1397191509","1397191520","1397191517"],"photo_ids_order":["1397191509","1397191512","1397191515","1397191517","1397191518","1397191520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5fe405b9054aca16fa9d88f219d166f5.jpg","text":"TemporaryFile(/tmp/multipartBody1379923165232116650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584193793,"filename":"image_25112025_22_26_52_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0039cf981c2830783ac1691c8d954a8e.jpg","text":"TemporaryFile(/tmp/multipartBody8297843635052139825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584193793,"filename":"image_25112025_22_26_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/1/eb3bb0dc99ab9964b6add53f6c7f7bc4.jpg","text":"TemporaryFile(/tmp/multipartBody8717555427770726182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584193793,"filename":"image_25112025_22_26_50_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/90380043bc5d11acf87ad5ebca0183d4.jpg","text":"TemporaryFile(/tmp/multipartBody6871292347092725875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584193793,"filename":"image_25112025_22_26_46_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/739a3d9032a3a2822faccbeaf61e0116.jpg","text":"TemporaryFile(/tmp/multipartBody5342520186059431026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584193793,"filename":"image_25112025_22_27_01_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4c14f6a8c3bd30b6919c16ce52fee1b0.jpg","text":"TemporaryFile(/tmp/multipartBody580781204204823014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584193793,"filename":"image_25112025_22_26_55_2799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397191515","file1":"1397191512","file0":"1397191509","file4":"1397191518","file5":"1397191520","file3":"1397191517"},"map_files_photo_id_array":[{"photo_id":"1397191520","filename":"file5"},{"photo_id":"1397191515","filename":"file2"},{"photo_id":"1397191518","filename":"file4"},{"photo_id":"1397191512","filename":"file1"},{"photo_id":"1397191509","filename":"file0"},{"photo_id":"1397191517","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397191515":["hashtag1","hashtag2"]},{"1397191518":["hashtag1","hashtag2"]},{"1397191512":["hashtag1","hashtag2"]},{"1397191509":["hashtag1","hashtag2"]},{"1397191520":["hashtag1","hashtag2"]},{"1397191517":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397191515, 1397191518, 1397191512, 1397191509, 1397191520, 1397191517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90843486785889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:16:12.095647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_07_2751.jpg', '/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_10_3665.jpg', '/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_13_2760.jpg', '/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_16_2767.jpg', '/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_20_3602.jpg', '/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_22_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_07_2751.jpg
/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_10_3665.jpg
/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_13_2760.jpg
/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_16_2767.jpg
/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_20_3602.jpg
/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_22_2581.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.562326192855835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:16:22.127451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/46/image_01122025_10_46_24_10706.jpg', '/home/pi/Desktop/images/01122025/10/46/image_01122025_10_46_34_9717.jpg', '/home/pi/Desktop/images/01122025/10/46/image_01122025_10_46_44_9982.jpg', '/home/pi/Desktop/images/01122025/10/46/image_01122025_10_46_54_9703.jpg', '/home/pi/Desktop/images/01122025/10/46/image_01122025_10_47_04_10666.jpg', '/home/pi/Desktop/images/01122025/10/47/image_01122025_10_47_14_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/46/image_01122025_10_46_24_10706.jpg
/home/pi/Desktop/images/01122025/10/46/image_01122025_10_46_34_9717.jpg
/home/pi/Desktop/images/01122025/10/46/image_01122025_10_46_44_9982.jpg
/home/pi/Desktop/images/01122025/10/46/image_01122025_10_46_54_9703.jpg
/home/pi/Desktop/images/01122025/10/46/image_01122025_10_47_04_10666.jpg
/home/pi/Desktop/images/01122025/10/47/image_01122025_10_47_14_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":["1397191561","1397191558","1397191543","1397191565","1397191550","1397191553"],"photo_ids_order":["1397191543","1397191550","1397191553","1397191558","1397191561","1397191565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9c046518457c7ea08532dfb6f655f1e2.jpg","text":"TemporaryFile(/tmp/multipartBody7074894825404350720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584242837,"filename":"image_01122025_10_47_04_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4860ed6e6cb312a3979d8c55b2ef567b.jpg","text":"TemporaryFile(/tmp/multipartBody6767004176100023472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584242837,"filename":"image_01122025_10_46_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/1/bdb2cd68a3e3223c43644c24e3de057d.jpg","text":"TemporaryFile(/tmp/multipartBody3625713891481273503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584242837,"filename":"image_01122025_10_46_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/1/a0f5c625b7dc91e9794d956c13f850f0.jpg","text":"TemporaryFile(/tmp/multipartBody6762864285246004952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584242837,"filename":"image_01122025_10_47_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/1/c26dbfee3c72ecf8bb380fcb7b6f5b43.jpg","text":"TemporaryFile(/tmp/multipartBody2235938551611151260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584242837,"filename":"image_01122025_10_46_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/1/e9aa1e40ddb01289e27146686cb1a3fc.jpg","text":"TemporaryFile(/tmp/multipartBody8619032611682986268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584242837,"filename":"image_01122025_10_46_44_9982.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397191553","file1":"1397191550","file0":"1397191543","file4":"1397191561","file5":"1397191565","file3":"1397191558"},"map_files_photo_id_array":[{"photo_id":"1397191565","filename":"file5"},{"photo_id":"1397191553","filename":"file2"},{"photo_id":"1397191561","filename":"file4"},{"photo_id":"1397191550","filename":"file1"},{"photo_id":"1397191543","filename":"file0"},{"photo_id":"1397191558","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397191561":["hashtag1","hashtag2"]},{"1397191558":["hashtag1","hashtag2"]},{"1397191543":["hashtag1","hashtag2"]},{"1397191565":["hashtag1","hashtag2"]},{"1397191550":["hashtag1","hashtag2"]},{"1397191553":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397191561, 1397191558, 1397191543, 1397191565, 1397191550, 1397191553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03852963447571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:17:02.873521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/47/image_01122025_10_47_24_9555.jpg', '/home/pi/Desktop/images/01122025/10/47/image_01122025_10_47_34_10501.jpg', '/home/pi/Desktop/images/01122025/10/47/image_01122025_10_47_44_9747.jpg', '/home/pi/Desktop/images/01122025/10/47/image_01122025_10_47_54_9704.jpg', '/home/pi/Desktop/images/01122025/10/47/image_01122025_10_48_04_10893.jpg', '/home/pi/Desktop/images/01122025/10/48/image_01122025_10_48_14_9836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/47/image_01122025_10_47_24_9555.jpg
/home/pi/Desktop/images/01122025/10/47/image_01122025_10_47_34_10501.jpg
/home/pi/Desktop/images/01122025/10/47/image_01122025_10_47_44_9747.jpg
/home/pi/Desktop/images/01122025/10/47/image_01122025_10_47_54_9704.jpg
/home/pi/Desktop/images/01122025/10/47/image_01122025_10_48_04_10893.jpg
/home/pi/Desktop/images/01122025/10/48/image_01122025_10_48_14_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":["1397191581","1397191577","1397191586","1397191571","1397191574","1397191568"],"photo_ids_order":["1397191568","1397191571","1397191574","1397191577","1397191581","1397191586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0086523754be281284ea3d0b0050e674.jpg","text":"TemporaryFile(/tmp/multipartBody9008935230956249755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584283634,"filename":"image_01122025_10_48_04_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/1/e1db0f65a05234e14fde927bedd06002.jpg","text":"TemporaryFile(/tmp/multipartBody7425053958824558010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584283634,"filename":"image_01122025_10_47_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/1/027bc16cd1bb60b19b48bcd7d0640658.jpg","text":"TemporaryFile(/tmp/multipartBody2942795246508000378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584283634,"filename":"image_01122025_10_48_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/1/63527462420974901571feb6e2b40493.jpg","text":"TemporaryFile(/tmp/multipartBody4958734278198328820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584283634,"filename":"image_01122025_10_47_34_10501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/883eefbb46cdd8dfa89f25451546b84f.jpg","text":"TemporaryFile(/tmp/multipartBody8959307298906917422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584283634,"filename":"image_01122025_10_47_44_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/de1c187c2db6daebdea72352aa3ad841.jpg","text":"TemporaryFile(/tmp/multipartBody2722040327023255409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584283634,"filename":"image_01122025_10_47_24_9555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397191574","file1":"1397191571","file0":"1397191568","file4":"1397191581","file5":"1397191586","file3":"1397191577"},"map_files_photo_id_array":[{"photo_id":"1397191586","filename":"file5"},{"photo_id":"1397191574","filename":"file2"},{"photo_id":"1397191581","filename":"file4"},{"photo_id":"1397191571","filename":"file1"},{"photo_id":"1397191568","filename":"file0"},{"photo_id":"1397191577","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397191581":["hashtag1","hashtag2"]},{"1397191577":["hashtag1","hashtag2"]},{"1397191586":["hashtag1","hashtag2"]},{"1397191571":["hashtag1","hashtag2"]},{"1397191574":["hashtag1","hashtag2"]},{"1397191568":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397191581, 1397191577, 1397191586, 1397191571, 1397191574, 1397191568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.241119384765625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:17:42.307552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_42_2667.jpg', '/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_45_2552.jpg', '/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_48_3660.jpg', '/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_51_2773.jpg', '/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_54_2606.jpg', '/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_58_3727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_42_2667.jpg
/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_45_2552.jpg
/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_48_3660.jpg
/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_51_2773.jpg
/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_54_2606.jpg
/home/pi/Desktop/images/31102025/14/11/image_31102025_14_11_58_3727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397191612","1397191615","1397191609","1397191603","1397191608","1397191610"],"photo_ids_order":["1397191603","1397191608","1397191609","1397191610","1397191612","1397191615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ec2354fa7a06c6bb9f9718178d3203b3.jpg","text":"TemporaryFile(/tmp/multipartBody8497484843856972266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584324990,"filename":"image_31102025_14_11_54_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/1/6f52020353a3eee33d80b582e5b1b8d2.jpg","text":"TemporaryFile(/tmp/multipartBody5759040099635465633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584324990,"filename":"image_31102025_14_11_58_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/1/dead0a714f86a67b3b76b6dff244262c.jpg","text":"TemporaryFile(/tmp/multipartBody6918001711411783521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584324990,"filename":"image_31102025_14_11_48_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d42ded6a350224e96fd0cb4ed378e995.jpg","text":"TemporaryFile(/tmp/multipartBody7209842741691015701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584324990,"filename":"image_31102025_14_11_42_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/1/a4b84279ea9ae87c4a1b2a7212d4f194.jpg","text":"TemporaryFile(/tmp/multipartBody3053896455294266179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584324990,"filename":"image_31102025_14_11_45_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/570d94b02984813eac1eadde8291f0b1.jpg","text":"TemporaryFile(/tmp/multipartBody7040864188803028717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584324990,"filename":"image_31102025_14_11_51_2773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397191609","file1":"1397191608","file0":"1397191603","file4":"1397191612","file5":"1397191615","file3":"1397191610"},"map_files_photo_id_array":[{"photo_id":"1397191615","filename":"file5"},{"photo_id":"1397191609","filename":"file2"},{"photo_id":"1397191612","filename":"file4"},{"photo_id":"1397191608","filename":"file1"},{"photo_id":"1397191603","filename":"file0"},{"photo_id":"1397191610","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397191612":["hashtag1","hashtag2"]},{"1397191615":["hashtag1","hashtag2"]},{"1397191609":["hashtag1","hashtag2"]},{"1397191603":["hashtag1","hashtag2"]},{"1397191608":["hashtag1","hashtag2"]},{"1397191610":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397191612, 1397191615, 1397191609, 1397191603, 1397191608, 1397191610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25359106063843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:18:22.542196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/48/image_01122025_10_48_24_9619.jpg', '/home/pi/Desktop/images/01122025/10/48/image_01122025_10_48_35_10629.jpg', '/home/pi/Desktop/images/01122025/10/48/image_01122025_10_48_44_9745.jpg', '/home/pi/Desktop/images/01122025/10/48/image_01122025_10_48_54_9545.jpg', '/home/pi/Desktop/images/01122025/10/48/image_01122025_10_49_04_10658.jpg', '/home/pi/Desktop/images/01122025/10/49/image_01122025_10_49_14_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/48/image_01122025_10_48_24_9619.jpg
/home/pi/Desktop/images/01122025/10/48/image_01122025_10_48_35_10629.jpg
/home/pi/Desktop/images/01122025/10/48/image_01122025_10_48_44_9745.jpg
/home/pi/Desktop/images/01122025/10/48/image_01122025_10_48_54_9545.jpg
/home/pi/Desktop/images/01122025/10/48/image_01122025_10_49_04_10658.jpg
/home/pi/Desktop/images/01122025/10/49/image_01122025_10_49_14_9769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397191624","1397191627","1397191635","1397191638","1397191631","1397191640"],"photo_ids_order":["1397191624","1397191627","1397191631","1397191635","1397191638","1397191640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e0c876082fda6f432bc6393f7ae583ba.jpg","text":"TemporaryFile(/tmp/multipartBody8578617852834404830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584363279,"filename":"image_01122025_10_48_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/1/b3068c7f94a5a5caca707638c99e06a3.jpg","text":"TemporaryFile(/tmp/multipartBody4235100931610611801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584363279,"filename":"image_01122025_10_48_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/1/7d12102a4b28c1f34e463abab657e473.jpg","text":"TemporaryFile(/tmp/multipartBody2825458768542905296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584363279,"filename":"image_01122025_10_48_54_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/1/c1633b00ad7bdf1746bb6a4c8599523d.jpg","text":"TemporaryFile(/tmp/multipartBody7618077961147594506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584363279,"filename":"image_01122025_10_49_04_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dc47d03b3fc08bb03c9013acb965755f.jpg","text":"TemporaryFile(/tmp/multipartBody860431301102657971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584363279,"filename":"image_01122025_10_48_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/1/2f32c4e3a2d583f91f07754fdfa64a65.jpg","text":"TemporaryFile(/tmp/multipartBody3091752511289786932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584363279,"filename":"image_01122025_10_49_14_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397191631","file1":"1397191627","file0":"1397191624","file4":"1397191638","file5":"1397191640","file3":"1397191635"},"map_files_photo_id_array":[{"photo_id":"1397191640","filename":"file5"},{"photo_id":"1397191631","filename":"file2"},{"photo_id":"1397191638","filename":"file4"},{"photo_id":"1397191627","filename":"file1"},{"photo_id":"1397191624","filename":"file0"},{"photo_id":"1397191635","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397191624":["hashtag1","hashtag2"]},{"1397191627":["hashtag1","hashtag2"]},{"1397191635":["hashtag1","hashtag2"]},{"1397191638":["hashtag1","hashtag2"]},{"1397191631":["hashtag1","hashtag2"]},{"1397191640":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397191624, 1397191627, 1397191635, 1397191638, 1397191631, 1397191640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.751099586486816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:19:03.671895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/49/image_01122025_10_49_24_9613.jpg', '/home/pi/Desktop/images/01122025/10/49/image_01122025_10_49_34_10569.jpg', '/home/pi/Desktop/images/01122025/10/49/image_01122025_10_49_44_9724.jpg', '/home/pi/Desktop/images/01122025/10/49/image_01122025_10_49_54_9799.jpg', '/home/pi/Desktop/images/01122025/10/51/image_01122025_10_51_13_10037.jpg', '/home/pi/Desktop/images/01122025/10/51/image_01122025_10_51_24_10581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/49/image_01122025_10_49_24_9613.jpg
/home/pi/Desktop/images/01122025/10/49/image_01122025_10_49_34_10569.jpg
/home/pi/Desktop/images/01122025/10/49/image_01122025_10_49_44_9724.jpg
/home/pi/Desktop/images/01122025/10/49/image_01122025_10_49_54_9799.jpg
/home/pi/Desktop/images/01122025/10/51/image_01122025_10_51_13_10037.jpg
/home/pi/Desktop/images/01122025/10/51/image_01122025_10_51_24_10581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397191654","1397191662","1397191658","1397191667","1397191646","1397191649"],"photo_ids_order":["1397191646","1397191649","1397191654","1397191658","1397191662","1397191667"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/959ad9663148dfbcd2847d59f8f27b8d.jpg","text":"TemporaryFile(/tmp/multipartBody3274604990097702780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584404546,"filename":"image_01122025_10_49_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/1/17802164ee7ec03a1ed2b13d55659fd4.jpg","text":"TemporaryFile(/tmp/multipartBody6423039028676823516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584404546,"filename":"image_01122025_10_51_13_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a5757d84d5d564b55bac372f2137f933.jpg","text":"TemporaryFile(/tmp/multipartBody1185576465672542867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584404546,"filename":"image_01122025_10_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/1/a4859c003d54665966a556760f5894f6.jpg","text":"TemporaryFile(/tmp/multipartBody1065297247106777703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584404546,"filename":"image_01122025_10_51_24_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1456f7cb18c48cfe2651c528375cecdd.jpg","text":"TemporaryFile(/tmp/multipartBody3324400895662588258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584404546,"filename":"image_01122025_10_49_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/1/de3bc5616fc6d4b5484685e83b7c43c4.jpg","text":"TemporaryFile(/tmp/multipartBody1427380797980118229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584404546,"filename":"image_01122025_10_49_34_10569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397191654","file1":"1397191649","file0":"1397191646","file4":"1397191662","file5":"1397191667","file3":"1397191658"},"map_files_photo_id_array":[{"photo_id":"1397191667","filename":"file5"},{"photo_id":"1397191654","filename":"file2"},{"photo_id":"1397191662","filename":"file4"},{"photo_id":"1397191649","filename":"file1"},{"photo_id":"1397191646","filename":"file0"},{"photo_id":"1397191658","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397191654":["hashtag1","hashtag2"]},{"1397191662":["hashtag1","hashtag2"]},{"1397191658":["hashtag1","hashtag2"]},{"1397191667":["hashtag1","hashtag2"]},{"1397191646":["hashtag1","hashtag2"]},{"1397191649":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397191654, 1397191662, 1397191658, 1397191667, 1397191646, 1397191649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.56551122665405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:20:02.304998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/51/image_01122025_10_51_34_9608.jpg', '/home/pi/Desktop/images/01122025/10/51/image_01122025_10_51_44_9869.jpg', '/home/pi/Desktop/images/01122025/10/51/image_01122025_10_51_54_10744.jpg', '/home/pi/Desktop/images/01122025/10/51/image_01122025_10_52_04_9608.jpg', '/home/pi/Desktop/images/01122025/10/52/image_01122025_10_52_14_9714.jpg', '/home/pi/Desktop/images/01122025/10/52/image_01122025_10_52_24_10781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/51/image_01122025_10_51_34_9608.jpg
/home/pi/Desktop/images/01122025/10/51/image_01122025_10_51_44_9869.jpg
/home/pi/Desktop/images/01122025/10/51/image_01122025_10_51_54_10744.jpg
/home/pi/Desktop/images/01122025/10/51/image_01122025_10_52_04_9608.jpg
/home/pi/Desktop/images/01122025/10/52/image_01122025_10_52_14_9714.jpg
/home/pi/Desktop/images/01122025/10/52/image_01122025_10_52_24_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":["1397191873","1397191957","1397191918","1397192031","1397191996","1397192053"],"photo_ids_order":["1397191873","1397191918","1397191957","1397191996","1397192031","1397192053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5f2a7f529144d5a300b81dabc157708b.jpg","text":"TemporaryFile(/tmp/multipartBody3492584605510705502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584463045,"filename":"image_01122025_10_51_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/1/8172e2f9f49809706fd7eb581f04114a.jpg","text":"TemporaryFile(/tmp/multipartBody5184636546005968076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584463045,"filename":"image_01122025_10_51_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/1/77547d9ac7362e32f317fc35788f54fc.jpg","text":"TemporaryFile(/tmp/multipartBody9121383598397559358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584463045,"filename":"image_01122025_10_51_44_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/1/6450ecc78157970765f46d793f8ac19d.jpg","text":"TemporaryFile(/tmp/multipartBody1485076032383940357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584463045,"filename":"image_01122025_10_52_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/1/32cbd9505ebea28724fc221c25d2027f.jpg","text":"TemporaryFile(/tmp/multipartBody2761816441891489311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584463045,"filename":"image_01122025_10_52_04_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/76c1906f490638cd718f6f4983d4af25.jpg","text":"TemporaryFile(/tmp/multipartBody8305249391326676858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584463045,"filename":"image_01122025_10_52_24_10781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397191957","file1":"1397191918","file0":"1397191873","file4":"1397192031","file5":"1397192053","file3":"1397191996"},"map_files_photo_id_array":[{"photo_id":"1397192053","filename":"file5"},{"photo_id":"1397191957","filename":"file2"},{"photo_id":"1397192031","filename":"file4"},{"photo_id":"1397191918","filename":"file1"},{"photo_id":"1397191873","filename":"file0"},{"photo_id":"1397191996","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397191873":["hashtag1","hashtag2"]},{"1397191957":["hashtag1","hashtag2"]},{"1397191918":["hashtag1","hashtag2"]},{"1397192031":["hashtag1","hashtag2"]},{"1397191996":["hashtag1","hashtag2"]},{"1397192053":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397191873, 1397191957, 1397191918, 1397192031, 1397191996, 1397192053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.557812213897705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:20:41.856762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/11/image_31102025_14_12_00_2904.jpg', '/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_03_2709.jpg', '/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_06_2588.jpg', '/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_10_3810.jpg', '/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_12_2611.jpg', '/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_15_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/11/image_31102025_14_12_00_2904.jpg
/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_03_2709.jpg
/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_06_2588.jpg
/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_10_3810.jpg
/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_12_2611.jpg
/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_15_2592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397192140","1397192113","1397192141","1397192120","1397192092","1397192131"],"photo_ids_order":["1397192092","1397192113","1397192120","1397192131","1397192140","1397192141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5f51ab066a0f5ea0c9457b6ae9e5356a.jpg","text":"TemporaryFile(/tmp/multipartBody8184499805012730306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584504517,"filename":"image_31102025_14_12_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/1/298ea3729d963109fbb227676691a1b3.jpg","text":"TemporaryFile(/tmp/multipartBody5454466361967774965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584504517,"filename":"image_31102025_14_12_03_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7edd1f5b790b3f89ba3b6d28219333d0.jpg","text":"TemporaryFile(/tmp/multipartBody3213440258400182220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584504517,"filename":"image_31102025_14_12_15_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/1/45e52dcc247fa9a46e76d613682e73a6.jpg","text":"TemporaryFile(/tmp/multipartBody3042881952120701535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584504517,"filename":"image_31102025_14_12_06_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/1/ae0a582b285ec3742f1e552a50850365.jpg","text":"TemporaryFile(/tmp/multipartBody2424915658111524709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584504517,"filename":"image_31102025_14_12_00_2904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3a924cf70e40e384382bb36706ec7219.jpg","text":"TemporaryFile(/tmp/multipartBody4874145617627810950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584504517,"filename":"image_31102025_14_12_10_3810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397192120","file1":"1397192113","file0":"1397192092","file4":"1397192140","file5":"1397192141","file3":"1397192131"},"map_files_photo_id_array":[{"photo_id":"1397192141","filename":"file5"},{"photo_id":"1397192120","filename":"file2"},{"photo_id":"1397192140","filename":"file4"},{"photo_id":"1397192113","filename":"file1"},{"photo_id":"1397192092","filename":"file0"},{"photo_id":"1397192131","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397192140":["hashtag1","hashtag2"]},{"1397192113":["hashtag1","hashtag2"]},{"1397192141":["hashtag1","hashtag2"]},{"1397192120":["hashtag1","hashtag2"]},{"1397192092":["hashtag1","hashtag2"]},{"1397192131":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397192140, 1397192113, 1397192141, 1397192120, 1397192092, 1397192131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.34481692314148 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:21:22.048812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/52/image_01122025_10_52_34_9678.jpg', '/home/pi/Desktop/images/01122025/10/52/image_01122025_10_52_44_9691.jpg', '/home/pi/Desktop/images/01122025/10/52/image_01122025_10_52_54_9796.jpg', '/home/pi/Desktop/images/01122025/10/52/image_01122025_10_53_04_10655.jpg', '/home/pi/Desktop/images/01122025/10/53/image_01122025_10_53_14_9672.jpg', '/home/pi/Desktop/images/01122025/10/53/image_01122025_10_53_24_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/52/image_01122025_10_52_34_9678.jpg
/home/pi/Desktop/images/01122025/10/52/image_01122025_10_52_44_9691.jpg
/home/pi/Desktop/images/01122025/10/52/image_01122025_10_52_54_9796.jpg
/home/pi/Desktop/images/01122025/10/52/image_01122025_10_53_04_10655.jpg
/home/pi/Desktop/images/01122025/10/53/image_01122025_10_53_14_9672.jpg
/home/pi/Desktop/images/01122025/10/53/image_01122025_10_53_24_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":["1397192149","1397192181","1397192178","1397192174","1397192170","1397192164"],"photo_ids_order":["1397192149","1397192164","1397192170","1397192174","1397192178","1397192181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6cac4fab08b970ffb0be6fc4ae0cc7ff.jpg","text":"TemporaryFile(/tmp/multipartBody82852762564387085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584542775,"filename":"image_01122025_10_52_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/1/7cbe57a222902dcbacc129d31ca06b7c.jpg","text":"TemporaryFile(/tmp/multipartBody4516850788178490300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584542775,"filename":"image_01122025_10_53_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/1/f389c1e308e43e68794408b38641453e.jpg","text":"TemporaryFile(/tmp/multipartBody3921511446911853829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584542775,"filename":"image_01122025_10_53_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/1/a46b9bafb71d37cc6eba6aaaa8e4db50.jpg","text":"TemporaryFile(/tmp/multipartBody2660134278459375403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584542775,"filename":"image_01122025_10_53_04_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1bd043fa45af4c57a2f28d04f1e0dbc9.jpg","text":"TemporaryFile(/tmp/multipartBody2386620334139731516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584542775,"filename":"image_01122025_10_52_54_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0db427456fcb585f4c03df29d75a6acb.jpg","text":"TemporaryFile(/tmp/multipartBody5516465307019310420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584542775,"filename":"image_01122025_10_52_44_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397192170","file1":"1397192164","file0":"1397192149","file4":"1397192178","file5":"1397192181","file3":"1397192174"},"map_files_photo_id_array":[{"photo_id":"1397192181","filename":"file5"},{"photo_id":"1397192170","filename":"file2"},{"photo_id":"1397192178","filename":"file4"},{"photo_id":"1397192164","filename":"file1"},{"photo_id":"1397192149","filename":"file0"},{"photo_id":"1397192174","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397192149":["hashtag1","hashtag2"]},{"1397192181":["hashtag1","hashtag2"]},{"1397192178":["hashtag1","hashtag2"]},{"1397192174":["hashtag1","hashtag2"]},{"1397192170":["hashtag1","hashtag2"]},{"1397192164":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397192149, 1397192181, 1397192178, 1397192174, 1397192170, 1397192164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08127427101135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:22:02.692949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/53/image_01122025_10_53_34_10678.jpg', '/home/pi/Desktop/images/01122025/10/53/image_01122025_10_53_44_9714.jpg', '/home/pi/Desktop/images/01122025/10/53/image_01122025_10_53_54_9793.jpg', '/home/pi/Desktop/images/01122025/10/53/image_01122025_10_54_04_9752.jpg', '/home/pi/Desktop/images/01122025/10/54/image_01122025_10_54_14_10681.jpg', '/home/pi/Desktop/images/01122025/10/54/image_01122025_10_54_24_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/53/image_01122025_10_53_34_10678.jpg
/home/pi/Desktop/images/01122025/10/53/image_01122025_10_53_44_9714.jpg
/home/pi/Desktop/images/01122025/10/53/image_01122025_10_53_54_9793.jpg
/home/pi/Desktop/images/01122025/10/53/image_01122025_10_54_04_9752.jpg
/home/pi/Desktop/images/01122025/10/54/image_01122025_10_54_14_10681.jpg
/home/pi/Desktop/images/01122025/10/54/image_01122025_10_54_24_9588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397192206","1397192199","1397192214","1397192192","1397192201","1397192194"],"photo_ids_order":["1397192192","1397192194","1397192199","1397192201","1397192206","1397192214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1750af3e3d72f3d90ae8d4e20390863e.jpg","text":"TemporaryFile(/tmp/multipartBody1393338913395653918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584583449,"filename":"image_01122025_10_54_14_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/1/52ca51f918e585a248fd10a6de9a552e.jpg","text":"TemporaryFile(/tmp/multipartBody4616775831341885733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584583449,"filename":"image_01122025_10_53_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/1/67caca3c86210d86628e756ab7f5d861.jpg","text":"TemporaryFile(/tmp/multipartBody7264559863384439112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584583449,"filename":"image_01122025_10_54_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/1/ce6d78c735f0422986ddc5b35671d156.jpg","text":"TemporaryFile(/tmp/multipartBody6589666986504567435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584583449,"filename":"image_01122025_10_53_34_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/1/bc06c9c55aec956822f4c19022dd6220.jpg","text":"TemporaryFile(/tmp/multipartBody4544571709510909566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584583449,"filename":"image_01122025_10_54_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/1/91bf6aad6cabb341a857c7705c5f487b.jpg","text":"TemporaryFile(/tmp/multipartBody8103976960584320160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584583449,"filename":"image_01122025_10_53_44_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397192199","file1":"1397192194","file0":"1397192192","file4":"1397192206","file5":"1397192214","file3":"1397192201"},"map_files_photo_id_array":[{"photo_id":"1397192214","filename":"file5"},{"photo_id":"1397192199","filename":"file2"},{"photo_id":"1397192206","filename":"file4"},{"photo_id":"1397192194","filename":"file1"},{"photo_id":"1397192192","filename":"file0"},{"photo_id":"1397192201","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397192206":["hashtag1","hashtag2"]},{"1397192199":["hashtag1","hashtag2"]},{"1397192214":["hashtag1","hashtag2"]},{"1397192192":["hashtag1","hashtag2"]},{"1397192201":["hashtag1","hashtag2"]},{"1397192194":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397192206, 1397192199, 1397192214, 1397192192, 1397192201, 1397192194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67071533203125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:22:42.331128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_18_3656.jpg', '/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_21_2662.jpg', '/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_24_2722.jpg', '/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_27_3649.jpg', '/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_30_2821.jpg', '/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_33_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_18_3656.jpg
/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_21_2662.jpg
/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_24_2722.jpg
/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_27_3649.jpg
/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_30_2821.jpg
/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_33_2667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397192233","1397192234","1397192260","1397192263","1397192266","1397192230"],"photo_ids_order":["1397192230","1397192233","1397192234","1397192260","1397192263","1397192266"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8879bebe908a3ba5fb86d1f5c9a3aacb.jpg","text":"TemporaryFile(/tmp/multipartBody1492438772016609461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584625040,"filename":"image_31102025_14_12_21_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/1/09a2f0389f9bb611259bcf7f876d9b43.jpg","text":"TemporaryFile(/tmp/multipartBody5406628263884126290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584625040,"filename":"image_31102025_14_12_24_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/1/70b55783427e133a7b572aeac1459944.jpg","text":"TemporaryFile(/tmp/multipartBody3917114418892721672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584625040,"filename":"image_31102025_14_12_27_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/1/b56f18765205b5dec8e2436cfe88311a.jpg","text":"TemporaryFile(/tmp/multipartBody1166648432656149044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584625040,"filename":"image_31102025_14_12_30_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/1/d394e7c603e1e6ab382cd46c3cac0f1b.jpg","text":"TemporaryFile(/tmp/multipartBody5929565046677925959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584625040,"filename":"image_31102025_14_12_33_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3d9bc22fa0998d909420b58a8aa5168e.jpg","text":"TemporaryFile(/tmp/multipartBody2352493354643232884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584625040,"filename":"image_31102025_14_12_18_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397192234","file1":"1397192233","file0":"1397192230","file4":"1397192263","file5":"1397192266","file3":"1397192260"},"map_files_photo_id_array":[{"photo_id":"1397192266","filename":"file5"},{"photo_id":"1397192234","filename":"file2"},{"photo_id":"1397192263","filename":"file4"},{"photo_id":"1397192233","filename":"file1"},{"photo_id":"1397192230","filename":"file0"},{"photo_id":"1397192260","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397192233":["hashtag1","hashtag2"]},{"1397192234":["hashtag1","hashtag2"]},{"1397192260":["hashtag1","hashtag2"]},{"1397192263":["hashtag1","hashtag2"]},{"1397192266":["hashtag1","hashtag2"]},{"1397192230":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397192233, 1397192234, 1397192260, 1397192263, 1397192266, 1397192230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98938727378845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:23:22.495369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/54/image_01122025_10_54_34_9756.jpg', '/home/pi/Desktop/images/01122025/10/54/image_01122025_10_54_44_10576.jpg', '/home/pi/Desktop/images/01122025/10/54/image_01122025_10_54_54_9750.jpg', '/home/pi/Desktop/images/01122025/10/56/image_01122025_10_56_14_10038.jpg', '/home/pi/Desktop/images/01122025/10/56/image_01122025_10_56_24_10614.jpg', '/home/pi/Desktop/images/01122025/10/56/image_01122025_10_56_34_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/54/image_01122025_10_54_34_9756.jpg
/home/pi/Desktop/images/01122025/10/54/image_01122025_10_54_44_10576.jpg
/home/pi/Desktop/images/01122025/10/54/image_01122025_10_54_54_9750.jpg
/home/pi/Desktop/images/01122025/10/56/image_01122025_10_56_14_10038.jpg
/home/pi/Desktop/images/01122025/10/56/image_01122025_10_56_24_10614.jpg
/home/pi/Desktop/images/01122025/10/56/image_01122025_10_56_34_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":["1397192298","1397192280","1397192304","1397192294","1397192309","1397192300"],"photo_ids_order":["1397192280","1397192294","1397192298","1397192300","1397192304","1397192309"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6b2fc23b42dfa986c466bf108ca0c3f4.jpg","text":"TemporaryFile(/tmp/multipartBody3954501854726881380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584663224,"filename":"image_01122025_10_54_54_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/16e8d1c015b725ce2a5c6f1b392182d8.jpg","text":"TemporaryFile(/tmp/multipartBody3146453148995868367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584663224,"filename":"image_01122025_10_54_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/1/726f7e88c39c199b6db6be1f5d76a92a.jpg","text":"TemporaryFile(/tmp/multipartBody8235894288012628597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584663224,"filename":"image_01122025_10_56_24_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/1/8c08f6f9876271159abf234f7f34f96e.jpg","text":"TemporaryFile(/tmp/multipartBody942897157622579809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584663224,"filename":"image_01122025_10_54_44_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1f724b08457a6342d7107b4c39bc64bc.jpg","text":"TemporaryFile(/tmp/multipartBody4398548596297314401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584663224,"filename":"image_01122025_10_56_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/1/bb40b34f4cc4d599b1623d101cc24412.jpg","text":"TemporaryFile(/tmp/multipartBody2275961777718570183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584663224,"filename":"image_01122025_10_56_14_10038.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397192298","file1":"1397192294","file0":"1397192280","file4":"1397192304","file5":"1397192309","file3":"1397192300"},"map_files_photo_id_array":[{"photo_id":"1397192309","filename":"file5"},{"photo_id":"1397192298","filename":"file2"},{"photo_id":"1397192304","filename":"file4"},{"photo_id":"1397192294","filename":"file1"},{"photo_id":"1397192280","filename":"file0"},{"photo_id":"1397192300","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397192298":["hashtag1","hashtag2"]},{"1397192280":["hashtag1","hashtag2"]},{"1397192304":["hashtag1","hashtag2"]},{"1397192294":["hashtag1","hashtag2"]},{"1397192309":["hashtag1","hashtag2"]},{"1397192300":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397192298, 1397192280, 1397192304, 1397192294, 1397192309, 1397192300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.814072370529175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:24:03.415443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/56/image_01122025_10_56_45_10625.jpg', '/home/pi/Desktop/images/01122025/10/56/image_01122025_10_56_55_9909.jpg', '/home/pi/Desktop/images/01122025/10/56/image_01122025_10_57_04_9770.jpg', '/home/pi/Desktop/images/01122025/10/57/image_01122025_10_57_14_9734.jpg', '/home/pi/Desktop/images/01122025/10/57/image_01122025_10_57_24_9701.jpg', '/home/pi/Desktop/images/01122025/10/57/image_01122025_10_57_34_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/56/image_01122025_10_56_45_10625.jpg
/home/pi/Desktop/images/01122025/10/56/image_01122025_10_56_55_9909.jpg
/home/pi/Desktop/images/01122025/10/56/image_01122025_10_57_04_9770.jpg
/home/pi/Desktop/images/01122025/10/57/image_01122025_10_57_14_9734.jpg
/home/pi/Desktop/images/01122025/10/57/image_01122025_10_57_24_9701.jpg
/home/pi/Desktop/images/01122025/10/57/image_01122025_10_57_34_10627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397192404","1397192367","1397192448","1397192331","1397192531","1397192485"],"photo_ids_order":["1397192331","1397192367","1397192404","1397192448","1397192485","1397192531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/47acdc5c45845fc4dd0d2243a50b2ff0.jpg","text":"TemporaryFile(/tmp/multipartBody8324422116916150453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584704155,"filename":"image_01122025_10_57_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/1/5b3ba99975e90b69c6cbff45edd4f623.jpg","text":"TemporaryFile(/tmp/multipartBody1293286208015507555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584704155,"filename":"image_01122025_10_56_55_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/1/e8dc9d54c7df9887c35c592af9c3d996.jpg","text":"TemporaryFile(/tmp/multipartBody58760448515562532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584704155,"filename":"image_01122025_10_57_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/1/b10e2cfc6c139e8d44c4dd2ddbf7e084.jpg","text":"TemporaryFile(/tmp/multipartBody1496014912015357694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584704155,"filename":"image_01122025_10_56_45_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/50998dbdf92a4cb7dda332dd42588dbd.jpg","text":"TemporaryFile(/tmp/multipartBody7175759416669436789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584704155,"filename":"image_01122025_10_57_34_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2cae8ffdae2a79790f442f5da4125901.jpg","text":"TemporaryFile(/tmp/multipartBody2030755091929431244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584704155,"filename":"image_01122025_10_57_24_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397192404","file1":"1397192367","file0":"1397192331","file4":"1397192485","file5":"1397192531","file3":"1397192448"},"map_files_photo_id_array":[{"photo_id":"1397192531","filename":"file5"},{"photo_id":"1397192404","filename":"file2"},{"photo_id":"1397192485","filename":"file4"},{"photo_id":"1397192367","filename":"file1"},{"photo_id":"1397192331","filename":"file0"},{"photo_id":"1397192448","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397192404":["hashtag1","hashtag2"]},{"1397192367":["hashtag1","hashtag2"]},{"1397192448":["hashtag1","hashtag2"]},{"1397192331":["hashtag1","hashtag2"]},{"1397192531":["hashtag1","hashtag2"]},{"1397192485":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397192404, 1397192367, 1397192448, 1397192331, 1397192531, 1397192485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81387782096863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:24:42.793764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_36_2585.jpg', '/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_39_3755.jpg', '/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_42_2602.jpg', '/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_45_3005.jpg', '/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_48_3542.jpg', '/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_51_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_36_2585.jpg
/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_39_3755.jpg
/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_42_2602.jpg
/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_45_3005.jpg
/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_48_3542.jpg
/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_51_2656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397192634","1397192648","1397192657","1397192642","1397192639","1397192641"],"photo_ids_order":["1397192634","1397192639","1397192641","1397192642","1397192648","1397192657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fe040d8c13bad17964a45bd6122f2d54.jpg","text":"TemporaryFile(/tmp/multipartBody8077516974577633998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584745491,"filename":"image_31102025_14_12_36_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/1/b7497120375b1d6ddbeb47798feb734a.jpg","text":"TemporaryFile(/tmp/multipartBody6695119547651902192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584745491,"filename":"image_31102025_14_12_48_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/84720e2e7fc82cf125f239a610781a7d.jpg","text":"TemporaryFile(/tmp/multipartBody5562593724148719056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584745491,"filename":"image_31102025_14_12_51_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/1/cd0678b8687bf4cdf690055103467c08.jpg","text":"TemporaryFile(/tmp/multipartBody7822122499235293334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584745491,"filename":"image_31102025_14_12_45_3005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/39b8b0ad578aebb4ad74fa2870572e37.jpg","text":"TemporaryFile(/tmp/multipartBody612387412320168136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584745491,"filename":"image_31102025_14_12_39_3755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/78b2b7995e79e1fce192ec9b33f2cc69.jpg","text":"TemporaryFile(/tmp/multipartBody4099581558791316833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584745491,"filename":"image_31102025_14_12_42_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397192641","file1":"1397192639","file0":"1397192634","file4":"1397192648","file5":"1397192657","file3":"1397192642"},"map_files_photo_id_array":[{"photo_id":"1397192657","filename":"file5"},{"photo_id":"1397192641","filename":"file2"},{"photo_id":"1397192648","filename":"file4"},{"photo_id":"1397192639","filename":"file1"},{"photo_id":"1397192634","filename":"file0"},{"photo_id":"1397192642","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397192634":["hashtag1","hashtag2"]},{"1397192648":["hashtag1","hashtag2"]},{"1397192657":["hashtag1","hashtag2"]},{"1397192642":["hashtag1","hashtag2"]},{"1397192639":["hashtag1","hashtag2"]},{"1397192641":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397192634, 1397192648, 1397192657, 1397192642, 1397192639, 1397192641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.53242349624634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:25:32.052637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_07_2751.jpg', '/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_10_3665.jpg', '/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_13_2760.jpg', '/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_16_2767.jpg', '/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_20_3602.jpg', '/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_22_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_07_2751.jpg
/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_10_3665.jpg
/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_13_2760.jpg
/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_16_2767.jpg
/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_20_3602.jpg
/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_22_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":["1397192701","1397192704","1397192682","1397192685","1397192706","1397192678"],"photo_ids_order":["1397192678","1397192682","1397192685","1397192701","1397192704","1397192706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a2803d368d1633050feb79a2f081b231.jpg","text":"TemporaryFile(/tmp/multipartBody6657906075763213059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584793694,"filename":"image_25112025_22_27_16_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7f13b1aa0d54bc44f462d8ca93120c11.jpg","text":"TemporaryFile(/tmp/multipartBody7192736416016656859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584793694,"filename":"image_25112025_22_27_20_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/91f7debc5309713ce127f232ecabf75e.jpg","text":"TemporaryFile(/tmp/multipartBody4455148566680331042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584793694,"filename":"image_25112025_22_27_10_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/1/394e19e1cbd4cb698765a3967ae7c200.jpg","text":"TemporaryFile(/tmp/multipartBody8525146634012225717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584793694,"filename":"image_25112025_22_27_13_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/1/c1ccf3fe950855f3f5551970810a613d.jpg","text":"TemporaryFile(/tmp/multipartBody7399858792546503097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584793694,"filename":"image_25112025_22_27_22_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/1/000893f42719fb99af71082bcf6af212.jpg","text":"TemporaryFile(/tmp/multipartBody3846251659488889119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584793694,"filename":"image_25112025_22_27_07_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397192685","file1":"1397192682","file0":"1397192678","file4":"1397192704","file5":"1397192706","file3":"1397192701"},"map_files_photo_id_array":[{"photo_id":"1397192706","filename":"file5"},{"photo_id":"1397192685","filename":"file2"},{"photo_id":"1397192704","filename":"file4"},{"photo_id":"1397192682","filename":"file1"},{"photo_id":"1397192678","filename":"file0"},{"photo_id":"1397192701","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397192701":["hashtag1","hashtag2"]},{"1397192704":["hashtag1","hashtag2"]},{"1397192682":["hashtag1","hashtag2"]},{"1397192685":["hashtag1","hashtag2"]},{"1397192706":["hashtag1","hashtag2"]},{"1397192678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397192701, 1397192704, 1397192682, 1397192685, 1397192706, 1397192678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.436283588409424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:26:12.095988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_25_2654.jpg', '/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_29_3694.jpg', '/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_31_2559.jpg', '/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_34_2672.jpg', '/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_37_3610.jpg', '/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_40_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_25_2654.jpg
/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_29_3694.jpg
/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_31_2559.jpg
/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_34_2672.jpg
/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_37_3610.jpg
/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_40_2605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397192821","1397192737","1397192826","1397192808","1397192783","1397192773"],"photo_ids_order":["1397192737","1397192773","1397192783","1397192808","1397192821","1397192826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/54ad3c63266920f4f7d688cd0fc5ba2b.jpg","text":"TemporaryFile(/tmp/multipartBody6004843495553178794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584833755,"filename":"image_25112025_22_27_37_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/1/8acac2071320bc8cad1feba27fa62d25.jpg","text":"TemporaryFile(/tmp/multipartBody5054150942860076803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584833755,"filename":"image_25112025_22_27_25_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/1/bcc3ac1b47ea6d80a4566a1944f25173.jpg","text":"TemporaryFile(/tmp/multipartBody3980130104973733347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584833755,"filename":"image_25112025_22_27_40_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e4f84a09748c1a23ee986d89fec89ed2.jpg","text":"TemporaryFile(/tmp/multipartBody1996910997184759877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584833755,"filename":"image_25112025_22_27_34_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/aaf0021fed54344629274d3727a09a7f.jpg","text":"TemporaryFile(/tmp/multipartBody5359396207416461799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584833755,"filename":"image_25112025_22_27_31_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/1/68450de446f7bbc13e548faa5296842c.jpg","text":"TemporaryFile(/tmp/multipartBody529917948245718784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584833755,"filename":"image_25112025_22_27_29_3694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397192783","file1":"1397192773","file0":"1397192737","file4":"1397192821","file5":"1397192826","file3":"1397192808"},"map_files_photo_id_array":[{"photo_id":"1397192826","filename":"file5"},{"photo_id":"1397192783","filename":"file2"},{"photo_id":"1397192821","filename":"file4"},{"photo_id":"1397192773","filename":"file1"},{"photo_id":"1397192737","filename":"file0"},{"photo_id":"1397192808","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397192821":["hashtag1","hashtag2"]},{"1397192737":["hashtag1","hashtag2"]},{"1397192826":["hashtag1","hashtag2"]},{"1397192808":["hashtag1","hashtag2"]},{"1397192783":["hashtag1","hashtag2"]},{"1397192773":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397192821, 1397192737, 1397192826, 1397192808, 1397192783, 1397192773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.55614733695984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:27:03.097159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/57/image_01122025_10_57_44_9611.jpg', '/home/pi/Desktop/images/01122025/10/57/image_01122025_10_57_54_9735.jpg', '/home/pi/Desktop/images/01122025/10/57/image_01122025_10_58_04_10652.jpg', '/home/pi/Desktop/images/01122025/10/58/image_01122025_10_58_14_9720.jpg', '/home/pi/Desktop/images/01122025/10/58/image_01122025_10_58_24_9714.jpg', '/home/pi/Desktop/images/01122025/10/58/image_01122025_10_58_35_10748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/57/image_01122025_10_57_44_9611.jpg
/home/pi/Desktop/images/01122025/10/57/image_01122025_10_57_54_9735.jpg
/home/pi/Desktop/images/01122025/10/57/image_01122025_10_58_04_10652.jpg
/home/pi/Desktop/images/01122025/10/58/image_01122025_10_58_14_9720.jpg
/home/pi/Desktop/images/01122025/10/58/image_01122025_10_58_24_9714.jpg
/home/pi/Desktop/images/01122025/10/58/image_01122025_10_58_35_10748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397192871","1397192868","1397192864","1397192873","1397192876","1397192881"],"photo_ids_order":["1397192864","1397192868","1397192871","1397192873","1397192876","1397192881"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/28e583b185c1a3c8ffc64d4fede19de7.jpg","text":"TemporaryFile(/tmp/multipartBody8266398619523768619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584883848,"filename":"image_01122025_10_58_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/1/7d298935099457146af55696f3189a66.jpg","text":"TemporaryFile(/tmp/multipartBody648637300982992713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584883848,"filename":"image_01122025_10_57_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/1/6d7014b26591f034acbd6b5d668a7df5.jpg","text":"TemporaryFile(/tmp/multipartBody220263493815276311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584883848,"filename":"image_01122025_10_57_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/1/6f466a072deafb6a2d6f543d95b096fe.jpg","text":"TemporaryFile(/tmp/multipartBody561287843816871292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584883848,"filename":"image_01122025_10_58_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/1/ff2f32c79708356f80c6074ba212337e.jpg","text":"TemporaryFile(/tmp/multipartBody2658872078483231211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584883848,"filename":"image_01122025_10_58_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/1/f01bb4e6aa1ccefc27856124e23712b0.jpg","text":"TemporaryFile(/tmp/multipartBody8341498755746428213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584883848,"filename":"image_01122025_10_58_35_10748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397192871","file1":"1397192868","file0":"1397192864","file4":"1397192876","file5":"1397192881","file3":"1397192873"},"map_files_photo_id_array":[{"photo_id":"1397192881","filename":"file5"},{"photo_id":"1397192871","filename":"file2"},{"photo_id":"1397192876","filename":"file4"},{"photo_id":"1397192868","filename":"file1"},{"photo_id":"1397192864","filename":"file0"},{"photo_id":"1397192873","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397192871":["hashtag1","hashtag2"]},{"1397192868":["hashtag1","hashtag2"]},{"1397192864":["hashtag1","hashtag2"]},{"1397192873":["hashtag1","hashtag2"]},{"1397192876":["hashtag1","hashtag2"]},{"1397192881":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397192871, 1397192868, 1397192864, 1397192873, 1397192876, 1397192881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60922288894653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:27:42.421919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_54_2624.jpg', '/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_57_3561.jpg', '/home/pi/Desktop/images/31102025/14/12/image_31102025_14_13_00_2650.jpg', '/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_03_2644.jpg', '/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_06_3640.jpg', '/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_09_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_54_2624.jpg
/home/pi/Desktop/images/31102025/14/12/image_31102025_14_12_57_3561.jpg
/home/pi/Desktop/images/31102025/14/12/image_31102025_14_13_00_2650.jpg
/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_03_2644.jpg
/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_06_3640.jpg
/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_09_2648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397193066","1397193105","1397192987","1397192915","1397193022","1397192953"],"photo_ids_order":["1397192915","1397192953","1397192987","1397193022","1397193066","1397193105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6b85b8d9bffa93e495d671f2ab0331eb.jpg","text":"TemporaryFile(/tmp/multipartBody1879451248531531824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584925103,"filename":"image_31102025_14_13_06_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3189a459464c52b7b3351d1faa147021.jpg","text":"TemporaryFile(/tmp/multipartBody36167797410764821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584925103,"filename":"image_31102025_14_13_09_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1b6d4fada857c42fc31e09d0285c3402.jpg","text":"TemporaryFile(/tmp/multipartBody2782506780873470964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584925103,"filename":"image_31102025_14_13_00_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/1/97e515e142a125f686ddb071c3940c62.jpg","text":"TemporaryFile(/tmp/multipartBody2931348165517345673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584925103,"filename":"image_31102025_14_12_54_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/1/062f4e397c00bd8c63006e593d6721ba.jpg","text":"TemporaryFile(/tmp/multipartBody6873410863971064222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584925103,"filename":"image_31102025_14_13_03_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/1/71c01dbd098a03c39dbe620e70cbfb4b.jpg","text":"TemporaryFile(/tmp/multipartBody7702737436449535267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584925103,"filename":"image_31102025_14_12_57_3561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397192987","file1":"1397192953","file0":"1397192915","file4":"1397193066","file5":"1397193105","file3":"1397193022"},"map_files_photo_id_array":[{"photo_id":"1397193105","filename":"file5"},{"photo_id":"1397192987","filename":"file2"},{"photo_id":"1397193066","filename":"file4"},{"photo_id":"1397192953","filename":"file1"},{"photo_id":"1397192915","filename":"file0"},{"photo_id":"1397193022","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397193066":["hashtag1","hashtag2"]},{"1397193105":["hashtag1","hashtag2"]},{"1397192987":["hashtag1","hashtag2"]},{"1397192915":["hashtag1","hashtag2"]},{"1397193022":["hashtag1","hashtag2"]},{"1397192953":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397193066, 1397193105, 1397192987, 1397192915, 1397193022, 1397192953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.67121171951294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:28:22.621789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/58/image_01122025_10_58_44_9651.jpg', '/home/pi/Desktop/images/01122025/10/58/image_01122025_10_58_54_9672.jpg', '/home/pi/Desktop/images/01122025/10/58/image_01122025_10_59_04_10589.jpg', '/home/pi/Desktop/images/01122025/10/59/image_01122025_10_59_14_9664.jpg', '/home/pi/Desktop/images/01122025/10/59/image_01122025_10_59_24_9682.jpg', '/home/pi/Desktop/images/01122025/10/59/image_01122025_10_59_34_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/58/image_01122025_10_58_44_9651.jpg
/home/pi/Desktop/images/01122025/10/58/image_01122025_10_58_54_9672.jpg
/home/pi/Desktop/images/01122025/10/58/image_01122025_10_59_04_10589.jpg
/home/pi/Desktop/images/01122025/10/59/image_01122025_10_59_14_9664.jpg
/home/pi/Desktop/images/01122025/10/59/image_01122025_10_59_24_9682.jpg
/home/pi/Desktop/images/01122025/10/59/image_01122025_10_59_34_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":["1397193267","1397193354","1397193228","1397193395","1397193308","1397193436"],"photo_ids_order":["1397193228","1397193267","1397193308","1397193354","1397193395","1397193436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/02e14df2be3868e5f2b685321aba8ca5.jpg","text":"TemporaryFile(/tmp/multipartBody7424329999376587623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584963338,"filename":"image_01122025_10_58_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/1/f79bd895fbd365f9aaa5e193581c7692.jpg","text":"TemporaryFile(/tmp/multipartBody2325102671532141432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584963338,"filename":"image_01122025_10_59_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/1/7929d9b9ea4b9ef2b5a329772f3c8ac9.jpg","text":"TemporaryFile(/tmp/multipartBody935450616286394843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584963338,"filename":"image_01122025_10_58_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/1/96eb2ed10f21dfe9b24eccebacbe3a01.jpg","text":"TemporaryFile(/tmp/multipartBody7832834154448169514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584963338,"filename":"image_01122025_10_59_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/1/4892f2da3ea3ceef100617d3bb9263f8.jpg","text":"TemporaryFile(/tmp/multipartBody1149844536959309599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584963338,"filename":"image_01122025_10_59_04_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/1/5aaf7fc8b8e8f0882ce1a86b4877d52a.jpg","text":"TemporaryFile(/tmp/multipartBody1738769676616531831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764584963338,"filename":"image_01122025_10_59_34_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397193308","file1":"1397193267","file0":"1397193228","file4":"1397193395","file5":"1397193436","file3":"1397193354"},"map_files_photo_id_array":[{"photo_id":"1397193436","filename":"file5"},{"photo_id":"1397193308","filename":"file2"},{"photo_id":"1397193395","filename":"file4"},{"photo_id":"1397193267","filename":"file1"},{"photo_id":"1397193228","filename":"file0"},{"photo_id":"1397193354","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397193267":["hashtag1","hashtag2"]},{"1397193354":["hashtag1","hashtag2"]},{"1397193228":["hashtag1","hashtag2"]},{"1397193395":["hashtag1","hashtag2"]},{"1397193308":["hashtag1","hashtag2"]},{"1397193436":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397193267, 1397193354, 1397193228, 1397193395, 1397193308, 1397193436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12690258026123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:29:03.797523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/10/59/image_01122025_10_59_44_9722.jpg', '/home/pi/Desktop/images/01122025/10/59/image_01122025_10_59_54_9686.jpg', '/home/pi/Desktop/images/01122025/11/00/image_01122025_11_00_14_10058.jpg', '/home/pi/Desktop/images/01122025/11/00/image_01122025_11_00_25_10856.jpg', '/home/pi/Desktop/images/01122025/11/00/image_01122025_11_00_35_9577.jpg', '/home/pi/Desktop/images/01122025/11/00/image_01122025_11_00_44_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/10/59/image_01122025_10_59_44_9722.jpg
/home/pi/Desktop/images/01122025/10/59/image_01122025_10_59_54_9686.jpg
/home/pi/Desktop/images/01122025/11/00/image_01122025_11_00_14_10058.jpg
/home/pi/Desktop/images/01122025/11/00/image_01122025_11_00_25_10856.jpg
/home/pi/Desktop/images/01122025/11/00/image_01122025_11_00_35_9577.jpg
/home/pi/Desktop/images/01122025/11/00/image_01122025_11_00_44_9675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397193744","1397193726","1397193633","1397193752","1397193763","1397193684"],"photo_ids_order":["1397193633","1397193684","1397193726","1397193744","1397193752","1397193763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ff5156abeb6486fb708f3badce08d865.jpg","text":"TemporaryFile(/tmp/multipartBody6509764631445135293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585004687,"filename":"image_01122025_11_00_25_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/1/d1949dd956276aae5cce7bad5569d8a8.jpg","text":"TemporaryFile(/tmp/multipartBody4621050021502967098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585004687,"filename":"image_01122025_11_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/1/edb230568ddd4d335a5ec606a7b4a361.jpg","text":"TemporaryFile(/tmp/multipartBody7813467029507199250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585004687,"filename":"image_01122025_10_59_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/1/2624a66c939d7d90c5d325c3ca5a9d8b.jpg","text":"TemporaryFile(/tmp/multipartBody6862374214287878488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585004687,"filename":"image_01122025_11_00_35_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4509ef9091816dc200c6ada28a0a8b70.jpg","text":"TemporaryFile(/tmp/multipartBody2152960807226691925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585004687,"filename":"image_01122025_11_00_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/1/2c081314df2f5164a8d6a747fd2976af.jpg","text":"TemporaryFile(/tmp/multipartBody2202101264728700651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585004687,"filename":"image_01122025_10_59_54_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397193726","file1":"1397193684","file0":"1397193633","file4":"1397193752","file5":"1397193763","file3":"1397193744"},"map_files_photo_id_array":[{"photo_id":"1397193763","filename":"file5"},{"photo_id":"1397193726","filename":"file2"},{"photo_id":"1397193752","filename":"file4"},{"photo_id":"1397193684","filename":"file1"},{"photo_id":"1397193633","filename":"file0"},{"photo_id":"1397193744","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397193744":["hashtag1","hashtag2"]},{"1397193726":["hashtag1","hashtag2"]},{"1397193633":["hashtag1","hashtag2"]},{"1397193752":["hashtag1","hashtag2"]},{"1397193763":["hashtag1","hashtag2"]},{"1397193684":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397193744, 1397193726, 1397193633, 1397193752, 1397193763, 1397193684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56626319885254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:30:02.421339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/00/image_01122025_11_00_55_10666.jpg', '/home/pi/Desktop/images/01122025/11/00/image_01122025_11_01_05_9661.jpg', '/home/pi/Desktop/images/01122025/11/01/image_01122025_11_01_15_9725.jpg', '/home/pi/Desktop/images/01122025/11/01/image_01122025_11_01_24_9808.jpg', '/home/pi/Desktop/images/01122025/11/01/image_01122025_11_01_35_10708.jpg', '/home/pi/Desktop/images/01122025/11/01/image_01122025_11_01_45_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/00/image_01122025_11_00_55_10666.jpg
/home/pi/Desktop/images/01122025/11/00/image_01122025_11_01_05_9661.jpg
/home/pi/Desktop/images/01122025/11/01/image_01122025_11_01_15_9725.jpg
/home/pi/Desktop/images/01122025/11/01/image_01122025_11_01_24_9808.jpg
/home/pi/Desktop/images/01122025/11/01/image_01122025_11_01_35_10708.jpg
/home/pi/Desktop/images/01122025/11/01/image_01122025_11_01_45_9671.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6062908172607422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:30:11.843373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_44_3589.jpg', '/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_46_2637.jpg', '/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_49_2957.jpg', '/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_52_2649.jpg', '/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_55_3530.jpg', '/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_58_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_44_3589.jpg
/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_46_2637.jpg
/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_49_2957.jpg
/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_52_2649.jpg
/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_55_3530.jpg
/home/pi/Desktop/images/25112025/22/27/image_25112025_22_27_58_2627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397194073","1397194034","1397194016","1397194042","1397194039","1397193975"],"photo_ids_order":["1397193975","1397194016","1397194034","1397194039","1397194042","1397194073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a26fa4b280689d774cefb4f2c09c28a6.jpg","text":"TemporaryFile(/tmp/multipartBody3824810601751150798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585073330,"filename":"image_25112025_22_27_58_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/245a299405d662e29c49f177beef35e2.jpg","text":"TemporaryFile(/tmp/multipartBody4123265896935928429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585073330,"filename":"image_25112025_22_27_49_2957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d1a73b9a19f3fe782189ca569cc71222.jpg","text":"TemporaryFile(/tmp/multipartBody5487441185719572171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585073330,"filename":"image_25112025_22_27_46_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/1/141c78d6cc1fb192e2b020f31748a2dd.jpg","text":"TemporaryFile(/tmp/multipartBody1587672935764651742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585073330,"filename":"image_25112025_22_27_55_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/1/b97aa47df6b6f85cf50fcca229fc19b9.jpg","text":"TemporaryFile(/tmp/multipartBody6449182177146600530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585073330,"filename":"image_25112025_22_27_52_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0519cea11fa9b36693584de00e1b3d12.jpg","text":"TemporaryFile(/tmp/multipartBody6503473224976235338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585073330,"filename":"image_25112025_22_27_44_3589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397194034","file1":"1397194016","file0":"1397193975","file4":"1397194042","file5":"1397194073","file3":"1397194039"},"map_files_photo_id_array":[{"photo_id":"1397194073","filename":"file5"},{"photo_id":"1397194034","filename":"file2"},{"photo_id":"1397194042","filename":"file4"},{"photo_id":"1397194016","filename":"file1"},{"photo_id":"1397193975","filename":"file0"},{"photo_id":"1397194039","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397194073":["hashtag1","hashtag2"]},{"1397194034":["hashtag1","hashtag2"]},{"1397194016":["hashtag1","hashtag2"]},{"1397194042":["hashtag1","hashtag2"]},{"1397194039":["hashtag1","hashtag2"]},{"1397193975":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397194073, 1397194034, 1397194016, 1397194042, 1397194039, 1397193975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.14366364479065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:31:02.676234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/00/image_01122025_11_00_55_10666.jpg', '/home/pi/Desktop/images/01122025/11/00/image_01122025_11_01_05_9661.jpg', '/home/pi/Desktop/images/01122025/11/01/image_01122025_11_01_15_9725.jpg', '/home/pi/Desktop/images/01122025/11/01/image_01122025_11_01_24_9808.jpg', '/home/pi/Desktop/images/01122025/11/01/image_01122025_11_01_35_10708.jpg', '/home/pi/Desktop/images/01122025/11/01/image_01122025_11_01_45_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/00/image_01122025_11_00_55_10666.jpg
/home/pi/Desktop/images/01122025/11/00/image_01122025_11_01_05_9661.jpg
/home/pi/Desktop/images/01122025/11/01/image_01122025_11_01_15_9725.jpg
/home/pi/Desktop/images/01122025/11/01/image_01122025_11_01_24_9808.jpg
/home/pi/Desktop/images/01122025/11/01/image_01122025_11_01_35_10708.jpg
/home/pi/Desktop/images/01122025/11/01/image_01122025_11_01_45_9671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397194206","1397194200","1397194177","1397194180","1397194174","1397194213"],"photo_ids_order":["1397194174","1397194177","1397194180","1397194200","1397194206","1397194213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/166fd5e2c56887dce0d0df97245b5a20.jpg","text":"TemporaryFile(/tmp/multipartBody2606258807877252666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585123469,"filename":"image_01122025_11_01_35_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/1/80565bcdf136f595d9e3c8ee9f01f490.jpg","text":"TemporaryFile(/tmp/multipartBody7010150149449123190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585123469,"filename":"image_01122025_11_01_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/1/2aa10273966d94493f40d04f783cd83a.jpg","text":"TemporaryFile(/tmp/multipartBody2796510687126205416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585123469,"filename":"image_01122025_11_01_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/1/312fabc78225879b3acb43569c8f9895.jpg","text":"TemporaryFile(/tmp/multipartBody7654116189909246500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585123469,"filename":"image_01122025_11_01_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/1/6dfcfc1fa54bad97d9b978fc84fd33f2.jpg","text":"TemporaryFile(/tmp/multipartBody2147205597912372151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585123469,"filename":"image_01122025_11_00_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/1/59ebf05ae9df246cb0f2ec07597a9964.jpg","text":"TemporaryFile(/tmp/multipartBody3727097639487880079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585123469,"filename":"image_01122025_11_01_45_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397194180","file1":"1397194177","file0":"1397194174","file4":"1397194206","file5":"1397194213","file3":"1397194200"},"map_files_photo_id_array":[{"photo_id":"1397194213","filename":"file5"},{"photo_id":"1397194180","filename":"file2"},{"photo_id":"1397194206","filename":"file4"},{"photo_id":"1397194177","filename":"file1"},{"photo_id":"1397194174","filename":"file0"},{"photo_id":"1397194200","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397194206":["hashtag1","hashtag2"]},{"1397194200":["hashtag1","hashtag2"]},{"1397194177":["hashtag1","hashtag2"]},{"1397194180":["hashtag1","hashtag2"]},{"1397194174":["hashtag1","hashtag2"]},{"1397194213":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397194206, 1397194200, 1397194177, 1397194180, 1397194174, 1397194213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.73840093612671 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:31:42.185031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_12_2687.jpg', '/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_15_3703.jpg', '/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_18_2851.jpg', '/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_21_2661.jpg', '/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_24_2774.jpg', '/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_27_3688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_12_2687.jpg
/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_15_3703.jpg
/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_18_2851.jpg
/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_21_2661.jpg
/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_24_2774.jpg
/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_27_3688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397194399","1397194450","1397194470","1397194473","1397194458","1397194437"],"photo_ids_order":["1397194399","1397194437","1397194450","1397194458","1397194470","1397194473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/62ca566db2447d10f12dd936794d1410.jpg","text":"TemporaryFile(/tmp/multipartBody6981266583541711655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585164839,"filename":"image_31102025_14_13_12_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/1/d0dc17894eca2365b503ac22cc8f7121.jpg","text":"TemporaryFile(/tmp/multipartBody7179794723775026359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585164839,"filename":"image_31102025_14_13_18_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/1/272e574ba36010be90b68c7a51c18361.jpg","text":"TemporaryFile(/tmp/multipartBody4306451906531736319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585164839,"filename":"image_31102025_14_13_24_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4c5fceed21ff8827de1f9ab0a67a6636.jpg","text":"TemporaryFile(/tmp/multipartBody7872564211566720921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585164839,"filename":"image_31102025_14_13_27_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/1/637ffacf0c05560ef897f36b6863add8.jpg","text":"TemporaryFile(/tmp/multipartBody6487462392632067926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585164839,"filename":"image_31102025_14_13_21_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4ef478007a3bea8c3b898192f7b92ade.jpg","text":"TemporaryFile(/tmp/multipartBody5841094439778106731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585164839,"filename":"image_31102025_14_13_15_3703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397194450","file1":"1397194437","file0":"1397194399","file4":"1397194470","file5":"1397194473","file3":"1397194458"},"map_files_photo_id_array":[{"photo_id":"1397194473","filename":"file5"},{"photo_id":"1397194450","filename":"file2"},{"photo_id":"1397194470","filename":"file4"},{"photo_id":"1397194437","filename":"file1"},{"photo_id":"1397194399","filename":"file0"},{"photo_id":"1397194458","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397194399":["hashtag1","hashtag2"]},{"1397194450":["hashtag1","hashtag2"]},{"1397194470":["hashtag1","hashtag2"]},{"1397194473":["hashtag1","hashtag2"]},{"1397194458":["hashtag1","hashtag2"]},{"1397194437":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397194399, 1397194450, 1397194470, 1397194473, 1397194458, 1397194437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95342540740967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:32:22.438614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/01/image_01122025_11_01_55_10590.jpg', '/home/pi/Desktop/images/01122025/11/01/image_01122025_11_02_05_9652.jpg', '/home/pi/Desktop/images/01122025/11/02/image_01122025_11_02_15_9762.jpg', '/home/pi/Desktop/images/01122025/11/02/image_01122025_11_02_24_9675.jpg', '/home/pi/Desktop/images/01122025/11/02/image_01122025_11_02_35_10715.jpg', '/home/pi/Desktop/images/01122025/11/02/image_01122025_11_02_45_9872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/01/image_01122025_11_01_55_10590.jpg
/home/pi/Desktop/images/01122025/11/01/image_01122025_11_02_05_9652.jpg
/home/pi/Desktop/images/01122025/11/02/image_01122025_11_02_15_9762.jpg
/home/pi/Desktop/images/01122025/11/02/image_01122025_11_02_24_9675.jpg
/home/pi/Desktop/images/01122025/11/02/image_01122025_11_02_35_10715.jpg
/home/pi/Desktop/images/01122025/11/02/image_01122025_11_02_45_9872.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397194530","1397194496","1397194499","1397194490","1397194486","1397194482"],"photo_ids_order":["1397194482","1397194486","1397194490","1397194496","1397194499","1397194530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/419a7ba39667187918bdf5b7c4433a27.jpg","text":"TemporaryFile(/tmp/multipartBody3958834183482476072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585203206,"filename":"image_01122025_11_02_45_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/1/16ab072758f3892d22a1da2dd5eb724a.jpg","text":"TemporaryFile(/tmp/multipartBody4841279810155323993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585203206,"filename":"image_01122025_11_02_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/1/b45121f6be70b1337bd8b1bd2f5eb2af.jpg","text":"TemporaryFile(/tmp/multipartBody3587156383992005779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585203206,"filename":"image_01122025_11_02_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/1/9025fbfd687c0636a3356f8b3d54b9f4.jpg","text":"TemporaryFile(/tmp/multipartBody2475404925127776462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585203206,"filename":"image_01122025_11_02_15_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7d53666471f10180f4678a04a11711ef.jpg","text":"TemporaryFile(/tmp/multipartBody6303122450008073373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585203206,"filename":"image_01122025_11_02_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/1/ac701cf3cdbd4b46dd8866dc5a771b4f.jpg","text":"TemporaryFile(/tmp/multipartBody1018698928671500824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585203206,"filename":"image_01122025_11_01_55_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397194490","file1":"1397194486","file0":"1397194482","file4":"1397194499","file5":"1397194530","file3":"1397194496"},"map_files_photo_id_array":[{"photo_id":"1397194530","filename":"file5"},{"photo_id":"1397194490","filename":"file2"},{"photo_id":"1397194499","filename":"file4"},{"photo_id":"1397194486","filename":"file1"},{"photo_id":"1397194482","filename":"file0"},{"photo_id":"1397194496","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397194530":["hashtag1","hashtag2"]},{"1397194496":["hashtag1","hashtag2"]},{"1397194499":["hashtag1","hashtag2"]},{"1397194490":["hashtag1","hashtag2"]},{"1397194486":["hashtag1","hashtag2"]},{"1397194482":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397194530, 1397194496, 1397194499, 1397194490, 1397194486, 1397194482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25982189178467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:33:03.215771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/02/image_01122025_11_02_55_9789.jpg', '/home/pi/Desktop/images/01122025/11/02/image_01122025_11_03_05_9760.jpg', '/home/pi/Desktop/images/01122025/11/03/image_01122025_11_03_15_10650.jpg', '/home/pi/Desktop/images/01122025/11/03/image_01122025_11_03_25_9853.jpg', '/home/pi/Desktop/images/01122025/11/03/image_01122025_11_03_35_9756.jpg', '/home/pi/Desktop/images/01122025/11/03/image_01122025_11_03_44_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/02/image_01122025_11_02_55_9789.jpg
/home/pi/Desktop/images/01122025/11/02/image_01122025_11_03_05_9760.jpg
/home/pi/Desktop/images/01122025/11/03/image_01122025_11_03_15_10650.jpg
/home/pi/Desktop/images/01122025/11/03/image_01122025_11_03_25_9853.jpg
/home/pi/Desktop/images/01122025/11/03/image_01122025_11_03_35_9756.jpg
/home/pi/Desktop/images/01122025/11/03/image_01122025_11_03_44_9684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397194908","1397194784","1397194745","1397194699","1397194867","1397194825"],"photo_ids_order":["1397194699","1397194745","1397194784","1397194825","1397194867","1397194908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/13d4c41620e5fa4e2fb670f3f986b0ec.jpg","text":"TemporaryFile(/tmp/multipartBody3418385268273279116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585246472,"filename":"image_01122025_11_03_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/1/00c2d8ce5d211899e3635abc8bbf0c52.jpg","text":"TemporaryFile(/tmp/multipartBody7961148060220805333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585246472,"filename":"image_01122025_11_03_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/1/ac432ec278c4f22c890e5aef090e79ba.jpg","text":"TemporaryFile(/tmp/multipartBody1999577817374579782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585246472,"filename":"image_01122025_11_03_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/1/9a6c5db92f4514c39f98903d7de5e2ed.jpg","text":"TemporaryFile(/tmp/multipartBody7076350617976931102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585246472,"filename":"image_01122025_11_02_55_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/34ac7602d1848061811501442717d3b6.jpg","text":"TemporaryFile(/tmp/multipartBody2644100743590711195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585246472,"filename":"image_01122025_11_03_35_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1fd0b58b796d9c344ba42dfe3f6e2604.jpg","text":"TemporaryFile(/tmp/multipartBody3049011764560210158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585246472,"filename":"image_01122025_11_03_25_9853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397194784","file1":"1397194745","file0":"1397194699","file4":"1397194867","file5":"1397194908","file3":"1397194825"},"map_files_photo_id_array":[{"photo_id":"1397194908","filename":"file5"},{"photo_id":"1397194784","filename":"file2"},{"photo_id":"1397194867","filename":"file4"},{"photo_id":"1397194745","filename":"file1"},{"photo_id":"1397194699","filename":"file0"},{"photo_id":"1397194825","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397194908":["hashtag1","hashtag2"]},{"1397194784":["hashtag1","hashtag2"]},{"1397194745":["hashtag1","hashtag2"]},{"1397194699":["hashtag1","hashtag2"]},{"1397194867":["hashtag1","hashtag2"]},{"1397194825":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397194908, 1397194784, 1397194745, 1397194699, 1397194867, 1397194825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.23828101158142 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:34:03.327904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/03/image_01122025_11_03_55_10692.jpg', '/home/pi/Desktop/images/01122025/11/03/image_01122025_11_04_05_9611.jpg', '/home/pi/Desktop/images/01122025/11/04/image_01122025_11_04_15_9737.jpg', '/home/pi/Desktop/images/01122025/11/04/image_01122025_11_04_25_10708.jpg', '/home/pi/Desktop/images/01122025/11/04/image_01122025_11_04_35_9851.jpg', '/home/pi/Desktop/images/01122025/11/04/image_01122025_11_04_45_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/03/image_01122025_11_03_55_10692.jpg
/home/pi/Desktop/images/01122025/11/03/image_01122025_11_04_05_9611.jpg
/home/pi/Desktop/images/01122025/11/04/image_01122025_11_04_15_9737.jpg
/home/pi/Desktop/images/01122025/11/04/image_01122025_11_04_25_10708.jpg
/home/pi/Desktop/images/01122025/11/04/image_01122025_11_04_35_9851.jpg
/home/pi/Desktop/images/01122025/11/04/image_01122025_11_04_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":["1397195029","1397195163","1397195121","1397195037","1397195031","1397195078"],"photo_ids_order":["1397195029","1397195031","1397195037","1397195078","1397195121","1397195163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ad7e6677a88213052384816c904842fd.jpg","text":"TemporaryFile(/tmp/multipartBody1722408142240670870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585304145,"filename":"image_01122025_11_03_55_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/91c3ad72e888ebf568a3c0115cf7c84e.jpg","text":"TemporaryFile(/tmp/multipartBody1539331939191042363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585304145,"filename":"image_01122025_11_04_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/1/03c3834f75e39d17b512bbe057e3935f.jpg","text":"TemporaryFile(/tmp/multipartBody1305529481873122768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585304145,"filename":"image_01122025_11_04_35_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5c55d07f895f598e39f89802c62362ab.jpg","text":"TemporaryFile(/tmp/multipartBody7837196648844383564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585304145,"filename":"image_01122025_11_04_15_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/30eb2561722d33da18a301806939cf4c.jpg","text":"TemporaryFile(/tmp/multipartBody6171220088320829812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585304145,"filename":"image_01122025_11_04_05_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8cbe37fe351f12b2d4bc8273b5802daf.jpg","text":"TemporaryFile(/tmp/multipartBody4145997995571623424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585304145,"filename":"image_01122025_11_04_25_10708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397195037","file1":"1397195031","file0":"1397195029","file4":"1397195121","file5":"1397195163","file3":"1397195078"},"map_files_photo_id_array":[{"photo_id":"1397195163","filename":"file5"},{"photo_id":"1397195037","filename":"file2"},{"photo_id":"1397195121","filename":"file4"},{"photo_id":"1397195031","filename":"file1"},{"photo_id":"1397195029","filename":"file0"},{"photo_id":"1397195078","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397195029":["hashtag1","hashtag2"]},{"1397195163":["hashtag1","hashtag2"]},{"1397195121":["hashtag1","hashtag2"]},{"1397195037":["hashtag1","hashtag2"]},{"1397195031":["hashtag1","hashtag2"]},{"1397195078":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397195029, 1397195163, 1397195121, 1397195037, 1397195031, 1397195078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.59359383583069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:35:02.534040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/04/image_01122025_11_04_54_9573.jpg', '/home/pi/Desktop/images/01122025/11/05/image_01122025_11_05_14_10055.jpg', '/home/pi/Desktop/images/01122025/11/05/image_01122025_11_05_24_10840.jpg', '/home/pi/Desktop/images/01122025/11/05/image_01122025_11_05_34_9678.jpg', '/home/pi/Desktop/images/01122025/11/05/image_01122025_11_05_44_9584.jpg', '/home/pi/Desktop/images/01122025/11/05/image_01122025_11_05_54_10729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/04/image_01122025_11_04_54_9573.jpg
/home/pi/Desktop/images/01122025/11/05/image_01122025_11_05_14_10055.jpg
/home/pi/Desktop/images/01122025/11/05/image_01122025_11_05_24_10840.jpg
/home/pi/Desktop/images/01122025/11/05/image_01122025_11_05_34_9678.jpg
/home/pi/Desktop/images/01122025/11/05/image_01122025_11_05_44_9584.jpg
/home/pi/Desktop/images/01122025/11/05/image_01122025_11_05_54_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":["1397195450","1397195435","1397195446","1397195454","1397195421","1397195400"],"photo_ids_order":["1397195400","1397195421","1397195435","1397195446","1397195450","1397195454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e584e8c827465a67d1c361b1dc2cf295.jpg","text":"TemporaryFile(/tmp/multipartBody7649950144871475811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585363298,"filename":"image_01122025_11_05_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/1/38fd750afde54396dbae308740873112.jpg","text":"TemporaryFile(/tmp/multipartBody5954493885559684251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585363298,"filename":"image_01122025_11_05_24_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/1/1540851ca280ecef649b0bf540bd6c00.jpg","text":"TemporaryFile(/tmp/multipartBody7903170459984683607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585363298,"filename":"image_01122025_11_05_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/1/5667d99ba48e66111e44841106bbb968.jpg","text":"TemporaryFile(/tmp/multipartBody3505999281912442745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585363298,"filename":"image_01122025_11_05_54_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/1/f27182d3b390fbf7797dd3de1eddb291.jpg","text":"TemporaryFile(/tmp/multipartBody1361919495566030121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585363298,"filename":"image_01122025_11_05_14_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e7c92e50846ffc1f8bbbfea4d6edd07e.jpg","text":"TemporaryFile(/tmp/multipartBody4298855084457231717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585363298,"filename":"image_01122025_11_04_54_9573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397195435","file1":"1397195421","file0":"1397195400","file4":"1397195450","file5":"1397195454","file3":"1397195446"},"map_files_photo_id_array":[{"photo_id":"1397195454","filename":"file5"},{"photo_id":"1397195435","filename":"file2"},{"photo_id":"1397195450","filename":"file4"},{"photo_id":"1397195421","filename":"file1"},{"photo_id":"1397195400","filename":"file0"},{"photo_id":"1397195446","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397195450":["hashtag1","hashtag2"]},{"1397195435":["hashtag1","hashtag2"]},{"1397195446":["hashtag1","hashtag2"]},{"1397195454":["hashtag1","hashtag2"]},{"1397195421":["hashtag1","hashtag2"]},{"1397195400":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397195450, 1397195435, 1397195446, 1397195454, 1397195421, 1397195400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09939789772034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:35:41.902281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_30_2574.jpg', '/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_33_3594.jpg', '/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_36_2575.jpg', '/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_39_2694.jpg', '/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_42_3664.jpg', '/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_48_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_30_2574.jpg
/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_33_3594.jpg
/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_36_2575.jpg
/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_39_2694.jpg
/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_42_3664.jpg
/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_48_2684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397195476","1397195475","1397195478","1397195466","1397195469","1397195468"],"photo_ids_order":["1397195466","1397195468","1397195469","1397195475","1397195476","1397195478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0f41207421f74012b6136dd748aed0b9.jpg","text":"TemporaryFile(/tmp/multipartBody7570061993993817181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585404598,"filename":"image_31102025_14_13_42_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/1/92eea2028cf9fb33808914582cc2e432.jpg","text":"TemporaryFile(/tmp/multipartBody7560817547197635329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585404598,"filename":"image_31102025_14_13_39_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0569ffd65ab654382576b5e5492a3f92.jpg","text":"TemporaryFile(/tmp/multipartBody5570788888254667506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585404598,"filename":"image_31102025_14_13_48_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/69d9a0808f5940d92e4c4ab1f6bba126.jpg","text":"TemporaryFile(/tmp/multipartBody3873088491894625570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585404598,"filename":"image_31102025_14_13_30_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/1/1a7255d772d6e2c5b12d14d31c0f571a.jpg","text":"TemporaryFile(/tmp/multipartBody5222821783276554745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585404598,"filename":"image_31102025_14_13_36_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/674abb3504b152aa5483ba50783cd9dd.jpg","text":"TemporaryFile(/tmp/multipartBody5145815507313493819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585404598,"filename":"image_31102025_14_13_33_3594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397195469","file1":"1397195468","file0":"1397195466","file4":"1397195476","file5":"1397195478","file3":"1397195475"},"map_files_photo_id_array":[{"photo_id":"1397195478","filename":"file5"},{"photo_id":"1397195469","filename":"file2"},{"photo_id":"1397195476","filename":"file4"},{"photo_id":"1397195468","filename":"file1"},{"photo_id":"1397195466","filename":"file0"},{"photo_id":"1397195475","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397195476":["hashtag1","hashtag2"]},{"1397195475":["hashtag1","hashtag2"]},{"1397195478":["hashtag1","hashtag2"]},{"1397195466":["hashtag1","hashtag2"]},{"1397195469":["hashtag1","hashtag2"]},{"1397195468":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397195476, 1397195475, 1397195478, 1397195466, 1397195469, 1397195468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.807796239852905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:36:32.215383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_02_3589.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_04_2823.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_07_2526.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_11_3600.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_13_2645.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_16_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_02_3589.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_04_2823.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_07_2526.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_11_3600.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_13_2645.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_16_2600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397195507","1397195503","1397195506","1397195499","1397195505","1397195495"],"photo_ids_order":["1397195495","1397195499","1397195503","1397195505","1397195506","1397195507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0603fb6a72c4a559309f0a2a96aae76e.jpg","text":"TemporaryFile(/tmp/multipartBody1559671306015733474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585453988,"filename":"image_25112025_22_28_16_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/59dace6ec64f10264dce75f0e33c8870.jpg","text":"TemporaryFile(/tmp/multipartBody4677270331246024975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585453988,"filename":"image_25112025_22_28_07_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2aa39fc5771d793b024ce3adf4c39225.jpg","text":"TemporaryFile(/tmp/multipartBody7068448461158230323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585453988,"filename":"image_25112025_22_28_13_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2f78258e1682d7ffb1f75bc5a7cc41c2.jpg","text":"TemporaryFile(/tmp/multipartBody6461636767532382665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585453988,"filename":"image_25112025_22_28_04_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/42fb5646f8ec095837e819589010b74d.jpg","text":"TemporaryFile(/tmp/multipartBody7080341857069591408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585453988,"filename":"image_25112025_22_28_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/1/4d612bd23586f6ff6eefdebb07380a4f.jpg","text":"TemporaryFile(/tmp/multipartBody314983393558165749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585453988,"filename":"image_25112025_22_28_02_3589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397195503","file1":"1397195499","file0":"1397195495","file4":"1397195506","file5":"1397195507","file3":"1397195505"},"map_files_photo_id_array":[{"photo_id":"1397195507","filename":"file5"},{"photo_id":"1397195503","filename":"file2"},{"photo_id":"1397195506","filename":"file4"},{"photo_id":"1397195499","filename":"file1"},{"photo_id":"1397195495","filename":"file0"},{"photo_id":"1397195505","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397195507":["hashtag1","hashtag2"]},{"1397195503":["hashtag1","hashtag2"]},{"1397195506":["hashtag1","hashtag2"]},{"1397195499":["hashtag1","hashtag2"]},{"1397195505":["hashtag1","hashtag2"]},{"1397195495":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397195507, 1397195503, 1397195506, 1397195499, 1397195505, 1397195495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.612364292144775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:37:12.284583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_19_3686.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_22_2669.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_25_2802.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_29_3578.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_31_2566.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_39_5103.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_19_3686.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_22_2669.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_25_2802.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_29_3578.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_31_2566.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_39_5103.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397195537","1397195546","1397195527","1397195542","1397195512","1397195532"],"photo_ids_order":["1397195512","1397195527","1397195532","1397195537","1397195542","1397195546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ccf582ad632f68a1cbd9fffd4e9f25df.jpg","text":"TemporaryFile(/tmp/multipartBody5422713351797854918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585493963,"filename":"image_25112025_22_28_29_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ae11f74bef103e147621b72ef70f0e47.jpg","text":"TemporaryFile(/tmp/multipartBody6462785384859331850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585493963,"filename":"image_25112025_22_28_39_5103.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/79e9b142cc36d49cd16196538ca99413.jpg","text":"TemporaryFile(/tmp/multipartBody218071538245005722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585493963,"filename":"image_25112025_22_28_22_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/1/ab65159cb12b484afdcfec56f423768b.jpg","text":"TemporaryFile(/tmp/multipartBody7701387514784052832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585493963,"filename":"image_25112025_22_28_31_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/1/9dce72c76ef41c58db281faefc8c1766.jpg","text":"TemporaryFile(/tmp/multipartBody2715159494322762152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585493963,"filename":"image_25112025_22_28_19_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/80ca853a39bd1053ca09808044bf7559.jpg","text":"TemporaryFile(/tmp/multipartBody5221574881326041138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585493963,"filename":"image_25112025_22_28_25_2802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397195532","file1":"1397195527","file0":"1397195512","file4":"1397195542","file5":"1397195546","file3":"1397195537"},"map_files_photo_id_array":[{"photo_id":"1397195546","filename":"file5"},{"photo_id":"1397195532","filename":"file2"},{"photo_id":"1397195542","filename":"file4"},{"photo_id":"1397195527","filename":"file1"},{"photo_id":"1397195512","filename":"file0"},{"photo_id":"1397195537","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397195537":["hashtag1","hashtag2"]},{"1397195546":["hashtag1","hashtag2"]},{"1397195527":["hashtag1","hashtag2"]},{"1397195542":["hashtag1","hashtag2"]},{"1397195512":["hashtag1","hashtag2"]},{"1397195532":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397195537, 1397195546, 1397195527, 1397195542, 1397195512, 1397195532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.089792251586914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:38:03.114644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/05/image_01122025_11_06_04_9662.jpg', '/home/pi/Desktop/images/01122025/11/06/image_01122025_11_06_14_9649.jpg', '/home/pi/Desktop/images/01122025/11/06/image_01122025_11_06_24_9817.jpg', '/home/pi/Desktop/images/01122025/11/06/image_01122025_11_06_34_10644.jpg', '/home/pi/Desktop/images/01122025/11/06/image_01122025_11_06_44_9575.jpg', '/home/pi/Desktop/images/01122025/11/06/image_01122025_11_06_54_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/05/image_01122025_11_06_04_9662.jpg
/home/pi/Desktop/images/01122025/11/06/image_01122025_11_06_14_9649.jpg
/home/pi/Desktop/images/01122025/11/06/image_01122025_11_06_24_9817.jpg
/home/pi/Desktop/images/01122025/11/06/image_01122025_11_06_34_10644.jpg
/home/pi/Desktop/images/01122025/11/06/image_01122025_11_06_44_9575.jpg
/home/pi/Desktop/images/01122025/11/06/image_01122025_11_06_54_10628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397195644","1397195637","1397195625","1397195619","1397195622","1397195616"],"photo_ids_order":["1397195616","1397195619","1397195622","1397195625","1397195637","1397195644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bf1a287cdda89be0714ecc47c8ee79ae.jpg","text":"TemporaryFile(/tmp/multipartBody583123885275688794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585543820,"filename":"image_01122025_11_06_54_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5ac3d2a6d044274ab77f5fb079e3800d.jpg","text":"TemporaryFile(/tmp/multipartBody7469236605349977063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585543820,"filename":"image_01122025_11_06_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/1/c5b48f2b960aa0999a8ddff6011afd58.jpg","text":"TemporaryFile(/tmp/multipartBody8347590269696334674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585543820,"filename":"image_01122025_11_06_34_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f62e5e62a91e0fabcfd2bc87663550ea.jpg","text":"TemporaryFile(/tmp/multipartBody9162245152523314939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585543820,"filename":"image_01122025_11_06_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/1/c6f0b2e0df78f05c763995c30525cda7.jpg","text":"TemporaryFile(/tmp/multipartBody4680551283299086649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585543820,"filename":"image_01122025_11_06_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/1/c89afa35ba204ec969a98aad02b5c495.jpg","text":"TemporaryFile(/tmp/multipartBody4316864980430137609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585543820,"filename":"image_01122025_11_06_04_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397195622","file1":"1397195619","file0":"1397195616","file4":"1397195637","file5":"1397195644","file3":"1397195625"},"map_files_photo_id_array":[{"photo_id":"1397195644","filename":"file5"},{"photo_id":"1397195622","filename":"file2"},{"photo_id":"1397195637","filename":"file4"},{"photo_id":"1397195619","filename":"file1"},{"photo_id":"1397195616","filename":"file0"},{"photo_id":"1397195625","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397195644":["hashtag1","hashtag2"]},{"1397195637":["hashtag1","hashtag2"]},{"1397195625":["hashtag1","hashtag2"]},{"1397195619":["hashtag1","hashtag2"]},{"1397195622":["hashtag1","hashtag2"]},{"1397195616":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397195644, 1397195637, 1397195625, 1397195619, 1397195622, 1397195616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56338715553284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:38:42.615877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_51_3636.jpg', '/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_54_2875.jpg', '/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_57_2798.jpg', '/home/pi/Desktop/images/31102025/14/13/image_31102025_14_14_00_2570.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_03_3607.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_06_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_51_3636.jpg
/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_54_2875.jpg
/home/pi/Desktop/images/31102025/14/13/image_31102025_14_13_57_2798.jpg
/home/pi/Desktop/images/31102025/14/13/image_31102025_14_14_00_2570.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_03_3607.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_06_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":["1397195663","1397195657","1397195662","1397195661","1397195664","1397195667"],"photo_ids_order":["1397195657","1397195661","1397195662","1397195663","1397195664","1397195667"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bd5b48b0c7316cf99476bfeb28939da9.jpg","text":"TemporaryFile(/tmp/multipartBody1384343448704303421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585585261,"filename":"image_31102025_14_14_00_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/1/35519376fe2ac9828171bc5036a27c1d.jpg","text":"TemporaryFile(/tmp/multipartBody2373374957589062418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585585261,"filename":"image_31102025_14_13_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/1/40dd522aab628401478a7975149d4b19.jpg","text":"TemporaryFile(/tmp/multipartBody6230811738659281466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585585261,"filename":"image_31102025_14_13_57_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/1/117e4ec71b7bbe8a92d3b1b87fa4bf8b.jpg","text":"TemporaryFile(/tmp/multipartBody539834026129260815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585585261,"filename":"image_31102025_14_13_54_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/1/619daa0cbe3dcd410727316e713e2f35.jpg","text":"TemporaryFile(/tmp/multipartBody1548915495475628105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585585261,"filename":"image_31102025_14_14_03_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1eed61aa4628e59591702caa0dcddd47.jpg","text":"TemporaryFile(/tmp/multipartBody6177451159371977736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585585261,"filename":"image_31102025_14_14_06_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397195662","file1":"1397195661","file0":"1397195657","file4":"1397195664","file5":"1397195667","file3":"1397195663"},"map_files_photo_id_array":[{"photo_id":"1397195667","filename":"file5"},{"photo_id":"1397195662","filename":"file2"},{"photo_id":"1397195664","filename":"file4"},{"photo_id":"1397195661","filename":"file1"},{"photo_id":"1397195657","filename":"file0"},{"photo_id":"1397195663","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397195663":["hashtag1","hashtag2"]},{"1397195657":["hashtag1","hashtag2"]},{"1397195662":["hashtag1","hashtag2"]},{"1397195661":["hashtag1","hashtag2"]},{"1397195664":["hashtag1","hashtag2"]},{"1397195667":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397195663, 1397195657, 1397195662, 1397195661, 1397195664, 1397195667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.743813037872314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:39:22.817098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/06/image_01122025_11_07_04_9663.jpg', '/home/pi/Desktop/images/01122025/11/07/image_01122025_11_07_14_9837.jpg', '/home/pi/Desktop/images/01122025/11/07/image_01122025_11_07_24_9716.jpg', '/home/pi/Desktop/images/01122025/11/07/image_01122025_11_07_34_10593.jpg', '/home/pi/Desktop/images/01122025/11/07/image_01122025_11_07_44_9759.jpg', '/home/pi/Desktop/images/01122025/11/07/image_01122025_11_07_54_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/06/image_01122025_11_07_04_9663.jpg
/home/pi/Desktop/images/01122025/11/07/image_01122025_11_07_14_9837.jpg
/home/pi/Desktop/images/01122025/11/07/image_01122025_11_07_24_9716.jpg
/home/pi/Desktop/images/01122025/11/07/image_01122025_11_07_34_10593.jpg
/home/pi/Desktop/images/01122025/11/07/image_01122025_11_07_44_9759.jpg
/home/pi/Desktop/images/01122025/11/07/image_01122025_11_07_54_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":["1397195681","1397195675","1397195695","1397195698","1397195685","1397195690"],"photo_ids_order":["1397195675","1397195681","1397195685","1397195690","1397195695","1397195698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b693d6fc0dd9176a53db2e30933f8eb5.jpg","text":"TemporaryFile(/tmp/multipartBody4478393340933511003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585623560,"filename":"image_01122025_11_07_14_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/1/7c6d69bc1347cc8c31473399296498b2.jpg","text":"TemporaryFile(/tmp/multipartBody9049690793598293319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585623560,"filename":"image_01122025_11_07_04_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/514466bc424def00e8357d0c6603e2f2.jpg","text":"TemporaryFile(/tmp/multipartBody7509992230379371136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585623560,"filename":"image_01122025_11_07_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/1/09efcdd2bc012eba7ec2f4f5cefc28e2.jpg","text":"TemporaryFile(/tmp/multipartBody7090557225107122302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585623560,"filename":"image_01122025_11_07_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/1/0b82147db756ba48ef4668ba0a1fad13.jpg","text":"TemporaryFile(/tmp/multipartBody8576514840909266134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585623560,"filename":"image_01122025_11_07_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/1/44078ae0ca76c87aeba3780080455abc.jpg","text":"TemporaryFile(/tmp/multipartBody1223482631669862052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585623560,"filename":"image_01122025_11_07_34_10593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397195685","file1":"1397195681","file0":"1397195675","file4":"1397195695","file5":"1397195698","file3":"1397195690"},"map_files_photo_id_array":[{"photo_id":"1397195698","filename":"file5"},{"photo_id":"1397195685","filename":"file2"},{"photo_id":"1397195695","filename":"file4"},{"photo_id":"1397195681","filename":"file1"},{"photo_id":"1397195675","filename":"file0"},{"photo_id":"1397195690","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397195681":["hashtag1","hashtag2"]},{"1397195675":["hashtag1","hashtag2"]},{"1397195695":["hashtag1","hashtag2"]},{"1397195698":["hashtag1","hashtag2"]},{"1397195685":["hashtag1","hashtag2"]},{"1397195690":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397195681, 1397195675, 1397195695, 1397195698, 1397195685, 1397195690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15765118598938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:40:02.322791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/07/image_01122025_11_08_04_10695.jpg', '/home/pi/Desktop/images/01122025/11/08/image_01122025_11_08_14_9663.jpg', '/home/pi/Desktop/images/01122025/11/08/image_01122025_11_08_24_9752.jpg', '/home/pi/Desktop/images/01122025/11/08/image_01122025_11_08_34_10629.jpg', '/home/pi/Desktop/images/01122025/11/08/image_01122025_11_08_44_9752.jpg', '/home/pi/Desktop/images/01122025/11/08/image_01122025_11_08_54_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/07/image_01122025_11_08_04_10695.jpg
/home/pi/Desktop/images/01122025/11/08/image_01122025_11_08_14_9663.jpg
/home/pi/Desktop/images/01122025/11/08/image_01122025_11_08_24_9752.jpg
/home/pi/Desktop/images/01122025/11/08/image_01122025_11_08_34_10629.jpg
/home/pi/Desktop/images/01122025/11/08/image_01122025_11_08_44_9752.jpg
/home/pi/Desktop/images/01122025/11/08/image_01122025_11_08_54_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":["1397195705","1397195714","1397195707","1397195710","1397195718","1397195703"],"photo_ids_order":["1397195703","1397195705","1397195707","1397195710","1397195714","1397195718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6e3b7008b160b3166499a6fb07db8a7f.jpg","text":"TemporaryFile(/tmp/multipartBody2506577319884996085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585663026,"filename":"image_01122025_11_08_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/1/bb0658a218f6ac5efb3ff23d1ef57800.jpg","text":"TemporaryFile(/tmp/multipartBody3479140470956688055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585663026,"filename":"image_01122025_11_08_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/1/7980ce91eb6ad4df97707ea1a14366ef.jpg","text":"TemporaryFile(/tmp/multipartBody609847252586813645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585663026,"filename":"image_01122025_11_08_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/1/7ea06dd6ba17dfa1611faea47b3631f9.jpg","text":"TemporaryFile(/tmp/multipartBody2654009388565968483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585663026,"filename":"image_01122025_11_08_34_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/03788ce1273dce108b63e2408de2011b.jpg","text":"TemporaryFile(/tmp/multipartBody941798836316844876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585663026,"filename":"image_01122025_11_08_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/1/4d755220fc0f674e3b309a6181011f30.jpg","text":"TemporaryFile(/tmp/multipartBody9048562132637292822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585663026,"filename":"image_01122025_11_08_04_10695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397195707","file1":"1397195705","file0":"1397195703","file4":"1397195714","file5":"1397195718","file3":"1397195710"},"map_files_photo_id_array":[{"photo_id":"1397195718","filename":"file5"},{"photo_id":"1397195707","filename":"file2"},{"photo_id":"1397195714","filename":"file4"},{"photo_id":"1397195705","filename":"file1"},{"photo_id":"1397195703","filename":"file0"},{"photo_id":"1397195710","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397195705":["hashtag1","hashtag2"]},{"1397195714":["hashtag1","hashtag2"]},{"1397195707":["hashtag1","hashtag2"]},{"1397195710":["hashtag1","hashtag2"]},{"1397195718":["hashtag1","hashtag2"]},{"1397195703":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397195705, 1397195714, 1397195707, 1397195710, 1397195718, 1397195703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90623164176941 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:40:41.994180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_08_2587.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_12_3731.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_15_2699.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_17_2623.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_21_3681.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_24_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_08_2587.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_12_3731.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_15_2699.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_17_2623.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_21_3681.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_24_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":["1397195732","1397195735","1397195738","1397195737","1397195736","1397195748"],"photo_ids_order":["1397195732","1397195735","1397195736","1397195737","1397195738","1397195748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/534c60868bc2127ecb43ef1d0545212a.jpg","text":"TemporaryFile(/tmp/multipartBody1764698698200441135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585704505,"filename":"image_31102025_14_14_08_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/1/07c2560e4c7dfe90e6e4156374c27b9b.jpg","text":"TemporaryFile(/tmp/multipartBody4346553234217669545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585704505,"filename":"image_31102025_14_14_12_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/1/278911077e23f30601bf38ea1bda1ca6.jpg","text":"TemporaryFile(/tmp/multipartBody5604796796271772048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585704505,"filename":"image_31102025_14_14_21_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/1/5fce33769a0b91eeeeedafbff2946342.jpg","text":"TemporaryFile(/tmp/multipartBody8162049536844890115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585704505,"filename":"image_31102025_14_14_17_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bb35559429c660022aae5aae3af68335.jpg","text":"TemporaryFile(/tmp/multipartBody951243856418465028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585704505,"filename":"image_31102025_14_14_15_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f2caae1b61e9338b9e5d672507123cf9.jpg","text":"TemporaryFile(/tmp/multipartBody7678968570296930719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764585704505,"filename":"image_31102025_14_14_24_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397195736","file1":"1397195735","file0":"1397195732","file4":"1397195738","file5":"1397195748","file3":"1397195737"},"map_files_photo_id_array":[{"photo_id":"1397195748","filename":"file5"},{"photo_id":"1397195736","filename":"file2"},{"photo_id":"1397195738","filename":"file4"},{"photo_id":"1397195735","filename":"file1"},{"photo_id":"1397195732","filename":"file0"},{"photo_id":"1397195737","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397195732":["hashtag1","hashtag2"]},{"1397195735":["hashtag1","hashtag2"]},{"1397195738":["hashtag1","hashtag2"]},{"1397195737":["hashtag1","hashtag2"]},{"1397195736":["hashtag1","hashtag2"]},{"1397195748":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397195732, 1397195735, 1397195738, 1397195737, 1397195736, 1397195748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.122289419174194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:41:22.363347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg
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>8bi4oj4p7</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>8bi4oj4p7</strong>.
uploaded 0 photos
time to upload: 0.6340734958648682 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:41:32.227410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg
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>8bi4ojl3d</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>8bi4ojl3d</strong>.
uploaded 0 photos
time to upload: 1.6501140594482422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:41:42.211646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_27_2792.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_30_3684.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_33_2751.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_38_2696.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_48_2714.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_50_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_27_2792.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_30_3684.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_33_2751.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_38_2696.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_48_2714.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_50_2604.jpg
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>8bi4okb3l</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>8bi4okb3l</strong>.
uploaded 0 photos
time to upload: 2.5474514961242676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:42:02.841086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg
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>8bi4olckb</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>8bi4olckb</strong>.
uploaded 0 photos
time to upload: 0.6133344173431396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:42:12.334836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg
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>8bi4om1p2</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>8bi4om1p2</strong>.
uploaded 0 photos
time to upload: 1.3238444328308105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:42:22.384222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg
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>8bi4omfii</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>8bi4omfii</strong>.
uploaded 0 photos
time to upload: 0.6060473918914795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:42:32.380341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg
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>8bi4on5li</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>8bi4on5li</strong>.
uploaded 0 photos
time to upload: 1.4908838272094727 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:42:42.361773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_27_2792.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_30_3684.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_33_2751.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_38_2696.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_48_2714.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_50_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_27_2792.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_30_3684.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_33_2751.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_38_2696.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_48_2714.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_50_2604.jpg
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>8bi4onlgj</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>8bi4onlgj</strong>.
uploaded 0 photos
time to upload: 2.2188010215759277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:43:03.099515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg
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>8bi4ooo09</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>8bi4ooo09</strong>.
uploaded 0 photos
time to upload: 0.689734935760498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:43:12.486206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg
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>8bi4opcnh</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>8bi4opcnh</strong>.
uploaded 0 photos
time to upload: 1.2726783752441406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:43:22.667134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg
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>8bi4p00mn</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>8bi4p00mn</strong>.
uploaded 0 photos
time to upload: 0.5955169200897217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:43:32.543978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg
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>8bi4p0gie</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>8bi4p0gie</strong>.
uploaded 0 photos
time to upload: 1.3759045600891113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:43:42.582246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_27_2792.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_30_3684.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_33_2751.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_38_2696.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_48_2714.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_50_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_27_2792.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_30_3684.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_33_2751.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_38_2696.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_48_2714.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_50_2604.jpg
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>8bi4p16l7</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>8bi4p16l7</strong>.
uploaded 0 photos
time to upload: 2.3036086559295654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:44:03.501168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg
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>8bi4p299a</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>8bi4p299a</strong>.
uploaded 0 photos
time to upload: 0.6394200325012207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:44:12.853446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg
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>8bi4p2o63</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>8bi4p2o63</strong>.
uploaded 0 photos
time to upload: 1.2920985221862793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:44:22.862850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg
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>8bi4p3bo2</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>8bi4p3bo2</strong>.
uploaded 0 photos
time to upload: 0.5920839309692383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:44:32.845472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg
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>8bi4p41na</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>8bi4p41na</strong>.
uploaded 0 photos
time to upload: 1.359494924545288 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:44:42.810334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_27_2792.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_30_3684.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_33_2751.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_38_2696.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_48_2714.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_50_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_27_2792.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_30_3684.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_33_2751.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_38_2696.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_48_2714.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_50_2604.jpg
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>8bi4p4hh0</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>8bi4p4hh0</strong>.
uploaded 0 photos
time to upload: 2.1098735332489014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:45:02.720308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg
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>8bi4p5io7</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>8bi4p5io7</strong>.
uploaded 0 photos
time to upload: 0.6837060451507568 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:45:11.888347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg
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>8bi4p67kd</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>8bi4p67kd</strong>.
uploaded 0 photos
time to upload: 1.4435222148895264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:45:22.005733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg
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>8bi4p6lad</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>8bi4p6lad</strong>.
uploaded 0 photos
time to upload: 0.589836835861206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:45:31.940018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg
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>8bi4p7beo</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>8bi4p7beo</strong>.
uploaded 0 photos
time to upload: 1.538304328918457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:45:41.955733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_27_2792.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_30_3684.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_33_2751.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_38_2696.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_48_2714.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_50_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_27_2792.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_30_3684.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_33_2751.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_38_2696.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_48_2714.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_50_2604.jpg
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>8bi4p8150</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>8bi4p8150</strong>.
uploaded 0 photos
time to upload: 2.1359527111053467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:46:02.644131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg
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>8bi4p93em</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>8bi4p93em</strong>.
uploaded 0 photos
time to upload: 0.601036548614502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:46:12.077491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg
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>8bi4pa316</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>8bi4pa316</strong>.
uploaded 0 photos
time to upload: 8.367193937301636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:46:22.096910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg
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>8bi4pa67k</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>8bi4pa67k</strong>.
uploaded 0 photos
time to upload: 0.5920097827911377 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:46:32.103579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg
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>8bi4pam7h</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>8bi4pam7h</strong>.
uploaded 0 photos
time to upload: 1.3491640090942383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:46:42.174924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_27_2792.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_30_3684.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_33_2751.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_38_2696.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_48_2714.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_50_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_27_2792.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_30_3684.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_33_2751.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_38_2696.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_48_2714.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_50_2604.jpg
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>8bi4pbc6b</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>8bi4pbc6b</strong>.
uploaded 0 photos
time to upload: 2.1160359382629395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:47:02.862320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg
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>8bi4pceh7</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>8bi4pceh7</strong>.
uploaded 0 photos
time to upload: 0.6636161804199219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:47:12.307429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg
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>8bi4pd3o2</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>8bi4pd3o2</strong>.
uploaded 0 photos
time to upload: 1.4452953338623047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:47:22.365686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg
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>8bi4pdhdb</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>8bi4pdhdb</strong>.
uploaded 0 photos
time to upload: 0.6296272277832031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:47:32.356200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg
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>8bi4pe7ib</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>8bi4pe7ib</strong>.
uploaded 0 photos
time to upload: 1.561070203781128 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:47:42.355315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_27_2792.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_30_3684.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_33_2751.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_38_2696.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_48_2714.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_50_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_27_2792.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_30_3684.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_33_2751.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_38_2696.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_48_2714.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_50_2604.jpg
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>8bi4penk0</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>8bi4penk0</strong>.
uploaded 0 photos
time to upload: 2.5022366046905518 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:48:02.967448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg
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>8bi4pfpfd</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>8bi4pfpfd</strong>.
uploaded 0 photos
time to upload: 0.692474365234375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:48:12.516485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg
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>8bi4pgemh</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>8bi4pgemh</strong>.
uploaded 0 photos
time to upload: 1.3655354976654053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:48:22.521949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg
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>8bi4ph2de</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>8bi4ph2de</strong>.
uploaded 0 photos
time to upload: 0.6384487152099609 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:48:32.536379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg
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>8bi4phijh</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>8bi4phijh</strong>.
uploaded 0 photos
time to upload: 1.584972620010376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:48:42.527428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_27_2792.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_30_3684.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_33_2751.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_38_2696.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_48_2714.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_50_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_27_2792.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_30_3684.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_33_2751.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_38_2696.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_48_2714.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_50_2604.jpg
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>8bi4pi8jf</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>8bi4pi8jf</strong>.
uploaded 0 photos
time to upload: 2.432079315185547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:49:03.714112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg
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>8bi4pjbdl</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>8bi4pjbdl</strong>.
uploaded 0 photos
time to upload: 0.7292108535766602 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:49:12.668664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg
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>8bi4pjppd</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>8bi4pjppd</strong>.
uploaded 0 photos
time to upload: 1.4495031833648682 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:49:22.855086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg
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>8bi4pkdj7</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>8bi4pkdj7</strong>.
uploaded 0 photos
time to upload: 0.6586863994598389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:49:32.700331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg
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>8bi4pl3il</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>8bi4pl3il</strong>.
uploaded 0 photos
time to upload: 1.5344123840332031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:49:42.715987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_27_2792.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_30_3684.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_33_2751.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_38_2696.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_48_2714.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_50_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_27_2792.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_30_3684.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_33_2751.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_38_2696.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_48_2714.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_50_2604.jpg
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>8bi4pljja</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>8bi4pljja</strong>.
uploaded 0 photos
time to upload: 2.398106813430786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:50:02.257143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg
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>8bi4pmk1d</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>8bi4pmk1d</strong>.
uploaded 0 photos
time to upload: 0.664116382598877 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:50:11.853945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg
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>8bi4pn9ao</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>8bi4pn9ao</strong>.
uploaded 0 photos
time to upload: 1.3748352527618408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:50:21.869239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg
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>8bi4pnn1f</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>8bi4pnn1f</strong>.
uploaded 0 photos
time to upload: 0.6720702648162842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:50:31.889511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg
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>8bi4pod77</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>8bi4pod77</strong>.
uploaded 0 photos
time to upload: 1.5335872173309326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:50:42.078920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_27_2792.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_30_3684.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_33_2751.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_38_2696.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_48_2714.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_50_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_27_2792.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_30_3684.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_33_2751.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_38_2696.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_48_2714.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_50_2604.jpg
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>8bi4pp3g6</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>8bi4pp3g6</strong>.
uploaded 0 photos
time to upload: 2.446387767791748 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:51:02.898820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg
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>8bi5005k4</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>8bi5005k4</strong>.
uploaded 0 photos
time to upload: 0.6893541812896729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:51:12.376920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg
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>8bi500l0m</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>8bi500l0m</strong>.
uploaded 0 photos
time to upload: 1.4291512966156006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:51:22.206632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg
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>8bi50187m</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>8bi50187m</strong>.
uploaded 0 photos
time to upload: 0.6238424777984619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:51:32.296041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg
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>8bi501og7</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>8bi501og7</strong>.
uploaded 0 photos
time to upload: 1.5549492835998535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:51:42.288782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_27_2792.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_30_3684.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_33_2751.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_38_2696.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_48_2714.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_50_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_27_2792.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_30_3684.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_33_2751.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_38_2696.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_48_2714.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_50_2604.jpg
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>8bi502ehc</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>8bi502ehc</strong>.
uploaded 0 photos
time to upload: 2.4362637996673584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:52:02.938875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg
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>8bi503gem</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>8bi503gem</strong>.
uploaded 0 photos
time to upload: 0.6678097248077393 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:52:12.409603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg
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>8bi5045fn</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>8bi5045fn</strong>.
uploaded 0 photos
time to upload: 1.2943265438079834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:52:22.484667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg
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>8bi504jc8</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>8bi504jc8</strong>.
uploaded 0 photos
time to upload: 0.6285948753356934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 11:52:32.560900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg
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>8bi5059l4</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>8bi5059l4</strong>.
uploaded 0 photos
time to upload: 1.5841081142425537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:52:42.483863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_27_2792.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_30_3684.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_33_2751.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_38_2696.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_48_2714.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_50_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_27_2792.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_30_3684.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_33_2751.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_38_2696.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_48_2714.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_50_2604.jpg
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>8bi505pil</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>8bi505pil</strong>.
uploaded 0 photos
time to upload: 2.436617851257324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:53:03.380209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg', '/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/08/image_01122025_11_09_04_9835.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_14_10620.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_24_9606.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_34_9797.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_44_10723.jpg
/home/pi/Desktop/images/01122025/11/09/image_01122025_11_09_54_9718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397197153","1397197141","1397197146","1397197113","1397197130","1397197118"],"photo_ids_order":["1397197113","1397197118","1397197130","1397197141","1397197146","1397197153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3a6cca5f8447542bbe156b86dc8c0337.jpg","text":"TemporaryFile(/tmp/multipartBody8627342280619254456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586444166,"filename":"image_01122025_11_09_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/1/6a22b2a6e5c8d752173c6d1b018e68a5.jpg","text":"TemporaryFile(/tmp/multipartBody3645672284565554404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586444166,"filename":"image_01122025_11_09_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/1/d50968e8aca3b8d4d712b6bd64ef5e4d.jpg","text":"TemporaryFile(/tmp/multipartBody2617452328946702255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586444166,"filename":"image_01122025_11_09_44_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ddf90e7f8f62e829db88a9ade541173d.jpg","text":"TemporaryFile(/tmp/multipartBody4172512492523480489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586444166,"filename":"image_01122025_11_09_04_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2ed8ca619b6b4c7da453bdc86ee69119.jpg","text":"TemporaryFile(/tmp/multipartBody400376352281457039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586444166,"filename":"image_01122025_11_09_24_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4cb8f3ead955e6b7adf396116cdaa841.jpg","text":"TemporaryFile(/tmp/multipartBody1062677463566787029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586444166,"filename":"image_01122025_11_09_14_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397197130","file1":"1397197118","file0":"1397197113","file4":"1397197146","file5":"1397197153","file3":"1397197141"},"map_files_photo_id_array":[{"photo_id":"1397197153","filename":"file5"},{"photo_id":"1397197130","filename":"file2"},{"photo_id":"1397197146","filename":"file4"},{"photo_id":"1397197118","filename":"file1"},{"photo_id":"1397197113","filename":"file0"},{"photo_id":"1397197141","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397197153":["hashtag1","hashtag2"]},{"1397197141":["hashtag1","hashtag2"]},{"1397197146":["hashtag1","hashtag2"]},{"1397197113":["hashtag1","hashtag2"]},{"1397197130":["hashtag1","hashtag2"]},{"1397197118":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397197153, 1397197141, 1397197146, 1397197113, 1397197130, 1397197118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 16.9759418964386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:53:22.654635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/11/image_01122025_11_11_13_10044.jpg', '/home/pi/Desktop/images/01122025/11/11/image_01122025_11_11_24_10538.jpg', '/home/pi/Desktop/images/01122025/11/11/image_01122025_11_11_34_9708.jpg', '/home/pi/Desktop/images/01122025/11/11/image_01122025_11_11_44_10680.jpg', '/home/pi/Desktop/images/01122025/11/11/image_01122025_11_11_54_9625.jpg', '/home/pi/Desktop/images/01122025/11/11/image_01122025_11_12_04_9811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/11/image_01122025_11_11_13_10044.jpg
/home/pi/Desktop/images/01122025/11/11/image_01122025_11_11_24_10538.jpg
/home/pi/Desktop/images/01122025/11/11/image_01122025_11_11_34_9708.jpg
/home/pi/Desktop/images/01122025/11/11/image_01122025_11_11_44_10680.jpg
/home/pi/Desktop/images/01122025/11/11/image_01122025_11_11_54_9625.jpg
/home/pi/Desktop/images/01122025/11/11/image_01122025_11_12_04_9811.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397197207","1397197191","1397197194","1397197188","1397197197","1397197200"],"photo_ids_order":["1397197188","1397197191","1397197194","1397197197","1397197200","1397197207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5856c717061bbe5232e7228823e03b04.jpg","text":"TemporaryFile(/tmp/multipartBody6633612602635383343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586463352,"filename":"image_01122025_11_12_04_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d01518ff56ba0733abf8a9e1372e1c16.jpg","text":"TemporaryFile(/tmp/multipartBody1017796345648263886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586463352,"filename":"image_01122025_11_11_24_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/1/ed0f329d01b9fe8ebe65e9b50a54a37f.jpg","text":"TemporaryFile(/tmp/multipartBody399268736656335895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586463352,"filename":"image_01122025_11_11_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/1/d57feff639fffc516085916847f248e1.jpg","text":"TemporaryFile(/tmp/multipartBody6045486426213441372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586463352,"filename":"image_01122025_11_11_13_10044.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d0f9fb3565d2bae0ac6daebf3e1af2c2.jpg","text":"TemporaryFile(/tmp/multipartBody7415951292795444646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586463352,"filename":"image_01122025_11_11_44_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5f2b1c1dfc6b99fd5e8c51daf1e8862b.jpg","text":"TemporaryFile(/tmp/multipartBody3256780212328527855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586463352,"filename":"image_01122025_11_11_54_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397197194","file1":"1397197191","file0":"1397197188","file4":"1397197200","file5":"1397197207","file3":"1397197197"},"map_files_photo_id_array":[{"photo_id":"1397197207","filename":"file5"},{"photo_id":"1397197194","filename":"file2"},{"photo_id":"1397197200","filename":"file4"},{"photo_id":"1397197191","filename":"file1"},{"photo_id":"1397197188","filename":"file0"},{"photo_id":"1397197197","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397197207":["hashtag1","hashtag2"]},{"1397197191":["hashtag1","hashtag2"]},{"1397197194":["hashtag1","hashtag2"]},{"1397197188":["hashtag1","hashtag2"]},{"1397197197":["hashtag1","hashtag2"]},{"1397197200":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397197207, 1397197191, 1397197194, 1397197188, 1397197197, 1397197200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 16.759379386901855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:53:42.655036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_27_2792.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_30_3684.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_33_2751.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_38_2696.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_48_2714.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_50_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_27_2792.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_30_3684.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_33_2751.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_38_2696.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_48_2714.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_50_2604.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397197279","1397197295","1397197298","1397197286","1397197268","1397197261"],"photo_ids_order":["1397197261","1397197268","1397197279","1397197286","1397197295","1397197298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3cb34fce3a2a74c387e398b6a3b55905.jpg","text":"TemporaryFile(/tmp/multipartBody8564647480566104676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586485233,"filename":"image_31102025_14_14_33_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/1/744618cdf991cd43c6b8ee348b415685.jpg","text":"TemporaryFile(/tmp/multipartBody7007802205555292927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586485233,"filename":"image_31102025_14_14_48_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/1/1f86f65a3e6dfcdb5346d60eebf81743.jpg","text":"TemporaryFile(/tmp/multipartBody1013939510369334322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586485233,"filename":"image_31102025_14_14_50_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/1/0dca245acb43d0cd6ebbb03ae4fdde57.jpg","text":"TemporaryFile(/tmp/multipartBody4660109361155655575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586485233,"filename":"image_31102025_14_14_38_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9a010e60865a239d02a7531028f0d8ac.jpg","text":"TemporaryFile(/tmp/multipartBody2156255272011869930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586485233,"filename":"image_31102025_14_14_30_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/1/fdf82044b6c97d6d02bad89363b10ddf.jpg","text":"TemporaryFile(/tmp/multipartBody5127916385899508613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586485233,"filename":"image_31102025_14_14_27_2792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397197279","file1":"1397197268","file0":"1397197261","file4":"1397197295","file5":"1397197298","file3":"1397197286"},"map_files_photo_id_array":[{"photo_id":"1397197298","filename":"file5"},{"photo_id":"1397197279","filename":"file2"},{"photo_id":"1397197295","filename":"file4"},{"photo_id":"1397197268","filename":"file1"},{"photo_id":"1397197261","filename":"file0"},{"photo_id":"1397197286","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397197279":["hashtag1","hashtag2"]},{"1397197295":["hashtag1","hashtag2"]},{"1397197298":["hashtag1","hashtag2"]},{"1397197286":["hashtag1","hashtag2"]},{"1397197268":["hashtag1","hashtag2"]},{"1397197261":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397197279, 1397197295, 1397197298, 1397197286, 1397197268, 1397197261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 19.30836319923401 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:54:03.520340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/12/image_01122025_11_12_14_9880.jpg', '/home/pi/Desktop/images/01122025/11/12/image_01122025_11_12_24_10585.jpg', '/home/pi/Desktop/images/01122025/11/12/image_01122025_11_12_34_9682.jpg', '/home/pi/Desktop/images/01122025/11/12/image_01122025_11_12_44_9869.jpg', '/home/pi/Desktop/images/01122025/11/12/image_01122025_11_12_53_9658.jpg', '/home/pi/Desktop/images/01122025/11/12/image_01122025_11_13_04_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/12/image_01122025_11_12_14_9880.jpg
/home/pi/Desktop/images/01122025/11/12/image_01122025_11_12_24_10585.jpg
/home/pi/Desktop/images/01122025/11/12/image_01122025_11_12_34_9682.jpg
/home/pi/Desktop/images/01122025/11/12/image_01122025_11_12_44_9869.jpg
/home/pi/Desktop/images/01122025/11/12/image_01122025_11_12_53_9658.jpg
/home/pi/Desktop/images/01122025/11/12/image_01122025_11_13_04_10645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397197353","1397197347","1397197356","1397197359","1397197350","1397197344"],"photo_ids_order":["1397197344","1397197347","1397197350","1397197353","1397197356","1397197359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9cb454c98aacc3e976e633522bb6799a.jpg","text":"TemporaryFile(/tmp/multipartBody6849713351569543691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586504245,"filename":"image_01122025_11_12_44_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/1/a7a8019b681e2e9a43dbbe205d7af57b.jpg","text":"TemporaryFile(/tmp/multipartBody1640577697990094709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586504245,"filename":"image_01122025_11_12_24_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cdaaaf590c92165b1ad1528685880629.jpg","text":"TemporaryFile(/tmp/multipartBody1986058615721100844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586504245,"filename":"image_01122025_11_12_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/1/1d400b94c5afecb6583305c86c5010c1.jpg","text":"TemporaryFile(/tmp/multipartBody5827065985338449896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586504245,"filename":"image_01122025_11_13_04_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/1/20477950712d6a4cb4f8aafe18b7837f.jpg","text":"TemporaryFile(/tmp/multipartBody5995415246548362763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586504245,"filename":"image_01122025_11_12_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/1/b618c763e4ad5a791f6e697e4b8ad964.jpg","text":"TemporaryFile(/tmp/multipartBody8784601400740544835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586504245,"filename":"image_01122025_11_12_14_9880.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397197350","file1":"1397197347","file0":"1397197344","file4":"1397197356","file5":"1397197359","file3":"1397197353"},"map_files_photo_id_array":[{"photo_id":"1397197359","filename":"file5"},{"photo_id":"1397197350","filename":"file2"},{"photo_id":"1397197356","filename":"file4"},{"photo_id":"1397197347","filename":"file1"},{"photo_id":"1397197344","filename":"file0"},{"photo_id":"1397197353","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397197353":["hashtag1","hashtag2"]},{"1397197347":["hashtag1","hashtag2"]},{"1397197356":["hashtag1","hashtag2"]},{"1397197359":["hashtag1","hashtag2"]},{"1397197350":["hashtag1","hashtag2"]},{"1397197344":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397197353, 1397197347, 1397197356, 1397197359, 1397197350, 1397197344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 16.232390642166138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:54:22.858424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/13/image_01122025_11_13_14_9696.jpg', '/home/pi/Desktop/images/01122025/11/13/image_01122025_11_13_23_9630.jpg', '/home/pi/Desktop/images/01122025/11/13/image_01122025_11_13_34_10537.jpg', '/home/pi/Desktop/images/01122025/11/13/image_01122025_11_13_44_9656.jpg', '/home/pi/Desktop/images/01122025/11/13/image_01122025_11_13_54_10583.jpg', '/home/pi/Desktop/images/01122025/11/13/image_01122025_11_14_04_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/13/image_01122025_11_13_14_9696.jpg
/home/pi/Desktop/images/01122025/11/13/image_01122025_11_13_23_9630.jpg
/home/pi/Desktop/images/01122025/11/13/image_01122025_11_13_34_10537.jpg
/home/pi/Desktop/images/01122025/11/13/image_01122025_11_13_44_9656.jpg
/home/pi/Desktop/images/01122025/11/13/image_01122025_11_13_54_10583.jpg
/home/pi/Desktop/images/01122025/11/13/image_01122025_11_14_04_9612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397197444","1397197423","1397197461","1397197463","1397197391","1397197403"],"photo_ids_order":["1397197391","1397197403","1397197423","1397197444","1397197461","1397197463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e5367156009286d06e0af2b079fee814.jpg","text":"TemporaryFile(/tmp/multipartBody8539609754171195992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586523565,"filename":"image_01122025_11_13_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/1/cb1d67665b7bbdd0e28ed0ff1ca3ccd2.jpg","text":"TemporaryFile(/tmp/multipartBody6839330987804462468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586523565,"filename":"image_01122025_11_13_34_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/1/7e0cd0946f3046bc8e6f1fb52bf73435.jpg","text":"TemporaryFile(/tmp/multipartBody6111589693736823652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586523565,"filename":"image_01122025_11_13_54_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1a3e55e53710afa8222f58e9719653c6.jpg","text":"TemporaryFile(/tmp/multipartBody8975170175838516851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586523565,"filename":"image_01122025_11_14_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/1/bf546e4f387fe435632fc031b6f6450f.jpg","text":"TemporaryFile(/tmp/multipartBody5709125637281525010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586523565,"filename":"image_01122025_11_13_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/1/4b917985fbf4709418866f0dc6f1a5e3.jpg","text":"TemporaryFile(/tmp/multipartBody1862634626552456311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586523565,"filename":"image_01122025_11_13_23_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397197423","file1":"1397197403","file0":"1397197391","file4":"1397197461","file5":"1397197463","file3":"1397197444"},"map_files_photo_id_array":[{"photo_id":"1397197463","filename":"file5"},{"photo_id":"1397197423","filename":"file2"},{"photo_id":"1397197461","filename":"file4"},{"photo_id":"1397197403","filename":"file1"},{"photo_id":"1397197391","filename":"file0"},{"photo_id":"1397197444","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397197444":["hashtag1","hashtag2"]},{"1397197423":["hashtag1","hashtag2"]},{"1397197461":["hashtag1","hashtag2"]},{"1397197463":["hashtag1","hashtag2"]},{"1397197391":["hashtag1","hashtag2"]},{"1397197403":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397197444, 1397197423, 1397197461, 1397197463, 1397197391, 1397197403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 16.493330240249634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:54:42.870158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_54_3412.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_56_2727.jpg', '/home/pi/Desktop/images/31102025/14/14/image_31102025_14_15_00_3658.jpg', '/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_03_2625.jpg', '/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_06_3059.jpg', '/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_08_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_54_3412.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_14_56_2727.jpg
/home/pi/Desktop/images/31102025/14/14/image_31102025_14_15_00_3658.jpg
/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_03_2625.jpg
/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_06_3059.jpg
/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_08_2698.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397197527","1397197524","1397197512","1397197520","1397197514","1397197517"],"photo_ids_order":["1397197512","1397197514","1397197517","1397197520","1397197524","1397197527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3186b9e7b58c48e50cdee8dd072a026d.jpg","text":"TemporaryFile(/tmp/multipartBody3931348374399397028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586545576,"filename":"image_31102025_14_15_08_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8dc1a53c4e14ecbce86e47000b84ae8e.jpg","text":"TemporaryFile(/tmp/multipartBody950891303140736027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586545576,"filename":"image_31102025_14_15_06_3059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/263aee495dd868c46110f16c754db226.jpg","text":"TemporaryFile(/tmp/multipartBody2712489885592802088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586545576,"filename":"image_31102025_14_14_54_3412.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b2488203367e60c46f5048b576fa8671.jpg","text":"TemporaryFile(/tmp/multipartBody6691908399639086492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586545576,"filename":"image_31102025_14_15_03_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/44995817a33b3828e16746a6fad4912a.jpg","text":"TemporaryFile(/tmp/multipartBody2676030107154890594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586545576,"filename":"image_31102025_14_14_56_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3e9c68d319bc1647c8eb6082d957337e.jpg","text":"TemporaryFile(/tmp/multipartBody7212914679637273953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586545576,"filename":"image_31102025_14_15_00_3658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397197517","file1":"1397197514","file0":"1397197512","file4":"1397197524","file5":"1397197527","file3":"1397197520"},"map_files_photo_id_array":[{"photo_id":"1397197527","filename":"file5"},{"photo_id":"1397197517","filename":"file2"},{"photo_id":"1397197524","filename":"file4"},{"photo_id":"1397197514","filename":"file1"},{"photo_id":"1397197512","filename":"file0"},{"photo_id":"1397197520","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397197527":["hashtag1","hashtag2"]},{"1397197524":["hashtag1","hashtag2"]},{"1397197512":["hashtag1","hashtag2"]},{"1397197520":["hashtag1","hashtag2"]},{"1397197514":["hashtag1","hashtag2"]},{"1397197517":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397197527, 1397197524, 1397197512, 1397197520, 1397197514, 1397197517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 18.55756187438965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:55:02.850497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/14/image_01122025_11_14_13_9658.jpg', '/home/pi/Desktop/images/01122025/11/14/image_01122025_11_14_24_10661.jpg', '/home/pi/Desktop/images/01122025/11/14/image_01122025_11_14_34_9683.jpg', '/home/pi/Desktop/images/01122025/11/14/image_01122025_11_14_43_9749.jpg', '/home/pi/Desktop/images/01122025/11/14/image_01122025_11_14_53_9928.jpg', '/home/pi/Desktop/images/01122025/11/15/image_01122025_11_15_15_10060.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/14/image_01122025_11_14_13_9658.jpg
/home/pi/Desktop/images/01122025/11/14/image_01122025_11_14_24_10661.jpg
/home/pi/Desktop/images/01122025/11/14/image_01122025_11_14_34_9683.jpg
/home/pi/Desktop/images/01122025/11/14/image_01122025_11_14_43_9749.jpg
/home/pi/Desktop/images/01122025/11/14/image_01122025_11_14_53_9928.jpg
/home/pi/Desktop/images/01122025/11/15/image_01122025_11_15_15_10060.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397197561","1397197549","1397197566","1397197554","1397197574","1397197570"],"photo_ids_order":["1397197549","1397197554","1397197561","1397197566","1397197570","1397197574"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cc1889468a4d699317940db94997e112.jpg","text":"TemporaryFile(/tmp/multipartBody810277269645945217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586563587,"filename":"image_01122025_11_14_34_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e83ff425b3f530be3b07146d1cf046ea.jpg","text":"TemporaryFile(/tmp/multipartBody2645147006732798963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586563587,"filename":"image_01122025_11_14_13_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/17d5f02328b44d90bec25e9d35158a72.jpg","text":"TemporaryFile(/tmp/multipartBody5454743498250805209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586563587,"filename":"image_01122025_11_14_43_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/1/436827e3977f67c98fa0c9fbf63191aa.jpg","text":"TemporaryFile(/tmp/multipartBody1234687648706763501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586563587,"filename":"image_01122025_11_14_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/1/5541f025247eed100661f5be71d7dd09.jpg","text":"TemporaryFile(/tmp/multipartBody1042592722650976672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586563587,"filename":"image_01122025_11_15_15_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/1/aa7ac13169db35457250713716d7a72a.jpg","text":"TemporaryFile(/tmp/multipartBody5315273763107604318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586563587,"filename":"image_01122025_11_14_53_9928.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397197561","file1":"1397197554","file0":"1397197549","file4":"1397197570","file5":"1397197574","file3":"1397197566"},"map_files_photo_id_array":[{"photo_id":"1397197574","filename":"file5"},{"photo_id":"1397197561","filename":"file2"},{"photo_id":"1397197570","filename":"file4"},{"photo_id":"1397197554","filename":"file1"},{"photo_id":"1397197549","filename":"file0"},{"photo_id":"1397197566","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397197561":["hashtag1","hashtag2"]},{"1397197549":["hashtag1","hashtag2"]},{"1397197566":["hashtag1","hashtag2"]},{"1397197554":["hashtag1","hashtag2"]},{"1397197574":["hashtag1","hashtag2"]},{"1397197570":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397197561, 1397197549, 1397197566, 1397197554, 1397197574, 1397197570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 17.091893196105957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:55:22.053231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/15/image_01122025_11_15_25_10725.jpg', '/home/pi/Desktop/images/01122025/11/15/image_01122025_11_15_35_9557.jpg', '/home/pi/Desktop/images/01122025/11/15/image_01122025_11_15_45_10616.jpg', '/home/pi/Desktop/images/01122025/11/15/image_01122025_11_15_55_9667.jpg', '/home/pi/Desktop/images/01122025/11/15/image_01122025_11_16_05_9678.jpg', '/home/pi/Desktop/images/01122025/11/16/image_01122025_11_16_15_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/15/image_01122025_11_15_25_10725.jpg
/home/pi/Desktop/images/01122025/11/15/image_01122025_11_15_35_9557.jpg
/home/pi/Desktop/images/01122025/11/15/image_01122025_11_15_45_10616.jpg
/home/pi/Desktop/images/01122025/11/15/image_01122025_11_15_55_9667.jpg
/home/pi/Desktop/images/01122025/11/15/image_01122025_11_16_05_9678.jpg
/home/pi/Desktop/images/01122025/11/16/image_01122025_11_16_15_10681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397197720","1397197723","1397197717","1397197705","1397197725","1397197728"],"photo_ids_order":["1397197705","1397197717","1397197720","1397197723","1397197725","1397197728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8668b5f42222705244ef074b4d9282cc.jpg","text":"TemporaryFile(/tmp/multipartBody7927968407066157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586582795,"filename":"image_01122025_11_15_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/1/3c60179caf3c79e18d08c9ef864f332d.jpg","text":"TemporaryFile(/tmp/multipartBody2417892599074246299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586582795,"filename":"image_01122025_11_15_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/1/900c60e2b72aae95d0ad55728e2f078b.jpg","text":"TemporaryFile(/tmp/multipartBody2534940542030702930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586582795,"filename":"image_01122025_11_15_35_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0db082801ec38646efe411be7c027d30.jpg","text":"TemporaryFile(/tmp/multipartBody381234156015944357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586582795,"filename":"image_01122025_11_15_25_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/56fd1c59f317a0c781d19240c42436ec.jpg","text":"TemporaryFile(/tmp/multipartBody3884645086729380546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586582795,"filename":"image_01122025_11_16_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/1/8d0dfa1748866fb70f3b9fe3bbb37cae.jpg","text":"TemporaryFile(/tmp/multipartBody3525058131589667016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586582795,"filename":"image_01122025_11_16_15_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397197720","file1":"1397197717","file0":"1397197705","file4":"1397197725","file5":"1397197728","file3":"1397197723"},"map_files_photo_id_array":[{"photo_id":"1397197728","filename":"file5"},{"photo_id":"1397197720","filename":"file2"},{"photo_id":"1397197725","filename":"file4"},{"photo_id":"1397197717","filename":"file1"},{"photo_id":"1397197705","filename":"file0"},{"photo_id":"1397197723","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397197720":["hashtag1","hashtag2"]},{"1397197723":["hashtag1","hashtag2"]},{"1397197717":["hashtag1","hashtag2"]},{"1397197705":["hashtag1","hashtag2"]},{"1397197725":["hashtag1","hashtag2"]},{"1397197728":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397197720, 1397197723, 1397197717, 1397197705, 1397197725, 1397197728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 16.310758113861084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:55:42.093386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_15_2563.jpg', '/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_17_2665.jpg', '/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_24_2678.jpg', '/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_26_2597.jpg', '/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_30_3678.jpg', '/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_33_2560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_15_2563.jpg
/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_17_2665.jpg
/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_24_2678.jpg
/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_26_2597.jpg
/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_30_3678.jpg
/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_33_2560.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397197747","1397197738","1397197743","1397197752","1397197755","1397197740"],"photo_ids_order":["1397197738","1397197740","1397197743","1397197747","1397197752","1397197755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/55c8b9361492ad8bb47c9d0acafacddb.jpg","text":"TemporaryFile(/tmp/multipartBody5246961941062341351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586604774,"filename":"image_31102025_14_15_26_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/1/9a214f33590e8987ea7bb991bbe034b2.jpg","text":"TemporaryFile(/tmp/multipartBody6064260114935218757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586604774,"filename":"image_31102025_14_15_15_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/79937c586e2e39e05efc90450fca2dce.jpg","text":"TemporaryFile(/tmp/multipartBody5362059523004363331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586604774,"filename":"image_31102025_14_15_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/1/4e1b5bc2a9b967ab38b960de967483f6.jpg","text":"TemporaryFile(/tmp/multipartBody5211791938697528850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586604774,"filename":"image_31102025_14_15_30_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/1/415b23b112fdcbb5979d51c965cf44bc.jpg","text":"TemporaryFile(/tmp/multipartBody9120424175625276740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586604774,"filename":"image_31102025_14_15_33_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cd4ee429dc5ad151b492d810c3f8aee5.jpg","text":"TemporaryFile(/tmp/multipartBody8798931550758075466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586604774,"filename":"image_31102025_14_15_17_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397197743","file1":"1397197740","file0":"1397197738","file4":"1397197752","file5":"1397197755","file3":"1397197747"},"map_files_photo_id_array":[{"photo_id":"1397197755","filename":"file5"},{"photo_id":"1397197743","filename":"file2"},{"photo_id":"1397197752","filename":"file4"},{"photo_id":"1397197740","filename":"file1"},{"photo_id":"1397197738","filename":"file0"},{"photo_id":"1397197747","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397197747":["hashtag1","hashtag2"]},{"1397197738":["hashtag1","hashtag2"]},{"1397197743":["hashtag1","hashtag2"]},{"1397197752":["hashtag1","hashtag2"]},{"1397197755":["hashtag1","hashtag2"]},{"1397197740":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397197747, 1397197738, 1397197743, 1397197752, 1397197755, 1397197740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 18.206610918045044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:56:02.673006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/16/image_01122025_11_16_25_9816.jpg', '/home/pi/Desktop/images/01122025/11/16/image_01122025_11_16_35_9681.jpg', '/home/pi/Desktop/images/01122025/11/16/image_01122025_11_16_55_10632.jpg', '/home/pi/Desktop/images/01122025/11/16/image_01122025_11_17_05_9602.jpg', '/home/pi/Desktop/images/01122025/11/17/image_01122025_11_17_15_10597.jpg', '/home/pi/Desktop/images/01122025/11/17/image_01122025_11_17_25_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/16/image_01122025_11_16_25_9816.jpg
/home/pi/Desktop/images/01122025/11/16/image_01122025_11_16_35_9681.jpg
/home/pi/Desktop/images/01122025/11/16/image_01122025_11_16_55_10632.jpg
/home/pi/Desktop/images/01122025/11/16/image_01122025_11_17_05_9602.jpg
/home/pi/Desktop/images/01122025/11/17/image_01122025_11_17_15_10597.jpg
/home/pi/Desktop/images/01122025/11/17/image_01122025_11_17_25_9604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397197774","1397197768","1397197772","1397197766","1397197777","1397197771"],"photo_ids_order":["1397197766","1397197768","1397197771","1397197772","1397197774","1397197777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/940832669227d0d668d3c3ed14d0e55b.jpg","text":"TemporaryFile(/tmp/multipartBody5385623297331430846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586623393,"filename":"image_01122025_11_17_15_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c693304c6aaef49e865082a0348cca92.jpg","text":"TemporaryFile(/tmp/multipartBody5837423402296435190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586623393,"filename":"image_01122025_11_16_35_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1b42798fc469cf3c4044a9ab255bcfa7.jpg","text":"TemporaryFile(/tmp/multipartBody7635601835973009109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586623393,"filename":"image_01122025_11_17_05_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/1/716a0744a9e1de62a340a09fbd96ba71.jpg","text":"TemporaryFile(/tmp/multipartBody7376947358022209501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586623393,"filename":"image_01122025_11_16_25_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2279c17a8838091acea48267c3cedf6a.jpg","text":"TemporaryFile(/tmp/multipartBody4108257005323023246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586623393,"filename":"image_01122025_11_17_25_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f5b08c96969b345f2994f04443525de2.jpg","text":"TemporaryFile(/tmp/multipartBody5650734255120612916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586623393,"filename":"image_01122025_11_16_55_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397197771","file1":"1397197768","file0":"1397197766","file4":"1397197774","file5":"1397197777","file3":"1397197772"},"map_files_photo_id_array":[{"photo_id":"1397197777","filename":"file5"},{"photo_id":"1397197771","filename":"file2"},{"photo_id":"1397197774","filename":"file4"},{"photo_id":"1397197768","filename":"file1"},{"photo_id":"1397197766","filename":"file0"},{"photo_id":"1397197772","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397197774":["hashtag1","hashtag2"]},{"1397197768":["hashtag1","hashtag2"]},{"1397197772":["hashtag1","hashtag2"]},{"1397197766":["hashtag1","hashtag2"]},{"1397197777":["hashtag1","hashtag2"]},{"1397197771":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397197774, 1397197768, 1397197772, 1397197766, 1397197777, 1397197771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 15.800499677658081 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:56:22.318156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/17/image_01122025_11_17_35_9696.jpg', '/home/pi/Desktop/images/01122025/11/17/image_01122025_11_17_45_10597.jpg', '/home/pi/Desktop/images/01122025/11/17/image_01122025_11_17_55_9748.jpg', '/home/pi/Desktop/images/01122025/11/17/image_01122025_11_18_05_9684.jpg', '/home/pi/Desktop/images/01122025/11/18/image_01122025_11_18_15_9869.jpg', '/home/pi/Desktop/images/01122025/11/18/image_01122025_11_18_25_10591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/17/image_01122025_11_17_35_9696.jpg
/home/pi/Desktop/images/01122025/11/17/image_01122025_11_17_45_10597.jpg
/home/pi/Desktop/images/01122025/11/17/image_01122025_11_17_55_9748.jpg
/home/pi/Desktop/images/01122025/11/17/image_01122025_11_18_05_9684.jpg
/home/pi/Desktop/images/01122025/11/18/image_01122025_11_18_15_9869.jpg
/home/pi/Desktop/images/01122025/11/18/image_01122025_11_18_25_10591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397197789","1397197801","1397197805","1397197795","1397197798","1397197792"],"photo_ids_order":["1397197789","1397197792","1397197795","1397197798","1397197801","1397197805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5dea6277a565ea19415250af744434ef.jpg","text":"TemporaryFile(/tmp/multipartBody5198893477764232765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586643066,"filename":"image_01122025_11_17_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/1/6f9ff68a96a7a2394b5d297edf601036.jpg","text":"TemporaryFile(/tmp/multipartBody7028593588525619550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586643066,"filename":"image_01122025_11_18_15_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/1/cd9ef4ae8119344b8185579c7ecedbcb.jpg","text":"TemporaryFile(/tmp/multipartBody888174328347607594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586643066,"filename":"image_01122025_11_18_25_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/1/527a97a3809e1c5c1cc8ccd883a5059a.jpg","text":"TemporaryFile(/tmp/multipartBody9145598515843998742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586643066,"filename":"image_01122025_11_17_55_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/14731c0aac323f7355034f591412c6eb.jpg","text":"TemporaryFile(/tmp/multipartBody3539939993303308483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586643066,"filename":"image_01122025_11_18_05_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0b6387ab190cfc350571b66b538fccbb.jpg","text":"TemporaryFile(/tmp/multipartBody3268861624331485635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586643066,"filename":"image_01122025_11_17_45_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397197795","file1":"1397197792","file0":"1397197789","file4":"1397197801","file5":"1397197805","file3":"1397197798"},"map_files_photo_id_array":[{"photo_id":"1397197805","filename":"file5"},{"photo_id":"1397197795","filename":"file2"},{"photo_id":"1397197801","filename":"file4"},{"photo_id":"1397197792","filename":"file1"},{"photo_id":"1397197789","filename":"file0"},{"photo_id":"1397197798","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397197789":["hashtag1","hashtag2"]},{"1397197801":["hashtag1","hashtag2"]},{"1397197805":["hashtag1","hashtag2"]},{"1397197795":["hashtag1","hashtag2"]},{"1397197798":["hashtag1","hashtag2"]},{"1397197792":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397197789, 1397197801, 1397197805, 1397197795, 1397197798, 1397197792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 16.81751799583435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:56:42.364283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_35_2620.jpg', '/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_39_3671.jpg', '/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_42_2585.jpg', '/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_44_2671.jpg', '/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_48_3817.jpg', '/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_51_2539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_35_2620.jpg
/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_39_3671.jpg
/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_42_2585.jpg
/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_44_2671.jpg
/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_48_3817.jpg
/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_51_2539.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397197849","1397197834","1397197819","1397197845","1397197830","1397197841"],"photo_ids_order":["1397197819","1397197830","1397197834","1397197841","1397197845","1397197849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bca10e0f13bcae193d04e070622c5e91.jpg","text":"TemporaryFile(/tmp/multipartBody493190469474993092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586665084,"filename":"image_31102025_14_15_51_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c51d745ede860423d693981be875a547.jpg","text":"TemporaryFile(/tmp/multipartBody2704290288118361323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586665084,"filename":"image_31102025_14_15_42_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/1/da61dea8856faad0fd37f94cfdf709a1.jpg","text":"TemporaryFile(/tmp/multipartBody8594928930065487296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586665084,"filename":"image_31102025_14_15_35_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/1/e5fe44d8a2dd476d7d7902cc0d79b329.jpg","text":"TemporaryFile(/tmp/multipartBody6823165468088914352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586665084,"filename":"image_31102025_14_15_48_3817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a21b8778babb6dd1e94f225cec0a8c9e.jpg","text":"TemporaryFile(/tmp/multipartBody6915254782084454727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586665084,"filename":"image_31102025_14_15_39_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/1/8a23c1fbf7848a3fa6771f0e9bf2ce8e.jpg","text":"TemporaryFile(/tmp/multipartBody7520166828936869771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586665084,"filename":"image_31102025_14_15_44_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397197834","file1":"1397197830","file0":"1397197819","file4":"1397197845","file5":"1397197849","file3":"1397197841"},"map_files_photo_id_array":[{"photo_id":"1397197849","filename":"file5"},{"photo_id":"1397197834","filename":"file2"},{"photo_id":"1397197845","filename":"file4"},{"photo_id":"1397197830","filename":"file1"},{"photo_id":"1397197819","filename":"file0"},{"photo_id":"1397197841","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397197849":["hashtag1","hashtag2"]},{"1397197834":["hashtag1","hashtag2"]},{"1397197819":["hashtag1","hashtag2"]},{"1397197845":["hashtag1","hashtag2"]},{"1397197830":["hashtag1","hashtag2"]},{"1397197841":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397197849, 1397197834, 1397197819, 1397197845, 1397197830, 1397197841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 18.636415004730225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:57:03.191467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/18/image_01122025_11_18_35_9858.jpg', '/home/pi/Desktop/images/01122025/11/18/image_01122025_11_18_45_9656.jpg', '/home/pi/Desktop/images/01122025/11/18/image_01122025_11_18_55_10603.jpg', '/home/pi/Desktop/images/01122025/11/18/image_01122025_11_19_05_9660.jpg', '/home/pi/Desktop/images/01122025/11/19/image_01122025_11_19_15_9726.jpg', '/home/pi/Desktop/images/01122025/11/19/image_01122025_11_19_25_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/18/image_01122025_11_18_35_9858.jpg
/home/pi/Desktop/images/01122025/11/18/image_01122025_11_18_45_9656.jpg
/home/pi/Desktop/images/01122025/11/18/image_01122025_11_18_55_10603.jpg
/home/pi/Desktop/images/01122025/11/18/image_01122025_11_19_05_9660.jpg
/home/pi/Desktop/images/01122025/11/19/image_01122025_11_19_15_9726.jpg
/home/pi/Desktop/images/01122025/11/19/image_01122025_11_19_25_10626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397197873","1397197887","1397197883","1397197871","1397197876","1397197879"],"photo_ids_order":["1397197871","1397197873","1397197876","1397197879","1397197883","1397197887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dfb9e74e4811ab69cfebd8b750a3dad8.jpg","text":"TemporaryFile(/tmp/multipartBody2091485772318935708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586683944,"filename":"image_01122025_11_18_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/1/aebb57abf227a690ce0e002d6b060999.jpg","text":"TemporaryFile(/tmp/multipartBody2353758191068076359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586683944,"filename":"image_01122025_11_19_25_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e4d44be0c90d255525e751a52fa996c5.jpg","text":"TemporaryFile(/tmp/multipartBody2596539037869358943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586683944,"filename":"image_01122025_11_19_15_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/29a074496863912db24b45d747ddbd26.jpg","text":"TemporaryFile(/tmp/multipartBody1407330970842722223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586683944,"filename":"image_01122025_11_18_35_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0a4d7ea930cbb8269584f0212bd26cc7.jpg","text":"TemporaryFile(/tmp/multipartBody6913536923915179851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586683944,"filename":"image_01122025_11_18_55_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6c8a723994521ce6947f2ff903918ff3.jpg","text":"TemporaryFile(/tmp/multipartBody4510761177170348779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586683944,"filename":"image_01122025_11_19_05_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397197876","file1":"1397197873","file0":"1397197871","file4":"1397197883","file5":"1397197887","file3":"1397197879"},"map_files_photo_id_array":[{"photo_id":"1397197887","filename":"file5"},{"photo_id":"1397197876","filename":"file2"},{"photo_id":"1397197883","filename":"file4"},{"photo_id":"1397197873","filename":"file1"},{"photo_id":"1397197871","filename":"file0"},{"photo_id":"1397197879","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397197873":["hashtag1","hashtag2"]},{"1397197887":["hashtag1","hashtag2"]},{"1397197883":["hashtag1","hashtag2"]},{"1397197871":["hashtag1","hashtag2"]},{"1397197876":["hashtag1","hashtag2"]},{"1397197879":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397197873, 1397197887, 1397197883, 1397197871, 1397197876, 1397197879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 16.46773386001587 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:57:22.450228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/19/image_01122025_11_19_35_9597.jpg', '/home/pi/Desktop/images/01122025/11/19/image_01122025_11_19_45_9680.jpg', '/home/pi/Desktop/images/01122025/11/19/image_01122025_11_19_55_10604.jpg', '/home/pi/Desktop/images/01122025/11/20/image_01122025_11_20_15_10057.jpg', '/home/pi/Desktop/images/01122025/11/20/image_01122025_11_20_26_10779.jpg', '/home/pi/Desktop/images/01122025/11/20/image_01122025_11_20_36_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/19/image_01122025_11_19_35_9597.jpg
/home/pi/Desktop/images/01122025/11/19/image_01122025_11_19_45_9680.jpg
/home/pi/Desktop/images/01122025/11/19/image_01122025_11_19_55_10604.jpg
/home/pi/Desktop/images/01122025/11/20/image_01122025_11_20_15_10057.jpg
/home/pi/Desktop/images/01122025/11/20/image_01122025_11_20_26_10779.jpg
/home/pi/Desktop/images/01122025/11/20/image_01122025_11_20_36_9726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397197921","1397197909","1397197900","1397197903","1397197905","1397197907"],"photo_ids_order":["1397197900","1397197903","1397197905","1397197907","1397197909","1397197921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4ed6a50cdc11d023c0f0facabbc36a15.jpg","text":"TemporaryFile(/tmp/multipartBody1010284291383450406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586703154,"filename":"image_01122025_11_20_36_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/1/c47b898d454d0d3a604461190e7cbc37.jpg","text":"TemporaryFile(/tmp/multipartBody8722006002455913292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586703154,"filename":"image_01122025_11_20_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/1/3166286fe50ccb4a345605fd488f3a9b.jpg","text":"TemporaryFile(/tmp/multipartBody6925690976800088297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586703154,"filename":"image_01122025_11_19_35_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9aed23ef8ffcec25b8578b84b2c082a3.jpg","text":"TemporaryFile(/tmp/multipartBody5688898631639365815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586703154,"filename":"image_01122025_11_19_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/1/e8c55f435b7b4a8837bae47db9b987f2.jpg","text":"TemporaryFile(/tmp/multipartBody3547987169679479117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586703154,"filename":"image_01122025_11_19_55_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/865fc69c8e595646322941b505fe99ba.jpg","text":"TemporaryFile(/tmp/multipartBody8357645577455258521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586703154,"filename":"image_01122025_11_20_15_10057.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397197905","file1":"1397197903","file0":"1397197900","file4":"1397197909","file5":"1397197921","file3":"1397197907"},"map_files_photo_id_array":[{"photo_id":"1397197921","filename":"file5"},{"photo_id":"1397197905","filename":"file2"},{"photo_id":"1397197909","filename":"file4"},{"photo_id":"1397197903","filename":"file1"},{"photo_id":"1397197900","filename":"file0"},{"photo_id":"1397197907","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397197921":["hashtag1","hashtag2"]},{"1397197909":["hashtag1","hashtag2"]},{"1397197900":["hashtag1","hashtag2"]},{"1397197903":["hashtag1","hashtag2"]},{"1397197905":["hashtag1","hashtag2"]},{"1397197907":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397197921, 1397197909, 1397197900, 1397197903, 1397197905, 1397197907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 16.42606544494629 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:57:42.460086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_53_2660.jpg', '/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_57_3796.jpg', '/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_03_2824.jpg', '/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_05_2590.jpg', '/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_09_3737.jpg', '/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_12_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_53_2660.jpg
/home/pi/Desktop/images/31102025/14/15/image_31102025_14_15_57_3796.jpg
/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_03_2824.jpg
/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_05_2590.jpg
/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_09_3737.jpg
/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_12_2618.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397198145","1397198118","1397198106","1397198084","1397198132","1397198095"],"photo_ids_order":["1397198084","1397198095","1397198106","1397198118","1397198132","1397198145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f58004954f5595f08086cc5ef6c6cfce.jpg","text":"TemporaryFile(/tmp/multipartBody8575155274344114951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586725161,"filename":"image_31102025_14_16_12_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/1/67342151a32a5f1ffa31cc9bd33df0ef.jpg","text":"TemporaryFile(/tmp/multipartBody7836361244012687472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586725161,"filename":"image_31102025_14_16_05_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/1/f137d984f8a716822ea59dc83f8ffd55.jpg","text":"TemporaryFile(/tmp/multipartBody5964197052486856407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586725161,"filename":"image_31102025_14_16_03_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/1/e213ab55f3aefc25cb9d10d1be31d9a8.jpg","text":"TemporaryFile(/tmp/multipartBody5376509902647377180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586725161,"filename":"image_31102025_14_15_53_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/932eb9671d1693b209d64ad9d73f17be.jpg","text":"TemporaryFile(/tmp/multipartBody4736986292099069370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586725161,"filename":"image_31102025_14_16_09_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/690b89e7e0755fb461184277f799fe00.jpg","text":"TemporaryFile(/tmp/multipartBody9093778158616387660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586725161,"filename":"image_31102025_14_15_57_3796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397198106","file1":"1397198095","file0":"1397198084","file4":"1397198132","file5":"1397198145","file3":"1397198118"},"map_files_photo_id_array":[{"photo_id":"1397198145","filename":"file5"},{"photo_id":"1397198106","filename":"file2"},{"photo_id":"1397198132","filename":"file4"},{"photo_id":"1397198095","filename":"file1"},{"photo_id":"1397198084","filename":"file0"},{"photo_id":"1397198118","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397198145":["hashtag1","hashtag2"]},{"1397198118":["hashtag1","hashtag2"]},{"1397198106":["hashtag1","hashtag2"]},{"1397198084":["hashtag1","hashtag2"]},{"1397198132":["hashtag1","hashtag2"]},{"1397198095":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397198145, 1397198118, 1397198106, 1397198084, 1397198132, 1397198095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 18.318305730819702 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 11:59:03.584738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/20/image_01122025_11_20_45_9605.jpg', '/home/pi/Desktop/images/01122025/11/20/image_01122025_11_20_56_10751.jpg', '/home/pi/Desktop/images/01122025/11/20/image_01122025_11_21_06_9776.jpg', '/home/pi/Desktop/images/01122025/11/21/image_01122025_11_21_15_9680.jpg', '/home/pi/Desktop/images/01122025/11/21/image_01122025_11_21_25_9687.jpg', '/home/pi/Desktop/images/01122025/11/21/image_01122025_11_21_36_10712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/20/image_01122025_11_20_45_9605.jpg
/home/pi/Desktop/images/01122025/11/20/image_01122025_11_20_56_10751.jpg
/home/pi/Desktop/images/01122025/11/20/image_01122025_11_21_06_9776.jpg
/home/pi/Desktop/images/01122025/11/21/image_01122025_11_21_15_9680.jpg
/home/pi/Desktop/images/01122025/11/21/image_01122025_11_21_25_9687.jpg
/home/pi/Desktop/images/01122025/11/21/image_01122025_11_21_36_10712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397198431","1397198451","1397198454","1397198442","1397198436","1397198447"],"photo_ids_order":["1397198431","1397198436","1397198442","1397198447","1397198451","1397198454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/706cb8ccf7ef585c671539007cb97761.jpg","text":"TemporaryFile(/tmp/multipartBody2328341396959766217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586804507,"filename":"image_01122025_11_20_45_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/1/92f6b6a1f7573bee896fe03a3b84933b.jpg","text":"TemporaryFile(/tmp/multipartBody978345961564380707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586804507,"filename":"image_01122025_11_21_25_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c8324022019176960eb63ac94a062725.jpg","text":"TemporaryFile(/tmp/multipartBody8845668356408479084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586804507,"filename":"image_01122025_11_21_36_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/1/27700b90a1f2c7683000f39ecee35b88.jpg","text":"TemporaryFile(/tmp/multipartBody1941513813518468944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586804507,"filename":"image_01122025_11_21_06_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/150b021c59a95b66248de6076bc9a954.jpg","text":"TemporaryFile(/tmp/multipartBody5047632746491247290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586804507,"filename":"image_01122025_11_20_56_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/37c626f338b04a7b943ad44958c5d9e5.jpg","text":"TemporaryFile(/tmp/multipartBody701194521753683753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586804507,"filename":"image_01122025_11_21_15_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397198442","file1":"1397198436","file0":"1397198431","file4":"1397198451","file5":"1397198454","file3":"1397198447"},"map_files_photo_id_array":[{"photo_id":"1397198454","filename":"file5"},{"photo_id":"1397198442","filename":"file2"},{"photo_id":"1397198451","filename":"file4"},{"photo_id":"1397198436","filename":"file1"},{"photo_id":"1397198431","filename":"file0"},{"photo_id":"1397198447","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397198431":["hashtag1","hashtag2"]},{"1397198451":["hashtag1","hashtag2"]},{"1397198454":["hashtag1","hashtag2"]},{"1397198442":["hashtag1","hashtag2"]},{"1397198436":["hashtag1","hashtag2"]},{"1397198447":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397198431, 1397198451, 1397198454, 1397198442, 1397198436, 1397198447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 17.34104824066162 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 11:59:22.786626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/21/image_01122025_11_21_45_9641.jpg', '/home/pi/Desktop/images/01122025/11/21/image_01122025_11_21_55_9729.jpg', '/home/pi/Desktop/images/01122025/11/21/image_01122025_11_22_06_10762.jpg', '/home/pi/Desktop/images/01122025/11/22/image_01122025_11_22_16_9723.jpg', '/home/pi/Desktop/images/01122025/11/22/image_01122025_11_22_25_9605.jpg', '/home/pi/Desktop/images/01122025/11/22/image_01122025_11_22_36_10732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/21/image_01122025_11_21_45_9641.jpg
/home/pi/Desktop/images/01122025/11/21/image_01122025_11_21_55_9729.jpg
/home/pi/Desktop/images/01122025/11/21/image_01122025_11_22_06_10762.jpg
/home/pi/Desktop/images/01122025/11/22/image_01122025_11_22_16_9723.jpg
/home/pi/Desktop/images/01122025/11/22/image_01122025_11_22_25_9605.jpg
/home/pi/Desktop/images/01122025/11/22/image_01122025_11_22_36_10732.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397198487","1397198481","1397198475","1397198484","1397198478","1397198489"],"photo_ids_order":["1397198475","1397198478","1397198481","1397198484","1397198487","1397198489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/73dcc8281d51dd176af27b29e09f8bc1.jpg","text":"TemporaryFile(/tmp/multipartBody5753732897866751583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586823493,"filename":"image_01122025_11_22_25_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/189b62f52272251ed2d00ced45191b9d.jpg","text":"TemporaryFile(/tmp/multipartBody8322054121018438960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586823493,"filename":"image_01122025_11_22_06_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/1/628938be7bb1afdc7aa8eb392170aa86.jpg","text":"TemporaryFile(/tmp/multipartBody5843547828001519350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586823493,"filename":"image_01122025_11_21_45_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/14de2c60cbdbee78283dbb1f40cd8f68.jpg","text":"TemporaryFile(/tmp/multipartBody2018518493777391832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586823493,"filename":"image_01122025_11_22_16_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/1/2e3583ec95f669ab2fac7976dcb80af4.jpg","text":"TemporaryFile(/tmp/multipartBody2480849790151185997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586823493,"filename":"image_01122025_11_21_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/1/9fae0dcad705acc1a288e3711aaf108f.jpg","text":"TemporaryFile(/tmp/multipartBody5638147571946627200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586823493,"filename":"image_01122025_11_22_36_10732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397198481","file1":"1397198478","file0":"1397198475","file4":"1397198487","file5":"1397198489","file3":"1397198484"},"map_files_photo_id_array":[{"photo_id":"1397198489","filename":"file5"},{"photo_id":"1397198481","filename":"file2"},{"photo_id":"1397198487","filename":"file4"},{"photo_id":"1397198478","filename":"file1"},{"photo_id":"1397198475","filename":"file0"},{"photo_id":"1397198484","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397198487":["hashtag1","hashtag2"]},{"1397198481":["hashtag1","hashtag2"]},{"1397198475":["hashtag1","hashtag2"]},{"1397198484":["hashtag1","hashtag2"]},{"1397198478":["hashtag1","hashtag2"]},{"1397198489":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397198487, 1397198481, 1397198475, 1397198484, 1397198478, 1397198489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 16.389896869659424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 11:59:42.780978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_14_2622.jpg', '/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_18_3669.jpg', '/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_21_2655.jpg', '/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_23_2640.jpg', '/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_27_3653.jpg', '/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_30_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_14_2622.jpg
/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_18_3669.jpg
/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_21_2655.jpg
/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_23_2640.jpg
/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_27_3653.jpg
/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_30_2609.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397198503","1397198505","1397198508","1397198507","1397198501","1397198509"],"photo_ids_order":["1397198501","1397198503","1397198505","1397198507","1397198508","1397198509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/802beb46c5988135139ed01164d75c8b.jpg","text":"TemporaryFile(/tmp/multipartBody9031394212065654697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586845445,"filename":"image_31102025_14_16_18_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/1/742b4ad8b4acb1e711d9bd1747557ced.jpg","text":"TemporaryFile(/tmp/multipartBody2112534908884162633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586845445,"filename":"image_31102025_14_16_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/1/fdf81591f37c06819dc206c7d0503c17.jpg","text":"TemporaryFile(/tmp/multipartBody853134266202528053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586845445,"filename":"image_31102025_14_16_27_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/1/9a73bea836f99b087716d2c85eaabecc.jpg","text":"TemporaryFile(/tmp/multipartBody3170543309803998683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586845445,"filename":"image_31102025_14_16_23_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/1/d220c78a7cff778ed76ba1d64448ddde.jpg","text":"TemporaryFile(/tmp/multipartBody1590755017433040931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586845445,"filename":"image_31102025_14_16_14_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/1/c6ad6a68fe003cb3261765eac4ac446b.jpg","text":"TemporaryFile(/tmp/multipartBody513148452152986118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586845445,"filename":"image_31102025_14_16_30_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397198505","file1":"1397198503","file0":"1397198501","file4":"1397198508","file5":"1397198509","file3":"1397198507"},"map_files_photo_id_array":[{"photo_id":"1397198509","filename":"file5"},{"photo_id":"1397198505","filename":"file2"},{"photo_id":"1397198508","filename":"file4"},{"photo_id":"1397198503","filename":"file1"},{"photo_id":"1397198501","filename":"file0"},{"photo_id":"1397198507","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397198503":["hashtag1","hashtag2"]},{"1397198505":["hashtag1","hashtag2"]},{"1397198508":["hashtag1","hashtag2"]},{"1397198507":["hashtag1","hashtag2"]},{"1397198501":["hashtag1","hashtag2"]},{"1397198509":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397198503, 1397198505, 1397198508, 1397198507, 1397198501, 1397198509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 17.863134145736694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:00:02.413075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/22/image_01122025_11_22_45_9578.jpg', '/home/pi/Desktop/images/01122025/11/22/image_01122025_11_22_55_9580.jpg', '/home/pi/Desktop/images/01122025/11/22/image_01122025_11_23_06_10793.jpg', '/home/pi/Desktop/images/01122025/11/23/image_01122025_11_23_16_9656.jpg', '/home/pi/Desktop/images/01122025/11/23/image_01122025_11_23_25_9762.jpg', '/home/pi/Desktop/images/01122025/11/23/image_01122025_11_23_36_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/22/image_01122025_11_22_45_9578.jpg
/home/pi/Desktop/images/01122025/11/22/image_01122025_11_22_55_9580.jpg
/home/pi/Desktop/images/01122025/11/22/image_01122025_11_23_06_10793.jpg
/home/pi/Desktop/images/01122025/11/23/image_01122025_11_23_16_9656.jpg
/home/pi/Desktop/images/01122025/11/23/image_01122025_11_23_25_9762.jpg
/home/pi/Desktop/images/01122025/11/23/image_01122025_11_23_36_10628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397198562","1397198597","1397198576","1397198642","1397198618","1397198551"],"photo_ids_order":["1397198551","1397198562","1397198576","1397198597","1397198618","1397198642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e596a55998cf35cd730d6c9113b2e32a.jpg","text":"TemporaryFile(/tmp/multipartBody3746326176544335315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586863093,"filename":"image_01122025_11_22_55_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/993c58486e87c26d0795fce4c669eb47.jpg","text":"TemporaryFile(/tmp/multipartBody7425432453966276476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586863093,"filename":"image_01122025_11_23_16_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/1/056b2c726d9d102456d9d90b882a7f52.jpg","text":"TemporaryFile(/tmp/multipartBody8677162826272320810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586863093,"filename":"image_01122025_11_23_06_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/1/63de4fb9d1b886af4ae326aa8841da1a.jpg","text":"TemporaryFile(/tmp/multipartBody2806295141242064265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586863093,"filename":"image_01122025_11_23_36_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/1/4103595b3d8e15e36104871cd9772dc0.jpg","text":"TemporaryFile(/tmp/multipartBody6841981644330673395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586863093,"filename":"image_01122025_11_23_25_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/29acaf8fcaf50a8b0e5502dcf5df1fa8.jpg","text":"TemporaryFile(/tmp/multipartBody6200399398400544279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586863093,"filename":"image_01122025_11_22_45_9578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397198576","file1":"1397198562","file0":"1397198551","file4":"1397198618","file5":"1397198642","file3":"1397198597"},"map_files_photo_id_array":[{"photo_id":"1397198642","filename":"file5"},{"photo_id":"1397198576","filename":"file2"},{"photo_id":"1397198618","filename":"file4"},{"photo_id":"1397198562","filename":"file1"},{"photo_id":"1397198551","filename":"file0"},{"photo_id":"1397198597","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397198562":["hashtag1","hashtag2"]},{"1397198597":["hashtag1","hashtag2"]},{"1397198576":["hashtag1","hashtag2"]},{"1397198642":["hashtag1","hashtag2"]},{"1397198618":["hashtag1","hashtag2"]},{"1397198551":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397198562, 1397198597, 1397198576, 1397198642, 1397198618, 1397198551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 16.276705980300903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 12:00:21.960172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/23/image_01122025_11_23_46_9664.jpg', '/home/pi/Desktop/images/01122025/11/23/image_01122025_11_23_55_9748.jpg', '/home/pi/Desktop/images/01122025/11/23/image_01122025_11_24_05_9709.jpg', '/home/pi/Desktop/images/01122025/11/24/image_01122025_11_24_16_10646.jpg', '/home/pi/Desktop/images/01122025/11/24/image_01122025_11_24_26_10143.jpg', '/home/pi/Desktop/images/01122025/11/24/image_01122025_11_24_36_9820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/23/image_01122025_11_23_46_9664.jpg
/home/pi/Desktop/images/01122025/11/23/image_01122025_11_23_55_9748.jpg
/home/pi/Desktop/images/01122025/11/23/image_01122025_11_24_05_9709.jpg
/home/pi/Desktop/images/01122025/11/24/image_01122025_11_24_16_10646.jpg
/home/pi/Desktop/images/01122025/11/24/image_01122025_11_24_26_10143.jpg
/home/pi/Desktop/images/01122025/11/24/image_01122025_11_24_36_9820.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397198722","1397198710","1397198717","1397198725","1397198719","1397198713"],"photo_ids_order":["1397198710","1397198713","1397198717","1397198719","1397198722","1397198725"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/abeee6d3d6aaa19883191d0885586251.jpg","text":"TemporaryFile(/tmp/multipartBody1494919457836517163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586882708,"filename":"image_01122025_11_24_26_10143.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ca719c177291f563082bcd8df75afd01.jpg","text":"TemporaryFile(/tmp/multipartBody3434793941351911188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586882708,"filename":"image_01122025_11_23_46_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/1/474d39958f10d49e016723fe12f53824.jpg","text":"TemporaryFile(/tmp/multipartBody5353269813546903151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586882708,"filename":"image_01122025_11_24_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/1/764db7f519439996673652cfb1c5de8b.jpg","text":"TemporaryFile(/tmp/multipartBody5713650914702544805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586882708,"filename":"image_01122025_11_24_36_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/1/94a897221a310a5c2db2a58e029a49c0.jpg","text":"TemporaryFile(/tmp/multipartBody6476635875648540566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586882708,"filename":"image_01122025_11_24_16_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/1/d33d2edfedbddacd9f343fe09fc54be0.jpg","text":"TemporaryFile(/tmp/multipartBody9007174569859915061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586882708,"filename":"image_01122025_11_23_55_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397198717","file1":"1397198713","file0":"1397198710","file4":"1397198722","file5":"1397198725","file3":"1397198719"},"map_files_photo_id_array":[{"photo_id":"1397198725","filename":"file5"},{"photo_id":"1397198717","filename":"file2"},{"photo_id":"1397198722","filename":"file4"},{"photo_id":"1397198713","filename":"file1"},{"photo_id":"1397198710","filename":"file0"},{"photo_id":"1397198719","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397198722":["hashtag1","hashtag2"]},{"1397198710":["hashtag1","hashtag2"]},{"1397198717":["hashtag1","hashtag2"]},{"1397198725":["hashtag1","hashtag2"]},{"1397198719":["hashtag1","hashtag2"]},{"1397198713":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397198722, 1397198710, 1397198717, 1397198725, 1397198719, 1397198713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 16.332217931747437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 12:00:41.919734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_32_2807.jpg', '/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_39_3687.jpg', '/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_44_2543.jpg', '/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_48_3718.jpg', '/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_53_2753.jpg', '/home/pi/Desktop/images/31102025/14/16/image_31102025_14_17_00_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_32_2807.jpg
/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_39_3687.jpg
/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_44_2543.jpg
/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_48_3718.jpg
/home/pi/Desktop/images/31102025/14/16/image_31102025_14_16_53_2753.jpg
/home/pi/Desktop/images/31102025/14/16/image_31102025_14_17_00_2704.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397198790","1397198784","1397198787","1397198786","1397198788","1397198785"],"photo_ids_order":["1397198784","1397198785","1397198786","1397198787","1397198788","1397198790"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b6e687b9e13650de4d8e1dfb4ca34c2f.jpg","text":"TemporaryFile(/tmp/multipartBody7832516345124878516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586904599,"filename":"image_31102025_14_17_00_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/1/95bdbb35a340dcf14e91e93d1d4a1a9a.jpg","text":"TemporaryFile(/tmp/multipartBody9002176461876883871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586904599,"filename":"image_31102025_14_16_32_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f48b908e9c7b7c3aa7a1e3ba7cf35258.jpg","text":"TemporaryFile(/tmp/multipartBody3710941289296668044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586904599,"filename":"image_31102025_14_16_48_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/1/84ad5d6202cd9e51104f4f16ad25d184.jpg","text":"TemporaryFile(/tmp/multipartBody30051879747695818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586904599,"filename":"image_31102025_14_16_44_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c5c39b358bca74a8b561b7355b5ea0bd.jpg","text":"TemporaryFile(/tmp/multipartBody386231730471448269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586904599,"filename":"image_31102025_14_16_53_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/1/d0807f78365cf60012143b4a00feb9a3.jpg","text":"TemporaryFile(/tmp/multipartBody2534930605960740318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586904599,"filename":"image_31102025_14_16_39_3687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397198786","file1":"1397198785","file0":"1397198784","file4":"1397198788","file5":"1397198790","file3":"1397198787"},"map_files_photo_id_array":[{"photo_id":"1397198790","filename":"file5"},{"photo_id":"1397198786","filename":"file2"},{"photo_id":"1397198788","filename":"file4"},{"photo_id":"1397198785","filename":"file1"},{"photo_id":"1397198784","filename":"file0"},{"photo_id":"1397198787","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397198790":["hashtag1","hashtag2"]},{"1397198784":["hashtag1","hashtag2"]},{"1397198787":["hashtag1","hashtag2"]},{"1397198786":["hashtag1","hashtag2"]},{"1397198788":["hashtag1","hashtag2"]},{"1397198785":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397198790, 1397198784, 1397198787, 1397198786, 1397198788, 1397198785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 17.09093999862671 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:01:02.822531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/24/image_01122025_11_24_45_9776.jpg', '/home/pi/Desktop/images/01122025/11/24/image_01122025_11_24_55_9755.jpg', '/home/pi/Desktop/images/01122025/11/25/image_01122025_11_25_14_10056.jpg', '/home/pi/Desktop/images/01122025/11/25/image_01122025_11_25_25_10784.jpg', '/home/pi/Desktop/images/01122025/11/25/image_01122025_11_25_35_9667.jpg', '/home/pi/Desktop/images/01122025/11/25/image_01122025_11_25_44_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/24/image_01122025_11_24_45_9776.jpg
/home/pi/Desktop/images/01122025/11/24/image_01122025_11_24_55_9755.jpg
/home/pi/Desktop/images/01122025/11/25/image_01122025_11_25_14_10056.jpg
/home/pi/Desktop/images/01122025/11/25/image_01122025_11_25_25_10784.jpg
/home/pi/Desktop/images/01122025/11/25/image_01122025_11_25_35_9667.jpg
/home/pi/Desktop/images/01122025/11/25/image_01122025_11_25_44_9593.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6652874946594238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 12:01:12.038715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg', '/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_43_2623.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_46_2705.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_49_3651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_52_2651.jpg
/home/pi/Desktop/images/25112025/22/28/image_25112025_22_28_58_3559.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_01_2596.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397198886","1397198877","1397198916","1397198867","1397198906","1397198896"],"photo_ids_order":["1397198867","1397198877","1397198886","1397198896","1397198906","1397198916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8d3f882eea0e80c0b5e915e6a56d0f59.jpg","text":"TemporaryFile(/tmp/multipartBody9209307066708124072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586933400,"filename":"image_25112025_22_28_49_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/1/78e374dd009ba5d99737b4dc70e302bd.jpg","text":"TemporaryFile(/tmp/multipartBody1317657325989931653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586933400,"filename":"image_25112025_22_28_46_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/1/a89e3b03658c561f7c25fba155898173.jpg","text":"TemporaryFile(/tmp/multipartBody5385885248052247204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586933400,"filename":"image_25112025_22_29_01_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/1/76b1cd2b747f96a1ac39a05ca8e2adf8.jpg","text":"TemporaryFile(/tmp/multipartBody5122073219146823576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586933400,"filename":"image_25112025_22_28_43_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b309a9dca836f292a8416557b2571b5f.jpg","text":"TemporaryFile(/tmp/multipartBody3021696898608971811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586933400,"filename":"image_25112025_22_28_58_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/1/a07361d03e739e37087101bdeed1b909.jpg","text":"TemporaryFile(/tmp/multipartBody3410077082409522992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586933400,"filename":"image_25112025_22_28_52_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397198886","file1":"1397198877","file0":"1397198867","file4":"1397198906","file5":"1397198916","file3":"1397198896"},"map_files_photo_id_array":[{"photo_id":"1397198916","filename":"file5"},{"photo_id":"1397198886","filename":"file2"},{"photo_id":"1397198906","filename":"file4"},{"photo_id":"1397198877","filename":"file1"},{"photo_id":"1397198867","filename":"file0"},{"photo_id":"1397198896","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397198886":["hashtag1","hashtag2"]},{"1397198877":["hashtag1","hashtag2"]},{"1397198916":["hashtag1","hashtag2"]},{"1397198867":["hashtag1","hashtag2"]},{"1397198906":["hashtag1","hashtag2"]},{"1397198896":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397198886, 1397198877, 1397198916, 1397198867, 1397198906, 1397198896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 16.30492401123047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 12:01:32.147969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_04_3659.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_07_2521.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_10_2678.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_13_3705.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_19_2691.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_25_2589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_04_3659.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_07_2521.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_10_2678.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_13_3705.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_19_2691.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_25_2589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397199036","1397199039","1397199038","1397199035","1397199040","1397199037"],"photo_ids_order":["1397199035","1397199036","1397199037","1397199038","1397199039","1397199040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9c59798b9f5b70a01a8adf3b81cd29ac.jpg","text":"TemporaryFile(/tmp/multipartBody509984205575963763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586953866,"filename":"image_25112025_22_29_07_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/1/6ecf2c5536c8ddd455ef6d930d54de57.jpg","text":"TemporaryFile(/tmp/multipartBody6132164441343490111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586953866,"filename":"image_25112025_22_29_19_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dd606011b68ffcd02333fa3e6ebfc688.jpg","text":"TemporaryFile(/tmp/multipartBody860016184126174840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586953866,"filename":"image_25112025_22_29_13_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/041d650f7e2b6405c2bd89e812d9c402.jpg","text":"TemporaryFile(/tmp/multipartBody7710647342621894962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586953866,"filename":"image_25112025_22_29_04_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/1/7bf4bf5f285035c1ee2e11788302d440.jpg","text":"TemporaryFile(/tmp/multipartBody6223622121533506051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586953866,"filename":"image_25112025_22_29_25_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/1/b636df28d982839ca04acf79760e4f44.jpg","text":"TemporaryFile(/tmp/multipartBody692552378503233069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586953866,"filename":"image_25112025_22_29_10_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397199037","file1":"1397199036","file0":"1397199035","file4":"1397199039","file5":"1397199040","file3":"1397199038"},"map_files_photo_id_array":[{"photo_id":"1397199040","filename":"file5"},{"photo_id":"1397199037","filename":"file2"},{"photo_id":"1397199039","filename":"file4"},{"photo_id":"1397199036","filename":"file1"},{"photo_id":"1397199035","filename":"file0"},{"photo_id":"1397199038","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397199036":["hashtag1","hashtag2"]},{"1397199039":["hashtag1","hashtag2"]},{"1397199038":["hashtag1","hashtag2"]},{"1397199035":["hashtag1","hashtag2"]},{"1397199040":["hashtag1","hashtag2"]},{"1397199037":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397199036, 1397199039, 1397199038, 1397199035, 1397199040, 1397199037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 16.29861283302307 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:02:02.667898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/24/image_01122025_11_24_45_9776.jpg', '/home/pi/Desktop/images/01122025/11/24/image_01122025_11_24_55_9755.jpg', '/home/pi/Desktop/images/01122025/11/25/image_01122025_11_25_14_10056.jpg', '/home/pi/Desktop/images/01122025/11/25/image_01122025_11_25_25_10784.jpg', '/home/pi/Desktop/images/01122025/11/25/image_01122025_11_25_35_9667.jpg', '/home/pi/Desktop/images/01122025/11/25/image_01122025_11_25_44_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/24/image_01122025_11_24_45_9776.jpg
/home/pi/Desktop/images/01122025/11/24/image_01122025_11_24_55_9755.jpg
/home/pi/Desktop/images/01122025/11/25/image_01122025_11_25_14_10056.jpg
/home/pi/Desktop/images/01122025/11/25/image_01122025_11_25_25_10784.jpg
/home/pi/Desktop/images/01122025/11/25/image_01122025_11_25_35_9667.jpg
/home/pi/Desktop/images/01122025/11/25/image_01122025_11_25_44_9593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397199060","1397199057","1397199062","1397199056","1397199055","1397199058"],"photo_ids_order":["1397199055","1397199056","1397199057","1397199058","1397199060","1397199062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fb422cca8183ebe3a4fef3145f1b02d4.jpg","text":"TemporaryFile(/tmp/multipartBody1053005533597735007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586983380,"filename":"image_01122025_11_25_35_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d288c13fb5db86edf39aa6816586ac19.jpg","text":"TemporaryFile(/tmp/multipartBody9128474545774396418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586983380,"filename":"image_01122025_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/1/af9d6e25ffc6a5a4396542c76a96ed23.jpg","text":"TemporaryFile(/tmp/multipartBody6824840852241563989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586983380,"filename":"image_01122025_11_25_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/1/4e088a02654f30f24ebc3eae332df125.jpg","text":"TemporaryFile(/tmp/multipartBody1250859411554998290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586983380,"filename":"image_01122025_11_24_55_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/88716aeea6fe0a66e86b0da442fd32f7.jpg","text":"TemporaryFile(/tmp/multipartBody5506449594912749757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586983380,"filename":"image_01122025_11_24_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/1/114bd05e8775365f43ac1246d04f70d3.jpg","text":"TemporaryFile(/tmp/multipartBody2295631834403106586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764586983380,"filename":"image_01122025_11_25_25_10784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397199057","file1":"1397199056","file0":"1397199055","file4":"1397199060","file5":"1397199062","file3":"1397199058"},"map_files_photo_id_array":[{"photo_id":"1397199062","filename":"file5"},{"photo_id":"1397199057","filename":"file2"},{"photo_id":"1397199060","filename":"file4"},{"photo_id":"1397199056","filename":"file1"},{"photo_id":"1397199055","filename":"file0"},{"photo_id":"1397199058","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397199060":["hashtag1","hashtag2"]},{"1397199057":["hashtag1","hashtag2"]},{"1397199062":["hashtag1","hashtag2"]},{"1397199056":["hashtag1","hashtag2"]},{"1397199055":["hashtag1","hashtag2"]},{"1397199058":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397199060, 1397199057, 1397199062, 1397199056, 1397199055, 1397199058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 15.772537469863892 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 12:02:22.270520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/25/image_01122025_11_25_55_10766.jpg', '/home/pi/Desktop/images/01122025/11/25/image_01122025_11_26_05_9768.jpg', '/home/pi/Desktop/images/01122025/11/26/image_01122025_11_26_15_9670.jpg', '/home/pi/Desktop/images/01122025/11/26/image_01122025_11_26_24_9750.jpg', '/home/pi/Desktop/images/01122025/11/26/image_01122025_11_26_35_10828.jpg', '/home/pi/Desktop/images/01122025/11/26/image_01122025_11_26_45_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/25/image_01122025_11_25_55_10766.jpg
/home/pi/Desktop/images/01122025/11/25/image_01122025_11_26_05_9768.jpg
/home/pi/Desktop/images/01122025/11/26/image_01122025_11_26_15_9670.jpg
/home/pi/Desktop/images/01122025/11/26/image_01122025_11_26_24_9750.jpg
/home/pi/Desktop/images/01122025/11/26/image_01122025_11_26_35_10828.jpg
/home/pi/Desktop/images/01122025/11/26/image_01122025_11_26_45_9725.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397199086","1397199089","1397199079","1397199082","1397199076","1397199084"],"photo_ids_order":["1397199076","1397199079","1397199082","1397199084","1397199086","1397199089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/832246c115bbc14c4889560039bc8dac.jpg","text":"TemporaryFile(/tmp/multipartBody7256269681170662250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587003028,"filename":"image_01122025_11_26_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/1/075fa6983c4925003ae3a441dba368bb.jpg","text":"TemporaryFile(/tmp/multipartBody919077242536956398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587003028,"filename":"image_01122025_11_26_45_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5729c6a04201ff3b92a25d4ee0cbfcfb.jpg","text":"TemporaryFile(/tmp/multipartBody2711670925801083141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587003028,"filename":"image_01122025_11_26_05_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cab3f5023ea5cd207905ad494370f9ad.jpg","text":"TemporaryFile(/tmp/multipartBody307242998721551561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587003028,"filename":"image_01122025_11_26_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/1/4c26e1043c37ccdb310caba1115d4099.jpg","text":"TemporaryFile(/tmp/multipartBody1015932964287248277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587003028,"filename":"image_01122025_11_25_55_10766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cd674f97c97386e59aab7e5e056ed6f6.jpg","text":"TemporaryFile(/tmp/multipartBody2572814790334528309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587003028,"filename":"image_01122025_11_26_24_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397199082","file1":"1397199079","file0":"1397199076","file4":"1397199086","file5":"1397199089","file3":"1397199084"},"map_files_photo_id_array":[{"photo_id":"1397199089","filename":"file5"},{"photo_id":"1397199082","filename":"file2"},{"photo_id":"1397199086","filename":"file4"},{"photo_id":"1397199079","filename":"file1"},{"photo_id":"1397199076","filename":"file0"},{"photo_id":"1397199084","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397199086":["hashtag1","hashtag2"]},{"1397199089":["hashtag1","hashtag2"]},{"1397199079":["hashtag1","hashtag2"]},{"1397199082":["hashtag1","hashtag2"]},{"1397199076":["hashtag1","hashtag2"]},{"1397199084":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397199086, 1397199089, 1397199079, 1397199082, 1397199076, 1397199084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 16.208688497543335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 12:02:42.227918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_02_2803.jpg', '/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_06_3540.jpg', '/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_09_2795.jpg', '/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_11_2695.jpg', '/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_15_3623.jpg', '/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_18_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_02_2803.jpg
/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_06_3540.jpg
/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_09_2795.jpg
/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_11_2695.jpg
/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_15_3623.jpg
/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_18_2678.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397199111","1397199110","1397199113","1397199097","1397199103","1397199109"],"photo_ids_order":["1397199097","1397199103","1397199109","1397199110","1397199111","1397199113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d2e9bbbf39ba9b393be55f8c93433166.jpg","text":"TemporaryFile(/tmp/multipartBody5315810285480508894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587024901,"filename":"image_31102025_14_17_15_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/1/471b856b98aea57c93bf2f691302d928.jpg","text":"TemporaryFile(/tmp/multipartBody8921753187009915089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587024901,"filename":"image_31102025_14_17_11_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/1/aa3b7e909f8ca43a1d89ad7a8bc2ce9e.jpg","text":"TemporaryFile(/tmp/multipartBody875354062800053789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587024901,"filename":"image_31102025_14_17_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/1/682bc5c858fc9e7dd956b29124a4c7aa.jpg","text":"TemporaryFile(/tmp/multipartBody5246016702173108487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587024901,"filename":"image_31102025_14_17_02_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/492b8d32d1d76181359f17a55994fbfe.jpg","text":"TemporaryFile(/tmp/multipartBody50597468564595680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587024901,"filename":"image_31102025_14_17_06_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/649267f94dd47bef99195cb3d9457905.jpg","text":"TemporaryFile(/tmp/multipartBody8917282659994685041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587024901,"filename":"image_31102025_14_17_09_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397199109","file1":"1397199103","file0":"1397199097","file4":"1397199111","file5":"1397199113","file3":"1397199110"},"map_files_photo_id_array":[{"photo_id":"1397199113","filename":"file5"},{"photo_id":"1397199109","filename":"file2"},{"photo_id":"1397199111","filename":"file4"},{"photo_id":"1397199103","filename":"file1"},{"photo_id":"1397199097","filename":"file0"},{"photo_id":"1397199110","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397199111":["hashtag1","hashtag2"]},{"1397199110":["hashtag1","hashtag2"]},{"1397199113":["hashtag1","hashtag2"]},{"1397199097":["hashtag1","hashtag2"]},{"1397199103":["hashtag1","hashtag2"]},{"1397199109":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397199111, 1397199110, 1397199113, 1397199097, 1397199103, 1397199109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 17.055296897888184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:03:03.075908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/26/image_01122025_11_26_54_9612.jpg', '/home/pi/Desktop/images/01122025/11/26/image_01122025_11_27_05_10655.jpg', '/home/pi/Desktop/images/01122025/11/27/image_01122025_11_27_15_9697.jpg', '/home/pi/Desktop/images/01122025/11/27/image_01122025_11_27_25_9776.jpg', '/home/pi/Desktop/images/01122025/11/27/image_01122025_11_27_34_9893.jpg', '/home/pi/Desktop/images/01122025/11/27/image_01122025_11_27_45_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/26/image_01122025_11_26_54_9612.jpg
/home/pi/Desktop/images/01122025/11/26/image_01122025_11_27_05_10655.jpg
/home/pi/Desktop/images/01122025/11/27/image_01122025_11_27_15_9697.jpg
/home/pi/Desktop/images/01122025/11/27/image_01122025_11_27_25_9776.jpg
/home/pi/Desktop/images/01122025/11/27/image_01122025_11_27_34_9893.jpg
/home/pi/Desktop/images/01122025/11/27/image_01122025_11_27_45_10675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397199138","1397199141","1397199123","1397199143","1397199119","1397199134"],"photo_ids_order":["1397199119","1397199123","1397199134","1397199138","1397199141","1397199143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/459c756aa2cbe3ea836adc3c7981c85d.jpg","text":"TemporaryFile(/tmp/multipartBody279021186714159734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587043842,"filename":"image_01122025_11_27_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/1/902fed3a7219b61c0eba130476fd3d9d.jpg","text":"TemporaryFile(/tmp/multipartBody7846506504661503020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587043842,"filename":"image_01122025_11_27_34_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/1/6b7945ee3cf31099745819444fc5a30b.jpg","text":"TemporaryFile(/tmp/multipartBody4999040356959265899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587043842,"filename":"image_01122025_11_27_05_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3ab95db2ccfb3833c702c8830da44260.jpg","text":"TemporaryFile(/tmp/multipartBody9129177701708249142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587043842,"filename":"image_01122025_11_27_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/1/bd6f55cca3d33c75a7c4b9feb7f4b570.jpg","text":"TemporaryFile(/tmp/multipartBody6966847919137895803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587043842,"filename":"image_01122025_11_26_54_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cb165f070239d671588034265c1cf02f.jpg","text":"TemporaryFile(/tmp/multipartBody6052757623494952534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587043842,"filename":"image_01122025_11_27_15_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397199134","file1":"1397199123","file0":"1397199119","file4":"1397199141","file5":"1397199143","file3":"1397199138"},"map_files_photo_id_array":[{"photo_id":"1397199143","filename":"file5"},{"photo_id":"1397199134","filename":"file2"},{"photo_id":"1397199141","filename":"file4"},{"photo_id":"1397199123","filename":"file1"},{"photo_id":"1397199119","filename":"file0"},{"photo_id":"1397199138","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397199138":["hashtag1","hashtag2"]},{"1397199141":["hashtag1","hashtag2"]},{"1397199123":["hashtag1","hashtag2"]},{"1397199143":["hashtag1","hashtag2"]},{"1397199119":["hashtag1","hashtag2"]},{"1397199134":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397199138, 1397199141, 1397199123, 1397199143, 1397199119, 1397199134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 16.034175872802734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 12:03:22.423845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/27/image_01122025_11_27_55_9803.jpg', '/home/pi/Desktop/images/01122025/11/27/image_01122025_11_28_05_9810.jpg', '/home/pi/Desktop/images/01122025/11/28/image_01122025_11_28_25_10765.jpg', '/home/pi/Desktop/images/01122025/11/28/image_01122025_11_28_35_9944.jpg', '/home/pi/Desktop/images/01122025/11/28/image_01122025_11_28_45_9811.jpg', '/home/pi/Desktop/images/01122025/11/28/image_01122025_11_28_55_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/27/image_01122025_11_27_55_9803.jpg
/home/pi/Desktop/images/01122025/11/27/image_01122025_11_28_05_9810.jpg
/home/pi/Desktop/images/01122025/11/28/image_01122025_11_28_25_10765.jpg
/home/pi/Desktop/images/01122025/11/28/image_01122025_11_28_35_9944.jpg
/home/pi/Desktop/images/01122025/11/28/image_01122025_11_28_45_9811.jpg
/home/pi/Desktop/images/01122025/11/28/image_01122025_11_28_55_9757.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397199153","1397199164","1397199158","1397199160","1397199162","1397199156"],"photo_ids_order":["1397199153","1397199156","1397199158","1397199160","1397199162","1397199164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b7a8685d39620beb2d99b808671e3fa8.jpg","text":"TemporaryFile(/tmp/multipartBody6441706827021606378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587063185,"filename":"image_01122025_11_27_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/1/7bc76e830e69c67d8617206160e3615b.jpg","text":"TemporaryFile(/tmp/multipartBody5194932344636339830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587063185,"filename":"image_01122025_11_28_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/1/6c3b6648e9613abe79cde584d4222d82.jpg","text":"TemporaryFile(/tmp/multipartBody2496332616257258869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587063185,"filename":"image_01122025_11_28_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/1/71ab49171005c278d80d7b49e5647295.jpg","text":"TemporaryFile(/tmp/multipartBody8568888604608429672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587063185,"filename":"image_01122025_11_28_35_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/1/e462c8ef48f99728fb70fe95ce2a2351.jpg","text":"TemporaryFile(/tmp/multipartBody40143546334813338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587063185,"filename":"image_01122025_11_28_45_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/1/1113ccb805b084cca995909f0da5b07c.jpg","text":"TemporaryFile(/tmp/multipartBody1239431357098906703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587063185,"filename":"image_01122025_11_28_05_9810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397199158","file1":"1397199156","file0":"1397199153","file4":"1397199162","file5":"1397199164","file3":"1397199160"},"map_files_photo_id_array":[{"photo_id":"1397199164","filename":"file5"},{"photo_id":"1397199158","filename":"file2"},{"photo_id":"1397199162","filename":"file4"},{"photo_id":"1397199156","filename":"file1"},{"photo_id":"1397199153","filename":"file0"},{"photo_id":"1397199160","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397199153":["hashtag1","hashtag2"]},{"1397199164":["hashtag1","hashtag2"]},{"1397199158":["hashtag1","hashtag2"]},{"1397199160":["hashtag1","hashtag2"]},{"1397199162":["hashtag1","hashtag2"]},{"1397199156":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397199153, 1397199164, 1397199158, 1397199160, 1397199162, 1397199156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 15.981966733932495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 12:03:42.388550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_24_3684.jpg', '/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_33_3650.jpg', '/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_36_2656.jpg', '/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_41_2776.jpg', '/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_45_3729.jpg', '/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_48_2803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_24_3684.jpg
/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_33_3650.jpg
/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_36_2656.jpg
/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_41_2776.jpg
/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_45_3729.jpg
/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_48_2803.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397199176","1397199179","1397199178","1397199175","1397199174","1397199177"],"photo_ids_order":["1397199174","1397199175","1397199176","1397199177","1397199178","1397199179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/895aacf5670dae3af59bf0b199bb8648.jpg","text":"TemporaryFile(/tmp/multipartBody5307387439628359263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587085088,"filename":"image_31102025_14_17_36_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/1/0d828813dacdd61ee0a2bb8f0bc8750c.jpg","text":"TemporaryFile(/tmp/multipartBody5311795095206945829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587085088,"filename":"image_31102025_14_17_48_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/1/f31b50a99f037287f1fe0c014c2c2cb7.jpg","text":"TemporaryFile(/tmp/multipartBody2502020920833309535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587085088,"filename":"image_31102025_14_17_45_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6411c229056f8913dd553dd505130e2f.jpg","text":"TemporaryFile(/tmp/multipartBody4667445747696698571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587085088,"filename":"image_31102025_14_17_33_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/1/306d8c0754ae11c7842682063d9b19f3.jpg","text":"TemporaryFile(/tmp/multipartBody5119849724843727655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587085088,"filename":"image_31102025_14_17_24_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/1/44a1485ffef9dcb72dd8932a3042791e.jpg","text":"TemporaryFile(/tmp/multipartBody397500669086583699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587085088,"filename":"image_31102025_14_17_41_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397199176","file1":"1397199175","file0":"1397199174","file4":"1397199178","file5":"1397199179","file3":"1397199177"},"map_files_photo_id_array":[{"photo_id":"1397199179","filename":"file5"},{"photo_id":"1397199176","filename":"file2"},{"photo_id":"1397199178","filename":"file4"},{"photo_id":"1397199175","filename":"file1"},{"photo_id":"1397199174","filename":"file0"},{"photo_id":"1397199177","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397199176":["hashtag1","hashtag2"]},{"1397199179":["hashtag1","hashtag2"]},{"1397199178":["hashtag1","hashtag2"]},{"1397199175":["hashtag1","hashtag2"]},{"1397199174":["hashtag1","hashtag2"]},{"1397199177":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397199176, 1397199179, 1397199178, 1397199175, 1397199174, 1397199177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 17.404978036880493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:04:03.180347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/28/image_01122025_11_29_04_9781.jpg', '/home/pi/Desktop/images/01122025/11/29/image_01122025_11_29_15_10758.jpg', '/home/pi/Desktop/images/01122025/11/29/image_01122025_11_29_25_9791.jpg', '/home/pi/Desktop/images/01122025/11/29/image_01122025_11_29_35_9750.jpg', '/home/pi/Desktop/images/01122025/11/29/image_01122025_11_29_44_9648.jpg', '/home/pi/Desktop/images/01122025/11/29/image_01122025_11_29_55_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/28/image_01122025_11_29_04_9781.jpg
/home/pi/Desktop/images/01122025/11/29/image_01122025_11_29_15_10758.jpg
/home/pi/Desktop/images/01122025/11/29/image_01122025_11_29_25_9791.jpg
/home/pi/Desktop/images/01122025/11/29/image_01122025_11_29_35_9750.jpg
/home/pi/Desktop/images/01122025/11/29/image_01122025_11_29_44_9648.jpg
/home/pi/Desktop/images/01122025/11/29/image_01122025_11_29_55_10676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397199216","1397199204","1397199181","1397199192","1397199180","1397199183"],"photo_ids_order":["1397199180","1397199181","1397199183","1397199192","1397199204","1397199216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fab012badf300e526b24c52a59653a52.jpg","text":"TemporaryFile(/tmp/multipartBody2221240377750152909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587103948,"filename":"image_01122025_11_29_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/1/fcd9e13d2557bb1843d4dd0d95b3e7a8.jpg","text":"TemporaryFile(/tmp/multipartBody8769845933230599847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587103948,"filename":"image_01122025_11_29_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/1/6b64a6fe90246325b84466b6183c6a74.jpg","text":"TemporaryFile(/tmp/multipartBody7264421566836467568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587103948,"filename":"image_01122025_11_29_15_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/55c8fa8d8b13a88586513afdb5ed1d52.jpg","text":"TemporaryFile(/tmp/multipartBody8248573667076219027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587103948,"filename":"image_01122025_11_29_35_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5d8176db72fe247fb8d5a83cb5617227.jpg","text":"TemporaryFile(/tmp/multipartBody5752640758604468244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587103948,"filename":"image_01122025_11_29_04_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3f7991f2d66c60627f4b52096dfb4f0d.jpg","text":"TemporaryFile(/tmp/multipartBody8554354177408490619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587103948,"filename":"image_01122025_11_29_25_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397199183","file1":"1397199181","file0":"1397199180","file4":"1397199204","file5":"1397199216","file3":"1397199192"},"map_files_photo_id_array":[{"photo_id":"1397199216","filename":"file5"},{"photo_id":"1397199183","filename":"file2"},{"photo_id":"1397199204","filename":"file4"},{"photo_id":"1397199181","filename":"file1"},{"photo_id":"1397199180","filename":"file0"},{"photo_id":"1397199192","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397199216":["hashtag1","hashtag2"]},{"1397199204":["hashtag1","hashtag2"]},{"1397199181":["hashtag1","hashtag2"]},{"1397199192":["hashtag1","hashtag2"]},{"1397199180":["hashtag1","hashtag2"]},{"1397199183":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397199216, 1397199204, 1397199181, 1397199192, 1397199180, 1397199183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 16.03878402709961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 12:04:22.577672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/30/image_01122025_11_30_15_10053.jpg', '/home/pi/Desktop/images/01122025/11/30/image_01122025_11_30_25_10638.jpg', '/home/pi/Desktop/images/01122025/11/30/image_01122025_11_30_35_9739.jpg', '/home/pi/Desktop/images/01122025/11/30/image_01122025_11_30_45_9817.jpg', '/home/pi/Desktop/images/01122025/11/30/image_01122025_11_30_56_10739.jpg', '/home/pi/Desktop/images/01122025/11/30/image_01122025_11_31_06_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/30/image_01122025_11_30_15_10053.jpg
/home/pi/Desktop/images/01122025/11/30/image_01122025_11_30_25_10638.jpg
/home/pi/Desktop/images/01122025/11/30/image_01122025_11_30_35_9739.jpg
/home/pi/Desktop/images/01122025/11/30/image_01122025_11_30_45_9817.jpg
/home/pi/Desktop/images/01122025/11/30/image_01122025_11_30_56_10739.jpg
/home/pi/Desktop/images/01122025/11/30/image_01122025_11_31_06_9750.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397199252","1397199246","1397199249","1397199242","1397199250","1397199244"],"photo_ids_order":["1397199242","1397199244","1397199246","1397199249","1397199250","1397199252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6a6f7e09a66c7500f3c827732fe1bb04.jpg","text":"TemporaryFile(/tmp/multipartBody1850806927546274213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587123330,"filename":"image_01122025_11_31_06_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/1/91354f9bd154e4539b9d8a5e465ede67.jpg","text":"TemporaryFile(/tmp/multipartBody3741731453309346880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587123330,"filename":"image_01122025_11_30_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/1/2ffa9d916cef6353052fe734af51d9bb.jpg","text":"TemporaryFile(/tmp/multipartBody4187462408729765374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587123330,"filename":"image_01122025_11_30_45_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f9c22ef2a3b4a4d085061646e66ba33e.jpg","text":"TemporaryFile(/tmp/multipartBody5510753215037477465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587123330,"filename":"image_01122025_11_30_15_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6d416d2bb6e877ccdd2d715a0484d3ab.jpg","text":"TemporaryFile(/tmp/multipartBody5160355581227140287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587123330,"filename":"image_01122025_11_30_56_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a46b9c77bbb86089e67dc7aa083a663b.jpg","text":"TemporaryFile(/tmp/multipartBody4122147270887699129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587123330,"filename":"image_01122025_11_30_25_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397199246","file1":"1397199244","file0":"1397199242","file4":"1397199250","file5":"1397199252","file3":"1397199249"},"map_files_photo_id_array":[{"photo_id":"1397199252","filename":"file5"},{"photo_id":"1397199246","filename":"file2"},{"photo_id":"1397199250","filename":"file4"},{"photo_id":"1397199244","filename":"file1"},{"photo_id":"1397199242","filename":"file0"},{"photo_id":"1397199249","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397199252":["hashtag1","hashtag2"]},{"1397199246":["hashtag1","hashtag2"]},{"1397199249":["hashtag1","hashtag2"]},{"1397199242":["hashtag1","hashtag2"]},{"1397199250":["hashtag1","hashtag2"]},{"1397199244":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397199252, 1397199246, 1397199249, 1397199242, 1397199250, 1397199244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 16.091214179992676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 12:04:42.541538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_50_2644.jpg', '/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_54_3658.jpg', '/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_57_2751.jpg', '/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_59_2618.jpg', '/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_03_3715.jpg', '/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_06_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_50_2644.jpg
/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_54_3658.jpg
/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_57_2751.jpg
/home/pi/Desktop/images/31102025/14/17/image_31102025_14_17_59_2618.jpg
/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_03_3715.jpg
/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_06_2692.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397199263","1397199257","1397199265","1397199259","1397199261","1397199255"],"photo_ids_order":["1397199255","1397199257","1397199259","1397199261","1397199263","1397199265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/26f40e3c11adaacef6ad28b94f2aa833.jpg","text":"TemporaryFile(/tmp/multipartBody3876772765065230453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587145238,"filename":"image_31102025_14_18_03_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/1/41d2e78aab362355433c837822304c11.jpg","text":"TemporaryFile(/tmp/multipartBody5354333184352606480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587145238,"filename":"image_31102025_14_17_54_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e86a9c3f57c926ada057bedf5561038d.jpg","text":"TemporaryFile(/tmp/multipartBody2447961509026939262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587145238,"filename":"image_31102025_14_18_06_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3222d76e74b32330256c4996a1b1c33a.jpg","text":"TemporaryFile(/tmp/multipartBody4390542891189245353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587145238,"filename":"image_31102025_14_17_57_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/1/a0332c1b66bb10efaf77928be148de14.jpg","text":"TemporaryFile(/tmp/multipartBody6611021757669079293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587145238,"filename":"image_31102025_14_17_59_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/1/ab8319b3587eb1ebc6653b1505c55c64.jpg","text":"TemporaryFile(/tmp/multipartBody4777716755559484838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587145238,"filename":"image_31102025_14_17_50_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397199259","file1":"1397199257","file0":"1397199255","file4":"1397199263","file5":"1397199265","file3":"1397199261"},"map_files_photo_id_array":[{"photo_id":"1397199265","filename":"file5"},{"photo_id":"1397199259","filename":"file2"},{"photo_id":"1397199263","filename":"file4"},{"photo_id":"1397199257","filename":"file1"},{"photo_id":"1397199255","filename":"file0"},{"photo_id":"1397199261","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397199263":["hashtag1","hashtag2"]},{"1397199257":["hashtag1","hashtag2"]},{"1397199265":["hashtag1","hashtag2"]},{"1397199259":["hashtag1","hashtag2"]},{"1397199261":["hashtag1","hashtag2"]},{"1397199255":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397199263, 1397199257, 1397199265, 1397199259, 1397199261, 1397199255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 17.732980728149414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:05:03.353368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/31/image_01122025_11_31_15_9737.jpg', '/home/pi/Desktop/images/01122025/11/31/image_01122025_11_31_25_9782.jpg', '/home/pi/Desktop/images/01122025/11/31/image_01122025_11_31_36_10722.jpg', '/home/pi/Desktop/images/01122025/11/31/image_01122025_11_31_45_9664.jpg', '/home/pi/Desktop/images/01122025/11/31/image_01122025_11_31_55_9873.jpg', '/home/pi/Desktop/images/01122025/11/31/image_01122025_11_32_05_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/31/image_01122025_11_31_15_9737.jpg
/home/pi/Desktop/images/01122025/11/31/image_01122025_11_31_25_9782.jpg
/home/pi/Desktop/images/01122025/11/31/image_01122025_11_31_36_10722.jpg
/home/pi/Desktop/images/01122025/11/31/image_01122025_11_31_45_9664.jpg
/home/pi/Desktop/images/01122025/11/31/image_01122025_11_31_55_9873.jpg
/home/pi/Desktop/images/01122025/11/31/image_01122025_11_32_05_9797.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397199270","1397199267","1397199272","1397199269","1397199271","1397199268"],"photo_ids_order":["1397199267","1397199268","1397199269","1397199270","1397199271","1397199272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/981c67d1f7403a969b5e28a9d47baf6e.jpg","text":"TemporaryFile(/tmp/multipartBody8649341784892534521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587164169,"filename":"image_01122025_11_31_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/1/b1d773d234b381152c374d2c44561b80.jpg","text":"TemporaryFile(/tmp/multipartBody1740542313999662592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587164169,"filename":"image_01122025_11_31_15_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b6732293e36bec82983cf834de6df404.jpg","text":"TemporaryFile(/tmp/multipartBody3320761903439274435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587164169,"filename":"image_01122025_11_32_05_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/1/2af9ea5318ceba415beaad52b3b92166.jpg","text":"TemporaryFile(/tmp/multipartBody6929276934774639251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587164169,"filename":"image_01122025_11_31_36_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4b611024b77b65721627019d7c908e89.jpg","text":"TemporaryFile(/tmp/multipartBody2981093104499289509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587164169,"filename":"image_01122025_11_31_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/1/81aad95bb563e39f38545a441c67c543.jpg","text":"TemporaryFile(/tmp/multipartBody2857308299115642536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587164169,"filename":"image_01122025_11_31_25_9782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397199269","file1":"1397199268","file0":"1397199267","file4":"1397199271","file5":"1397199272","file3":"1397199270"},"map_files_photo_id_array":[{"photo_id":"1397199272","filename":"file5"},{"photo_id":"1397199269","filename":"file2"},{"photo_id":"1397199271","filename":"file4"},{"photo_id":"1397199268","filename":"file1"},{"photo_id":"1397199267","filename":"file0"},{"photo_id":"1397199270","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397199270":["hashtag1","hashtag2"]},{"1397199267":["hashtag1","hashtag2"]},{"1397199272":["hashtag1","hashtag2"]},{"1397199269":["hashtag1","hashtag2"]},{"1397199271":["hashtag1","hashtag2"]},{"1397199268":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397199270, 1397199267, 1397199272, 1397199269, 1397199271, 1397199268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 15.487844944000244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 12:05:22.734116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/32/image_01122025_11_32_16_10676.jpg', '/home/pi/Desktop/images/01122025/11/32/image_01122025_11_32_25_9684.jpg', '/home/pi/Desktop/images/01122025/11/32/image_01122025_11_32_35_9770.jpg', '/home/pi/Desktop/images/01122025/11/32/image_01122025_11_32_45_9653.jpg', '/home/pi/Desktop/images/01122025/11/32/image_01122025_11_32_56_10802.jpg', '/home/pi/Desktop/images/01122025/11/32/image_01122025_11_33_06_9826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/32/image_01122025_11_32_16_10676.jpg
/home/pi/Desktop/images/01122025/11/32/image_01122025_11_32_25_9684.jpg
/home/pi/Desktop/images/01122025/11/32/image_01122025_11_32_35_9770.jpg
/home/pi/Desktop/images/01122025/11/32/image_01122025_11_32_45_9653.jpg
/home/pi/Desktop/images/01122025/11/32/image_01122025_11_32_56_10802.jpg
/home/pi/Desktop/images/01122025/11/32/image_01122025_11_33_06_9826.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397199290","1397199295","1397199289","1397199298","1397199292","1397199297"],"photo_ids_order":["1397199289","1397199290","1397199292","1397199295","1397199297","1397199298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2e98f7f1a90687bd159bd4fc7f9110c0.jpg","text":"TemporaryFile(/tmp/multipartBody2543623167453034727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587183482,"filename":"image_01122025_11_32_25_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7ca46dc5e939dfdf507fe933079b110f.jpg","text":"TemporaryFile(/tmp/multipartBody3013757854192683115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587183482,"filename":"image_01122025_11_32_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/1/86974e726154dac80eccd43fc5606bde.jpg","text":"TemporaryFile(/tmp/multipartBody6675193432022277598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587183482,"filename":"image_01122025_11_32_16_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/1/d807e3e32d1d9da18efc3a25ff871df7.jpg","text":"TemporaryFile(/tmp/multipartBody1832684066575214454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587183482,"filename":"image_01122025_11_33_06_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/1/32a3b0deaf9b9c4587a3f6bcb69755b9.jpg","text":"TemporaryFile(/tmp/multipartBody8163091612627498896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587183482,"filename":"image_01122025_11_32_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/1/dfef6ea59e7ccc4d499339bfa984aad9.jpg","text":"TemporaryFile(/tmp/multipartBody3791304330196211398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587183482,"filename":"image_01122025_11_32_56_10802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397199292","file1":"1397199290","file0":"1397199289","file4":"1397199297","file5":"1397199298","file3":"1397199295"},"map_files_photo_id_array":[{"photo_id":"1397199298","filename":"file5"},{"photo_id":"1397199292","filename":"file2"},{"photo_id":"1397199297","filename":"file4"},{"photo_id":"1397199290","filename":"file1"},{"photo_id":"1397199289","filename":"file0"},{"photo_id":"1397199295","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397199290":["hashtag1","hashtag2"]},{"1397199295":["hashtag1","hashtag2"]},{"1397199289":["hashtag1","hashtag2"]},{"1397199298":["hashtag1","hashtag2"]},{"1397199292":["hashtag1","hashtag2"]},{"1397199297":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397199290, 1397199295, 1397199289, 1397199298, 1397199292, 1397199297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 15.92307710647583 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 12:05:42.759546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_08_2620.jpg', '/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_12_3618.jpg', '/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_14_2567.jpg', '/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_17_2647.jpg', '/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_21_3656.jpg', '/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_23_2763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_08_2620.jpg
/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_12_3618.jpg
/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_14_2567.jpg
/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_17_2647.jpg
/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_21_3656.jpg
/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_23_2763.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397199324","1397199318","1397199321","1397199323","1397199322","1397199325"],"photo_ids_order":["1397199318","1397199321","1397199322","1397199323","1397199324","1397199325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/38ee3f365c594e2d6d81ac6349037b8c.jpg","text":"TemporaryFile(/tmp/multipartBody6462657072279211681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587205401,"filename":"image_31102025_14_18_21_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/1/22ec5e63fefd61ae7e10ea6934664d79.jpg","text":"TemporaryFile(/tmp/multipartBody3422974062933124919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587205401,"filename":"image_31102025_14_18_08_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/1/2cfdf6c66ca127f6a6a489dda7b00a93.jpg","text":"TemporaryFile(/tmp/multipartBody6875618080726002936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587205401,"filename":"image_31102025_14_18_12_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/1/299f8a41b00232a2b327d6d831ccf0ef.jpg","text":"TemporaryFile(/tmp/multipartBody4512788674964009584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587205401,"filename":"image_31102025_14_18_17_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6828c22c39ee7f8ebfb5ec5687b8efa6.jpg","text":"TemporaryFile(/tmp/multipartBody2845668352366156883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587205401,"filename":"image_31102025_14_18_14_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/1/8eab4ff75ae64d8bd0bd0aae1f40ec44.jpg","text":"TemporaryFile(/tmp/multipartBody8820013630458558598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587205401,"filename":"image_31102025_14_18_23_2763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397199322","file1":"1397199321","file0":"1397199318","file4":"1397199324","file5":"1397199325","file3":"1397199323"},"map_files_photo_id_array":[{"photo_id":"1397199325","filename":"file5"},{"photo_id":"1397199322","filename":"file2"},{"photo_id":"1397199324","filename":"file4"},{"photo_id":"1397199321","filename":"file1"},{"photo_id":"1397199318","filename":"file0"},{"photo_id":"1397199323","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397199324":["hashtag1","hashtag2"]},{"1397199318":["hashtag1","hashtag2"]},{"1397199321":["hashtag1","hashtag2"]},{"1397199323":["hashtag1","hashtag2"]},{"1397199322":["hashtag1","hashtag2"]},{"1397199325":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397199324, 1397199318, 1397199321, 1397199323, 1397199322, 1397199325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 17.66179919242859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:06:02.347582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/33/image_01122025_11_33_15_9658.jpg', '/home/pi/Desktop/images/01122025/11/33/image_01122025_11_33_25_9761.jpg', '/home/pi/Desktop/images/01122025/11/33/image_01122025_11_33_36_10771.jpg', '/home/pi/Desktop/images/01122025/11/33/image_01122025_11_33_46_9830.jpg', '/home/pi/Desktop/images/01122025/11/33/image_01122025_11_33_55_9590.jpg', '/home/pi/Desktop/images/01122025/11/33/image_01122025_11_34_06_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/33/image_01122025_11_33_15_9658.jpg
/home/pi/Desktop/images/01122025/11/33/image_01122025_11_33_25_9761.jpg
/home/pi/Desktop/images/01122025/11/33/image_01122025_11_33_36_10771.jpg
/home/pi/Desktop/images/01122025/11/33/image_01122025_11_33_46_9830.jpg
/home/pi/Desktop/images/01122025/11/33/image_01122025_11_33_55_9590.jpg
/home/pi/Desktop/images/01122025/11/33/image_01122025_11_34_06_10650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397199348","1397199338","1397199382","1397199361","1397199372","1397199396"],"photo_ids_order":["1397199338","1397199348","1397199361","1397199372","1397199382","1397199396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8ad658abe918bb97d460ddd492a84c0e.jpg","text":"TemporaryFile(/tmp/multipartBody571389774078520619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587223073,"filename":"image_01122025_11_33_25_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f54f86fa3299a9c19ab5e9024fe48a46.jpg","text":"TemporaryFile(/tmp/multipartBody1427769498279471369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587223073,"filename":"image_01122025_11_33_15_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b7fd90efa132577a00411e559d63df02.jpg","text":"TemporaryFile(/tmp/multipartBody3790686791289357691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587223073,"filename":"image_01122025_11_33_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/1/3ca5fd60581929f7e4b71e1962cea2d7.jpg","text":"TemporaryFile(/tmp/multipartBody9169748080231447167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587223073,"filename":"image_01122025_11_33_36_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/1/de1ba4f640a67a0e82b2e48c5df0ffc0.jpg","text":"TemporaryFile(/tmp/multipartBody8585282062370023228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587223073,"filename":"image_01122025_11_33_46_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/1/2263922d0568f32d2cd527ca3f08fb5b.jpg","text":"TemporaryFile(/tmp/multipartBody483571655350086101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587223073,"filename":"image_01122025_11_34_06_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397199361","file1":"1397199348","file0":"1397199338","file4":"1397199382","file5":"1397199396","file3":"1397199372"},"map_files_photo_id_array":[{"photo_id":"1397199396","filename":"file5"},{"photo_id":"1397199361","filename":"file2"},{"photo_id":"1397199382","filename":"file4"},{"photo_id":"1397199348","filename":"file1"},{"photo_id":"1397199338","filename":"file0"},{"photo_id":"1397199372","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397199348":["hashtag1","hashtag2"]},{"1397199338":["hashtag1","hashtag2"]},{"1397199382":["hashtag1","hashtag2"]},{"1397199361":["hashtag1","hashtag2"]},{"1397199372":["hashtag1","hashtag2"]},{"1397199396":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397199348, 1397199338, 1397199382, 1397199361, 1397199372, 1397199396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 15.276577234268188 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 12:06:21.902854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/34/image_01122025_11_34_16_9798.jpg', '/home/pi/Desktop/images/01122025/11/34/image_01122025_11_34_25_9721.jpg', '/home/pi/Desktop/images/01122025/11/34/image_01122025_11_34_35_9662.jpg', '/home/pi/Desktop/images/01122025/11/34/image_01122025_11_34_46_10758.jpg', '/home/pi/Desktop/images/01122025/11/34/image_01122025_11_34_55_9714.jpg', '/home/pi/Desktop/images/01122025/11/35/image_01122025_11_35_14_10059.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/34/image_01122025_11_34_16_9798.jpg
/home/pi/Desktop/images/01122025/11/34/image_01122025_11_34_25_9721.jpg
/home/pi/Desktop/images/01122025/11/34/image_01122025_11_34_35_9662.jpg
/home/pi/Desktop/images/01122025/11/34/image_01122025_11_34_46_10758.jpg
/home/pi/Desktop/images/01122025/11/34/image_01122025_11_34_55_9714.jpg
/home/pi/Desktop/images/01122025/11/35/image_01122025_11_35_14_10059.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397199494","1397199497","1397199482","1397199500","1397199503","1397199492"],"photo_ids_order":["1397199482","1397199492","1397199494","1397199497","1397199500","1397199503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5b265a3360beece4d879224619c8352f.jpg","text":"TemporaryFile(/tmp/multipartBody6126570108103796591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587242610,"filename":"image_01122025_11_34_35_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9c3f883277cdd456cbcf96edca5b69f1.jpg","text":"TemporaryFile(/tmp/multipartBody7878451320075456335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587242610,"filename":"image_01122025_11_34_46_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b8d19c21415daeb53fdc2cf5f9274b1e.jpg","text":"TemporaryFile(/tmp/multipartBody1646863651942805291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587242610,"filename":"image_01122025_11_34_16_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/1/aba93a4852566c1a5594db29a4e84948.jpg","text":"TemporaryFile(/tmp/multipartBody8462385135427129947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587242610,"filename":"image_01122025_11_34_55_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4db476e228fa81b9be39719febe8581d.jpg","text":"TemporaryFile(/tmp/multipartBody676391431589902562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587242610,"filename":"image_01122025_11_35_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/1/d86a2e8dba563fbf6a3ee2a2e1dda1d6.jpg","text":"TemporaryFile(/tmp/multipartBody7809273882277493974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587242610,"filename":"image_01122025_11_34_25_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397199494","file1":"1397199492","file0":"1397199482","file4":"1397199500","file5":"1397199503","file3":"1397199497"},"map_files_photo_id_array":[{"photo_id":"1397199503","filename":"file5"},{"photo_id":"1397199494","filename":"file2"},{"photo_id":"1397199500","filename":"file4"},{"photo_id":"1397199492","filename":"file1"},{"photo_id":"1397199482","filename":"file0"},{"photo_id":"1397199497","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397199494":["hashtag1","hashtag2"]},{"1397199497":["hashtag1","hashtag2"]},{"1397199482":["hashtag1","hashtag2"]},{"1397199500":["hashtag1","hashtag2"]},{"1397199503":["hashtag1","hashtag2"]},{"1397199492":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397199494, 1397199497, 1397199482, 1397199500, 1397199503, 1397199492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 16.41214156150818 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 12:06:41.912776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_26_2698.jpg', '/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_30_3555.jpg', '/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_33_2822.jpg', '/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_35_2721.jpg', '/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_38_2654.jpg', '/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_42_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_26_2698.jpg
/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_30_3555.jpg
/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_33_2822.jpg
/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_35_2721.jpg
/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_38_2654.jpg
/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_42_3679.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397199576","1397199537","1397199557","1397199568","1397199547","1397199567"],"photo_ids_order":["1397199537","1397199547","1397199557","1397199567","1397199568","1397199576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/66422baac307994d18ae047b17d62898.jpg","text":"TemporaryFile(/tmp/multipartBody8414792679705901238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587264575,"filename":"image_31102025_14_18_42_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/1/b3d77f5e3d4cf79908334f4f5df3f693.jpg","text":"TemporaryFile(/tmp/multipartBody3474245595461961241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587264575,"filename":"image_31102025_14_18_26_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/1/b03939613d8887dab17a35aaa4151d23.jpg","text":"TemporaryFile(/tmp/multipartBody2620329412878032536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587264575,"filename":"image_31102025_14_18_33_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3d7d1d04b1ae453a0d0cbeeeb38b1d76.jpg","text":"TemporaryFile(/tmp/multipartBody6818810487738529878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587264575,"filename":"image_31102025_14_18_38_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/1/396493a4073772235b2c6e90621fd41b.jpg","text":"TemporaryFile(/tmp/multipartBody6696732744850196295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587264575,"filename":"image_31102025_14_18_30_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/1/d8e426afc4d80eafbf2536389d271f72.jpg","text":"TemporaryFile(/tmp/multipartBody4818717241268241235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587264575,"filename":"image_31102025_14_18_35_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397199557","file1":"1397199547","file0":"1397199537","file4":"1397199568","file5":"1397199576","file3":"1397199567"},"map_files_photo_id_array":[{"photo_id":"1397199576","filename":"file5"},{"photo_id":"1397199557","filename":"file2"},{"photo_id":"1397199568","filename":"file4"},{"photo_id":"1397199547","filename":"file1"},{"photo_id":"1397199537","filename":"file0"},{"photo_id":"1397199567","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397199576":["hashtag1","hashtag2"]},{"1397199537":["hashtag1","hashtag2"]},{"1397199557":["hashtag1","hashtag2"]},{"1397199568":["hashtag1","hashtag2"]},{"1397199547":["hashtag1","hashtag2"]},{"1397199567":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397199576, 1397199537, 1397199557, 1397199568, 1397199547, 1397199567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 17.202953100204468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:07:02.918545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/35/image_01122025_11_35_25_10796.jpg', '/home/pi/Desktop/images/01122025/11/35/image_01122025_11_35_35_9852.jpg', '/home/pi/Desktop/images/01122025/11/35/image_01122025_11_35_45_9694.jpg', '/home/pi/Desktop/images/01122025/11/35/image_01122025_11_35_55_9796.jpg', '/home/pi/Desktop/images/01122025/11/35/image_01122025_11_36_05_10671.jpg', '/home/pi/Desktop/images/01122025/11/36/image_01122025_11_36_15_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/35/image_01122025_11_35_25_10796.jpg
/home/pi/Desktop/images/01122025/11/35/image_01122025_11_35_35_9852.jpg
/home/pi/Desktop/images/01122025/11/35/image_01122025_11_35_45_9694.jpg
/home/pi/Desktop/images/01122025/11/35/image_01122025_11_35_55_9796.jpg
/home/pi/Desktop/images/01122025/11/35/image_01122025_11_36_05_10671.jpg
/home/pi/Desktop/images/01122025/11/36/image_01122025_11_36_15_9751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397199627","1397199620","1397199623","1397199605","1397199625","1397199610"],"photo_ids_order":["1397199605","1397199610","1397199620","1397199623","1397199625","1397199627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8c8f2e772da935a6f9493e64bf766d3a.jpg","text":"TemporaryFile(/tmp/multipartBody4243742232679327404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587283643,"filename":"image_01122025_11_36_15_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dbd753cdc92ec6cef81c85182edfca19.jpg","text":"TemporaryFile(/tmp/multipartBody4266844857466764340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587283643,"filename":"image_01122025_11_35_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/1/4150d5cc8619823a77867f9d482b735b.jpg","text":"TemporaryFile(/tmp/multipartBody3798913100175958382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587283643,"filename":"image_01122025_11_35_55_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c0f498be368249807e6839ca8b85f004.jpg","text":"TemporaryFile(/tmp/multipartBody3705838305991351861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587283643,"filename":"image_01122025_11_35_25_10796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ef7b559be869595f20a2526b73e0d269.jpg","text":"TemporaryFile(/tmp/multipartBody7260176778265959728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587283643,"filename":"image_01122025_11_36_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/1/c4acaad3096558bbcd6048d8c3139c19.jpg","text":"TemporaryFile(/tmp/multipartBody8020691225860134965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587283643,"filename":"image_01122025_11_35_35_9852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397199620","file1":"1397199610","file0":"1397199605","file4":"1397199625","file5":"1397199627","file3":"1397199623"},"map_files_photo_id_array":[{"photo_id":"1397199627","filename":"file5"},{"photo_id":"1397199620","filename":"file2"},{"photo_id":"1397199625","filename":"file4"},{"photo_id":"1397199610","filename":"file1"},{"photo_id":"1397199605","filename":"file0"},{"photo_id":"1397199623","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397199627":["hashtag1","hashtag2"]},{"1397199620":["hashtag1","hashtag2"]},{"1397199623":["hashtag1","hashtag2"]},{"1397199605":["hashtag1","hashtag2"]},{"1397199625":["hashtag1","hashtag2"]},{"1397199610":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397199627, 1397199620, 1397199623, 1397199605, 1397199625, 1397199610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 15.65650987625122 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 12:07:22.088958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/36/image_01122025_11_36_25_9836.jpg', '/home/pi/Desktop/images/01122025/11/36/image_01122025_11_36_35_10542.jpg', '/home/pi/Desktop/images/01122025/11/36/image_01122025_11_36_45_9833.jpg', '/home/pi/Desktop/images/01122025/11/36/image_01122025_11_36_55_9711.jpg', '/home/pi/Desktop/images/01122025/11/36/image_01122025_11_37_05_9687.jpg', '/home/pi/Desktop/images/01122025/11/37/image_01122025_11_37_15_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/36/image_01122025_11_36_25_9836.jpg
/home/pi/Desktop/images/01122025/11/36/image_01122025_11_36_35_10542.jpg
/home/pi/Desktop/images/01122025/11/36/image_01122025_11_36_45_9833.jpg
/home/pi/Desktop/images/01122025/11/36/image_01122025_11_36_55_9711.jpg
/home/pi/Desktop/images/01122025/11/36/image_01122025_11_37_05_9687.jpg
/home/pi/Desktop/images/01122025/11/37/image_01122025_11_37_15_10639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397199656","1397199710","1397199667","1397199643","1397199690","1397199678"],"photo_ids_order":["1397199643","1397199656","1397199667","1397199678","1397199690","1397199710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/583789899c46b39b7163cfa8dbf8f77b.jpg","text":"TemporaryFile(/tmp/multipartBody3417572457236904568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587302789,"filename":"image_01122025_11_36_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/1/f399e29e66d3c4dd53e4439c74e11639.jpg","text":"TemporaryFile(/tmp/multipartBody4461596751742964633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587302789,"filename":"image_01122025_11_37_15_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4553feb7b72cbec5f29049343815bf0e.jpg","text":"TemporaryFile(/tmp/multipartBody1260286610023012623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587302789,"filename":"image_01122025_11_36_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/1/b4f714d35f378124b698a16fa9a6c3a9.jpg","text":"TemporaryFile(/tmp/multipartBody1157877685079954521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587302789,"filename":"image_01122025_11_36_25_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f1b6da5636a1f26870f772b9733780f1.jpg","text":"TemporaryFile(/tmp/multipartBody2921077796499679553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587302789,"filename":"image_01122025_11_37_05_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d3d4d42d4194cc498055e058f084d127.jpg","text":"TemporaryFile(/tmp/multipartBody1844077700100359724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587302789,"filename":"image_01122025_11_36_55_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397199667","file1":"1397199656","file0":"1397199643","file4":"1397199690","file5":"1397199710","file3":"1397199678"},"map_files_photo_id_array":[{"photo_id":"1397199710","filename":"file5"},{"photo_id":"1397199667","filename":"file2"},{"photo_id":"1397199690","filename":"file4"},{"photo_id":"1397199656","filename":"file1"},{"photo_id":"1397199643","filename":"file0"},{"photo_id":"1397199678","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397199656":["hashtag1","hashtag2"]},{"1397199710":["hashtag1","hashtag2"]},{"1397199667":["hashtag1","hashtag2"]},{"1397199643":["hashtag1","hashtag2"]},{"1397199690":["hashtag1","hashtag2"]},{"1397199678":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397199656, 1397199710, 1397199667, 1397199643, 1397199690, 1397199678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 16.240867614746094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 12:07:42.101260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_44_2671.jpg', '/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_48_3548.jpg', '/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_50_2629.jpg', '/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_53_2752.jpg', '/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_57_3574.jpg', '/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_59_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_44_2671.jpg
/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_48_3548.jpg
/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_50_2629.jpg
/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_53_2752.jpg
/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_57_3574.jpg
/home/pi/Desktop/images/31102025/14/18/image_31102025_14_18_59_2638.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397199801","1397199819","1397199830","1397199809","1397199800","1397199803"],"photo_ids_order":["1397199800","1397199801","1397199803","1397199809","1397199819","1397199830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/af20fd8561f0b5c8980d52f3d90177ab.jpg","text":"TemporaryFile(/tmp/multipartBody7060898879035068452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587324831,"filename":"image_31102025_14_18_48_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/1/e6371292cd443cd16d7c2483219bd1d7.jpg","text":"TemporaryFile(/tmp/multipartBody1258392242818894653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587324831,"filename":"image_31102025_14_18_57_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/1/d0a9188cd19ebd5554afa1fef19e234b.jpg","text":"TemporaryFile(/tmp/multipartBody1994328632471963517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587324831,"filename":"image_31102025_14_18_59_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3fcaed753123bb72b05848f36e1aec4c.jpg","text":"TemporaryFile(/tmp/multipartBody123747772171370107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587324831,"filename":"image_31102025_14_18_53_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6246b1c77f49543d32a031df09d3ecbd.jpg","text":"TemporaryFile(/tmp/multipartBody3056930629446033214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587324831,"filename":"image_31102025_14_18_44_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/1/2bdbc499a79c2aa38a91b05f4ebdc4ae.jpg","text":"TemporaryFile(/tmp/multipartBody8834496274326282508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587324831,"filename":"image_31102025_14_18_50_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397199803","file1":"1397199801","file0":"1397199800","file4":"1397199819","file5":"1397199830","file3":"1397199809"},"map_files_photo_id_array":[{"photo_id":"1397199830","filename":"file5"},{"photo_id":"1397199803","filename":"file2"},{"photo_id":"1397199819","filename":"file4"},{"photo_id":"1397199801","filename":"file1"},{"photo_id":"1397199800","filename":"file0"},{"photo_id":"1397199809","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397199801":["hashtag1","hashtag2"]},{"1397199819":["hashtag1","hashtag2"]},{"1397199830":["hashtag1","hashtag2"]},{"1397199809":["hashtag1","hashtag2"]},{"1397199800":["hashtag1","hashtag2"]},{"1397199803":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397199801, 1397199819, 1397199830, 1397199809, 1397199800, 1397199803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 17.59169626235962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:08:02.706877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/37/image_01122025_11_37_25_9767.jpg', '/home/pi/Desktop/images/01122025/11/37/image_01122025_11_37_35_9705.jpg', '/home/pi/Desktop/images/01122025/11/37/image_01122025_11_37_44_9754.jpg', '/home/pi/Desktop/images/01122025/11/37/image_01122025_11_37_55_10606.jpg', '/home/pi/Desktop/images/01122025/11/38/image_01122025_11_38_14_9660.jpg', '/home/pi/Desktop/images/01122025/11/38/image_01122025_11_38_25_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/37/image_01122025_11_37_25_9767.jpg
/home/pi/Desktop/images/01122025/11/37/image_01122025_11_37_35_9705.jpg
/home/pi/Desktop/images/01122025/11/37/image_01122025_11_37_44_9754.jpg
/home/pi/Desktop/images/01122025/11/37/image_01122025_11_37_55_10606.jpg
/home/pi/Desktop/images/01122025/11/38/image_01122025_11_38_14_9660.jpg
/home/pi/Desktop/images/01122025/11/38/image_01122025_11_38_25_10659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397199972","1397199953","1397199982","1397199934","1397199943","1397199963"],"photo_ids_order":["1397199934","1397199943","1397199953","1397199963","1397199972","1397199982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3602d0436406c8b5ce751214bb4ee2f2.jpg","text":"TemporaryFile(/tmp/multipartBody3984457648940842038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587343423,"filename":"image_01122025_11_38_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1672a6b320fa2746013daee1f354059c.jpg","text":"TemporaryFile(/tmp/multipartBody1433431411343043954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587343423,"filename":"image_01122025_11_37_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/1/4e19099dd76837edc32f921119978945.jpg","text":"TemporaryFile(/tmp/multipartBody6646138697381428549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587343423,"filename":"image_01122025_11_38_25_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/33340409678cdede55717f4b5ff5637c.jpg","text":"TemporaryFile(/tmp/multipartBody2373088511723869207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587343423,"filename":"image_01122025_11_37_25_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1327f6f24420e28fdd305ce9135a0dc2.jpg","text":"TemporaryFile(/tmp/multipartBody8121444934027493290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587343423,"filename":"image_01122025_11_37_35_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/317c19711a48bdeecea2799ea36af7c9.jpg","text":"TemporaryFile(/tmp/multipartBody6190741487484750070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587343423,"filename":"image_01122025_11_37_55_10606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397199953","file1":"1397199943","file0":"1397199934","file4":"1397199972","file5":"1397199982","file3":"1397199963"},"map_files_photo_id_array":[{"photo_id":"1397199982","filename":"file5"},{"photo_id":"1397199953","filename":"file2"},{"photo_id":"1397199972","filename":"file4"},{"photo_id":"1397199943","filename":"file1"},{"photo_id":"1397199934","filename":"file0"},{"photo_id":"1397199963","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397199972":["hashtag1","hashtag2"]},{"1397199953":["hashtag1","hashtag2"]},{"1397199982":["hashtag1","hashtag2"]},{"1397199934":["hashtag1","hashtag2"]},{"1397199943":["hashtag1","hashtag2"]},{"1397199963":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397199972, 1397199953, 1397199982, 1397199934, 1397199943, 1397199963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 15.501791715621948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 12:08:22.289666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/38/image_01122025_11_38_35_9762.jpg', '/home/pi/Desktop/images/01122025/11/38/image_01122025_11_38_45_9816.jpg', '/home/pi/Desktop/images/01122025/11/38/image_01122025_11_38_55_9934.jpg', '/home/pi/Desktop/images/01122025/11/38/image_01122025_11_39_05_10640.jpg', '/home/pi/Desktop/images/01122025/11/39/image_01122025_11_39_15_9621.jpg', '/home/pi/Desktop/images/01122025/11/39/image_01122025_11_39_25_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/38/image_01122025_11_38_35_9762.jpg
/home/pi/Desktop/images/01122025/11/38/image_01122025_11_38_45_9816.jpg
/home/pi/Desktop/images/01122025/11/38/image_01122025_11_38_55_9934.jpg
/home/pi/Desktop/images/01122025/11/38/image_01122025_11_39_05_10640.jpg
/home/pi/Desktop/images/01122025/11/39/image_01122025_11_39_15_9621.jpg
/home/pi/Desktop/images/01122025/11/39/image_01122025_11_39_25_9750.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397200111","1397200105","1397200108","1397200098","1397200102","1397200094"],"photo_ids_order":["1397200094","1397200098","1397200102","1397200105","1397200108","1397200111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/675a495c436946ada79b39438d77739b.jpg","text":"TemporaryFile(/tmp/multipartBody5431788128327962704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587363110,"filename":"image_01122025_11_39_25_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5c479f2ad8b67129b8aefec6486a9b2c.jpg","text":"TemporaryFile(/tmp/multipartBody3083232707723649079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587363110,"filename":"image_01122025_11_39_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/1/b541fa6fa3db8bf7ec8ed203e943d6bf.jpg","text":"TemporaryFile(/tmp/multipartBody601868716148366745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587363110,"filename":"image_01122025_11_39_15_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/24001fafb46baac90eb0d1bc49639693.jpg","text":"TemporaryFile(/tmp/multipartBody2795603659696814203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587363110,"filename":"image_01122025_11_38_45_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8d79a0e0af62c7db8b8784bda8047b80.jpg","text":"TemporaryFile(/tmp/multipartBody4294573549700785482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587363110,"filename":"image_01122025_11_38_55_9934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/27c956261921569f87add815f471db1e.jpg","text":"TemporaryFile(/tmp/multipartBody8432941101559472675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587363110,"filename":"image_01122025_11_38_35_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397200102","file1":"1397200098","file0":"1397200094","file4":"1397200108","file5":"1397200111","file3":"1397200105"},"map_files_photo_id_array":[{"photo_id":"1397200111","filename":"file5"},{"photo_id":"1397200102","filename":"file2"},{"photo_id":"1397200108","filename":"file4"},{"photo_id":"1397200098","filename":"file1"},{"photo_id":"1397200094","filename":"file0"},{"photo_id":"1397200105","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397200111":["hashtag1","hashtag2"]},{"1397200105":["hashtag1","hashtag2"]},{"1397200108":["hashtag1","hashtag2"]},{"1397200098":["hashtag1","hashtag2"]},{"1397200102":["hashtag1","hashtag2"]},{"1397200094":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397200111, 1397200105, 1397200108, 1397200098, 1397200102, 1397200094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 16.744529008865356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 12:08:42.300353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_02_2676.jpg', '/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_06_3626.jpg', '/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_08_2704.jpg', '/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_11_2796.jpg', '/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_14_2621.jpg', '/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_18_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_02_2676.jpg
/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_06_3626.jpg
/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_08_2704.jpg
/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_11_2796.jpg
/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_14_2621.jpg
/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_18_3677.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397200115","1397200124","1397200114","1397200117","1397200116","1397200113"],"photo_ids_order":["1397200113","1397200114","1397200115","1397200116","1397200117","1397200124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9113cf3fef21bd804ee8b842e5da8db3.jpg","text":"TemporaryFile(/tmp/multipartBody904333132275777466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587384996,"filename":"image_31102025_14_19_08_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/1/d022e7ce82539c998ff2809ce39135d3.jpg","text":"TemporaryFile(/tmp/multipartBody6469553979123506368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587384996,"filename":"image_31102025_14_19_18_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/1/6f65956536d616eaca7558d3a98e2f0a.jpg","text":"TemporaryFile(/tmp/multipartBody2447058761918609297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587384996,"filename":"image_31102025_14_19_06_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/1/6e4fd8846abff33592768a29c5baba84.jpg","text":"TemporaryFile(/tmp/multipartBody7614417590307691302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587384996,"filename":"image_31102025_14_19_14_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1fb569f409a546d797c74fdcc89c65ec.jpg","text":"TemporaryFile(/tmp/multipartBody7859695968425869107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587384996,"filename":"image_31102025_14_19_11_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0575219bf04192b45aada12fbfbfa7e8.jpg","text":"TemporaryFile(/tmp/multipartBody6804989355711816462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587384996,"filename":"image_31102025_14_19_02_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397200115","file1":"1397200114","file0":"1397200113","file4":"1397200117","file5":"1397200124","file3":"1397200116"},"map_files_photo_id_array":[{"photo_id":"1397200124","filename":"file5"},{"photo_id":"1397200115","filename":"file2"},{"photo_id":"1397200117","filename":"file4"},{"photo_id":"1397200114","filename":"file1"},{"photo_id":"1397200113","filename":"file0"},{"photo_id":"1397200116","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397200115":["hashtag1","hashtag2"]},{"1397200124":["hashtag1","hashtag2"]},{"1397200114":["hashtag1","hashtag2"]},{"1397200117":["hashtag1","hashtag2"]},{"1397200116":["hashtag1","hashtag2"]},{"1397200113":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397200115, 1397200124, 1397200114, 1397200117, 1397200116, 1397200113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 17.75449013710022 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:09:03.334265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/39/image_01122025_11_39_34_9818.jpg', '/home/pi/Desktop/images/01122025/11/39/image_01122025_11_39_45_10637.jpg', '/home/pi/Desktop/images/01122025/11/39/image_01122025_11_39_55_9635.jpg', '/home/pi/Desktop/images/01122025/11/41/image_01122025_11_41_13_10037.jpg', '/home/pi/Desktop/images/01122025/11/41/image_01122025_11_41_24_10919.jpg', '/home/pi/Desktop/images/01122025/11/41/image_01122025_11_41_34_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/39/image_01122025_11_39_34_9818.jpg
/home/pi/Desktop/images/01122025/11/39/image_01122025_11_39_45_10637.jpg
/home/pi/Desktop/images/01122025/11/39/image_01122025_11_39_55_9635.jpg
/home/pi/Desktop/images/01122025/11/41/image_01122025_11_41_13_10037.jpg
/home/pi/Desktop/images/01122025/11/41/image_01122025_11_41_24_10919.jpg
/home/pi/Desktop/images/01122025/11/41/image_01122025_11_41_34_9635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397200136","1397200141","1397200138","1397200135","1397200140","1397200137"],"photo_ids_order":["1397200135","1397200136","1397200137","1397200138","1397200140","1397200141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cc54eefa9d85b01838efd892ecbe47f1.jpg","text":"TemporaryFile(/tmp/multipartBody2038322482609230393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587404257,"filename":"image_01122025_11_39_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/1/962dff686e680d3151c0b9e36bb62c7f.jpg","text":"TemporaryFile(/tmp/multipartBody3745658894692291886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587404257,"filename":"image_01122025_11_41_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/1/9298ccf2ba4298df2d2effb13e3427a3.jpg","text":"TemporaryFile(/tmp/multipartBody8033504189767921156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587404257,"filename":"image_01122025_11_41_13_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e0bc00c071c22b9ce301a0f43a8456be.jpg","text":"TemporaryFile(/tmp/multipartBody2119627070630379368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587404257,"filename":"image_01122025_11_39_34_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3c49cc2716ece689b18ee3d2805e2eff.jpg","text":"TemporaryFile(/tmp/multipartBody358832070242176809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587404257,"filename":"image_01122025_11_41_24_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/1/fde0917ea901b2c700563ca18c7d8412.jpg","text":"TemporaryFile(/tmp/multipartBody6628853970167170272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587404257,"filename":"image_01122025_11_39_55_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397200137","file1":"1397200136","file0":"1397200135","file4":"1397200140","file5":"1397200141","file3":"1397200138"},"map_files_photo_id_array":[{"photo_id":"1397200141","filename":"file5"},{"photo_id":"1397200137","filename":"file2"},{"photo_id":"1397200140","filename":"file4"},{"photo_id":"1397200136","filename":"file1"},{"photo_id":"1397200135","filename":"file0"},{"photo_id":"1397200138","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397200136":["hashtag1","hashtag2"]},{"1397200141":["hashtag1","hashtag2"]},{"1397200138":["hashtag1","hashtag2"]},{"1397200135":["hashtag1","hashtag2"]},{"1397200140":["hashtag1","hashtag2"]},{"1397200137":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397200136, 1397200141, 1397200138, 1397200135, 1397200140, 1397200137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 15.898216009140015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 12:09:22.547582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/41/image_01122025_11_41_44_9892.jpg', '/home/pi/Desktop/images/01122025/11/41/image_01122025_11_41_54_9942.jpg', '/home/pi/Desktop/images/01122025/11/41/image_01122025_11_42_04_9839.jpg', '/home/pi/Desktop/images/01122025/11/42/image_01122025_11_42_14_10630.jpg', '/home/pi/Desktop/images/01122025/11/42/image_01122025_11_42_24_9936.jpg', '/home/pi/Desktop/images/01122025/11/42/image_01122025_11_42_34_9821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/41/image_01122025_11_41_44_9892.jpg
/home/pi/Desktop/images/01122025/11/41/image_01122025_11_41_54_9942.jpg
/home/pi/Desktop/images/01122025/11/41/image_01122025_11_42_04_9839.jpg
/home/pi/Desktop/images/01122025/11/42/image_01122025_11_42_14_10630.jpg
/home/pi/Desktop/images/01122025/11/42/image_01122025_11_42_24_9936.jpg
/home/pi/Desktop/images/01122025/11/42/image_01122025_11_42_34_9821.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397200148","1397200164","1397200152","1397200161","1397200155","1397200158"],"photo_ids_order":["1397200148","1397200152","1397200155","1397200158","1397200161","1397200164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/39cc6aa8d5d36fc6df8b8026a6d902cc.jpg","text":"TemporaryFile(/tmp/multipartBody4206716924432747593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587423267,"filename":"image_01122025_11_41_44_9892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c4ee9f0f6a7cff5410d7975631c94752.jpg","text":"TemporaryFile(/tmp/multipartBody5135183439792571438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587423267,"filename":"image_01122025_11_42_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/1/dcd6b1091942e1ba361ce2e11afc6d84.jpg","text":"TemporaryFile(/tmp/multipartBody4613151427882564633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587423267,"filename":"image_01122025_11_41_54_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/1/d9e878fb6735ef6da249fbb5d1c4e7fb.jpg","text":"TemporaryFile(/tmp/multipartBody6087497334004450945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587423267,"filename":"image_01122025_11_42_24_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/1/d92199398fda9e4ba2e71ae4a8180e2a.jpg","text":"TemporaryFile(/tmp/multipartBody4644093193260668365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587423267,"filename":"image_01122025_11_42_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/1/998962b6a58496f24e381e420018e904.jpg","text":"TemporaryFile(/tmp/multipartBody3092282768878567398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587423267,"filename":"image_01122025_11_42_14_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397200155","file1":"1397200152","file0":"1397200148","file4":"1397200161","file5":"1397200164","file3":"1397200158"},"map_files_photo_id_array":[{"photo_id":"1397200164","filename":"file5"},{"photo_id":"1397200155","filename":"file2"},{"photo_id":"1397200161","filename":"file4"},{"photo_id":"1397200152","filename":"file1"},{"photo_id":"1397200148","filename":"file0"},{"photo_id":"1397200158","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397200148":["hashtag1","hashtag2"]},{"1397200164":["hashtag1","hashtag2"]},{"1397200152":["hashtag1","hashtag2"]},{"1397200161":["hashtag1","hashtag2"]},{"1397200155":["hashtag1","hashtag2"]},{"1397200158":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397200148, 1397200164, 1397200152, 1397200161, 1397200155, 1397200158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 16.543657064437866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 12:09:42.455343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_20_2710.jpg', '/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_23_2659.jpg', '/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_27_3731.jpg', '/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_29_2612.jpg', '/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_32_2680.jpg', '/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_36_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_20_2710.jpg
/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_23_2659.jpg
/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_27_3731.jpg
/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_29_2612.jpg
/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_32_2680.jpg
/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_36_3632.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397200199","1397200198","1397200195","1397200183","1397200182","1397200185"],"photo_ids_order":["1397200182","1397200183","1397200185","1397200195","1397200198","1397200199"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/16d812b755d9f0c5a7e0b50794f035b2.jpg","text":"TemporaryFile(/tmp/multipartBody6217305766429305394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587445210,"filename":"image_31102025_14_19_36_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/1/3625ddcf4191735345578882415d5176.jpg","text":"TemporaryFile(/tmp/multipartBody832989780952720526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587445210,"filename":"image_31102025_14_19_32_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/1/d87120ee0b73d03235a872ee45a01cd7.jpg","text":"TemporaryFile(/tmp/multipartBody2183875086550831397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587445210,"filename":"image_31102025_14_19_29_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/1/4f02b70286a32cbfc7fc30e39f77faac.jpg","text":"TemporaryFile(/tmp/multipartBody7176724302571508275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587445210,"filename":"image_31102025_14_19_23_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/1/af6e216930a0114bb26cf94bca73a2cb.jpg","text":"TemporaryFile(/tmp/multipartBody8616578025581087566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587445210,"filename":"image_31102025_14_19_20_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e4e9adc70e08ce74493edfa365d4b2fa.jpg","text":"TemporaryFile(/tmp/multipartBody119520820320435571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587445210,"filename":"image_31102025_14_19_27_3731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397200185","file1":"1397200183","file0":"1397200182","file4":"1397200198","file5":"1397200199","file3":"1397200195"},"map_files_photo_id_array":[{"photo_id":"1397200199","filename":"file5"},{"photo_id":"1397200185","filename":"file2"},{"photo_id":"1397200198","filename":"file4"},{"photo_id":"1397200183","filename":"file1"},{"photo_id":"1397200182","filename":"file0"},{"photo_id":"1397200195","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397200199":["hashtag1","hashtag2"]},{"1397200198":["hashtag1","hashtag2"]},{"1397200195":["hashtag1","hashtag2"]},{"1397200183":["hashtag1","hashtag2"]},{"1397200182":["hashtag1","hashtag2"]},{"1397200185":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397200199, 1397200198, 1397200195, 1397200183, 1397200182, 1397200185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 17.68609642982483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:10:03.152584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/42/image_01122025_11_42_44_9751.jpg', '/home/pi/Desktop/images/01122025/11/42/image_01122025_11_42_54_10577.jpg', '/home/pi/Desktop/images/01122025/11/42/image_01122025_11_43_04_9699.jpg', '/home/pi/Desktop/images/01122025/11/43/image_01122025_11_43_14_9865.jpg', '/home/pi/Desktop/images/01122025/11/43/image_01122025_11_43_24_9727.jpg', '/home/pi/Desktop/images/01122025/11/43/image_01122025_11_43_34_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/42/image_01122025_11_42_44_9751.jpg
/home/pi/Desktop/images/01122025/11/42/image_01122025_11_42_54_10577.jpg
/home/pi/Desktop/images/01122025/11/42/image_01122025_11_43_04_9699.jpg
/home/pi/Desktop/images/01122025/11/43/image_01122025_11_43_14_9865.jpg
/home/pi/Desktop/images/01122025/11/43/image_01122025_11_43_24_9727.jpg
/home/pi/Desktop/images/01122025/11/43/image_01122025_11_43_34_10371.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397200238","1397200241","1397200240","1397200237","1397200236","1397200239"],"photo_ids_order":["1397200236","1397200237","1397200238","1397200239","1397200240","1397200241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/400304a817a7cf9bd0c9f826b365df6c.jpg","text":"TemporaryFile(/tmp/multipartBody87626245286350716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587463852,"filename":"image_01122025_11_43_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/1/e777f57e7fd728551c699aaacdf3cbe0.jpg","text":"TemporaryFile(/tmp/multipartBody6849454042044853808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587463852,"filename":"image_01122025_11_43_34_10371.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5b1f8c9dc06eefee3a762648d709528d.jpg","text":"TemporaryFile(/tmp/multipartBody4337941109380772580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587463852,"filename":"image_01122025_11_43_24_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/15338ebeac25aba6dac2a6d92deaf7af.jpg","text":"TemporaryFile(/tmp/multipartBody5226397409558289405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587463852,"filename":"image_01122025_11_42_54_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/1/a9c20b42f4ed4bffeba38c59a19998e3.jpg","text":"TemporaryFile(/tmp/multipartBody8209285434844955562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587463852,"filename":"image_01122025_11_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/1/4ee5a38f448fefaa2af6f958280b45a9.jpg","text":"TemporaryFile(/tmp/multipartBody2498880660011999058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587463852,"filename":"image_01122025_11_43_14_9865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397200238","file1":"1397200237","file0":"1397200236","file4":"1397200240","file5":"1397200241","file3":"1397200239"},"map_files_photo_id_array":[{"photo_id":"1397200241","filename":"file5"},{"photo_id":"1397200238","filename":"file2"},{"photo_id":"1397200240","filename":"file4"},{"photo_id":"1397200237","filename":"file1"},{"photo_id":"1397200236","filename":"file0"},{"photo_id":"1397200239","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397200238":["hashtag1","hashtag2"]},{"1397200241":["hashtag1","hashtag2"]},{"1397200240":["hashtag1","hashtag2"]},{"1397200237":["hashtag1","hashtag2"]},{"1397200236":["hashtag1","hashtag2"]},{"1397200239":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397200238, 1397200241, 1397200240, 1397200237, 1397200236, 1397200239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 15.211041450500488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 12:10:22.706864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/43/image_01122025_11_43_44_9724.jpg', '/home/pi/Desktop/images/01122025/11/43/image_01122025_11_43_53_9697.jpg', '/home/pi/Desktop/images/01122025/11/43/image_01122025_11_44_04_10655.jpg', '/home/pi/Desktop/images/01122025/11/44/image_01122025_11_44_14_9819.jpg', '/home/pi/Desktop/images/01122025/11/44/image_01122025_11_44_24_9881.jpg', '/home/pi/Desktop/images/01122025/11/44/image_01122025_11_44_33_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/43/image_01122025_11_43_44_9724.jpg
/home/pi/Desktop/images/01122025/11/43/image_01122025_11_43_53_9697.jpg
/home/pi/Desktop/images/01122025/11/43/image_01122025_11_44_04_10655.jpg
/home/pi/Desktop/images/01122025/11/44/image_01122025_11_44_14_9819.jpg
/home/pi/Desktop/images/01122025/11/44/image_01122025_11_44_24_9881.jpg
/home/pi/Desktop/images/01122025/11/44/image_01122025_11_44_33_9628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397200376","1397200364","1397200352","1397200339","1397200326","1397200388"],"photo_ids_order":["1397200326","1397200339","1397200352","1397200364","1397200376","1397200388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/16fdd3f35f8547a1ba08454e93c326fb.jpg","text":"TemporaryFile(/tmp/multipartBody7045814028553000498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587483585,"filename":"image_01122025_11_44_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/1/637ed0422ef6776467a9f0424192f2e6.jpg","text":"TemporaryFile(/tmp/multipartBody7501035803378871032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587483585,"filename":"image_01122025_11_44_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/1/e820345c56f51d99a0eee9686b9dfd3b.jpg","text":"TemporaryFile(/tmp/multipartBody4296943931376407039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587483585,"filename":"image_01122025_11_44_04_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f6b873616a590bd78db1b24f18af9fa0.jpg","text":"TemporaryFile(/tmp/multipartBody1455475202581538136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587483585,"filename":"image_01122025_11_43_53_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/1/c500a0a23cc7fb709372c7aa710e072d.jpg","text":"TemporaryFile(/tmp/multipartBody2694532480024841314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587483585,"filename":"image_01122025_11_43_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/1/1aca7d343da8a1f742552bf81c071f8d.jpg","text":"TemporaryFile(/tmp/multipartBody6895501887869855173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587483585,"filename":"image_01122025_11_44_33_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397200352","file1":"1397200339","file0":"1397200326","file4":"1397200376","file5":"1397200388","file3":"1397200364"},"map_files_photo_id_array":[{"photo_id":"1397200388","filename":"file5"},{"photo_id":"1397200352","filename":"file2"},{"photo_id":"1397200376","filename":"file4"},{"photo_id":"1397200339","filename":"file1"},{"photo_id":"1397200326","filename":"file0"},{"photo_id":"1397200364","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397200376":["hashtag1","hashtag2"]},{"1397200364":["hashtag1","hashtag2"]},{"1397200352":["hashtag1","hashtag2"]},{"1397200339":["hashtag1","hashtag2"]},{"1397200326":["hashtag1","hashtag2"]},{"1397200388":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397200376, 1397200364, 1397200352, 1397200339, 1397200326, 1397200388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 16.6518497467041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 12:10:42.623666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_38_2630.jpg', '/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_41_2741.jpg', '/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_45_3649.jpg', '/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_47_2724.jpg', '/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_50_2735.jpg', '/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_53_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_38_2630.jpg
/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_41_2741.jpg
/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_45_3649.jpg
/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_47_2724.jpg
/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_50_2735.jpg
/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_53_2759.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397200628","1397200669","1397200591","1397200645","1397200659","1397200608"],"photo_ids_order":["1397200591","1397200608","1397200628","1397200645","1397200659","1397200669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/91ff1b64a1a9bef749a7f66ab25af78c.jpg","text":"TemporaryFile(/tmp/multipartBody7046345499626695726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587505358,"filename":"image_31102025_14_19_45_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/1/94f52f40e8c0f9f834bbaacacd5fc1d0.jpg","text":"TemporaryFile(/tmp/multipartBody6583271326322732550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587505358,"filename":"image_31102025_14_19_53_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/1/5f7cc3c9728d80450b3f9ae1716a4a42.jpg","text":"TemporaryFile(/tmp/multipartBody4180246809311111342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587505358,"filename":"image_31102025_14_19_38_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/1/f09a997a1c1c2c946e1a84e73cf03d42.jpg","text":"TemporaryFile(/tmp/multipartBody6764638192074343005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587505358,"filename":"image_31102025_14_19_47_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/1/cfb8fa070e31f27d796902fb76cf3ab5.jpg","text":"TemporaryFile(/tmp/multipartBody1252151592075287499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587505358,"filename":"image_31102025_14_19_50_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/671766f2cc361cd28742c56e4f129789.jpg","text":"TemporaryFile(/tmp/multipartBody6644438502682595794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587505358,"filename":"image_31102025_14_19_41_2741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397200628","file1":"1397200608","file0":"1397200591","file4":"1397200659","file5":"1397200669","file3":"1397200645"},"map_files_photo_id_array":[{"photo_id":"1397200669","filename":"file5"},{"photo_id":"1397200628","filename":"file2"},{"photo_id":"1397200659","filename":"file4"},{"photo_id":"1397200608","filename":"file1"},{"photo_id":"1397200591","filename":"file0"},{"photo_id":"1397200645","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397200628":["hashtag1","hashtag2"]},{"1397200669":["hashtag1","hashtag2"]},{"1397200591":["hashtag1","hashtag2"]},{"1397200645":["hashtag1","hashtag2"]},{"1397200659":["hashtag1","hashtag2"]},{"1397200608":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397200628, 1397200669, 1397200591, 1397200645, 1397200659, 1397200608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 17.558523178100586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:11:03.413224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/44/image_01122025_11_44_44_10836.jpg', '/home/pi/Desktop/images/01122025/11/44/image_01122025_11_44_54_9729.jpg', '/home/pi/Desktop/images/01122025/11/45/image_01122025_11_45_15_10056.jpg', '/home/pi/Desktop/images/01122025/11/45/image_01122025_11_45_25_10879.jpg', '/home/pi/Desktop/images/01122025/11/45/image_01122025_11_45_35_9651.jpg', '/home/pi/Desktop/images/01122025/11/45/image_01122025_11_45_45_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/44/image_01122025_11_44_44_10836.jpg
/home/pi/Desktop/images/01122025/11/44/image_01122025_11_44_54_9729.jpg
/home/pi/Desktop/images/01122025/11/45/image_01122025_11_45_15_10056.jpg
/home/pi/Desktop/images/01122025/11/45/image_01122025_11_45_25_10879.jpg
/home/pi/Desktop/images/01122025/11/45/image_01122025_11_45_35_9651.jpg
/home/pi/Desktop/images/01122025/11/45/image_01122025_11_45_45_9678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397200694","1397200709","1397200700","1397200708","1397200695","1397200710"],"photo_ids_order":["1397200694","1397200695","1397200700","1397200708","1397200709","1397200710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/86c22384d9a24a9a6055fcc3c69f0647.jpg","text":"TemporaryFile(/tmp/multipartBody4181047088391286136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587524182,"filename":"image_01122025_11_44_44_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/1/f40042e3061f0a191b3d58e4f0f1e41e.jpg","text":"TemporaryFile(/tmp/multipartBody5157174952344090073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587524182,"filename":"image_01122025_11_45_35_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/83b4108e0e455d29996c8aeae19f80c2.jpg","text":"TemporaryFile(/tmp/multipartBody6591985253460819093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587524182,"filename":"image_01122025_11_45_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/1/6e5bec6c51c53e6545e6d83e15ac7939.jpg","text":"TemporaryFile(/tmp/multipartBody8901251205178590538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587524182,"filename":"image_01122025_11_45_25_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/1/6620e9a90c42862af656766659fd7df0.jpg","text":"TemporaryFile(/tmp/multipartBody6802359305792571726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587524182,"filename":"image_01122025_11_44_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/1/848a07cbcab530cfeba4d3fb09c740e2.jpg","text":"TemporaryFile(/tmp/multipartBody8421529872188415100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587524182,"filename":"image_01122025_11_45_45_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397200700","file1":"1397200695","file0":"1397200694","file4":"1397200709","file5":"1397200710","file3":"1397200708"},"map_files_photo_id_array":[{"photo_id":"1397200710","filename":"file5"},{"photo_id":"1397200700","filename":"file2"},{"photo_id":"1397200709","filename":"file4"},{"photo_id":"1397200695","filename":"file1"},{"photo_id":"1397200694","filename":"file0"},{"photo_id":"1397200708","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397200694":["hashtag1","hashtag2"]},{"1397200709":["hashtag1","hashtag2"]},{"1397200700":["hashtag1","hashtag2"]},{"1397200708":["hashtag1","hashtag2"]},{"1397200695":["hashtag1","hashtag2"]},{"1397200710":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397200694, 1397200709, 1397200700, 1397200708, 1397200695, 1397200710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 15.439510345458984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 12:11:22.782301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/45/image_01122025_11_45_55_10667.jpg', '/home/pi/Desktop/images/01122025/11/45/image_01122025_11_46_05_9680.jpg', '/home/pi/Desktop/images/01122025/11/46/image_01122025_11_46_15_9814.jpg', '/home/pi/Desktop/images/01122025/11/46/image_01122025_11_46_25_9704.jpg', '/home/pi/Desktop/images/01122025/11/46/image_01122025_11_46_35_10555.jpg', '/home/pi/Desktop/images/01122025/11/46/image_01122025_11_46_45_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/45/image_01122025_11_45_55_10667.jpg
/home/pi/Desktop/images/01122025/11/45/image_01122025_11_46_05_9680.jpg
/home/pi/Desktop/images/01122025/11/46/image_01122025_11_46_15_9814.jpg
/home/pi/Desktop/images/01122025/11/46/image_01122025_11_46_25_9704.jpg
/home/pi/Desktop/images/01122025/11/46/image_01122025_11_46_35_10555.jpg
/home/pi/Desktop/images/01122025/11/46/image_01122025_11_46_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":["1397200789","1397200849","1397200735","1397200720","1397200764","1397200758"],"photo_ids_order":["1397200720","1397200735","1397200758","1397200764","1397200789","1397200849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6fde3051e0ab758e677c5ad3780a7e59.jpg","text":"TemporaryFile(/tmp/multipartBody9101803872599492222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587543535,"filename":"image_01122025_11_46_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/1/967b7773d5cfc6e2645f22368c0a1898.jpg","text":"TemporaryFile(/tmp/multipartBody4560138019405543317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587543535,"filename":"image_01122025_11_46_45_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e511925a1dbcc046d49f11fc334514c7.jpg","text":"TemporaryFile(/tmp/multipartBody5073023784784419015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587543535,"filename":"image_01122025_11_46_05_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/17a1e36065eb2338c2914c1725b821c5.jpg","text":"TemporaryFile(/tmp/multipartBody7711642706606497882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587543535,"filename":"image_01122025_11_45_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/1/1c5c29071ead86167474574e7247eab7.jpg","text":"TemporaryFile(/tmp/multipartBody1345307626993368387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587543535,"filename":"image_01122025_11_46_25_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/43492c727f1d7c40a0f152ed8ccd770d.jpg","text":"TemporaryFile(/tmp/multipartBody3350770436666263518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587543535,"filename":"image_01122025_11_46_15_9814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397200758","file1":"1397200735","file0":"1397200720","file4":"1397200789","file5":"1397200849","file3":"1397200764"},"map_files_photo_id_array":[{"photo_id":"1397200849","filename":"file5"},{"photo_id":"1397200758","filename":"file2"},{"photo_id":"1397200789","filename":"file4"},{"photo_id":"1397200735","filename":"file1"},{"photo_id":"1397200720","filename":"file0"},{"photo_id":"1397200764","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397200789":["hashtag1","hashtag2"]},{"1397200849":["hashtag1","hashtag2"]},{"1397200735":["hashtag1","hashtag2"]},{"1397200720":["hashtag1","hashtag2"]},{"1397200764":["hashtag1","hashtag2"]},{"1397200758":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397200789, 1397200849, 1397200735, 1397200720, 1397200764, 1397200758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85423827171326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:12:02.443621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/46/image_01122025_11_46_55_9794.jpg', '/home/pi/Desktop/images/01122025/11/46/image_01122025_11_47_05_9906.jpg', '/home/pi/Desktop/images/01122025/11/47/image_01122025_11_47_15_10680.jpg', '/home/pi/Desktop/images/01122025/11/47/image_01122025_11_47_25_9476.jpg', '/home/pi/Desktop/images/01122025/11/47/image_01122025_11_47_35_10698.jpg', '/home/pi/Desktop/images/01122025/11/47/image_01122025_11_47_45_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/46/image_01122025_11_46_55_9794.jpg
/home/pi/Desktop/images/01122025/11/46/image_01122025_11_47_05_9906.jpg
/home/pi/Desktop/images/01122025/11/47/image_01122025_11_47_15_10680.jpg
/home/pi/Desktop/images/01122025/11/47/image_01122025_11_47_25_9476.jpg
/home/pi/Desktop/images/01122025/11/47/image_01122025_11_47_35_10698.jpg
/home/pi/Desktop/images/01122025/11/47/image_01122025_11_47_45_9681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397200999","1397201038","1397201104","1397201097","1397201079","1397201099"],"photo_ids_order":["1397200999","1397201038","1397201079","1397201097","1397201099","1397201104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3e1434305f734e6888a567fae0166193.jpg","text":"TemporaryFile(/tmp/multipartBody9197257410348371107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587583143,"filename":"image_01122025_11_46_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/1/0e7d71ac6bf0aab08a67150a3d3b96e0.jpg","text":"TemporaryFile(/tmp/multipartBody1873104657287930461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587583143,"filename":"image_01122025_11_47_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/1/c8dedd65b82df37bdbe4929a0da8e352.jpg","text":"TemporaryFile(/tmp/multipartBody5234347136868769572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587583143,"filename":"image_01122025_11_47_45_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/73113f4c23d2bd47d53e9f8c4891c959.jpg","text":"TemporaryFile(/tmp/multipartBody1775702202847510602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587583143,"filename":"image_01122025_11_47_25_9476.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f92f6f1c9cead596e0c7d126dce30cc1.jpg","text":"TemporaryFile(/tmp/multipartBody8776283235576914175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587583143,"filename":"image_01122025_11_47_15_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/1/0a8220ba8bd3f0df4bddcd818ffcdd0f.jpg","text":"TemporaryFile(/tmp/multipartBody3249394755235038357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587583143,"filename":"image_01122025_11_47_35_10698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397201079","file1":"1397201038","file0":"1397200999","file4":"1397201099","file5":"1397201104","file3":"1397201097"},"map_files_photo_id_array":[{"photo_id":"1397201104","filename":"file5"},{"photo_id":"1397201079","filename":"file2"},{"photo_id":"1397201099","filename":"file4"},{"photo_id":"1397201038","filename":"file1"},{"photo_id":"1397200999","filename":"file0"},{"photo_id":"1397201097","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397200999":["hashtag1","hashtag2"]},{"1397201038":["hashtag1","hashtag2"]},{"1397201104":["hashtag1","hashtag2"]},{"1397201097":["hashtag1","hashtag2"]},{"1397201079":["hashtag1","hashtag2"]},{"1397201099":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397200999, 1397201038, 1397201104, 1397201097, 1397201079, 1397201099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4350380897522 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 12:12:42.023543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_56_3586.jpg', '/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_59_2746.jpg', '/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_08_2646.jpg', '/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_11_2630.jpg', '/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_15_3648.jpg', '/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_17_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_56_3586.jpg
/home/pi/Desktop/images/31102025/14/19/image_31102025_14_19_59_2746.jpg
/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_08_2646.jpg
/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_11_2630.jpg
/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_15_3648.jpg
/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_17_2685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397201120","1397201122","1397201121","1397201115","1397201118","1397201123"],"photo_ids_order":["1397201115","1397201118","1397201120","1397201121","1397201122","1397201123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a2d1fbc3a49645be28b4e53acadac055.jpg","text":"TemporaryFile(/tmp/multipartBody6074859252733694993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587624682,"filename":"image_31102025_14_20_08_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/1/8f30acf99ad682e5bbe295be4e6d4cf0.jpg","text":"TemporaryFile(/tmp/multipartBody7531894821638881151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587624682,"filename":"image_31102025_14_20_15_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/1/413ec63202de152eaf78b7b1866a3bf3.jpg","text":"TemporaryFile(/tmp/multipartBody4082547443346495316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587624682,"filename":"image_31102025_14_20_11_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/1/6088c9840c266acfdad387b9edfca0db.jpg","text":"TemporaryFile(/tmp/multipartBody8105830392525096321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587624682,"filename":"image_31102025_14_19_56_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/1/9131a646bc71941cb7a34eaa5c967d9c.jpg","text":"TemporaryFile(/tmp/multipartBody8735986637463623578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587624682,"filename":"image_31102025_14_19_59_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/1/1f02f57178c6a48fa16c68cea9a3c8f9.jpg","text":"TemporaryFile(/tmp/multipartBody2138462725077423441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587624682,"filename":"image_31102025_14_20_17_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397201120","file1":"1397201118","file0":"1397201115","file4":"1397201122","file5":"1397201123","file3":"1397201121"},"map_files_photo_id_array":[{"photo_id":"1397201123","filename":"file5"},{"photo_id":"1397201120","filename":"file2"},{"photo_id":"1397201122","filename":"file4"},{"photo_id":"1397201118","filename":"file1"},{"photo_id":"1397201115","filename":"file0"},{"photo_id":"1397201121","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397201120":["hashtag1","hashtag2"]},{"1397201122":["hashtag1","hashtag2"]},{"1397201121":["hashtag1","hashtag2"]},{"1397201115":["hashtag1","hashtag2"]},{"1397201118":["hashtag1","hashtag2"]},{"1397201123":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397201120, 1397201122, 1397201121, 1397201115, 1397201118, 1397201123)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.811376333236694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 12:13:32.292402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_28_2678.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_31_3799.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_34_2685.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_37_2493.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_40_3712.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_43_2535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_28_2678.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_31_3799.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_34_2685.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_37_2493.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_40_3712.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_43_2535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397201155","1397201140","1397201133","1397201171","1397201177","1397201162"],"photo_ids_order":["1397201133","1397201140","1397201155","1397201162","1397201171","1397201177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bf3b7c529d3d2a8525c16591b2b1dc51.jpg","text":"TemporaryFile(/tmp/multipartBody5802198529435778701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587674020,"filename":"image_25112025_22_29_34_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0d1cc0d0f9fc0003e2d652e13ca79a0f.jpg","text":"TemporaryFile(/tmp/multipartBody4201870489680930095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587674020,"filename":"image_25112025_22_29_31_3799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d4e86245476f251cc88ba4cbe6f93709.jpg","text":"TemporaryFile(/tmp/multipartBody691633329674671712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587674020,"filename":"image_25112025_22_29_28_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8cc98e966f858c2a1732bfdfc1533ada.jpg","text":"TemporaryFile(/tmp/multipartBody7693794536601482811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587674020,"filename":"image_25112025_22_29_40_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/984e74458fb668b077181b67641593ce.jpg","text":"TemporaryFile(/tmp/multipartBody1481978311338044174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587674020,"filename":"image_25112025_22_29_43_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/1/a155af2c4412719a82f9ffa8205c9de7.jpg","text":"TemporaryFile(/tmp/multipartBody7456356969258583996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587674020,"filename":"image_25112025_22_29_37_2493.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397201155","file1":"1397201140","file0":"1397201133","file4":"1397201171","file5":"1397201177","file3":"1397201162"},"map_files_photo_id_array":[{"photo_id":"1397201177","filename":"file5"},{"photo_id":"1397201155","filename":"file2"},{"photo_id":"1397201171","filename":"file4"},{"photo_id":"1397201140","filename":"file1"},{"photo_id":"1397201133","filename":"file0"},{"photo_id":"1397201162","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397201155":["hashtag1","hashtag2"]},{"1397201140":["hashtag1","hashtag2"]},{"1397201133":["hashtag1","hashtag2"]},{"1397201171":["hashtag1","hashtag2"]},{"1397201177":["hashtag1","hashtag2"]},{"1397201162":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397201155, 1397201140, 1397201133, 1397201171, 1397201177, 1397201162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07703375816345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 12:14:12.130500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_45_2668.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_49_3841.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_52_2691.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_55_2575.jpg', '/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_58_3619.jpg', '/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_07_3010.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_45_2668.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_49_3841.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_52_2691.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_55_2575.jpg
/home/pi/Desktop/images/25112025/22/29/image_25112025_22_29_58_3619.jpg
/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_07_3010.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397201182","1397201191","1397201179","1397201203","1397201178","1397201186"],"photo_ids_order":["1397201178","1397201179","1397201182","1397201186","1397201191","1397201203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/345591d2869a9eda35449f100f6dc851.jpg","text":"TemporaryFile(/tmp/multipartBody1871528674707773796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587713811,"filename":"image_25112025_22_29_52_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/1/86f17301fe4d83fa7e31f34ce7fcc98b.jpg","text":"TemporaryFile(/tmp/multipartBody133096831419907805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587713811,"filename":"image_25112025_22_29_58_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/1/b7b1b25f3fb580e2050436af15bd869e.jpg","text":"TemporaryFile(/tmp/multipartBody8906692622126502086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587713811,"filename":"image_25112025_22_29_49_3841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/00ffad322b60a2422449b7a49c941a27.jpg","text":"TemporaryFile(/tmp/multipartBody7751197129269118630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587713811,"filename":"image_25112025_22_30_07_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f8912d85c2824a82d0a6a9a0931344a9.jpg","text":"TemporaryFile(/tmp/multipartBody1115240100931160314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587713811,"filename":"image_25112025_22_29_45_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/1/e7ccbc480b341641b090e0cf7818bf59.jpg","text":"TemporaryFile(/tmp/multipartBody1801441162189601032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587713811,"filename":"image_25112025_22_29_55_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397201182","file1":"1397201179","file0":"1397201178","file4":"1397201191","file5":"1397201203","file3":"1397201186"},"map_files_photo_id_array":[{"photo_id":"1397201203","filename":"file5"},{"photo_id":"1397201182","filename":"file2"},{"photo_id":"1397201191","filename":"file4"},{"photo_id":"1397201179","filename":"file1"},{"photo_id":"1397201178","filename":"file0"},{"photo_id":"1397201186","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397201182":["hashtag1","hashtag2"]},{"1397201191":["hashtag1","hashtag2"]},{"1397201179":["hashtag1","hashtag2"]},{"1397201203":["hashtag1","hashtag2"]},{"1397201178":["hashtag1","hashtag2"]},{"1397201186":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397201182, 1397201191, 1397201179, 1397201203, 1397201178, 1397201186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09938669204712 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:15:03.101176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/47/image_01122025_11_47_55_9592.jpg', '/home/pi/Desktop/images/01122025/11/47/image_01122025_11_48_05_10644.jpg', '/home/pi/Desktop/images/01122025/11/48/image_01122025_11_48_15_9734.jpg', '/home/pi/Desktop/images/01122025/11/48/image_01122025_11_48_25_9665.jpg', '/home/pi/Desktop/images/01122025/11/48/image_01122025_11_48_35_10591.jpg', '/home/pi/Desktop/images/01122025/11/48/image_01122025_11_48_45_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/47/image_01122025_11_47_55_9592.jpg
/home/pi/Desktop/images/01122025/11/47/image_01122025_11_48_05_10644.jpg
/home/pi/Desktop/images/01122025/11/48/image_01122025_11_48_15_9734.jpg
/home/pi/Desktop/images/01122025/11/48/image_01122025_11_48_25_9665.jpg
/home/pi/Desktop/images/01122025/11/48/image_01122025_11_48_35_10591.jpg
/home/pi/Desktop/images/01122025/11/48/image_01122025_11_48_45_9747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397201231","1397201225","1397201228","1397201224","1397201226","1397201235"],"photo_ids_order":["1397201224","1397201225","1397201226","1397201228","1397201231","1397201235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3ac31faddbecfb9b5a9a24bf941944f7.jpg","text":"TemporaryFile(/tmp/multipartBody3373974731043312014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587763896,"filename":"image_01122025_11_48_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/1/ba195de6c302ef5d8c71fe2ff15653ba.jpg","text":"TemporaryFile(/tmp/multipartBody3025214968225044819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587763896,"filename":"image_01122025_11_48_05_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cb9667fc0512f28f2e3749a1853ce7d5.jpg","text":"TemporaryFile(/tmp/multipartBody4411743485226936687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587763896,"filename":"image_01122025_11_48_25_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a3552a3bf5b1ed5f3eb6c9db5eb2b759.jpg","text":"TemporaryFile(/tmp/multipartBody2162508448689466817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587763896,"filename":"image_01122025_11_47_55_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5f1d7e1666a6f96abfb3a3062d5ba6fd.jpg","text":"TemporaryFile(/tmp/multipartBody9160319055090753483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587763896,"filename":"image_01122025_11_48_15_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/11a7d656211814c425f191a3dc442ef3.jpg","text":"TemporaryFile(/tmp/multipartBody1372212775058643445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587763896,"filename":"image_01122025_11_48_45_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397201226","file1":"1397201225","file0":"1397201224","file4":"1397201231","file5":"1397201235","file3":"1397201228"},"map_files_photo_id_array":[{"photo_id":"1397201235","filename":"file5"},{"photo_id":"1397201226","filename":"file2"},{"photo_id":"1397201231","filename":"file4"},{"photo_id":"1397201225","filename":"file1"},{"photo_id":"1397201224","filename":"file0"},{"photo_id":"1397201228","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397201231":["hashtag1","hashtag2"]},{"1397201225":["hashtag1","hashtag2"]},{"1397201228":["hashtag1","hashtag2"]},{"1397201224":["hashtag1","hashtag2"]},{"1397201226":["hashtag1","hashtag2"]},{"1397201235":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397201231, 1397201225, 1397201228, 1397201224, 1397201226, 1397201235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.084537982940674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 12:15:42.442092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_20_2627.jpg', '/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_24_3724.jpg', '/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_26_2630.jpg', '/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_29_2790.jpg', '/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_32_2627.jpg', '/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_35_3552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_20_2627.jpg
/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_24_3724.jpg
/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_26_2630.jpg
/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_29_2790.jpg
/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_32_2627.jpg
/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_35_3552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397201281","1397201251","1397201245","1397201316","1397201354","1397201249"],"photo_ids_order":["1397201245","1397201249","1397201251","1397201281","1397201316","1397201354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/00c24f2f2cf2fcb387072494f9b20db5.jpg","text":"TemporaryFile(/tmp/multipartBody3464847031638756787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587805110,"filename":"image_31102025_14_20_29_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/1/100cfd110909dd161074884d1dce0c4b.jpg","text":"TemporaryFile(/tmp/multipartBody3138157997849745156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587805110,"filename":"image_31102025_14_20_26_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/1/dd8eda028e199126d30a152679ddb081.jpg","text":"TemporaryFile(/tmp/multipartBody1384495572077272199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587805110,"filename":"image_31102025_14_20_20_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b3f13019c4c4d4708f11d3d3267fbbec.jpg","text":"TemporaryFile(/tmp/multipartBody6376902443754473267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587805110,"filename":"image_31102025_14_20_32_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6555e438ab41a06b63966ea6d6769c75.jpg","text":"TemporaryFile(/tmp/multipartBody4760679757494211512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587805110,"filename":"image_31102025_14_20_35_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/1/ff54ba38e20b7b809c5c8d6f771b5646.jpg","text":"TemporaryFile(/tmp/multipartBody8112585319955789452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587805110,"filename":"image_31102025_14_20_24_3724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397201251","file1":"1397201249","file0":"1397201245","file4":"1397201316","file5":"1397201354","file3":"1397201281"},"map_files_photo_id_array":[{"photo_id":"1397201354","filename":"file5"},{"photo_id":"1397201251","filename":"file2"},{"photo_id":"1397201316","filename":"file4"},{"photo_id":"1397201249","filename":"file1"},{"photo_id":"1397201245","filename":"file0"},{"photo_id":"1397201281","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397201281":["hashtag1","hashtag2"]},{"1397201251":["hashtag1","hashtag2"]},{"1397201245":["hashtag1","hashtag2"]},{"1397201316":["hashtag1","hashtag2"]},{"1397201354":["hashtag1","hashtag2"]},{"1397201249":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397201281, 1397201251, 1397201245, 1397201316, 1397201354, 1397201249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.87521576881409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 12:16:22.579092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/48/image_01122025_11_48_55_9779.jpg', '/home/pi/Desktop/images/01122025/11/48/image_01122025_11_49_05_9706.jpg', '/home/pi/Desktop/images/01122025/11/49/image_01122025_11_49_15_10751.jpg', '/home/pi/Desktop/images/01122025/11/49/image_01122025_11_49_25_9912.jpg', '/home/pi/Desktop/images/01122025/11/49/image_01122025_11_49_35_9726.jpg', '/home/pi/Desktop/images/01122025/11/49/image_01122025_11_49_45_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/48/image_01122025_11_48_55_9779.jpg
/home/pi/Desktop/images/01122025/11/48/image_01122025_11_49_05_9706.jpg
/home/pi/Desktop/images/01122025/11/49/image_01122025_11_49_15_10751.jpg
/home/pi/Desktop/images/01122025/11/49/image_01122025_11_49_25_9912.jpg
/home/pi/Desktop/images/01122025/11/49/image_01122025_11_49_35_9726.jpg
/home/pi/Desktop/images/01122025/11/49/image_01122025_11_49_45_9657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397201720","1397201473","1397201512","1397201629","1397201556","1397201780"],"photo_ids_order":["1397201473","1397201512","1397201556","1397201629","1397201720","1397201780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ec8f70b6c0341150ead78388be93a60a.jpg","text":"TemporaryFile(/tmp/multipartBody2585208861448713083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587843329,"filename":"image_01122025_11_49_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/1/dff3c20c756a7bb580847a0e0fe8d158.jpg","text":"TemporaryFile(/tmp/multipartBody3364445992802959647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587843329,"filename":"image_01122025_11_48_55_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/38235dea83a3323998bebe91f73578d0.jpg","text":"TemporaryFile(/tmp/multipartBody6242266592385588707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587843329,"filename":"image_01122025_11_49_05_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c9bdfce854ca135050dc2963593f695b.jpg","text":"TemporaryFile(/tmp/multipartBody5739535548291853797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587843329,"filename":"image_01122025_11_49_25_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/1/a307222708babae9e6fc9b941da61c83.jpg","text":"TemporaryFile(/tmp/multipartBody2122422593227665595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587843329,"filename":"image_01122025_11_49_15_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b58120f23f72f66f6fe7bcb86ea3d503.jpg","text":"TemporaryFile(/tmp/multipartBody5379013236772362279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587843329,"filename":"image_01122025_11_49_45_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397201556","file1":"1397201512","file0":"1397201473","file4":"1397201720","file5":"1397201780","file3":"1397201629"},"map_files_photo_id_array":[{"photo_id":"1397201780","filename":"file5"},{"photo_id":"1397201556","filename":"file2"},{"photo_id":"1397201720","filename":"file4"},{"photo_id":"1397201512","filename":"file1"},{"photo_id":"1397201473","filename":"file0"},{"photo_id":"1397201629","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397201720":["hashtag1","hashtag2"]},{"1397201473":["hashtag1","hashtag2"]},{"1397201512":["hashtag1","hashtag2"]},{"1397201629":["hashtag1","hashtag2"]},{"1397201556":["hashtag1","hashtag2"]},{"1397201780":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397201720, 1397201473, 1397201512, 1397201629, 1397201556, 1397201780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59076166152954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:17:03.501293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/49/image_01122025_11_49_54_9896.jpg', '/home/pi/Desktop/images/01122025/11/50/image_01122025_11_50_15_10049.jpg', '/home/pi/Desktop/images/01122025/11/50/image_01122025_11_50_25_10624.jpg', '/home/pi/Desktop/images/01122025/11/50/image_01122025_11_50_35_9593.jpg', '/home/pi/Desktop/images/01122025/11/50/image_01122025_11_50_46_10664.jpg', '/home/pi/Desktop/images/01122025/11/50/image_01122025_11_50_55_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/49/image_01122025_11_49_54_9896.jpg
/home/pi/Desktop/images/01122025/11/50/image_01122025_11_50_15_10049.jpg
/home/pi/Desktop/images/01122025/11/50/image_01122025_11_50_25_10624.jpg
/home/pi/Desktop/images/01122025/11/50/image_01122025_11_50_35_9593.jpg
/home/pi/Desktop/images/01122025/11/50/image_01122025_11_50_46_10664.jpg
/home/pi/Desktop/images/01122025/11/50/image_01122025_11_50_55_9734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397201974","1397202066","1397202012","1397202120","1397202098","1397202137"],"photo_ids_order":["1397201974","1397202012","1397202066","1397202098","1397202120","1397202137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/08d385f038906d43060c7a3301a7257d.jpg","text":"TemporaryFile(/tmp/multipartBody5294990487568435987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587884243,"filename":"image_01122025_11_49_54_9896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4496f995a9b51da66b433e18ad2185d4.jpg","text":"TemporaryFile(/tmp/multipartBody2800770195522524224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587884243,"filename":"image_01122025_11_50_25_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f1c16eb5586e7c230e670395557c0c57.jpg","text":"TemporaryFile(/tmp/multipartBody6927358128113634500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587884243,"filename":"image_01122025_11_50_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/1/fff9d6d71b94c3248c6ad0ff779ecce3.jpg","text":"TemporaryFile(/tmp/multipartBody8397316681581112994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587884243,"filename":"image_01122025_11_50_46_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/1/5281dd603d596173531c8c637990853b.jpg","text":"TemporaryFile(/tmp/multipartBody5593128461624722521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587884243,"filename":"image_01122025_11_50_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/1/b3fff0ed26e191aa70ce0c05f79cdd23.jpg","text":"TemporaryFile(/tmp/multipartBody7170237192261662698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587884243,"filename":"image_01122025_11_50_55_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397202066","file1":"1397202012","file0":"1397201974","file4":"1397202120","file5":"1397202137","file3":"1397202098"},"map_files_photo_id_array":[{"photo_id":"1397202137","filename":"file5"},{"photo_id":"1397202066","filename":"file2"},{"photo_id":"1397202120","filename":"file4"},{"photo_id":"1397202012","filename":"file1"},{"photo_id":"1397201974","filename":"file0"},{"photo_id":"1397202098","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397201974":["hashtag1","hashtag2"]},{"1397202066":["hashtag1","hashtag2"]},{"1397202012":["hashtag1","hashtag2"]},{"1397202120":["hashtag1","hashtag2"]},{"1397202098":["hashtag1","hashtag2"]},{"1397202137":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397201974, 1397202066, 1397202012, 1397202120, 1397202098, 1397202137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.250932455062866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 12:17:42.782414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_38_2530.jpg', '/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_42_3791.jpg', '/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_44_2560.jpg', '/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_47_2766.jpg', '/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_51_3658.jpg', '/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_53_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_38_2530.jpg
/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_42_3791.jpg
/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_44_2560.jpg
/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_47_2766.jpg
/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_51_3658.jpg
/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_53_2625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397202232","1397202205","1397202208","1397202342","1397202287","1397202230"],"photo_ids_order":["1397202205","1397202208","1397202230","1397202232","1397202287","1397202342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/100d9344ad15145d13ed7566e500eef0.jpg","text":"TemporaryFile(/tmp/multipartBody3991975874810249473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587925409,"filename":"image_31102025_14_20_47_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/1/922c0dbd0135ced3c23a1f5b25a99482.jpg","text":"TemporaryFile(/tmp/multipartBody8756950051300971796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587925409,"filename":"image_31102025_14_20_38_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2999b1c46d68ab1c251be142f3d73025.jpg","text":"TemporaryFile(/tmp/multipartBody455471770993832516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587925409,"filename":"image_31102025_14_20_42_3791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9efa32f77c5651c8b17caf3e3433f05f.jpg","text":"TemporaryFile(/tmp/multipartBody4862762328307757483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587925409,"filename":"image_31102025_14_20_53_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/1/220125ce99d9dbbbfd6500a771281e5f.jpg","text":"TemporaryFile(/tmp/multipartBody4052526755656005566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587925409,"filename":"image_31102025_14_20_51_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/1/43d6d69fa8fc9ede9d2ae746aa8e11cb.jpg","text":"TemporaryFile(/tmp/multipartBody3356090978759962577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587925409,"filename":"image_31102025_14_20_44_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397202230","file1":"1397202208","file0":"1397202205","file4":"1397202287","file5":"1397202342","file3":"1397202232"},"map_files_photo_id_array":[{"photo_id":"1397202342","filename":"file5"},{"photo_id":"1397202230","filename":"file2"},{"photo_id":"1397202287","filename":"file4"},{"photo_id":"1397202208","filename":"file1"},{"photo_id":"1397202205","filename":"file0"},{"photo_id":"1397202232","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397202232":["hashtag1","hashtag2"]},{"1397202205":["hashtag1","hashtag2"]},{"1397202208":["hashtag1","hashtag2"]},{"1397202342":["hashtag1","hashtag2"]},{"1397202287":["hashtag1","hashtag2"]},{"1397202230":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397202232, 1397202205, 1397202208, 1397202342, 1397202287, 1397202230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.27487635612488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 12:18:32.073379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_11_3746.jpg', '/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_14_2976.jpg', '/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_17_2662.jpg', '/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_19_2674.jpg', '/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_23_3677.jpg', '/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_26_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_11_3746.jpg
/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_14_2976.jpg
/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_17_2662.jpg
/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_19_2674.jpg
/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_23_3677.jpg
/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_26_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":["1397202418","1397202427","1397202429","1397202414","1397202425","1397202422"],"photo_ids_order":["1397202414","1397202418","1397202422","1397202425","1397202427","1397202429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/78a6bf87783ff42ec01437b521a9003f.jpg","text":"TemporaryFile(/tmp/multipartBody8403462367770950679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587973915,"filename":"image_25112025_22_30_14_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/1/b94083ac9c24a064582004986f84f2b9.jpg","text":"TemporaryFile(/tmp/multipartBody3300793932185216864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587973915,"filename":"image_25112025_22_30_23_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/1/e7c5627ad66bd4093df10efa8a8d905d.jpg","text":"TemporaryFile(/tmp/multipartBody7711799534056674933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587973915,"filename":"image_25112025_22_30_26_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/1/8b740760892469fcb6e05d81ccae4380.jpg","text":"TemporaryFile(/tmp/multipartBody3655096860734656001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587973915,"filename":"image_25112025_22_30_11_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/1/6111cb2314484aea11da142ebe8b73f4.jpg","text":"TemporaryFile(/tmp/multipartBody4281241617239799175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587973915,"filename":"image_25112025_22_30_19_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/1/95a4ef16acb1f8a77ebc610ed2696979.jpg","text":"TemporaryFile(/tmp/multipartBody2881689851180781238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764587973915,"filename":"image_25112025_22_30_17_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397202422","file1":"1397202418","file0":"1397202414","file4":"1397202427","file5":"1397202429","file3":"1397202425"},"map_files_photo_id_array":[{"photo_id":"1397202429","filename":"file5"},{"photo_id":"1397202422","filename":"file2"},{"photo_id":"1397202427","filename":"file4"},{"photo_id":"1397202418","filename":"file1"},{"photo_id":"1397202414","filename":"file0"},{"photo_id":"1397202425","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397202418":["hashtag1","hashtag2"]},{"1397202427":["hashtag1","hashtag2"]},{"1397202429":["hashtag1","hashtag2"]},{"1397202414":["hashtag1","hashtag2"]},{"1397202425":["hashtag1","hashtag2"]},{"1397202422":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397202418, 1397202427, 1397202429, 1397202414, 1397202425, 1397202422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.503376483917236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 12:19:12.209117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_29_2797.jpg', '/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_32_3729.jpg', '/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_35_2612.jpg', '/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_37_2538.jpg', '/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_41_3511.jpg', '/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_44_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_29_2797.jpg
/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_32_3729.jpg
/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_35_2612.jpg
/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_37_2538.jpg
/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_41_3511.jpg
/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_44_2672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397202442","1397202430","1397202433","1397202459","1397202437","1397202431"],"photo_ids_order":["1397202430","1397202431","1397202433","1397202437","1397202442","1397202459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/37141569ba6e0b1cea7b6eaaaf6e54c1.jpg","text":"TemporaryFile(/tmp/multipartBody6563647573538858491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588013838,"filename":"image_25112025_22_30_41_3511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/10d0145a549742a9da0682372d4937ac.jpg","text":"TemporaryFile(/tmp/multipartBody8228125204740014553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588013838,"filename":"image_25112025_22_30_29_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/1/8733002b3ccfa50e93a5ff9d151e620b.jpg","text":"TemporaryFile(/tmp/multipartBody4922989720615122281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588013838,"filename":"image_25112025_22_30_35_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/1/90f74c597bce189d3d03e2a599aab64b.jpg","text":"TemporaryFile(/tmp/multipartBody5965646629661733230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588013838,"filename":"image_25112025_22_30_44_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/1/fa6d070293df481f4334161f8eee9ad5.jpg","text":"TemporaryFile(/tmp/multipartBody3135631042312364311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588013838,"filename":"image_25112025_22_30_37_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/1/0a6b828541042f744c52818365ea09b5.jpg","text":"TemporaryFile(/tmp/multipartBody586515304340435013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588013838,"filename":"image_25112025_22_30_32_3729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397202433","file1":"1397202431","file0":"1397202430","file4":"1397202442","file5":"1397202459","file3":"1397202437"},"map_files_photo_id_array":[{"photo_id":"1397202459","filename":"file5"},{"photo_id":"1397202433","filename":"file2"},{"photo_id":"1397202442","filename":"file4"},{"photo_id":"1397202431","filename":"file1"},{"photo_id":"1397202430","filename":"file0"},{"photo_id":"1397202437","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397202442":["hashtag1","hashtag2"]},{"1397202430":["hashtag1","hashtag2"]},{"1397202433":["hashtag1","hashtag2"]},{"1397202459":["hashtag1","hashtag2"]},{"1397202437":["hashtag1","hashtag2"]},{"1397202431":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397202442, 1397202430, 1397202433, 1397202459, 1397202437, 1397202431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.53007435798645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:20:02.661722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/50/image_01122025_11_51_05_9654.jpg', '/home/pi/Desktop/images/01122025/11/51/image_01122025_11_51_16_10663.jpg', '/home/pi/Desktop/images/01122025/11/51/image_01122025_11_51_25_9599.jpg', '/home/pi/Desktop/images/01122025/11/51/image_01122025_11_51_35_9611.jpg', '/home/pi/Desktop/images/01122025/11/51/image_01122025_11_51_45_9883.jpg', '/home/pi/Desktop/images/01122025/11/51/image_01122025_11_51_56_10769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/50/image_01122025_11_51_05_9654.jpg
/home/pi/Desktop/images/01122025/11/51/image_01122025_11_51_16_10663.jpg
/home/pi/Desktop/images/01122025/11/51/image_01122025_11_51_25_9599.jpg
/home/pi/Desktop/images/01122025/11/51/image_01122025_11_51_35_9611.jpg
/home/pi/Desktop/images/01122025/11/51/image_01122025_11_51_45_9883.jpg
/home/pi/Desktop/images/01122025/11/51/image_01122025_11_51_56_10769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397202640","1397202601","1397202555","1397202507","1397202473","1397202472"],"photo_ids_order":["1397202472","1397202473","1397202507","1397202555","1397202601","1397202640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a5b58d76018dac9681f2a3a3aba13a91.jpg","text":"TemporaryFile(/tmp/multipartBody4115468151960967516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588063340,"filename":"image_01122025_11_51_56_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/1/6a49fbde7bd67e7c7a8adb0523bc7ead.jpg","text":"TemporaryFile(/tmp/multipartBody7836906272175415517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588063340,"filename":"image_01122025_11_51_45_9883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/937269ae8f29ca99ffdef0037895a4fd.jpg","text":"TemporaryFile(/tmp/multipartBody799035505671284415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588063340,"filename":"image_01122025_11_51_35_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f02e42ecaa9e79908c98b59804df07c6.jpg","text":"TemporaryFile(/tmp/multipartBody8026241153275273893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588063340,"filename":"image_01122025_11_51_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/1/b3cc7bc05ef0b51165132362ec279864.jpg","text":"TemporaryFile(/tmp/multipartBody5939285155496307661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588063340,"filename":"image_01122025_11_51_16_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fe13d9b0dbb4b7e545fb02e692f012b9.jpg","text":"TemporaryFile(/tmp/multipartBody6219633733688207086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588063340,"filename":"image_01122025_11_51_05_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397202507","file1":"1397202473","file0":"1397202472","file4":"1397202601","file5":"1397202640","file3":"1397202555"},"map_files_photo_id_array":[{"photo_id":"1397202640","filename":"file5"},{"photo_id":"1397202507","filename":"file2"},{"photo_id":"1397202601","filename":"file4"},{"photo_id":"1397202473","filename":"file1"},{"photo_id":"1397202472","filename":"file0"},{"photo_id":"1397202555","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397202640":["hashtag1","hashtag2"]},{"1397202601":["hashtag1","hashtag2"]},{"1397202555":["hashtag1","hashtag2"]},{"1397202507":["hashtag1","hashtag2"]},{"1397202473":["hashtag1","hashtag2"]},{"1397202472":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397202640, 1397202601, 1397202555, 1397202507, 1397202473, 1397202472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4834406375885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 12:20:42.359828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_56_2706.jpg', '/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_59_2728.jpg', '/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_02_3639.jpg', '/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_05_2633.jpg', '/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_09_3596.jpg', '/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_11_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_56_2706.jpg
/home/pi/Desktop/images/31102025/14/20/image_31102025_14_20_59_2728.jpg
/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_02_3639.jpg
/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_05_2633.jpg
/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_09_3596.jpg
/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_11_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":["1397202887","1397202872","1397202866","1397202845","1397202803","1397202889"],"photo_ids_order":["1397202803","1397202845","1397202866","1397202872","1397202887","1397202889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/94a193422bb1a16316f0bd969200c9b6.jpg","text":"TemporaryFile(/tmp/multipartBody5999182963660907728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588104736,"filename":"image_31102025_14_21_09_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/1/454ced6e31f5cea8f43cfa18b835e34c.jpg","text":"TemporaryFile(/tmp/multipartBody6567531462714939319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588104736,"filename":"image_31102025_14_21_05_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/1/00d16c9a20a792ab04fdb293daa63135.jpg","text":"TemporaryFile(/tmp/multipartBody8370796940724583018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588104736,"filename":"image_31102025_14_21_02_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0c00e2fd6472a1e1c93cbc526f32005a.jpg","text":"TemporaryFile(/tmp/multipartBody8118459679013404254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588104736,"filename":"image_31102025_14_20_59_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/99dae04c7c39b97c9fd36ee40eadd4e7.jpg","text":"TemporaryFile(/tmp/multipartBody5168696246526567724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588104736,"filename":"image_31102025_14_20_56_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f6933e325586122b01814c14a50a42e6.jpg","text":"TemporaryFile(/tmp/multipartBody1347005590906822124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588104736,"filename":"image_31102025_14_21_11_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397202866","file1":"1397202845","file0":"1397202803","file4":"1397202887","file5":"1397202889","file3":"1397202872"},"map_files_photo_id_array":[{"photo_id":"1397202889","filename":"file5"},{"photo_id":"1397202866","filename":"file2"},{"photo_id":"1397202887","filename":"file4"},{"photo_id":"1397202845","filename":"file1"},{"photo_id":"1397202803","filename":"file0"},{"photo_id":"1397202872","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397202887":["hashtag1","hashtag2"]},{"1397202872":["hashtag1","hashtag2"]},{"1397202866":["hashtag1","hashtag2"]},{"1397202845":["hashtag1","hashtag2"]},{"1397202803":["hashtag1","hashtag2"]},{"1397202889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397202887, 1397202872, 1397202866, 1397202845, 1397202803, 1397202889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.947755098342896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 12:21:22.522829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/51/image_01122025_11_52_05_9574.jpg', '/home/pi/Desktop/images/01122025/11/52/image_01122025_11_52_15_9998.jpg', '/home/pi/Desktop/images/01122025/11/52/image_01122025_11_52_25_9727.jpg', '/home/pi/Desktop/images/01122025/11/52/image_01122025_11_52_36_10764.jpg', '/home/pi/Desktop/images/01122025/11/52/image_01122025_11_52_45_9634.jpg', '/home/pi/Desktop/images/01122025/11/52/image_01122025_11_52_55_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/51/image_01122025_11_52_05_9574.jpg
/home/pi/Desktop/images/01122025/11/52/image_01122025_11_52_15_9998.jpg
/home/pi/Desktop/images/01122025/11/52/image_01122025_11_52_25_9727.jpg
/home/pi/Desktop/images/01122025/11/52/image_01122025_11_52_36_10764.jpg
/home/pi/Desktop/images/01122025/11/52/image_01122025_11_52_45_9634.jpg
/home/pi/Desktop/images/01122025/11/52/image_01122025_11_52_55_9673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397202907","1397202954","1397202959","1397202950","1397202935","1397202923"],"photo_ids_order":["1397202907","1397202923","1397202935","1397202950","1397202954","1397202959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6ef6a48ec60c284ecd3ebdadf21315a2.jpg","text":"TemporaryFile(/tmp/multipartBody4997468228620126155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588143224,"filename":"image_01122025_11_52_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/1/7bb926f8dbc01a6a6616c717d23efcfe.jpg","text":"TemporaryFile(/tmp/multipartBody4339370895820438897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588143224,"filename":"image_01122025_11_52_45_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/50650158f5b9a2cd22d53c0a1b691b18.jpg","text":"TemporaryFile(/tmp/multipartBody5092864769055578152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588143224,"filename":"image_01122025_11_52_55_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/086aadb14e6b780d49115f43e47edd14.jpg","text":"TemporaryFile(/tmp/multipartBody473729015645925362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588143224,"filename":"image_01122025_11_52_36_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/1/bad1058f60553d38cff96f78fd295bda.jpg","text":"TemporaryFile(/tmp/multipartBody7132036588993325291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588143224,"filename":"image_01122025_11_52_25_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8ac1652ab1cbb25e242d981eabbd5d24.jpg","text":"TemporaryFile(/tmp/multipartBody3695482562814794598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588143224,"filename":"image_01122025_11_52_15_9998.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397202935","file1":"1397202923","file0":"1397202907","file4":"1397202954","file5":"1397202959","file3":"1397202950"},"map_files_photo_id_array":[{"photo_id":"1397202959","filename":"file5"},{"photo_id":"1397202935","filename":"file2"},{"photo_id":"1397202954","filename":"file4"},{"photo_id":"1397202923","filename":"file1"},{"photo_id":"1397202907","filename":"file0"},{"photo_id":"1397202950","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397202907":["hashtag1","hashtag2"]},{"1397202954":["hashtag1","hashtag2"]},{"1397202959":["hashtag1","hashtag2"]},{"1397202950":["hashtag1","hashtag2"]},{"1397202935":["hashtag1","hashtag2"]},{"1397202923":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397202907, 1397202954, 1397202959, 1397202950, 1397202935, 1397202923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.53939986228943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:22:03.068282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/52/image_01122025_11_53_06_10623.jpg', '/home/pi/Desktop/images/01122025/11/53/image_01122025_11_53_15_9683.jpg', '/home/pi/Desktop/images/01122025/11/53/image_01122025_11_53_25_9776.jpg', '/home/pi/Desktop/images/01122025/11/53/image_01122025_11_53_35_9748.jpg', '/home/pi/Desktop/images/01122025/11/53/image_01122025_11_53_45_10529.jpg', '/home/pi/Desktop/images/01122025/11/53/image_01122025_11_53_55_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/52/image_01122025_11_53_06_10623.jpg
/home/pi/Desktop/images/01122025/11/53/image_01122025_11_53_15_9683.jpg
/home/pi/Desktop/images/01122025/11/53/image_01122025_11_53_25_9776.jpg
/home/pi/Desktop/images/01122025/11/53/image_01122025_11_53_35_9748.jpg
/home/pi/Desktop/images/01122025/11/53/image_01122025_11_53_45_10529.jpg
/home/pi/Desktop/images/01122025/11/53/image_01122025_11_53_55_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397202970","1397202964","1397202967","1397202963","1397202962","1397202961"],"photo_ids_order":["1397202961","1397202962","1397202963","1397202964","1397202967","1397202970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6405f440704cdda1bfb9e684d7084fc6.jpg","text":"TemporaryFile(/tmp/multipartBody8491292365902059184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588183781,"filename":"image_01122025_11_53_55_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/253d59aa8b25e468bf0c474d44cff763.jpg","text":"TemporaryFile(/tmp/multipartBody7218836780157131777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588183781,"filename":"image_01122025_11_53_35_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6ba10166ddac95cf77277741aab12418.jpg","text":"TemporaryFile(/tmp/multipartBody4579235101364116049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588183781,"filename":"image_01122025_11_53_45_10529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a0ed802cdda365672c280cc7e22c24fa.jpg","text":"TemporaryFile(/tmp/multipartBody5507376295628666843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588183781,"filename":"image_01122025_11_53_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/1/b4acc83ac2a14556890082674f9a64b2.jpg","text":"TemporaryFile(/tmp/multipartBody4599524993974688992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588183781,"filename":"image_01122025_11_53_15_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3aa290d69fcd77e07704c0efd3386cd2.jpg","text":"TemporaryFile(/tmp/multipartBody1147173120355353934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588183781,"filename":"image_01122025_11_53_06_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397202963","file1":"1397202962","file0":"1397202961","file4":"1397202967","file5":"1397202970","file3":"1397202964"},"map_files_photo_id_array":[{"photo_id":"1397202970","filename":"file5"},{"photo_id":"1397202963","filename":"file2"},{"photo_id":"1397202967","filename":"file4"},{"photo_id":"1397202962","filename":"file1"},{"photo_id":"1397202961","filename":"file0"},{"photo_id":"1397202964","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397202970":["hashtag1","hashtag2"]},{"1397202964":["hashtag1","hashtag2"]},{"1397202967":["hashtag1","hashtag2"]},{"1397202963":["hashtag1","hashtag2"]},{"1397202962":["hashtag1","hashtag2"]},{"1397202961":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397202970, 1397202964, 1397202967, 1397202963, 1397202962, 1397202961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83480620384216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 12:22:42.707951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_14_2769.jpg', '/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_18_3655.jpg', '/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_23_2697.jpg', '/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_26_2690.jpg', '/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_29_3618.jpg', '/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_32_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_14_2769.jpg
/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_18_3655.jpg
/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_23_2697.jpg
/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_26_2690.jpg
/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_29_3618.jpg
/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_32_2685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397202990","1397202989","1397202983","1397202986","1397202991","1397202988"],"photo_ids_order":["1397202983","1397202986","1397202988","1397202989","1397202990","1397202991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0e574749e50d9a9b93217b34f2b04142.jpg","text":"TemporaryFile(/tmp/multipartBody979994864209303905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588225418,"filename":"image_31102025_14_21_29_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/aa7bf1311534eb81f8610bbfdbae19eb.jpg","text":"TemporaryFile(/tmp/multipartBody4084679345152969748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588225418,"filename":"image_31102025_14_21_26_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/1/b2c80618085369efaba947612cca79c3.jpg","text":"TemporaryFile(/tmp/multipartBody6148132139477871355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588225418,"filename":"image_31102025_14_21_14_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/1/df3a636497cd66a294f652679bbe5f84.jpg","text":"TemporaryFile(/tmp/multipartBody5823057863902476811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588225418,"filename":"image_31102025_14_21_18_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f04a8bccd1731395a1d37478ad799c48.jpg","text":"TemporaryFile(/tmp/multipartBody8601115392514313379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588225418,"filename":"image_31102025_14_21_32_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b4c50c1bc9b1f30d24f86ad53e208961.jpg","text":"TemporaryFile(/tmp/multipartBody2716673495435146379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588225418,"filename":"image_31102025_14_21_23_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397202988","file1":"1397202986","file0":"1397202983","file4":"1397202990","file5":"1397202991","file3":"1397202989"},"map_files_photo_id_array":[{"photo_id":"1397202991","filename":"file5"},{"photo_id":"1397202988","filename":"file2"},{"photo_id":"1397202990","filename":"file4"},{"photo_id":"1397202986","filename":"file1"},{"photo_id":"1397202983","filename":"file0"},{"photo_id":"1397202989","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397202990":["hashtag1","hashtag2"]},{"1397202989":["hashtag1","hashtag2"]},{"1397202983":["hashtag1","hashtag2"]},{"1397202986":["hashtag1","hashtag2"]},{"1397202991":["hashtag1","hashtag2"]},{"1397202988":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397202990, 1397202989, 1397202983, 1397202986, 1397202991, 1397202988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70408654212952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 12:23:24.906787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/53/image_01122025_11_54_06_10599.jpg', '/home/pi/Desktop/images/01122025/11/54/image_01122025_11_54_15_9776.jpg', '/home/pi/Desktop/images/01122025/11/54/image_01122025_11_54_25_9761.jpg', '/home/pi/Desktop/images/01122025/11/54/image_01122025_11_54_35_9641.jpg', '/home/pi/Desktop/images/01122025/11/54/image_01122025_11_54_46_10730.jpg', '/home/pi/Desktop/images/01122025/11/54/image_01122025_11_54_55_9532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/53/image_01122025_11_54_06_10599.jpg
/home/pi/Desktop/images/01122025/11/54/image_01122025_11_54_15_9776.jpg
/home/pi/Desktop/images/01122025/11/54/image_01122025_11_54_25_9761.jpg
/home/pi/Desktop/images/01122025/11/54/image_01122025_11_54_35_9641.jpg
/home/pi/Desktop/images/01122025/11/54/image_01122025_11_54_46_10730.jpg
/home/pi/Desktop/images/01122025/11/54/image_01122025_11_54_55_9532.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397203003","1397202996","1397202999","1397203011","1397203008","1397203013"],"photo_ids_order":["1397202996","1397202999","1397203003","1397203008","1397203011","1397203013"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ce37e2f218f683a06d643493298bdc24.jpg","text":"TemporaryFile(/tmp/multipartBody2724884671510137911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588265580,"filename":"image_01122025_11_54_25_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7c81702a8185f30e37bb1bb8e178a75d.jpg","text":"TemporaryFile(/tmp/multipartBody8456317784490056812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588265580,"filename":"image_01122025_11_54_06_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/1/3eb033b08278f6f1f2ba737202bbe572.jpg","text":"TemporaryFile(/tmp/multipartBody1848285277068822657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588265580,"filename":"image_01122025_11_54_15_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d902eef45be33a7ad8fd54948edef4cf.jpg","text":"TemporaryFile(/tmp/multipartBody6807739896136973069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588265580,"filename":"image_01122025_11_54_46_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/1/72356e0e0b71b11fb40b540b2fad28fc.jpg","text":"TemporaryFile(/tmp/multipartBody404600355500844907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588265580,"filename":"image_01122025_11_54_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/1/e8bd0d96cba54bf75feb7ef02c867db3.jpg","text":"TemporaryFile(/tmp/multipartBody1126442456352845872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588265580,"filename":"image_01122025_11_54_55_9532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397203003","file1":"1397202999","file0":"1397202996","file4":"1397203011","file5":"1397203013","file3":"1397203008"},"map_files_photo_id_array":[{"photo_id":"1397203013","filename":"file5"},{"photo_id":"1397203003","filename":"file2"},{"photo_id":"1397203011","filename":"file4"},{"photo_id":"1397202999","filename":"file1"},{"photo_id":"1397202996","filename":"file0"},{"photo_id":"1397203008","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397203003":["hashtag1","hashtag2"]},{"1397202996":["hashtag1","hashtag2"]},{"1397202999":["hashtag1","hashtag2"]},{"1397203011":["hashtag1","hashtag2"]},{"1397203008":["hashtag1","hashtag2"]},{"1397203013":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397203003, 1397202996, 1397202999, 1397203011, 1397203008, 1397203013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.380738258361816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 12:24:12.025438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_47_3665.jpg', '/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_50_2798.jpg', '/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_53_2717.jpg', '/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_56_3182.jpg', '/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_59_2728.jpg', '/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_05_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_47_3665.jpg
/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_50_2798.jpg
/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_53_2717.jpg
/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_56_3182.jpg
/home/pi/Desktop/images/25112025/22/30/image_25112025_22_30_59_2728.jpg
/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_05_3635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397203027","1397203062","1397203104","1397203148","1397203133","1397203028"],"photo_ids_order":["1397203027","1397203028","1397203062","1397203104","1397203133","1397203148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9b0294b03febb3f6bcf8fcca9ce25acd.jpg","text":"TemporaryFile(/tmp/multipartBody7540969118415843446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588313542,"filename":"image_25112025_22_30_47_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/1/99f3da1edb9b88bd328c133d84dab39e.jpg","text":"TemporaryFile(/tmp/multipartBody5853431643582366865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588313542,"filename":"image_25112025_22_30_53_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/1/0346037f14f31de3c92fcaf7696bced8.jpg","text":"TemporaryFile(/tmp/multipartBody273118111082957535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588313542,"filename":"image_25112025_22_30_56_3182.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/028c37fec7fbbe43b42991d963d26f2a.jpg","text":"TemporaryFile(/tmp/multipartBody1584129777332951487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588313542,"filename":"image_25112025_22_31_05_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/1/e5f475e82e7e2b4914f0811171c1c238.jpg","text":"TemporaryFile(/tmp/multipartBody8660690814593516026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588313542,"filename":"image_25112025_22_30_59_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/820a6d0089d91c2ad1537cd0b89a3f45.jpg","text":"TemporaryFile(/tmp/multipartBody7602175408606086298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588313542,"filename":"image_25112025_22_30_50_2798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397203062","file1":"1397203028","file0":"1397203027","file4":"1397203133","file5":"1397203148","file3":"1397203104"},"map_files_photo_id_array":[{"photo_id":"1397203148","filename":"file5"},{"photo_id":"1397203062","filename":"file2"},{"photo_id":"1397203133","filename":"file4"},{"photo_id":"1397203028","filename":"file1"},{"photo_id":"1397203027","filename":"file0"},{"photo_id":"1397203104","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397203027":["hashtag1","hashtag2"]},{"1397203062":["hashtag1","hashtag2"]},{"1397203104":["hashtag1","hashtag2"]},{"1397203148":["hashtag1","hashtag2"]},{"1397203133":["hashtag1","hashtag2"]},{"1397203028":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397203027, 1397203062, 1397203104, 1397203148, 1397203133, 1397203028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9120979309082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:25:02.985063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/55/image_01122025_11_55_15_10057.jpg', '/home/pi/Desktop/images/01122025/11/55/image_01122025_11_55_25_10681.jpg', '/home/pi/Desktop/images/01122025/11/55/image_01122025_11_55_35_9528.jpg', '/home/pi/Desktop/images/01122025/11/55/image_01122025_11_55_44_9748.jpg', '/home/pi/Desktop/images/01122025/11/55/image_01122025_11_55_55_10583.jpg', '/home/pi/Desktop/images/01122025/11/55/image_01122025_11_56_05_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/55/image_01122025_11_55_15_10057.jpg
/home/pi/Desktop/images/01122025/11/55/image_01122025_11_55_25_10681.jpg
/home/pi/Desktop/images/01122025/11/55/image_01122025_11_55_35_9528.jpg
/home/pi/Desktop/images/01122025/11/55/image_01122025_11_55_44_9748.jpg
/home/pi/Desktop/images/01122025/11/55/image_01122025_11_55_55_10583.jpg
/home/pi/Desktop/images/01122025/11/55/image_01122025_11_56_05_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":["1397203231","1397203210","1397203233","1397203227","1397203214","1397203261"],"photo_ids_order":["1397203210","1397203214","1397203227","1397203231","1397203233","1397203261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7c2894575cc1e6b7bec5011d063548f2.jpg","text":"TemporaryFile(/tmp/multipartBody153467156918856141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588363723,"filename":"image_01122025_11_55_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/1/661ea8837c05aae933bdf657c96bf410.jpg","text":"TemporaryFile(/tmp/multipartBody7780486198284238424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588363723,"filename":"image_01122025_11_55_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/1/4a9a625eb6410091d564f720c2374a16.jpg","text":"TemporaryFile(/tmp/multipartBody7221710518842067721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588363723,"filename":"image_01122025_11_55_55_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8686b3e3b473f94a6077975bdf9e650f.jpg","text":"TemporaryFile(/tmp/multipartBody3052215276425880154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588363723,"filename":"image_01122025_11_55_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/1/db253f5e71f55a7c5da8bc5238fb2fa7.jpg","text":"TemporaryFile(/tmp/multipartBody8306743439147325280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588363723,"filename":"image_01122025_11_55_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/1/ba667b611ceeccaf7c2f45445cbcc0d9.jpg","text":"TemporaryFile(/tmp/multipartBody442903162876973051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588363723,"filename":"image_01122025_11_56_05_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397203227","file1":"1397203214","file0":"1397203210","file4":"1397203233","file5":"1397203261","file3":"1397203231"},"map_files_photo_id_array":[{"photo_id":"1397203261","filename":"file5"},{"photo_id":"1397203227","filename":"file2"},{"photo_id":"1397203233","filename":"file4"},{"photo_id":"1397203214","filename":"file1"},{"photo_id":"1397203210","filename":"file0"},{"photo_id":"1397203231","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397203231":["hashtag1","hashtag2"]},{"1397203210":["hashtag1","hashtag2"]},{"1397203233":["hashtag1","hashtag2"]},{"1397203227":["hashtag1","hashtag2"]},{"1397203214":["hashtag1","hashtag2"]},{"1397203261":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397203231, 1397203210, 1397203233, 1397203227, 1397203214, 1397203261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75737929344177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 12:25:42.262898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_35_2780.jpg', '/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_39_3665.jpg', '/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_41_2615.jpg', '/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_44_2887.jpg', '/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_47_2574.jpg', '/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_50_3726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_35_2780.jpg
/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_39_3665.jpg
/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_41_2615.jpg
/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_44_2887.jpg
/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_47_2574.jpg
/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_50_3726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397203272","1397203347","1397203335","1397203346","1397203297","1397203348"],"photo_ids_order":["1397203272","1397203297","1397203335","1397203346","1397203347","1397203348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0d2746fd5d90a9537b400c46030f480e.jpg","text":"TemporaryFile(/tmp/multipartBody1773445433446072002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588404926,"filename":"image_31102025_14_21_35_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3d3c0bffc792dc2e6ebdd344eacf5cf0.jpg","text":"TemporaryFile(/tmp/multipartBody5759928239915477071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588404926,"filename":"image_31102025_14_21_47_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b76565d5dd040a4fccca3650246c8a74.jpg","text":"TemporaryFile(/tmp/multipartBody2655000545211265567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588404926,"filename":"image_31102025_14_21_41_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5595c4a86b125e49df535a2c8100ca29.jpg","text":"TemporaryFile(/tmp/multipartBody968262474771284011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588404926,"filename":"image_31102025_14_21_44_2887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c53da07592f29afc0074fe48e19486db.jpg","text":"TemporaryFile(/tmp/multipartBody6357791266376350404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588404926,"filename":"image_31102025_14_21_39_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/1/495fff891b961490260e2b1792a37a76.jpg","text":"TemporaryFile(/tmp/multipartBody6861207885304519834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588404926,"filename":"image_31102025_14_21_50_3726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397203335","file1":"1397203297","file0":"1397203272","file4":"1397203347","file5":"1397203348","file3":"1397203346"},"map_files_photo_id_array":[{"photo_id":"1397203348","filename":"file5"},{"photo_id":"1397203335","filename":"file2"},{"photo_id":"1397203347","filename":"file4"},{"photo_id":"1397203297","filename":"file1"},{"photo_id":"1397203272","filename":"file0"},{"photo_id":"1397203346","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397203272":["hashtag1","hashtag2"]},{"1397203347":["hashtag1","hashtag2"]},{"1397203335":["hashtag1","hashtag2"]},{"1397203346":["hashtag1","hashtag2"]},{"1397203297":["hashtag1","hashtag2"]},{"1397203348":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397203272, 1397203347, 1397203335, 1397203346, 1397203297, 1397203348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.250592947006226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 12:26:22.497572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/56/image_01122025_11_56_15_9708.jpg', '/home/pi/Desktop/images/01122025/11/56/image_01122025_11_56_25_10668.jpg', '/home/pi/Desktop/images/01122025/11/56/image_01122025_11_56_35_9611.jpg', '/home/pi/Desktop/images/01122025/11/56/image_01122025_11_56_44_9684.jpg', '/home/pi/Desktop/images/01122025/11/56/image_01122025_11_56_55_10655.jpg', '/home/pi/Desktop/images/01122025/11/56/image_01122025_11_57_05_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/56/image_01122025_11_56_15_9708.jpg
/home/pi/Desktop/images/01122025/11/56/image_01122025_11_56_25_10668.jpg
/home/pi/Desktop/images/01122025/11/56/image_01122025_11_56_35_9611.jpg
/home/pi/Desktop/images/01122025/11/56/image_01122025_11_56_44_9684.jpg
/home/pi/Desktop/images/01122025/11/56/image_01122025_11_56_55_10655.jpg
/home/pi/Desktop/images/01122025/11/56/image_01122025_11_57_05_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":["1397203371","1397203367","1397203355","1397203352","1397203363","1397203360"],"photo_ids_order":["1397203352","1397203355","1397203360","1397203363","1397203367","1397203371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/80a02b366f75bb0b373fd5e75d0b205b.jpg","text":"TemporaryFile(/tmp/multipartBody3282541821508594715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588443200,"filename":"image_01122025_11_57_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/1/ce1f91f7f47b231193ab2f3f4299ee81.jpg","text":"TemporaryFile(/tmp/multipartBody4165546944078414531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588443200,"filename":"image_01122025_11_56_55_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c1c36475c758bf5c0e761f3ff5baf695.jpg","text":"TemporaryFile(/tmp/multipartBody4938511299223717326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588443200,"filename":"image_01122025_11_56_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/1/ace42f5378ab5eb3df444f4c712c09d1.jpg","text":"TemporaryFile(/tmp/multipartBody3331869474736641349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588443200,"filename":"image_01122025_11_56_15_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/12cdf3c52208c86abb5e54b050c483f9.jpg","text":"TemporaryFile(/tmp/multipartBody7064709110518691102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588443200,"filename":"image_01122025_11_56_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/1/5b165498568ddf8bcaa262be49cd122b.jpg","text":"TemporaryFile(/tmp/multipartBody8499532056513974310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588443200,"filename":"image_01122025_11_56_35_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397203360","file1":"1397203355","file0":"1397203352","file4":"1397203367","file5":"1397203371","file3":"1397203363"},"map_files_photo_id_array":[{"photo_id":"1397203371","filename":"file5"},{"photo_id":"1397203360","filename":"file2"},{"photo_id":"1397203367","filename":"file4"},{"photo_id":"1397203355","filename":"file1"},{"photo_id":"1397203352","filename":"file0"},{"photo_id":"1397203363","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397203371":["hashtag1","hashtag2"]},{"1397203367":["hashtag1","hashtag2"]},{"1397203355":["hashtag1","hashtag2"]},{"1397203352":["hashtag1","hashtag2"]},{"1397203363":["hashtag1","hashtag2"]},{"1397203360":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397203371, 1397203367, 1397203355, 1397203352, 1397203363, 1397203360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93666934967041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:27:03.194154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/57/image_01122025_11_57_15_10577.jpg', '/home/pi/Desktop/images/01122025/11/57/image_01122025_11_57_25_9673.jpg', '/home/pi/Desktop/images/01122025/11/57/image_01122025_11_57_35_9574.jpg', '/home/pi/Desktop/images/01122025/11/57/image_01122025_11_57_45_10624.jpg', '/home/pi/Desktop/images/01122025/11/57/image_01122025_11_57_55_9550.jpg', '/home/pi/Desktop/images/01122025/11/57/image_01122025_11_58_05_9812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/57/image_01122025_11_57_15_10577.jpg
/home/pi/Desktop/images/01122025/11/57/image_01122025_11_57_25_9673.jpg
/home/pi/Desktop/images/01122025/11/57/image_01122025_11_57_35_9574.jpg
/home/pi/Desktop/images/01122025/11/57/image_01122025_11_57_45_10624.jpg
/home/pi/Desktop/images/01122025/11/57/image_01122025_11_57_55_9550.jpg
/home/pi/Desktop/images/01122025/11/57/image_01122025_11_58_05_9812.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397203392","1397203391","1397203394","1397203396","1397203400","1397203393"],"photo_ids_order":["1397203391","1397203392","1397203393","1397203394","1397203396","1397203400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/31af829541c1bef995f78e4251d44b3a.jpg","text":"TemporaryFile(/tmp/multipartBody8639383263013281189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588483945,"filename":"image_01122025_11_57_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/1/ffd9b22a9d98738f7de5649dd6864fdc.jpg","text":"TemporaryFile(/tmp/multipartBody4368644760019219532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588483945,"filename":"image_01122025_11_57_15_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a938eb4998d1b8d9ac67e90615503d93.jpg","text":"TemporaryFile(/tmp/multipartBody5508078637655004370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588483945,"filename":"image_01122025_11_57_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/1/e30d8370cb39bf3652662384dc32b5c5.jpg","text":"TemporaryFile(/tmp/multipartBody1380674066820846767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588483945,"filename":"image_01122025_11_57_55_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/1/b0a16140bcf209c9092b58820c5e9cc9.jpg","text":"TemporaryFile(/tmp/multipartBody1217939554747729223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588483945,"filename":"image_01122025_11_58_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/1/9a909d35b1d384c8ee7f5181cc3b4b95.jpg","text":"TemporaryFile(/tmp/multipartBody4381313284836147979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588483945,"filename":"image_01122025_11_57_35_9574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397203393","file1":"1397203392","file0":"1397203391","file4":"1397203396","file5":"1397203400","file3":"1397203394"},"map_files_photo_id_array":[{"photo_id":"1397203400","filename":"file5"},{"photo_id":"1397203393","filename":"file2"},{"photo_id":"1397203396","filename":"file4"},{"photo_id":"1397203392","filename":"file1"},{"photo_id":"1397203391","filename":"file0"},{"photo_id":"1397203394","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397203392":["hashtag1","hashtag2"]},{"1397203391":["hashtag1","hashtag2"]},{"1397203394":["hashtag1","hashtag2"]},{"1397203396":["hashtag1","hashtag2"]},{"1397203400":["hashtag1","hashtag2"]},{"1397203393":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397203392, 1397203391, 1397203394, 1397203396, 1397203400, 1397203393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8363573551178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 12:27:42.702608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_53_2670.jpg', '/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_56_2710.jpg', '/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_59_3610.jpg', '/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_02_2779.jpg', '/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_05_2727.jpg', '/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_08_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_53_2670.jpg
/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_56_2710.jpg
/home/pi/Desktop/images/31102025/14/21/image_31102025_14_21_59_3610.jpg
/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_02_2779.jpg
/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_05_2727.jpg
/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_08_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":["1397203417","1397203419","1397203421","1397203412","1397203415","1397203420"],"photo_ids_order":["1397203412","1397203415","1397203417","1397203419","1397203420","1397203421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1598c233073028dc2a2bb33ed1bcee56.jpg","text":"TemporaryFile(/tmp/multipartBody3622321038545399214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588525372,"filename":"image_31102025_14_21_59_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/1/84b105119f88dd71b3d664480a215403.jpg","text":"TemporaryFile(/tmp/multipartBody8322770809353831163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588525372,"filename":"image_31102025_14_22_02_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f4c561f132c581ec0902d749cba91040.jpg","text":"TemporaryFile(/tmp/multipartBody3332539992766317031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588525372,"filename":"image_31102025_14_22_08_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/1/342ae7c7096f999dbd72a5179198a3c1.jpg","text":"TemporaryFile(/tmp/multipartBody8816053260499502707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588525372,"filename":"image_31102025_14_21_53_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/1/bb0dc9cc2aef214c97c53c8a1f2d1595.jpg","text":"TemporaryFile(/tmp/multipartBody1542735885437951894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588525372,"filename":"image_31102025_14_21_56_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/1/1f66e298f0f7e6618fafa0bdf463db1f.jpg","text":"TemporaryFile(/tmp/multipartBody7217640939607980009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588525372,"filename":"image_31102025_14_22_05_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397203417","file1":"1397203415","file0":"1397203412","file4":"1397203420","file5":"1397203421","file3":"1397203419"},"map_files_photo_id_array":[{"photo_id":"1397203421","filename":"file5"},{"photo_id":"1397203417","filename":"file2"},{"photo_id":"1397203420","filename":"file4"},{"photo_id":"1397203415","filename":"file1"},{"photo_id":"1397203412","filename":"file0"},{"photo_id":"1397203419","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397203417":["hashtag1","hashtag2"]},{"1397203419":["hashtag1","hashtag2"]},{"1397203421":["hashtag1","hashtag2"]},{"1397203412":["hashtag1","hashtag2"]},{"1397203415":["hashtag1","hashtag2"]},{"1397203420":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397203417, 1397203419, 1397203421, 1397203412, 1397203415, 1397203420)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.57260513305664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 12:28:31.924653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_08_2726.jpg', '/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_11_2772.jpg', '/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_14_3560.jpg', '/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_17_2678.jpg', '/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_20_2854.jpg', '/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_22_2554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_08_2726.jpg
/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_11_2772.jpg
/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_14_3560.jpg
/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_17_2678.jpg
/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_20_2854.jpg
/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_22_2554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397203443","1397203446","1397203431","1397203439","1397203444","1397203435"],"photo_ids_order":["1397203431","1397203435","1397203439","1397203443","1397203444","1397203446"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/694325d11012ce49efab2a41f30967d1.jpg","text":"TemporaryFile(/tmp/multipartBody2946666188720533702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588573693,"filename":"image_25112025_22_31_17_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/1/e356c472380829506da416dfe259e643.jpg","text":"TemporaryFile(/tmp/multipartBody8633658045962308020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588573693,"filename":"image_25112025_22_31_22_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d6352e0a06fbb8e103cafe815a48ff30.jpg","text":"TemporaryFile(/tmp/multipartBody4548004591112158906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588573693,"filename":"image_25112025_22_31_08_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8f46f24034c4e9c9c979d79edd144100.jpg","text":"TemporaryFile(/tmp/multipartBody5826400484971488750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588573693,"filename":"image_25112025_22_31_14_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/1/0b6ceb2b6092d896c50418732f5fb174.jpg","text":"TemporaryFile(/tmp/multipartBody8294990416084200599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588573693,"filename":"image_25112025_22_31_20_2854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e25887633f6fb2e6ff6f4d6a669f662f.jpg","text":"TemporaryFile(/tmp/multipartBody651650136526919444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588573693,"filename":"image_25112025_22_31_11_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397203439","file1":"1397203435","file0":"1397203431","file4":"1397203444","file5":"1397203446","file3":"1397203443"},"map_files_photo_id_array":[{"photo_id":"1397203446","filename":"file5"},{"photo_id":"1397203439","filename":"file2"},{"photo_id":"1397203444","filename":"file4"},{"photo_id":"1397203435","filename":"file1"},{"photo_id":"1397203431","filename":"file0"},{"photo_id":"1397203443","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397203443":["hashtag1","hashtag2"]},{"1397203446":["hashtag1","hashtag2"]},{"1397203431":["hashtag1","hashtag2"]},{"1397203439":["hashtag1","hashtag2"]},{"1397203444":["hashtag1","hashtag2"]},{"1397203435":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397203443, 1397203446, 1397203431, 1397203439, 1397203444, 1397203435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64491653442383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 12:29:12.127470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_26_3624.jpg', '/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_28_2527.jpg', '/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_32_3552.jpg', '/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_35_2702.jpg', '/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_37_2648.jpg', '/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_41_3726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_26_3624.jpg
/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_28_2527.jpg
/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_32_3552.jpg
/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_35_2702.jpg
/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_37_2648.jpg
/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_41_3726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397203455","1397203449","1397203457","1397203451","1397203453","1397203447"],"photo_ids_order":["1397203447","1397203449","1397203451","1397203453","1397203455","1397203457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1a6f3632cc240c477fd58b123084e03c.jpg","text":"TemporaryFile(/tmp/multipartBody8603538406440432336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588613782,"filename":"image_25112025_22_31_37_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/1/82c1a5bdd8af55d856cb6afbbb46670c.jpg","text":"TemporaryFile(/tmp/multipartBody4584969418671063474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588613782,"filename":"image_25112025_22_31_28_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4afb135aad336b889c2ae8da368e8ba1.jpg","text":"TemporaryFile(/tmp/multipartBody2235679143224107170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588613782,"filename":"image_25112025_22_31_41_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4ed55a8bc5033cd80c471521836a05ca.jpg","text":"TemporaryFile(/tmp/multipartBody3593217703802799383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588613782,"filename":"image_25112025_22_31_32_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/1/7be1c3aed6b8051472da8de44996d35a.jpg","text":"TemporaryFile(/tmp/multipartBody8747970636847577555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588613782,"filename":"image_25112025_22_31_35_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/1/d33a46bc425e9163a05063052f98c03e.jpg","text":"TemporaryFile(/tmp/multipartBody568083995647187800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588613782,"filename":"image_25112025_22_31_26_3624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397203451","file1":"1397203449","file0":"1397203447","file4":"1397203455","file5":"1397203457","file3":"1397203453"},"map_files_photo_id_array":[{"photo_id":"1397203457","filename":"file5"},{"photo_id":"1397203451","filename":"file2"},{"photo_id":"1397203455","filename":"file4"},{"photo_id":"1397203449","filename":"file1"},{"photo_id":"1397203447","filename":"file0"},{"photo_id":"1397203453","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397203455":["hashtag1","hashtag2"]},{"1397203449":["hashtag1","hashtag2"]},{"1397203457":["hashtag1","hashtag2"]},{"1397203451":["hashtag1","hashtag2"]},{"1397203453":["hashtag1","hashtag2"]},{"1397203447":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397203455, 1397203449, 1397203457, 1397203451, 1397203453, 1397203447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13336658477783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:30:02.601084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_15_10689.jpg', '/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_25_9665.jpg', '/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_34_9556.jpg', '/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_45_10672.jpg', '/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_55_9740.jpg', '/home/pi/Desktop/images/01122025/11/58/image_01122025_11_59_05_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_15_10689.jpg
/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_25_9665.jpg
/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_34_9556.jpg
/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_45_10672.jpg
/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_55_9740.jpg
/home/pi/Desktop/images/01122025/11/58/image_01122025_11_59_05_9729.jpg
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>8bi5538m2</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>8bi5538m2</strong>.
uploaded 0 photos
time to upload: 0.6714894771575928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 12:30:12.149448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_44_2692.jpg', '/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_46_2729.jpg', '/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_50_3619.jpg', '/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_59_3609.jpg', '/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_02_2513.jpg', '/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_05_3523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_44_2692.jpg
/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_46_2729.jpg
/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_50_3619.jpg
/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_59_3609.jpg
/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_02_2513.jpg
/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_05_3523.jpg
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>8bi553o52</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>8bi553o52</strong>.
uploaded 0 photos
time to upload: 1.3970930576324463 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 12:30:22.208133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_15_10689.jpg', '/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_25_9665.jpg', '/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_34_9556.jpg', '/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_45_10672.jpg', '/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_55_9740.jpg', '/home/pi/Desktop/images/01122025/11/58/image_01122025_11_59_05_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_15_10689.jpg
/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_25_9665.jpg
/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_34_9556.jpg
/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_45_10672.jpg
/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_55_9740.jpg
/home/pi/Desktop/images/01122025/11/58/image_01122025_11_59_05_9729.jpg
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>8bi554c0c</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>8bi554c0c</strong>.
uploaded 0 photos
time to upload: 0.5966813564300537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 12:30:32.245755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_44_2692.jpg', '/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_46_2729.jpg', '/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_50_3619.jpg', '/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_59_3609.jpg', '/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_02_2513.jpg', '/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_05_3523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_44_2692.jpg
/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_46_2729.jpg
/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_50_3619.jpg
/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_59_3609.jpg
/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_02_2513.jpg
/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_05_3523.jpg
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>8bi55522p</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>8bi55522p</strong>.
uploaded 0 photos
time to upload: 1.5349133014678955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 12:30:42.250621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_11_3787.jpg', '/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_14_2542.jpg', '/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_17_2605.jpg', '/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_20_3843.jpg', '/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_23_2728.jpg', '/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_26_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_11_3787.jpg
/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_14_2542.jpg
/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_17_2605.jpg
/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_20_3843.jpg
/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_23_2728.jpg
/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_26_2707.jpg
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>8bi555i8m</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>8bi555i8m</strong>.
uploaded 0 photos
time to upload: 2.5433385372161865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:31:03.117318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_15_10689.jpg', '/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_25_9665.jpg', '/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_34_9556.jpg', '/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_45_10672.jpg', '/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_55_9740.jpg', '/home/pi/Desktop/images/01122025/11/58/image_01122025_11_59_05_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_15_10689.jpg
/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_25_9665.jpg
/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_34_9556.jpg
/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_45_10672.jpg
/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_55_9740.jpg
/home/pi/Desktop/images/01122025/11/58/image_01122025_11_59_05_9729.jpg
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>8bi556kd4</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>8bi556kd4</strong>.
uploaded 0 photos
time to upload: 0.6755657196044922 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/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-01 12:31:22.337271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_44_2692.jpg', '/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_46_2729.jpg', '/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_50_3619.jpg', '/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_59_3609.jpg', '/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_02_2513.jpg', '/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_05_3523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_44_2692.jpg
/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_46_2729.jpg
/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_50_3619.jpg
/home/pi/Desktop/images/25112025/22/31/image_25112025_22_31_59_3609.jpg
/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_02_2513.jpg
/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_05_3523.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397203615","1397203609","1397203626","1397203619","1397203610","1397203612"],"photo_ids_order":["1397203609","1397203610","1397203612","1397203615","1397203619","1397203626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f2c021aa1f92c040697d7f6e24d11c38.jpg","text":"TemporaryFile(/tmp/multipartBody7845654320523031181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588744494,"filename":"image_25112025_22_31_59_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/1/18830dd32c72f6b5c401677781569d77.jpg","text":"TemporaryFile(/tmp/multipartBody4661798675865111928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588744494,"filename":"image_25112025_22_31_44_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/1/b31280d8bb7be11bf8b66a5281675fca.jpg","text":"TemporaryFile(/tmp/multipartBody7870527411303308272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588744494,"filename":"image_25112025_22_32_05_3523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/833bbbc9489e1a57a3ddfc83ce276956.jpg","text":"TemporaryFile(/tmp/multipartBody1591658417117934227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588744494,"filename":"image_25112025_22_32_02_2513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9af3471a44e5d1978c3b9fca819d1fcf.jpg","text":"TemporaryFile(/tmp/multipartBody6239807437119868647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588744494,"filename":"image_25112025_22_31_46_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/1/f8b0ffd32a42ffb71f4a03e664652ba7.jpg","text":"TemporaryFile(/tmp/multipartBody8238018117625367913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588744494,"filename":"image_25112025_22_31_50_3619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397203612","file1":"1397203610","file0":"1397203609","file4":"1397203619","file5":"1397203626","file3":"1397203615"},"map_files_photo_id_array":[{"photo_id":"1397203626","filename":"file5"},{"photo_id":"1397203612","filename":"file2"},{"photo_id":"1397203619","filename":"file4"},{"photo_id":"1397203610","filename":"file1"},{"photo_id":"1397203609","filename":"file0"},{"photo_id":"1397203615","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397203615":["hashtag1","hashtag2"]},{"1397203609":["hashtag1","hashtag2"]},{"1397203626":["hashtag1","hashtag2"]},{"1397203619":["hashtag1","hashtag2"]},{"1397203610":["hashtag1","hashtag2"]},{"1397203612":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397203615, 1397203609, 1397203626, 1397203619, 1397203610, 1397203612)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.311805725097656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 12:32:17.282054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_08_2617.jpg', '/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_10_2630.jpg', '/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_14_3577.jpg', '/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_28_14241.jpg', '/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_30_1584.jpg', '/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_40_10253.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_08_2617.jpg
/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_10_2630.jpg
/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_14_3577.jpg
/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_28_14241.jpg
/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_30_1584.jpg
/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_40_10253.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397203656","1397203659","1397203644","1397203652","1397203646","1397203649"],"photo_ids_order":["1397203644","1397203646","1397203649","1397203652","1397203656","1397203659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8925711732fa08b2da375ec2c67777ea.jpg","text":"TemporaryFile(/tmp/multipartBody4074599303126789067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588798839,"filename":"image_25112025_22_32_30_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/1/00de33c1659062c9d0ad079fc24624f1.jpg","text":"TemporaryFile(/tmp/multipartBody7069237641870689622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588798839,"filename":"image_25112025_22_32_40_10253.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d94a41e1bbaa5d62be5ad570a315b58f.jpg","text":"TemporaryFile(/tmp/multipartBody1477969350270526788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588798839,"filename":"image_25112025_22_32_08_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/1/fd49d3c4d5d57498cd1faa400d8a6fa1.jpg","text":"TemporaryFile(/tmp/multipartBody6565959195967200878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588798839,"filename":"image_25112025_22_32_28_14241.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/21ddeee85afe8d4cae6fcd45168070d6.jpg","text":"TemporaryFile(/tmp/multipartBody5252096410811598757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588798839,"filename":"image_25112025_22_32_10_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/779bf0f46d2814c680795550727f0a61.jpg","text":"TemporaryFile(/tmp/multipartBody5990672091615935618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588798839,"filename":"image_25112025_22_32_14_3577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397203649","file1":"1397203646","file0":"1397203644","file4":"1397203656","file5":"1397203659","file3":"1397203652"},"map_files_photo_id_array":[{"photo_id":"1397203659","filename":"file5"},{"photo_id":"1397203649","filename":"file2"},{"photo_id":"1397203656","filename":"file4"},{"photo_id":"1397203646","filename":"file1"},{"photo_id":"1397203644","filename":"file0"},{"photo_id":"1397203652","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397203656":["hashtag1","hashtag2"]},{"1397203659":["hashtag1","hashtag2"]},{"1397203644":["hashtag1","hashtag2"]},{"1397203652":["hashtag1","hashtag2"]},{"1397203646":["hashtag1","hashtag2"]},{"1397203649":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397203656, 1397203659, 1397203644, 1397203652, 1397203646, 1397203649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06131672859192 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:33:03.230499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_15_10689.jpg', '/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_25_9665.jpg', '/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_34_9556.jpg', '/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_45_10672.jpg', '/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_55_9740.jpg', '/home/pi/Desktop/images/01122025/11/58/image_01122025_11_59_05_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_15_10689.jpg
/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_25_9665.jpg
/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_34_9556.jpg
/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_45_10672.jpg
/home/pi/Desktop/images/01122025/11/58/image_01122025_11_58_55_9740.jpg
/home/pi/Desktop/images/01122025/11/58/image_01122025_11_59_05_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":["1397203698","1397203689","1397203680","1397203682","1397203685","1397203678"],"photo_ids_order":["1397203678","1397203680","1397203682","1397203685","1397203689","1397203698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b3d051f7da8a6da1aafabe0ec2dba32a.jpg","text":"TemporaryFile(/tmp/multipartBody3565654395426154057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588844033,"filename":"image_01122025_11_59_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/1/f14287467ab371a02c5d724062134e88.jpg","text":"TemporaryFile(/tmp/multipartBody8625454907426312579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588844033,"filename":"image_01122025_11_58_55_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4c07f7e4babd5dbe210223091eca3e36.jpg","text":"TemporaryFile(/tmp/multipartBody7247940222092401500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588844033,"filename":"image_01122025_11_58_25_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5c17577ffc6a83c96fa9be03387e0069.jpg","text":"TemporaryFile(/tmp/multipartBody8374516693575932554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588844033,"filename":"image_01122025_11_58_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/1/e79bc38ce43fb9b23efa4a7e0cbbcbce.jpg","text":"TemporaryFile(/tmp/multipartBody2020359186381294265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588844033,"filename":"image_01122025_11_58_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/1/aa3841056fd7df6f08c4e92f153ef43e.jpg","text":"TemporaryFile(/tmp/multipartBody6287903300896678641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588844033,"filename":"image_01122025_11_58_15_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397203682","file1":"1397203680","file0":"1397203678","file4":"1397203689","file5":"1397203698","file3":"1397203685"},"map_files_photo_id_array":[{"photo_id":"1397203698","filename":"file5"},{"photo_id":"1397203682","filename":"file2"},{"photo_id":"1397203689","filename":"file4"},{"photo_id":"1397203680","filename":"file1"},{"photo_id":"1397203678","filename":"file0"},{"photo_id":"1397203685","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397203698":["hashtag1","hashtag2"]},{"1397203689":["hashtag1","hashtag2"]},{"1397203680":["hashtag1","hashtag2"]},{"1397203682":["hashtag1","hashtag2"]},{"1397203685":["hashtag1","hashtag2"]},{"1397203678":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397203698, 1397203689, 1397203680, 1397203682, 1397203685, 1397203678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.200430393218994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 12:33:42.915363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_11_3787.jpg', '/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_14_2542.jpg', '/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_17_2605.jpg', '/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_20_3843.jpg', '/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_23_2728.jpg', '/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_26_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_11_3787.jpg
/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_14_2542.jpg
/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_17_2605.jpg
/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_20_3843.jpg
/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_23_2728.jpg
/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_26_2707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397203729","1397203801","1397203875","1397203838","1397203765","1397203924"],"photo_ids_order":["1397203729","1397203765","1397203801","1397203838","1397203875","1397203924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/85ed28aa79a8d2838775f89214ef217d.jpg","text":"TemporaryFile(/tmp/multipartBody3580022207741630659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588885434,"filename":"image_31102025_14_22_11_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/1/4d3c0eaa90641d9a138d0d7520e16ee9.jpg","text":"TemporaryFile(/tmp/multipartBody7832486496758664749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588885434,"filename":"image_31102025_14_22_17_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/1/dbf1393f846ffb8b7c737beb00fe87c3.jpg","text":"TemporaryFile(/tmp/multipartBody3870202854011289944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588885434,"filename":"image_31102025_14_22_23_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/df2b2c121086092335ae844f8e5f417b.jpg","text":"TemporaryFile(/tmp/multipartBody390755947114309179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588885434,"filename":"image_31102025_14_22_20_3843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c1f35af4ae0701e0df873773040c9d9c.jpg","text":"TemporaryFile(/tmp/multipartBody6991679793083779460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588885434,"filename":"image_31102025_14_22_14_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/63f899dc0f416cee29d8da19cee63fba.jpg","text":"TemporaryFile(/tmp/multipartBody2747286096974717090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588885434,"filename":"image_31102025_14_22_26_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397203801","file1":"1397203765","file0":"1397203729","file4":"1397203875","file5":"1397203924","file3":"1397203838"},"map_files_photo_id_array":[{"photo_id":"1397203924","filename":"file5"},{"photo_id":"1397203801","filename":"file2"},{"photo_id":"1397203875","filename":"file4"},{"photo_id":"1397203765","filename":"file1"},{"photo_id":"1397203729","filename":"file0"},{"photo_id":"1397203838","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397203729":["hashtag1","hashtag2"]},{"1397203801":["hashtag1","hashtag2"]},{"1397203875":["hashtag1","hashtag2"]},{"1397203838":["hashtag1","hashtag2"]},{"1397203765":["hashtag1","hashtag2"]},{"1397203924":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397203729, 1397203801, 1397203875, 1397203838, 1397203765, 1397203924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59257364273071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 12:34:22.089357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/11/59/image_01122025_11_59_14_9839.jpg', '/home/pi/Desktop/images/01122025/11/59/image_01122025_11_59_25_10760.jpg', '/home/pi/Desktop/images/01122025/11/59/image_01122025_11_59_35_9651.jpg', '/home/pi/Desktop/images/01122025/11/59/image_01122025_11_59_45_9844.jpg', '/home/pi/Desktop/images/01122025/11/59/image_01122025_11_59_55_10590.jpg', '/home/pi/Desktop/images/01122025/12/00/image_01122025_12_00_15_10055.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/11/59/image_01122025_11_59_14_9839.jpg
/home/pi/Desktop/images/01122025/11/59/image_01122025_11_59_25_10760.jpg
/home/pi/Desktop/images/01122025/11/59/image_01122025_11_59_35_9651.jpg
/home/pi/Desktop/images/01122025/11/59/image_01122025_11_59_45_9844.jpg
/home/pi/Desktop/images/01122025/11/59/image_01122025_11_59_55_10590.jpg
/home/pi/Desktop/images/01122025/12/00/image_01122025_12_00_15_10055.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397204172","1397204186","1397204170","1397204164","1397204128","1397204160"],"photo_ids_order":["1397204128","1397204160","1397204164","1397204170","1397204172","1397204186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/679b94517b4cca75e0f7c53d89d053cf.jpg","text":"TemporaryFile(/tmp/multipartBody4192654490589109807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588922828,"filename":"image_01122025_11_59_55_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5f28eee32355a480ecb89c25d546f2bb.jpg","text":"TemporaryFile(/tmp/multipartBody1895700260272603973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588922828,"filename":"image_01122025_12_00_15_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2d1d309391827df31b6faff85f551feb.jpg","text":"TemporaryFile(/tmp/multipartBody3087492838421259075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588922828,"filename":"image_01122025_11_59_45_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3eeaf24da2cfa0432b76511dd0e8e3af.jpg","text":"TemporaryFile(/tmp/multipartBody1416892559161028311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588922828,"filename":"image_01122025_11_59_35_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0b14c873ec306d2751d9b741e8ad03bc.jpg","text":"TemporaryFile(/tmp/multipartBody1262716355600717387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588922828,"filename":"image_01122025_11_59_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/1/d6c3583952b5e90f53517109436c05ef.jpg","text":"TemporaryFile(/tmp/multipartBody8961552224397120972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588922828,"filename":"image_01122025_11_59_25_10760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397204164","file1":"1397204160","file0":"1397204128","file4":"1397204172","file5":"1397204186","file3":"1397204170"},"map_files_photo_id_array":[{"photo_id":"1397204186","filename":"file5"},{"photo_id":"1397204164","filename":"file2"},{"photo_id":"1397204172","filename":"file4"},{"photo_id":"1397204160","filename":"file1"},{"photo_id":"1397204128","filename":"file0"},{"photo_id":"1397204170","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397204172":["hashtag1","hashtag2"]},{"1397204186":["hashtag1","hashtag2"]},{"1397204170":["hashtag1","hashtag2"]},{"1397204164":["hashtag1","hashtag2"]},{"1397204128":["hashtag1","hashtag2"]},{"1397204160":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397204172, 1397204186, 1397204170, 1397204164, 1397204128, 1397204160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.66651272773743 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-01 12:35:13.378657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_42_1941.jpg', '/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_44_1583.jpg', '/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_45_1831.jpg', '/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_47_1575.jpg', '/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_48_1537.jpg', '/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_50_1484.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_42_1941.jpg
/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_44_1583.jpg
/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_45_1831.jpg
/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_47_1575.jpg
/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_48_1537.jpg
/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_50_1484.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397204232","1397204252","1397204261","1397204249","1397204281","1397204284"],"photo_ids_order":["1397204232","1397204249","1397204252","1397204261","1397204281","1397204284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/277176e2009524f21c2c01ce45922c8a.jpg","text":"TemporaryFile(/tmp/multipartBody1838969476976650581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588974943,"filename":"image_25112025_22_32_42_1941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/91ee4896eb72a03fc30e2c9c174301e8.jpg","text":"TemporaryFile(/tmp/multipartBody7915075918226728805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588974943,"filename":"image_25112025_22_32_45_1831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/513ab3f504da34228536697b680dcaf9.jpg","text":"TemporaryFile(/tmp/multipartBody8591328534422683372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588974943,"filename":"image_25112025_22_32_47_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/1/fb1735497a4b66ee79ac3bb5eb92c19c.jpg","text":"TemporaryFile(/tmp/multipartBody191399418813954349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588974943,"filename":"image_25112025_22_32_44_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/143d0d581448ed5f11109cd90cfb48f6.jpg","text":"TemporaryFile(/tmp/multipartBody3620790414388344394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588974943,"filename":"image_25112025_22_32_48_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/1/b8e3baa15716a0101472c9c1cf9bf4f5.jpg","text":"TemporaryFile(/tmp/multipartBody860131368669289607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764588974943,"filename":"image_25112025_22_32_50_1484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397204252","file1":"1397204249","file0":"1397204232","file4":"1397204281","file5":"1397204284","file3":"1397204261"},"map_files_photo_id_array":[{"photo_id":"1397204284","filename":"file5"},{"photo_id":"1397204252","filename":"file2"},{"photo_id":"1397204281","filename":"file4"},{"photo_id":"1397204249","filename":"file1"},{"photo_id":"1397204232","filename":"file0"},{"photo_id":"1397204261","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397204232":["hashtag1","hashtag2"]},{"1397204252":["hashtag1","hashtag2"]},{"1397204261":["hashtag1","hashtag2"]},{"1397204249":["hashtag1","hashtag2"]},{"1397204281":["hashtag1","hashtag2"]},{"1397204284":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397204232, 1397204252, 1397204261, 1397204249, 1397204281, 1397204284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69976186752319 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:36:03.038430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/00/image_01122025_12_00_26_10789.jpg', '/home/pi/Desktop/images/01122025/12/00/image_01122025_12_00_35_9625.jpg', '/home/pi/Desktop/images/01122025/12/00/image_01122025_12_00_45_9686.jpg', '/home/pi/Desktop/images/01122025/12/00/image_01122025_12_00_56_10751.jpg', '/home/pi/Desktop/images/01122025/12/00/image_01122025_12_01_06_9698.jpg', '/home/pi/Desktop/images/01122025/12/01/image_01122025_12_01_15_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/00/image_01122025_12_00_26_10789.jpg
/home/pi/Desktop/images/01122025/12/00/image_01122025_12_00_35_9625.jpg
/home/pi/Desktop/images/01122025/12/00/image_01122025_12_00_45_9686.jpg
/home/pi/Desktop/images/01122025/12/00/image_01122025_12_00_56_10751.jpg
/home/pi/Desktop/images/01122025/12/00/image_01122025_12_01_06_9698.jpg
/home/pi/Desktop/images/01122025/12/01/image_01122025_12_01_15_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397204325","1397204307","1397204301","1397204303","1397204350","1397204305"],"photo_ids_order":["1397204301","1397204303","1397204305","1397204307","1397204325","1397204350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dc5a49df9ad6ea7a22552f53e4cda8eb.jpg","text":"TemporaryFile(/tmp/multipartBody4403890916198434286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589023760,"filename":"image_01122025_12_01_06_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a1e6231c60c51e8b876ebbecd69ae198.jpg","text":"TemporaryFile(/tmp/multipartBody8904355860884337529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589023760,"filename":"image_01122025_12_00_56_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2139c53b8070da74968df4ea2a9009b7.jpg","text":"TemporaryFile(/tmp/multipartBody27443162405015403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589023760,"filename":"image_01122025_12_00_26_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/1/68cfa759e0291f82c0ece10ec96fd5e3.jpg","text":"TemporaryFile(/tmp/multipartBody3146270575735530872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589023760,"filename":"image_01122025_12_00_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/1/269223d69e96a5d187f3aa0407ee206f.jpg","text":"TemporaryFile(/tmp/multipartBody7303852165545204219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589023760,"filename":"image_01122025_12_01_15_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/87488e96f5a8110880a9693a13b29e0b.jpg","text":"TemporaryFile(/tmp/multipartBody3261295714462744475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589023760,"filename":"image_01122025_12_00_45_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397204305","file1":"1397204303","file0":"1397204301","file4":"1397204325","file5":"1397204350","file3":"1397204307"},"map_files_photo_id_array":[{"photo_id":"1397204350","filename":"file5"},{"photo_id":"1397204305","filename":"file2"},{"photo_id":"1397204325","filename":"file4"},{"photo_id":"1397204303","filename":"file1"},{"photo_id":"1397204301","filename":"file0"},{"photo_id":"1397204307","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397204325":["hashtag1","hashtag2"]},{"1397204307":["hashtag1","hashtag2"]},{"1397204301":["hashtag1","hashtag2"]},{"1397204303":["hashtag1","hashtag2"]},{"1397204350":["hashtag1","hashtag2"]},{"1397204305":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397204325, 1397204307, 1397204301, 1397204303, 1397204350, 1397204305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70891046524048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 12:36:42.544081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_29_3543.jpg', '/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_32_2712.jpg', '/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_35_2619.jpg', '/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_38_2841.jpg', '/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_41_3839.jpg', '/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_44_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_29_3543.jpg
/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_32_2712.jpg
/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_35_2619.jpg
/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_38_2841.jpg
/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_41_3839.jpg
/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_44_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":["1397204361","1397204364","1397204396","1397204363","1397204366","1397204360"],"photo_ids_order":["1397204360","1397204361","1397204363","1397204364","1397204366","1397204396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0f224ba159a8ff0b886b2929694e020f.jpg","text":"TemporaryFile(/tmp/multipartBody6519206071241790783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589065192,"filename":"image_31102025_14_22_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/1/4d0a9de8372cc7b35f8e725af5ed3c0d.jpg","text":"TemporaryFile(/tmp/multipartBody8591106733303965723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589065192,"filename":"image_31102025_14_22_38_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/1/89c9744e65733dec31d0ebdcfcc07787.jpg","text":"TemporaryFile(/tmp/multipartBody751660901836120127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589065192,"filename":"image_31102025_14_22_44_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/43f1fae28e461a694df99de7cef42fb9.jpg","text":"TemporaryFile(/tmp/multipartBody5356982816397711130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589065192,"filename":"image_31102025_14_22_35_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/1/cf5b59486fc538ffc4a6a20abd06c157.jpg","text":"TemporaryFile(/tmp/multipartBody3392711524729417756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589065192,"filename":"image_31102025_14_22_41_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/1/92de309114ee68627e6c9396f0a88eae.jpg","text":"TemporaryFile(/tmp/multipartBody7838088822412065966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589065192,"filename":"image_31102025_14_22_29_3543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397204363","file1":"1397204361","file0":"1397204360","file4":"1397204366","file5":"1397204396","file3":"1397204364"},"map_files_photo_id_array":[{"photo_id":"1397204396","filename":"file5"},{"photo_id":"1397204363","filename":"file2"},{"photo_id":"1397204366","filename":"file4"},{"photo_id":"1397204361","filename":"file1"},{"photo_id":"1397204360","filename":"file0"},{"photo_id":"1397204364","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397204361":["hashtag1","hashtag2"]},{"1397204364":["hashtag1","hashtag2"]},{"1397204396":["hashtag1","hashtag2"]},{"1397204363":["hashtag1","hashtag2"]},{"1397204366":["hashtag1","hashtag2"]},{"1397204360":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397204361, 1397204364, 1397204396, 1397204363, 1397204366, 1397204360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17844271659851 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 12:37:22.718871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/01/image_01122025_12_01_26_10696.jpg', '/home/pi/Desktop/images/01122025/12/01/image_01122025_12_01_36_9694.jpg', '/home/pi/Desktop/images/01122025/12/01/image_01122025_12_01_45_9661.jpg', '/home/pi/Desktop/images/01122025/12/01/image_01122025_12_01_55_9730.jpg', '/home/pi/Desktop/images/01122025/12/01/image_01122025_12_02_06_10697.jpg', '/home/pi/Desktop/images/01122025/12/02/image_01122025_12_02_15_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/01/image_01122025_12_01_26_10696.jpg
/home/pi/Desktop/images/01122025/12/01/image_01122025_12_01_36_9694.jpg
/home/pi/Desktop/images/01122025/12/01/image_01122025_12_01_45_9661.jpg
/home/pi/Desktop/images/01122025/12/01/image_01122025_12_01_55_9730.jpg
/home/pi/Desktop/images/01122025/12/01/image_01122025_12_02_06_10697.jpg
/home/pi/Desktop/images/01122025/12/02/image_01122025_12_02_15_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":["1397204508","1397204566","1397204488","1397204482","1397204485","1397204479"],"photo_ids_order":["1397204479","1397204482","1397204485","1397204488","1397204508","1397204566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/45d2bdeff8e3ecc5c7eee212b8b99200.jpg","text":"TemporaryFile(/tmp/multipartBody4714505606203298021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589103463,"filename":"image_01122025_12_02_06_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/1/aa36e4cf1dd5b05e31511ada4bc5866c.jpg","text":"TemporaryFile(/tmp/multipartBody440735414566547506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589103463,"filename":"image_01122025_12_02_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/1/e0fc842c78c0b3b6ca192aafd4a263e2.jpg","text":"TemporaryFile(/tmp/multipartBody126461389179150978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589103463,"filename":"image_01122025_12_01_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/1/824d8b969a8ef32c95b222b4656f81c3.jpg","text":"TemporaryFile(/tmp/multipartBody3603405297695022922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589103463,"filename":"image_01122025_12_01_36_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/1/4576ab534b91fd42ca18178e5a45b1cd.jpg","text":"TemporaryFile(/tmp/multipartBody3427167651778026341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589103463,"filename":"image_01122025_12_01_45_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c15e6862a7027c902c80b8ab544f0c11.jpg","text":"TemporaryFile(/tmp/multipartBody15002450050696433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589103463,"filename":"image_01122025_12_01_26_10696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397204485","file1":"1397204482","file0":"1397204479","file4":"1397204508","file5":"1397204566","file3":"1397204488"},"map_files_photo_id_array":[{"photo_id":"1397204566","filename":"file5"},{"photo_id":"1397204485","filename":"file2"},{"photo_id":"1397204508","filename":"file4"},{"photo_id":"1397204482","filename":"file1"},{"photo_id":"1397204479","filename":"file0"},{"photo_id":"1397204488","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397204508":["hashtag1","hashtag2"]},{"1397204566":["hashtag1","hashtag2"]},{"1397204488":["hashtag1","hashtag2"]},{"1397204482":["hashtag1","hashtag2"]},{"1397204485":["hashtag1","hashtag2"]},{"1397204479":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397204508, 1397204566, 1397204488, 1397204482, 1397204485, 1397204479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89924693107605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:38:02.246587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/02/image_01122025_12_02_26_10644.jpg', '/home/pi/Desktop/images/01122025/12/02/image_01122025_12_02_36_9704.jpg', '/home/pi/Desktop/images/01122025/12/02/image_01122025_12_02_46_9834.jpg', '/home/pi/Desktop/images/01122025/12/02/image_01122025_12_02_55_9675.jpg', '/home/pi/Desktop/images/01122025/12/02/image_01122025_12_03_06_10798.jpg', '/home/pi/Desktop/images/01122025/12/03/image_01122025_12_03_16_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/02/image_01122025_12_02_26_10644.jpg
/home/pi/Desktop/images/01122025/12/02/image_01122025_12_02_36_9704.jpg
/home/pi/Desktop/images/01122025/12/02/image_01122025_12_02_46_9834.jpg
/home/pi/Desktop/images/01122025/12/02/image_01122025_12_02_55_9675.jpg
/home/pi/Desktop/images/01122025/12/02/image_01122025_12_03_06_10798.jpg
/home/pi/Desktop/images/01122025/12/03/image_01122025_12_03_16_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":["1397204820","1397205014","1397204930","1397204890","1397205049","1397204971"],"photo_ids_order":["1397204820","1397204890","1397204930","1397204971","1397205014","1397205049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/155fa5491285b70c7252dd68deff6ba9.jpg","text":"TemporaryFile(/tmp/multipartBody8946870396265045496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589142982,"filename":"image_01122025_12_02_26_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ee703710f022c54d14ca3467b762d9c2.jpg","text":"TemporaryFile(/tmp/multipartBody4607954986211810678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589142982,"filename":"image_01122025_12_03_06_10798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/16285a6247e9b9f0faf8b397ceaf52be.jpg","text":"TemporaryFile(/tmp/multipartBody2051782707062076625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589142982,"filename":"image_01122025_12_02_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/1/2b226ed469d3f0ddffe0be729ab0390f.jpg","text":"TemporaryFile(/tmp/multipartBody1987171469990788234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589142982,"filename":"image_01122025_12_02_36_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/1/c34fd7b92938d70d0dc8b0d633e54582.jpg","text":"TemporaryFile(/tmp/multipartBody4303405315332245596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589142982,"filename":"image_01122025_12_03_16_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/1/7c7ffc531cd777608b6e8bc67f3ef80b.jpg","text":"TemporaryFile(/tmp/multipartBody7887552164341402097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589142982,"filename":"image_01122025_12_02_55_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397204930","file1":"1397204890","file0":"1397204820","file4":"1397205014","file5":"1397205049","file3":"1397204971"},"map_files_photo_id_array":[{"photo_id":"1397205049","filename":"file5"},{"photo_id":"1397204930","filename":"file2"},{"photo_id":"1397205014","filename":"file4"},{"photo_id":"1397204890","filename":"file1"},{"photo_id":"1397204820","filename":"file0"},{"photo_id":"1397204971","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397204820":["hashtag1","hashtag2"]},{"1397205014":["hashtag1","hashtag2"]},{"1397204930":["hashtag1","hashtag2"]},{"1397204890":["hashtag1","hashtag2"]},{"1397205049":["hashtag1","hashtag2"]},{"1397204971":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397204820, 1397205014, 1397204930, 1397204890, 1397205049, 1397204971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43848276138306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 12:38:41.864356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_47_2707.jpg', '/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_50_2784.jpg', '/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_53_3577.jpg', '/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_56_2736.jpg', '/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_59_2624.jpg', '/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_02_3594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_47_2707.jpg
/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_50_2784.jpg
/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_53_3577.jpg
/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_56_2736.jpg
/home/pi/Desktop/images/31102025/14/22/image_31102025_14_22_59_2624.jpg
/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_02_3594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397205098","1397205128","1397205107","1397205097","1397205093","1397205129"],"photo_ids_order":["1397205093","1397205097","1397205098","1397205107","1397205128","1397205129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a973933857d80b0e946265b6a3360ef4.jpg","text":"TemporaryFile(/tmp/multipartBody3687983913455503819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589187707,"filename":"image_31102025_14_22_53_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/1/a8a881722204c0cebc33215713a592a4.jpg","text":"TemporaryFile(/tmp/multipartBody8394591728216472530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589187707,"filename":"image_31102025_14_22_59_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1e4e616b04dd13a9309ce46160f16b49.jpg","text":"TemporaryFile(/tmp/multipartBody8592150685909658895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589187707,"filename":"image_31102025_14_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/1/de15732d3656b76a60048b7338782d6d.jpg","text":"TemporaryFile(/tmp/multipartBody2983016669503082348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589187707,"filename":"image_31102025_14_22_50_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0efbe1eebf7bcfd931d88dd1e303cc1e.jpg","text":"TemporaryFile(/tmp/multipartBody1309257176688436619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589187707,"filename":"image_31102025_14_22_47_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/1/14d22a8ce60d039c145c3b3352c2e373.jpg","text":"TemporaryFile(/tmp/multipartBody3848502209216205338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589187707,"filename":"image_31102025_14_23_02_3594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397205098","file1":"1397205097","file0":"1397205093","file4":"1397205128","file5":"1397205129","file3":"1397205107"},"map_files_photo_id_array":[{"photo_id":"1397205129","filename":"file5"},{"photo_id":"1397205098","filename":"file2"},{"photo_id":"1397205128","filename":"file4"},{"photo_id":"1397205097","filename":"file1"},{"photo_id":"1397205093","filename":"file0"},{"photo_id":"1397205107","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397205098":["hashtag1","hashtag2"]},{"1397205128":["hashtag1","hashtag2"]},{"1397205107":["hashtag1","hashtag2"]},{"1397205097":["hashtag1","hashtag2"]},{"1397205093":["hashtag1","hashtag2"]},{"1397205129":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397205098, 1397205128, 1397205107, 1397205097, 1397205093, 1397205129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.97169518470764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 12:39:31.904067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_51_1533.jpg', '/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_53_1825.jpg', '/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_55_1655.jpg', '/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_57_2311.jpg', '/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_59_1724.jpg', '/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_01_1542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_51_1533.jpg
/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_53_1825.jpg
/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_55_1655.jpg
/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_57_2311.jpg
/home/pi/Desktop/images/25112025/22/32/image_25112025_22_32_59_1724.jpg
/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_01_1542.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397205185","1397205175","1397205184","1397205172","1397205186","1397205180"],"photo_ids_order":["1397205172","1397205175","1397205180","1397205184","1397205185","1397205186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f9eb9091a342ae309918884ab11f9336.jpg","text":"TemporaryFile(/tmp/multipartBody3576503941208022519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589233690,"filename":"image_25112025_22_32_59_1724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/51f09b050adae6f443a3d4edf795c902.jpg","text":"TemporaryFile(/tmp/multipartBody6471399085045100071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589233690,"filename":"image_25112025_22_32_53_1825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6f5bcb34331505c89c5d3a9a38b9178a.jpg","text":"TemporaryFile(/tmp/multipartBody5523376843173055130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589233690,"filename":"image_25112025_22_32_57_2311.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/05453f085a5f3da11d50d0021a0558e4.jpg","text":"TemporaryFile(/tmp/multipartBody4201645510158811586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589233690,"filename":"image_25112025_22_32_51_1533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/031b880cdc37384abe1e8aaae5a1f400.jpg","text":"TemporaryFile(/tmp/multipartBody1687726519223121013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589233690,"filename":"image_25112025_22_33_01_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/1/a58f9480544a3f2ab7ff5d17192ce5aa.jpg","text":"TemporaryFile(/tmp/multipartBody4988995519444788172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589233690,"filename":"image_25112025_22_32_55_1655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397205180","file1":"1397205175","file0":"1397205172","file4":"1397205185","file5":"1397205186","file3":"1397205184"},"map_files_photo_id_array":[{"photo_id":"1397205186","filename":"file5"},{"photo_id":"1397205180","filename":"file2"},{"photo_id":"1397205185","filename":"file4"},{"photo_id":"1397205175","filename":"file1"},{"photo_id":"1397205172","filename":"file0"},{"photo_id":"1397205184","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397205185":["hashtag1","hashtag2"]},{"1397205175":["hashtag1","hashtag2"]},{"1397205184":["hashtag1","hashtag2"]},{"1397205172":["hashtag1","hashtag2"]},{"1397205186":["hashtag1","hashtag2"]},{"1397205180":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397205185, 1397205175, 1397205184, 1397205172, 1397205186, 1397205180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88611698150635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 12:40:11.921567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_02_1620.jpg', '/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_08_6252.jpg', '/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_11_2945.jpg', '/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_13_1635.jpg', '/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_16_1465.jpg', '/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_20_3637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_02_1620.jpg
/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_08_6252.jpg
/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_11_2945.jpg
/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_13_1635.jpg
/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_16_1465.jpg
/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_20_3637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397205473","1397205389","1397205312","1397205351","1397205273","1397205426"],"photo_ids_order":["1397205273","1397205312","1397205351","1397205389","1397205426","1397205473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6a01a9346189e0a8abe1527050f56aad.jpg","text":"TemporaryFile(/tmp/multipartBody445231887188488336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589273547,"filename":"image_25112025_22_33_20_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/1/da9bf6a8140620c61cc0d51e6a840e55.jpg","text":"TemporaryFile(/tmp/multipartBody4032229720438678238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589273547,"filename":"image_25112025_22_33_13_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/1/36ecc48fdb78f1db1cdb16447ba87445.jpg","text":"TemporaryFile(/tmp/multipartBody6527012296542760231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589273547,"filename":"image_25112025_22_33_08_6252.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cd4e2e27e4195a372cb05e6fb41f1115.jpg","text":"TemporaryFile(/tmp/multipartBody4769693337671830398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589273547,"filename":"image_25112025_22_33_11_2945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/282c73806fa9fc2b0f51436969fc75a4.jpg","text":"TemporaryFile(/tmp/multipartBody1353103365510593271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589273547,"filename":"image_25112025_22_33_02_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a24e06e2b4cd14accc5a1fea0d34f5a5.jpg","text":"TemporaryFile(/tmp/multipartBody4087839886748967211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589273547,"filename":"image_25112025_22_33_16_1465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397205351","file1":"1397205312","file0":"1397205273","file4":"1397205426","file5":"1397205473","file3":"1397205389"},"map_files_photo_id_array":[{"photo_id":"1397205473","filename":"file5"},{"photo_id":"1397205351","filename":"file2"},{"photo_id":"1397205426","filename":"file4"},{"photo_id":"1397205312","filename":"file1"},{"photo_id":"1397205273","filename":"file0"},{"photo_id":"1397205389","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397205473":["hashtag1","hashtag2"]},{"1397205389":["hashtag1","hashtag2"]},{"1397205312":["hashtag1","hashtag2"]},{"1397205351":["hashtag1","hashtag2"]},{"1397205273":["hashtag1","hashtag2"]},{"1397205426":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397205473, 1397205389, 1397205312, 1397205351, 1397205273, 1397205426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63636088371277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:41:02.842658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/03/image_01122025_12_03_25_9599.jpg', '/home/pi/Desktop/images/01122025/12/03/image_01122025_12_03_36_10610.jpg', '/home/pi/Desktop/images/01122025/12/03/image_01122025_12_03_46_9653.jpg', '/home/pi/Desktop/images/01122025/12/03/image_01122025_12_03_55_9617.jpg', '/home/pi/Desktop/images/01122025/12/03/image_01122025_12_04_06_10599.jpg', '/home/pi/Desktop/images/01122025/12/04/image_01122025_12_04_15_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/03/image_01122025_12_03_25_9599.jpg
/home/pi/Desktop/images/01122025/12/03/image_01122025_12_03_36_10610.jpg
/home/pi/Desktop/images/01122025/12/03/image_01122025_12_03_46_9653.jpg
/home/pi/Desktop/images/01122025/12/03/image_01122025_12_03_55_9617.jpg
/home/pi/Desktop/images/01122025/12/03/image_01122025_12_04_06_10599.jpg
/home/pi/Desktop/images/01122025/12/04/image_01122025_12_04_15_9685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397205542","1397205545","1397205538","1397205585","1397205558","1397205543"],"photo_ids_order":["1397205538","1397205542","1397205543","1397205545","1397205558","1397205585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/80406c3dd7b5049cfc66cf89cd2eb5d4.jpg","text":"TemporaryFile(/tmp/multipartBody1291031875883185964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589323672,"filename":"image_01122025_12_03_36_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/1/0f8bbad123e20cb60cfbeb9f0f62b5b5.jpg","text":"TemporaryFile(/tmp/multipartBody213408232112708556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589323672,"filename":"image_01122025_12_03_55_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/689719343be78f3b7df1af2e267f8c11.jpg","text":"TemporaryFile(/tmp/multipartBody7180934551127187753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589323672,"filename":"image_01122025_12_03_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/1/2f50871baa4e031337cdef15642fea42.jpg","text":"TemporaryFile(/tmp/multipartBody2322829048327743271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589323672,"filename":"image_01122025_12_04_15_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/aedd6019ef45df873036427c60aeab90.jpg","text":"TemporaryFile(/tmp/multipartBody6645313004910740364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589323672,"filename":"image_01122025_12_04_06_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/1/de7472174d1a4c4a4a6a5378fa1dda2b.jpg","text":"TemporaryFile(/tmp/multipartBody2385497623975852673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589323672,"filename":"image_01122025_12_03_46_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397205543","file1":"1397205542","file0":"1397205538","file4":"1397205558","file5":"1397205585","file3":"1397205545"},"map_files_photo_id_array":[{"photo_id":"1397205585","filename":"file5"},{"photo_id":"1397205543","filename":"file2"},{"photo_id":"1397205558","filename":"file4"},{"photo_id":"1397205542","filename":"file1"},{"photo_id":"1397205538","filename":"file0"},{"photo_id":"1397205545","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397205542":["hashtag1","hashtag2"]},{"1397205545":["hashtag1","hashtag2"]},{"1397205538":["hashtag1","hashtag2"]},{"1397205585":["hashtag1","hashtag2"]},{"1397205558":["hashtag1","hashtag2"]},{"1397205543":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397205542, 1397205545, 1397205538, 1397205585, 1397205558, 1397205543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8329861164093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 12:41:42.171015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_05_2653.jpg', '/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_08_2854.jpg', '/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_11_3590.jpg', '/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_14_2573.jpg', '/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_16_2643.jpg', '/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_20_3692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_05_2653.jpg
/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_08_2854.jpg
/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_11_3590.jpg
/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_14_2573.jpg
/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_16_2643.jpg
/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_20_3692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397205653","1397205656","1397205626","1397205655","1397205654","1397205657"],"photo_ids_order":["1397205626","1397205653","1397205654","1397205655","1397205656","1397205657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1e192efebe054ebfa31bbfd9cd629219.jpg","text":"TemporaryFile(/tmp/multipartBody8786532678774006586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589364828,"filename":"image_31102025_14_23_08_2854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/803df4d00d83b19232a33c0b9c0a217a.jpg","text":"TemporaryFile(/tmp/multipartBody2538044361371302019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589364828,"filename":"image_31102025_14_23_16_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/1/0ebf50e07c5f690e36c82ddc6f199e65.jpg","text":"TemporaryFile(/tmp/multipartBody8284892301030004909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589364828,"filename":"image_31102025_14_23_05_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/1/6d6ea73d57d54949779a14588b5bf309.jpg","text":"TemporaryFile(/tmp/multipartBody5038236208572682070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589364828,"filename":"image_31102025_14_23_14_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/1/f15260a74ca1051c68ac28b4aa928004.jpg","text":"TemporaryFile(/tmp/multipartBody6054467364030534089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589364828,"filename":"image_31102025_14_23_11_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/1/5943e7c5701df7c6c7fab7807b02c5f9.jpg","text":"TemporaryFile(/tmp/multipartBody2911255763843543891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589364828,"filename":"image_31102025_14_23_20_3692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397205654","file1":"1397205653","file0":"1397205626","file4":"1397205656","file5":"1397205657","file3":"1397205655"},"map_files_photo_id_array":[{"photo_id":"1397205657","filename":"file5"},{"photo_id":"1397205654","filename":"file2"},{"photo_id":"1397205656","filename":"file4"},{"photo_id":"1397205653","filename":"file1"},{"photo_id":"1397205626","filename":"file0"},{"photo_id":"1397205655","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397205653":["hashtag1","hashtag2"]},{"1397205656":["hashtag1","hashtag2"]},{"1397205626":["hashtag1","hashtag2"]},{"1397205655":["hashtag1","hashtag2"]},{"1397205654":["hashtag1","hashtag2"]},{"1397205657":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397205653, 1397205656, 1397205626, 1397205655, 1397205654, 1397205657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00491261482239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 12:42:22.393015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/04/image_01122025_12_04_25_9619.jpg', '/home/pi/Desktop/images/01122025/12/04/image_01122025_12_04_36_10634.jpg', '/home/pi/Desktop/images/01122025/12/04/image_01122025_12_04_45_9667.jpg', '/home/pi/Desktop/images/01122025/12/04/image_01122025_12_04_55_9733.jpg', '/home/pi/Desktop/images/01122025/12/04/image_01122025_12_05_06_10816.jpg', '/home/pi/Desktop/images/01122025/12/05/image_01122025_12_05_16_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/04/image_01122025_12_04_25_9619.jpg
/home/pi/Desktop/images/01122025/12/04/image_01122025_12_04_36_10634.jpg
/home/pi/Desktop/images/01122025/12/04/image_01122025_12_04_45_9667.jpg
/home/pi/Desktop/images/01122025/12/04/image_01122025_12_04_55_9733.jpg
/home/pi/Desktop/images/01122025/12/04/image_01122025_12_05_06_10816.jpg
/home/pi/Desktop/images/01122025/12/05/image_01122025_12_05_16_9756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397205671","1397205674","1397205662","1397205682","1397205667","1397205678"],"photo_ids_order":["1397205662","1397205667","1397205671","1397205674","1397205678","1397205682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/59facc06ef8f2a0fd22121ff561a9e7f.jpg","text":"TemporaryFile(/tmp/multipartBody7401028337895198675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589403090,"filename":"image_01122025_12_04_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/1/a5b75a737749ca5627ee255f42924af6.jpg","text":"TemporaryFile(/tmp/multipartBody2941312566009026309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589403090,"filename":"image_01122025_12_04_55_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/94b1225ee7da473ea3073064b18060d6.jpg","text":"TemporaryFile(/tmp/multipartBody4480371205965000014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589403090,"filename":"image_01122025_12_04_25_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/be79f0bde0c4df4ff088ed578f9891b9.jpg","text":"TemporaryFile(/tmp/multipartBody6729262020450424749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589403090,"filename":"image_01122025_12_05_16_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/1/dc65063c73b8943e1887edd72cddc852.jpg","text":"TemporaryFile(/tmp/multipartBody709233132699442554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589403090,"filename":"image_01122025_12_04_36_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/1/fc856bf026313814739ce73dc1a5af0e.jpg","text":"TemporaryFile(/tmp/multipartBody3872566174834356505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589403090,"filename":"image_01122025_12_05_06_10816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397205671","file1":"1397205667","file0":"1397205662","file4":"1397205678","file5":"1397205682","file3":"1397205674"},"map_files_photo_id_array":[{"photo_id":"1397205682","filename":"file5"},{"photo_id":"1397205671","filename":"file2"},{"photo_id":"1397205678","filename":"file4"},{"photo_id":"1397205667","filename":"file1"},{"photo_id":"1397205662","filename":"file0"},{"photo_id":"1397205674","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397205671":["hashtag1","hashtag2"]},{"1397205674":["hashtag1","hashtag2"]},{"1397205662":["hashtag1","hashtag2"]},{"1397205682":["hashtag1","hashtag2"]},{"1397205667":["hashtag1","hashtag2"]},{"1397205678":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397205671, 1397205674, 1397205662, 1397205682, 1397205667, 1397205678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94698476791382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:43:03.212107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/05/image_01122025_12_05_25_9723.jpg', '/home/pi/Desktop/images/01122025/12/05/image_01122025_12_05_35_9788.jpg', '/home/pi/Desktop/images/01122025/12/05/image_01122025_12_05_46_10645.jpg', '/home/pi/Desktop/images/01122025/12/05/image_01122025_12_05_56_9990.jpg', '/home/pi/Desktop/images/01122025/12/05/image_01122025_12_06_06_9697.jpg', '/home/pi/Desktop/images/01122025/12/06/image_01122025_12_06_15_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/05/image_01122025_12_05_25_9723.jpg
/home/pi/Desktop/images/01122025/12/05/image_01122025_12_05_35_9788.jpg
/home/pi/Desktop/images/01122025/12/05/image_01122025_12_05_46_10645.jpg
/home/pi/Desktop/images/01122025/12/05/image_01122025_12_05_56_9990.jpg
/home/pi/Desktop/images/01122025/12/05/image_01122025_12_06_06_9697.jpg
/home/pi/Desktop/images/01122025/12/06/image_01122025_12_06_15_9778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397205683","1397205758","1397205685","1397205798","1397205684","1397205723"],"photo_ids_order":["1397205683","1397205684","1397205685","1397205723","1397205758","1397205798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/af0b360a3a1e2005ebe4e03ec53317c3.jpg","text":"TemporaryFile(/tmp/multipartBody1958688196854706542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589443977,"filename":"image_01122025_12_05_25_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/53423b56132b59bb3134aa283c74ec5e.jpg","text":"TemporaryFile(/tmp/multipartBody653061650710380308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589443977,"filename":"image_01122025_12_06_06_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5e37c9537b214d5047a5096dfef85373.jpg","text":"TemporaryFile(/tmp/multipartBody1033067926596314712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589443977,"filename":"image_01122025_12_05_46_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/1/7a7d51761f99088999ce2900cf55428c.jpg","text":"TemporaryFile(/tmp/multipartBody7612568906149457448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589443977,"filename":"image_01122025_12_06_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/1/2a17093864465932b07f370d35fad850.jpg","text":"TemporaryFile(/tmp/multipartBody7867193763809379000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589443977,"filename":"image_01122025_12_05_35_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/022ffcfeaa0b6daa412e720b23166f38.jpg","text":"TemporaryFile(/tmp/multipartBody7071524389549226132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589443977,"filename":"image_01122025_12_05_56_9990.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397205685","file1":"1397205684","file0":"1397205683","file4":"1397205758","file5":"1397205798","file3":"1397205723"},"map_files_photo_id_array":[{"photo_id":"1397205798","filename":"file5"},{"photo_id":"1397205685","filename":"file2"},{"photo_id":"1397205758","filename":"file4"},{"photo_id":"1397205684","filename":"file1"},{"photo_id":"1397205683","filename":"file0"},{"photo_id":"1397205723","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397205683":["hashtag1","hashtag2"]},{"1397205758":["hashtag1","hashtag2"]},{"1397205685":["hashtag1","hashtag2"]},{"1397205798":["hashtag1","hashtag2"]},{"1397205684":["hashtag1","hashtag2"]},{"1397205723":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397205683, 1397205758, 1397205685, 1397205798, 1397205684, 1397205723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33427667617798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 12:43:42.485228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_23_2699.jpg', '/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_26_3566.jpg', '/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_29_2563.jpg', '/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_32_2600.jpg', '/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_35_3688.jpg', '/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_38_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_23_2699.jpg
/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_26_3566.jpg
/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_29_2563.jpg
/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_32_2600.jpg
/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_35_3688.jpg
/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_38_2720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397205932","1397205883","1397205897","1397205984","1397205861","1397205864"],"photo_ids_order":["1397205861","1397205864","1397205883","1397205897","1397205932","1397205984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e8001c93cf2273cf22ee9ce404cd55a3.jpg","text":"TemporaryFile(/tmp/multipartBody378968714435281925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589485123,"filename":"image_31102025_14_23_35_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b8285cb066a07cc178b7fee546a9bbb4.jpg","text":"TemporaryFile(/tmp/multipartBody467390419429903217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589485123,"filename":"image_31102025_14_23_29_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/1/013f2475e88c790898c66c3bc19145c2.jpg","text":"TemporaryFile(/tmp/multipartBody8126615887337186033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589485123,"filename":"image_31102025_14_23_32_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/1/22dc03e64431089f3b21a0689406a4d9.jpg","text":"TemporaryFile(/tmp/multipartBody3135709164620809317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589485123,"filename":"image_31102025_14_23_38_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/1/1a6b8fcea159a542945e17670a619693.jpg","text":"TemporaryFile(/tmp/multipartBody1991577236596588435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589485123,"filename":"image_31102025_14_23_23_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/1/6e736681527330a5bad6c8c5077422a2.jpg","text":"TemporaryFile(/tmp/multipartBody86540085513257764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589485123,"filename":"image_31102025_14_23_26_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397205883","file1":"1397205864","file0":"1397205861","file4":"1397205932","file5":"1397205984","file3":"1397205897"},"map_files_photo_id_array":[{"photo_id":"1397205984","filename":"file5"},{"photo_id":"1397205883","filename":"file2"},{"photo_id":"1397205932","filename":"file4"},{"photo_id":"1397205864","filename":"file1"},{"photo_id":"1397205861","filename":"file0"},{"photo_id":"1397205897","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397205932":["hashtag1","hashtag2"]},{"1397205883":["hashtag1","hashtag2"]},{"1397205897":["hashtag1","hashtag2"]},{"1397205984":["hashtag1","hashtag2"]},{"1397205861":["hashtag1","hashtag2"]},{"1397205864":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397205932, 1397205883, 1397205897, 1397205984, 1397205861, 1397205864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.91297912597656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 12:44:22.632308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/06/image_01122025_12_06_25_10035.jpg', '/home/pi/Desktop/images/01122025/12/06/image_01122025_12_06_35_9987.jpg', '/home/pi/Desktop/images/01122025/12/06/image_01122025_12_06_46_10673.jpg', '/home/pi/Desktop/images/01122025/12/06/image_01122025_12_06_56_9863.jpg', '/home/pi/Desktop/images/01122025/12/06/image_01122025_12_07_06_9737.jpg', '/home/pi/Desktop/images/01122025/12/07/image_01122025_12_07_15_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/06/image_01122025_12_06_25_10035.jpg
/home/pi/Desktop/images/01122025/12/06/image_01122025_12_06_35_9987.jpg
/home/pi/Desktop/images/01122025/12/06/image_01122025_12_06_46_10673.jpg
/home/pi/Desktop/images/01122025/12/06/image_01122025_12_06_56_9863.jpg
/home/pi/Desktop/images/01122025/12/06/image_01122025_12_07_06_9737.jpg
/home/pi/Desktop/images/01122025/12/07/image_01122025_12_07_15_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":["1397206043","1397206031","1397206055","1397206039","1397206003","1397206047"],"photo_ids_order":["1397206003","1397206031","1397206039","1397206043","1397206047","1397206055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/71af2cb76302c1245acc72e8d46c38a7.jpg","text":"TemporaryFile(/tmp/multipartBody1433528301706352050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589523350,"filename":"image_01122025_12_06_56_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/1/0d872d3d2538e2092d5612bb0e95394a.jpg","text":"TemporaryFile(/tmp/multipartBody6399482811670284111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589523350,"filename":"image_01122025_12_06_35_9987.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/553f856ffd640489e782cf76a4f5cb07.jpg","text":"TemporaryFile(/tmp/multipartBody7179251306783408462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589523350,"filename":"image_01122025_12_07_15_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4ab5152e3de2d66172ee5a71a8caaa27.jpg","text":"TemporaryFile(/tmp/multipartBody7173890108787471567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589523350,"filename":"image_01122025_12_06_46_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/1/e21006c169a6bc310af19d940bf567c6.jpg","text":"TemporaryFile(/tmp/multipartBody4403048811530297329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589523350,"filename":"image_01122025_12_06_25_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/1/85abbd0a585f2878fa93e0383a42a45b.jpg","text":"TemporaryFile(/tmp/multipartBody6306806386731157470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589523350,"filename":"image_01122025_12_07_06_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397206039","file1":"1397206031","file0":"1397206003","file4":"1397206047","file5":"1397206055","file3":"1397206043"},"map_files_photo_id_array":[{"photo_id":"1397206055","filename":"file5"},{"photo_id":"1397206039","filename":"file2"},{"photo_id":"1397206047","filename":"file4"},{"photo_id":"1397206031","filename":"file1"},{"photo_id":"1397206003","filename":"file0"},{"photo_id":"1397206043","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397206043":["hashtag1","hashtag2"]},{"1397206031":["hashtag1","hashtag2"]},{"1397206055":["hashtag1","hashtag2"]},{"1397206039":["hashtag1","hashtag2"]},{"1397206003":["hashtag1","hashtag2"]},{"1397206047":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397206043, 1397206031, 1397206055, 1397206039, 1397206003, 1397206047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10534906387329 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:45:02.709136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/07/image_01122025_12_07_25_9735.jpg', '/home/pi/Desktop/images/01122025/12/07/image_01122025_12_07_36_10871.jpg', '/home/pi/Desktop/images/01122025/12/07/image_01122025_12_07_46_9657.jpg', '/home/pi/Desktop/images/01122025/12/07/image_01122025_12_07_55_9740.jpg', '/home/pi/Desktop/images/01122025/12/07/image_01122025_12_08_05_9717.jpg', '/home/pi/Desktop/images/01122025/12/08/image_01122025_12_08_16_10800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/07/image_01122025_12_07_25_9735.jpg
/home/pi/Desktop/images/01122025/12/07/image_01122025_12_07_36_10871.jpg
/home/pi/Desktop/images/01122025/12/07/image_01122025_12_07_46_9657.jpg
/home/pi/Desktop/images/01122025/12/07/image_01122025_12_07_55_9740.jpg
/home/pi/Desktop/images/01122025/12/07/image_01122025_12_08_05_9717.jpg
/home/pi/Desktop/images/01122025/12/08/image_01122025_12_08_16_10800.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397206142","1397206136","1397206133","1397206138","1397206132","1397206134"],"photo_ids_order":["1397206132","1397206133","1397206134","1397206136","1397206138","1397206142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/24030b445cde8d8054f264924460c0de.jpg","text":"TemporaryFile(/tmp/multipartBody6556007193218482108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589563464,"filename":"image_01122025_12_08_16_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/1/08c3ba9f3952c5aedba20e0f237de5c6.jpg","text":"TemporaryFile(/tmp/multipartBody3236335595625437553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589563464,"filename":"image_01122025_12_07_55_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1b22ef02991ca48b5a53fb5976b18581.jpg","text":"TemporaryFile(/tmp/multipartBody8605741485971770526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589563464,"filename":"image_01122025_12_07_36_10871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/57f47c126e93f87392b15789934812d0.jpg","text":"TemporaryFile(/tmp/multipartBody1176041101460752099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589563464,"filename":"image_01122025_12_08_05_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/1/a982a15894a5e13ab9e507feb94ae4ac.jpg","text":"TemporaryFile(/tmp/multipartBody4358231737520472020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589563464,"filename":"image_01122025_12_07_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/1/f7b3f6bf83e73feb8ea98ca7a7aefe3b.jpg","text":"TemporaryFile(/tmp/multipartBody6490086887127157316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589563464,"filename":"image_01122025_12_07_46_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397206134","file1":"1397206133","file0":"1397206132","file4":"1397206138","file5":"1397206142","file3":"1397206136"},"map_files_photo_id_array":[{"photo_id":"1397206142","filename":"file5"},{"photo_id":"1397206134","filename":"file2"},{"photo_id":"1397206138","filename":"file4"},{"photo_id":"1397206133","filename":"file1"},{"photo_id":"1397206132","filename":"file0"},{"photo_id":"1397206136","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397206142":["hashtag1","hashtag2"]},{"1397206136":["hashtag1","hashtag2"]},{"1397206133":["hashtag1","hashtag2"]},{"1397206138":["hashtag1","hashtag2"]},{"1397206132":["hashtag1","hashtag2"]},{"1397206134":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397206142, 1397206136, 1397206133, 1397206138, 1397206132, 1397206134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60568881034851 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 12:45:41.962152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_44_3053.jpg', '/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_47_2833.jpg', '/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_50_3597.jpg', '/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_53_2754.jpg', '/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_56_2638.jpg', '/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_59_3689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_44_3053.jpg
/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_47_2833.jpg
/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_50_3597.jpg
/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_53_2754.jpg
/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_56_2638.jpg
/home/pi/Desktop/images/31102025/14/23/image_31102025_14_23_59_3689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397206364","1397206244","1397206400","1397206321","1397206437","1397206286"],"photo_ids_order":["1397206244","1397206286","1397206321","1397206364","1397206400","1397206437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/12a3204b13f2f07044e310660041393a.jpg","text":"TemporaryFile(/tmp/multipartBody1256758929618236794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589604668,"filename":"image_31102025_14_23_53_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/1/52d6120f4d11b28397724bbe0d8e750e.jpg","text":"TemporaryFile(/tmp/multipartBody247303739966602979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589604668,"filename":"image_31102025_14_23_44_3053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c4be61770c0995fa6aa46d4ad0efd342.jpg","text":"TemporaryFile(/tmp/multipartBody8408006315697554498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589604668,"filename":"image_31102025_14_23_56_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/1/1e37d200c6d782d0253cb068dab5a67d.jpg","text":"TemporaryFile(/tmp/multipartBody3019247394484840637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589604668,"filename":"image_31102025_14_23_50_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/1/30a89bce1638ce2920056d416d1cf94d.jpg","text":"TemporaryFile(/tmp/multipartBody1584086616723105400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589604668,"filename":"image_31102025_14_23_59_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a0f36db545e0424c14c66cfa3d5830e0.jpg","text":"TemporaryFile(/tmp/multipartBody3375364648579905405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589604668,"filename":"image_31102025_14_23_47_2833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397206321","file1":"1397206286","file0":"1397206244","file4":"1397206400","file5":"1397206437","file3":"1397206364"},"map_files_photo_id_array":[{"photo_id":"1397206437","filename":"file5"},{"photo_id":"1397206321","filename":"file2"},{"photo_id":"1397206400","filename":"file4"},{"photo_id":"1397206286","filename":"file1"},{"photo_id":"1397206244","filename":"file0"},{"photo_id":"1397206364","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397206364":["hashtag1","hashtag2"]},{"1397206244":["hashtag1","hashtag2"]},{"1397206400":["hashtag1","hashtag2"]},{"1397206321":["hashtag1","hashtag2"]},{"1397206437":["hashtag1","hashtag2"]},{"1397206286":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397206364, 1397206244, 1397206400, 1397206321, 1397206437, 1397206286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.91534161567688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 12:46:32.137404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_22_2558.jpg', '/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_30_7816.jpg', '/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_36_4359.jpg', '/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_38_1762.jpg', '/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_40_1679.jpg', '/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_41_1541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_22_2558.jpg
/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_30_7816.jpg
/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_36_4359.jpg
/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_38_1762.jpg
/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_40_1679.jpg
/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_41_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":["1397206553","1397206570","1397206615","1397206590","1397206593","1397206595"],"photo_ids_order":["1397206553","1397206570","1397206590","1397206593","1397206595","1397206615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c370d1741225491c9118fbdc01d8efa9.jpg","text":"TemporaryFile(/tmp/multipartBody1085920975402399320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589653866,"filename":"image_25112025_22_33_22_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/1/650d18e563ec12357527862b78dae4ce.jpg","text":"TemporaryFile(/tmp/multipartBody6656451189371332142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589653866,"filename":"image_25112025_22_33_30_7816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/39d69ce3256c067f0b07c4dc008c781c.jpg","text":"TemporaryFile(/tmp/multipartBody4926230037553692040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589653866,"filename":"image_25112025_22_33_41_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/1/471ec4328de815c1332448e4ee633a7d.jpg","text":"TemporaryFile(/tmp/multipartBody4648121915751784129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589653866,"filename":"image_25112025_22_33_36_4359.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/54025d77db8e8ad67644091231da691b.jpg","text":"TemporaryFile(/tmp/multipartBody2758572409458626063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589653866,"filename":"image_25112025_22_33_38_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/1/ba8f1a19b7dc106d428740f4c384047d.jpg","text":"TemporaryFile(/tmp/multipartBody6989437124176204244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589653866,"filename":"image_25112025_22_33_40_1679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397206590","file1":"1397206570","file0":"1397206553","file4":"1397206595","file5":"1397206615","file3":"1397206593"},"map_files_photo_id_array":[{"photo_id":"1397206615","filename":"file5"},{"photo_id":"1397206590","filename":"file2"},{"photo_id":"1397206595","filename":"file4"},{"photo_id":"1397206570","filename":"file1"},{"photo_id":"1397206553","filename":"file0"},{"photo_id":"1397206593","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397206553":["hashtag1","hashtag2"]},{"1397206570":["hashtag1","hashtag2"]},{"1397206615":["hashtag1","hashtag2"]},{"1397206590":["hashtag1","hashtag2"]},{"1397206593":["hashtag1","hashtag2"]},{"1397206595":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397206553, 1397206570, 1397206615, 1397206590, 1397206593, 1397206595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.218411445617676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 12:47:12.236867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_44_2629.jpg', '/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_46_2664.jpg', '/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_50_3532.jpg', '/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_55_5136.jpg', '/home/pi/Desktop/images/25112025/22/34/image_25112025_22_34_07_11533.jpg', '/home/pi/Desktop/images/25112025/22/34/image_25112025_22_34_08_1759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_44_2629.jpg
/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_46_2664.jpg
/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_50_3532.jpg
/home/pi/Desktop/images/25112025/22/33/image_25112025_22_33_55_5136.jpg
/home/pi/Desktop/images/25112025/22/34/image_25112025_22_34_07_11533.jpg
/home/pi/Desktop/images/25112025/22/34/image_25112025_22_34_08_1759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397206699","1397206703","1397206663","1397206695","1397206689","1397206691"],"photo_ids_order":["1397206663","1397206689","1397206691","1397206695","1397206699","1397206703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/53b8c206cad5594adccb5cd7e7280ef2.jpg","text":"TemporaryFile(/tmp/multipartBody5091404934916348858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589693882,"filename":"image_25112025_22_34_07_11533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6c46160da59221b0e33002efe434adf2.jpg","text":"TemporaryFile(/tmp/multipartBody6889177703971446814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589693882,"filename":"image_25112025_22_34_08_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/1/97c067436677bc1021fbd6b02baad340.jpg","text":"TemporaryFile(/tmp/multipartBody6789240396870877404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589693882,"filename":"image_25112025_22_33_44_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/1/20305d5cd72dec5ec166812fffb95b8f.jpg","text":"TemporaryFile(/tmp/multipartBody7538499220158114509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589693882,"filename":"image_25112025_22_33_55_5136.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/becaad7b48ba62b97794c422ecda0729.jpg","text":"TemporaryFile(/tmp/multipartBody1531839132622789668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589693882,"filename":"image_25112025_22_33_46_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/1/88387fe7a8799f96282e6019df04c76d.jpg","text":"TemporaryFile(/tmp/multipartBody7863337324851344326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589693882,"filename":"image_25112025_22_33_50_3532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397206691","file1":"1397206689","file0":"1397206663","file4":"1397206699","file5":"1397206703","file3":"1397206695"},"map_files_photo_id_array":[{"photo_id":"1397206703","filename":"file5"},{"photo_id":"1397206691","filename":"file2"},{"photo_id":"1397206699","filename":"file4"},{"photo_id":"1397206689","filename":"file1"},{"photo_id":"1397206663","filename":"file0"},{"photo_id":"1397206695","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397206699":["hashtag1","hashtag2"]},{"1397206703":["hashtag1","hashtag2"]},{"1397206663":["hashtag1","hashtag2"]},{"1397206695":["hashtag1","hashtag2"]},{"1397206689":["hashtag1","hashtag2"]},{"1397206691":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397206699, 1397206703, 1397206663, 1397206695, 1397206689, 1397206691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87924909591675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:48:02.978884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/08/image_01122025_12_08_26_9746.jpg', '/home/pi/Desktop/images/01122025/12/08/image_01122025_12_08_36_10060.jpg', '/home/pi/Desktop/images/01122025/12/08/image_01122025_12_08_45_9501.jpg', '/home/pi/Desktop/images/01122025/12/08/image_01122025_12_08_56_10724.jpg', '/home/pi/Desktop/images/01122025/12/08/image_01122025_12_09_06_9982.jpg', '/home/pi/Desktop/images/01122025/12/09/image_01122025_12_09_16_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/08/image_01122025_12_08_26_9746.jpg
/home/pi/Desktop/images/01122025/12/08/image_01122025_12_08_36_10060.jpg
/home/pi/Desktop/images/01122025/12/08/image_01122025_12_08_45_9501.jpg
/home/pi/Desktop/images/01122025/12/08/image_01122025_12_08_56_10724.jpg
/home/pi/Desktop/images/01122025/12/08/image_01122025_12_09_06_9982.jpg
/home/pi/Desktop/images/01122025/12/09/image_01122025_12_09_16_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":["1397206826","1397206798","1397206797","1397206791","1397206779","1397206821"],"photo_ids_order":["1397206779","1397206791","1397206797","1397206798","1397206821","1397206826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/017cd18350d5e6835c1d0ff7397b8812.jpg","text":"TemporaryFile(/tmp/multipartBody8464893714424596409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589743667,"filename":"image_01122025_12_09_16_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/1/f1aacfa1ed95d66ca753e24a9bb4444f.jpg","text":"TemporaryFile(/tmp/multipartBody376341950542813529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589743667,"filename":"image_01122025_12_08_56_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ef6237d7c27f88ac936a16ddce590b03.jpg","text":"TemporaryFile(/tmp/multipartBody468377042979979782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589743667,"filename":"image_01122025_12_08_45_9501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5a3315a5ce306da981fca0b7401c3057.jpg","text":"TemporaryFile(/tmp/multipartBody4523257769430586089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589743667,"filename":"image_01122025_12_08_36_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/1/e49e2c813902165177303bf534060bf8.jpg","text":"TemporaryFile(/tmp/multipartBody7076727183547024695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589743667,"filename":"image_01122025_12_08_26_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/1/492f62712e41e3491ed04d63b9ec8228.jpg","text":"TemporaryFile(/tmp/multipartBody3864575423713304970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589743667,"filename":"image_01122025_12_09_06_9982.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397206797","file1":"1397206791","file0":"1397206779","file4":"1397206821","file5":"1397206826","file3":"1397206798"},"map_files_photo_id_array":[{"photo_id":"1397206826","filename":"file5"},{"photo_id":"1397206797","filename":"file2"},{"photo_id":"1397206821","filename":"file4"},{"photo_id":"1397206791","filename":"file1"},{"photo_id":"1397206779","filename":"file0"},{"photo_id":"1397206798","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397206826":["hashtag1","hashtag2"]},{"1397206798":["hashtag1","hashtag2"]},{"1397206797":["hashtag1","hashtag2"]},{"1397206791":["hashtag1","hashtag2"]},{"1397206779":["hashtag1","hashtag2"]},{"1397206821":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397206826, 1397206798, 1397206797, 1397206791, 1397206779, 1397206821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89455819129944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 12:48:42.478707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_02_2647.jpg', '/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_04_2594.jpg', '/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_08_3634.jpg', '/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_11_2710.jpg', '/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_13_2594.jpg', '/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_17_3702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_02_2647.jpg
/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_04_2594.jpg
/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_08_3634.jpg
/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_11_2710.jpg
/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_13_2594.jpg
/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_17_3702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397206844","1397206840","1397206843","1397206837","1397206845","1397206842"],"photo_ids_order":["1397206837","1397206840","1397206842","1397206843","1397206844","1397206845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8088072839f71e65ff6ae12b7c2b861f.jpg","text":"TemporaryFile(/tmp/multipartBody4787922542089913068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589785112,"filename":"image_31102025_14_24_13_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3704c436ac8f37061c3ff2b68ff076f3.jpg","text":"TemporaryFile(/tmp/multipartBody3583041214318673545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589785112,"filename":"image_31102025_14_24_04_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3484e144fb1f9517b3291cf6b83a9269.jpg","text":"TemporaryFile(/tmp/multipartBody4469657610823659286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589785112,"filename":"image_31102025_14_24_11_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/1/b36cd857fbbbdf048a713a2d63394692.jpg","text":"TemporaryFile(/tmp/multipartBody6418439481584858006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589785112,"filename":"image_31102025_14_24_02_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/1/c5104416569f5702033081a6e0cb7b41.jpg","text":"TemporaryFile(/tmp/multipartBody6064046318254768330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589785112,"filename":"image_31102025_14_24_17_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/1/38e2267ec787d89358af70afaa01ea56.jpg","text":"TemporaryFile(/tmp/multipartBody77075306909544179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589785112,"filename":"image_31102025_14_24_08_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397206842","file1":"1397206840","file0":"1397206837","file4":"1397206844","file5":"1397206845","file3":"1397206843"},"map_files_photo_id_array":[{"photo_id":"1397206845","filename":"file5"},{"photo_id":"1397206842","filename":"file2"},{"photo_id":"1397206844","filename":"file4"},{"photo_id":"1397206840","filename":"file1"},{"photo_id":"1397206837","filename":"file0"},{"photo_id":"1397206843","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397206844":["hashtag1","hashtag2"]},{"1397206840":["hashtag1","hashtag2"]},{"1397206843":["hashtag1","hashtag2"]},{"1397206837":["hashtag1","hashtag2"]},{"1397206845":["hashtag1","hashtag2"]},{"1397206842":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397206844, 1397206840, 1397206843, 1397206837, 1397206845, 1397206842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.15859866142273 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 12:49:22.720151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/09/image_01122025_12_09_25_9806.jpg', '/home/pi/Desktop/images/01122025/12/09/image_01122025_12_09_35_9704.jpg', '/home/pi/Desktop/images/01122025/12/09/image_01122025_12_09_46_10706.jpg', '/home/pi/Desktop/images/01122025/12/09/image_01122025_12_09_56_9763.jpg', '/home/pi/Desktop/images/01122025/12/09/image_01122025_12_10_06_10171.jpg', '/home/pi/Desktop/images/01122025/12/10/image_01122025_12_10_16_9952.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/09/image_01122025_12_09_25_9806.jpg
/home/pi/Desktop/images/01122025/12/09/image_01122025_12_09_35_9704.jpg
/home/pi/Desktop/images/01122025/12/09/image_01122025_12_09_46_10706.jpg
/home/pi/Desktop/images/01122025/12/09/image_01122025_12_09_56_9763.jpg
/home/pi/Desktop/images/01122025/12/09/image_01122025_12_10_06_10171.jpg
/home/pi/Desktop/images/01122025/12/10/image_01122025_12_10_16_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":["1397206867","1397206852","1397206863","1397206860","1397206848","1397206856"],"photo_ids_order":["1397206848","1397206852","1397206856","1397206860","1397206863","1397206867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ce11a1beaa115374b55458f1bbfbd873.jpg","text":"TemporaryFile(/tmp/multipartBody5084240313471242361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589823427,"filename":"image_01122025_12_10_16_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/1/78fa0ae62936f9e9393c457915022c0e.jpg","text":"TemporaryFile(/tmp/multipartBody2723912217216778777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589823427,"filename":"image_01122025_12_09_35_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/852e4eaa264eb56797ade0af0ff83c30.jpg","text":"TemporaryFile(/tmp/multipartBody1116993514514210971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589823427,"filename":"image_01122025_12_10_06_10171.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/10bc0129dcb8e3c19d4b5cec7f206083.jpg","text":"TemporaryFile(/tmp/multipartBody8748528324227329262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589823427,"filename":"image_01122025_12_09_56_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/1/7e3b36cab0dbedf283659c812e6d8b5a.jpg","text":"TemporaryFile(/tmp/multipartBody7094084380816091909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589823427,"filename":"image_01122025_12_09_25_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/aa28c576d5c230ac73727c7054d1ffa7.jpg","text":"TemporaryFile(/tmp/multipartBody2396802425755245829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589823427,"filename":"image_01122025_12_09_46_10706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397206856","file1":"1397206852","file0":"1397206848","file4":"1397206863","file5":"1397206867","file3":"1397206860"},"map_files_photo_id_array":[{"photo_id":"1397206867","filename":"file5"},{"photo_id":"1397206856","filename":"file2"},{"photo_id":"1397206863","filename":"file4"},{"photo_id":"1397206852","filename":"file1"},{"photo_id":"1397206848","filename":"file0"},{"photo_id":"1397206860","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397206867":["hashtag1","hashtag2"]},{"1397206852":["hashtag1","hashtag2"]},{"1397206863":["hashtag1","hashtag2"]},{"1397206860":["hashtag1","hashtag2"]},{"1397206848":["hashtag1","hashtag2"]},{"1397206856":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397206867, 1397206852, 1397206863, 1397206860, 1397206848, 1397206856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.553791999816895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:50:02.274434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/10/image_01122025_12_10_25_9580.jpg', '/home/pi/Desktop/images/01122025/12/10/image_01122025_12_10_35_9797.jpg', '/home/pi/Desktop/images/01122025/12/10/image_01122025_12_10_46_10779.jpg', '/home/pi/Desktop/images/01122025/12/10/image_01122025_12_10_55_9553.jpg', '/home/pi/Desktop/images/01122025/12/10/image_01122025_12_11_05_9724.jpg', '/home/pi/Desktop/images/01122025/12/11/image_01122025_12_11_16_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/10/image_01122025_12_10_25_9580.jpg
/home/pi/Desktop/images/01122025/12/10/image_01122025_12_10_35_9797.jpg
/home/pi/Desktop/images/01122025/12/10/image_01122025_12_10_46_10779.jpg
/home/pi/Desktop/images/01122025/12/10/image_01122025_12_10_55_9553.jpg
/home/pi/Desktop/images/01122025/12/10/image_01122025_12_11_05_9724.jpg
/home/pi/Desktop/images/01122025/12/11/image_01122025_12_11_16_10667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397206946","1397206951","1397206888","1397206912","1397206890","1397206889"],"photo_ids_order":["1397206888","1397206889","1397206890","1397206912","1397206946","1397206951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/92b81c06bac92ed33118683bcf71a2c5.jpg","text":"TemporaryFile(/tmp/multipartBody3292433129959913124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589863012,"filename":"image_01122025_12_11_05_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f7136b7f0d8fd343df574135b927eb48.jpg","text":"TemporaryFile(/tmp/multipartBody8260752521905868051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589863012,"filename":"image_01122025_12_11_16_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/1/a585ebce19f18eedf4cff144729ef5d0.jpg","text":"TemporaryFile(/tmp/multipartBody5587362887858226974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589863012,"filename":"image_01122025_12_10_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/1/1fdbbde76fd6aa7a27e83cc2e6c337cd.jpg","text":"TemporaryFile(/tmp/multipartBody4598984602902917331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589863012,"filename":"image_01122025_12_10_55_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c2f31637a196a2866b8f737414f0b797.jpg","text":"TemporaryFile(/tmp/multipartBody5516969499241225135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589863012,"filename":"image_01122025_12_10_46_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/1/2fcc66f947ed0d3aad66be51b4b45223.jpg","text":"TemporaryFile(/tmp/multipartBody7176026269594871695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589863012,"filename":"image_01122025_12_10_35_9797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397206890","file1":"1397206889","file0":"1397206888","file4":"1397206946","file5":"1397206951","file3":"1397206912"},"map_files_photo_id_array":[{"photo_id":"1397206951","filename":"file5"},{"photo_id":"1397206890","filename":"file2"},{"photo_id":"1397206946","filename":"file4"},{"photo_id":"1397206889","filename":"file1"},{"photo_id":"1397206888","filename":"file0"},{"photo_id":"1397206912","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397206946":["hashtag1","hashtag2"]},{"1397206951":["hashtag1","hashtag2"]},{"1397206888":["hashtag1","hashtag2"]},{"1397206912":["hashtag1","hashtag2"]},{"1397206890":["hashtag1","hashtag2"]},{"1397206889":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397206946, 1397206951, 1397206888, 1397206912, 1397206890, 1397206889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07654309272766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 12:50:42.014250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_20_2717.jpg', '/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_23_2645.jpg', '/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_26_3661.jpg', '/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_29_2760.jpg', '/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_34_2817.jpg', '/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_38_3542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_20_2717.jpg
/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_23_2645.jpg
/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_26_3661.jpg
/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_29_2760.jpg
/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_34_2817.jpg
/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_38_3542.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397206990","1397206984","1397206989","1397206986","1397206988","1397206982"],"photo_ids_order":["1397206982","1397206984","1397206986","1397206988","1397206989","1397206990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/59b964a7ab80e5e0555777163994b753.jpg","text":"TemporaryFile(/tmp/multipartBody8300916652393036979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589904640,"filename":"image_31102025_14_24_38_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f16631a49f8330ae6ce0320cd3d86e5a.jpg","text":"TemporaryFile(/tmp/multipartBody7540953719150130317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589904640,"filename":"image_31102025_14_24_23_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/1/d7acf91079fffc1934e11a986765e99f.jpg","text":"TemporaryFile(/tmp/multipartBody771202514957408256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589904640,"filename":"image_31102025_14_24_34_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1db4b70fc86646ef7b96f0122fdd8790.jpg","text":"TemporaryFile(/tmp/multipartBody3277026253328510469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589904640,"filename":"image_31102025_14_24_26_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/1/ea58df88b8528f3f7f08805378896ab6.jpg","text":"TemporaryFile(/tmp/multipartBody971115826472438308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589904640,"filename":"image_31102025_14_24_29_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/1/5f7d4dd17a2316a969756d5c26927198.jpg","text":"TemporaryFile(/tmp/multipartBody5675886876118074725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589904640,"filename":"image_31102025_14_24_20_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397206986","file1":"1397206984","file0":"1397206982","file4":"1397206989","file5":"1397206990","file3":"1397206988"},"map_files_photo_id_array":[{"photo_id":"1397206990","filename":"file5"},{"photo_id":"1397206986","filename":"file2"},{"photo_id":"1397206989","filename":"file4"},{"photo_id":"1397206984","filename":"file1"},{"photo_id":"1397206982","filename":"file0"},{"photo_id":"1397206988","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397206990":["hashtag1","hashtag2"]},{"1397206984":["hashtag1","hashtag2"]},{"1397206989":["hashtag1","hashtag2"]},{"1397206986":["hashtag1","hashtag2"]},{"1397206988":["hashtag1","hashtag2"]},{"1397206982":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397206990, 1397206984, 1397206989, 1397206986, 1397206988, 1397206982)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.978240728378296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 12:51:32.188544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 12:51:42.169412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_44_3549.jpg', '/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_47_2599.jpg', '/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_50_2945.jpg', '/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_52_2619.jpg', '/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_56_3782.jpg', '/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_59_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_44_3549.jpg
/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_47_2599.jpg
/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_50_2945.jpg
/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_52_2619.jpg
/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_56_3782.jpg
/home/pi/Desktop/images/31102025/14/24/image_31102025_14_24_59_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":["1397207015","1397207014","1397207011","1397207013","1397207007","1397207016"],"photo_ids_order":["1397207007","1397207011","1397207013","1397207014","1397207015","1397207016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5de1a6617089f7698c7137623da52480.jpg","text":"TemporaryFile(/tmp/multipartBody4882047496392962371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589965909,"filename":"image_31102025_14_24_56_3782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b5c8b879bb4ba1c9ce6a01c5cf55b248.jpg","text":"TemporaryFile(/tmp/multipartBody2833438543202452474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589965909,"filename":"image_31102025_14_24_52_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/1/100a102192c8563f3f4a87bfd9653235.jpg","text":"TemporaryFile(/tmp/multipartBody7904809380579520660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589965909,"filename":"image_31102025_14_24_47_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2af5a31aa0aac972d318ba3b06e08ae6.jpg","text":"TemporaryFile(/tmp/multipartBody3507189989353034064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589965909,"filename":"image_31102025_14_24_50_2945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c3fc6af5de93d9bb21a01759c9da2cc7.jpg","text":"TemporaryFile(/tmp/multipartBody7277512062967200853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589965909,"filename":"image_31102025_14_24_44_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/1/c05fb1de5bbbb4406bb18557fc95e5d1.jpg","text":"TemporaryFile(/tmp/multipartBody182809012247718477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764589965909,"filename":"image_31102025_14_24_59_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397207013","file1":"1397207011","file0":"1397207007","file4":"1397207015","file5":"1397207016","file3":"1397207014"},"map_files_photo_id_array":[{"photo_id":"1397207016","filename":"file5"},{"photo_id":"1397207013","filename":"file2"},{"photo_id":"1397207015","filename":"file4"},{"photo_id":"1397207011","filename":"file1"},{"photo_id":"1397207007","filename":"file0"},{"photo_id":"1397207014","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397207015":["hashtag1","hashtag2"]},{"1397207014":["hashtag1","hashtag2"]},{"1397207011":["hashtag1","hashtag2"]},{"1397207013":["hashtag1","hashtag2"]},{"1397207007":["hashtag1","hashtag2"]},{"1397207016":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397207015, 1397207014, 1397207011, 1397207013, 1397207007, 1397207016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.159050703048706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 12:52:22.024917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/11/image_01122025_12_11_25_9746.jpg', '/home/pi/Desktop/images/01122025/12/11/image_01122025_12_11_35_9559.jpg', '/home/pi/Desktop/images/01122025/12/11/image_01122025_12_11_46_10643.jpg', '/home/pi/Desktop/images/01122025/12/11/image_01122025_12_11_55_9531.jpg', '/home/pi/Desktop/images/01122025/12/11/image_01122025_12_12_06_10713.jpg', '/home/pi/Desktop/images/01122025/12/12/image_01122025_12_12_16_9804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/11/image_01122025_12_11_25_9746.jpg
/home/pi/Desktop/images/01122025/12/11/image_01122025_12_11_35_9559.jpg
/home/pi/Desktop/images/01122025/12/11/image_01122025_12_11_46_10643.jpg
/home/pi/Desktop/images/01122025/12/11/image_01122025_12_11_55_9531.jpg
/home/pi/Desktop/images/01122025/12/11/image_01122025_12_12_06_10713.jpg
/home/pi/Desktop/images/01122025/12/12/image_01122025_12_12_16_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":["1397207027","1397207038","1397207031","1397207034","1397207022","1397207018"],"photo_ids_order":["1397207018","1397207022","1397207027","1397207031","1397207034","1397207038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e756058b337fec3d1e23034cf77e72ff.jpg","text":"TemporaryFile(/tmp/multipartBody988674669089114597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590002693,"filename":"image_01122025_12_11_46_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/1/47dc0600516eece1d70ca5a2d517df65.jpg","text":"TemporaryFile(/tmp/multipartBody4513562387097988056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590002693,"filename":"image_01122025_12_12_16_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/1/2e07b18e567eab723be8d6918ccea05b.jpg","text":"TemporaryFile(/tmp/multipartBody8612105696749618097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590002693,"filename":"image_01122025_12_11_55_9531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9c251e5e6045f65e5e126719e44a4f1a.jpg","text":"TemporaryFile(/tmp/multipartBody7966924701875047499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590002693,"filename":"image_01122025_12_12_06_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/1/102ddb8aa328bd656a3fdc769d0e0740.jpg","text":"TemporaryFile(/tmp/multipartBody1303741911232902998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590002693,"filename":"image_01122025_12_11_35_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/06fcd087b42ed6c6ae46a56a273a9d9e.jpg","text":"TemporaryFile(/tmp/multipartBody4796559549776177664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590002693,"filename":"image_01122025_12_11_25_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397207027","file1":"1397207022","file0":"1397207018","file4":"1397207034","file5":"1397207038","file3":"1397207031"},"map_files_photo_id_array":[{"photo_id":"1397207038","filename":"file5"},{"photo_id":"1397207027","filename":"file2"},{"photo_id":"1397207034","filename":"file4"},{"photo_id":"1397207022","filename":"file1"},{"photo_id":"1397207018","filename":"file0"},{"photo_id":"1397207031","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397207027":["hashtag1","hashtag2"]},{"1397207038":["hashtag1","hashtag2"]},{"1397207031":["hashtag1","hashtag2"]},{"1397207034":["hashtag1","hashtag2"]},{"1397207022":["hashtag1","hashtag2"]},{"1397207018":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397207027, 1397207038, 1397207031, 1397207034, 1397207022, 1397207018)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.69789433479309 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 12:53:12.401139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/34/image_25112025_22_34_27_18478.jpg', '/home/pi/Desktop/images/25112025/22/34/image_25112025_22_34_36_8868.jpg', '/home/pi/Desktop/images/25112025/22/34/image_25112025_22_34_37_1620.jpg', '/home/pi/Desktop/images/25112025/22/34/image_25112025_22_34_44_7035.jpg', '/home/pi/Desktop/images/25112025/22/34/image_25112025_22_34_46_1678.jpg', '/home/pi/Desktop/images/25112025/22/34/image_25112025_22_34_48_1718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/34/image_25112025_22_34_27_18478.jpg
/home/pi/Desktop/images/25112025/22/34/image_25112025_22_34_36_8868.jpg
/home/pi/Desktop/images/25112025/22/34/image_25112025_22_34_37_1620.jpg
/home/pi/Desktop/images/25112025/22/34/image_25112025_22_34_44_7035.jpg
/home/pi/Desktop/images/25112025/22/34/image_25112025_22_34_46_1678.jpg
/home/pi/Desktop/images/25112025/22/34/image_25112025_22_34_48_1718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397207071","1397207074","1397207053","1397207046","1397207049","1397207057"],"photo_ids_order":["1397207046","1397207049","1397207053","1397207057","1397207071","1397207074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/759f72837b2fccf5386786a8bc426a51.jpg","text":"TemporaryFile(/tmp/multipartBody6629921256538565304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590060351,"filename":"image_25112025_22_34_46_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/1/84a64a9332586d4e89bbbe86dbbf0ba2.jpg","text":"TemporaryFile(/tmp/multipartBody6116943635522327525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590060351,"filename":"image_25112025_22_34_48_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/1/f39611958c07f286ab95ea2abf90e0b6.jpg","text":"TemporaryFile(/tmp/multipartBody2239038099300561966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590060351,"filename":"image_25112025_22_34_37_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3a136c9343f549048a58ac59d841460e.jpg","text":"TemporaryFile(/tmp/multipartBody1516070858797300643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590060351,"filename":"image_25112025_22_34_27_18478.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6cc75fbe0aee8d2c6c5be2e2feac65e0.jpg","text":"TemporaryFile(/tmp/multipartBody8961090745748262023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590060351,"filename":"image_25112025_22_34_36_8868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/89c6d9de0bf9ea2067801667ae91fb35.jpg","text":"TemporaryFile(/tmp/multipartBody5006031272822843091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590060351,"filename":"image_25112025_22_34_44_7035.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397207053","file1":"1397207049","file0":"1397207046","file4":"1397207071","file5":"1397207074","file3":"1397207057"},"map_files_photo_id_array":[{"photo_id":"1397207074","filename":"file5"},{"photo_id":"1397207053","filename":"file2"},{"photo_id":"1397207071","filename":"file4"},{"photo_id":"1397207049","filename":"file1"},{"photo_id":"1397207046","filename":"file0"},{"photo_id":"1397207057","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397207071":["hashtag1","hashtag2"]},{"1397207074":["hashtag1","hashtag2"]},{"1397207053":["hashtag1","hashtag2"]},{"1397207046":["hashtag1","hashtag2"]},{"1397207049":["hashtag1","hashtag2"]},{"1397207057":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397207071, 1397207074, 1397207053, 1397207046, 1397207049, 1397207057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.22220802307129 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:54:03.224515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/12/image_01122025_12_12_25_9741.jpg', '/home/pi/Desktop/images/01122025/12/12/image_01122025_12_12_35_9806.jpg', '/home/pi/Desktop/images/01122025/12/12/image_01122025_12_12_45_9738.jpg', '/home/pi/Desktop/images/01122025/12/12/image_01122025_12_12_56_10669.jpg', '/home/pi/Desktop/images/01122025/12/12/image_01122025_12_13_05_9732.jpg', '/home/pi/Desktop/images/01122025/12/13/image_01122025_12_13_15_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/12/image_01122025_12_12_25_9741.jpg
/home/pi/Desktop/images/01122025/12/12/image_01122025_12_12_35_9806.jpg
/home/pi/Desktop/images/01122025/12/12/image_01122025_12_12_45_9738.jpg
/home/pi/Desktop/images/01122025/12/12/image_01122025_12_12_56_10669.jpg
/home/pi/Desktop/images/01122025/12/12/image_01122025_12_13_05_9732.jpg
/home/pi/Desktop/images/01122025/12/13/image_01122025_12_13_15_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397207089","1397207083","1397207082","1397207085","1397207112","1397207081"],"photo_ids_order":["1397207081","1397207082","1397207083","1397207085","1397207089","1397207112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5c0fceaa5675444ebb04a1ff346a4215.jpg","text":"TemporaryFile(/tmp/multipartBody8927878653473631202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590106770,"filename":"image_01122025_12_13_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/1/69c9acdb8300c7fb4daa47840c872b0e.jpg","text":"TemporaryFile(/tmp/multipartBody2194066302248736980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590106770,"filename":"image_01122025_12_12_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/1/eb90791b8eaf33dbc394a9e1e11b5f54.jpg","text":"TemporaryFile(/tmp/multipartBody2105152602826191311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590106770,"filename":"image_01122025_12_12_35_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/1/89b42ec03cd3ba1bb90e272d81ea59e6.jpg","text":"TemporaryFile(/tmp/multipartBody1718926742777904401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590106770,"filename":"image_01122025_12_12_56_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/16d04e47c8afad7ed791b3c927df32fc.jpg","text":"TemporaryFile(/tmp/multipartBody8300367330883156652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590106770,"filename":"image_01122025_12_13_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/1/d65a979b73aaa8ce260bdb1bca744a46.jpg","text":"TemporaryFile(/tmp/multipartBody5163732311586739695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590106770,"filename":"image_01122025_12_12_25_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397207083","file1":"1397207082","file0":"1397207081","file4":"1397207089","file5":"1397207112","file3":"1397207085"},"map_files_photo_id_array":[{"photo_id":"1397207112","filename":"file5"},{"photo_id":"1397207083","filename":"file2"},{"photo_id":"1397207089","filename":"file4"},{"photo_id":"1397207082","filename":"file1"},{"photo_id":"1397207081","filename":"file0"},{"photo_id":"1397207085","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397207089":["hashtag1","hashtag2"]},{"1397207083":["hashtag1","hashtag2"]},{"1397207082":["hashtag1","hashtag2"]},{"1397207085":["hashtag1","hashtag2"]},{"1397207112":["hashtag1","hashtag2"]},{"1397207081":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397207089, 1397207083, 1397207082, 1397207085, 1397207112, 1397207081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.21155762672424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:55:03.936291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/13/image_01122025_12_13_26_10714.jpg', '/home/pi/Desktop/images/01122025/12/13/image_01122025_12_13_36_9816.jpg', '/home/pi/Desktop/images/01122025/12/13/image_01122025_12_13_45_9628.jpg', '/home/pi/Desktop/images/01122025/12/13/image_01122025_12_13_56_10686.jpg', '/home/pi/Desktop/images/01122025/12/14/image_01122025_12_14_26_10584.jpg', '/home/pi/Desktop/images/01122025/12/14/image_01122025_12_14_36_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/13/image_01122025_12_13_26_10714.jpg
/home/pi/Desktop/images/01122025/12/13/image_01122025_12_13_36_9816.jpg
/home/pi/Desktop/images/01122025/12/13/image_01122025_12_13_45_9628.jpg
/home/pi/Desktop/images/01122025/12/13/image_01122025_12_13_56_10686.jpg
/home/pi/Desktop/images/01122025/12/14/image_01122025_12_14_26_10584.jpg
/home/pi/Desktop/images/01122025/12/14/image_01122025_12_14_36_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397207239","1397207175","1397207130","1397207214","1397207234","1397207243"],"photo_ids_order":["1397207130","1397207175","1397207214","1397207234","1397207239","1397207243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6f107bf8e7952d6b21cbfd902eb03039.jpg","text":"TemporaryFile(/tmp/multipartBody5174526556828106305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590167174,"filename":"image_01122025_12_14_26_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/1/2ca019940747e801a509ccb4c6108921.jpg","text":"TemporaryFile(/tmp/multipartBody2145283759127767448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590167174,"filename":"image_01122025_12_13_36_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/1/f2f077290aa109d21fbc04cc12f6a8e2.jpg","text":"TemporaryFile(/tmp/multipartBody2202186251367629792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590167174,"filename":"image_01122025_12_13_26_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/1/970f91d5a4a32333e69d9a404d685867.jpg","text":"TemporaryFile(/tmp/multipartBody8302537648980597513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590167174,"filename":"image_01122025_12_13_45_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6dc53952f618ba56f036ab3eec034afb.jpg","text":"TemporaryFile(/tmp/multipartBody1181600355944409398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590167174,"filename":"image_01122025_12_13_56_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/1/7ff4885c1c74fc5ccf1446ab66f1b074.jpg","text":"TemporaryFile(/tmp/multipartBody2081406161785142835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590167174,"filename":"image_01122025_12_14_36_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397207214","file1":"1397207175","file0":"1397207130","file4":"1397207239","file5":"1397207243","file3":"1397207234"},"map_files_photo_id_array":[{"photo_id":"1397207243","filename":"file5"},{"photo_id":"1397207214","filename":"file2"},{"photo_id":"1397207239","filename":"file4"},{"photo_id":"1397207175","filename":"file1"},{"photo_id":"1397207130","filename":"file0"},{"photo_id":"1397207234","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397207239":["hashtag1","hashtag2"]},{"1397207175":["hashtag1","hashtag2"]},{"1397207130":["hashtag1","hashtag2"]},{"1397207214":["hashtag1","hashtag2"]},{"1397207234":["hashtag1","hashtag2"]},{"1397207243":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397207239, 1397207175, 1397207130, 1397207214, 1397207234, 1397207243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.88667273521423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:56:02.993953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 12:56:12.615969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/34/image_25112025_22_34_49_1525.jpg', '/home/pi/Desktop/images/25112025/22/34/image_25112025_22_34_53_3279.jpg', '/home/pi/Desktop/images/25112025/22/34/image_25112025_22_34_54_1603.jpg', '/home/pi/Desktop/images/25112025/22/34/image_25112025_22_34_56_1730.jpg', '/home/pi/Desktop/images/25112025/22/34/image_25112025_22_34_57_1630.jpg', '/home/pi/Desktop/images/25112025/22/34/image_25112025_22_34_59_1847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/34/image_25112025_22_34_49_1525.jpg
/home/pi/Desktop/images/25112025/22/34/image_25112025_22_34_53_3279.jpg
/home/pi/Desktop/images/25112025/22/34/image_25112025_22_34_54_1603.jpg
/home/pi/Desktop/images/25112025/22/34/image_25112025_22_34_56_1730.jpg
/home/pi/Desktop/images/25112025/22/34/image_25112025_22_34_57_1630.jpg
/home/pi/Desktop/images/25112025/22/34/image_25112025_22_34_59_1847.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397207263","1397207271","1397207253","1397207259","1397207267","1397207255"],"photo_ids_order":["1397207253","1397207255","1397207259","1397207263","1397207267","1397207271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/adb7baf5d249db80bfd54d8f98d64d2a.jpg","text":"TemporaryFile(/tmp/multipartBody2065899599840610094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590236520,"filename":"image_25112025_22_34_56_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/1/63b7d3997c13300b8e6d37d7ac3d39ab.jpg","text":"TemporaryFile(/tmp/multipartBody3725657820236268240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590236520,"filename":"image_25112025_22_34_59_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/1/b9346199ed0eb37e7c4b701ce5ccea47.jpg","text":"TemporaryFile(/tmp/multipartBody1486252506540912849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590236520,"filename":"image_25112025_22_34_49_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/1/9ffa97dbd4f7cf99d1e7f0614034bb40.jpg","text":"TemporaryFile(/tmp/multipartBody2791825193163428825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590236520,"filename":"image_25112025_22_34_54_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/1/1305bf75ded1f5f770ed36eefb74428e.jpg","text":"TemporaryFile(/tmp/multipartBody382878400059045131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590236520,"filename":"image_25112025_22_34_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/1/c13e624b03b8f5c5c03c9d6f2494cbcc.jpg","text":"TemporaryFile(/tmp/multipartBody4271125055013237308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590236520,"filename":"image_25112025_22_34_53_3279.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397207259","file1":"1397207255","file0":"1397207253","file4":"1397207267","file5":"1397207271","file3":"1397207263"},"map_files_photo_id_array":[{"photo_id":"1397207271","filename":"file5"},{"photo_id":"1397207259","filename":"file2"},{"photo_id":"1397207267","filename":"file4"},{"photo_id":"1397207255","filename":"file1"},{"photo_id":"1397207253","filename":"file0"},{"photo_id":"1397207263","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397207263":["hashtag1","hashtag2"]},{"1397207271":["hashtag1","hashtag2"]},{"1397207253":["hashtag1","hashtag2"]},{"1397207259":["hashtag1","hashtag2"]},{"1397207267":["hashtag1","hashtag2"]},{"1397207255":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397207263, 1397207271, 1397207253, 1397207259, 1397207267, 1397207255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.79029417037964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:57:03.402501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/14/image_01122025_12_14_46_10298.jpg', '/home/pi/Desktop/images/01122025/12/14/image_01122025_12_14_55_9548.jpg', '/home/pi/Desktop/images/01122025/12/14/image_01122025_12_15_05_9764.jpg', '/home/pi/Desktop/images/01122025/12/15/image_01122025_12_15_15_9927.jpg', '/home/pi/Desktop/images/01122025/12/15/image_01122025_12_15_26_10816.jpg', '/home/pi/Desktop/images/01122025/12/15/image_01122025_12_15_36_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/14/image_01122025_12_14_46_10298.jpg
/home/pi/Desktop/images/01122025/12/14/image_01122025_12_14_55_9548.jpg
/home/pi/Desktop/images/01122025/12/14/image_01122025_12_15_05_9764.jpg
/home/pi/Desktop/images/01122025/12/15/image_01122025_12_15_15_9927.jpg
/home/pi/Desktop/images/01122025/12/15/image_01122025_12_15_26_10816.jpg
/home/pi/Desktop/images/01122025/12/15/image_01122025_12_15_36_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":["1397207293","1397207323","1397207302","1397207292","1397207316","1397207291"],"photo_ids_order":["1397207291","1397207292","1397207293","1397207302","1397207316","1397207323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c67824323870fb07786bf04db2d934b8.jpg","text":"TemporaryFile(/tmp/multipartBody6317806864184409927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590284164,"filename":"image_01122025_12_15_05_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e7dedd70c1e3a8ba6ad40d1e9866383d.jpg","text":"TemporaryFile(/tmp/multipartBody8142999900445451926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590284164,"filename":"image_01122025_12_15_36_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/1/6666132a8ced9a1a8c2891b4549f1ad5.jpg","text":"TemporaryFile(/tmp/multipartBody8716778822132944392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590284164,"filename":"image_01122025_12_15_15_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/1/384e589000030de27ff7d70d2b5138ee.jpg","text":"TemporaryFile(/tmp/multipartBody3960590817859176171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590284164,"filename":"image_01122025_12_14_55_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/1/e12b32f406b6295f4ec753604d53787a.jpg","text":"TemporaryFile(/tmp/multipartBody148247931671476405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590284164,"filename":"image_01122025_12_15_26_10816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6220589f7da91a24b9da65a64d1357a0.jpg","text":"TemporaryFile(/tmp/multipartBody1329759194387286203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590284164,"filename":"image_01122025_12_14_46_10298.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397207293","file1":"1397207292","file0":"1397207291","file4":"1397207316","file5":"1397207323","file3":"1397207302"},"map_files_photo_id_array":[{"photo_id":"1397207323","filename":"file5"},{"photo_id":"1397207293","filename":"file2"},{"photo_id":"1397207316","filename":"file4"},{"photo_id":"1397207292","filename":"file1"},{"photo_id":"1397207291","filename":"file0"},{"photo_id":"1397207302","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397207293":["hashtag1","hashtag2"]},{"1397207323":["hashtag1","hashtag2"]},{"1397207302":["hashtag1","hashtag2"]},{"1397207292":["hashtag1","hashtag2"]},{"1397207316":["hashtag1","hashtag2"]},{"1397207291":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397207293, 1397207323, 1397207302, 1397207292, 1397207316, 1397207291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.705087661743164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 12:57:42.723271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_01_2696.jpg', '/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_05_3067.jpg', '/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_07_2763.jpg', '/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_11_3806.jpg', '/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_14_2616.jpg', '/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_17_2998.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_01_2696.jpg
/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_05_3067.jpg
/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_07_2763.jpg
/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_11_3806.jpg
/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_14_2616.jpg
/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_17_2998.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397207522","1397207593","1397207476","1397207394","1397207666","1397207435"],"photo_ids_order":["1397207394","1397207435","1397207476","1397207522","1397207593","1397207666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7c243cb4a776d7dbe1e88c79fed72e7c.jpg","text":"TemporaryFile(/tmp/multipartBody2959750520639795145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590325356,"filename":"image_31102025_14_25_11_3806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9a9fe5293732129e5ce15c882aba129f.jpg","text":"TemporaryFile(/tmp/multipartBody7008303461279588107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590325356,"filename":"image_31102025_14_25_14_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/04c3c2e23917c42ce59051bff206d8fb.jpg","text":"TemporaryFile(/tmp/multipartBody5482425009395986455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590325356,"filename":"image_31102025_14_25_07_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/1/438d7f0581b143bf84cb09ed4e1fa434.jpg","text":"TemporaryFile(/tmp/multipartBody1096017249478740388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590325356,"filename":"image_31102025_14_25_01_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/1/faeb8837d27c5ccee3297fe9e013bc38.jpg","text":"TemporaryFile(/tmp/multipartBody3979909061256872144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590325356,"filename":"image_31102025_14_25_17_2998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/958145891fcd585b606563be9962748e.jpg","text":"TemporaryFile(/tmp/multipartBody428925781786879925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590325356,"filename":"image_31102025_14_25_05_3067.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397207476","file1":"1397207435","file0":"1397207394","file4":"1397207593","file5":"1397207666","file3":"1397207522"},"map_files_photo_id_array":[{"photo_id":"1397207666","filename":"file5"},{"photo_id":"1397207476","filename":"file2"},{"photo_id":"1397207593","filename":"file4"},{"photo_id":"1397207435","filename":"file1"},{"photo_id":"1397207394","filename":"file0"},{"photo_id":"1397207522","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397207522":["hashtag1","hashtag2"]},{"1397207593":["hashtag1","hashtag2"]},{"1397207476":["hashtag1","hashtag2"]},{"1397207394":["hashtag1","hashtag2"]},{"1397207666":["hashtag1","hashtag2"]},{"1397207435":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397207522, 1397207593, 1397207476, 1397207394, 1397207666, 1397207435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.378398418426514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 12:59:02.991821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/15/image_01122025_12_15_45_9709.jpg', '/home/pi/Desktop/images/01122025/12/15/image_01122025_12_15_55_9757.jpg', '/home/pi/Desktop/images/01122025/12/15/image_01122025_12_16_06_10714.jpg', '/home/pi/Desktop/images/01122025/12/16/image_01122025_12_16_16_9678.jpg', '/home/pi/Desktop/images/01122025/12/16/image_01122025_12_16_25_9657.jpg', '/home/pi/Desktop/images/01122025/12/16/image_01122025_12_16_36_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/15/image_01122025_12_15_45_9709.jpg
/home/pi/Desktop/images/01122025/12/15/image_01122025_12_15_55_9757.jpg
/home/pi/Desktop/images/01122025/12/15/image_01122025_12_16_06_10714.jpg
/home/pi/Desktop/images/01122025/12/16/image_01122025_12_16_16_9678.jpg
/home/pi/Desktop/images/01122025/12/16/image_01122025_12_16_25_9657.jpg
/home/pi/Desktop/images/01122025/12/16/image_01122025_12_16_36_10676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397208135","1397208045","1397207955","1397207910","1397208008","1397208091"],"photo_ids_order":["1397207910","1397207955","1397208008","1397208045","1397208091","1397208135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6aa0930e7e213da9078fe0e991982870.jpg","text":"TemporaryFile(/tmp/multipartBody164157554282744214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590403871,"filename":"image_01122025_12_16_36_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/37ca821f66e32ad84b40f871058e83fc.jpg","text":"TemporaryFile(/tmp/multipartBody6849699987385442322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590403871,"filename":"image_01122025_12_16_16_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/1/00f32d9fc0bd38739b0de2c132e915ba.jpg","text":"TemporaryFile(/tmp/multipartBody3413438146612473609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590403871,"filename":"image_01122025_12_15_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/1/79770768d5ec29433c46186f65901bf2.jpg","text":"TemporaryFile(/tmp/multipartBody6676149212433889266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590403871,"filename":"image_01122025_12_15_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/1/d070c7c197a8bbf68db7102ebda8de57.jpg","text":"TemporaryFile(/tmp/multipartBody3060959091558248002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590403871,"filename":"image_01122025_12_16_06_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/1/1f1992876fff4b23df0a6a03b825f633.jpg","text":"TemporaryFile(/tmp/multipartBody4356145222228544648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590403871,"filename":"image_01122025_12_16_25_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397208008","file1":"1397207955","file0":"1397207910","file4":"1397208091","file5":"1397208135","file3":"1397208045"},"map_files_photo_id_array":[{"photo_id":"1397208135","filename":"file5"},{"photo_id":"1397208008","filename":"file2"},{"photo_id":"1397208091","filename":"file4"},{"photo_id":"1397207955","filename":"file1"},{"photo_id":"1397207910","filename":"file0"},{"photo_id":"1397208045","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397208135":["hashtag1","hashtag2"]},{"1397208045":["hashtag1","hashtag2"]},{"1397207955":["hashtag1","hashtag2"]},{"1397207910":["hashtag1","hashtag2"]},{"1397208008":["hashtag1","hashtag2"]},{"1397208091":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397208135, 1397208045, 1397207955, 1397207910, 1397208008, 1397208091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.79516124725342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 13:00:02.779515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/16/image_01122025_12_16_46_9771.jpg', '/home/pi/Desktop/images/01122025/12/16/image_01122025_12_16_56_10042.jpg', '/home/pi/Desktop/images/01122025/12/16/image_01122025_12_17_05_9581.jpg', '/home/pi/Desktop/images/01122025/12/17/image_01122025_12_17_15_9774.jpg', '/home/pi/Desktop/images/01122025/12/17/image_01122025_12_17_26_10628.jpg', '/home/pi/Desktop/images/01122025/12/17/image_01122025_12_17_36_9930.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/16/image_01122025_12_16_46_9771.jpg
/home/pi/Desktop/images/01122025/12/16/image_01122025_12_16_56_10042.jpg
/home/pi/Desktop/images/01122025/12/16/image_01122025_12_17_05_9581.jpg
/home/pi/Desktop/images/01122025/12/17/image_01122025_12_17_15_9774.jpg
/home/pi/Desktop/images/01122025/12/17/image_01122025_12_17_26_10628.jpg
/home/pi/Desktop/images/01122025/12/17/image_01122025_12_17_36_9930.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397208625","1397208683","1397208773","1397208581","1397208728","1397208544"],"photo_ids_order":["1397208544","1397208581","1397208625","1397208683","1397208728","1397208773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/70336af2f769695727049d46d55da948.jpg","text":"TemporaryFile(/tmp/multipartBody7484910180739013206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590463521,"filename":"image_01122025_12_17_05_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/865a6772e0d50e246365df3bdff4f103.jpg","text":"TemporaryFile(/tmp/multipartBody4561147391847637396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590463521,"filename":"image_01122025_12_17_15_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/140c8acd5a8d0979e51bfdb7000a4cc3.jpg","text":"TemporaryFile(/tmp/multipartBody6603157836457238389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590463521,"filename":"image_01122025_12_17_36_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/1/b76f8b780ffc527ef2c264b2004b7fb1.jpg","text":"TemporaryFile(/tmp/multipartBody4743775428531613504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590463521,"filename":"image_01122025_12_16_56_10042.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/208727a556071008edf3d4655f908e19.jpg","text":"TemporaryFile(/tmp/multipartBody6238781917372626083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590463521,"filename":"image_01122025_12_17_26_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/1/188cac0971244f498a0aab296f677129.jpg","text":"TemporaryFile(/tmp/multipartBody4958154717591952508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590463521,"filename":"image_01122025_12_16_46_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397208625","file1":"1397208581","file0":"1397208544","file4":"1397208728","file5":"1397208773","file3":"1397208683"},"map_files_photo_id_array":[{"photo_id":"1397208773","filename":"file5"},{"photo_id":"1397208625","filename":"file2"},{"photo_id":"1397208728","filename":"file4"},{"photo_id":"1397208581","filename":"file1"},{"photo_id":"1397208544","filename":"file0"},{"photo_id":"1397208683","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397208625":["hashtag1","hashtag2"]},{"1397208683":["hashtag1","hashtag2"]},{"1397208773":["hashtag1","hashtag2"]},{"1397208581":["hashtag1","hashtag2"]},{"1397208728":["hashtag1","hashtag2"]},{"1397208544":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397208625, 1397208683, 1397208773, 1397208581, 1397208728, 1397208544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.655343532562256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 13:00:42.329540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_20_2813.jpg', '/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_23_3650.jpg', '/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_26_2538.jpg', '/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_28_2606.jpg', '/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_32_3840.jpg', '/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_35_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_20_2813.jpg
/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_23_3650.jpg
/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_26_2538.jpg
/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_28_2606.jpg
/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_32_3840.jpg
/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_35_2700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397209089","1397209027","1397208957","1397209352","1397209139","1397209226"],"photo_ids_order":["1397208957","1397209027","1397209089","1397209139","1397209226","1397209352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3cf64cc0a7798b3b0dbe74aba167c609.jpg","text":"TemporaryFile(/tmp/multipartBody8773133524517554066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590505000,"filename":"image_31102025_14_25_26_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/1/780b4f34790167eb0923ca5de112508c.jpg","text":"TemporaryFile(/tmp/multipartBody4659072776648626033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590505000,"filename":"image_31102025_14_25_23_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/1/f6262cd8b69109c9f1e27bd9d24a3f92.jpg","text":"TemporaryFile(/tmp/multipartBody8933603852434387414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590505000,"filename":"image_31102025_14_25_20_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/200d5a4ceca4b250caf7a11c8c1197f8.jpg","text":"TemporaryFile(/tmp/multipartBody5787244142082135035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590505000,"filename":"image_31102025_14_25_35_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/55cbe8c8379155e4b923bd568ca01606.jpg","text":"TemporaryFile(/tmp/multipartBody5362651191952418607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590505000,"filename":"image_31102025_14_25_28_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/1/80d64031937baff5e982b174be84aaf8.jpg","text":"TemporaryFile(/tmp/multipartBody2404019380382534440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590505000,"filename":"image_31102025_14_25_32_3840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397209089","file1":"1397209027","file0":"1397208957","file4":"1397209226","file5":"1397209352","file3":"1397209139"},"map_files_photo_id_array":[{"photo_id":"1397209352","filename":"file5"},{"photo_id":"1397209089","filename":"file2"},{"photo_id":"1397209226","filename":"file4"},{"photo_id":"1397209027","filename":"file1"},{"photo_id":"1397208957","filename":"file0"},{"photo_id":"1397209139","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397209089":["hashtag1","hashtag2"]},{"1397209027":["hashtag1","hashtag2"]},{"1397208957":["hashtag1","hashtag2"]},{"1397209352":["hashtag1","hashtag2"]},{"1397209139":["hashtag1","hashtag2"]},{"1397209226":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397209089, 1397209027, 1397208957, 1397209352, 1397209139, 1397209226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.11574339866638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 13:01:32.542046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_06_3011.jpg', '/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_10_3808.jpg', '/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_13_2588.jpg', '/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_15_2618.jpg', '/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_19_3803.jpg', '/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_22_2574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_06_3011.jpg
/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_10_3808.jpg
/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_13_2588.jpg
/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_15_2618.jpg
/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_19_3803.jpg
/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_22_2574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397209668","1397209710","1397209709","1397209582","1397209618","1397209711"],"photo_ids_order":["1397209582","1397209618","1397209668","1397209709","1397209710","1397209711"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b2f6db0d047ef5e8a4aa4db0e46724e2.jpg","text":"TemporaryFile(/tmp/multipartBody5781841009794130685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590554277,"filename":"image_25112025_22_36_13_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1b88b9b09fac83f17a0a350083c1657c.jpg","text":"TemporaryFile(/tmp/multipartBody1746600755690765278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590554277,"filename":"image_25112025_22_36_19_3803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/51f596ca94c9cb56f5e251b16c867c8b.jpg","text":"TemporaryFile(/tmp/multipartBody5240117944873722402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590554277,"filename":"image_25112025_22_36_15_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/1/e75405a2e27709660c436679db30cf7b.jpg","text":"TemporaryFile(/tmp/multipartBody5301712679630530840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590554277,"filename":"image_25112025_22_36_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/1/9241d3f099ffc0ff38a440aa2fb2f087.jpg","text":"TemporaryFile(/tmp/multipartBody4215269747771429297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590554277,"filename":"image_25112025_22_36_10_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/1/fb018a2e243934d04370172850b69847.jpg","text":"TemporaryFile(/tmp/multipartBody903422831244251511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590554277,"filename":"image_25112025_22_36_22_2574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397209668","file1":"1397209618","file0":"1397209582","file4":"1397209710","file5":"1397209711","file3":"1397209709"},"map_files_photo_id_array":[{"photo_id":"1397209711","filename":"file5"},{"photo_id":"1397209668","filename":"file2"},{"photo_id":"1397209710","filename":"file4"},{"photo_id":"1397209618","filename":"file1"},{"photo_id":"1397209582","filename":"file0"},{"photo_id":"1397209709","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397209668":["hashtag1","hashtag2"]},{"1397209710":["hashtag1","hashtag2"]},{"1397209709":["hashtag1","hashtag2"]},{"1397209582":["hashtag1","hashtag2"]},{"1397209618":["hashtag1","hashtag2"]},{"1397209711":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397209668, 1397209710, 1397209709, 1397209582, 1397209618, 1397209711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65963649749756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 13:02:11.910377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_28_3577.jpg', '/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_31_2695.jpg', '/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_34_2780.jpg', '/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_37_3666.jpg', '/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_40_2619.jpg', '/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_42_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_28_3577.jpg
/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_31_2695.jpg
/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_34_2780.jpg
/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_37_3666.jpg
/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_40_2619.jpg
/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_42_2613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397209713","1397209724","1397209715","1397209718","1397209795","1397209744"],"photo_ids_order":["1397209713","1397209715","1397209718","1397209724","1397209744","1397209795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1ef91d8999902d49a69ebc9330ba1651.jpg","text":"TemporaryFile(/tmp/multipartBody5681893109710510424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590593545,"filename":"image_25112025_22_36_28_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/1/32e9561b5852df1f8433d52d31e89425.jpg","text":"TemporaryFile(/tmp/multipartBody1684274546349444011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590593545,"filename":"image_25112025_22_36_37_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/1/5a02d98338efaebc53a1d16e7bf839b1.jpg","text":"TemporaryFile(/tmp/multipartBody5042645143916639026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590593545,"filename":"image_25112025_22_36_31_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a48dccfdc60dfc2b3c22738b503c1216.jpg","text":"TemporaryFile(/tmp/multipartBody3743521981227573811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590593545,"filename":"image_25112025_22_36_34_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/1/0eae8a42cafbaf06c9ca31b8d9e462ce.jpg","text":"TemporaryFile(/tmp/multipartBody7941426322616430433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590593545,"filename":"image_25112025_22_36_42_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/1/f8b4f5d362cc5c9039d689edc1428500.jpg","text":"TemporaryFile(/tmp/multipartBody1097147828161288613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590593545,"filename":"image_25112025_22_36_40_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397209718","file1":"1397209715","file0":"1397209713","file4":"1397209744","file5":"1397209795","file3":"1397209724"},"map_files_photo_id_array":[{"photo_id":"1397209795","filename":"file5"},{"photo_id":"1397209718","filename":"file2"},{"photo_id":"1397209744","filename":"file4"},{"photo_id":"1397209715","filename":"file1"},{"photo_id":"1397209713","filename":"file0"},{"photo_id":"1397209724","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397209713":["hashtag1","hashtag2"]},{"1397209724":["hashtag1","hashtag2"]},{"1397209715":["hashtag1","hashtag2"]},{"1397209718":["hashtag1","hashtag2"]},{"1397209795":["hashtag1","hashtag2"]},{"1397209744":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397209713, 1397209724, 1397209715, 1397209718, 1397209795, 1397209744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.726983308792114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 13:03:02.844865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/17/image_01122025_12_17_45_9608.jpg', '/home/pi/Desktop/images/01122025/12/17/image_01122025_12_17_56_10701.jpg', '/home/pi/Desktop/images/01122025/12/17/image_01122025_12_18_06_9763.jpg', '/home/pi/Desktop/images/01122025/12/18/image_01122025_12_18_15_9595.jpg', '/home/pi/Desktop/images/01122025/12/18/image_01122025_12_18_26_10641.jpg', '/home/pi/Desktop/images/01122025/12/18/image_01122025_12_18_36_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/17/image_01122025_12_17_45_9608.jpg
/home/pi/Desktop/images/01122025/12/17/image_01122025_12_17_56_10701.jpg
/home/pi/Desktop/images/01122025/12/17/image_01122025_12_18_06_9763.jpg
/home/pi/Desktop/images/01122025/12/18/image_01122025_12_18_15_9595.jpg
/home/pi/Desktop/images/01122025/12/18/image_01122025_12_18_26_10641.jpg
/home/pi/Desktop/images/01122025/12/18/image_01122025_12_18_36_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":["1397210326","1397210073","1397210181","1397210112","1397210240","1397210284"],"photo_ids_order":["1397210073","1397210112","1397210181","1397210240","1397210284","1397210326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c93518d004a76a190a9d7734dfbfdd42.jpg","text":"TemporaryFile(/tmp/multipartBody4000082845428403123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590643623,"filename":"image_01122025_12_18_36_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/1/620649db71ad00adb7254746e307a5f6.jpg","text":"TemporaryFile(/tmp/multipartBody5453982901609574502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590643623,"filename":"image_01122025_12_17_45_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/1/585b17a2612440e35b532ca046bbb469.jpg","text":"TemporaryFile(/tmp/multipartBody528929795250217356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590643623,"filename":"image_01122025_12_18_06_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/1/761e191b915e0fcdc5c38dbfc49a840d.jpg","text":"TemporaryFile(/tmp/multipartBody8111318856944932553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590643623,"filename":"image_01122025_12_17_56_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/1/bc9cc974b082d085ae49b5a41b9a3592.jpg","text":"TemporaryFile(/tmp/multipartBody2077424350394163713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590643623,"filename":"image_01122025_12_18_15_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3d9dab415083da8b3faa10c654610436.jpg","text":"TemporaryFile(/tmp/multipartBody477944293142915555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590643623,"filename":"image_01122025_12_18_26_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397210181","file1":"1397210112","file0":"1397210073","file4":"1397210284","file5":"1397210326","file3":"1397210240"},"map_files_photo_id_array":[{"photo_id":"1397210326","filename":"file5"},{"photo_id":"1397210181","filename":"file2"},{"photo_id":"1397210284","filename":"file4"},{"photo_id":"1397210112","filename":"file1"},{"photo_id":"1397210073","filename":"file0"},{"photo_id":"1397210240","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397210326":["hashtag1","hashtag2"]},{"1397210073":["hashtag1","hashtag2"]},{"1397210181":["hashtag1","hashtag2"]},{"1397210112":["hashtag1","hashtag2"]},{"1397210240":["hashtag1","hashtag2"]},{"1397210284":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397210326, 1397210073, 1397210181, 1397210112, 1397210240, 1397210284)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.49279236793518 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 13:04:03.364435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 13:04:15.270585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_46_3885.jpg', '/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_49_2627.jpg', '/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_52_2535.jpg', '/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_54_2802.jpg', '/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_58_3694.jpg', '/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_01_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_46_3885.jpg
/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_49_2627.jpg
/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_52_2535.jpg
/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_54_2802.jpg
/home/pi/Desktop/images/25112025/22/36/image_25112025_22_36_58_3694.jpg
/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_01_2684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397210755","1397210713","1397210691","1397210751","1397210634","1397210709"],"photo_ids_order":["1397210634","1397210691","1397210709","1397210713","1397210751","1397210755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/59d730f7e242740296e195035aaf2efc.jpg","text":"TemporaryFile(/tmp/multipartBody3513779827788336933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590716989,"filename":"image_25112025_22_37_01_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/1/fddd359dc7e8c60fe3d60cb15a5d77fd.jpg","text":"TemporaryFile(/tmp/multipartBody26811441707346106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590716989,"filename":"image_25112025_22_36_54_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/21a996be1d94cfd08900752bf005421b.jpg","text":"TemporaryFile(/tmp/multipartBody1967579312902357551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590716989,"filename":"image_25112025_22_36_49_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/1/830b403d08b76d5a702745c015dd1a05.jpg","text":"TemporaryFile(/tmp/multipartBody7195959066237608891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590716989,"filename":"image_25112025_22_36_58_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5737aa1948249c1dd91d4f5ec9d5b2b5.jpg","text":"TemporaryFile(/tmp/multipartBody3139041865411050763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590716989,"filename":"image_25112025_22_36_46_3885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/710389aea4498e0ea7fa8a9c85139f53.jpg","text":"TemporaryFile(/tmp/multipartBody7433723310990107556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590716989,"filename":"image_25112025_22_36_52_2535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397210709","file1":"1397210691","file0":"1397210634","file4":"1397210751","file5":"1397210755","file3":"1397210713"},"map_files_photo_id_array":[{"photo_id":"1397210755","filename":"file5"},{"photo_id":"1397210709","filename":"file2"},{"photo_id":"1397210751","filename":"file4"},{"photo_id":"1397210691","filename":"file1"},{"photo_id":"1397210634","filename":"file0"},{"photo_id":"1397210713","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397210755":["hashtag1","hashtag2"]},{"1397210713":["hashtag1","hashtag2"]},{"1397210691":["hashtag1","hashtag2"]},{"1397210751":["hashtag1","hashtag2"]},{"1397210634":["hashtag1","hashtag2"]},{"1397210709":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397210755, 1397210713, 1397210691, 1397210751, 1397210634, 1397210709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.37216114997864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 13:05:07.006351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 13:05:21.910143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_04_3554.jpg', '/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_07_2572.jpg', '/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_09_2672.jpg', '/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_12_2864.jpg', '/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_16_3808.jpg', '/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_19_2832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_04_3554.jpg
/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_07_2572.jpg
/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_09_2672.jpg
/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_12_2864.jpg
/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_16_3808.jpg
/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_19_2832.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397211214","1397211072","1397211174","1397210988","1397211032","1397211133"],"photo_ids_order":["1397210988","1397211032","1397211072","1397211133","1397211174","1397211214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/207f0e557e86e0a34ec6d3d726c0ac00.jpg","text":"TemporaryFile(/tmp/multipartBody2135668322481198247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590783696,"filename":"image_25112025_22_37_19_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/1/a37a5a336c31e903d7eeb80482327bd9.jpg","text":"TemporaryFile(/tmp/multipartBody8008179881262641808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590783696,"filename":"image_25112025_22_37_09_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c239d0a5c1c0cb435e2b3c3b713cad46.jpg","text":"TemporaryFile(/tmp/multipartBody8080954066109528604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590783696,"filename":"image_25112025_22_37_16_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/1/18ecd0751296e25596aefe87894a34f9.jpg","text":"TemporaryFile(/tmp/multipartBody6806447425730164068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590783696,"filename":"image_25112025_22_37_04_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/1/c389445059955971cc1a7fd9295fc0d8.jpg","text":"TemporaryFile(/tmp/multipartBody3522592946777740371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590783696,"filename":"image_25112025_22_37_07_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/72b9b438e8133cded0407efbd25d9c11.jpg","text":"TemporaryFile(/tmp/multipartBody336443202214582021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590783696,"filename":"image_25112025_22_37_12_2864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397211072","file1":"1397211032","file0":"1397210988","file4":"1397211174","file5":"1397211214","file3":"1397211133"},"map_files_photo_id_array":[{"photo_id":"1397211214","filename":"file5"},{"photo_id":"1397211072","filename":"file2"},{"photo_id":"1397211174","filename":"file4"},{"photo_id":"1397211032","filename":"file1"},{"photo_id":"1397210988","filename":"file0"},{"photo_id":"1397211133","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397211214":["hashtag1","hashtag2"]},{"1397211072":["hashtag1","hashtag2"]},{"1397211174":["hashtag1","hashtag2"]},{"1397210988":["hashtag1","hashtag2"]},{"1397211032":["hashtag1","hashtag2"]},{"1397211133":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397211214, 1397211072, 1397211174, 1397210988, 1397211032, 1397211133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.776960134506226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 13:06:12.566969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_22_2895.jpg', '/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_25_2687.jpg', '/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_28_3564.jpg', '/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_32_3875.jpg', '/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_34_1665.jpg', '/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_36_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_22_2895.jpg
/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_25_2687.jpg
/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_28_3564.jpg
/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_32_3875.jpg
/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_34_1665.jpg
/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_36_2642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397211381","1397211345","1397211341","1397211425","1397211500","1397211340"],"photo_ids_order":["1397211340","1397211341","1397211345","1397211381","1397211425","1397211500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/206c99fd2240621f029ade5171455c57.jpg","text":"TemporaryFile(/tmp/multipartBody4925343426002556505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590834053,"filename":"image_25112025_22_37_32_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/1/83e757fda15ae68367cbe30c15effa47.jpg","text":"TemporaryFile(/tmp/multipartBody501626638733871173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590834053,"filename":"image_25112025_22_37_28_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3ed68394e18e2b5ffe4e0b5ee5668c26.jpg","text":"TemporaryFile(/tmp/multipartBody4267526334509189249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590834053,"filename":"image_25112025_22_37_25_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a442e58e9537a64c0bb0067be5f08c05.jpg","text":"TemporaryFile(/tmp/multipartBody3389870496474256494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590834053,"filename":"image_25112025_22_37_34_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/1/9f58aac2d79a921881d53caf2c95a912.jpg","text":"TemporaryFile(/tmp/multipartBody470474815634603016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590834053,"filename":"image_25112025_22_37_36_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/1/d3d91a444717fe9d87d3dbf20cfbd623.jpg","text":"TemporaryFile(/tmp/multipartBody7241013948541097564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590834053,"filename":"image_25112025_22_37_22_2895.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397211345","file1":"1397211341","file0":"1397211340","file4":"1397211425","file5":"1397211500","file3":"1397211381"},"map_files_photo_id_array":[{"photo_id":"1397211500","filename":"file5"},{"photo_id":"1397211345","filename":"file2"},{"photo_id":"1397211425","filename":"file4"},{"photo_id":"1397211341","filename":"file1"},{"photo_id":"1397211340","filename":"file0"},{"photo_id":"1397211381","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397211381":["hashtag1","hashtag2"]},{"1397211345":["hashtag1","hashtag2"]},{"1397211341":["hashtag1","hashtag2"]},{"1397211425":["hashtag1","hashtag2"]},{"1397211500":["hashtag1","hashtag2"]},{"1397211340":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397211381, 1397211345, 1397211341, 1397211425, 1397211500, 1397211340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.826990842819214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 13:07:03.323715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/18/image_01122025_12_18_45_9714.jpg', '/home/pi/Desktop/images/01122025/12/18/image_01122025_12_18_55_9706.jpg', '/home/pi/Desktop/images/01122025/12/18/image_01122025_12_19_06_10862.jpg', '/home/pi/Desktop/images/01122025/12/19/image_01122025_12_19_16_9612.jpg', '/home/pi/Desktop/images/01122025/12/19/image_01122025_12_19_25_9780.jpg', '/home/pi/Desktop/images/01122025/12/19/image_01122025_12_19_35_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/18/image_01122025_12_18_45_9714.jpg
/home/pi/Desktop/images/01122025/12/18/image_01122025_12_18_55_9706.jpg
/home/pi/Desktop/images/01122025/12/18/image_01122025_12_19_06_10862.jpg
/home/pi/Desktop/images/01122025/12/19/image_01122025_12_19_16_9612.jpg
/home/pi/Desktop/images/01122025/12/19/image_01122025_12_19_25_9780.jpg
/home/pi/Desktop/images/01122025/12/19/image_01122025_12_19_35_9723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397211789","1397211878","1397211857","1397211869","1397211860","1397211848"],"photo_ids_order":["1397211789","1397211848","1397211857","1397211860","1397211869","1397211878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e61b4eefe4d1af1ad9caca5a34f4e575.jpg","text":"TemporaryFile(/tmp/multipartBody7875110708344220757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590884130,"filename":"image_01122025_12_18_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/1/cf79e1d3d3e4f0898fe7d4b19a153b6b.jpg","text":"TemporaryFile(/tmp/multipartBody4340550421579456417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590884130,"filename":"image_01122025_12_19_35_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3dbc0101a41f575dcde10dfedd07aaf9.jpg","text":"TemporaryFile(/tmp/multipartBody8497481382104531787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590884130,"filename":"image_01122025_12_19_06_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/1/9c8aa407d1ffc226967c585183f01e4e.jpg","text":"TemporaryFile(/tmp/multipartBody5869890642656270540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590884130,"filename":"image_01122025_12_19_25_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/401be65eb73970afb0f97fd347bee73f.jpg","text":"TemporaryFile(/tmp/multipartBody1907356892738092262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590884130,"filename":"image_01122025_12_19_16_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/1/624290870a71065158e93ab9a01a8f97.jpg","text":"TemporaryFile(/tmp/multipartBody8461009147376925200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590884130,"filename":"image_01122025_12_18_55_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397211857","file1":"1397211848","file0":"1397211789","file4":"1397211869","file5":"1397211878","file3":"1397211860"},"map_files_photo_id_array":[{"photo_id":"1397211878","filename":"file5"},{"photo_id":"1397211857","filename":"file2"},{"photo_id":"1397211869","filename":"file4"},{"photo_id":"1397211848","filename":"file1"},{"photo_id":"1397211789","filename":"file0"},{"photo_id":"1397211860","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397211789":["hashtag1","hashtag2"]},{"1397211878":["hashtag1","hashtag2"]},{"1397211857":["hashtag1","hashtag2"]},{"1397211869":["hashtag1","hashtag2"]},{"1397211860":["hashtag1","hashtag2"]},{"1397211848":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397211789, 1397211878, 1397211857, 1397211869, 1397211860, 1397211848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46496820449829 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 13:07:42.882909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_38_2806.jpg', '/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_40_2689.jpg', '/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_44_3699.jpg', '/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_47_2631.jpg', '/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_49_2772.jpg', '/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_52_2843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_38_2806.jpg
/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_40_2689.jpg
/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_44_3699.jpg
/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_47_2631.jpg
/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_49_2772.jpg
/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_52_2843.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397211990","1397211939","1397211924","1397211953","1397211941","1397212015"],"photo_ids_order":["1397211924","1397211939","1397211941","1397211953","1397211990","1397212015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/46f6326f59ff5dfd900c4c3de403f680.jpg","text":"TemporaryFile(/tmp/multipartBody4827268348051679593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590925528,"filename":"image_31102025_14_25_49_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/88650553212a53748ca69ee638a6940d.jpg","text":"TemporaryFile(/tmp/multipartBody819912870602269757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590925528,"filename":"image_31102025_14_25_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/1/f285e36059da6037c58976dcc74d4862.jpg","text":"TemporaryFile(/tmp/multipartBody5597944774406223299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590925528,"filename":"image_31102025_14_25_38_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/1/445079f36014b524f38e0e435f477f05.jpg","text":"TemporaryFile(/tmp/multipartBody8762853705622358724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590925528,"filename":"image_31102025_14_25_47_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fa1ddc462487588c7869640bc3ede46e.jpg","text":"TemporaryFile(/tmp/multipartBody6151180290458240638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590925528,"filename":"image_31102025_14_25_44_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/1/d48e2f4c9c8397c6774fe6fe4414f340.jpg","text":"TemporaryFile(/tmp/multipartBody5925533445346918042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590925528,"filename":"image_31102025_14_25_52_2843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397211941","file1":"1397211939","file0":"1397211924","file4":"1397211990","file5":"1397212015","file3":"1397211953"},"map_files_photo_id_array":[{"photo_id":"1397212015","filename":"file5"},{"photo_id":"1397211941","filename":"file2"},{"photo_id":"1397211990","filename":"file4"},{"photo_id":"1397211939","filename":"file1"},{"photo_id":"1397211924","filename":"file0"},{"photo_id":"1397211953","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397211990":["hashtag1","hashtag2"]},{"1397211939":["hashtag1","hashtag2"]},{"1397211924":["hashtag1","hashtag2"]},{"1397211953":["hashtag1","hashtag2"]},{"1397211941":["hashtag1","hashtag2"]},{"1397212015":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397211990, 1397211939, 1397211924, 1397211953, 1397211941, 1397212015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.975908517837524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 13:08:32.144198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_40_3689.jpg', '/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_43_2979.jpg', '/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_45_2497.jpg', '/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_48_2748.jpg', '/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_52_3745.jpg', '/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_55_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_40_3689.jpg
/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_43_2979.jpg
/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_45_2497.jpg
/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_48_2748.jpg
/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_52_3745.jpg
/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_55_2671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397212056","1397212025","1397212028","1397212057","1397212033","1397212059"],"photo_ids_order":["1397212025","1397212028","1397212033","1397212056","1397212057","1397212059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/de9ab1378e4bca1f5e581f69032ca8b3.jpg","text":"TemporaryFile(/tmp/multipartBody3335587333055800867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590973886,"filename":"image_25112025_22_37_48_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ce9dd13b7ccc8c186074d51a95095074.jpg","text":"TemporaryFile(/tmp/multipartBody1471635988263382854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590973886,"filename":"image_25112025_22_37_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/1/6c143798868454adf2280faf2c2cc8ac.jpg","text":"TemporaryFile(/tmp/multipartBody1590551385828669544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590973886,"filename":"image_25112025_22_37_43_2979.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9d85d32a3ca3f6becbf1ad3fc1a7448b.jpg","text":"TemporaryFile(/tmp/multipartBody4437741513354005076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590973886,"filename":"image_25112025_22_37_52_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/1/e65a8ff09281fbc2134e02c508b84a1a.jpg","text":"TemporaryFile(/tmp/multipartBody4651702081628622319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590973886,"filename":"image_25112025_22_37_45_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/1/5465efb225be7cf3d8817c18976bd493.jpg","text":"TemporaryFile(/tmp/multipartBody7445340859252941522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764590973886,"filename":"image_25112025_22_37_55_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397212033","file1":"1397212028","file0":"1397212025","file4":"1397212057","file5":"1397212059","file3":"1397212056"},"map_files_photo_id_array":[{"photo_id":"1397212059","filename":"file5"},{"photo_id":"1397212033","filename":"file2"},{"photo_id":"1397212057","filename":"file4"},{"photo_id":"1397212028","filename":"file1"},{"photo_id":"1397212025","filename":"file0"},{"photo_id":"1397212056","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397212056":["hashtag1","hashtag2"]},{"1397212025":["hashtag1","hashtag2"]},{"1397212028":["hashtag1","hashtag2"]},{"1397212057":["hashtag1","hashtag2"]},{"1397212033":["hashtag1","hashtag2"]},{"1397212059":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397212056, 1397212025, 1397212028, 1397212057, 1397212033, 1397212059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.677454233169556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 13:09:22.492855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/19/image_01122025_12_19_46_10689.jpg', '/home/pi/Desktop/images/01122025/12/19/image_01122025_12_19_55_9635.jpg', '/home/pi/Desktop/images/01122025/12/19/image_01122025_12_20_05_9821.jpg', '/home/pi/Desktop/images/01122025/12/20/image_01122025_12_20_16_10723.jpg', '/home/pi/Desktop/images/01122025/12/20/image_01122025_12_20_26_9739.jpg', '/home/pi/Desktop/images/01122025/12/20/image_01122025_12_20_35_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/19/image_01122025_12_19_46_10689.jpg
/home/pi/Desktop/images/01122025/12/19/image_01122025_12_19_55_9635.jpg
/home/pi/Desktop/images/01122025/12/19/image_01122025_12_20_05_9821.jpg
/home/pi/Desktop/images/01122025/12/20/image_01122025_12_20_16_10723.jpg
/home/pi/Desktop/images/01122025/12/20/image_01122025_12_20_26_9739.jpg
/home/pi/Desktop/images/01122025/12/20/image_01122025_12_20_35_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":["1397212134","1397212175","1397212118","1397212219","1397212126","1397212105"],"photo_ids_order":["1397212105","1397212118","1397212126","1397212134","1397212175","1397212219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b535264a26d0bd3a5e4db1af3292c642.jpg","text":"TemporaryFile(/tmp/multipartBody6753959371451431493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591023206,"filename":"image_01122025_12_20_16_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a3388c3fc3bab6dd8f11a7d3c93bcb95.jpg","text":"TemporaryFile(/tmp/multipartBody1519098097006460428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591023206,"filename":"image_01122025_12_20_26_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/1/1c83e284724b723a383c0920818fff3e.jpg","text":"TemporaryFile(/tmp/multipartBody8005189504727821824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591023206,"filename":"image_01122025_12_19_55_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c49431b26b9871db6505cefc4f8e7aa6.jpg","text":"TemporaryFile(/tmp/multipartBody4279827707664665921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591023206,"filename":"image_01122025_12_20_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/1/2f3039ce1811c3d7dbf04eeb7285bcf0.jpg","text":"TemporaryFile(/tmp/multipartBody4890858729887124534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591023206,"filename":"image_01122025_12_20_05_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5651cbaac826d805d0d0c41cde9e0902.jpg","text":"TemporaryFile(/tmp/multipartBody5300477825090415648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591023206,"filename":"image_01122025_12_19_46_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397212126","file1":"1397212118","file0":"1397212105","file4":"1397212175","file5":"1397212219","file3":"1397212134"},"map_files_photo_id_array":[{"photo_id":"1397212219","filename":"file5"},{"photo_id":"1397212126","filename":"file2"},{"photo_id":"1397212175","filename":"file4"},{"photo_id":"1397212118","filename":"file1"},{"photo_id":"1397212105","filename":"file0"},{"photo_id":"1397212134","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397212134":["hashtag1","hashtag2"]},{"1397212175":["hashtag1","hashtag2"]},{"1397212118":["hashtag1","hashtag2"]},{"1397212219":["hashtag1","hashtag2"]},{"1397212126":["hashtag1","hashtag2"]},{"1397212105":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397212134, 1397212175, 1397212118, 1397212219, 1397212126, 1397212105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.93931174278259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 13:10:12.499610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_57_2557.jpg', '/home/pi/Desktop/images/25112025/22/37/image_25112025_22_38_01_3596.jpg', '/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_03_2641.jpg', '/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_10_3638.jpg', '/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_12_2618.jpg', '/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_15_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_57_2557.jpg
/home/pi/Desktop/images/25112025/22/37/image_25112025_22_38_01_3596.jpg
/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_03_2641.jpg
/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_10_3638.jpg
/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_12_2618.jpg
/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_15_2693.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.3717069625854492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 13:10:22.595167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/20/image_01122025_12_20_45_9542.jpg', '/home/pi/Desktop/images/01122025/12/20/image_01122025_12_20_56_10674.jpg', '/home/pi/Desktop/images/01122025/12/20/image_01122025_12_21_05_9781.jpg', '/home/pi/Desktop/images/01122025/12/21/image_01122025_12_21_15_9642.jpg', '/home/pi/Desktop/images/01122025/12/21/image_01122025_12_21_26_10583.jpg', '/home/pi/Desktop/images/01122025/12/21/image_01122025_12_21_35_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/20/image_01122025_12_20_45_9542.jpg
/home/pi/Desktop/images/01122025/12/20/image_01122025_12_20_56_10674.jpg
/home/pi/Desktop/images/01122025/12/20/image_01122025_12_21_05_9781.jpg
/home/pi/Desktop/images/01122025/12/21/image_01122025_12_21_15_9642.jpg
/home/pi/Desktop/images/01122025/12/21/image_01122025_12_21_26_10583.jpg
/home/pi/Desktop/images/01122025/12/21/image_01122025_12_21_35_9723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397212562","1397212652","1397212733","1397212693","1397212604","1397212482"],"photo_ids_order":["1397212482","1397212562","1397212604","1397212652","1397212693","1397212733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0a0102ab7c9e5353eb68176701d3849a.jpg","text":"TemporaryFile(/tmp/multipartBody6737525238973475674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591083309,"filename":"image_01122025_12_20_56_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/1/c45dcbef36ba82b000a6537d6af507ce.jpg","text":"TemporaryFile(/tmp/multipartBody6612141689254681549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591083309,"filename":"image_01122025_12_21_15_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/280f94cbe721b05c8844e8c8611a8c67.jpg","text":"TemporaryFile(/tmp/multipartBody1344847955114066879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591083309,"filename":"image_01122025_12_21_35_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/376622a3b1986334fe0beeb9fbd918a4.jpg","text":"TemporaryFile(/tmp/multipartBody2732718055911849384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591083309,"filename":"image_01122025_12_21_26_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/1/bc0d105eefa87590d067c6409f8e9999.jpg","text":"TemporaryFile(/tmp/multipartBody6203913553929691355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591083309,"filename":"image_01122025_12_21_05_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/864aad494d82187005c454076c42147f.jpg","text":"TemporaryFile(/tmp/multipartBody3664771005326644990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591083309,"filename":"image_01122025_12_20_45_9542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397212604","file1":"1397212562","file0":"1397212482","file4":"1397212693","file5":"1397212733","file3":"1397212652"},"map_files_photo_id_array":[{"photo_id":"1397212733","filename":"file5"},{"photo_id":"1397212604","filename":"file2"},{"photo_id":"1397212693","filename":"file4"},{"photo_id":"1397212562","filename":"file1"},{"photo_id":"1397212482","filename":"file0"},{"photo_id":"1397212652","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397212562":["hashtag1","hashtag2"]},{"1397212652":["hashtag1","hashtag2"]},{"1397212733":["hashtag1","hashtag2"]},{"1397212693":["hashtag1","hashtag2"]},{"1397212604":["hashtag1","hashtag2"]},{"1397212482":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397212562, 1397212652, 1397212733, 1397212693, 1397212604, 1397212482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.44558334350586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 13:11:12.770249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_57_2557.jpg', '/home/pi/Desktop/images/25112025/22/37/image_25112025_22_38_01_3596.jpg', '/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_03_2641.jpg', '/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_10_3638.jpg', '/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_12_2618.jpg', '/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_15_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/37/image_25112025_22_37_57_2557.jpg
/home/pi/Desktop/images/25112025/22/37/image_25112025_22_38_01_3596.jpg
/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_03_2641.jpg
/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_10_3638.jpg
/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_12_2618.jpg
/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_15_2693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397213254","1397213023","1397213088","1397213169","1397212918","1397212974"],"photo_ids_order":["1397212918","1397212974","1397213023","1397213088","1397213169","1397213254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/39b23ea1b77d4c1bcad1da582e60dbcd.jpg","text":"TemporaryFile(/tmp/multipartBody6399846217484960607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591134137,"filename":"image_25112025_22_38_15_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/749ebabb8d7f8cb1b55ca967ed13812c.jpg","text":"TemporaryFile(/tmp/multipartBody8339609313346314190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591134137,"filename":"image_25112025_22_38_03_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1e3e99e85194a554dd2caf4d45f44c19.jpg","text":"TemporaryFile(/tmp/multipartBody2704426406821806095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591134137,"filename":"image_25112025_22_38_10_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/1/e87bc6ee04e34243c771d3b07fc0a27f.jpg","text":"TemporaryFile(/tmp/multipartBody4872348967575610215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591134137,"filename":"image_25112025_22_38_12_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/1/d36e2a3a1b6ce61ace5a1cfeffa0b2e8.jpg","text":"TemporaryFile(/tmp/multipartBody4988994920553021642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591134137,"filename":"image_25112025_22_37_57_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/1/794d3e86276947cb53791ecbd878cd60.jpg","text":"TemporaryFile(/tmp/multipartBody2861988873303656219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591134137,"filename":"image_25112025_22_38_01_3596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397213023","file1":"1397212974","file0":"1397212918","file4":"1397213169","file5":"1397213254","file3":"1397213088"},"map_files_photo_id_array":[{"photo_id":"1397213254","filename":"file5"},{"photo_id":"1397213023","filename":"file2"},{"photo_id":"1397213169","filename":"file4"},{"photo_id":"1397212974","filename":"file1"},{"photo_id":"1397212918","filename":"file0"},{"photo_id":"1397213088","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397213254":["hashtag1","hashtag2"]},{"1397213023":["hashtag1","hashtag2"]},{"1397213088":["hashtag1","hashtag2"]},{"1397213169":["hashtag1","hashtag2"]},{"1397212918":["hashtag1","hashtag2"]},{"1397212974":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397213254, 1397213023, 1397213088, 1397213169, 1397212918, 1397212974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9144389629364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 13:12:02.531478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/21/image_01122025_12_21_45_9658.jpg', '/home/pi/Desktop/images/01122025/12/21/image_01122025_12_21_56_10664.jpg', '/home/pi/Desktop/images/01122025/12/21/image_01122025_12_22_06_9756.jpg', '/home/pi/Desktop/images/01122025/12/22/image_01122025_12_22_15_9564.jpg', '/home/pi/Desktop/images/01122025/12/22/image_01122025_12_22_26_10636.jpg', '/home/pi/Desktop/images/01122025/12/22/image_01122025_12_22_35_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/21/image_01122025_12_21_45_9658.jpg
/home/pi/Desktop/images/01122025/12/21/image_01122025_12_21_56_10664.jpg
/home/pi/Desktop/images/01122025/12/21/image_01122025_12_22_06_9756.jpg
/home/pi/Desktop/images/01122025/12/22/image_01122025_12_22_15_9564.jpg
/home/pi/Desktop/images/01122025/12/22/image_01122025_12_22_26_10636.jpg
/home/pi/Desktop/images/01122025/12/22/image_01122025_12_22_35_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397213636","1397213405","1397213557","1397213602","1397213410","1397213421"],"photo_ids_order":["1397213405","1397213410","1397213421","1397213557","1397213602","1397213636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6e4fc5adebe313c1c695779766364ebf.jpg","text":"TemporaryFile(/tmp/multipartBody6588060840103982316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591183262,"filename":"image_01122025_12_22_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/1/f6e46c9af4c6c1e3b738b4fbd9cf9d39.jpg","text":"TemporaryFile(/tmp/multipartBody3150607921667512308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591183262,"filename":"image_01122025_12_21_45_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ac1404a643e17bb39015a901ed0e76cf.jpg","text":"TemporaryFile(/tmp/multipartBody5492810111899646627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591183262,"filename":"image_01122025_12_22_15_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c0c30c78cd0e4b490dbc1b8814f08094.jpg","text":"TemporaryFile(/tmp/multipartBody8772836131748195456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591183262,"filename":"image_01122025_12_22_26_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/1/5eef4961d9a18953808ba7ae59bbe6f6.jpg","text":"TemporaryFile(/tmp/multipartBody1351738944408581476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591183262,"filename":"image_01122025_12_21_56_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/23d9f3c6cf93705ccb684562259d2dac.jpg","text":"TemporaryFile(/tmp/multipartBody6053441982313364535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591183262,"filename":"image_01122025_12_22_06_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397213421","file1":"1397213410","file0":"1397213405","file4":"1397213602","file5":"1397213636","file3":"1397213557"},"map_files_photo_id_array":[{"photo_id":"1397213636","filename":"file5"},{"photo_id":"1397213421","filename":"file2"},{"photo_id":"1397213602","filename":"file4"},{"photo_id":"1397213410","filename":"file1"},{"photo_id":"1397213405","filename":"file0"},{"photo_id":"1397213557","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397213636":["hashtag1","hashtag2"]},{"1397213405":["hashtag1","hashtag2"]},{"1397213557":["hashtag1","hashtag2"]},{"1397213602":["hashtag1","hashtag2"]},{"1397213410":["hashtag1","hashtag2"]},{"1397213421":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397213636, 1397213405, 1397213557, 1397213602, 1397213410, 1397213421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39290928840637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 13:12:42.100752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_56_3580.jpg', '/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_59_2707.jpg', '/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_01_2618.jpg', '/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_05_3604.jpg', '/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_08_2792.jpg', '/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_10_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_56_3580.jpg
/home/pi/Desktop/images/31102025/14/25/image_31102025_14_25_59_2707.jpg
/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_01_2618.jpg
/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_05_3604.jpg
/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_08_2792.jpg
/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_10_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":["1397213703","1397213695","1397213698","1397213688","1397213706","1397213700"],"photo_ids_order":["1397213688","1397213695","1397213698","1397213700","1397213703","1397213706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2b5d402a5b36f8c6809831e3c2ef33a0.jpg","text":"TemporaryFile(/tmp/multipartBody7772501742415955825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591224716,"filename":"image_31102025_14_26_08_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/1/4299195eda2d4ccd0be1e7d705497006.jpg","text":"TemporaryFile(/tmp/multipartBody4825156996791448055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591224716,"filename":"image_31102025_14_25_59_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5f8bb4539b531c2a4315a4cde228a903.jpg","text":"TemporaryFile(/tmp/multipartBody7833703202884034710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591224716,"filename":"image_31102025_14_26_01_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/1/e58fbdd6da46c933124928510825a718.jpg","text":"TemporaryFile(/tmp/multipartBody3850959399791549938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591224716,"filename":"image_31102025_14_25_56_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/1/2ade7ad0ac22691c4b0d28c21ac3979e.jpg","text":"TemporaryFile(/tmp/multipartBody2693680621525510746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591224716,"filename":"image_31102025_14_26_10_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/1/e8392e523c31414f5100cf3f2c029923.jpg","text":"TemporaryFile(/tmp/multipartBody101828411671840935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591224716,"filename":"image_31102025_14_26_05_3604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397213698","file1":"1397213695","file0":"1397213688","file4":"1397213703","file5":"1397213706","file3":"1397213700"},"map_files_photo_id_array":[{"photo_id":"1397213706","filename":"file5"},{"photo_id":"1397213698","filename":"file2"},{"photo_id":"1397213703","filename":"file4"},{"photo_id":"1397213695","filename":"file1"},{"photo_id":"1397213688","filename":"file0"},{"photo_id":"1397213700","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397213703":["hashtag1","hashtag2"]},{"1397213695":["hashtag1","hashtag2"]},{"1397213698":["hashtag1","hashtag2"]},{"1397213688":["hashtag1","hashtag2"]},{"1397213706":["hashtag1","hashtag2"]},{"1397213700":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397213703, 1397213695, 1397213698, 1397213688, 1397213706, 1397213700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.259841203689575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 13:13:22.257553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/22/image_01122025_12_22_45_9701.jpg', '/home/pi/Desktop/images/01122025/12/22/image_01122025_12_22_55_9943.jpg', '/home/pi/Desktop/images/01122025/12/22/image_01122025_12_23_06_10822.jpg', '/home/pi/Desktop/images/01122025/12/23/image_01122025_12_23_15_9408.jpg', '/home/pi/Desktop/images/01122025/12/23/image_01122025_12_23_26_10657.jpg', '/home/pi/Desktop/images/01122025/12/23/image_01122025_12_23_36_9589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/22/image_01122025_12_22_45_9701.jpg
/home/pi/Desktop/images/01122025/12/22/image_01122025_12_22_55_9943.jpg
/home/pi/Desktop/images/01122025/12/22/image_01122025_12_23_06_10822.jpg
/home/pi/Desktop/images/01122025/12/23/image_01122025_12_23_15_9408.jpg
/home/pi/Desktop/images/01122025/12/23/image_01122025_12_23_26_10657.jpg
/home/pi/Desktop/images/01122025/12/23/image_01122025_12_23_36_9589.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6225190162658691 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 13:13:32.379802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_19_3628.jpg', '/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_21_2503.jpg', '/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_25_3678.jpg', '/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_28_2585.jpg', '/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_30_2689.jpg', '/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_34_3573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_19_3628.jpg
/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_21_2503.jpg
/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_25_3678.jpg
/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_28_2585.jpg
/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_30_2689.jpg
/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_34_3573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397213729","1397213714","1397213736","1397213724","1397213718","1397213733"],"photo_ids_order":["1397213714","1397213718","1397213724","1397213729","1397213733","1397213736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d77798b71ebb154f5391953c08834e7d.jpg","text":"TemporaryFile(/tmp/multipartBody3896432958942524714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591274144,"filename":"image_25112025_22_38_28_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/1/e980094cedad5968f4881fc3c3d974b0.jpg","text":"TemporaryFile(/tmp/multipartBody8780870550182562521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591274144,"filename":"image_25112025_22_38_19_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/1/21f1b7b3f4416a8f5d8eb53fc2870ced.jpg","text":"TemporaryFile(/tmp/multipartBody3746333154307977048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591274144,"filename":"image_25112025_22_38_34_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/1/98160059c27ed2eea6a594afdba2c1db.jpg","text":"TemporaryFile(/tmp/multipartBody5513234156140221785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591274144,"filename":"image_25112025_22_38_25_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/1/c98bce2a41a7c85345cf77e179fc287c.jpg","text":"TemporaryFile(/tmp/multipartBody6874350632618347418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591274144,"filename":"image_25112025_22_38_21_2503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7acd1a1d1bc5af1a99f631bde0248c53.jpg","text":"TemporaryFile(/tmp/multipartBody380881464154070933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591274144,"filename":"image_25112025_22_38_30_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397213724","file1":"1397213718","file0":"1397213714","file4":"1397213733","file5":"1397213736","file3":"1397213729"},"map_files_photo_id_array":[{"photo_id":"1397213736","filename":"file5"},{"photo_id":"1397213724","filename":"file2"},{"photo_id":"1397213733","filename":"file4"},{"photo_id":"1397213718","filename":"file1"},{"photo_id":"1397213714","filename":"file0"},{"photo_id":"1397213729","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397213729":["hashtag1","hashtag2"]},{"1397213714":["hashtag1","hashtag2"]},{"1397213736":["hashtag1","hashtag2"]},{"1397213724":["hashtag1","hashtag2"]},{"1397213718":["hashtag1","hashtag2"]},{"1397213733":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397213729, 1397213714, 1397213736, 1397213724, 1397213718, 1397213733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.461769342422485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 13:14:12.447249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_36_2688.jpg', '/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_39_2652.jpg', '/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_43_3572.jpg', '/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_45_2760.jpg', '/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_48_2663.jpg', '/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_57_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_36_2688.jpg
/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_39_2652.jpg
/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_43_3572.jpg
/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_45_2760.jpg
/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_48_2663.jpg
/home/pi/Desktop/images/25112025/22/38/image_25112025_22_38_57_2666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397213879","1397213822","1397213738","1397213740","1397213743","1397213778"],"photo_ids_order":["1397213738","1397213740","1397213743","1397213778","1397213822","1397213879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c261d486262ad02a799ea4c98e4ab29a.jpg","text":"TemporaryFile(/tmp/multipartBody5555329381181919473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591314072,"filename":"image_25112025_22_38_57_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7c1ec0d4deb0f9f0832392fba852474a.jpg","text":"TemporaryFile(/tmp/multipartBody7192649146069633865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591314072,"filename":"image_25112025_22_38_48_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/1/18b1da866cbf829adeb9aae4f6e92111.jpg","text":"TemporaryFile(/tmp/multipartBody2232135614967028818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591314072,"filename":"image_25112025_22_38_36_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/20d8656b194f4ecae11bda673443c131.jpg","text":"TemporaryFile(/tmp/multipartBody1242003296955631780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591314072,"filename":"image_25112025_22_38_39_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c1907623285786fcff67bd6723ac1c66.jpg","text":"TemporaryFile(/tmp/multipartBody8596050992374237639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591314072,"filename":"image_25112025_22_38_43_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f95a91e6420c2074215743be6df4a9b9.jpg","text":"TemporaryFile(/tmp/multipartBody8499130311318957063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591314072,"filename":"image_25112025_22_38_45_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397213743","file1":"1397213740","file0":"1397213738","file4":"1397213822","file5":"1397213879","file3":"1397213778"},"map_files_photo_id_array":[{"photo_id":"1397213879","filename":"file5"},{"photo_id":"1397213743","filename":"file2"},{"photo_id":"1397213822","filename":"file4"},{"photo_id":"1397213740","filename":"file1"},{"photo_id":"1397213738","filename":"file0"},{"photo_id":"1397213778","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397213879":["hashtag1","hashtag2"]},{"1397213822":["hashtag1","hashtag2"]},{"1397213738":["hashtag1","hashtag2"]},{"1397213740":["hashtag1","hashtag2"]},{"1397213743":["hashtag1","hashtag2"]},{"1397213778":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397213879, 1397213822, 1397213738, 1397213740, 1397213743, 1397213778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.701008796691895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 13:15:03.304027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/22/image_01122025_12_22_45_9701.jpg', '/home/pi/Desktop/images/01122025/12/22/image_01122025_12_22_55_9943.jpg', '/home/pi/Desktop/images/01122025/12/22/image_01122025_12_23_06_10822.jpg', '/home/pi/Desktop/images/01122025/12/23/image_01122025_12_23_15_9408.jpg', '/home/pi/Desktop/images/01122025/12/23/image_01122025_12_23_26_10657.jpg', '/home/pi/Desktop/images/01122025/12/23/image_01122025_12_23_36_9589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/22/image_01122025_12_22_45_9701.jpg
/home/pi/Desktop/images/01122025/12/22/image_01122025_12_22_55_9943.jpg
/home/pi/Desktop/images/01122025/12/22/image_01122025_12_23_06_10822.jpg
/home/pi/Desktop/images/01122025/12/23/image_01122025_12_23_15_9408.jpg
/home/pi/Desktop/images/01122025/12/23/image_01122025_12_23_26_10657.jpg
/home/pi/Desktop/images/01122025/12/23/image_01122025_12_23_36_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":["1397214173","1397214196","1397214178","1397214159","1397214174","1397214120"],"photo_ids_order":["1397214120","1397214159","1397214173","1397214174","1397214178","1397214196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e3ec5550961858b5360892bc5cd75bf5.jpg","text":"TemporaryFile(/tmp/multipartBody7950574478676594442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591364063,"filename":"image_01122025_12_23_06_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/1/c0061ea869bb7235e1e7dfc1ddbf603d.jpg","text":"TemporaryFile(/tmp/multipartBody3644061883993136826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591364063,"filename":"image_01122025_12_23_36_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/1/e92b32c6bae08afe9aa1e38b8a7db59d.jpg","text":"TemporaryFile(/tmp/multipartBody6005544750859876801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591364063,"filename":"image_01122025_12_23_26_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/1/994ae0f59ce14b097ee3130f7322806f.jpg","text":"TemporaryFile(/tmp/multipartBody6128305749536687987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591364063,"filename":"image_01122025_12_22_55_9943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0b358e17691b4d45c742bace8699764e.jpg","text":"TemporaryFile(/tmp/multipartBody8998521613319364036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591364063,"filename":"image_01122025_12_23_15_9408.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8c01220b391c3d596d3ae0701855e05e.jpg","text":"TemporaryFile(/tmp/multipartBody7671564973243439858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591364063,"filename":"image_01122025_12_22_45_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397214173","file1":"1397214159","file0":"1397214120","file4":"1397214178","file5":"1397214196","file3":"1397214174"},"map_files_photo_id_array":[{"photo_id":"1397214196","filename":"file5"},{"photo_id":"1397214173","filename":"file2"},{"photo_id":"1397214178","filename":"file4"},{"photo_id":"1397214159","filename":"file1"},{"photo_id":"1397214120","filename":"file0"},{"photo_id":"1397214174","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397214173":["hashtag1","hashtag2"]},{"1397214196":["hashtag1","hashtag2"]},{"1397214178":["hashtag1","hashtag2"]},{"1397214159":["hashtag1","hashtag2"]},{"1397214174":["hashtag1","hashtag2"]},{"1397214120":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397214173, 1397214196, 1397214178, 1397214159, 1397214174, 1397214120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.827300786972046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 13:16:02.185851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/23/image_01122025_12_23_45_9620.jpg', '/home/pi/Desktop/images/01122025/12/23/image_01122025_12_23_56_10638.jpg', '/home/pi/Desktop/images/01122025/12/23/image_01122025_12_24_05_9724.jpg', '/home/pi/Desktop/images/01122025/12/24/image_01122025_12_24_15_9683.jpg', '/home/pi/Desktop/images/01122025/12/24/image_01122025_12_24_26_10672.jpg', '/home/pi/Desktop/images/01122025/12/24/image_01122025_12_24_36_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/23/image_01122025_12_23_45_9620.jpg
/home/pi/Desktop/images/01122025/12/23/image_01122025_12_23_56_10638.jpg
/home/pi/Desktop/images/01122025/12/23/image_01122025_12_24_05_9724.jpg
/home/pi/Desktop/images/01122025/12/24/image_01122025_12_24_15_9683.jpg
/home/pi/Desktop/images/01122025/12/24/image_01122025_12_24_26_10672.jpg
/home/pi/Desktop/images/01122025/12/24/image_01122025_12_24_36_9773.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6223018169403076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 13:16:12.561376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_04_2698.jpg', '/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_06_2711.jpg', '/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_10_3696.jpg', '/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_13_2563.jpg', '/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_15_2583.jpg', '/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_19_3789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_04_2698.jpg
/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_06_2711.jpg
/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_10_3696.jpg
/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_13_2563.jpg
/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_15_2583.jpg
/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_19_3789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397214443","1397214433","1397214436","1397214439","1397214402","1397214383"],"photo_ids_order":["1397214383","1397214402","1397214433","1397214436","1397214439","1397214443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/66a956a0bab249e2fcf7bd7b599d3f40.jpg","text":"TemporaryFile(/tmp/multipartBody558535016306784973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591434039,"filename":"image_25112025_22_39_19_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/61a207a3f6ad251c9665a39699e28cbc.jpg","text":"TemporaryFile(/tmp/multipartBody6760585962653551474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591434039,"filename":"image_25112025_22_39_10_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/1/c6982a9f50fc80aaf44017dd047ff35e.jpg","text":"TemporaryFile(/tmp/multipartBody6977660873300650046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591434039,"filename":"image_25112025_22_39_13_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/1/38733b5c750d90245334a533bb1fcf6b.jpg","text":"TemporaryFile(/tmp/multipartBody3520505645115277629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591434039,"filename":"image_25112025_22_39_15_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d5c9ee25e19909feb285a538386e00ce.jpg","text":"TemporaryFile(/tmp/multipartBody6814731249475700875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591434039,"filename":"image_25112025_22_39_06_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9b6559f917f98a50f180e300c2c73a14.jpg","text":"TemporaryFile(/tmp/multipartBody3911638236195940066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591434039,"filename":"image_25112025_22_39_04_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397214433","file1":"1397214402","file0":"1397214383","file4":"1397214439","file5":"1397214443","file3":"1397214436"},"map_files_photo_id_array":[{"photo_id":"1397214443","filename":"file5"},{"photo_id":"1397214433","filename":"file2"},{"photo_id":"1397214439","filename":"file4"},{"photo_id":"1397214402","filename":"file1"},{"photo_id":"1397214383","filename":"file0"},{"photo_id":"1397214436","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397214443":["hashtag1","hashtag2"]},{"1397214433":["hashtag1","hashtag2"]},{"1397214436":["hashtag1","hashtag2"]},{"1397214439":["hashtag1","hashtag2"]},{"1397214402":["hashtag1","hashtag2"]},{"1397214383":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397214443, 1397214433, 1397214436, 1397214439, 1397214402, 1397214383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70987558364868 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 13:17:02.573228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/23/image_01122025_12_23_45_9620.jpg', '/home/pi/Desktop/images/01122025/12/23/image_01122025_12_23_56_10638.jpg', '/home/pi/Desktop/images/01122025/12/23/image_01122025_12_24_05_9724.jpg', '/home/pi/Desktop/images/01122025/12/24/image_01122025_12_24_15_9683.jpg', '/home/pi/Desktop/images/01122025/12/24/image_01122025_12_24_26_10672.jpg', '/home/pi/Desktop/images/01122025/12/24/image_01122025_12_24_36_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/23/image_01122025_12_23_45_9620.jpg
/home/pi/Desktop/images/01122025/12/23/image_01122025_12_23_56_10638.jpg
/home/pi/Desktop/images/01122025/12/23/image_01122025_12_24_05_9724.jpg
/home/pi/Desktop/images/01122025/12/24/image_01122025_12_24_15_9683.jpg
/home/pi/Desktop/images/01122025/12/24/image_01122025_12_24_26_10672.jpg
/home/pi/Desktop/images/01122025/12/24/image_01122025_12_24_36_9773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397214521","1397214518","1397214526","1397214520","1397214523","1397214516"],"photo_ids_order":["1397214516","1397214518","1397214520","1397214521","1397214523","1397214526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5f323db46222453fbe31cc03e647c8b4.jpg","text":"TemporaryFile(/tmp/multipartBody2323321469572646376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591483339,"filename":"image_01122025_12_24_15_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ab7c7a4bdbe66f5248c8b1c579ad6e5d.jpg","text":"TemporaryFile(/tmp/multipartBody1328953866492003970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591483339,"filename":"image_01122025_12_23_56_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/1/d505bbff668946bede7011223f2e7975.jpg","text":"TemporaryFile(/tmp/multipartBody6524579748635800664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591483339,"filename":"image_01122025_12_24_36_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/1/f0bea9d44b5e9663ceb770c11b657392.jpg","text":"TemporaryFile(/tmp/multipartBody1659384157509880389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591483339,"filename":"image_01122025_12_24_05_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/14ed7085c1dc66c9d1c65da36ec0ea33.jpg","text":"TemporaryFile(/tmp/multipartBody83804799067936387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591483339,"filename":"image_01122025_12_24_26_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/74a3e79c708ebfad6777b6c07df8c4dd.jpg","text":"TemporaryFile(/tmp/multipartBody6412860625563523906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591483339,"filename":"image_01122025_12_23_45_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397214520","file1":"1397214518","file0":"1397214516","file4":"1397214523","file5":"1397214526","file3":"1397214521"},"map_files_photo_id_array":[{"photo_id":"1397214526","filename":"file5"},{"photo_id":"1397214520","filename":"file2"},{"photo_id":"1397214523","filename":"file4"},{"photo_id":"1397214518","filename":"file1"},{"photo_id":"1397214516","filename":"file0"},{"photo_id":"1397214521","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397214521":["hashtag1","hashtag2"]},{"1397214518":["hashtag1","hashtag2"]},{"1397214526":["hashtag1","hashtag2"]},{"1397214520":["hashtag1","hashtag2"]},{"1397214523":["hashtag1","hashtag2"]},{"1397214516":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397214521, 1397214518, 1397214526, 1397214520, 1397214523, 1397214516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17562198638916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 13:17:42.085360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_14_3668.jpg', '/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_17_2617.jpg', '/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_19_2702.jpg', '/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_23_3589.jpg', '/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_26_2636.jpg', '/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_32_3562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_14_3668.jpg
/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_17_2617.jpg
/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_19_2702.jpg
/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_23_3589.jpg
/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_26_2636.jpg
/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_32_3562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397214571","1397214573","1397214576","1397214558","1397214575","1397214569"],"photo_ids_order":["1397214558","1397214569","1397214571","1397214573","1397214575","1397214576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/920b67686e9e56b65daffc10c52d6ecd.jpg","text":"TemporaryFile(/tmp/multipartBody6682934920745654092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591524593,"filename":"image_31102025_14_26_19_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bf362b9f576c8b6137fa501d258ed832.jpg","text":"TemporaryFile(/tmp/multipartBody1347909674115687531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591524593,"filename":"image_31102025_14_26_23_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/1/9c77ed10f85569580c9f1769d43a1ee1.jpg","text":"TemporaryFile(/tmp/multipartBody8179080069353502529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591524593,"filename":"image_31102025_14_26_32_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/1/038cffa62279561d0cdd72a503854c42.jpg","text":"TemporaryFile(/tmp/multipartBody7262126532362356587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591524593,"filename":"image_31102025_14_26_14_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3e2ba56616cd26c2c2aa49abb0b5f9e8.jpg","text":"TemporaryFile(/tmp/multipartBody5986723651342474735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591524593,"filename":"image_31102025_14_26_26_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/1/cec7538d674723d07ab9cac481431a2d.jpg","text":"TemporaryFile(/tmp/multipartBody8601219023027603235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591524593,"filename":"image_31102025_14_26_17_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397214571","file1":"1397214569","file0":"1397214558","file4":"1397214575","file5":"1397214576","file3":"1397214573"},"map_files_photo_id_array":[{"photo_id":"1397214576","filename":"file5"},{"photo_id":"1397214571","filename":"file2"},{"photo_id":"1397214575","filename":"file4"},{"photo_id":"1397214569","filename":"file1"},{"photo_id":"1397214558","filename":"file0"},{"photo_id":"1397214573","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397214571":["hashtag1","hashtag2"]},{"1397214573":["hashtag1","hashtag2"]},{"1397214576":["hashtag1","hashtag2"]},{"1397214558":["hashtag1","hashtag2"]},{"1397214575":["hashtag1","hashtag2"]},{"1397214569":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397214571, 1397214573, 1397214576, 1397214558, 1397214575, 1397214569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.67464756965637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 13:18:22.261286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/24/image_01122025_12_24_45_9705.jpg', '/home/pi/Desktop/images/01122025/12/24/image_01122025_12_24_55_9818.jpg', '/home/pi/Desktop/images/01122025/12/24/image_01122025_12_25_06_10765.jpg', '/home/pi/Desktop/images/01122025/12/25/image_01122025_12_25_16_9752.jpg', '/home/pi/Desktop/images/01122025/12/25/image_01122025_12_25_25_9708.jpg', '/home/pi/Desktop/images/01122025/12/25/image_01122025_12_25_36_10596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/24/image_01122025_12_24_45_9705.jpg
/home/pi/Desktop/images/01122025/12/24/image_01122025_12_24_55_9818.jpg
/home/pi/Desktop/images/01122025/12/24/image_01122025_12_25_06_10765.jpg
/home/pi/Desktop/images/01122025/12/25/image_01122025_12_25_16_9752.jpg
/home/pi/Desktop/images/01122025/12/25/image_01122025_12_25_25_9708.jpg
/home/pi/Desktop/images/01122025/12/25/image_01122025_12_25_36_10596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397214737","1397214617","1397214601","1397214657","1397214698","1397214578"],"photo_ids_order":["1397214578","1397214601","1397214617","1397214657","1397214698","1397214737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3860837d174c683de73f5cd0a6a85fa7.jpg","text":"TemporaryFile(/tmp/multipartBody421745711070059863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591562955,"filename":"image_01122025_12_25_36_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/1/882bec08ece80377e0a73a4ec39dd7cd.jpg","text":"TemporaryFile(/tmp/multipartBody1713397715541831804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591562955,"filename":"image_01122025_12_25_06_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/1/722a13ad23b9dfd2dc02809a67c60f5f.jpg","text":"TemporaryFile(/tmp/multipartBody942330898070040725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591562955,"filename":"image_01122025_12_24_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/1/3574a6f012553e6d158572bb61da583b.jpg","text":"TemporaryFile(/tmp/multipartBody8529889862330318330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591562955,"filename":"image_01122025_12_25_16_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/1/83d7687dcb55f68514fde606e1aaa10c.jpg","text":"TemporaryFile(/tmp/multipartBody3223717281374882962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591562955,"filename":"image_01122025_12_25_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/1/ea1661f097a982acd2c61335d595ec6a.jpg","text":"TemporaryFile(/tmp/multipartBody2645975349618548972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591562955,"filename":"image_01122025_12_24_45_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397214617","file1":"1397214601","file0":"1397214578","file4":"1397214698","file5":"1397214737","file3":"1397214657"},"map_files_photo_id_array":[{"photo_id":"1397214737","filename":"file5"},{"photo_id":"1397214617","filename":"file2"},{"photo_id":"1397214698","filename":"file4"},{"photo_id":"1397214601","filename":"file1"},{"photo_id":"1397214578","filename":"file0"},{"photo_id":"1397214657","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397214737":["hashtag1","hashtag2"]},{"1397214617":["hashtag1","hashtag2"]},{"1397214601":["hashtag1","hashtag2"]},{"1397214657":["hashtag1","hashtag2"]},{"1397214698":["hashtag1","hashtag2"]},{"1397214578":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397214737, 1397214617, 1397214601, 1397214657, 1397214698, 1397214578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42561149597168 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 13:19:03.461142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/25/image_01122025_12_25_46_9709.jpg', '/home/pi/Desktop/images/01122025/12/25/image_01122025_12_25_56_9858.jpg', '/home/pi/Desktop/images/01122025/12/25/image_01122025_12_26_05_9837.jpg', '/home/pi/Desktop/images/01122025/12/26/image_01122025_12_26_15_9709.jpg', '/home/pi/Desktop/images/01122025/12/26/image_01122025_12_26_26_10586.jpg', '/home/pi/Desktop/images/01122025/12/26/image_01122025_12_26_35_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/25/image_01122025_12_25_46_9709.jpg
/home/pi/Desktop/images/01122025/12/25/image_01122025_12_25_56_9858.jpg
/home/pi/Desktop/images/01122025/12/25/image_01122025_12_26_05_9837.jpg
/home/pi/Desktop/images/01122025/12/26/image_01122025_12_26_15_9709.jpg
/home/pi/Desktop/images/01122025/12/26/image_01122025_12_26_26_10586.jpg
/home/pi/Desktop/images/01122025/12/26/image_01122025_12_26_35_9691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397214920","1397215179","1397215050","1397214881","1397215124","1397214983"],"photo_ids_order":["1397214881","1397214920","1397214983","1397215050","1397215124","1397215179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/29c3c6bae9d4e7ca8ba9c41f8a2775de.jpg","text":"TemporaryFile(/tmp/multipartBody2285082064873984553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591604342,"filename":"image_01122025_12_25_56_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/1/b46bafb5b51f68c99446d708be1b874e.jpg","text":"TemporaryFile(/tmp/multipartBody1604727973826318056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591604342,"filename":"image_01122025_12_26_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/1/1e3ff36771786ad9f26cabedc3ce82fe.jpg","text":"TemporaryFile(/tmp/multipartBody319064175657196324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591604342,"filename":"image_01122025_12_26_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/1/d6aee074d2bb67c08a1b1f3e49e0f718.jpg","text":"TemporaryFile(/tmp/multipartBody6002259541399319087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591604342,"filename":"image_01122025_12_25_46_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/1/0067fb4ffb0a3f74d34479cdcb2bf94d.jpg","text":"TemporaryFile(/tmp/multipartBody3994665408155389655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591604342,"filename":"image_01122025_12_26_26_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/1/fc67989dcbc45e8ba5e58742d5747d25.jpg","text":"TemporaryFile(/tmp/multipartBody4688888665546183992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591604342,"filename":"image_01122025_12_26_05_9837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397214983","file1":"1397214920","file0":"1397214881","file4":"1397215124","file5":"1397215179","file3":"1397215050"},"map_files_photo_id_array":[{"photo_id":"1397215179","filename":"file5"},{"photo_id":"1397214983","filename":"file2"},{"photo_id":"1397215124","filename":"file4"},{"photo_id":"1397214920","filename":"file1"},{"photo_id":"1397214881","filename":"file0"},{"photo_id":"1397215050","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397214920":["hashtag1","hashtag2"]},{"1397215179":["hashtag1","hashtag2"]},{"1397215050":["hashtag1","hashtag2"]},{"1397214881":["hashtag1","hashtag2"]},{"1397215124":["hashtag1","hashtag2"]},{"1397214983":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397214920, 1397215179, 1397215050, 1397214881, 1397215124, 1397214983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.735681772232056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 13:20:03.063522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/26/image_01122025_12_26_45_9888.jpg', '/home/pi/Desktop/images/01122025/12/26/image_01122025_12_26_56_10690.jpg', '/home/pi/Desktop/images/01122025/12/26/image_01122025_12_27_06_9725.jpg', '/home/pi/Desktop/images/01122025/12/27/image_01122025_12_27_15_9586.jpg', '/home/pi/Desktop/images/01122025/12/27/image_01122025_12_27_26_10671.jpg', '/home/pi/Desktop/images/01122025/12/27/image_01122025_12_27_36_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/26/image_01122025_12_26_45_9888.jpg
/home/pi/Desktop/images/01122025/12/26/image_01122025_12_26_56_10690.jpg
/home/pi/Desktop/images/01122025/12/26/image_01122025_12_27_06_9725.jpg
/home/pi/Desktop/images/01122025/12/27/image_01122025_12_27_15_9586.jpg
/home/pi/Desktop/images/01122025/12/27/image_01122025_12_27_26_10671.jpg
/home/pi/Desktop/images/01122025/12/27/image_01122025_12_27_36_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":["1397215642","1397215552","1397215743","1397215799","1397215701","1397215592"],"photo_ids_order":["1397215552","1397215592","1397215642","1397215701","1397215743","1397215799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/51e305bfebddcc40f0a8ca3b18b4bc9c.jpg","text":"TemporaryFile(/tmp/multipartBody1605182177559104088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591663802,"filename":"image_01122025_12_27_06_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/1/5276925971a3eb230755b94531071af9.jpg","text":"TemporaryFile(/tmp/multipartBody7651252047798063128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591663802,"filename":"image_01122025_12_26_45_9888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8d8a156dcabf19ddaf73012a8affb4cf.jpg","text":"TemporaryFile(/tmp/multipartBody1667823991379057801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591663802,"filename":"image_01122025_12_27_26_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/22e1a745334fd960b56fc1274923480c.jpg","text":"TemporaryFile(/tmp/multipartBody6992192690512243811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591663802,"filename":"image_01122025_12_27_36_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/1/735e20fa4b17b1dcf1a260dc8330d107.jpg","text":"TemporaryFile(/tmp/multipartBody3068150857812025915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591663802,"filename":"image_01122025_12_27_15_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/38f48caf0b46abfc6804bb1603354e1e.jpg","text":"TemporaryFile(/tmp/multipartBody3786920860210716738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591663802,"filename":"image_01122025_12_26_56_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397215642","file1":"1397215592","file0":"1397215552","file4":"1397215743","file5":"1397215799","file3":"1397215701"},"map_files_photo_id_array":[{"photo_id":"1397215799","filename":"file5"},{"photo_id":"1397215642","filename":"file2"},{"photo_id":"1397215743","filename":"file4"},{"photo_id":"1397215592","filename":"file1"},{"photo_id":"1397215552","filename":"file0"},{"photo_id":"1397215701","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397215642":["hashtag1","hashtag2"]},{"1397215552":["hashtag1","hashtag2"]},{"1397215743":["hashtag1","hashtag2"]},{"1397215799":["hashtag1","hashtag2"]},{"1397215701":["hashtag1","hashtag2"]},{"1397215592":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397215642, 1397215552, 1397215743, 1397215799, 1397215701, 1397215592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91814374923706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 13:20:42.668733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_34_2519.jpg', '/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_38_3740.jpg', '/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_41_2821.jpg', '/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_43_2594.jpg', '/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_46_2706.jpg', '/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_50_3706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_34_2519.jpg
/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_38_3740.jpg
/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_41_2821.jpg
/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_43_2594.jpg
/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_46_2706.jpg
/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_50_3706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397216041","1397215998","1397215950","1397216114","1397215988","1397216089"],"photo_ids_order":["1397215950","1397215988","1397215998","1397216041","1397216089","1397216114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fbe21796b5c60ecdd67415a800fb3090.jpg","text":"TemporaryFile(/tmp/multipartBody7664125786925596743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591705034,"filename":"image_31102025_14_26_43_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/1/31ce95643bd67a404b8ac7cc0ef8b02a.jpg","text":"TemporaryFile(/tmp/multipartBody3545189255966526993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591705034,"filename":"image_31102025_14_26_41_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/1/0be691ca6d04b42c7212fae09da5db38.jpg","text":"TemporaryFile(/tmp/multipartBody4394504680681975354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591705034,"filename":"image_31102025_14_26_34_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4198222660f0539f629b260464d638b4.jpg","text":"TemporaryFile(/tmp/multipartBody2334873492857134067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591705034,"filename":"image_31102025_14_26_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/1/30ac721a1f972ee175c9cc9e2599b021.jpg","text":"TemporaryFile(/tmp/multipartBody5367927485266351697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591705034,"filename":"image_31102025_14_26_38_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/1/7ec7764f36465cd4395373ad0405ef96.jpg","text":"TemporaryFile(/tmp/multipartBody6044273566136931131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591705034,"filename":"image_31102025_14_26_46_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397215998","file1":"1397215988","file0":"1397215950","file4":"1397216089","file5":"1397216114","file3":"1397216041"},"map_files_photo_id_array":[{"photo_id":"1397216114","filename":"file5"},{"photo_id":"1397215998","filename":"file2"},{"photo_id":"1397216089","filename":"file4"},{"photo_id":"1397215988","filename":"file1"},{"photo_id":"1397215950","filename":"file0"},{"photo_id":"1397216041","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397216041":["hashtag1","hashtag2"]},{"1397215998":["hashtag1","hashtag2"]},{"1397215950":["hashtag1","hashtag2"]},{"1397216114":["hashtag1","hashtag2"]},{"1397215988":["hashtag1","hashtag2"]},{"1397216089":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397216041, 1397215998, 1397215950, 1397216114, 1397215988, 1397216089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.33891534805298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 13:21:32.862265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_22_2680.jpg', '/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_24_2667.jpg', '/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_27_2808.jpg', '/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_31_3566.jpg', '/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_33_2782.jpg', '/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_36_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_22_2680.jpg
/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_24_2667.jpg
/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_27_2808.jpg
/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_31_3566.jpg
/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_33_2782.jpg
/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_36_2705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397216288","1397216297","1397216279","1397216290","1397216275","1397216284"],"photo_ids_order":["1397216275","1397216279","1397216284","1397216288","1397216290","1397216297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ac2d2f85f98c799d01476961c7c8ab41.jpg","text":"TemporaryFile(/tmp/multipartBody1380254533076492330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591754599,"filename":"image_25112025_22_39_31_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9b724d459ef141d7192594be970c14d3.jpg","text":"TemporaryFile(/tmp/multipartBody6638835800790883876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591754599,"filename":"image_25112025_22_39_36_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/1/206b782bd54b344b91104bcda963aef4.jpg","text":"TemporaryFile(/tmp/multipartBody845348559936010591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591754599,"filename":"image_25112025_22_39_24_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/1/4fb731ffe4c55f3b9ff0f3c1458d0a5c.jpg","text":"TemporaryFile(/tmp/multipartBody2117302235842143815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591754599,"filename":"image_25112025_22_39_33_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/1/8ed2e963649c69f47bef7931d66aa5d0.jpg","text":"TemporaryFile(/tmp/multipartBody6502108582563518985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591754599,"filename":"image_25112025_22_39_22_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/1/ca0fcc2232f14a8c9ee71fdd948d9fce.jpg","text":"TemporaryFile(/tmp/multipartBody1749381462792721915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591754599,"filename":"image_25112025_22_39_27_2808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397216284","file1":"1397216279","file0":"1397216275","file4":"1397216290","file5":"1397216297","file3":"1397216288"},"map_files_photo_id_array":[{"photo_id":"1397216297","filename":"file5"},{"photo_id":"1397216284","filename":"file2"},{"photo_id":"1397216290","filename":"file4"},{"photo_id":"1397216279","filename":"file1"},{"photo_id":"1397216275","filename":"file0"},{"photo_id":"1397216288","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397216288":["hashtag1","hashtag2"]},{"1397216297":["hashtag1","hashtag2"]},{"1397216279":["hashtag1","hashtag2"]},{"1397216290":["hashtag1","hashtag2"]},{"1397216275":["hashtag1","hashtag2"]},{"1397216284":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397216288, 1397216297, 1397216279, 1397216290, 1397216275, 1397216284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23204302787781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 13:22:11.920781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_39_3156.jpg', '/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_43_3556.jpg', '/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_48_2618.jpg', '/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_52_3735.jpg', '/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_54_2723.jpg', '/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_57_2574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_39_3156.jpg
/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_43_3556.jpg
/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_48_2618.jpg
/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_52_3735.jpg
/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_54_2723.jpg
/home/pi/Desktop/images/25112025/22/39/image_25112025_22_39_57_2574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397216631","1397216529","1397216588","1397216491","1397216417","1397216455"],"photo_ids_order":["1397216417","1397216455","1397216491","1397216529","1397216588","1397216631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/863703e056b1af69ceeb2a8724613373.jpg","text":"TemporaryFile(/tmp/multipartBody1901115575018402171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591793492,"filename":"image_25112025_22_39_57_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/1/23b69d71cbcebe3b1bc0321202ca865d.jpg","text":"TemporaryFile(/tmp/multipartBody7960396607355167069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591793492,"filename":"image_25112025_22_39_52_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9de2f64611214a805ffc332ef35410cc.jpg","text":"TemporaryFile(/tmp/multipartBody4865152633982379609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591793492,"filename":"image_25112025_22_39_54_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/1/3d473a4699b0e7801ac0374306eb7886.jpg","text":"TemporaryFile(/tmp/multipartBody5757139914448056089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591793492,"filename":"image_25112025_22_39_48_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/1/743c06c357bb66b05a7f999a664dd796.jpg","text":"TemporaryFile(/tmp/multipartBody6592160305178840567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591793492,"filename":"image_25112025_22_39_39_3156.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/052b588e0dcb60d1be33444c839ce2c0.jpg","text":"TemporaryFile(/tmp/multipartBody6514429643297813874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591793492,"filename":"image_25112025_22_39_43_3556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397216491","file1":"1397216455","file0":"1397216417","file4":"1397216588","file5":"1397216631","file3":"1397216529"},"map_files_photo_id_array":[{"photo_id":"1397216631","filename":"file5"},{"photo_id":"1397216491","filename":"file2"},{"photo_id":"1397216588","filename":"file4"},{"photo_id":"1397216455","filename":"file1"},{"photo_id":"1397216417","filename":"file0"},{"photo_id":"1397216529","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397216631":["hashtag1","hashtag2"]},{"1397216529":["hashtag1","hashtag2"]},{"1397216588":["hashtag1","hashtag2"]},{"1397216491":["hashtag1","hashtag2"]},{"1397216417":["hashtag1","hashtag2"]},{"1397216455":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397216631, 1397216529, 1397216588, 1397216491, 1397216417, 1397216455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.91628360748291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 13:23:02.612162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/27/image_01122025_12_27_45_9643.jpg', '/home/pi/Desktop/images/01122025/12/27/image_01122025_12_27_56_10669.jpg', '/home/pi/Desktop/images/01122025/12/27/image_01122025_12_28_06_9875.jpg', '/home/pi/Desktop/images/01122025/12/28/image_01122025_12_28_16_9808.jpg', '/home/pi/Desktop/images/01122025/12/28/image_01122025_12_28_25_9694.jpg', '/home/pi/Desktop/images/01122025/12/28/image_01122025_12_28_36_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/27/image_01122025_12_27_45_9643.jpg
/home/pi/Desktop/images/01122025/12/27/image_01122025_12_27_56_10669.jpg
/home/pi/Desktop/images/01122025/12/27/image_01122025_12_28_06_9875.jpg
/home/pi/Desktop/images/01122025/12/28/image_01122025_12_28_16_9808.jpg
/home/pi/Desktop/images/01122025/12/28/image_01122025_12_28_25_9694.jpg
/home/pi/Desktop/images/01122025/12/28/image_01122025_12_28_36_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":["1397217054","1397217178","1397217101","1397217220","1397217139","1397216959"],"photo_ids_order":["1397216959","1397217054","1397217101","1397217139","1397217178","1397217220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3d69998a887d7a8d7b77f42e3df4c707.jpg","text":"TemporaryFile(/tmp/multipartBody8115695221896998016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591843418,"filename":"image_01122025_12_27_56_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/02251851a6368fc61dc8767d6af04f81.jpg","text":"TemporaryFile(/tmp/multipartBody8944185237459176903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591843418,"filename":"image_01122025_12_28_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/1/c4cd9b2cb45cf911b3842b1ecc51fa95.jpg","text":"TemporaryFile(/tmp/multipartBody5339772552382071415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591843418,"filename":"image_01122025_12_28_06_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2560e29f17f11cefa1c9ae8c20a30a07.jpg","text":"TemporaryFile(/tmp/multipartBody4481688673862715027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591843418,"filename":"image_01122025_12_28_36_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/1/0a20136b0371b22f76bb671cc875c38e.jpg","text":"TemporaryFile(/tmp/multipartBody263422142562370634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591843418,"filename":"image_01122025_12_28_16_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/1/b49e551c9e6b8d2e427f045a26f85665.jpg","text":"TemporaryFile(/tmp/multipartBody5862478171416146706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591843418,"filename":"image_01122025_12_27_45_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397217101","file1":"1397217054","file0":"1397216959","file4":"1397217178","file5":"1397217220","file3":"1397217139"},"map_files_photo_id_array":[{"photo_id":"1397217220","filename":"file5"},{"photo_id":"1397217101","filename":"file2"},{"photo_id":"1397217178","filename":"file4"},{"photo_id":"1397217054","filename":"file1"},{"photo_id":"1397216959","filename":"file0"},{"photo_id":"1397217139","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397217054":["hashtag1","hashtag2"]},{"1397217178":["hashtag1","hashtag2"]},{"1397217101":["hashtag1","hashtag2"]},{"1397217220":["hashtag1","hashtag2"]},{"1397217139":["hashtag1","hashtag2"]},{"1397216959":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397217054, 1397217178, 1397217101, 1397217220, 1397217139, 1397216959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.955355405807495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 13:23:42.167810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_53_2680.jpg', '/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_55_2593.jpg', '/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_01_2670.jpg', '/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_04_2722.jpg', '/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_08_3630.jpg', '/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_10_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_53_2680.jpg
/home/pi/Desktop/images/31102025/14/26/image_31102025_14_26_55_2593.jpg
/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_01_2670.jpg
/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_04_2722.jpg
/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_08_3630.jpg
/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_10_2619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397217378","1397217426","1397217237","1397217293","1397217275","1397217337"],"photo_ids_order":["1397217237","1397217275","1397217293","1397217337","1397217378","1397217426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/07ec7ae87a6b33a9b08378597e144593.jpg","text":"TemporaryFile(/tmp/multipartBody7308266040395793919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591884540,"filename":"image_31102025_14_27_08_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/91fa87015f42f5dfd7027e58b2b188b7.jpg","text":"TemporaryFile(/tmp/multipartBody9139754195857137846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591884540,"filename":"image_31102025_14_27_10_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/1/fe9f6e2f1f98c7862eb63f42c237efc0.jpg","text":"TemporaryFile(/tmp/multipartBody6596766990865022833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591884540,"filename":"image_31102025_14_26_53_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c9beb0163499ce42a35a504f691e226c.jpg","text":"TemporaryFile(/tmp/multipartBody4626288706957572577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591884540,"filename":"image_31102025_14_27_01_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/1/5b71d93bce6065a86bad9de720322a88.jpg","text":"TemporaryFile(/tmp/multipartBody8318603623083684462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591884540,"filename":"image_31102025_14_26_55_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/1/04665ef86696a3023bee0a13da4c6043.jpg","text":"TemporaryFile(/tmp/multipartBody3956445433147111027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591884540,"filename":"image_31102025_14_27_04_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397217293","file1":"1397217275","file0":"1397217237","file4":"1397217378","file5":"1397217426","file3":"1397217337"},"map_files_photo_id_array":[{"photo_id":"1397217426","filename":"file5"},{"photo_id":"1397217293","filename":"file2"},{"photo_id":"1397217378","filename":"file4"},{"photo_id":"1397217275","filename":"file1"},{"photo_id":"1397217237","filename":"file0"},{"photo_id":"1397217337","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397217378":["hashtag1","hashtag2"]},{"1397217426":["hashtag1","hashtag2"]},{"1397217237":["hashtag1","hashtag2"]},{"1397217293":["hashtag1","hashtag2"]},{"1397217275":["hashtag1","hashtag2"]},{"1397217337":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397217378, 1397217426, 1397217237, 1397217293, 1397217275, 1397217337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12188124656677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 13:24:22.333752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/28/image_01122025_12_28_46_9645.jpg', '/home/pi/Desktop/images/01122025/12/28/image_01122025_12_28_55_9637.jpg', '/home/pi/Desktop/images/01122025/12/28/image_01122025_12_29_05_9771.jpg', '/home/pi/Desktop/images/01122025/12/29/image_01122025_12_29_16_10798.jpg', '/home/pi/Desktop/images/01122025/12/29/image_01122025_12_29_25_9648.jpg', '/home/pi/Desktop/images/01122025/12/29/image_01122025_12_29_35_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/28/image_01122025_12_28_46_9645.jpg
/home/pi/Desktop/images/01122025/12/28/image_01122025_12_28_55_9637.jpg
/home/pi/Desktop/images/01122025/12/28/image_01122025_12_29_05_9771.jpg
/home/pi/Desktop/images/01122025/12/29/image_01122025_12_29_16_10798.jpg
/home/pi/Desktop/images/01122025/12/29/image_01122025_12_29_25_9648.jpg
/home/pi/Desktop/images/01122025/12/29/image_01122025_12_29_35_9786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397217636","1397217537","1397217746","1397217673","1397217835","1397217466"],"photo_ids_order":["1397217466","1397217537","1397217636","1397217673","1397217746","1397217835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1095954e87433488f795d5643ab4eed3.jpg","text":"TemporaryFile(/tmp/multipartBody5375124084006942020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591923045,"filename":"image_01122025_12_29_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/1/7a2f60c9deb303a645cf1eee8162ac67.jpg","text":"TemporaryFile(/tmp/multipartBody7832429697974645321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591923045,"filename":"image_01122025_12_28_55_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cebbe322bfa8ef65b9422a94493d157f.jpg","text":"TemporaryFile(/tmp/multipartBody3365931328705723869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591923045,"filename":"image_01122025_12_29_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/1/188daee6ad8fc8510a729600f66dd27e.jpg","text":"TemporaryFile(/tmp/multipartBody8942616176412126838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591923045,"filename":"image_01122025_12_29_16_10798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4a186995a5559c670dd96928c280d061.jpg","text":"TemporaryFile(/tmp/multipartBody3815499263460863816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591923045,"filename":"image_01122025_12_29_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/1/b01faa221abe148285d103f35db5285e.jpg","text":"TemporaryFile(/tmp/multipartBody7728915342061006771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591923045,"filename":"image_01122025_12_28_46_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397217636","file1":"1397217537","file0":"1397217466","file4":"1397217746","file5":"1397217835","file3":"1397217673"},"map_files_photo_id_array":[{"photo_id":"1397217835","filename":"file5"},{"photo_id":"1397217636","filename":"file2"},{"photo_id":"1397217746","filename":"file4"},{"photo_id":"1397217537","filename":"file1"},{"photo_id":"1397217466","filename":"file0"},{"photo_id":"1397217673","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397217636":["hashtag1","hashtag2"]},{"1397217537":["hashtag1","hashtag2"]},{"1397217746":["hashtag1","hashtag2"]},{"1397217673":["hashtag1","hashtag2"]},{"1397217835":["hashtag1","hashtag2"]},{"1397217466":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397217636, 1397217537, 1397217746, 1397217673, 1397217835, 1397217466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86566948890686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 13:25:03.160814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/29/image_01122025_12_29_46_10673.jpg', '/home/pi/Desktop/images/01122025/12/29/image_01122025_12_29_56_9726.jpg', '/home/pi/Desktop/images/01122025/12/30/image_01122025_12_30_14_10056.jpg', '/home/pi/Desktop/images/01122025/12/30/image_01122025_12_30_25_10817.jpg', '/home/pi/Desktop/images/01122025/12/30/image_01122025_12_30_35_9769.jpg', '/home/pi/Desktop/images/01122025/12/30/image_01122025_12_30_44_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/29/image_01122025_12_29_46_10673.jpg
/home/pi/Desktop/images/01122025/12/29/image_01122025_12_29_56_9726.jpg
/home/pi/Desktop/images/01122025/12/30/image_01122025_12_30_14_10056.jpg
/home/pi/Desktop/images/01122025/12/30/image_01122025_12_30_25_10817.jpg
/home/pi/Desktop/images/01122025/12/30/image_01122025_12_30_35_9769.jpg
/home/pi/Desktop/images/01122025/12/30/image_01122025_12_30_44_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397218241","1397218142","1397218415","1397218339","1397218027","1397218080"],"photo_ids_order":["1397218027","1397218080","1397218142","1397218241","1397218339","1397218415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/27e2fa69ed75272ea36813ef936caa1e.jpg","text":"TemporaryFile(/tmp/multipartBody1274616507544948023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591963964,"filename":"image_01122025_12_30_25_10817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c8a2af16db42cb95ce154cab1e65eb71.jpg","text":"TemporaryFile(/tmp/multipartBody7628154413754264665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591963964,"filename":"image_01122025_12_30_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/73b8f2e3539a16bfece6d61c3f318344.jpg","text":"TemporaryFile(/tmp/multipartBody5660233260262679630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591963964,"filename":"image_01122025_12_30_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/1/9c67edd04c4da171117f5fd26ca69540.jpg","text":"TemporaryFile(/tmp/multipartBody8846391744579078914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591963964,"filename":"image_01122025_12_30_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/1/1e055a8fd45ef2d6309fd5ed5248fde3.jpg","text":"TemporaryFile(/tmp/multipartBody6877308474775530126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591963964,"filename":"image_01122025_12_29_46_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/1/d3a6d210e3613f6be608cde0582cb9f9.jpg","text":"TemporaryFile(/tmp/multipartBody3456510373978236974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764591963964,"filename":"image_01122025_12_29_56_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397218142","file1":"1397218080","file0":"1397218027","file4":"1397218339","file5":"1397218415","file3":"1397218241"},"map_files_photo_id_array":[{"photo_id":"1397218415","filename":"file5"},{"photo_id":"1397218142","filename":"file2"},{"photo_id":"1397218339","filename":"file4"},{"photo_id":"1397218080","filename":"file1"},{"photo_id":"1397218027","filename":"file0"},{"photo_id":"1397218241","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397218241":["hashtag1","hashtag2"]},{"1397218142":["hashtag1","hashtag2"]},{"1397218415":["hashtag1","hashtag2"]},{"1397218339":["hashtag1","hashtag2"]},{"1397218027":["hashtag1","hashtag2"]},{"1397218080":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397218241, 1397218142, 1397218415, 1397218339, 1397218027, 1397218080)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.887999296188354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 13:26:03.129435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/30/image_01122025_12_30_54_9682.jpg', '/home/pi/Desktop/images/01122025/12/30/image_01122025_12_31_05_10772.jpg', '/home/pi/Desktop/images/01122025/12/31/image_01122025_12_31_14_9733.jpg', '/home/pi/Desktop/images/01122025/12/31/image_01122025_12_31_24_9581.jpg', '/home/pi/Desktop/images/01122025/12/31/image_01122025_12_31_35_10795.jpg', '/home/pi/Desktop/images/01122025/12/31/image_01122025_12_31_44_9585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/30/image_01122025_12_30_54_9682.jpg
/home/pi/Desktop/images/01122025/12/30/image_01122025_12_31_05_10772.jpg
/home/pi/Desktop/images/01122025/12/31/image_01122025_12_31_14_9733.jpg
/home/pi/Desktop/images/01122025/12/31/image_01122025_12_31_24_9581.jpg
/home/pi/Desktop/images/01122025/12/31/image_01122025_12_31_35_10795.jpg
/home/pi/Desktop/images/01122025/12/31/image_01122025_12_31_44_9585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397218833","1397218790","1397218894","1397218675","1397218735","1397218702"],"photo_ids_order":["1397218675","1397218702","1397218735","1397218790","1397218833","1397218894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a0cdda838bd0cefe7322684c376ef5c0.jpg","text":"TemporaryFile(/tmp/multipartBody3473340292571688412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592023775,"filename":"image_01122025_12_31_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/1/abb34793689b5416e4fdda3c9fdf3bf8.jpg","text":"TemporaryFile(/tmp/multipartBody6214384570568521901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592023775,"filename":"image_01122025_12_31_24_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e4e18a259d8c742b41c9ab8bbad349b8.jpg","text":"TemporaryFile(/tmp/multipartBody8158905362094329821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592023775,"filename":"image_01122025_12_31_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/1/ca84405f58a4b0c6271bad7279a52d17.jpg","text":"TemporaryFile(/tmp/multipartBody7629302354964801608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592023775,"filename":"image_01122025_12_30_54_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7690568c01171fe7f6a06e66666c4901.jpg","text":"TemporaryFile(/tmp/multipartBody3210619628546890476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592023775,"filename":"image_01122025_12_31_14_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/51b82ce7dee27db49fa402117a75aa6b.jpg","text":"TemporaryFile(/tmp/multipartBody6492349273103444380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592023775,"filename":"image_01122025_12_31_05_10772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397218735","file1":"1397218702","file0":"1397218675","file4":"1397218833","file5":"1397218894","file3":"1397218790"},"map_files_photo_id_array":[{"photo_id":"1397218894","filename":"file5"},{"photo_id":"1397218735","filename":"file2"},{"photo_id":"1397218833","filename":"file4"},{"photo_id":"1397218702","filename":"file1"},{"photo_id":"1397218675","filename":"file0"},{"photo_id":"1397218790","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397218833":["hashtag1","hashtag2"]},{"1397218790":["hashtag1","hashtag2"]},{"1397218894":["hashtag1","hashtag2"]},{"1397218675":["hashtag1","hashtag2"]},{"1397218735":["hashtag1","hashtag2"]},{"1397218702":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397218833, 1397218790, 1397218894, 1397218675, 1397218735, 1397218702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.88068914413452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 13:26:42.861021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_17_3719.jpg', '/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_20_2711.jpg', '/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_22_2836.jpg', '/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_25_2587.jpg', '/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_29_3693.jpg', '/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_32_3147.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_17_3719.jpg
/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_20_2711.jpg
/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_22_2836.jpg
/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_25_2587.jpg
/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_29_3693.jpg
/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_32_3147.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397219048","1397219089","1397218987","1397218999","1397219091","1397219007"],"photo_ids_order":["1397218987","1397218999","1397219007","1397219048","1397219089","1397219091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e6ebdd90a35b445b61da5b5f59439510.jpg","text":"TemporaryFile(/tmp/multipartBody7468273623311640042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592065572,"filename":"image_31102025_14_27_25_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/53bc7446de5dfab47a128453172bffe3.jpg","text":"TemporaryFile(/tmp/multipartBody5531623479784312044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592065572,"filename":"image_31102025_14_27_29_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/1/1c3c8c3e72848bd317bb6c9d4e35e614.jpg","text":"TemporaryFile(/tmp/multipartBody412091418978040782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592065572,"filename":"image_31102025_14_27_17_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ffb7d8fbb87f92da1bdac280fad1c787.jpg","text":"TemporaryFile(/tmp/multipartBody9209427999529406157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592065572,"filename":"image_31102025_14_27_20_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/1/90c74b8a171c87f801bea2f9531383e7.jpg","text":"TemporaryFile(/tmp/multipartBody7049049138226695325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592065572,"filename":"image_31102025_14_27_32_3147.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8104b826a6ddadac7f93d9d95585ba32.jpg","text":"TemporaryFile(/tmp/multipartBody6000203034629936342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592065572,"filename":"image_31102025_14_27_22_2836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397219007","file1":"1397218999","file0":"1397218987","file4":"1397219089","file5":"1397219091","file3":"1397219048"},"map_files_photo_id_array":[{"photo_id":"1397219091","filename":"file5"},{"photo_id":"1397219007","filename":"file2"},{"photo_id":"1397219089","filename":"file4"},{"photo_id":"1397218999","filename":"file1"},{"photo_id":"1397218987","filename":"file0"},{"photo_id":"1397219048","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397219048":["hashtag1","hashtag2"]},{"1397219089":["hashtag1","hashtag2"]},{"1397218987":["hashtag1","hashtag2"]},{"1397218999":["hashtag1","hashtag2"]},{"1397219091":["hashtag1","hashtag2"]},{"1397219007":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397219048, 1397219089, 1397218987, 1397218999, 1397219091, 1397219007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.297805070877075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 13:27:32.105102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/39/image_25112025_22_40_01_3615.jpg', '/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_07_3011.jpg', '/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_10_3558.jpg', '/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_13_2615.jpg', '/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_16_2804.jpg', '/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_19_3575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/39/image_25112025_22_40_01_3615.jpg
/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_07_3011.jpg
/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_10_3558.jpg
/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_13_2615.jpg
/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_16_2804.jpg
/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_19_3575.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.703159809112549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 13:27:42.018857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_34_2578.jpg', '/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_37_2602.jpg', '/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_41_3639.jpg', '/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_43_2731.jpg', '/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_49_2937.jpg', '/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_53_3813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_34_2578.jpg
/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_37_2602.jpg
/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_41_3639.jpg
/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_43_2731.jpg
/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_49_2937.jpg
/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_53_3813.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397219165","1397219167","1397219176","1397219161","1397219170","1397219195"],"photo_ids_order":["1397219161","1397219165","1397219167","1397219170","1397219176","1397219195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f61c236306ad8d26255306ef3824e204.jpg","text":"TemporaryFile(/tmp/multipartBody7340328334223786794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592124644,"filename":"image_31102025_14_27_37_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/533e27f55a66b03e6addc9b82425c5ef.jpg","text":"TemporaryFile(/tmp/multipartBody937329871986300208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592124644,"filename":"image_31102025_14_27_41_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f11c819e12e8fb01f7211012a12c1a18.jpg","text":"TemporaryFile(/tmp/multipartBody1172778079711265874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592124644,"filename":"image_31102025_14_27_49_2937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0bb5e1adfea84723e080b4fe1217942f.jpg","text":"TemporaryFile(/tmp/multipartBody2933166861693975515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592124644,"filename":"image_31102025_14_27_34_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/98f1a365ebb7e884dc6de7dbf676621a.jpg","text":"TemporaryFile(/tmp/multipartBody3689217559507522415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592124644,"filename":"image_31102025_14_27_43_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/1/11e7fb3739d9a5d4144a80dc7389ca09.jpg","text":"TemporaryFile(/tmp/multipartBody8681809998720782297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592124644,"filename":"image_31102025_14_27_53_3813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397219167","file1":"1397219165","file0":"1397219161","file4":"1397219176","file5":"1397219195","file3":"1397219170"},"map_files_photo_id_array":[{"photo_id":"1397219195","filename":"file5"},{"photo_id":"1397219167","filename":"file2"},{"photo_id":"1397219176","filename":"file4"},{"photo_id":"1397219165","filename":"file1"},{"photo_id":"1397219161","filename":"file0"},{"photo_id":"1397219170","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397219165":["hashtag1","hashtag2"]},{"1397219167":["hashtag1","hashtag2"]},{"1397219176":["hashtag1","hashtag2"]},{"1397219161":["hashtag1","hashtag2"]},{"1397219170":["hashtag1","hashtag2"]},{"1397219195":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397219165, 1397219167, 1397219176, 1397219161, 1397219170, 1397219195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.74306631088257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 13:28:32.312151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/39/image_25112025_22_40_01_3615.jpg', '/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_07_3011.jpg', '/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_10_3558.jpg', '/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_13_2615.jpg', '/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_16_2804.jpg', '/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_19_3575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/39/image_25112025_22_40_01_3615.jpg
/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_07_3011.jpg
/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_10_3558.jpg
/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_13_2615.jpg
/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_16_2804.jpg
/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_19_3575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397219207","1397219278","1397219221","1397219314","1397219232","1397219238"],"photo_ids_order":["1397219207","1397219221","1397219232","1397219238","1397219278","1397219314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a120570d025cb491ecd56a11e66c075d.jpg","text":"TemporaryFile(/tmp/multipartBody1522293998520599479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592173950,"filename":"image_25112025_22_40_01_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/1/97c4c3624325a594f4d41bf8097330ec.jpg","text":"TemporaryFile(/tmp/multipartBody7952821660318365567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592173950,"filename":"image_25112025_22_41_16_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3e6fe6721fdc9590bf5b842714d901b8.jpg","text":"TemporaryFile(/tmp/multipartBody6080456505699552125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592173950,"filename":"image_25112025_22_41_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/1/e20481bf03e130bd338d59b20f491b07.jpg","text":"TemporaryFile(/tmp/multipartBody5134132700219752639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592173950,"filename":"image_25112025_22_41_19_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/1/a4fff3fcf3ba8da6f17cf8495580671b.jpg","text":"TemporaryFile(/tmp/multipartBody8218883688633747667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592173950,"filename":"image_25112025_22_41_10_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e4a8e84563e0b8424ebdc4a5e231a8ab.jpg","text":"TemporaryFile(/tmp/multipartBody812375584025492425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592173950,"filename":"image_25112025_22_41_13_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397219232","file1":"1397219221","file0":"1397219207","file4":"1397219278","file5":"1397219314","file3":"1397219238"},"map_files_photo_id_array":[{"photo_id":"1397219314","filename":"file5"},{"photo_id":"1397219232","filename":"file2"},{"photo_id":"1397219278","filename":"file4"},{"photo_id":"1397219221","filename":"file1"},{"photo_id":"1397219207","filename":"file0"},{"photo_id":"1397219238","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397219207":["hashtag1","hashtag2"]},{"1397219278":["hashtag1","hashtag2"]},{"1397219221":["hashtag1","hashtag2"]},{"1397219314":["hashtag1","hashtag2"]},{"1397219232":["hashtag1","hashtag2"]},{"1397219238":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397219207, 1397219278, 1397219221, 1397219314, 1397219232, 1397219238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02608609199524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 13:29:12.568135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_22_2651.jpg', '/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_25_3249.jpg', '/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_28_2571.jpg', '/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_32_3559.jpg', '/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_34_2580.jpg', '/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_38_3620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_22_2651.jpg
/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_25_3249.jpg
/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_28_2571.jpg
/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_32_3559.jpg
/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_34_2580.jpg
/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_38_3620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397219360","1397219357","1397219336","1397219347","1397219359","1397219338"],"photo_ids_order":["1397219336","1397219338","1397219347","1397219357","1397219359","1397219360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f92f8ceb5179fe512def01ad2f70ae27.jpg","text":"TemporaryFile(/tmp/multipartBody5077068598766652903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592214220,"filename":"image_25112025_22_41_38_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/1/d9c41151b779e8c77df468069119b094.jpg","text":"TemporaryFile(/tmp/multipartBody1221984954408054837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592214220,"filename":"image_25112025_22_41_32_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/1/56d86f7106d4e4d27416aeaf11c52b39.jpg","text":"TemporaryFile(/tmp/multipartBody4058217747531777960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592214220,"filename":"image_25112025_22_41_22_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/1/c7b7c4382b54a9ba77c15917a63a947d.jpg","text":"TemporaryFile(/tmp/multipartBody980680788190566028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592214220,"filename":"image_25112025_22_41_28_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/36b6c504a31fe107151116ec768b081b.jpg","text":"TemporaryFile(/tmp/multipartBody7430668941637849664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592214220,"filename":"image_25112025_22_41_34_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/1/dc5c9ae5af472195ca69a419b0610deb.jpg","text":"TemporaryFile(/tmp/multipartBody4669190310355916976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592214220,"filename":"image_25112025_22_41_25_3249.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397219347","file1":"1397219338","file0":"1397219336","file4":"1397219359","file5":"1397219360","file3":"1397219357"},"map_files_photo_id_array":[{"photo_id":"1397219360","filename":"file5"},{"photo_id":"1397219347","filename":"file2"},{"photo_id":"1397219359","filename":"file4"},{"photo_id":"1397219338","filename":"file1"},{"photo_id":"1397219336","filename":"file0"},{"photo_id":"1397219357","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397219360":["hashtag1","hashtag2"]},{"1397219357":["hashtag1","hashtag2"]},{"1397219336":["hashtag1","hashtag2"]},{"1397219347":["hashtag1","hashtag2"]},{"1397219359":["hashtag1","hashtag2"]},{"1397219338":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397219360, 1397219357, 1397219336, 1397219347, 1397219359, 1397219338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.222142934799194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 13:30:03.084744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/31/image_01122025_12_31_54_9670.jpg', '/home/pi/Desktop/images/01122025/12/31/image_01122025_12_32_05_10698.jpg', '/home/pi/Desktop/images/01122025/12/32/image_01122025_12_32_14_9655.jpg', '/home/pi/Desktop/images/01122025/12/32/image_01122025_12_32_24_9915.jpg', '/home/pi/Desktop/images/01122025/12/32/image_01122025_12_32_34_9673.jpg', '/home/pi/Desktop/images/01122025/12/32/image_01122025_12_32_45_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/31/image_01122025_12_31_54_9670.jpg
/home/pi/Desktop/images/01122025/12/31/image_01122025_12_32_05_10698.jpg
/home/pi/Desktop/images/01122025/12/32/image_01122025_12_32_14_9655.jpg
/home/pi/Desktop/images/01122025/12/32/image_01122025_12_32_24_9915.jpg
/home/pi/Desktop/images/01122025/12/32/image_01122025_12_32_34_9673.jpg
/home/pi/Desktop/images/01122025/12/32/image_01122025_12_32_45_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.5847969055175781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 13:30:12.692918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_40_2518.jpg', '/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_44_3558.jpg', '/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_47_2805.jpg', '/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_52_2821.jpg', '/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_56_3719.jpg', '/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_58_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_40_2518.jpg
/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_44_3558.jpg
/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_47_2805.jpg
/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_52_2821.jpg
/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_56_3719.jpg
/home/pi/Desktop/images/25112025/22/41/image_25112025_22_41_58_2653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397219489","1397219525","1397219491","1397219494","1397219512","1397219532"],"photo_ids_order":["1397219489","1397219491","1397219494","1397219512","1397219525","1397219532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8f94355eb447bfcfa36444afe1e04dc4.jpg","text":"TemporaryFile(/tmp/multipartBody2573656638738021567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592274210,"filename":"image_25112025_22_41_40_2518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/848fd7eff6cf5907d6c93bc9460050cf.jpg","text":"TemporaryFile(/tmp/multipartBody4816094143915986354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592274210,"filename":"image_25112025_22_41_56_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e8b1e6f2c66b1ca9f7d8edb9da5b423b.jpg","text":"TemporaryFile(/tmp/multipartBody3431913771713328280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592274210,"filename":"image_25112025_22_41_44_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/167e98d7eaf6552c33c8302967a5562c.jpg","text":"TemporaryFile(/tmp/multipartBody797892530127787487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592274210,"filename":"image_25112025_22_41_47_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/36376108f542a8416235554845eadc7b.jpg","text":"TemporaryFile(/tmp/multipartBody8541733381320718314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592274210,"filename":"image_25112025_22_41_52_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/1/2b46a6f6b40f6c58af4a3f0d843f6186.jpg","text":"TemporaryFile(/tmp/multipartBody5890975991624358192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592274210,"filename":"image_25112025_22_41_58_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397219494","file1":"1397219491","file0":"1397219489","file4":"1397219525","file5":"1397219532","file3":"1397219512"},"map_files_photo_id_array":[{"photo_id":"1397219532","filename":"file5"},{"photo_id":"1397219494","filename":"file2"},{"photo_id":"1397219525","filename":"file4"},{"photo_id":"1397219491","filename":"file1"},{"photo_id":"1397219489","filename":"file0"},{"photo_id":"1397219512","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397219489":["hashtag1","hashtag2"]},{"1397219525":["hashtag1","hashtag2"]},{"1397219491":["hashtag1","hashtag2"]},{"1397219494":["hashtag1","hashtag2"]},{"1397219512":["hashtag1","hashtag2"]},{"1397219532":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397219489, 1397219525, 1397219491, 1397219494, 1397219512, 1397219532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.529595375061035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 13:31:03.599382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/31/image_01122025_12_31_54_9670.jpg', '/home/pi/Desktop/images/01122025/12/31/image_01122025_12_32_05_10698.jpg', '/home/pi/Desktop/images/01122025/12/32/image_01122025_12_32_14_9655.jpg', '/home/pi/Desktop/images/01122025/12/32/image_01122025_12_32_24_9915.jpg', '/home/pi/Desktop/images/01122025/12/32/image_01122025_12_32_34_9673.jpg', '/home/pi/Desktop/images/01122025/12/32/image_01122025_12_32_45_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/31/image_01122025_12_31_54_9670.jpg
/home/pi/Desktop/images/01122025/12/31/image_01122025_12_32_05_10698.jpg
/home/pi/Desktop/images/01122025/12/32/image_01122025_12_32_14_9655.jpg
/home/pi/Desktop/images/01122025/12/32/image_01122025_12_32_24_9915.jpg
/home/pi/Desktop/images/01122025/12/32/image_01122025_12_32_34_9673.jpg
/home/pi/Desktop/images/01122025/12/32/image_01122025_12_32_45_10690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397219657","1397219638","1397219587","1397219629","1397219580","1397219625"],"photo_ids_order":["1397219580","1397219587","1397219625","1397219629","1397219638","1397219657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8323a16c36ce4368a1db85fb0c6193ef.jpg","text":"TemporaryFile(/tmp/multipartBody1278606089653666639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592324453,"filename":"image_01122025_12_32_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/1/cf2b271a9e1ad49de7acbbe39bfe78fd.jpg","text":"TemporaryFile(/tmp/multipartBody2191669395695481491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592324453,"filename":"image_01122025_12_32_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/1/08c8655917291c5727608f989841cb88.jpg","text":"TemporaryFile(/tmp/multipartBody4873038763437621377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592324453,"filename":"image_01122025_12_32_05_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cb4ef9c2ec4f26416dc3c9d3c2ffbf32.jpg","text":"TemporaryFile(/tmp/multipartBody2598435408361979849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592324453,"filename":"image_01122025_12_32_24_9915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a367a727d5358b5ae1e744dd47b034c4.jpg","text":"TemporaryFile(/tmp/multipartBody6730253172873348907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592324453,"filename":"image_01122025_12_31_54_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/df573c69c471ebc722ff285a6a744d8a.jpg","text":"TemporaryFile(/tmp/multipartBody9045145541380693658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592324453,"filename":"image_01122025_12_32_14_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397219625","file1":"1397219587","file0":"1397219580","file4":"1397219638","file5":"1397219657","file3":"1397219629"},"map_files_photo_id_array":[{"photo_id":"1397219657","filename":"file5"},{"photo_id":"1397219625","filename":"file2"},{"photo_id":"1397219638","filename":"file4"},{"photo_id":"1397219587","filename":"file1"},{"photo_id":"1397219580","filename":"file0"},{"photo_id":"1397219629","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397219657":["hashtag1","hashtag2"]},{"1397219638":["hashtag1","hashtag2"]},{"1397219587":["hashtag1","hashtag2"]},{"1397219629":["hashtag1","hashtag2"]},{"1397219580":["hashtag1","hashtag2"]},{"1397219625":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397219657, 1397219638, 1397219587, 1397219629, 1397219580, 1397219625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.758182764053345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 13:32:02.453656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/32/image_01122025_12_32_54_9701.jpg', '/home/pi/Desktop/images/01122025/12/33/image_01122025_12_33_10_15581.jpg', '/home/pi/Desktop/images/01122025/12/33/image_01122025_12_33_24_9726.jpg', '/home/pi/Desktop/images/01122025/12/33/image_01122025_12_33_34_9763.jpg', '/home/pi/Desktop/images/01122025/12/33/image_01122025_12_33_45_10668.jpg', '/home/pi/Desktop/images/01122025/12/33/image_01122025_12_33_54_9543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/32/image_01122025_12_32_54_9701.jpg
/home/pi/Desktop/images/01122025/12/33/image_01122025_12_33_10_15581.jpg
/home/pi/Desktop/images/01122025/12/33/image_01122025_12_33_24_9726.jpg
/home/pi/Desktop/images/01122025/12/33/image_01122025_12_33_34_9763.jpg
/home/pi/Desktop/images/01122025/12/33/image_01122025_12_33_45_10668.jpg
/home/pi/Desktop/images/01122025/12/33/image_01122025_12_33_54_9543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397219791","1397219797","1397219799","1397219793","1397219781","1397219795"],"photo_ids_order":["1397219781","1397219791","1397219793","1397219795","1397219797","1397219799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3370a666e5d0463b367c9a9eefdcb954.jpg","text":"TemporaryFile(/tmp/multipartBody6835666243614979756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592383205,"filename":"image_01122025_12_33_10_15581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/74b340d697beae7e25e474d50031c872.jpg","text":"TemporaryFile(/tmp/multipartBody6593928610260900960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592383205,"filename":"image_01122025_12_33_45_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/09fc654ba6c279025c7e4b63a192cde2.jpg","text":"TemporaryFile(/tmp/multipartBody218180918535580816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592383205,"filename":"image_01122025_12_33_54_9543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b3cea8747d74485a315d3524d1754cff.jpg","text":"TemporaryFile(/tmp/multipartBody9075345549927805955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592383205,"filename":"image_01122025_12_33_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/1/00ba385440330dba2fd8355ac97e43bd.jpg","text":"TemporaryFile(/tmp/multipartBody6552872574088778334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592383205,"filename":"image_01122025_12_32_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/1/ac0ee4e7352160866fa39959998569f8.jpg","text":"TemporaryFile(/tmp/multipartBody4651461572750970838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592383205,"filename":"image_01122025_12_33_34_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397219793","file1":"1397219791","file0":"1397219781","file4":"1397219797","file5":"1397219799","file3":"1397219795"},"map_files_photo_id_array":[{"photo_id":"1397219799","filename":"file5"},{"photo_id":"1397219793","filename":"file2"},{"photo_id":"1397219797","filename":"file4"},{"photo_id":"1397219791","filename":"file1"},{"photo_id":"1397219781","filename":"file0"},{"photo_id":"1397219795","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397219791":["hashtag1","hashtag2"]},{"1397219797":["hashtag1","hashtag2"]},{"1397219799":["hashtag1","hashtag2"]},{"1397219793":["hashtag1","hashtag2"]},{"1397219781":["hashtag1","hashtag2"]},{"1397219795":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397219791, 1397219797, 1397219799, 1397219793, 1397219781, 1397219795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.388925075531006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 13:32:41.990734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_58_2682.jpg', '/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_01_2672.jpg', '/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_05_3608.jpg', '/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_07_2641.jpg', '/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_18_10309.jpg', '/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_19_1651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/27/image_31102025_14_27_58_2682.jpg
/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_01_2672.jpg
/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_05_3608.jpg
/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_07_2641.jpg
/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_18_10309.jpg
/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_19_1651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397219816","1397219807","1397219818","1397219821","1397219815","1397219817"],"photo_ids_order":["1397219807","1397219815","1397219816","1397219817","1397219818","1397219821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6fca19695b787b4c5f233efa131ce41b.jpg","text":"TemporaryFile(/tmp/multipartBody8500023733827945385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592424700,"filename":"image_31102025_14_28_05_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/1/665a684738a4927bf67d47a8700dc6ed.jpg","text":"TemporaryFile(/tmp/multipartBody2136244026779435537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592424700,"filename":"image_31102025_14_27_58_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e1f73b8564dcbbf7c3e1336e1560659c.jpg","text":"TemporaryFile(/tmp/multipartBody5969181073610395957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592424700,"filename":"image_31102025_14_28_18_10309.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8eb4e210d68952046a5c6d7e64090b66.jpg","text":"TemporaryFile(/tmp/multipartBody440572012511146169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592424700,"filename":"image_31102025_14_28_19_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/1/80dc47617b0223edab04a4678b860306.jpg","text":"TemporaryFile(/tmp/multipartBody1311295520182028867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592424700,"filename":"image_31102025_14_28_01_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e35d633db890437054eb8d69bdbc27d3.jpg","text":"TemporaryFile(/tmp/multipartBody8535072384329878023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592424700,"filename":"image_31102025_14_28_07_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397219816","file1":"1397219815","file0":"1397219807","file4":"1397219818","file5":"1397219821","file3":"1397219817"},"map_files_photo_id_array":[{"photo_id":"1397219821","filename":"file5"},{"photo_id":"1397219816","filename":"file2"},{"photo_id":"1397219818","filename":"file4"},{"photo_id":"1397219815","filename":"file1"},{"photo_id":"1397219807","filename":"file0"},{"photo_id":"1397219817","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397219816":["hashtag1","hashtag2"]},{"1397219807":["hashtag1","hashtag2"]},{"1397219818":["hashtag1","hashtag2"]},{"1397219821":["hashtag1","hashtag2"]},{"1397219815":["hashtag1","hashtag2"]},{"1397219817":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397219816, 1397219807, 1397219818, 1397219821, 1397219815, 1397219817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.109821796417236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 13:33:22.183291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/33/image_01122025_12_34_04_9817.jpg', '/home/pi/Desktop/images/01122025/12/34/image_01122025_12_34_15_10718.jpg', '/home/pi/Desktop/images/01122025/12/34/image_01122025_12_34_25_9756.jpg', '/home/pi/Desktop/images/01122025/12/34/image_01122025_12_34_34_9822.jpg', '/home/pi/Desktop/images/01122025/12/34/image_01122025_12_34_44_9593.jpg', '/home/pi/Desktop/images/01122025/12/34/image_01122025_12_34_55_10588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/33/image_01122025_12_34_04_9817.jpg
/home/pi/Desktop/images/01122025/12/34/image_01122025_12_34_15_10718.jpg
/home/pi/Desktop/images/01122025/12/34/image_01122025_12_34_25_9756.jpg
/home/pi/Desktop/images/01122025/12/34/image_01122025_12_34_34_9822.jpg
/home/pi/Desktop/images/01122025/12/34/image_01122025_12_34_44_9593.jpg
/home/pi/Desktop/images/01122025/12/34/image_01122025_12_34_55_10588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397219831","1397219834","1397219836","1397219866","1397219839","1397219827"],"photo_ids_order":["1397219827","1397219831","1397219834","1397219836","1397219839","1397219866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3e4bf85535041622b4c310be3d835b7d.jpg","text":"TemporaryFile(/tmp/multipartBody3957457435108127927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592462969,"filename":"image_01122025_12_34_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/1/aa5dd8f9f928140d2cdb5d9ed28cdcff.jpg","text":"TemporaryFile(/tmp/multipartBody132587901066418408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592462969,"filename":"image_01122025_12_34_25_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/38ce18b6027483cad2783651d76bfb30.jpg","text":"TemporaryFile(/tmp/multipartBody2600166752117676253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592462969,"filename":"image_01122025_12_34_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/1/e22dbbca884dbb429fefa08785d3b880.jpg","text":"TemporaryFile(/tmp/multipartBody3318264241381365187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592462969,"filename":"image_01122025_12_34_55_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a1daac3b0332976602dd857ccb4b7336.jpg","text":"TemporaryFile(/tmp/multipartBody8934344241552611744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592462969,"filename":"image_01122025_12_34_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/1/7409430ae080a43be81f05602c7e4a3b.jpg","text":"TemporaryFile(/tmp/multipartBody7856425761415441481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592462969,"filename":"image_01122025_12_34_04_9817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397219834","file1":"1397219831","file0":"1397219827","file4":"1397219839","file5":"1397219866","file3":"1397219836"},"map_files_photo_id_array":[{"photo_id":"1397219866","filename":"file5"},{"photo_id":"1397219834","filename":"file2"},{"photo_id":"1397219839","filename":"file4"},{"photo_id":"1397219831","filename":"file1"},{"photo_id":"1397219827","filename":"file0"},{"photo_id":"1397219836","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397219831":["hashtag1","hashtag2"]},{"1397219834":["hashtag1","hashtag2"]},{"1397219836":["hashtag1","hashtag2"]},{"1397219866":["hashtag1","hashtag2"]},{"1397219839":["hashtag1","hashtag2"]},{"1397219827":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397219831, 1397219834, 1397219836, 1397219866, 1397219839, 1397219827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.7678325176239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 13:34:12.391936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_01_2532.jpg', '/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_05_3703.jpg', '/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_07_2612.jpg', '/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_10_2701.jpg', '/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_14_3638.jpg', '/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_16_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_01_2532.jpg
/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_05_3703.jpg
/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_07_2612.jpg
/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_10_2701.jpg
/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_14_3638.jpg
/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_16_2597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397220015","1397220039","1397220012","1397219985","1397219976","1397219960"],"photo_ids_order":["1397219960","1397219976","1397219985","1397220012","1397220015","1397220039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a91c1eacd82a3a339727c35d10c2e060.jpg","text":"TemporaryFile(/tmp/multipartBody205836927075414166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592514038,"filename":"image_25112025_22_42_14_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/1/9cb031fa667c8ad52c7e27a6d02b37dc.jpg","text":"TemporaryFile(/tmp/multipartBody4965726159779649130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592514038,"filename":"image_25112025_22_42_16_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/1/645277c4a06007fc5d7a4bd96f4bfa9b.jpg","text":"TemporaryFile(/tmp/multipartBody3877360924568743588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592514038,"filename":"image_25112025_22_42_10_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/580a4316285f7ad423f254d7e00d7a43.jpg","text":"TemporaryFile(/tmp/multipartBody456315623095540113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592514038,"filename":"image_25112025_22_42_07_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/1/8d0c6675673db69571fd7a268ae2c754.jpg","text":"TemporaryFile(/tmp/multipartBody3519062175032968801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592514038,"filename":"image_25112025_22_42_05_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/1/5d260c0243d0272906582f713c86bd22.jpg","text":"TemporaryFile(/tmp/multipartBody4547739613640046218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592514038,"filename":"image_25112025_22_42_01_2532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397219985","file1":"1397219976","file0":"1397219960","file4":"1397220015","file5":"1397220039","file3":"1397220012"},"map_files_photo_id_array":[{"photo_id":"1397220039","filename":"file5"},{"photo_id":"1397219985","filename":"file2"},{"photo_id":"1397220015","filename":"file4"},{"photo_id":"1397219976","filename":"file1"},{"photo_id":"1397219960","filename":"file0"},{"photo_id":"1397220012","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397220015":["hashtag1","hashtag2"]},{"1397220039":["hashtag1","hashtag2"]},{"1397220012":["hashtag1","hashtag2"]},{"1397219985":["hashtag1","hashtag2"]},{"1397219976":["hashtag1","hashtag2"]},{"1397219960":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397220015, 1397220039, 1397220012, 1397219985, 1397219976, 1397219960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.06349754333496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 13:35:03.320581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/34/image_01122025_12_35_04_9637.jpg', '/home/pi/Desktop/images/01122025/12/35/image_01122025_12_35_15_10662.jpg', '/home/pi/Desktop/images/01122025/12/35/image_01122025_12_35_25_9832.jpg', '/home/pi/Desktop/images/01122025/12/35/image_01122025_12_35_34_9718.jpg', '/home/pi/Desktop/images/01122025/12/35/image_01122025_12_35_44_9686.jpg', '/home/pi/Desktop/images/01122025/12/35/image_01122025_12_35_55_10780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/34/image_01122025_12_35_04_9637.jpg
/home/pi/Desktop/images/01122025/12/35/image_01122025_12_35_15_10662.jpg
/home/pi/Desktop/images/01122025/12/35/image_01122025_12_35_25_9832.jpg
/home/pi/Desktop/images/01122025/12/35/image_01122025_12_35_34_9718.jpg
/home/pi/Desktop/images/01122025/12/35/image_01122025_12_35_44_9686.jpg
/home/pi/Desktop/images/01122025/12/35/image_01122025_12_35_55_10780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397220095","1397220077","1397220134","1397220142","1397220072","1397220075"],"photo_ids_order":["1397220072","1397220075","1397220077","1397220095","1397220134","1397220142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/13662ee430eeead5ab837e707ec50092.jpg","text":"TemporaryFile(/tmp/multipartBody315050450486941007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592564076,"filename":"image_01122025_12_35_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/1/6e6adbf36b38abe7e5493709993feb6e.jpg","text":"TemporaryFile(/tmp/multipartBody8898393823323481925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592564076,"filename":"image_01122025_12_35_25_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/1/ff90f7133d19779f97faaebf0e0fd5af.jpg","text":"TemporaryFile(/tmp/multipartBody2804675573551349396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592564076,"filename":"image_01122025_12_35_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/1/0999a188894a71e9713f99cb09e0f77e.jpg","text":"TemporaryFile(/tmp/multipartBody5516549897414999394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592564076,"filename":"image_01122025_12_35_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/1/3a75c7c30b82534a598156a8010dfd80.jpg","text":"TemporaryFile(/tmp/multipartBody4229909535693366276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592564076,"filename":"image_01122025_12_35_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/1/2950737bc46ad5e0091464a0f825b7dd.jpg","text":"TemporaryFile(/tmp/multipartBody1603518900121946952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592564076,"filename":"image_01122025_12_35_15_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397220077","file1":"1397220075","file0":"1397220072","file4":"1397220134","file5":"1397220142","file3":"1397220095"},"map_files_photo_id_array":[{"photo_id":"1397220142","filename":"file5"},{"photo_id":"1397220077","filename":"file2"},{"photo_id":"1397220134","filename":"file4"},{"photo_id":"1397220075","filename":"file1"},{"photo_id":"1397220072","filename":"file0"},{"photo_id":"1397220095","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397220095":["hashtag1","hashtag2"]},{"1397220077":["hashtag1","hashtag2"]},{"1397220134":["hashtag1","hashtag2"]},{"1397220142":["hashtag1","hashtag2"]},{"1397220072":["hashtag1","hashtag2"]},{"1397220075":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397220095, 1397220077, 1397220134, 1397220142, 1397220072, 1397220075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.46420121192932 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 13:36:03.111173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/35/image_01122025_12_36_04_9610.jpg', '/home/pi/Desktop/images/01122025/12/36/image_01122025_12_36_14_9747.jpg', '/home/pi/Desktop/images/01122025/12/36/image_01122025_12_36_25_10692.jpg', '/home/pi/Desktop/images/01122025/12/36/image_01122025_12_36_35_9674.jpg', '/home/pi/Desktop/images/01122025/12/36/image_01122025_12_36_44_9628.jpg', '/home/pi/Desktop/images/01122025/12/36/image_01122025_12_36_55_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/35/image_01122025_12_36_04_9610.jpg
/home/pi/Desktop/images/01122025/12/36/image_01122025_12_36_14_9747.jpg
/home/pi/Desktop/images/01122025/12/36/image_01122025_12_36_25_10692.jpg
/home/pi/Desktop/images/01122025/12/36/image_01122025_12_36_35_9674.jpg
/home/pi/Desktop/images/01122025/12/36/image_01122025_12_36_44_9628.jpg
/home/pi/Desktop/images/01122025/12/36/image_01122025_12_36_55_10701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397220215","1397220172","1397220169","1397220157","1397220223","1397220205"],"photo_ids_order":["1397220157","1397220169","1397220172","1397220205","1397220215","1397220223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/eae0e1a73fffafad97f57527ca9cbe1f.jpg","text":"TemporaryFile(/tmp/multipartBody5960793959933215036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592623872,"filename":"image_01122025_12_36_44_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f69c081f2db7294c251eea3d2795f174.jpg","text":"TemporaryFile(/tmp/multipartBody5419383331929430609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592623872,"filename":"image_01122025_12_36_25_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0e41958e92b444f2cf39aabfbd0f138e.jpg","text":"TemporaryFile(/tmp/multipartBody9159851717969449955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592623872,"filename":"image_01122025_12_36_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/1/18da96d5a29b5bc2b81e9dae439067c8.jpg","text":"TemporaryFile(/tmp/multipartBody3157503777771208186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592623872,"filename":"image_01122025_12_36_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/1/69101b84191b8cfeede165486efb6cfc.jpg","text":"TemporaryFile(/tmp/multipartBody5303800078102576001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592623872,"filename":"image_01122025_12_36_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/1/d22271906c597ae95e17ce7951586240.jpg","text":"TemporaryFile(/tmp/multipartBody681598836714457639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592623872,"filename":"image_01122025_12_36_35_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397220172","file1":"1397220169","file0":"1397220157","file4":"1397220215","file5":"1397220223","file3":"1397220205"},"map_files_photo_id_array":[{"photo_id":"1397220223","filename":"file5"},{"photo_id":"1397220172","filename":"file2"},{"photo_id":"1397220215","filename":"file4"},{"photo_id":"1397220169","filename":"file1"},{"photo_id":"1397220157","filename":"file0"},{"photo_id":"1397220205","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397220215":["hashtag1","hashtag2"]},{"1397220172":["hashtag1","hashtag2"]},{"1397220169":["hashtag1","hashtag2"]},{"1397220157":["hashtag1","hashtag2"]},{"1397220223":["hashtag1","hashtag2"]},{"1397220205":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397220215, 1397220172, 1397220169, 1397220157, 1397220223, 1397220205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8873827457428 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-01 13:37:02.506131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/36/image_01122025_12_37_05_9681.jpg', '/home/pi/Desktop/images/01122025/12/37/image_01122025_12_37_14_9732.jpg', '/home/pi/Desktop/images/01122025/12/37/image_01122025_12_37_24_9645.jpg', '/home/pi/Desktop/images/01122025/12/37/image_01122025_12_37_35_10817.jpg', '/home/pi/Desktop/images/01122025/12/37/image_01122025_12_37_45_9732.jpg', '/home/pi/Desktop/images/01122025/12/37/image_01122025_12_37_54_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/36/image_01122025_12_37_05_9681.jpg
/home/pi/Desktop/images/01122025/12/37/image_01122025_12_37_14_9732.jpg
/home/pi/Desktop/images/01122025/12/37/image_01122025_12_37_24_9645.jpg
/home/pi/Desktop/images/01122025/12/37/image_01122025_12_37_35_10817.jpg
/home/pi/Desktop/images/01122025/12/37/image_01122025_12_37_45_9732.jpg
/home/pi/Desktop/images/01122025/12/37/image_01122025_12_37_54_9711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397220327","1397220335","1397220332","1397220329","1397220331","1397220324"],"photo_ids_order":["1397220324","1397220327","1397220329","1397220331","1397220332","1397220335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f51f36220ff69b096d08a807fbcfe7aa.jpg","text":"TemporaryFile(/tmp/multipartBody382869718956989610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592683313,"filename":"image_01122025_12_37_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/1/254f401dbdf4fe166de664c15c30cc63.jpg","text":"TemporaryFile(/tmp/multipartBody1478364193084270395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592683313,"filename":"image_01122025_12_37_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/1/eb16bae1f102adc55034c34013f08d48.jpg","text":"TemporaryFile(/tmp/multipartBody7909982248681511048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592683313,"filename":"image_01122025_12_37_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/1/988df7dfd6a3cb4371913cb5fe4f389b.jpg","text":"TemporaryFile(/tmp/multipartBody8089352662804731279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592683313,"filename":"image_01122025_12_37_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/1/dacdff279763277c4ba3e42c0839503c.jpg","text":"TemporaryFile(/tmp/multipartBody3150863838972212415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592683313,"filename":"image_01122025_12_37_35_10817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/814832c8a39e2653d4252bb54f81ea30.jpg","text":"TemporaryFile(/tmp/multipartBody1664348144320432675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592683313,"filename":"image_01122025_12_37_05_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397220329","file1":"1397220327","file0":"1397220324","file4":"1397220332","file5":"1397220335","file3":"1397220331"},"map_files_photo_id_array":[{"photo_id":"1397220335","filename":"file5"},{"photo_id":"1397220329","filename":"file2"},{"photo_id":"1397220332","filename":"file4"},{"photo_id":"1397220327","filename":"file1"},{"photo_id":"1397220324","filename":"file0"},{"photo_id":"1397220331","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397220327":["hashtag1","hashtag2"]},{"1397220335":["hashtag1","hashtag2"]},{"1397220332":["hashtag1","hashtag2"]},{"1397220329":["hashtag1","hashtag2"]},{"1397220331":["hashtag1","hashtag2"]},{"1397220324":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397220327, 1397220335, 1397220332, 1397220329, 1397220331, 1397220324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32879137992859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 13:37:41.986621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_21_1613.jpg', '/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_23_1818.jpg', '/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_24_1748.jpg', '/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_26_1853.jpg', '/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_29_2534.jpg', '/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_32_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_21_1613.jpg
/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_23_1818.jpg
/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_24_1748.jpg
/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_26_1853.jpg
/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_29_2534.jpg
/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_32_2679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397220452","1397220461","1397220394","1397220457","1397220346","1397220343"],"photo_ids_order":["1397220343","1397220346","1397220394","1397220452","1397220457","1397220461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/130afc2268231ac84558553e2e5c3cf9.jpg","text":"TemporaryFile(/tmp/multipartBody9112613801654738142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592724663,"filename":"image_31102025_14_28_26_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/1/42539744813788e1935f75e4eb850685.jpg","text":"TemporaryFile(/tmp/multipartBody3029151936159779443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592724663,"filename":"image_31102025_14_28_32_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/1/2b90970a05b2df47002c5db6c879c6f3.jpg","text":"TemporaryFile(/tmp/multipartBody1133631518246727280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592724663,"filename":"image_31102025_14_28_24_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/1/372ae9b11cc5034373aedec570738b8b.jpg","text":"TemporaryFile(/tmp/multipartBody2503263605219173978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592724663,"filename":"image_31102025_14_28_29_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/1/f82077f42e6f3499062c2e5c9c441640.jpg","text":"TemporaryFile(/tmp/multipartBody5650582159149759756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592724663,"filename":"image_31102025_14_28_23_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/1/587f2f211458fdd995491bf6df4bfc28.jpg","text":"TemporaryFile(/tmp/multipartBody3349184455398174514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592724663,"filename":"image_31102025_14_28_21_1613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397220394","file1":"1397220346","file0":"1397220343","file4":"1397220457","file5":"1397220461","file3":"1397220452"},"map_files_photo_id_array":[{"photo_id":"1397220461","filename":"file5"},{"photo_id":"1397220394","filename":"file2"},{"photo_id":"1397220457","filename":"file4"},{"photo_id":"1397220346","filename":"file1"},{"photo_id":"1397220343","filename":"file0"},{"photo_id":"1397220452","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397220452":["hashtag1","hashtag2"]},{"1397220461":["hashtag1","hashtag2"]},{"1397220394":["hashtag1","hashtag2"]},{"1397220457":["hashtag1","hashtag2"]},{"1397220346":["hashtag1","hashtag2"]},{"1397220343":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397220452, 1397220461, 1397220394, 1397220457, 1397220346, 1397220343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84589147567749 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 13:38:22.166246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/37/image_01122025_12_38_05_10668.jpg', '/home/pi/Desktop/images/01122025/12/38/image_01122025_12_38_15_9680.jpg', '/home/pi/Desktop/images/01122025/12/38/image_01122025_12_38_24_9680.jpg', '/home/pi/Desktop/images/01122025/12/38/image_01122025_12_38_34_9933.jpg', '/home/pi/Desktop/images/01122025/12/38/image_01122025_12_38_45_10662.jpg', '/home/pi/Desktop/images/01122025/12/38/image_01122025_12_38_54_9536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/37/image_01122025_12_38_05_10668.jpg
/home/pi/Desktop/images/01122025/12/38/image_01122025_12_38_15_9680.jpg
/home/pi/Desktop/images/01122025/12/38/image_01122025_12_38_24_9680.jpg
/home/pi/Desktop/images/01122025/12/38/image_01122025_12_38_34_9933.jpg
/home/pi/Desktop/images/01122025/12/38/image_01122025_12_38_45_10662.jpg
/home/pi/Desktop/images/01122025/12/38/image_01122025_12_38_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":["1397220507","1397220490","1397220484","1397220487","1397220492","1397220495"],"photo_ids_order":["1397220484","1397220487","1397220490","1397220492","1397220495","1397220507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ba7b7ec8cd4d49dab2422aaba1dc3380.jpg","text":"TemporaryFile(/tmp/multipartBody342467059477922390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592762931,"filename":"image_01122025_12_38_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/1/e69506fa7dc54cf9fc3256655462fcfb.jpg","text":"TemporaryFile(/tmp/multipartBody1340406912513617644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592762931,"filename":"image_01122025_12_38_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/1/947f0dbe7d688075b1e374119708f47c.jpg","text":"TemporaryFile(/tmp/multipartBody8512679547246178442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592762931,"filename":"image_01122025_12_38_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/1/891e737bb6aae2377ff1448d348e1e8f.jpg","text":"TemporaryFile(/tmp/multipartBody9117151225193709939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592762931,"filename":"image_01122025_12_38_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/1/783a3d54087ca278b2db7fc7fa00ae40.jpg","text":"TemporaryFile(/tmp/multipartBody8444364706995958726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592762931,"filename":"image_01122025_12_38_34_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/1/b6e3fc04360c5fdd8c35a9d0ba233071.jpg","text":"TemporaryFile(/tmp/multipartBody5794086522341466832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592762931,"filename":"image_01122025_12_38_45_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397220490","file1":"1397220487","file0":"1397220484","file4":"1397220495","file5":"1397220507","file3":"1397220492"},"map_files_photo_id_array":[{"photo_id":"1397220507","filename":"file5"},{"photo_id":"1397220490","filename":"file2"},{"photo_id":"1397220495","filename":"file4"},{"photo_id":"1397220487","filename":"file1"},{"photo_id":"1397220484","filename":"file0"},{"photo_id":"1397220492","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397220507":["hashtag1","hashtag2"]},{"1397220490":["hashtag1","hashtag2"]},{"1397220484":["hashtag1","hashtag2"]},{"1397220487":["hashtag1","hashtag2"]},{"1397220492":["hashtag1","hashtag2"]},{"1397220495":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397220507, 1397220490, 1397220484, 1397220487, 1397220492, 1397220495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.689772605895996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 13:39:03.318752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/38/image_01122025_12_39_04_9738.jpg', '/home/pi/Desktop/images/01122025/12/39/image_01122025_12_39_15_10531.jpg', '/home/pi/Desktop/images/01122025/12/39/image_01122025_12_39_24_9570.jpg', '/home/pi/Desktop/images/01122025/12/39/image_01122025_12_39_34_9699.jpg', '/home/pi/Desktop/images/01122025/12/39/image_01122025_12_39_45_10653.jpg', '/home/pi/Desktop/images/01122025/12/39/image_01122025_12_39_55_10082.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/38/image_01122025_12_39_04_9738.jpg
/home/pi/Desktop/images/01122025/12/39/image_01122025_12_39_15_10531.jpg
/home/pi/Desktop/images/01122025/12/39/image_01122025_12_39_24_9570.jpg
/home/pi/Desktop/images/01122025/12/39/image_01122025_12_39_34_9699.jpg
/home/pi/Desktop/images/01122025/12/39/image_01122025_12_39_45_10653.jpg
/home/pi/Desktop/images/01122025/12/39/image_01122025_12_39_55_10082.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397220513","1397220516","1397220512","1397220526","1397220511","1397220535"],"photo_ids_order":["1397220511","1397220512","1397220513","1397220516","1397220526","1397220535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0f9bfd5d81ce6a53fa4fc10a4c426b03.jpg","text":"TemporaryFile(/tmp/multipartBody5134630065747012651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592804184,"filename":"image_01122025_12_39_24_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ea14d13bab779f385273f6f68c784ec1.jpg","text":"TemporaryFile(/tmp/multipartBody3734159695496778015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592804184,"filename":"image_01122025_12_39_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/1/29a40c2011123b357e9c1fbed8612cf2.jpg","text":"TemporaryFile(/tmp/multipartBody3686883937187588231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592804184,"filename":"image_01122025_12_39_15_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/1/1d93a9d0689ae40bbd476044254674d7.jpg","text":"TemporaryFile(/tmp/multipartBody8103132833880144861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592804184,"filename":"image_01122025_12_39_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/1/404a5d780161e381dd2cfccb22b0f683.jpg","text":"TemporaryFile(/tmp/multipartBody466142712469520084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592804184,"filename":"image_01122025_12_39_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/1/f4d2f3ed13d8f14e889a6e8c9bf6a585.jpg","text":"TemporaryFile(/tmp/multipartBody5263755997080389799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592804184,"filename":"image_01122025_12_39_55_10082.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397220513","file1":"1397220512","file0":"1397220511","file4":"1397220526","file5":"1397220535","file3":"1397220516"},"map_files_photo_id_array":[{"photo_id":"1397220535","filename":"file5"},{"photo_id":"1397220513","filename":"file2"},{"photo_id":"1397220526","filename":"file4"},{"photo_id":"1397220512","filename":"file1"},{"photo_id":"1397220511","filename":"file0"},{"photo_id":"1397220516","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397220513":["hashtag1","hashtag2"]},{"1397220516":["hashtag1","hashtag2"]},{"1397220512":["hashtag1","hashtag2"]},{"1397220526":["hashtag1","hashtag2"]},{"1397220511":["hashtag1","hashtag2"]},{"1397220535":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397220513, 1397220516, 1397220512, 1397220526, 1397220511, 1397220535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68459701538086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 13:39:42.438323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_34_2823.jpg', '/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_37_2746.jpg', '/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_41_3682.jpg', '/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_43_2717.jpg', '/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_46_2614.jpg', '/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_50_3695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_34_2823.jpg
/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_37_2746.jpg
/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_41_3682.jpg
/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_43_2717.jpg
/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_46_2614.jpg
/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_50_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":["1397220603","1397220596","1397220611","1397220583","1397220631","1397220604"],"photo_ids_order":["1397220583","1397220596","1397220603","1397220604","1397220611","1397220631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a89489baa83a76498243644a8d3c6971.jpg","text":"TemporaryFile(/tmp/multipartBody948907935529346686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592845090,"filename":"image_31102025_14_28_41_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a6c75e2a88cf097b15e45a8ea9d32793.jpg","text":"TemporaryFile(/tmp/multipartBody6276433089473870057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592845090,"filename":"image_31102025_14_28_37_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7317f852a7bd26c15a667ae0f6c5a516.jpg","text":"TemporaryFile(/tmp/multipartBody6703586353035017313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592845090,"filename":"image_31102025_14_28_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/1/82720eff7bc0d75ab9e4e0a27b5a730e.jpg","text":"TemporaryFile(/tmp/multipartBody5297263121654618204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592845090,"filename":"image_31102025_14_28_34_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f27d376dce29008170bef4b31f0932f6.jpg","text":"TemporaryFile(/tmp/multipartBody8114100659876940243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592845090,"filename":"image_31102025_14_28_50_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/1/85286b8796354e32c55232ceb839fd52.jpg","text":"TemporaryFile(/tmp/multipartBody3570943920394184218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592845090,"filename":"image_31102025_14_28_43_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397220603","file1":"1397220596","file0":"1397220583","file4":"1397220611","file5":"1397220631","file3":"1397220604"},"map_files_photo_id_array":[{"photo_id":"1397220631","filename":"file5"},{"photo_id":"1397220603","filename":"file2"},{"photo_id":"1397220611","filename":"file4"},{"photo_id":"1397220596","filename":"file1"},{"photo_id":"1397220583","filename":"file0"},{"photo_id":"1397220604","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397220603":["hashtag1","hashtag2"]},{"1397220596":["hashtag1","hashtag2"]},{"1397220611":["hashtag1","hashtag2"]},{"1397220583":["hashtag1","hashtag2"]},{"1397220631":["hashtag1","hashtag2"]},{"1397220604":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397220603, 1397220596, 1397220611, 1397220583, 1397220631, 1397220604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.30464053153992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 13:40:22.588318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/39/image_01122025_12_40_04_9597.jpg', '/home/pi/Desktop/images/01122025/12/40/image_01122025_12_40_14_9780.jpg', '/home/pi/Desktop/images/01122025/12/40/image_01122025_12_40_25_10813.jpg', '/home/pi/Desktop/images/01122025/12/40/image_01122025_12_40_35_9677.jpg', '/home/pi/Desktop/images/01122025/12/40/image_01122025_12_40_44_9732.jpg', '/home/pi/Desktop/images/01122025/12/40/image_01122025_12_40_55_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/39/image_01122025_12_40_04_9597.jpg
/home/pi/Desktop/images/01122025/12/40/image_01122025_12_40_14_9780.jpg
/home/pi/Desktop/images/01122025/12/40/image_01122025_12_40_25_10813.jpg
/home/pi/Desktop/images/01122025/12/40/image_01122025_12_40_35_9677.jpg
/home/pi/Desktop/images/01122025/12/40/image_01122025_12_40_44_9732.jpg
/home/pi/Desktop/images/01122025/12/40/image_01122025_12_40_55_10623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397220661","1397220655","1397220664","1397220658","1397220652","1397220681"],"photo_ids_order":["1397220652","1397220655","1397220658","1397220661","1397220664","1397220681"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b80549cc7f4e83cbdb5a529a3cfa802d.jpg","text":"TemporaryFile(/tmp/multipartBody6964413025699140789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592883332,"filename":"image_01122025_12_40_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/1/1ef766cec3271131f2d056245eb85a5e.jpg","text":"TemporaryFile(/tmp/multipartBody2782278569360573408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592883332,"filename":"image_01122025_12_40_14_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/08a1f98cb995875ad6aed7f005d884fe.jpg","text":"TemporaryFile(/tmp/multipartBody5650963178194533496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592883332,"filename":"image_01122025_12_40_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/1/8ad15033d9235ef2e52d2731a35b43cb.jpg","text":"TemporaryFile(/tmp/multipartBody4224499086350194608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592883332,"filename":"image_01122025_12_40_25_10813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2fc8494c88c59d17d7b42f7004671a7f.jpg","text":"TemporaryFile(/tmp/multipartBody4397620603830301000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592883332,"filename":"image_01122025_12_40_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/1/6bf6530ff59fd0b147fa259294f0f01f.jpg","text":"TemporaryFile(/tmp/multipartBody6739259540140024857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592883332,"filename":"image_01122025_12_40_55_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397220658","file1":"1397220655","file0":"1397220652","file4":"1397220664","file5":"1397220681","file3":"1397220661"},"map_files_photo_id_array":[{"photo_id":"1397220681","filename":"file5"},{"photo_id":"1397220658","filename":"file2"},{"photo_id":"1397220664","filename":"file4"},{"photo_id":"1397220655","filename":"file1"},{"photo_id":"1397220652","filename":"file0"},{"photo_id":"1397220661","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397220661":["hashtag1","hashtag2"]},{"1397220655":["hashtag1","hashtag2"]},{"1397220664":["hashtag1","hashtag2"]},{"1397220658":["hashtag1","hashtag2"]},{"1397220652":["hashtag1","hashtag2"]},{"1397220681":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397220661, 1397220655, 1397220664, 1397220658, 1397220652, 1397220681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.023107051849365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 13:41:03.446803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/40/image_01122025_12_41_05_9840.jpg', '/home/pi/Desktop/images/01122025/12/41/image_01122025_12_41_14_9738.jpg', '/home/pi/Desktop/images/01122025/12/41/image_01122025_12_41_24_9598.jpg', '/home/pi/Desktop/images/01122025/12/41/image_01122025_12_41_34_9873.jpg', '/home/pi/Desktop/images/01122025/12/41/image_01122025_12_41_45_10639.jpg', '/home/pi/Desktop/images/01122025/12/41/image_01122025_12_41_54_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/40/image_01122025_12_41_05_9840.jpg
/home/pi/Desktop/images/01122025/12/41/image_01122025_12_41_14_9738.jpg
/home/pi/Desktop/images/01122025/12/41/image_01122025_12_41_24_9598.jpg
/home/pi/Desktop/images/01122025/12/41/image_01122025_12_41_34_9873.jpg
/home/pi/Desktop/images/01122025/12/41/image_01122025_12_41_45_10639.jpg
/home/pi/Desktop/images/01122025/12/41/image_01122025_12_41_54_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":["1397220794","1397220797","1397220781","1397220721","1397220765","1397220750"],"photo_ids_order":["1397220721","1397220750","1397220765","1397220781","1397220794","1397220797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/17614468e6bedb57230503e70392ff2c.jpg","text":"TemporaryFile(/tmp/multipartBody8005656885409942129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592924221,"filename":"image_01122025_12_41_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/1/431d3cbb893326dda1aee40fb4b3f1e2.jpg","text":"TemporaryFile(/tmp/multipartBody4259696773131893387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592924221,"filename":"image_01122025_12_41_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/1/f7bd893b5fd08b599b3a91babc0da0c8.jpg","text":"TemporaryFile(/tmp/multipartBody6807803763663910221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592924221,"filename":"image_01122025_12_41_34_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/646ab705c4075ceda9b21d9f2505f05e.jpg","text":"TemporaryFile(/tmp/multipartBody6128391034629296210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592924221,"filename":"image_01122025_12_41_05_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ed7b37dd7a2b500a7543fc3b4633e5a8.jpg","text":"TemporaryFile(/tmp/multipartBody823412564988897156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592924221,"filename":"image_01122025_12_41_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/1/2c1aa8f13ffa7f3cf5684cce0e7385ef.jpg","text":"TemporaryFile(/tmp/multipartBody5076568760814101890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592924221,"filename":"image_01122025_12_41_14_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397220765","file1":"1397220750","file0":"1397220721","file4":"1397220794","file5":"1397220797","file3":"1397220781"},"map_files_photo_id_array":[{"photo_id":"1397220797","filename":"file5"},{"photo_id":"1397220765","filename":"file2"},{"photo_id":"1397220794","filename":"file4"},{"photo_id":"1397220750","filename":"file1"},{"photo_id":"1397220721","filename":"file0"},{"photo_id":"1397220781","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397220794":["hashtag1","hashtag2"]},{"1397220797":["hashtag1","hashtag2"]},{"1397220781":["hashtag1","hashtag2"]},{"1397220721":["hashtag1","hashtag2"]},{"1397220765":["hashtag1","hashtag2"]},{"1397220750":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397220794, 1397220797, 1397220781, 1397220721, 1397220765, 1397220750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38505721092224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 13:41:42.842676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_56_2970.jpg', '/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_01_2609.jpg', '/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_05_3658.jpg', '/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_07_2666.jpg', '/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_10_2788.jpg', '/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_14_3667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/28/image_31102025_14_28_56_2970.jpg
/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_01_2609.jpg
/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_05_3658.jpg
/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_07_2666.jpg
/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_10_2788.jpg
/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_14_3667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397220833","1397220836","1397220835","1397220820","1397220831","1397220834"],"photo_ids_order":["1397220820","1397220831","1397220833","1397220834","1397220835","1397220836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7715673685e6559d87f38aaaaa72c3ba.jpg","text":"TemporaryFile(/tmp/multipartBody6663573422968245919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592965491,"filename":"image_31102025_14_29_05_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/1/3c6ab1a76c518dd4da66fd16b7525781.jpg","text":"TemporaryFile(/tmp/multipartBody4267422909046423943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592965491,"filename":"image_31102025_14_29_14_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/82543d8b9f2c0fbb6177e9276110d15e.jpg","text":"TemporaryFile(/tmp/multipartBody3806644376053080066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592965491,"filename":"image_31102025_14_29_10_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9131fa095a7baa88fcea0e1c71e9c2cd.jpg","text":"TemporaryFile(/tmp/multipartBody8166265035985729397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592965491,"filename":"image_31102025_14_28_56_2970.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/087934bfeae7e4ece9d9d9a101d7bc4a.jpg","text":"TemporaryFile(/tmp/multipartBody9051068229278296205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592965491,"filename":"image_31102025_14_29_01_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/47d8777a5b2ffc54534f49a2871d2526.jpg","text":"TemporaryFile(/tmp/multipartBody3457236351195648062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764592965491,"filename":"image_31102025_14_29_07_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397220833","file1":"1397220831","file0":"1397220820","file4":"1397220835","file5":"1397220836","file3":"1397220834"},"map_files_photo_id_array":[{"photo_id":"1397220836","filename":"file5"},{"photo_id":"1397220833","filename":"file2"},{"photo_id":"1397220835","filename":"file4"},{"photo_id":"1397220831","filename":"file1"},{"photo_id":"1397220820","filename":"file0"},{"photo_id":"1397220834","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397220833":["hashtag1","hashtag2"]},{"1397220836":["hashtag1","hashtag2"]},{"1397220835":["hashtag1","hashtag2"]},{"1397220820":["hashtag1","hashtag2"]},{"1397220831":["hashtag1","hashtag2"]},{"1397220834":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397220833, 1397220836, 1397220835, 1397220820, 1397220831, 1397220834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09785461425781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 13:42:32.125030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_19_2773.jpg', '/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_22_3543.jpg', '/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_25_2534.jpg', '/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_29_3771.jpg', '/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_32_2750.jpg', '/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_34_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_19_2773.jpg
/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_22_3543.jpg
/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_25_2534.jpg
/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_29_3771.jpg
/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_32_2750.jpg
/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_34_2631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397220953","1397220929","1397220967","1397220958","1397220966","1397220969"],"photo_ids_order":["1397220929","1397220953","1397220958","1397220966","1397220967","1397220969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3db580c57398f5c3292d7d683172d5b2.jpg","text":"TemporaryFile(/tmp/multipartBody4032725914340438928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593013915,"filename":"image_25112025_22_42_22_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d01456f1e73dcf97a5d8936c8446b39d.jpg","text":"TemporaryFile(/tmp/multipartBody8163722346056017715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593013915,"filename":"image_25112025_22_42_19_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/1/0ec796e1f34aa7407a581c423ee68b5a.jpg","text":"TemporaryFile(/tmp/multipartBody5521014280556151435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593013915,"filename":"image_25112025_22_42_32_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/1/c8fcf16a2c842706cf27f315bd5ebd19.jpg","text":"TemporaryFile(/tmp/multipartBody2127785834522967095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593013915,"filename":"image_25112025_22_42_25_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/1/78d604d22bbef6187ff2890e7901e702.jpg","text":"TemporaryFile(/tmp/multipartBody6897200107575093327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593013915,"filename":"image_25112025_22_42_29_3771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f667cadbb2c8cb6243875e405b26e55a.jpg","text":"TemporaryFile(/tmp/multipartBody6217235726878199042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593013915,"filename":"image_25112025_22_42_34_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397220958","file1":"1397220953","file0":"1397220929","file4":"1397220967","file5":"1397220969","file3":"1397220966"},"map_files_photo_id_array":[{"photo_id":"1397220969","filename":"file5"},{"photo_id":"1397220958","filename":"file2"},{"photo_id":"1397220967","filename":"file4"},{"photo_id":"1397220953","filename":"file1"},{"photo_id":"1397220929","filename":"file0"},{"photo_id":"1397220966","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397220953":["hashtag1","hashtag2"]},{"1397220929":["hashtag1","hashtag2"]},{"1397220967":["hashtag1","hashtag2"]},{"1397220958":["hashtag1","hashtag2"]},{"1397220966":["hashtag1","hashtag2"]},{"1397220969":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397220953, 1397220929, 1397220967, 1397220958, 1397220966, 1397220969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.781792640686035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 13:43:22.170200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/41/image_01122025_12_42_05_10669.jpg', '/home/pi/Desktop/images/01122025/12/42/image_01122025_12_42_15_9674.jpg', '/home/pi/Desktop/images/01122025/12/42/image_01122025_12_42_24_9733.jpg', '/home/pi/Desktop/images/01122025/12/42/image_01122025_12_42_34_9722.jpg', '/home/pi/Desktop/images/01122025/12/42/image_01122025_12_42_45_10795.jpg', '/home/pi/Desktop/images/01122025/12/42/image_01122025_12_42_54_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/41/image_01122025_12_42_05_10669.jpg
/home/pi/Desktop/images/01122025/12/42/image_01122025_12_42_15_9674.jpg
/home/pi/Desktop/images/01122025/12/42/image_01122025_12_42_24_9733.jpg
/home/pi/Desktop/images/01122025/12/42/image_01122025_12_42_34_9722.jpg
/home/pi/Desktop/images/01122025/12/42/image_01122025_12_42_45_10795.jpg
/home/pi/Desktop/images/01122025/12/42/image_01122025_12_42_54_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397221013","1397221016","1397221001","1397221009","1397221006","1397220990"],"photo_ids_order":["1397220990","1397221001","1397221006","1397221009","1397221013","1397221016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8c98ba84925dde05aa88dc079e00f72c.jpg","text":"TemporaryFile(/tmp/multipartBody7284423050174434968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593062919,"filename":"image_01122025_12_42_45_10795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/790d0f77c9586e42cdfeed723f30c73e.jpg","text":"TemporaryFile(/tmp/multipartBody3536613768249416245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593062919,"filename":"image_01122025_12_42_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/1/cc2855940f3944b6857c70166d968ff4.jpg","text":"TemporaryFile(/tmp/multipartBody2238894438822711938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593062919,"filename":"image_01122025_12_42_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/1/f2de2ef361e74770d2e57527925aea70.jpg","text":"TemporaryFile(/tmp/multipartBody4333888087604698091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593062919,"filename":"image_01122025_12_42_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/1/9045af98ecd2d6ca24a3170520b7c2d7.jpg","text":"TemporaryFile(/tmp/multipartBody8297435819091941958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593062919,"filename":"image_01122025_12_42_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/1/eae36d0cf63c72b0b3489be10203fac9.jpg","text":"TemporaryFile(/tmp/multipartBody7013068165405097056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593062919,"filename":"image_01122025_12_42_05_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397221006","file1":"1397221001","file0":"1397220990","file4":"1397221013","file5":"1397221016","file3":"1397221009"},"map_files_photo_id_array":[{"photo_id":"1397221016","filename":"file5"},{"photo_id":"1397221006","filename":"file2"},{"photo_id":"1397221013","filename":"file4"},{"photo_id":"1397221001","filename":"file1"},{"photo_id":"1397220990","filename":"file0"},{"photo_id":"1397221009","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397221013":["hashtag1","hashtag2"]},{"1397221016":["hashtag1","hashtag2"]},{"1397221001":["hashtag1","hashtag2"]},{"1397221009":["hashtag1","hashtag2"]},{"1397221006":["hashtag1","hashtag2"]},{"1397220990":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397221013, 1397221016, 1397221001, 1397221009, 1397221006, 1397220990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.188112020492554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 13:44:12.336396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_38_3548.jpg', '/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_40_2634.jpg', '/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_43_2502.jpg', '/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_49_2575.jpg', '/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_52_2691.jpg', '/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_56_3642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_38_3548.jpg
/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_40_2634.jpg
/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_43_2502.jpg
/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_49_2575.jpg
/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_52_2691.jpg
/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_56_3642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397221133","1397221132","1397221141","1397221134","1397221107","1397221178"],"photo_ids_order":["1397221107","1397221132","1397221133","1397221134","1397221141","1397221178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/223d36c7647d5b3c1a49638e6737acda.jpg","text":"TemporaryFile(/tmp/multipartBody255890980925708789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593113843,"filename":"image_25112025_22_42_43_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/1/87cbb276ce774451b1926eaa65f63ca9.jpg","text":"TemporaryFile(/tmp/multipartBody4752965888694045918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593113843,"filename":"image_25112025_22_42_40_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/1/3fc4d720717f9e5659463f611aabd6b4.jpg","text":"TemporaryFile(/tmp/multipartBody6613118192687388658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593113843,"filename":"image_25112025_22_42_52_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/1/ebdcc75f7f91d5b16e5ea3b13c6f3df4.jpg","text":"TemporaryFile(/tmp/multipartBody8746124873077847362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593113843,"filename":"image_25112025_22_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/1/c1bcaa4e75955815286d54112a8fbf58.jpg","text":"TemporaryFile(/tmp/multipartBody5367177792482362113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593113843,"filename":"image_25112025_22_42_38_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f8f2d842ba8f2ee3905cb090a398e348.jpg","text":"TemporaryFile(/tmp/multipartBody442729080706635225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593113843,"filename":"image_25112025_22_42_56_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397221133","file1":"1397221132","file0":"1397221107","file4":"1397221141","file5":"1397221178","file3":"1397221134"},"map_files_photo_id_array":[{"photo_id":"1397221178","filename":"file5"},{"photo_id":"1397221133","filename":"file2"},{"photo_id":"1397221141","filename":"file4"},{"photo_id":"1397221132","filename":"file1"},{"photo_id":"1397221107","filename":"file0"},{"photo_id":"1397221134","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397221133":["hashtag1","hashtag2"]},{"1397221132":["hashtag1","hashtag2"]},{"1397221141":["hashtag1","hashtag2"]},{"1397221134":["hashtag1","hashtag2"]},{"1397221107":["hashtag1","hashtag2"]},{"1397221178":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397221133, 1397221132, 1397221141, 1397221134, 1397221107, 1397221178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.545156955718994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 13:45:03.317812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/42/image_01122025_12_43_04_9754.jpg', '/home/pi/Desktop/images/01122025/12/43/image_01122025_12_43_14_9788.jpg', '/home/pi/Desktop/images/01122025/12/43/image_01122025_12_43_25_10670.jpg', '/home/pi/Desktop/images/01122025/12/43/image_01122025_12_43_34_9664.jpg', '/home/pi/Desktop/images/01122025/12/43/image_01122025_12_43_44_9707.jpg', '/home/pi/Desktop/images/01122025/12/43/image_01122025_12_43_55_10588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/42/image_01122025_12_43_04_9754.jpg
/home/pi/Desktop/images/01122025/12/43/image_01122025_12_43_14_9788.jpg
/home/pi/Desktop/images/01122025/12/43/image_01122025_12_43_25_10670.jpg
/home/pi/Desktop/images/01122025/12/43/image_01122025_12_43_34_9664.jpg
/home/pi/Desktop/images/01122025/12/43/image_01122025_12_43_44_9707.jpg
/home/pi/Desktop/images/01122025/12/43/image_01122025_12_43_55_10588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397221457","1397221450","1397221444","1397221437","1397221496","1397221397"],"photo_ids_order":["1397221397","1397221437","1397221444","1397221450","1397221457","1397221496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0d93aec3003822aaebc65c676b983042.jpg","text":"TemporaryFile(/tmp/multipartBody4176292007451220720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593164104,"filename":"image_01122025_12_43_44_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5f747a69bdc681c94f83ad4a9941c60d.jpg","text":"TemporaryFile(/tmp/multipartBody4065452005479678056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593164104,"filename":"image_01122025_12_43_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/1/3c794acaf64dd81501f779072b99cdf4.jpg","text":"TemporaryFile(/tmp/multipartBody7138670448424740604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593164104,"filename":"image_01122025_12_43_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/1/90d36fda1e30fa1032875061f2705a52.jpg","text":"TemporaryFile(/tmp/multipartBody5958343971352554763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593164104,"filename":"image_01122025_12_43_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/1/d1a94da6433736d8a2d2e9e16dc6a7f4.jpg","text":"TemporaryFile(/tmp/multipartBody6393445386383990256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593164104,"filename":"image_01122025_12_43_55_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c182cc37ad0897b16fdd566596362344.jpg","text":"TemporaryFile(/tmp/multipartBody8704487683799076357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593164104,"filename":"image_01122025_12_43_04_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397221444","file1":"1397221437","file0":"1397221397","file4":"1397221457","file5":"1397221496","file3":"1397221450"},"map_files_photo_id_array":[{"photo_id":"1397221496","filename":"file5"},{"photo_id":"1397221444","filename":"file2"},{"photo_id":"1397221457","filename":"file4"},{"photo_id":"1397221437","filename":"file1"},{"photo_id":"1397221397","filename":"file0"},{"photo_id":"1397221450","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397221457":["hashtag1","hashtag2"]},{"1397221450":["hashtag1","hashtag2"]},{"1397221444":["hashtag1","hashtag2"]},{"1397221437":["hashtag1","hashtag2"]},{"1397221496":["hashtag1","hashtag2"]},{"1397221397":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397221457, 1397221450, 1397221444, 1397221437, 1397221496, 1397221397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.11153054237366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 13:46:03.138126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/43/image_01122025_12_44_04_9694.jpg', '/home/pi/Desktop/images/01122025/12/44/image_01122025_12_44_14_9673.jpg', '/home/pi/Desktop/images/01122025/12/44/image_01122025_12_44_25_10662.jpg', '/home/pi/Desktop/images/01122025/12/44/image_01122025_12_44_34_9683.jpg', '/home/pi/Desktop/images/01122025/12/44/image_01122025_12_44_55_10799.jpg', '/home/pi/Desktop/images/01122025/12/44/image_01122025_12_45_04_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/43/image_01122025_12_44_04_9694.jpg
/home/pi/Desktop/images/01122025/12/44/image_01122025_12_44_14_9673.jpg
/home/pi/Desktop/images/01122025/12/44/image_01122025_12_44_25_10662.jpg
/home/pi/Desktop/images/01122025/12/44/image_01122025_12_44_34_9683.jpg
/home/pi/Desktop/images/01122025/12/44/image_01122025_12_44_55_10799.jpg
/home/pi/Desktop/images/01122025/12/44/image_01122025_12_45_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":["1397221567","1397221582","1397221561","1397221564","1397221558","1397221566"],"photo_ids_order":["1397221558","1397221561","1397221564","1397221566","1397221567","1397221582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/972438f5a1efafae95812e7cc792a1ed.jpg","text":"TemporaryFile(/tmp/multipartBody843637515982563399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593223883,"filename":"image_01122025_12_44_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/1/e7c86013db1c533eb6a34a02fd053767.jpg","text":"TemporaryFile(/tmp/multipartBody8661082102003754187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593223883,"filename":"image_01122025_12_45_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/1/25c094f1e536da2c24ae06cb319c7d9e.jpg","text":"TemporaryFile(/tmp/multipartBody3004433185284578130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593223883,"filename":"image_01122025_12_44_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/1/2dfa97c5c8ed0ebe0a2ed61126b3fe50.jpg","text":"TemporaryFile(/tmp/multipartBody5202683067862953449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593223883,"filename":"image_01122025_12_44_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/1/63f2e511eec497bc33836c944de1c74e.jpg","text":"TemporaryFile(/tmp/multipartBody6728527067348031272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593223883,"filename":"image_01122025_12_44_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/1/dfcc503bac6e4917234f2681307bc35f.jpg","text":"TemporaryFile(/tmp/multipartBody2585588402107149174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593223883,"filename":"image_01122025_12_44_34_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397221564","file1":"1397221561","file0":"1397221558","file4":"1397221567","file5":"1397221582","file3":"1397221566"},"map_files_photo_id_array":[{"photo_id":"1397221582","filename":"file5"},{"photo_id":"1397221564","filename":"file2"},{"photo_id":"1397221567","filename":"file4"},{"photo_id":"1397221561","filename":"file1"},{"photo_id":"1397221558","filename":"file0"},{"photo_id":"1397221566","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397221567":["hashtag1","hashtag2"]},{"1397221582":["hashtag1","hashtag2"]},{"1397221561":["hashtag1","hashtag2"]},{"1397221564":["hashtag1","hashtag2"]},{"1397221558":["hashtag1","hashtag2"]},{"1397221566":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397221567, 1397221582, 1397221561, 1397221564, 1397221558, 1397221566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.032352685928345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 13:46:42.744248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_16_2696.jpg', '/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_19_2714.jpg', '/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_22_2707.jpg', '/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_26_3702.jpg', '/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_28_2724.jpg', '/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_32_3532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_16_2696.jpg
/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_19_2714.jpg
/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_22_2707.jpg
/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_26_3702.jpg
/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_28_2724.jpg
/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_32_3532.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397221658","1397221591","1397221588","1397221590","1397221587","1397221653"],"photo_ids_order":["1397221587","1397221588","1397221590","1397221591","1397221653","1397221658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5c0ce21bf2002b89ee3b49ba26716c7a.jpg","text":"TemporaryFile(/tmp/multipartBody8639288580278991856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593265406,"filename":"image_31102025_14_29_32_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/384eadec435700aaf3d7dbaf4a7a171f.jpg","text":"TemporaryFile(/tmp/multipartBody9184111020180281180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593265406,"filename":"image_31102025_14_29_26_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/1/56768190abe7d8a3d55162bc92d81a52.jpg","text":"TemporaryFile(/tmp/multipartBody5865292912450111037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593265406,"filename":"image_31102025_14_29_19_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0f1488ac9e79fe260edc357506bc2a61.jpg","text":"TemporaryFile(/tmp/multipartBody6802955334992002048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593265406,"filename":"image_31102025_14_29_22_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/1/76c27f73db3619cefb9259f7c4258e79.jpg","text":"TemporaryFile(/tmp/multipartBody4508777277342561235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593265406,"filename":"image_31102025_14_29_16_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4eeb81a07d0ccb78b432bcdbc5d10527.jpg","text":"TemporaryFile(/tmp/multipartBody8532785103162774347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593265406,"filename":"image_31102025_14_29_28_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397221590","file1":"1397221588","file0":"1397221587","file4":"1397221653","file5":"1397221658","file3":"1397221591"},"map_files_photo_id_array":[{"photo_id":"1397221658","filename":"file5"},{"photo_id":"1397221590","filename":"file2"},{"photo_id":"1397221653","filename":"file4"},{"photo_id":"1397221588","filename":"file1"},{"photo_id":"1397221587","filename":"file0"},{"photo_id":"1397221591","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397221658":["hashtag1","hashtag2"]},{"1397221591":["hashtag1","hashtag2"]},{"1397221588":["hashtag1","hashtag2"]},{"1397221590":["hashtag1","hashtag2"]},{"1397221587":["hashtag1","hashtag2"]},{"1397221653":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397221658, 1397221591, 1397221588, 1397221590, 1397221587, 1397221653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.81685471534729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 13:47:32.005332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_58_2685.jpg', '/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_01_2671.jpg', '/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_04_3607.jpg', '/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_07_2618.jpg', '/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_11_3545.jpg', '/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_13_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/42/image_25112025_22_42_58_2685.jpg
/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_01_2671.jpg
/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_04_3607.jpg
/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_07_2618.jpg
/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_11_3545.jpg
/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_13_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":["1397221730","1397221699","1397221703","1397221702","1397221731","1397221728"],"photo_ids_order":["1397221699","1397221702","1397221703","1397221728","1397221730","1397221731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/59a07a0ce79c499e2468cd87f1a75415.jpg","text":"TemporaryFile(/tmp/multipartBody377032822210763981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593313837,"filename":"image_25112025_22_43_11_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/1/b2d76a21492493910ecae651af40e937.jpg","text":"TemporaryFile(/tmp/multipartBody1684048689491571040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593313837,"filename":"image_25112025_22_42_58_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9ac0a3a027531d32d29b5fd1d0177dd4.jpg","text":"TemporaryFile(/tmp/multipartBody7758199689538251515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593313837,"filename":"image_25112025_22_43_04_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a0fbcb5a1c0ec5fb0b89e03d0c513a09.jpg","text":"TemporaryFile(/tmp/multipartBody9121715525214605434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593313837,"filename":"image_25112025_22_43_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/1/d01565ae8e5a50dd224d9a81d1d0a74d.jpg","text":"TemporaryFile(/tmp/multipartBody3382933080176203501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593313837,"filename":"image_25112025_22_43_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/1/c25f501c0798ef28cfcea269f1034030.jpg","text":"TemporaryFile(/tmp/multipartBody6770809808652301402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593313837,"filename":"image_25112025_22_43_07_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397221703","file1":"1397221702","file0":"1397221699","file4":"1397221730","file5":"1397221731","file3":"1397221728"},"map_files_photo_id_array":[{"photo_id":"1397221731","filename":"file5"},{"photo_id":"1397221703","filename":"file2"},{"photo_id":"1397221730","filename":"file4"},{"photo_id":"1397221702","filename":"file1"},{"photo_id":"1397221699","filename":"file0"},{"photo_id":"1397221728","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397221730":["hashtag1","hashtag2"]},{"1397221699":["hashtag1","hashtag2"]},{"1397221703":["hashtag1","hashtag2"]},{"1397221702":["hashtag1","hashtag2"]},{"1397221731":["hashtag1","hashtag2"]},{"1397221728":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397221730, 1397221699, 1397221703, 1397221702, 1397221731, 1397221728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.416670083999634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 13:48:11.974503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_16_2570.jpg', '/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_20_3699.jpg', '/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_22_2533.jpg', '/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_25_2618.jpg', '/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_28_3659.jpg', '/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_31_2757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_16_2570.jpg
/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_20_3699.jpg
/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_22_2533.jpg
/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_25_2618.jpg
/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_28_3659.jpg
/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_31_2757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397222105","1397222196","1397222028","1397221866","1397221947","1397222147"],"photo_ids_order":["1397221866","1397221947","1397222028","1397222105","1397222147","1397222196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8f4aadfa1b71a81c8763bd2294d2349e.jpg","text":"TemporaryFile(/tmp/multipartBody8870235671845916413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593353615,"filename":"image_25112025_22_43_25_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/1/5c31b16667c0fcec1ab2ffcc783bd7d9.jpg","text":"TemporaryFile(/tmp/multipartBody7438974597985694730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593353615,"filename":"image_25112025_22_43_31_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/971a78be6b2c71b1787677f99d2b9400.jpg","text":"TemporaryFile(/tmp/multipartBody5231627404723740213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593353615,"filename":"image_25112025_22_43_22_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/717abbf66fea744cbff71b7682ae4595.jpg","text":"TemporaryFile(/tmp/multipartBody4384692603025986576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593353615,"filename":"image_25112025_22_43_16_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/1/7b2b164f165c5b002b6a9bfa7cb7d2d4.jpg","text":"TemporaryFile(/tmp/multipartBody4523518027368601988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593353615,"filename":"image_25112025_22_43_20_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d6eab511afaf8b7ebf11d1ed8b45cf29.jpg","text":"TemporaryFile(/tmp/multipartBody2459858120993090213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593353615,"filename":"image_25112025_22_43_28_3659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397222028","file1":"1397221947","file0":"1397221866","file4":"1397222147","file5":"1397222196","file3":"1397222105"},"map_files_photo_id_array":[{"photo_id":"1397222196","filename":"file5"},{"photo_id":"1397222028","filename":"file2"},{"photo_id":"1397222147","filename":"file4"},{"photo_id":"1397221947","filename":"file1"},{"photo_id":"1397221866","filename":"file0"},{"photo_id":"1397222105","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397222105":["hashtag1","hashtag2"]},{"1397222196":["hashtag1","hashtag2"]},{"1397222028":["hashtag1","hashtag2"]},{"1397221866":["hashtag1","hashtag2"]},{"1397221947":["hashtag1","hashtag2"]},{"1397222147":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397222105, 1397222196, 1397222028, 1397221866, 1397221947, 1397222147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.485689640045166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 13:49:03.163117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/45/image_01122025_12_45_14_9764.jpg', '/home/pi/Desktop/images/01122025/12/45/image_01122025_12_45_24_9851.jpg', '/home/pi/Desktop/images/01122025/12/45/image_01122025_12_45_35_10652.jpg', '/home/pi/Desktop/images/01122025/12/45/image_01122025_12_45_44_9630.jpg', '/home/pi/Desktop/images/01122025/12/45/image_01122025_12_45_54_9792.jpg', '/home/pi/Desktop/images/01122025/12/45/image_01122025_12_46_04_9829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/45/image_01122025_12_45_14_9764.jpg
/home/pi/Desktop/images/01122025/12/45/image_01122025_12_45_24_9851.jpg
/home/pi/Desktop/images/01122025/12/45/image_01122025_12_45_35_10652.jpg
/home/pi/Desktop/images/01122025/12/45/image_01122025_12_45_44_9630.jpg
/home/pi/Desktop/images/01122025/12/45/image_01122025_12_45_54_9792.jpg
/home/pi/Desktop/images/01122025/12/45/image_01122025_12_46_04_9829.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8354842662811279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 13:49:12.181956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_34_2723.jpg', '/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_38_4432.jpg', '/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_40_1698.jpg', '/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_44_3632.jpg', '/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_46_2523.jpg', '/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_49_3180.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_34_2723.jpg
/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_38_4432.jpg
/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_40_1698.jpg
/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_44_3632.jpg
/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_46_2523.jpg
/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_49_3180.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397222671","1397222629","1397222620","1397222524","1397222493","1397222633"],"photo_ids_order":["1397222493","1397222524","1397222620","1397222629","1397222633","1397222671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/371ea4a6badfb15f79446ddd6814732e.jpg","text":"TemporaryFile(/tmp/multipartBody1447518352433165596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593413840,"filename":"image_25112025_22_43_49_3180.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9d9c4b6428c33e504753f7d8cc825dca.jpg","text":"TemporaryFile(/tmp/multipartBody8041027990685214829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593413840,"filename":"image_25112025_22_43_44_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/1/da23f3c48dd81c2e2b1b107120383a3b.jpg","text":"TemporaryFile(/tmp/multipartBody5125534668463177511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593413840,"filename":"image_25112025_22_43_40_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/1/d25565b38e52253b892fbc435879cde6.jpg","text":"TemporaryFile(/tmp/multipartBody4062852374793334308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593413840,"filename":"image_25112025_22_43_38_4432.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d20047c3d4870d81cc90932af68e5d10.jpg","text":"TemporaryFile(/tmp/multipartBody2189436224098545383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593413840,"filename":"image_25112025_22_43_34_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/1/f53bea3ba0cd7f55fa296899dcf4b642.jpg","text":"TemporaryFile(/tmp/multipartBody8974431429060777905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593413840,"filename":"image_25112025_22_43_46_2523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397222620","file1":"1397222524","file0":"1397222493","file4":"1397222633","file5":"1397222671","file3":"1397222629"},"map_files_photo_id_array":[{"photo_id":"1397222671","filename":"file5"},{"photo_id":"1397222620","filename":"file2"},{"photo_id":"1397222633","filename":"file4"},{"photo_id":"1397222524","filename":"file1"},{"photo_id":"1397222493","filename":"file0"},{"photo_id":"1397222629","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397222671":["hashtag1","hashtag2"]},{"1397222629":["hashtag1","hashtag2"]},{"1397222620":["hashtag1","hashtag2"]},{"1397222524":["hashtag1","hashtag2"]},{"1397222493":["hashtag1","hashtag2"]},{"1397222633":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397222671, 1397222629, 1397222620, 1397222524, 1397222493, 1397222633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17752528190613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 13:50:02.857444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/45/image_01122025_12_45_14_9764.jpg', '/home/pi/Desktop/images/01122025/12/45/image_01122025_12_45_24_9851.jpg', '/home/pi/Desktop/images/01122025/12/45/image_01122025_12_45_35_10652.jpg', '/home/pi/Desktop/images/01122025/12/45/image_01122025_12_45_44_9630.jpg', '/home/pi/Desktop/images/01122025/12/45/image_01122025_12_45_54_9792.jpg', '/home/pi/Desktop/images/01122025/12/45/image_01122025_12_46_04_9829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/45/image_01122025_12_45_14_9764.jpg
/home/pi/Desktop/images/01122025/12/45/image_01122025_12_45_24_9851.jpg
/home/pi/Desktop/images/01122025/12/45/image_01122025_12_45_35_10652.jpg
/home/pi/Desktop/images/01122025/12/45/image_01122025_12_45_44_9630.jpg
/home/pi/Desktop/images/01122025/12/45/image_01122025_12_45_54_9792.jpg
/home/pi/Desktop/images/01122025/12/45/image_01122025_12_46_04_9829.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397223162","1397223324","1397223260","1397223047","1397223376","1397223209"],"photo_ids_order":["1397223047","1397223162","1397223209","1397223260","1397223324","1397223376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7ceffc4ae36f2bbaca10dafb0b65f971.jpg","text":"TemporaryFile(/tmp/multipartBody1661841582602450610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593463633,"filename":"image_01122025_12_45_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/1/a6501d475c14ff93c08581b4000259e3.jpg","text":"TemporaryFile(/tmp/multipartBody1411595434076483390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593463633,"filename":"image_01122025_12_45_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/1/2b4f5683936a5e714693aae590737778.jpg","text":"TemporaryFile(/tmp/multipartBody3395760070518752043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593463633,"filename":"image_01122025_12_45_44_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/aa7af4a450381a5ef10e6daba390712c.jpg","text":"TemporaryFile(/tmp/multipartBody5878888782490844211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593463633,"filename":"image_01122025_12_45_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/1/69c9a8bc0013470d056fda4309aabfb5.jpg","text":"TemporaryFile(/tmp/multipartBody8094995361424021609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593463633,"filename":"image_01122025_12_46_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/1/35b782a1cfbb89fc07dd03dcec43b114.jpg","text":"TemporaryFile(/tmp/multipartBody7840701657786936602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593463633,"filename":"image_01122025_12_45_35_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397223209","file1":"1397223162","file0":"1397223047","file4":"1397223324","file5":"1397223376","file3":"1397223260"},"map_files_photo_id_array":[{"photo_id":"1397223376","filename":"file5"},{"photo_id":"1397223209","filename":"file2"},{"photo_id":"1397223324","filename":"file4"},{"photo_id":"1397223162","filename":"file1"},{"photo_id":"1397223047","filename":"file0"},{"photo_id":"1397223260","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397223162":["hashtag1","hashtag2"]},{"1397223324":["hashtag1","hashtag2"]},{"1397223260":["hashtag1","hashtag2"]},{"1397223047":["hashtag1","hashtag2"]},{"1397223376":["hashtag1","hashtag2"]},{"1397223209":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397223162, 1397223324, 1397223260, 1397223047, 1397223376, 1397223209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.11331653594971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 13:51:03.284665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/46/image_01122025_12_46_15_10765.jpg', '/home/pi/Desktop/images/01122025/12/46/image_01122025_12_46_24_9658.jpg', '/home/pi/Desktop/images/01122025/12/46/image_01122025_12_46_34_9739.jpg', '/home/pi/Desktop/images/01122025/12/46/image_01122025_12_46_45_10607.jpg', '/home/pi/Desktop/images/01122025/12/46/image_01122025_12_46_54_9620.jpg', '/home/pi/Desktop/images/01122025/12/46/image_01122025_12_47_04_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/46/image_01122025_12_46_15_10765.jpg
/home/pi/Desktop/images/01122025/12/46/image_01122025_12_46_24_9658.jpg
/home/pi/Desktop/images/01122025/12/46/image_01122025_12_46_34_9739.jpg
/home/pi/Desktop/images/01122025/12/46/image_01122025_12_46_45_10607.jpg
/home/pi/Desktop/images/01122025/12/46/image_01122025_12_46_54_9620.jpg
/home/pi/Desktop/images/01122025/12/46/image_01122025_12_47_04_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":["1397223622","1397223618","1397223596","1397223609","1397223614","1397223611"],"photo_ids_order":["1397223596","1397223609","1397223611","1397223614","1397223618","1397223622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f8540cb8144650f933961e5387df17ea.jpg","text":"TemporaryFile(/tmp/multipartBody7177157548643842413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593524114,"filename":"image_01122025_12_47_04_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/82c51523ebbdc3ca7ee6ae171004f312.jpg","text":"TemporaryFile(/tmp/multipartBody3675292278808841908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593524114,"filename":"image_01122025_12_46_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/1/309b781feaf0330a5e4933509aa91712.jpg","text":"TemporaryFile(/tmp/multipartBody2083561097829585743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593524114,"filename":"image_01122025_12_46_15_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3fe2cc1a1c16745b978ee61eae046c67.jpg","text":"TemporaryFile(/tmp/multipartBody5221465408856598703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593524114,"filename":"image_01122025_12_46_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/1/d4e56898c6d983545659cc59b70f1312.jpg","text":"TemporaryFile(/tmp/multipartBody973563586229199514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593524114,"filename":"image_01122025_12_46_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/1/27b51d343d6f4f47196e3242248f30ce.jpg","text":"TemporaryFile(/tmp/multipartBody1173361326739278633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593524114,"filename":"image_01122025_12_46_34_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397223611","file1":"1397223609","file0":"1397223596","file4":"1397223618","file5":"1397223622","file3":"1397223614"},"map_files_photo_id_array":[{"photo_id":"1397223622","filename":"file5"},{"photo_id":"1397223611","filename":"file2"},{"photo_id":"1397223618","filename":"file4"},{"photo_id":"1397223609","filename":"file1"},{"photo_id":"1397223596","filename":"file0"},{"photo_id":"1397223614","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397223622":["hashtag1","hashtag2"]},{"1397223618":["hashtag1","hashtag2"]},{"1397223596":["hashtag1","hashtag2"]},{"1397223609":["hashtag1","hashtag2"]},{"1397223614":["hashtag1","hashtag2"]},{"1397223611":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397223622, 1397223618, 1397223596, 1397223609, 1397223614, 1397223611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35289144515991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 13:51:42.614460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_34_2657.jpg', '/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_37_2875.jpg', '/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_40_2647.jpg', '/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_44_3728.jpg', '/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_46_2720.jpg', '/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_49_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_34_2657.jpg
/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_37_2875.jpg
/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_40_2647.jpg
/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_44_3728.jpg
/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_46_2720.jpg
/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_49_2691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397223637","1397223633","1397223636","1397223639","1397223638","1397223641"],"photo_ids_order":["1397223633","1397223636","1397223637","1397223638","1397223639","1397223641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d5c7e5c7680ca9b894e55e4dc037d375.jpg","text":"TemporaryFile(/tmp/multipartBody1145446212392829384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593565264,"filename":"image_31102025_14_29_40_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e479aa2f66a7279ea91f97d043db7d1a.jpg","text":"TemporaryFile(/tmp/multipartBody6257270792307397361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593565264,"filename":"image_31102025_14_29_34_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/1/dac5f6519e66444c0bb85463998ef76a.jpg","text":"TemporaryFile(/tmp/multipartBody5397876425366512401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593565264,"filename":"image_31102025_14_29_37_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/1/5e54f5579c9a742bae234e25acfed882.jpg","text":"TemporaryFile(/tmp/multipartBody2914626101514807911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593565264,"filename":"image_31102025_14_29_46_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fe2b8ef575ea7f0287eb762d68ea1e77.jpg","text":"TemporaryFile(/tmp/multipartBody1555459305893183034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593565264,"filename":"image_31102025_14_29_44_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/1/2690084d17f9427dbd387c1120b80abe.jpg","text":"TemporaryFile(/tmp/multipartBody5340862020759850839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593565264,"filename":"image_31102025_14_29_49_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397223637","file1":"1397223636","file0":"1397223633","file4":"1397223639","file5":"1397223641","file3":"1397223638"},"map_files_photo_id_array":[{"photo_id":"1397223641","filename":"file5"},{"photo_id":"1397223637","filename":"file2"},{"photo_id":"1397223639","filename":"file4"},{"photo_id":"1397223636","filename":"file1"},{"photo_id":"1397223633","filename":"file0"},{"photo_id":"1397223638","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397223637":["hashtag1","hashtag2"]},{"1397223633":["hashtag1","hashtag2"]},{"1397223636":["hashtag1","hashtag2"]},{"1397223639":["hashtag1","hashtag2"]},{"1397223638":["hashtag1","hashtag2"]},{"1397223641":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397223637, 1397223633, 1397223636, 1397223639, 1397223638, 1397223641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51934480667114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 13:52:22.767968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/47/image_01122025_12_47_15_10755.jpg', '/home/pi/Desktop/images/01122025/12/47/image_01122025_12_47_25_9760.jpg', '/home/pi/Desktop/images/01122025/12/47/image_01122025_12_47_34_9757.jpg', '/home/pi/Desktop/images/01122025/12/47/image_01122025_12_47_44_9903.jpg', '/home/pi/Desktop/images/01122025/12/47/image_01122025_12_47_55_10624.jpg', '/home/pi/Desktop/images/01122025/12/47/image_01122025_12_48_04_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/47/image_01122025_12_47_15_10755.jpg
/home/pi/Desktop/images/01122025/12/47/image_01122025_12_47_25_9760.jpg
/home/pi/Desktop/images/01122025/12/47/image_01122025_12_47_34_9757.jpg
/home/pi/Desktop/images/01122025/12/47/image_01122025_12_47_44_9903.jpg
/home/pi/Desktop/images/01122025/12/47/image_01122025_12_47_55_10624.jpg
/home/pi/Desktop/images/01122025/12/47/image_01122025_12_48_04_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397223655","1397223670","1397223666","1397223663","1397223659","1397223650"],"photo_ids_order":["1397223650","1397223655","1397223659","1397223663","1397223666","1397223670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/03bfb9e6ab804024fe7258e985867c8c.jpg","text":"TemporaryFile(/tmp/multipartBody3677582782403165199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593603579,"filename":"image_01122025_12_47_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/1/c8c87cf2b7d3884139de47c6ac35b2df.jpg","text":"TemporaryFile(/tmp/multipartBody6150390279049682920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593603579,"filename":"image_01122025_12_48_04_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/98515f047b9c3c254291f0baf020a6f5.jpg","text":"TemporaryFile(/tmp/multipartBody3126755204257471172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593603579,"filename":"image_01122025_12_47_55_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/65df7fb63fc4e78b16230468c85c04b8.jpg","text":"TemporaryFile(/tmp/multipartBody7093986870106913377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593603579,"filename":"image_01122025_12_47_44_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/1/3a069b34b750e50b64ad081b543846d6.jpg","text":"TemporaryFile(/tmp/multipartBody5579612547749578147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593603579,"filename":"image_01122025_12_47_34_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2dd62b66741b1000abf4077023797059.jpg","text":"TemporaryFile(/tmp/multipartBody1403556643425524103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593603579,"filename":"image_01122025_12_47_15_10755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397223659","file1":"1397223655","file0":"1397223650","file4":"1397223666","file5":"1397223670","file3":"1397223663"},"map_files_photo_id_array":[{"photo_id":"1397223670","filename":"file5"},{"photo_id":"1397223659","filename":"file2"},{"photo_id":"1397223666","filename":"file4"},{"photo_id":"1397223655","filename":"file1"},{"photo_id":"1397223650","filename":"file0"},{"photo_id":"1397223663","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397223655":["hashtag1","hashtag2"]},{"1397223670":["hashtag1","hashtag2"]},{"1397223666":["hashtag1","hashtag2"]},{"1397223663":["hashtag1","hashtag2"]},{"1397223659":["hashtag1","hashtag2"]},{"1397223650":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397223655, 1397223670, 1397223666, 1397223663, 1397223659, 1397223650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.013259410858154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 13:53:02.870642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/48/image_01122025_12_48_14_9712.jpg', '/home/pi/Desktop/images/01122025/12/48/image_01122025_12_48_24_9729.jpg', '/home/pi/Desktop/images/01122025/12/48/image_01122025_12_48_35_10610.jpg', '/home/pi/Desktop/images/01122025/12/48/image_01122025_12_48_44_9628.jpg', '/home/pi/Desktop/images/01122025/12/48/image_01122025_12_48_54_9766.jpg', '/home/pi/Desktop/images/01122025/12/48/image_01122025_12_49_05_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/48/image_01122025_12_48_14_9712.jpg
/home/pi/Desktop/images/01122025/12/48/image_01122025_12_48_24_9729.jpg
/home/pi/Desktop/images/01122025/12/48/image_01122025_12_48_35_10610.jpg
/home/pi/Desktop/images/01122025/12/48/image_01122025_12_48_44_9628.jpg
/home/pi/Desktop/images/01122025/12/48/image_01122025_12_48_54_9766.jpg
/home/pi/Desktop/images/01122025/12/48/image_01122025_12_49_05_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":["1397223676","1397223679","1397223672","1397223674","1397223683","1397223688"],"photo_ids_order":["1397223672","1397223674","1397223676","1397223679","1397223683","1397223688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ad904ad4c5fd7c899e6072a167a26741.jpg","text":"TemporaryFile(/tmp/multipartBody695115241898949516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593643665,"filename":"image_01122025_12_48_35_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/61f48406e67e6539ca90ab13e8d97eed.jpg","text":"TemporaryFile(/tmp/multipartBody3116560259846623808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593643665,"filename":"image_01122025_12_48_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/1/1e22c4a2d1a01a5a200428516e8df01e.jpg","text":"TemporaryFile(/tmp/multipartBody8450491372479623498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593643665,"filename":"image_01122025_12_48_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/1/24373a115f04ae5afcd668fb8ea63edc.jpg","text":"TemporaryFile(/tmp/multipartBody5628799216609744244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593643665,"filename":"image_01122025_12_48_24_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0dfe92e40de6fed1e03c25cc59f0e2a0.jpg","text":"TemporaryFile(/tmp/multipartBody3864936654225612955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593643665,"filename":"image_01122025_12_48_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/1/c3822418e8359c980745e324bbdc8638.jpg","text":"TemporaryFile(/tmp/multipartBody8807005477797389452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593643665,"filename":"image_01122025_12_49_05_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397223676","file1":"1397223674","file0":"1397223672","file4":"1397223683","file5":"1397223688","file3":"1397223679"},"map_files_photo_id_array":[{"photo_id":"1397223688","filename":"file5"},{"photo_id":"1397223676","filename":"file2"},{"photo_id":"1397223683","filename":"file4"},{"photo_id":"1397223674","filename":"file1"},{"photo_id":"1397223672","filename":"file0"},{"photo_id":"1397223679","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397223676":["hashtag1","hashtag2"]},{"1397223679":["hashtag1","hashtag2"]},{"1397223672":["hashtag1","hashtag2"]},{"1397223674":["hashtag1","hashtag2"]},{"1397223683":["hashtag1","hashtag2"]},{"1397223688":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397223676, 1397223679, 1397223672, 1397223674, 1397223683, 1397223688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28519940376282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 13:53:42.073156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_53_3554.jpg', '/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_55_2591.jpg', '/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_58_2618.jpg', '/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_08_3016.jpg', '/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_12_3924.jpg', '/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_14_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_53_3554.jpg
/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_55_2591.jpg
/home/pi/Desktop/images/31102025/14/29/image_31102025_14_29_58_2618.jpg
/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_08_3016.jpg
/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_12_3924.jpg
/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_14_2639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397223712","1397223715","1397223700","1397223714","1397223717","1397223713"],"photo_ids_order":["1397223700","1397223712","1397223713","1397223714","1397223715","1397223717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/609322e7b44c74bbad6b5e0e4619a1dd.jpg","text":"TemporaryFile(/tmp/multipartBody7760033830732208085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593684732,"filename":"image_31102025_14_29_55_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/1/afc1c247b9bc863d7530c29e3ab8a8b6.jpg","text":"TemporaryFile(/tmp/multipartBody2252013394703612677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593684732,"filename":"image_31102025_14_30_12_3924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/52f5f56ddcd82b0f8a1f90a513fc1f95.jpg","text":"TemporaryFile(/tmp/multipartBody2345262062293456784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593684732,"filename":"image_31102025_14_29_53_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/1/7de8e980e0bd1c949516c2eb3ff00dcb.jpg","text":"TemporaryFile(/tmp/multipartBody1952602907571721712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593684732,"filename":"image_31102025_14_30_08_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/30db660e1ccc4be88b16283494f5577c.jpg","text":"TemporaryFile(/tmp/multipartBody8814462811800480402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593684732,"filename":"image_31102025_14_30_14_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ac675b7392012a99f92ab70c0c16a05c.jpg","text":"TemporaryFile(/tmp/multipartBody7448220805066137300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593684732,"filename":"image_31102025_14_29_58_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397223713","file1":"1397223712","file0":"1397223700","file4":"1397223715","file5":"1397223717","file3":"1397223714"},"map_files_photo_id_array":[{"photo_id":"1397223717","filename":"file5"},{"photo_id":"1397223713","filename":"file2"},{"photo_id":"1397223715","filename":"file4"},{"photo_id":"1397223712","filename":"file1"},{"photo_id":"1397223700","filename":"file0"},{"photo_id":"1397223714","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397223712":["hashtag1","hashtag2"]},{"1397223715":["hashtag1","hashtag2"]},{"1397223700":["hashtag1","hashtag2"]},{"1397223714":["hashtag1","hashtag2"]},{"1397223717":["hashtag1","hashtag2"]},{"1397223713":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397223712, 1397223715, 1397223700, 1397223714, 1397223717, 1397223713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.21665549278259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 13:54:22.285517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/49/image_01122025_12_49_14_9712.jpg', '/home/pi/Desktop/images/01122025/12/49/image_01122025_12_49_24_9663.jpg', '/home/pi/Desktop/images/01122025/12/49/image_01122025_12_49_35_10696.jpg', '/home/pi/Desktop/images/01122025/12/49/image_01122025_12_49_44_9619.jpg', '/home/pi/Desktop/images/01122025/12/49/image_01122025_12_49_54_9705.jpg', '/home/pi/Desktop/images/01122025/12/49/image_01122025_12_50_05_10702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/49/image_01122025_12_49_14_9712.jpg
/home/pi/Desktop/images/01122025/12/49/image_01122025_12_49_24_9663.jpg
/home/pi/Desktop/images/01122025/12/49/image_01122025_12_49_35_10696.jpg
/home/pi/Desktop/images/01122025/12/49/image_01122025_12_49_44_9619.jpg
/home/pi/Desktop/images/01122025/12/49/image_01122025_12_49_54_9705.jpg
/home/pi/Desktop/images/01122025/12/49/image_01122025_12_50_05_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":["1397223760","1397223835","1397223768","1397223791","1397223773","1397223740"],"photo_ids_order":["1397223740","1397223760","1397223768","1397223773","1397223791","1397223835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/13fb19db50c7e96effe8949298f2a664.jpg","text":"TemporaryFile(/tmp/multipartBody2731435757739367279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593723083,"filename":"image_01122025_12_49_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/1/29a3a10e146980a064315dadcf2ccd15.jpg","text":"TemporaryFile(/tmp/multipartBody5711137702477282298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593723083,"filename":"image_01122025_12_50_05_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/635ff3a7990569adff0482f89a35928d.jpg","text":"TemporaryFile(/tmp/multipartBody8875740491408134541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593723083,"filename":"image_01122025_12_49_35_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0adc92dab6278b88217d0202fefab7e2.jpg","text":"TemporaryFile(/tmp/multipartBody5618057527672571869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593723083,"filename":"image_01122025_12_49_54_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/689eb4581e0f3a6447635d00c561cfb7.jpg","text":"TemporaryFile(/tmp/multipartBody5479216075685793262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593723083,"filename":"image_01122025_12_49_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/1/ac6143b5121861ab65261bcf636ca4f1.jpg","text":"TemporaryFile(/tmp/multipartBody7927237011081670498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593723083,"filename":"image_01122025_12_49_14_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397223768","file1":"1397223760","file0":"1397223740","file4":"1397223791","file5":"1397223835","file3":"1397223773"},"map_files_photo_id_array":[{"photo_id":"1397223835","filename":"file5"},{"photo_id":"1397223768","filename":"file2"},{"photo_id":"1397223791","filename":"file4"},{"photo_id":"1397223760","filename":"file1"},{"photo_id":"1397223740","filename":"file0"},{"photo_id":"1397223773","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397223760":["hashtag1","hashtag2"]},{"1397223835":["hashtag1","hashtag2"]},{"1397223768":["hashtag1","hashtag2"]},{"1397223791":["hashtag1","hashtag2"]},{"1397223773":["hashtag1","hashtag2"]},{"1397223740":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397223760, 1397223835, 1397223768, 1397223791, 1397223773, 1397223740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.351462602615356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 13:55:03.077507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/50/image_01122025_12_50_14_9715.jpg', '/home/pi/Desktop/images/01122025/12/50/image_01122025_12_50_24_9848.jpg', '/home/pi/Desktop/images/01122025/12/50/image_01122025_12_50_34_9691.jpg', '/home/pi/Desktop/images/01122025/12/50/image_01122025_12_50_44_10584.jpg', '/home/pi/Desktop/images/01122025/12/50/image_01122025_12_50_54_9732.jpg', '/home/pi/Desktop/images/01122025/12/50/image_01122025_12_51_04_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/50/image_01122025_12_50_14_9715.jpg
/home/pi/Desktop/images/01122025/12/50/image_01122025_12_50_24_9848.jpg
/home/pi/Desktop/images/01122025/12/50/image_01122025_12_50_34_9691.jpg
/home/pi/Desktop/images/01122025/12/50/image_01122025_12_50_44_10584.jpg
/home/pi/Desktop/images/01122025/12/50/image_01122025_12_50_54_9732.jpg
/home/pi/Desktop/images/01122025/12/50/image_01122025_12_51_04_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":["1397224065","1397223981","1397224199","1397224019","1397224106","1397224156"],"photo_ids_order":["1397223981","1397224019","1397224065","1397224106","1397224156","1397224199"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9b79197ed39b1c7a0f0571b128f95792.jpg","text":"TemporaryFile(/tmp/multipartBody6869835080179610312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593763885,"filename":"image_01122025_12_50_34_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1731cb9ef5ff0d14111d27a536f86393.jpg","text":"TemporaryFile(/tmp/multipartBody1656182212813433811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593763885,"filename":"image_01122025_12_50_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/1/0b92c0d6f83ab847e6c78e5b84123928.jpg","text":"TemporaryFile(/tmp/multipartBody5592589790329905846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593763885,"filename":"image_01122025_12_51_04_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b87854b604247c51aabb0d66903620cc.jpg","text":"TemporaryFile(/tmp/multipartBody775534958262577832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593763885,"filename":"image_01122025_12_50_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/1/a6f5e5c8cc16e7d32764220a5e8412d0.jpg","text":"TemporaryFile(/tmp/multipartBody6563277670748490462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593763885,"filename":"image_01122025_12_50_44_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/1/61288fef34d29db1889a5eaf8a224689.jpg","text":"TemporaryFile(/tmp/multipartBody3857273731277327677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593763885,"filename":"image_01122025_12_50_54_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397224065","file1":"1397224019","file0":"1397223981","file4":"1397224156","file5":"1397224199","file3":"1397224106"},"map_files_photo_id_array":[{"photo_id":"1397224199","filename":"file5"},{"photo_id":"1397224065","filename":"file2"},{"photo_id":"1397224156","filename":"file4"},{"photo_id":"1397224019","filename":"file1"},{"photo_id":"1397223981","filename":"file0"},{"photo_id":"1397224106","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397224065":["hashtag1","hashtag2"]},{"1397223981":["hashtag1","hashtag2"]},{"1397224199":["hashtag1","hashtag2"]},{"1397224019":["hashtag1","hashtag2"]},{"1397224106":["hashtag1","hashtag2"]},{"1397224156":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397224065, 1397223981, 1397224199, 1397224019, 1397224106, 1397224156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02288556098938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 13:55:42.366058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_17_2992.jpg', '/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_20_2738.jpg', '/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_23_2799.jpg', '/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_26_2935.jpg', '/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_30_3804.jpg', '/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_32_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_17_2992.jpg
/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_20_2738.jpg
/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_23_2799.jpg
/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_26_2935.jpg
/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_30_3804.jpg
/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_32_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":["1397224321","1397224281","1397224289","1397224268","1397224264","1397224330"],"photo_ids_order":["1397224264","1397224268","1397224281","1397224289","1397224321","1397224330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f1b26891830349c4598b2cb7185312e2.jpg","text":"TemporaryFile(/tmp/multipartBody7620568527959706189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593805031,"filename":"image_31102025_14_30_30_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/1/0fc583959f824b1897fbfcfa12b65540.jpg","text":"TemporaryFile(/tmp/multipartBody5863765070222576414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593805031,"filename":"image_31102025_14_30_23_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ee3e4a4a20cd0ed665796856099d5007.jpg","text":"TemporaryFile(/tmp/multipartBody3746712590424147607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593805031,"filename":"image_31102025_14_30_26_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/1/8a2d2ca3015b40957ccff35c7bbc0d18.jpg","text":"TemporaryFile(/tmp/multipartBody5078537280069182701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593805031,"filename":"image_31102025_14_30_20_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/1/982985102f423ef842105acc6a71e91d.jpg","text":"TemporaryFile(/tmp/multipartBody8069112310843719682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593805031,"filename":"image_31102025_14_30_17_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/1/1d9e9dd480e06b28ac8cb225323b3f43.jpg","text":"TemporaryFile(/tmp/multipartBody5315306911615796416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593805031,"filename":"image_31102025_14_30_32_2749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397224281","file1":"1397224268","file0":"1397224264","file4":"1397224321","file5":"1397224330","file3":"1397224289"},"map_files_photo_id_array":[{"photo_id":"1397224330","filename":"file5"},{"photo_id":"1397224281","filename":"file2"},{"photo_id":"1397224321","filename":"file4"},{"photo_id":"1397224268","filename":"file1"},{"photo_id":"1397224264","filename":"file0"},{"photo_id":"1397224289","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397224321":["hashtag1","hashtag2"]},{"1397224281":["hashtag1","hashtag2"]},{"1397224289":["hashtag1","hashtag2"]},{"1397224268":["hashtag1","hashtag2"]},{"1397224264":["hashtag1","hashtag2"]},{"1397224330":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397224321, 1397224281, 1397224289, 1397224268, 1397224264, 1397224330)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.67442798614502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 13:56:32.638881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_52_2700.jpg', '/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_55_2941.jpg', '/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_59_3627.jpg', '/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_04_2772.jpg', '/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_08_3517.jpg', '/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_10_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_52_2700.jpg
/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_55_2941.jpg
/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_59_3627.jpg
/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_04_2772.jpg
/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_08_3517.jpg
/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_10_2630.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.6852657794952393 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 13:56:42.551060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_35_3009.jpg', '/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_38_2740.jpg', '/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_41_2679.jpg', '/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_44_3722.jpg', '/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_47_2919.jpg', '/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_50_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_35_3009.jpg
/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_38_2740.jpg
/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_41_2679.jpg
/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_44_3722.jpg
/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_47_2919.jpg
/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_50_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":["1397224416","1397224419","1397224412","1397224415","1397224399","1397224418"],"photo_ids_order":["1397224399","1397224412","1397224415","1397224416","1397224418","1397224419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9df4022e30ca0553dcf57f5318f02b56.jpg","text":"TemporaryFile(/tmp/multipartBody6625143554394297293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593865257,"filename":"image_31102025_14_30_44_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/1/8088e2fc72d1abf8c73e2453c185998a.jpg","text":"TemporaryFile(/tmp/multipartBody6249479857377802915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593865257,"filename":"image_31102025_14_30_50_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/1/32770364cea4c969f25c45e28897e593.jpg","text":"TemporaryFile(/tmp/multipartBody8348315736818787158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593865257,"filename":"image_31102025_14_30_38_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/1/bd3e389125188d60921ff463b5656aca.jpg","text":"TemporaryFile(/tmp/multipartBody5173019609598938458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593865257,"filename":"image_31102025_14_30_41_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/1/c8f861d90e21f07126e51281040b8358.jpg","text":"TemporaryFile(/tmp/multipartBody7145990963178916689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593865257,"filename":"image_31102025_14_30_35_3009.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/05d7356487700f09cd4559ad2aa06b82.jpg","text":"TemporaryFile(/tmp/multipartBody7319579756001007911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593865257,"filename":"image_31102025_14_30_47_2919.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397224415","file1":"1397224412","file0":"1397224399","file4":"1397224418","file5":"1397224419","file3":"1397224416"},"map_files_photo_id_array":[{"photo_id":"1397224419","filename":"file5"},{"photo_id":"1397224415","filename":"file2"},{"photo_id":"1397224418","filename":"file4"},{"photo_id":"1397224412","filename":"file1"},{"photo_id":"1397224399","filename":"file0"},{"photo_id":"1397224416","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397224416":["hashtag1","hashtag2"]},{"1397224419":["hashtag1","hashtag2"]},{"1397224412":["hashtag1","hashtag2"]},{"1397224415":["hashtag1","hashtag2"]},{"1397224399":["hashtag1","hashtag2"]},{"1397224418":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397224416, 1397224419, 1397224412, 1397224415, 1397224399, 1397224418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.89681529998779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 13:57:22.814176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/51/image_01122025_12_51_15_10890.jpg', '/home/pi/Desktop/images/01122025/12/51/image_01122025_12_51_25_9720.jpg', '/home/pi/Desktop/images/01122025/12/51/image_01122025_12_51_34_9871.jpg', '/home/pi/Desktop/images/01122025/12/51/image_01122025_12_51_44_9685.jpg', '/home/pi/Desktop/images/01122025/12/51/image_01122025_12_51_54_9784.jpg', '/home/pi/Desktop/images/01122025/12/51/image_01122025_12_52_04_10578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/51/image_01122025_12_51_15_10890.jpg
/home/pi/Desktop/images/01122025/12/51/image_01122025_12_51_25_9720.jpg
/home/pi/Desktop/images/01122025/12/51/image_01122025_12_51_34_9871.jpg
/home/pi/Desktop/images/01122025/12/51/image_01122025_12_51_44_9685.jpg
/home/pi/Desktop/images/01122025/12/51/image_01122025_12_51_54_9784.jpg
/home/pi/Desktop/images/01122025/12/51/image_01122025_12_52_04_10578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397224457","1397224442","1397224451","1397224439","1397224454","1397224448"],"photo_ids_order":["1397224439","1397224442","1397224448","1397224451","1397224454","1397224457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c683a0564613d3794fe3b27bc6580fd1.jpg","text":"TemporaryFile(/tmp/multipartBody5873387389923317175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593903546,"filename":"image_01122025_12_52_04_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4789ebdef18f43aa822d3dd6c04ebaba.jpg","text":"TemporaryFile(/tmp/multipartBody5306610034153096548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593903546,"filename":"image_01122025_12_51_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/1/72111db69bd3b1137a395e993f635ab4.jpg","text":"TemporaryFile(/tmp/multipartBody653439035914924447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593903546,"filename":"image_01122025_12_51_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/1/e840821fcd4a7b12ed1f79c9e3b31b5e.jpg","text":"TemporaryFile(/tmp/multipartBody632897100316935102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593903546,"filename":"image_01122025_12_51_15_10890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/14596fe9d112e2602c24fa045c19a9c7.jpg","text":"TemporaryFile(/tmp/multipartBody3169099254963378324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593903546,"filename":"image_01122025_12_51_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/1/b3d190f6803e057fd9737dec1fb504dc.jpg","text":"TemporaryFile(/tmp/multipartBody2440444917538963514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764593903546,"filename":"image_01122025_12_51_34_9871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397224448","file1":"1397224442","file0":"1397224439","file4":"1397224454","file5":"1397224457","file3":"1397224451"},"map_files_photo_id_array":[{"photo_id":"1397224457","filename":"file5"},{"photo_id":"1397224448","filename":"file2"},{"photo_id":"1397224454","filename":"file4"},{"photo_id":"1397224442","filename":"file1"},{"photo_id":"1397224439","filename":"file0"},{"photo_id":"1397224451","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397224457":["hashtag1","hashtag2"]},{"1397224442":["hashtag1","hashtag2"]},{"1397224451":["hashtag1","hashtag2"]},{"1397224439":["hashtag1","hashtag2"]},{"1397224454":["hashtag1","hashtag2"]},{"1397224448":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397224457, 1397224442, 1397224451, 1397224439, 1397224454, 1397224448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.907662868499756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 13:59:02.885470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/52/image_01122025_12_52_14_9872.jpg', '/home/pi/Desktop/images/01122025/12/52/image_01122025_12_52_24_10023.jpg', '/home/pi/Desktop/images/01122025/12/52/image_01122025_12_52_34_9768.jpg', '/home/pi/Desktop/images/01122025/12/52/image_01122025_12_52_44_9828.jpg', '/home/pi/Desktop/images/01122025/12/52/image_01122025_12_52_55_10880.jpg', '/home/pi/Desktop/images/01122025/12/52/image_01122025_12_53_04_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/52/image_01122025_12_52_14_9872.jpg
/home/pi/Desktop/images/01122025/12/52/image_01122025_12_52_24_10023.jpg
/home/pi/Desktop/images/01122025/12/52/image_01122025_12_52_34_9768.jpg
/home/pi/Desktop/images/01122025/12/52/image_01122025_12_52_44_9828.jpg
/home/pi/Desktop/images/01122025/12/52/image_01122025_12_52_55_10880.jpg
/home/pi/Desktop/images/01122025/12/52/image_01122025_12_53_04_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":["1397224915","1397225112","1397225057","1397224859","1397225015","1397224967"],"photo_ids_order":["1397224859","1397224915","1397224967","1397225015","1397225057","1397225112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bef3ed903cfbe65e2bd7593be64bd6c5.jpg","text":"TemporaryFile(/tmp/multipartBody6821112900804809810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594003728,"filename":"image_01122025_12_52_24_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/1/18fc0512ad042f5d22101a730ce24266.jpg","text":"TemporaryFile(/tmp/multipartBody1128264496926412989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594003728,"filename":"image_01122025_12_53_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/1/014e8dc22fbf90582748114a79703916.jpg","text":"TemporaryFile(/tmp/multipartBody5749497123651045393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594003728,"filename":"image_01122025_12_52_55_10880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4b826a6716748ad36122e8af2c2c751d.jpg","text":"TemporaryFile(/tmp/multipartBody8258717791112762678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594003728,"filename":"image_01122025_12_52_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/1/8632399ca67e4199a0130ca78c464261.jpg","text":"TemporaryFile(/tmp/multipartBody1355449401217591613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594003728,"filename":"image_01122025_12_52_44_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5f13dc14ab10b1e13a6cfc050cbe41c4.jpg","text":"TemporaryFile(/tmp/multipartBody6393667074661766894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594003728,"filename":"image_01122025_12_52_34_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397224967","file1":"1397224915","file0":"1397224859","file4":"1397225057","file5":"1397225112","file3":"1397225015"},"map_files_photo_id_array":[{"photo_id":"1397225112","filename":"file5"},{"photo_id":"1397224967","filename":"file2"},{"photo_id":"1397225057","filename":"file4"},{"photo_id":"1397224915","filename":"file1"},{"photo_id":"1397224859","filename":"file0"},{"photo_id":"1397225015","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397224915":["hashtag1","hashtag2"]},{"1397225112":["hashtag1","hashtag2"]},{"1397225057":["hashtag1","hashtag2"]},{"1397224859":["hashtag1","hashtag2"]},{"1397225015":["hashtag1","hashtag2"]},{"1397224967":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397224915, 1397225112, 1397225057, 1397224859, 1397225015, 1397224967)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.60628628730774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 14:00:02.834253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/53/image_01122025_12_53_14_9763.jpg', '/home/pi/Desktop/images/01122025/12/53/image_01122025_12_53_24_9905.jpg', '/home/pi/Desktop/images/01122025/12/53/image_01122025_12_53_45_10484.jpg', '/home/pi/Desktop/images/01122025/12/53/image_01122025_12_53_54_9646.jpg', '/home/pi/Desktop/images/01122025/12/53/image_01122025_12_54_04_9985.jpg', '/home/pi/Desktop/images/01122025/12/54/image_01122025_12_54_14_10005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/53/image_01122025_12_53_14_9763.jpg
/home/pi/Desktop/images/01122025/12/53/image_01122025_12_53_24_9905.jpg
/home/pi/Desktop/images/01122025/12/53/image_01122025_12_53_45_10484.jpg
/home/pi/Desktop/images/01122025/12/53/image_01122025_12_53_54_9646.jpg
/home/pi/Desktop/images/01122025/12/53/image_01122025_12_54_04_9985.jpg
/home/pi/Desktop/images/01122025/12/54/image_01122025_12_54_14_10005.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6590638160705566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 14:00:12.241388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_52_2700.jpg', '/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_55_2941.jpg', '/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_59_3627.jpg', '/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_04_2772.jpg', '/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_08_3517.jpg', '/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_10_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_52_2700.jpg
/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_55_2941.jpg
/home/pi/Desktop/images/25112025/22/43/image_25112025_22_43_59_3627.jpg
/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_04_2772.jpg
/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_08_3517.jpg
/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_10_2630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397225499","1397225373","1397225415","1397225497","1397225461","1397225440"],"photo_ids_order":["1397225373","1397225415","1397225440","1397225461","1397225497","1397225499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1109c92610de8b5c1edace449b3c9238.jpg","text":"TemporaryFile(/tmp/multipartBody7913608167542637041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594073641,"filename":"image_25112025_22_44_10_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/589f8bcdaad0f7715f520ba7fbc866bc.jpg","text":"TemporaryFile(/tmp/multipartBody9176320855195406780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594073641,"filename":"image_25112025_22_43_52_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/1/cb02df482082378a95fbdbc5dbeea51e.jpg","text":"TemporaryFile(/tmp/multipartBody4493927819605805260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594073641,"filename":"image_25112025_22_43_55_2941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9a8232fab4045a7e2047455b2d62a3de.jpg","text":"TemporaryFile(/tmp/multipartBody3971139537206107550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594073641,"filename":"image_25112025_22_44_08_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/1/67d0d24b8d4ec87681dd94564ec3b9a4.jpg","text":"TemporaryFile(/tmp/multipartBody8199047989245740801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594073641,"filename":"image_25112025_22_44_04_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c3b5d671554ce028e9aa6c7d537e1722.jpg","text":"TemporaryFile(/tmp/multipartBody9153230587251929173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594073641,"filename":"image_25112025_22_43_59_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397225440","file1":"1397225415","file0":"1397225373","file4":"1397225497","file5":"1397225499","file3":"1397225461"},"map_files_photo_id_array":[{"photo_id":"1397225499","filename":"file5"},{"photo_id":"1397225440","filename":"file2"},{"photo_id":"1397225497","filename":"file4"},{"photo_id":"1397225415","filename":"file1"},{"photo_id":"1397225373","filename":"file0"},{"photo_id":"1397225461","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397225499":["hashtag1","hashtag2"]},{"1397225373":["hashtag1","hashtag2"]},{"1397225415":["hashtag1","hashtag2"]},{"1397225497":["hashtag1","hashtag2"]},{"1397225461":["hashtag1","hashtag2"]},{"1397225440":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397225499, 1397225373, 1397225415, 1397225497, 1397225461, 1397225440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.65742635726929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 14:01:03.049205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/53/image_01122025_12_53_14_9763.jpg', '/home/pi/Desktop/images/01122025/12/53/image_01122025_12_53_24_9905.jpg', '/home/pi/Desktop/images/01122025/12/53/image_01122025_12_53_45_10484.jpg', '/home/pi/Desktop/images/01122025/12/53/image_01122025_12_53_54_9646.jpg', '/home/pi/Desktop/images/01122025/12/53/image_01122025_12_54_04_9985.jpg', '/home/pi/Desktop/images/01122025/12/54/image_01122025_12_54_14_10005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/53/image_01122025_12_53_14_9763.jpg
/home/pi/Desktop/images/01122025/12/53/image_01122025_12_53_24_9905.jpg
/home/pi/Desktop/images/01122025/12/53/image_01122025_12_53_45_10484.jpg
/home/pi/Desktop/images/01122025/12/53/image_01122025_12_53_54_9646.jpg
/home/pi/Desktop/images/01122025/12/53/image_01122025_12_54_04_9985.jpg
/home/pi/Desktop/images/01122025/12/54/image_01122025_12_54_14_10005.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7255430221557617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 14:01:12.384115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_22_11967.jpg', '/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_24_1513.jpg', '/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_25_1653.jpg', '/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_27_1592.jpg', '/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_29_1665.jpg', '/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_30_1665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_22_11967.jpg
/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_24_1513.jpg
/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_25_1653.jpg
/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_27_1592.jpg
/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_29_1665.jpg
/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_30_1665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397225745","1397225715","1397225674","1397225761","1397225755","1397225770"],"photo_ids_order":["1397225674","1397225715","1397225745","1397225755","1397225761","1397225770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9f569acb851d8b999a339a231595d0fd.jpg","text":"TemporaryFile(/tmp/multipartBody779045098824602650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594133863,"filename":"image_25112025_22_44_25_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cfad83b54545d57b0b5e0499123e8090.jpg","text":"TemporaryFile(/tmp/multipartBody8320816406270594488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594133863,"filename":"image_25112025_22_44_24_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/1/1bc0b2b133fa0c7480ecc463d7757456.jpg","text":"TemporaryFile(/tmp/multipartBody8274765497440072069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594133863,"filename":"image_25112025_22_44_22_11967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/081719ca8ae4f208afce462f5f080fde.jpg","text":"TemporaryFile(/tmp/multipartBody4592981431724981889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594133863,"filename":"image_25112025_22_44_29_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/1/4862f67102cd7ab44c9b2586be6d9a9f.jpg","text":"TemporaryFile(/tmp/multipartBody2224700333271823248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594133863,"filename":"image_25112025_22_44_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/1/8561144e52add70a5e2f13d2251b321c.jpg","text":"TemporaryFile(/tmp/multipartBody6743350308930539242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594133863,"filename":"image_25112025_22_44_30_1665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397225745","file1":"1397225715","file0":"1397225674","file4":"1397225761","file5":"1397225770","file3":"1397225755"},"map_files_photo_id_array":[{"photo_id":"1397225770","filename":"file5"},{"photo_id":"1397225745","filename":"file2"},{"photo_id":"1397225761","filename":"file4"},{"photo_id":"1397225715","filename":"file1"},{"photo_id":"1397225674","filename":"file0"},{"photo_id":"1397225755","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397225745":["hashtag1","hashtag2"]},{"1397225715":["hashtag1","hashtag2"]},{"1397225674":["hashtag1","hashtag2"]},{"1397225761":["hashtag1","hashtag2"]},{"1397225755":["hashtag1","hashtag2"]},{"1397225770":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397225745, 1397225715, 1397225674, 1397225761, 1397225755, 1397225770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99419116973877 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 14:02:03.059370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/53/image_01122025_12_53_14_9763.jpg', '/home/pi/Desktop/images/01122025/12/53/image_01122025_12_53_24_9905.jpg', '/home/pi/Desktop/images/01122025/12/53/image_01122025_12_53_45_10484.jpg', '/home/pi/Desktop/images/01122025/12/53/image_01122025_12_53_54_9646.jpg', '/home/pi/Desktop/images/01122025/12/53/image_01122025_12_54_04_9985.jpg', '/home/pi/Desktop/images/01122025/12/54/image_01122025_12_54_14_10005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/53/image_01122025_12_53_14_9763.jpg
/home/pi/Desktop/images/01122025/12/53/image_01122025_12_53_24_9905.jpg
/home/pi/Desktop/images/01122025/12/53/image_01122025_12_53_45_10484.jpg
/home/pi/Desktop/images/01122025/12/53/image_01122025_12_53_54_9646.jpg
/home/pi/Desktop/images/01122025/12/53/image_01122025_12_54_04_9985.jpg
/home/pi/Desktop/images/01122025/12/54/image_01122025_12_54_14_10005.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397225847","1397225829","1397225823","1397225864","1397225831","1397225830"],"photo_ids_order":["1397225823","1397225829","1397225830","1397225831","1397225847","1397225864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8f5484ecfa0be759e075ec86e9feabda.jpg","text":"TemporaryFile(/tmp/multipartBody9148665903701119036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594183827,"filename":"image_01122025_12_54_04_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/1/3f33d6d273a4e4f46416bfd54f30ee80.jpg","text":"TemporaryFile(/tmp/multipartBody2639796876203781152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594183827,"filename":"image_01122025_12_53_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/1/ed3914fe9bcbaf094ff409fe6edde6c0.jpg","text":"TemporaryFile(/tmp/multipartBody7904228092730643847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594183827,"filename":"image_01122025_12_53_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/1/65ff2a9b997c73feb814cd0a306b9043.jpg","text":"TemporaryFile(/tmp/multipartBody4133736710791952190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594183827,"filename":"image_01122025_12_54_14_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/1/740c9cd346a8c2e2287f4851b604a51b.jpg","text":"TemporaryFile(/tmp/multipartBody4490165637661149364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594183827,"filename":"image_01122025_12_53_54_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ef3ff792de78e144dc34fb4036c76eb5.jpg","text":"TemporaryFile(/tmp/multipartBody7219010781544153887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594183827,"filename":"image_01122025_12_53_45_10484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397225830","file1":"1397225829","file0":"1397225823","file4":"1397225847","file5":"1397225864","file3":"1397225831"},"map_files_photo_id_array":[{"photo_id":"1397225864","filename":"file5"},{"photo_id":"1397225830","filename":"file2"},{"photo_id":"1397225847","filename":"file4"},{"photo_id":"1397225829","filename":"file1"},{"photo_id":"1397225823","filename":"file0"},{"photo_id":"1397225831","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397225847":["hashtag1","hashtag2"]},{"1397225829":["hashtag1","hashtag2"]},{"1397225823":["hashtag1","hashtag2"]},{"1397225864":["hashtag1","hashtag2"]},{"1397225831":["hashtag1","hashtag2"]},{"1397225830":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397225847, 1397225829, 1397225823, 1397225864, 1397225831, 1397225830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.249329805374146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 14:02:42.799867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_53_2732.jpg', '/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_57_3789.jpg', '/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_59_2595.jpg', '/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_02_2742.jpg', '/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_05_2692.jpg', '/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_08_3731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_53_2732.jpg
/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_57_3789.jpg
/home/pi/Desktop/images/31102025/14/30/image_31102025_14_30_59_2595.jpg
/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_02_2742.jpg
/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_05_2692.jpg
/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_08_3731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397225888","1397225897","1397225900","1397225895","1397225898","1397225902"],"photo_ids_order":["1397225888","1397225895","1397225897","1397225898","1397225900","1397225902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/874fbe3e4b56cc1f2144fce8d0c745d3.jpg","text":"TemporaryFile(/tmp/multipartBody8070002985533053288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594225459,"filename":"image_31102025_14_30_53_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/1/2085908288b58b089470161abd0bd0ec.jpg","text":"TemporaryFile(/tmp/multipartBody5712454007756666475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594225459,"filename":"image_31102025_14_30_59_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3c5471cc571fff0adc5576e0529e8e99.jpg","text":"TemporaryFile(/tmp/multipartBody992921257901421529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594225459,"filename":"image_31102025_14_31_05_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/1/6798c67f0e60af04e5507b1ec6e303de.jpg","text":"TemporaryFile(/tmp/multipartBody5032592979456765388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594225459,"filename":"image_31102025_14_30_57_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/135de54d58728f2a2d8cc4a5d3dcfc6b.jpg","text":"TemporaryFile(/tmp/multipartBody3998326263946908358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594225459,"filename":"image_31102025_14_31_02_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b934ccab8cb998160354124d6483aec9.jpg","text":"TemporaryFile(/tmp/multipartBody2254387090799337347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594225459,"filename":"image_31102025_14_31_08_3731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397225897","file1":"1397225895","file0":"1397225888","file4":"1397225900","file5":"1397225902","file3":"1397225898"},"map_files_photo_id_array":[{"photo_id":"1397225902","filename":"file5"},{"photo_id":"1397225897","filename":"file2"},{"photo_id":"1397225900","filename":"file4"},{"photo_id":"1397225895","filename":"file1"},{"photo_id":"1397225888","filename":"file0"},{"photo_id":"1397225898","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397225888":["hashtag1","hashtag2"]},{"1397225897":["hashtag1","hashtag2"]},{"1397225900":["hashtag1","hashtag2"]},{"1397225895":["hashtag1","hashtag2"]},{"1397225898":["hashtag1","hashtag2"]},{"1397225902":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397225888, 1397225897, 1397225900, 1397225895, 1397225898, 1397225902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.389965534210205 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-01 14:03:31.938164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_32_1524.jpg', '/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_34_2670.jpg', '/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_37_2591.jpg', '/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_40_2734.jpg', '/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_43_3658.jpg', '/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_49_5326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_32_1524.jpg
/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_34_2670.jpg
/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_37_2591.jpg
/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_40_2734.jpg
/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_43_3658.jpg
/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_49_5326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397225910","1397225942","1397225945","1397225939","1397225936","1397225944"],"photo_ids_order":["1397225910","1397225936","1397225939","1397225942","1397225944","1397225945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7372fa1f48c2d72dfa0b17bdd14cb2ed.jpg","text":"TemporaryFile(/tmp/multipartBody9123121401373545384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594273716,"filename":"image_25112025_22_44_32_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/1/d21389db498565634c8ae5ee464f6c57.jpg","text":"TemporaryFile(/tmp/multipartBody7731703451269694414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594273716,"filename":"image_25112025_22_44_40_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/1/acc6b2bcd828314b6592c31a19d38fc7.jpg","text":"TemporaryFile(/tmp/multipartBody1590901234669656146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594273716,"filename":"image_25112025_22_44_49_5326.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5b8a22acfc397acee8786719d5317407.jpg","text":"TemporaryFile(/tmp/multipartBody5652950925310666539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594273716,"filename":"image_25112025_22_44_37_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/1/b67b3514eca2e83201931da5402ed20c.jpg","text":"TemporaryFile(/tmp/multipartBody4037239339313574622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594273716,"filename":"image_25112025_22_44_34_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3910434787fd2eabfb6b66139a772477.jpg","text":"TemporaryFile(/tmp/multipartBody2041522979251642112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594273716,"filename":"image_25112025_22_44_43_3658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397225939","file1":"1397225936","file0":"1397225910","file4":"1397225944","file5":"1397225945","file3":"1397225942"},"map_files_photo_id_array":[{"photo_id":"1397225945","filename":"file5"},{"photo_id":"1397225939","filename":"file2"},{"photo_id":"1397225944","filename":"file4"},{"photo_id":"1397225936","filename":"file1"},{"photo_id":"1397225910","filename":"file0"},{"photo_id":"1397225942","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397225910":["hashtag1","hashtag2"]},{"1397225942":["hashtag1","hashtag2"]},{"1397225945":["hashtag1","hashtag2"]},{"1397225939":["hashtag1","hashtag2"]},{"1397225936":["hashtag1","hashtag2"]},{"1397225944":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397225910, 1397225942, 1397225945, 1397225939, 1397225936, 1397225944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.747384548187256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 14:04:12.149937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_50_1613.jpg', '/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_52_1568.jpg', '/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_55_2584.jpg', '/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_07_3010.jpg', '/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_11_3754.jpg', '/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_13_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_50_1613.jpg
/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_52_1568.jpg
/home/pi/Desktop/images/25112025/22/44/image_25112025_22_44_55_2584.jpg
/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_07_3010.jpg
/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_11_3754.jpg
/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_13_2608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397225967","1397225949","1397225957","1397225953","1397225947","1397225959"],"photo_ids_order":["1397225947","1397225949","1397225953","1397225957","1397225959","1397225967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/17a99184a897660b6e4c95c15438e7fd.jpg","text":"TemporaryFile(/tmp/multipartBody3857266918535721778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594313822,"filename":"image_25112025_22_45_13_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/1/3b622f1c17c62d47752d1889e76611e0.jpg","text":"TemporaryFile(/tmp/multipartBody4643572345503648289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594313822,"filename":"image_25112025_22_44_52_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/1/2e14e91fb8751d6464ba9f8e04390a3f.jpg","text":"TemporaryFile(/tmp/multipartBody6950845375651312433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594313822,"filename":"image_25112025_22_45_07_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fb050a3f01523f9fe070acf17c5fd1aa.jpg","text":"TemporaryFile(/tmp/multipartBody8431793242778302764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594313822,"filename":"image_25112025_22_44_55_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2803a3fc722ff56c1b7bdce9ec3cda2e.jpg","text":"TemporaryFile(/tmp/multipartBody2642305614926726507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594313822,"filename":"image_25112025_22_44_50_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/1/48409257100f0a2aafd2ad0cb0c7c1dc.jpg","text":"TemporaryFile(/tmp/multipartBody1277878955238148041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594313822,"filename":"image_25112025_22_45_11_3754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397225953","file1":"1397225949","file0":"1397225947","file4":"1397225959","file5":"1397225967","file3":"1397225957"},"map_files_photo_id_array":[{"photo_id":"1397225967","filename":"file5"},{"photo_id":"1397225953","filename":"file2"},{"photo_id":"1397225959","filename":"file4"},{"photo_id":"1397225949","filename":"file1"},{"photo_id":"1397225947","filename":"file0"},{"photo_id":"1397225957","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397225967":["hashtag1","hashtag2"]},{"1397225949":["hashtag1","hashtag2"]},{"1397225957":["hashtag1","hashtag2"]},{"1397225953":["hashtag1","hashtag2"]},{"1397225947":["hashtag1","hashtag2"]},{"1397225959":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397225967, 1397225949, 1397225957, 1397225953, 1397225947, 1397225959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.77637028694153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 14:05:02.967826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/54/image_01122025_12_54_24_9973.jpg', '/home/pi/Desktop/images/01122025/12/54/image_01122025_12_54_34_9879.jpg', '/home/pi/Desktop/images/01122025/12/54/image_01122025_12_54_45_10722.jpg', '/home/pi/Desktop/images/01122025/12/54/image_01122025_12_54_55_9816.jpg', '/home/pi/Desktop/images/01122025/12/54/image_01122025_12_55_05_9887.jpg', '/home/pi/Desktop/images/01122025/12/55/image_01122025_12_55_15_9984.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/54/image_01122025_12_54_24_9973.jpg
/home/pi/Desktop/images/01122025/12/54/image_01122025_12_54_34_9879.jpg
/home/pi/Desktop/images/01122025/12/54/image_01122025_12_54_45_10722.jpg
/home/pi/Desktop/images/01122025/12/54/image_01122025_12_54_55_9816.jpg
/home/pi/Desktop/images/01122025/12/54/image_01122025_12_55_05_9887.jpg
/home/pi/Desktop/images/01122025/12/55/image_01122025_12_55_15_9984.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397226018","1397226032","1397225998","1397226007","1397225994","1397226048"],"photo_ids_order":["1397225994","1397225998","1397226007","1397226018","1397226032","1397226048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c656f1f95ea0b1d0c01c4ca78379245f.jpg","text":"TemporaryFile(/tmp/multipartBody3470310695473652862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594363821,"filename":"image_01122025_12_54_55_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a8a362ec6f063e824916861f0773753f.jpg","text":"TemporaryFile(/tmp/multipartBody1568489251766646821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594363821,"filename":"image_01122025_12_55_05_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/71b5e9747b83ddc3a6fd0d46cbcf5379.jpg","text":"TemporaryFile(/tmp/multipartBody3074632163506154481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594363821,"filename":"image_01122025_12_54_34_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/1/bfef28b6850d68bc5dfbd44e9b3069b1.jpg","text":"TemporaryFile(/tmp/multipartBody5209760787192772681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594363821,"filename":"image_01122025_12_54_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/1/b819eaa8dbb82bbb81ec53e2475908c9.jpg","text":"TemporaryFile(/tmp/multipartBody2788599756043245949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594363821,"filename":"image_01122025_12_54_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/1/6880d35818ac54ca7187de7c7a073f39.jpg","text":"TemporaryFile(/tmp/multipartBody3487526860555294437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594363821,"filename":"image_01122025_12_55_15_9984.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397226007","file1":"1397225998","file0":"1397225994","file4":"1397226032","file5":"1397226048","file3":"1397226018"},"map_files_photo_id_array":[{"photo_id":"1397226048","filename":"file5"},{"photo_id":"1397226007","filename":"file2"},{"photo_id":"1397226032","filename":"file4"},{"photo_id":"1397225998","filename":"file1"},{"photo_id":"1397225994","filename":"file0"},{"photo_id":"1397226018","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397226018":["hashtag1","hashtag2"]},{"1397226032":["hashtag1","hashtag2"]},{"1397225998":["hashtag1","hashtag2"]},{"1397226007":["hashtag1","hashtag2"]},{"1397225994":["hashtag1","hashtag2"]},{"1397226048":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397226018, 1397226032, 1397225998, 1397226007, 1397225994, 1397226048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70469331741333 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-01 14:06:03.089343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/55/image_01122025_12_55_24_9855.jpg', '/home/pi/Desktop/images/01122025/12/55/image_01122025_12_55_34_9866.jpg', '/home/pi/Desktop/images/01122025/12/55/image_01122025_12_55_44_10150.jpg', '/home/pi/Desktop/images/01122025/12/55/image_01122025_12_55_54_9841.jpg', '/home/pi/Desktop/images/01122025/12/55/image_01122025_12_56_04_9827.jpg', '/home/pi/Desktop/images/01122025/12/56/image_01122025_12_56_15_10779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/55/image_01122025_12_55_24_9855.jpg
/home/pi/Desktop/images/01122025/12/55/image_01122025_12_55_34_9866.jpg
/home/pi/Desktop/images/01122025/12/55/image_01122025_12_55_44_10150.jpg
/home/pi/Desktop/images/01122025/12/55/image_01122025_12_55_54_9841.jpg
/home/pi/Desktop/images/01122025/12/55/image_01122025_12_56_04_9827.jpg
/home/pi/Desktop/images/01122025/12/56/image_01122025_12_56_15_10779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397226428","1397226448","1397226418","1397226403","1397226366","1397226435"],"photo_ids_order":["1397226366","1397226403","1397226418","1397226428","1397226435","1397226448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2145c69298162c8b63814aa1414cf8ae.jpg","text":"TemporaryFile(/tmp/multipartBody358774402789907176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594423866,"filename":"image_01122025_12_55_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/1/d7d125106c898ac2ab1ee2509e7f4596.jpg","text":"TemporaryFile(/tmp/multipartBody8170795815294505388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594423866,"filename":"image_01122025_12_56_15_10779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/290e6cf74f1baf80b5cfef4b8fdcd3e3.jpg","text":"TemporaryFile(/tmp/multipartBody1873599034423608198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594423866,"filename":"image_01122025_12_55_44_10150.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d3eab1f87b202a68e0504d27f5743ac9.jpg","text":"TemporaryFile(/tmp/multipartBody7956264119494756018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594423866,"filename":"image_01122025_12_55_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/1/1c687aaab435db84e36b8854b831206a.jpg","text":"TemporaryFile(/tmp/multipartBody6592524129844488520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594423866,"filename":"image_01122025_12_55_24_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/97ad8d3ef344352562e303cee11b2c6d.jpg","text":"TemporaryFile(/tmp/multipartBody332890830283847216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594423866,"filename":"image_01122025_12_56_04_9827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397226418","file1":"1397226403","file0":"1397226366","file4":"1397226435","file5":"1397226448","file3":"1397226428"},"map_files_photo_id_array":[{"photo_id":"1397226448","filename":"file5"},{"photo_id":"1397226418","filename":"file2"},{"photo_id":"1397226435","filename":"file4"},{"photo_id":"1397226403","filename":"file1"},{"photo_id":"1397226366","filename":"file0"},{"photo_id":"1397226428","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397226428":["hashtag1","hashtag2"]},{"1397226448":["hashtag1","hashtag2"]},{"1397226418":["hashtag1","hashtag2"]},{"1397226403":["hashtag1","hashtag2"]},{"1397226366":["hashtag1","hashtag2"]},{"1397226435":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397226428, 1397226448, 1397226418, 1397226403, 1397226366, 1397226435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.849520444869995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 14:06:42.629547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_11_2828.jpg', '/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_14_2881.jpg', '/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_17_2635.jpg', '/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_20_3662.jpg', '/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_23_2811.jpg', '/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_26_2538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_11_2828.jpg
/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_14_2881.jpg
/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_17_2635.jpg
/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_20_3662.jpg
/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_23_2811.jpg
/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_26_2538.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397226482","1397226485","1397226481","1397226472","1397226474","1397226468"],"photo_ids_order":["1397226468","1397226472","1397226474","1397226481","1397226482","1397226485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b02e9c779a7b83884ef970bd5ec32bcd.jpg","text":"TemporaryFile(/tmp/multipartBody6465223230466962395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594465285,"filename":"image_31102025_14_31_23_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/004be60d631b18743a4eb2f599046077.jpg","text":"TemporaryFile(/tmp/multipartBody3313824992600870632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594465285,"filename":"image_31102025_14_31_26_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/1/e1ee9c409463bcf4366e9aae465b1480.jpg","text":"TemporaryFile(/tmp/multipartBody2809619773738873703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594465285,"filename":"image_31102025_14_31_20_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/1/1ff2716a4993672c42dad3f66f975453.jpg","text":"TemporaryFile(/tmp/multipartBody7796652431940567592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594465285,"filename":"image_31102025_14_31_14_2881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8126dfa2a1c2452e217e41d30fa5350c.jpg","text":"TemporaryFile(/tmp/multipartBody3515564306335476854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594465285,"filename":"image_31102025_14_31_17_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/1/17651084a74d39be888c66a2cefcefc3.jpg","text":"TemporaryFile(/tmp/multipartBody8379010638551027391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594465285,"filename":"image_31102025_14_31_11_2828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397226474","file1":"1397226472","file0":"1397226468","file4":"1397226482","file5":"1397226485","file3":"1397226481"},"map_files_photo_id_array":[{"photo_id":"1397226485","filename":"file5"},{"photo_id":"1397226474","filename":"file2"},{"photo_id":"1397226482","filename":"file4"},{"photo_id":"1397226472","filename":"file1"},{"photo_id":"1397226468","filename":"file0"},{"photo_id":"1397226481","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397226482":["hashtag1","hashtag2"]},{"1397226485":["hashtag1","hashtag2"]},{"1397226481":["hashtag1","hashtag2"]},{"1397226472":["hashtag1","hashtag2"]},{"1397226474":["hashtag1","hashtag2"]},{"1397226468":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397226482, 1397226485, 1397226481, 1397226472, 1397226474, 1397226468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9049870967865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 14:07:22.765274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/56/image_01122025_12_56_24_9082.jpg', '/home/pi/Desktop/images/01122025/12/56/image_01122025_12_56_35_10806.jpg', '/home/pi/Desktop/images/01122025/12/56/image_01122025_12_56_44_9332.jpg', '/home/pi/Desktop/images/01122025/12/56/image_01122025_12_56_55_10697.jpg', '/home/pi/Desktop/images/01122025/12/56/image_01122025_12_57_04_9662.jpg', '/home/pi/Desktop/images/01122025/12/57/image_01122025_12_57_14_9999.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/56/image_01122025_12_56_24_9082.jpg
/home/pi/Desktop/images/01122025/12/56/image_01122025_12_56_35_10806.jpg
/home/pi/Desktop/images/01122025/12/56/image_01122025_12_56_44_9332.jpg
/home/pi/Desktop/images/01122025/12/56/image_01122025_12_56_55_10697.jpg
/home/pi/Desktop/images/01122025/12/56/image_01122025_12_57_04_9662.jpg
/home/pi/Desktop/images/01122025/12/57/image_01122025_12_57_14_9999.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397226525","1397226545","1397226548","1397226523","1397226540","1397226543"],"photo_ids_order":["1397226523","1397226525","1397226540","1397226543","1397226545","1397226548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2cc9a38c6898663ca1312e1fa7ad98fc.jpg","text":"TemporaryFile(/tmp/multipartBody6972000043543719311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594503510,"filename":"image_01122025_12_56_35_10806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bb03f40a7aeb435541d27d0a9de4c44e.jpg","text":"TemporaryFile(/tmp/multipartBody3612518526963543690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594503510,"filename":"image_01122025_12_57_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/1/086c4351964a2fb644a39c6b0eb13d78.jpg","text":"TemporaryFile(/tmp/multipartBody6396289980458231913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594503510,"filename":"image_01122025_12_57_14_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/1/59ffa8d0cdbb629d2a58cb298810ffc8.jpg","text":"TemporaryFile(/tmp/multipartBody3609970857104389328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594503510,"filename":"image_01122025_12_56_24_9082.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1dbba59cf0b14ea2058b7301352f96e2.jpg","text":"TemporaryFile(/tmp/multipartBody8247449129210413552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594503510,"filename":"image_01122025_12_56_44_9332.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/16bc16ae2417cc33b3c5687da07e9d0b.jpg","text":"TemporaryFile(/tmp/multipartBody3677969783732746368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594503510,"filename":"image_01122025_12_56_55_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397226540","file1":"1397226525","file0":"1397226523","file4":"1397226545","file5":"1397226548","file3":"1397226543"},"map_files_photo_id_array":[{"photo_id":"1397226548","filename":"file5"},{"photo_id":"1397226540","filename":"file2"},{"photo_id":"1397226545","filename":"file4"},{"photo_id":"1397226525","filename":"file1"},{"photo_id":"1397226523","filename":"file0"},{"photo_id":"1397226543","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397226525":["hashtag1","hashtag2"]},{"1397226545":["hashtag1","hashtag2"]},{"1397226548":["hashtag1","hashtag2"]},{"1397226523":["hashtag1","hashtag2"]},{"1397226540":["hashtag1","hashtag2"]},{"1397226543":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397226525, 1397226545, 1397226548, 1397226523, 1397226540, 1397226543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97935485839844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 14:08:02.345284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/57/image_01122025_12_57_25_10159.jpg', '/home/pi/Desktop/images/01122025/12/57/image_01122025_12_57_34_9730.jpg', '/home/pi/Desktop/images/01122025/12/57/image_01122025_12_57_44_9842.jpg', '/home/pi/Desktop/images/01122025/12/57/image_01122025_12_57_54_9752.jpg', '/home/pi/Desktop/images/01122025/12/57/image_01122025_12_58_05_10651.jpg', '/home/pi/Desktop/images/01122025/12/58/image_01122025_12_58_14_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/57/image_01122025_12_57_25_10159.jpg
/home/pi/Desktop/images/01122025/12/57/image_01122025_12_57_34_9730.jpg
/home/pi/Desktop/images/01122025/12/57/image_01122025_12_57_44_9842.jpg
/home/pi/Desktop/images/01122025/12/57/image_01122025_12_57_54_9752.jpg
/home/pi/Desktop/images/01122025/12/57/image_01122025_12_58_05_10651.jpg
/home/pi/Desktop/images/01122025/12/58/image_01122025_12_58_14_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397226766","1397226775","1397226745","1397226780","1397226783","1397226777"],"photo_ids_order":["1397226745","1397226766","1397226775","1397226777","1397226780","1397226783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ae5f280047009a6bcae61051f3d1886f.jpg","text":"TemporaryFile(/tmp/multipartBody2702006518972025780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594543145,"filename":"image_01122025_12_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/1/d4f51dd06235abc40b6d284bd8a195bd.jpg","text":"TemporaryFile(/tmp/multipartBody4657880956319072379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594543145,"filename":"image_01122025_12_57_44_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/86a719df6ec5d3db61301d2f40cca1b5.jpg","text":"TemporaryFile(/tmp/multipartBody776769911354554615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594543145,"filename":"image_01122025_12_57_25_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/1/0d42f4ac1d32c5b8b14a334128390bcb.jpg","text":"TemporaryFile(/tmp/multipartBody5295230686938372460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594543145,"filename":"image_01122025_12_58_05_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/1/1603660f6b1d34bf409d943892903eb2.jpg","text":"TemporaryFile(/tmp/multipartBody5209015827333189635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594543145,"filename":"image_01122025_12_58_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/1/d6c1bf01aa7d5cbc60c66e2fca690eb3.jpg","text":"TemporaryFile(/tmp/multipartBody1982835765064055981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594543145,"filename":"image_01122025_12_57_54_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397226775","file1":"1397226766","file0":"1397226745","file4":"1397226780","file5":"1397226783","file3":"1397226777"},"map_files_photo_id_array":[{"photo_id":"1397226783","filename":"file5"},{"photo_id":"1397226775","filename":"file2"},{"photo_id":"1397226780","filename":"file4"},{"photo_id":"1397226766","filename":"file1"},{"photo_id":"1397226745","filename":"file0"},{"photo_id":"1397226777","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397226766":["hashtag1","hashtag2"]},{"1397226775":["hashtag1","hashtag2"]},{"1397226745":["hashtag1","hashtag2"]},{"1397226780":["hashtag1","hashtag2"]},{"1397226783":["hashtag1","hashtag2"]},{"1397226777":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397226766, 1397226775, 1397226745, 1397226780, 1397226783, 1397226777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.185688972473145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 14:08:41.933944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_29_3683.jpg', '/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_32_2602.jpg', '/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_35_2754.jpg', '/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_38_3647.jpg', '/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_41_2616.jpg', '/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_44_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_29_3683.jpg
/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_32_2602.jpg
/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_35_2754.jpg
/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_38_3647.jpg
/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_41_2616.jpg
/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_44_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":["1397226837","1397226797","1397226812","1397226832","1397226841","1397226834"],"photo_ids_order":["1397226797","1397226812","1397226832","1397226834","1397226837","1397226841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b45d21b50e5920635e65b822ac692c57.jpg","text":"TemporaryFile(/tmp/multipartBody9008589139219867152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594584583,"filename":"image_31102025_14_31_41_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/50de6fb19ee374b182ef5f7f6494cfd1.jpg","text":"TemporaryFile(/tmp/multipartBody1538475348425130521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594584583,"filename":"image_31102025_14_31_29_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/1/a507b55ec2fc458c36154f2f417e35da.jpg","text":"TemporaryFile(/tmp/multipartBody2179014638562654323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594584583,"filename":"image_31102025_14_31_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/1/eb60827eb2d087545ccc9684667f8473.jpg","text":"TemporaryFile(/tmp/multipartBody6800761484161445379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594584583,"filename":"image_31102025_14_31_35_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/1/5e21bc40c733fef4c1987f385e7c23d9.jpg","text":"TemporaryFile(/tmp/multipartBody49822747355058746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594584583,"filename":"image_31102025_14_31_44_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/1/deaccac68883639d73fe39448ec4ee9c.jpg","text":"TemporaryFile(/tmp/multipartBody8075654687256562261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594584583,"filename":"image_31102025_14_31_38_3647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397226832","file1":"1397226812","file0":"1397226797","file4":"1397226837","file5":"1397226841","file3":"1397226834"},"map_files_photo_id_array":[{"photo_id":"1397226841","filename":"file5"},{"photo_id":"1397226832","filename":"file2"},{"photo_id":"1397226837","filename":"file4"},{"photo_id":"1397226812","filename":"file1"},{"photo_id":"1397226797","filename":"file0"},{"photo_id":"1397226834","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397226837":["hashtag1","hashtag2"]},{"1397226797":["hashtag1","hashtag2"]},{"1397226812":["hashtag1","hashtag2"]},{"1397226832":["hashtag1","hashtag2"]},{"1397226841":["hashtag1","hashtag2"]},{"1397226834":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397226837, 1397226797, 1397226812, 1397226832, 1397226841, 1397226834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.200201988220215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 14:09:21.967375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/58/image_01122025_12_58_25_10582.jpg', '/home/pi/Desktop/images/01122025/12/58/image_01122025_12_58_34_9520.jpg', '/home/pi/Desktop/images/01122025/12/58/image_01122025_12_58_44_9609.jpg', '/home/pi/Desktop/images/01122025/12/58/image_01122025_12_58_55_10639.jpg', '/home/pi/Desktop/images/01122025/12/58/image_01122025_12_59_04_9616.jpg', '/home/pi/Desktop/images/01122025/12/59/image_01122025_12_59_14_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/58/image_01122025_12_58_25_10582.jpg
/home/pi/Desktop/images/01122025/12/58/image_01122025_12_58_34_9520.jpg
/home/pi/Desktop/images/01122025/12/58/image_01122025_12_58_44_9609.jpg
/home/pi/Desktop/images/01122025/12/58/image_01122025_12_58_55_10639.jpg
/home/pi/Desktop/images/01122025/12/58/image_01122025_12_59_04_9616.jpg
/home/pi/Desktop/images/01122025/12/59/image_01122025_12_59_14_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":["1397226866","1397226857","1397226850","1397226853","1397226861","1397226846"],"photo_ids_order":["1397226846","1397226850","1397226853","1397226857","1397226861","1397226866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3b93f73f4f96b6e986b2f3aaf919b316.jpg","text":"TemporaryFile(/tmp/multipartBody3994621267446779259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594622649,"filename":"image_01122025_12_59_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/1/9907bed4373c44fb382c833d6861922a.jpg","text":"TemporaryFile(/tmp/multipartBody4667925800995187085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594622649,"filename":"image_01122025_12_58_55_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5dc0dc9576a84fe9748e23b64f7aa0a6.jpg","text":"TemporaryFile(/tmp/multipartBody1983347368182147369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594622649,"filename":"image_01122025_12_58_34_9520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8a0599d46c42b81b169bbdbd2c212bcf.jpg","text":"TemporaryFile(/tmp/multipartBody8637446606708143940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594622649,"filename":"image_01122025_12_58_44_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ba56719c4ae0cedd5e05c396d94e56dd.jpg","text":"TemporaryFile(/tmp/multipartBody5455264968849885827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594622649,"filename":"image_01122025_12_59_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/1/c011513965f9bc705e2024f15cfd2251.jpg","text":"TemporaryFile(/tmp/multipartBody6462073552028370144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594622649,"filename":"image_01122025_12_58_25_10582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397226853","file1":"1397226850","file0":"1397226846","file4":"1397226861","file5":"1397226866","file3":"1397226857"},"map_files_photo_id_array":[{"photo_id":"1397226866","filename":"file5"},{"photo_id":"1397226853","filename":"file2"},{"photo_id":"1397226861","filename":"file4"},{"photo_id":"1397226850","filename":"file1"},{"photo_id":"1397226846","filename":"file0"},{"photo_id":"1397226857","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397226866":["hashtag1","hashtag2"]},{"1397226857":["hashtag1","hashtag2"]},{"1397226850":["hashtag1","hashtag2"]},{"1397226853":["hashtag1","hashtag2"]},{"1397226861":["hashtag1","hashtag2"]},{"1397226846":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397226866, 1397226857, 1397226850, 1397226853, 1397226861, 1397226846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.056429624557495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 14:10:02.703789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/12/59/image_01122025_12_59_25_10640.jpg', '/home/pi/Desktop/images/01122025/12/59/image_01122025_12_59_35_9977.jpg', '/home/pi/Desktop/images/01122025/12/59/image_01122025_12_59_44_9647.jpg', '/home/pi/Desktop/images/01122025/12/59/image_01122025_12_59_54_9727.jpg', '/home/pi/Desktop/images/01122025/13/00/image_01122025_13_00_14_10057.jpg', '/home/pi/Desktop/images/01122025/13/00/image_01122025_13_00_25_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/12/59/image_01122025_12_59_25_10640.jpg
/home/pi/Desktop/images/01122025/12/59/image_01122025_12_59_35_9977.jpg
/home/pi/Desktop/images/01122025/12/59/image_01122025_12_59_44_9647.jpg
/home/pi/Desktop/images/01122025/12/59/image_01122025_12_59_54_9727.jpg
/home/pi/Desktop/images/01122025/13/00/image_01122025_13_00_14_10057.jpg
/home/pi/Desktop/images/01122025/13/00/image_01122025_13_00_25_10664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397226899","1397226884","1397226872","1397226875","1397226878","1397226895"],"photo_ids_order":["1397226872","1397226875","1397226878","1397226884","1397226895","1397226899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9abfcbd2bab5c3fbbbf049debb132442.jpg","text":"TemporaryFile(/tmp/multipartBody8956780516842894751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594663451,"filename":"image_01122025_13_00_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/1/0ce2b1fc30d9a58d024c3de267b2494f.jpg","text":"TemporaryFile(/tmp/multipartBody4951238712182651462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594663451,"filename":"image_01122025_12_59_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/1/cc0011ce9a00f1e905e900baba030bb7.jpg","text":"TemporaryFile(/tmp/multipartBody6992773197835016293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594663451,"filename":"image_01122025_12_59_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/1/4bd89f04e5c1eb582df4d41086169c06.jpg","text":"TemporaryFile(/tmp/multipartBody1175226603642893192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594663451,"filename":"image_01122025_12_59_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/1/e8e5d5baf1d1d533ae2df1504562a33c.jpg","text":"TemporaryFile(/tmp/multipartBody7680271405078941135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594663451,"filename":"image_01122025_12_59_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/1/452901e0690400b5b8c06cf7edb07408.jpg","text":"TemporaryFile(/tmp/multipartBody1326494482540615570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594663451,"filename":"image_01122025_13_00_14_10057.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397226878","file1":"1397226875","file0":"1397226872","file4":"1397226895","file5":"1397226899","file3":"1397226884"},"map_files_photo_id_array":[{"photo_id":"1397226899","filename":"file5"},{"photo_id":"1397226878","filename":"file2"},{"photo_id":"1397226895","filename":"file4"},{"photo_id":"1397226875","filename":"file1"},{"photo_id":"1397226872","filename":"file0"},{"photo_id":"1397226884","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397226899":["hashtag1","hashtag2"]},{"1397226884":["hashtag1","hashtag2"]},{"1397226872":["hashtag1","hashtag2"]},{"1397226875":["hashtag1","hashtag2"]},{"1397226878":["hashtag1","hashtag2"]},{"1397226895":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397226899, 1397226884, 1397226872, 1397226875, 1397226878, 1397226895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15775203704834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 14:10:42.330906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_47_3624.jpg', '/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_50_2654.jpg', '/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_53_2725.jpg', '/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_56_3711.jpg', '/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_59_2634.jpg', '/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_02_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_47_3624.jpg
/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_50_2654.jpg
/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_53_2725.jpg
/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_56_3711.jpg
/home/pi/Desktop/images/31102025/14/31/image_31102025_14_31_59_2634.jpg
/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_02_2690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397226921","1397226917","1397226911","1397226914","1397226908","1397226912"],"photo_ids_order":["1397226908","1397226911","1397226912","1397226914","1397226917","1397226921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/deb414864880868a512de7ce5d0b64f6.jpg","text":"TemporaryFile(/tmp/multipartBody3138634280734030357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594705026,"filename":"image_31102025_14_32_02_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/1/4472318259268518659b358345463fe5.jpg","text":"TemporaryFile(/tmp/multipartBody3470456121348386871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594705026,"filename":"image_31102025_14_31_59_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/417101a4dd0942fe4da37e11c241a247.jpg","text":"TemporaryFile(/tmp/multipartBody3868873526665670797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594705026,"filename":"image_31102025_14_31_50_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/1/5e69e861c67f92dde7216d03c9112348.jpg","text":"TemporaryFile(/tmp/multipartBody7497202439401805232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594705026,"filename":"image_31102025_14_31_56_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/1/57294599f393fdd69e65b3ec3467a20e.jpg","text":"TemporaryFile(/tmp/multipartBody7337011296385428876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594705026,"filename":"image_31102025_14_31_47_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/45bc16990ff65b95d340bf14fdc83547.jpg","text":"TemporaryFile(/tmp/multipartBody3221163804145137077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594705026,"filename":"image_31102025_14_31_53_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397226912","file1":"1397226911","file0":"1397226908","file4":"1397226917","file5":"1397226921","file3":"1397226914"},"map_files_photo_id_array":[{"photo_id":"1397226921","filename":"file5"},{"photo_id":"1397226912","filename":"file2"},{"photo_id":"1397226917","filename":"file4"},{"photo_id":"1397226911","filename":"file1"},{"photo_id":"1397226908","filename":"file0"},{"photo_id":"1397226914","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397226921":["hashtag1","hashtag2"]},{"1397226917":["hashtag1","hashtag2"]},{"1397226911":["hashtag1","hashtag2"]},{"1397226914":["hashtag1","hashtag2"]},{"1397226908":["hashtag1","hashtag2"]},{"1397226912":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397226921, 1397226917, 1397226911, 1397226914, 1397226908, 1397226912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.39905405044556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 14:11:32.499482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_16_2783.jpg', '/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_20_3779.jpg', '/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_23_2666.jpg', '/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_25_2656.jpg', '/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_28_2790.jpg', '/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_32_3684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_16_2783.jpg
/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_20_3779.jpg
/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_23_2666.jpg
/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_25_2656.jpg
/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_28_2790.jpg
/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_32_3684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397226971","1397226970","1397226955","1397226969","1397226957","1397226951"],"photo_ids_order":["1397226951","1397226955","1397226957","1397226969","1397226970","1397226971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fcdd2852ff94948cd522541f6629073e.jpg","text":"TemporaryFile(/tmp/multipartBody4599948947140375955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594754298,"filename":"image_25112025_22_45_32_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3e998b40558abc90818a2ed1045adeff.jpg","text":"TemporaryFile(/tmp/multipartBody6024028684011416842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594754298,"filename":"image_25112025_22_45_28_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/1/4854fc937325d1fc690471b516074870.jpg","text":"TemporaryFile(/tmp/multipartBody3014430455859996153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594754298,"filename":"image_25112025_22_45_20_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/1/5e1db493bde59d900c82cfef9a5d91c6.jpg","text":"TemporaryFile(/tmp/multipartBody8325302852963934561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594754298,"filename":"image_25112025_22_45_25_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/1/e28ed5cfd72631a89e47e14eb3330962.jpg","text":"TemporaryFile(/tmp/multipartBody3811160965957993356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594754298,"filename":"image_25112025_22_45_23_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d0481628b9d469d3a5495c187f324a82.jpg","text":"TemporaryFile(/tmp/multipartBody8632265443786664033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594754298,"filename":"image_25112025_22_45_16_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397226957","file1":"1397226955","file0":"1397226951","file4":"1397226970","file5":"1397226971","file3":"1397226969"},"map_files_photo_id_array":[{"photo_id":"1397226971","filename":"file5"},{"photo_id":"1397226957","filename":"file2"},{"photo_id":"1397226970","filename":"file4"},{"photo_id":"1397226955","filename":"file1"},{"photo_id":"1397226951","filename":"file0"},{"photo_id":"1397226969","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397226971":["hashtag1","hashtag2"]},{"1397226970":["hashtag1","hashtag2"]},{"1397226955":["hashtag1","hashtag2"]},{"1397226969":["hashtag1","hashtag2"]},{"1397226957":["hashtag1","hashtag2"]},{"1397226951":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397226971, 1397226970, 1397226955, 1397226969, 1397226957, 1397226951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.462350845336914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 14:12:12.619566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_34_2452.jpg', '/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_40_2628.jpg', '/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_43_2694.jpg', '/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_47_3625.jpg', '/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_49_2614.jpg', '/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_53_3569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_34_2452.jpg
/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_40_2628.jpg
/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_43_2694.jpg
/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_47_3625.jpg
/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_49_2614.jpg
/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_53_3569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397226974","1397226977","1397226982","1397227006","1397227011","1397227014"],"photo_ids_order":["1397226974","1397226977","1397226982","1397227006","1397227011","1397227014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/415e15b9006f82f99372fcbcc0096b79.jpg","text":"TemporaryFile(/tmp/multipartBody4612979664786612206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594794271,"filename":"image_25112025_22_45_34_2452.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/79d12e56b4d60641e11d976ed5d1a3ee.jpg","text":"TemporaryFile(/tmp/multipartBody402929700203044807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594794271,"filename":"image_25112025_22_45_40_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/1/e716a256460475686958de5a7a92307e.jpg","text":"TemporaryFile(/tmp/multipartBody6136922517993390753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594794271,"filename":"image_25112025_22_45_43_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/1/1c927fe8969fe8c45960d90d37ab7559.jpg","text":"TemporaryFile(/tmp/multipartBody7995200773709430477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594794271,"filename":"image_25112025_22_45_47_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/1/f59173a47ee21b0677854c16e5b8f97c.jpg","text":"TemporaryFile(/tmp/multipartBody2740018219117435019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594794271,"filename":"image_25112025_22_45_49_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/1/3c54a0fd7cbe9361a6408ba8f1ef86b9.jpg","text":"TemporaryFile(/tmp/multipartBody8415835546269576968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594794271,"filename":"image_25112025_22_45_53_3569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397226982","file1":"1397226977","file0":"1397226974","file4":"1397227011","file5":"1397227014","file3":"1397227006"},"map_files_photo_id_array":[{"photo_id":"1397227014","filename":"file5"},{"photo_id":"1397226982","filename":"file2"},{"photo_id":"1397227011","filename":"file4"},{"photo_id":"1397226977","filename":"file1"},{"photo_id":"1397226974","filename":"file0"},{"photo_id":"1397227006","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397226974":["hashtag1","hashtag2"]},{"1397226977":["hashtag1","hashtag2"]},{"1397226982":["hashtag1","hashtag2"]},{"1397227006":["hashtag1","hashtag2"]},{"1397227011":["hashtag1","hashtag2"]},{"1397227014":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397226974, 1397226977, 1397226982, 1397227006, 1397227011, 1397227014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97989463806152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 14:13:02.612359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/00/image_01122025_13_00_34_9686.jpg', '/home/pi/Desktop/images/01122025/13/00/image_01122025_13_00_44_9712.jpg', '/home/pi/Desktop/images/01122025/13/00/image_01122025_13_00_55_10768.jpg', '/home/pi/Desktop/images/01122025/13/01/image_01122025_13_01_14_9679.jpg', '/home/pi/Desktop/images/01122025/13/01/image_01122025_13_01_25_10652.jpg', '/home/pi/Desktop/images/01122025/13/01/image_01122025_13_01_35_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/00/image_01122025_13_00_34_9686.jpg
/home/pi/Desktop/images/01122025/13/00/image_01122025_13_00_44_9712.jpg
/home/pi/Desktop/images/01122025/13/00/image_01122025_13_00_55_10768.jpg
/home/pi/Desktop/images/01122025/13/01/image_01122025_13_01_14_9679.jpg
/home/pi/Desktop/images/01122025/13/01/image_01122025_13_01_25_10652.jpg
/home/pi/Desktop/images/01122025/13/01/image_01122025_13_01_35_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":["1397227034","1397227031","1397227159","1397227080","1397227041","1397227119"],"photo_ids_order":["1397227031","1397227034","1397227041","1397227080","1397227119","1397227159"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4ef2898e46ce6685f8e5d239338ac807.jpg","text":"TemporaryFile(/tmp/multipartBody8791814489801049090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594843401,"filename":"image_01122025_13_00_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/1/7a470edc16f56f4f6194573f381a2255.jpg","text":"TemporaryFile(/tmp/multipartBody1079268961923958423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594843401,"filename":"image_01122025_13_00_34_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b390e549efb68f0dfdbcf41e512f1926.jpg","text":"TemporaryFile(/tmp/multipartBody2699815532186588662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594843401,"filename":"image_01122025_13_01_35_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/1/8ffa3d9f5a202f44c6c741e4078ecfbb.jpg","text":"TemporaryFile(/tmp/multipartBody8031960731376056526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594843401,"filename":"image_01122025_13_01_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/1/1b3871dde7d102cc39aee3ef8080adab.jpg","text":"TemporaryFile(/tmp/multipartBody4653200128201205699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594843401,"filename":"image_01122025_13_00_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/1/664c947f016aa64fd95baf8bf03c20f9.jpg","text":"TemporaryFile(/tmp/multipartBody7566711805753164120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594843401,"filename":"image_01122025_13_01_25_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397227041","file1":"1397227034","file0":"1397227031","file4":"1397227119","file5":"1397227159","file3":"1397227080"},"map_files_photo_id_array":[{"photo_id":"1397227159","filename":"file5"},{"photo_id":"1397227041","filename":"file2"},{"photo_id":"1397227119","filename":"file4"},{"photo_id":"1397227034","filename":"file1"},{"photo_id":"1397227031","filename":"file0"},{"photo_id":"1397227080","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397227034":["hashtag1","hashtag2"]},{"1397227031":["hashtag1","hashtag2"]},{"1397227159":["hashtag1","hashtag2"]},{"1397227080":["hashtag1","hashtag2"]},{"1397227041":["hashtag1","hashtag2"]},{"1397227119":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397227034, 1397227031, 1397227159, 1397227080, 1397227041, 1397227119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16948747634888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 14:13:42.103677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_05_3707.jpg', '/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_08_2685.jpg', '/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_11_2729.jpg', '/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_14_2681.jpg', '/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_17_2961.jpg', '/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_20_3634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_05_3707.jpg
/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_08_2685.jpg
/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_11_2729.jpg
/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_14_2681.jpg
/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_17_2961.jpg
/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_20_3634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397227208","1397227211","1397227195","1397227207","1397227194","1397227181"],"photo_ids_order":["1397227181","1397227194","1397227195","1397227207","1397227208","1397227211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f2c8a370742f0583853d0d43db7195ad.jpg","text":"TemporaryFile(/tmp/multipartBody3499496309444585258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594884776,"filename":"image_31102025_14_32_17_2961.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d1528e55605553ab26c09d85fb3fca64.jpg","text":"TemporaryFile(/tmp/multipartBody6168339796018781358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594884776,"filename":"image_31102025_14_32_20_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/1/ef3adc66dcd3ef21ca6fcff5eed882ad.jpg","text":"TemporaryFile(/tmp/multipartBody1567712869011592986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594884776,"filename":"image_31102025_14_32_11_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/1/8dbac5015e07b97ef7439921725e4f4f.jpg","text":"TemporaryFile(/tmp/multipartBody8243626235289975086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594884776,"filename":"image_31102025_14_32_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/1/6abb92b9e79f61cc20d058dd3ca70abf.jpg","text":"TemporaryFile(/tmp/multipartBody8295148696971876891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594884776,"filename":"image_31102025_14_32_08_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9e624a12bcde65ab27385a50ed981185.jpg","text":"TemporaryFile(/tmp/multipartBody8170654375255439666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594884776,"filename":"image_31102025_14_32_05_3707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397227195","file1":"1397227194","file0":"1397227181","file4":"1397227208","file5":"1397227211","file3":"1397227207"},"map_files_photo_id_array":[{"photo_id":"1397227211","filename":"file5"},{"photo_id":"1397227195","filename":"file2"},{"photo_id":"1397227208","filename":"file4"},{"photo_id":"1397227194","filename":"file1"},{"photo_id":"1397227181","filename":"file0"},{"photo_id":"1397227207","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397227208":["hashtag1","hashtag2"]},{"1397227211":["hashtag1","hashtag2"]},{"1397227195":["hashtag1","hashtag2"]},{"1397227207":["hashtag1","hashtag2"]},{"1397227194":["hashtag1","hashtag2"]},{"1397227181":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397227208, 1397227211, 1397227195, 1397227207, 1397227194, 1397227181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.814369201660156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 14:14:32.280209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_55_2621.jpg', '/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_58_2775.jpg', '/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_02_3570.jpg', '/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_04_2674.jpg', '/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_11_3499.jpg', '/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_13_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_55_2621.jpg
/home/pi/Desktop/images/25112025/22/45/image_25112025_22_45_58_2775.jpg
/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_02_3570.jpg
/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_04_2674.jpg
/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_11_3499.jpg
/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_13_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":["1397227381","1397227297","1397227299","1397227281","1397227283","1397227277"],"photo_ids_order":["1397227277","1397227281","1397227283","1397227297","1397227299","1397227381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/13834be0e772f79040a2c1f2a8b1fab8.jpg","text":"TemporaryFile(/tmp/multipartBody509989682866219688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594934032,"filename":"image_25112025_22_46_13_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/1/5523294f7ac9efbb1e870d9ad5a37d7c.jpg","text":"TemporaryFile(/tmp/multipartBody3875693280743270518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594934032,"filename":"image_25112025_22_46_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/1/a798d5526e1ae49c51d39afec24ecf47.jpg","text":"TemporaryFile(/tmp/multipartBody8885299558015466923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594934032,"filename":"image_25112025_22_46_11_3499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7e4e8d00524fc04635f2a48c47dc0364.jpg","text":"TemporaryFile(/tmp/multipartBody3134891157326362470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594934032,"filename":"image_25112025_22_45_58_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c4f5850f46149d31596849319b8d2a22.jpg","text":"TemporaryFile(/tmp/multipartBody7413023242879435213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594934032,"filename":"image_25112025_22_46_02_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/1/5874f9677df32c5f6939b55fe3bdd302.jpg","text":"TemporaryFile(/tmp/multipartBody1190405056516333667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594934032,"filename":"image_25112025_22_45_55_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397227283","file1":"1397227281","file0":"1397227277","file4":"1397227299","file5":"1397227381","file3":"1397227297"},"map_files_photo_id_array":[{"photo_id":"1397227381","filename":"file5"},{"photo_id":"1397227283","filename":"file2"},{"photo_id":"1397227299","filename":"file4"},{"photo_id":"1397227281","filename":"file1"},{"photo_id":"1397227277","filename":"file0"},{"photo_id":"1397227297","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397227381":["hashtag1","hashtag2"]},{"1397227297":["hashtag1","hashtag2"]},{"1397227299":["hashtag1","hashtag2"]},{"1397227281":["hashtag1","hashtag2"]},{"1397227283":["hashtag1","hashtag2"]},{"1397227277":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397227381, 1397227297, 1397227299, 1397227281, 1397227283, 1397227277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84418034553528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 14:15:12.360143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_16_2718.jpg', '/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_20_3597.jpg', '/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_22_2759.jpg', '/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_25_2577.jpg', '/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_29_3699.jpg', '/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_31_2763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_16_2718.jpg
/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_20_3597.jpg
/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_22_2759.jpg
/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_25_2577.jpg
/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_29_3699.jpg
/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_31_2763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397227478","1397227510","1397227464","1397227473","1397227506","1397227481"],"photo_ids_order":["1397227464","1397227473","1397227478","1397227481","1397227506","1397227510"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c5f4e994e91f8d11cb5d58816e596ff3.jpg","text":"TemporaryFile(/tmp/multipartBody4943429738546767530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594974020,"filename":"image_25112025_22_46_22_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d8d75a290abe6d5f90840f4f8317e1c6.jpg","text":"TemporaryFile(/tmp/multipartBody5419825349655878661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594974020,"filename":"image_25112025_22_46_31_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/1/2af2174847ede502e6e591286387a54b.jpg","text":"TemporaryFile(/tmp/multipartBody2699649716234557740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594974020,"filename":"image_25112025_22_46_16_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/1/9b2dc6c3dd5292374dac2bb486c8e47c.jpg","text":"TemporaryFile(/tmp/multipartBody6710356639551918562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594974020,"filename":"image_25112025_22_46_20_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/1/586db7a45c3f7a8bba082db74aca8ea8.jpg","text":"TemporaryFile(/tmp/multipartBody5089776178806203525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594974020,"filename":"image_25112025_22_46_29_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/1/2ffd2c919650ececcf8da16c766f02dc.jpg","text":"TemporaryFile(/tmp/multipartBody3213842200553619014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764594974020,"filename":"image_25112025_22_46_25_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397227478","file1":"1397227473","file0":"1397227464","file4":"1397227506","file5":"1397227510","file3":"1397227481"},"map_files_photo_id_array":[{"photo_id":"1397227510","filename":"file5"},{"photo_id":"1397227478","filename":"file2"},{"photo_id":"1397227506","filename":"file4"},{"photo_id":"1397227473","filename":"file1"},{"photo_id":"1397227464","filename":"file0"},{"photo_id":"1397227481","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397227478":["hashtag1","hashtag2"]},{"1397227510":["hashtag1","hashtag2"]},{"1397227464":["hashtag1","hashtag2"]},{"1397227473":["hashtag1","hashtag2"]},{"1397227506":["hashtag1","hashtag2"]},{"1397227481":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397227478, 1397227510, 1397227464, 1397227473, 1397227506, 1397227481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.190319538116455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 14:16:03.136599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/01/image_01122025_13_01_44_9891.jpg', '/home/pi/Desktop/images/01122025/13/01/image_01122025_13_01_54_9706.jpg', '/home/pi/Desktop/images/01122025/13/01/image_01122025_13_02_05_10607.jpg', '/home/pi/Desktop/images/01122025/13/02/image_01122025_13_02_14_9590.jpg', '/home/pi/Desktop/images/01122025/13/02/image_01122025_13_02_25_10575.jpg', '/home/pi/Desktop/images/01122025/13/02/image_01122025_13_02_34_9538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/01/image_01122025_13_01_44_9891.jpg
/home/pi/Desktop/images/01122025/13/01/image_01122025_13_01_54_9706.jpg
/home/pi/Desktop/images/01122025/13/01/image_01122025_13_02_05_10607.jpg
/home/pi/Desktop/images/01122025/13/02/image_01122025_13_02_14_9590.jpg
/home/pi/Desktop/images/01122025/13/02/image_01122025_13_02_25_10575.jpg
/home/pi/Desktop/images/01122025/13/02/image_01122025_13_02_34_9538.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397227583","1397227609","1397227612","1397227606","1397227617","1397227571"],"photo_ids_order":["1397227571","1397227583","1397227606","1397227609","1397227612","1397227617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2aa362a5346fb232ca338afd26dc902d.jpg","text":"TemporaryFile(/tmp/multipartBody7624112207703209209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595023868,"filename":"image_01122025_13_01_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/1/3363fea4abcfab773aa37b2148c7e462.jpg","text":"TemporaryFile(/tmp/multipartBody837755370919191473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595023868,"filename":"image_01122025_13_02_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/1/ae657cb97e19d79f9bda86ad7df1a227.jpg","text":"TemporaryFile(/tmp/multipartBody5571742218444272313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595023868,"filename":"image_01122025_13_02_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/1/004f12e3b9487061b8b264956e4e4500.jpg","text":"TemporaryFile(/tmp/multipartBody4949258327634171220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595023868,"filename":"image_01122025_13_02_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/1/3a89ea8a604c0ebd4e800a372ec41e04.jpg","text":"TemporaryFile(/tmp/multipartBody838606282605549872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595023868,"filename":"image_01122025_13_02_34_9538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/431c112212bc761e8d079315ed0fadbc.jpg","text":"TemporaryFile(/tmp/multipartBody7661564980064616533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595023868,"filename":"image_01122025_13_01_44_9891.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397227606","file1":"1397227583","file0":"1397227571","file4":"1397227612","file5":"1397227617","file3":"1397227609"},"map_files_photo_id_array":[{"photo_id":"1397227617","filename":"file5"},{"photo_id":"1397227606","filename":"file2"},{"photo_id":"1397227612","filename":"file4"},{"photo_id":"1397227583","filename":"file1"},{"photo_id":"1397227571","filename":"file0"},{"photo_id":"1397227609","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397227583":["hashtag1","hashtag2"]},{"1397227609":["hashtag1","hashtag2"]},{"1397227612":["hashtag1","hashtag2"]},{"1397227606":["hashtag1","hashtag2"]},{"1397227617":["hashtag1","hashtag2"]},{"1397227571":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397227583, 1397227609, 1397227612, 1397227606, 1397227617, 1397227571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.213035345077515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 14:16:42.711691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_23_2687.jpg', '/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_26_3591.jpg', '/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_29_2548.jpg', '/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_32_2751.jpg', '/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_35_3635.jpg', '/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_38_2771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_23_2687.jpg
/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_26_3591.jpg
/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_29_2548.jpg
/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_32_2751.jpg
/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_35_3635.jpg
/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_38_2771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397227715","1397227717","1397227711","1397227719","1397227713","1397227707"],"photo_ids_order":["1397227707","1397227711","1397227713","1397227715","1397227717","1397227719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a1603a4e3fba1dd2af38e68e006804f3.jpg","text":"TemporaryFile(/tmp/multipartBody6355832396314352146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595065399,"filename":"image_31102025_14_32_32_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/1/83e4242e7cc5b216b0e3b9fe17aee926.jpg","text":"TemporaryFile(/tmp/multipartBody8058109231887776217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595065399,"filename":"image_31102025_14_32_35_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/1/db0d272049b0a5162b4cac360c9e0ae8.jpg","text":"TemporaryFile(/tmp/multipartBody1863812811759031870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595065399,"filename":"image_31102025_14_32_26_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/1/1c7902e37eb57b0f7bb0e0646e6b8ba1.jpg","text":"TemporaryFile(/tmp/multipartBody6253204404584594973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595065399,"filename":"image_31102025_14_32_38_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/1/9f48b6f7881a5257d959b1ca1e31e014.jpg","text":"TemporaryFile(/tmp/multipartBody2880708738421898604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595065399,"filename":"image_31102025_14_32_29_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/1/e19267300171e945eea15a5a58d9b3a0.jpg","text":"TemporaryFile(/tmp/multipartBody1540060891428531751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595065399,"filename":"image_31102025_14_32_23_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397227713","file1":"1397227711","file0":"1397227707","file4":"1397227717","file5":"1397227719","file3":"1397227715"},"map_files_photo_id_array":[{"photo_id":"1397227719","filename":"file5"},{"photo_id":"1397227713","filename":"file2"},{"photo_id":"1397227717","filename":"file4"},{"photo_id":"1397227711","filename":"file1"},{"photo_id":"1397227707","filename":"file0"},{"photo_id":"1397227715","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397227715":["hashtag1","hashtag2"]},{"1397227717":["hashtag1","hashtag2"]},{"1397227711":["hashtag1","hashtag2"]},{"1397227719":["hashtag1","hashtag2"]},{"1397227713":["hashtag1","hashtag2"]},{"1397227707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397227715, 1397227717, 1397227711, 1397227719, 1397227713, 1397227707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.717073917388916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 14:17:31.908572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_34_2784.jpg', '/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_37_2765.jpg', '/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_41_3778.jpg', '/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_43_2713.jpg', '/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_46_2568.jpg', '/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_49_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_34_2784.jpg
/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_37_2765.jpg
/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_41_3778.jpg
/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_43_2713.jpg
/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_46_2568.jpg
/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_49_2732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397227811","1397227828","1397227807","1397227804","1397227830","1397227815"],"photo_ids_order":["1397227804","1397227807","1397227811","1397227815","1397227828","1397227830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b477224b4f6252410d9bf675d1fea252.jpg","text":"TemporaryFile(/tmp/multipartBody7972304203462071708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595113646,"filename":"image_25112025_22_46_41_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/1/e4d270efa9289df0f28835663dce8929.jpg","text":"TemporaryFile(/tmp/multipartBody3748231668752445824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595113646,"filename":"image_25112025_22_46_46_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/1/1eeda40ac1f0f93c3b0419c58336bd68.jpg","text":"TemporaryFile(/tmp/multipartBody3756148322371635356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595113646,"filename":"image_25112025_22_46_37_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/1/5d5b1624420fee944d7d12c1f5c7cd8a.jpg","text":"TemporaryFile(/tmp/multipartBody7456770202779238791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595113646,"filename":"image_25112025_22_46_34_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7de3c098acba09bfdd3c9e7ff42f3a91.jpg","text":"TemporaryFile(/tmp/multipartBody6479539161101804970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595113646,"filename":"image_25112025_22_46_49_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/1/548886bfe95bd3a0f698b79f1eb553f7.jpg","text":"TemporaryFile(/tmp/multipartBody217971397085707901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595113646,"filename":"image_25112025_22_46_43_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397227811","file1":"1397227807","file0":"1397227804","file4":"1397227828","file5":"1397227830","file3":"1397227815"},"map_files_photo_id_array":[{"photo_id":"1397227830","filename":"file5"},{"photo_id":"1397227811","filename":"file2"},{"photo_id":"1397227828","filename":"file4"},{"photo_id":"1397227807","filename":"file1"},{"photo_id":"1397227804","filename":"file0"},{"photo_id":"1397227815","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397227811":["hashtag1","hashtag2"]},{"1397227828":["hashtag1","hashtag2"]},{"1397227807":["hashtag1","hashtag2"]},{"1397227804":["hashtag1","hashtag2"]},{"1397227830":["hashtag1","hashtag2"]},{"1397227815":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397227811, 1397227828, 1397227807, 1397227804, 1397227830, 1397227815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78669333457947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 14:18:12.693654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_56_3055.jpg', '/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_58_2694.jpg', '/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_01_2883.jpg', '/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_05_3594.jpg', '/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_07_2658.jpg', '/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_10_2483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_56_3055.jpg
/home/pi/Desktop/images/25112025/22/46/image_25112025_22_46_58_2694.jpg
/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_01_2883.jpg
/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_05_3594.jpg
/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_07_2658.jpg
/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_10_2483.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397227837","1397227834","1397227848","1397227842","1397227845","1397227839"],"photo_ids_order":["1397227834","1397227837","1397227839","1397227842","1397227845","1397227848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fdad11c134f44d044ddfd8faad333a9a.jpg","text":"TemporaryFile(/tmp/multipartBody1037974603979889584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595154371,"filename":"image_25112025_22_46_58_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6c28e064372d2ffe8a4d24a6b993bad2.jpg","text":"TemporaryFile(/tmp/multipartBody2898909387464446640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595154371,"filename":"image_25112025_22_46_56_3055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/93173eb879d701f214ecc496148112ad.jpg","text":"TemporaryFile(/tmp/multipartBody7697342707835216593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595154371,"filename":"image_25112025_22_47_10_2483.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/588ee550dfa04201f4a84284bd59c3dc.jpg","text":"TemporaryFile(/tmp/multipartBody4953119055968389153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595154371,"filename":"image_25112025_22_47_05_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/1/c1e69f63d33acdd8e4d7ee560bd2871a.jpg","text":"TemporaryFile(/tmp/multipartBody4909434399463787012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595154371,"filename":"image_25112025_22_47_07_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/1/5259dfe37c7a2e6cb270e19fa53d96c1.jpg","text":"TemporaryFile(/tmp/multipartBody5924504317493808275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595154371,"filename":"image_25112025_22_47_01_2883.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397227839","file1":"1397227837","file0":"1397227834","file4":"1397227845","file5":"1397227848","file3":"1397227842"},"map_files_photo_id_array":[{"photo_id":"1397227848","filename":"file5"},{"photo_id":"1397227839","filename":"file2"},{"photo_id":"1397227845","filename":"file4"},{"photo_id":"1397227837","filename":"file1"},{"photo_id":"1397227834","filename":"file0"},{"photo_id":"1397227842","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397227837":["hashtag1","hashtag2"]},{"1397227834":["hashtag1","hashtag2"]},{"1397227848":["hashtag1","hashtag2"]},{"1397227842":["hashtag1","hashtag2"]},{"1397227845":["hashtag1","hashtag2"]},{"1397227839":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397227837, 1397227834, 1397227848, 1397227842, 1397227845, 1397227839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74784255027771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 14:19:03.680413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/02/image_01122025_13_02_44_9594.jpg', '/home/pi/Desktop/images/01122025/13/02/image_01122025_13_02_55_10568.jpg', '/home/pi/Desktop/images/01122025/13/02/image_01122025_13_03_04_9771.jpg', '/home/pi/Desktop/images/01122025/13/03/image_01122025_13_03_14_9741.jpg', '/home/pi/Desktop/images/01122025/13/03/image_01122025_13_03_25_10468.jpg', '/home/pi/Desktop/images/01122025/13/03/image_01122025_13_03_34_9816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/02/image_01122025_13_02_44_9594.jpg
/home/pi/Desktop/images/01122025/13/02/image_01122025_13_02_55_10568.jpg
/home/pi/Desktop/images/01122025/13/02/image_01122025_13_03_04_9771.jpg
/home/pi/Desktop/images/01122025/13/03/image_01122025_13_03_14_9741.jpg
/home/pi/Desktop/images/01122025/13/03/image_01122025_13_03_25_10468.jpg
/home/pi/Desktop/images/01122025/13/03/image_01122025_13_03_34_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":["1397227862","1397227864","1397227872","1397227866","1397227869","1397227860"],"photo_ids_order":["1397227860","1397227862","1397227864","1397227866","1397227869","1397227872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3138aead52b80e6316818308c9275b60.jpg","text":"TemporaryFile(/tmp/multipartBody8010332090612995071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595204525,"filename":"image_01122025_13_02_55_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/64faa933da310f1744a5d597e319e1c4.jpg","text":"TemporaryFile(/tmp/multipartBody5478405973646349962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595204525,"filename":"image_01122025_13_03_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/1/df260c158fec66ab36089ea9e1e98c0b.jpg","text":"TemporaryFile(/tmp/multipartBody4494871976451159863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595204525,"filename":"image_01122025_13_03_34_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3c6c5b2e24ffe2dd0d801cfe9bc2721f.jpg","text":"TemporaryFile(/tmp/multipartBody8471519895420785577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595204525,"filename":"image_01122025_13_03_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/1/d7c409821a17362352d5b462c02b558f.jpg","text":"TemporaryFile(/tmp/multipartBody2832218255191733602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595204525,"filename":"image_01122025_13_03_25_10468.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3f6541ae2eae81356c87b3c00629151f.jpg","text":"TemporaryFile(/tmp/multipartBody4335793207900233458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595204525,"filename":"image_01122025_13_02_44_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397227864","file1":"1397227862","file0":"1397227860","file4":"1397227869","file5":"1397227872","file3":"1397227866"},"map_files_photo_id_array":[{"photo_id":"1397227872","filename":"file5"},{"photo_id":"1397227864","filename":"file2"},{"photo_id":"1397227869","filename":"file4"},{"photo_id":"1397227862","filename":"file1"},{"photo_id":"1397227860","filename":"file0"},{"photo_id":"1397227866","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397227862":["hashtag1","hashtag2"]},{"1397227864":["hashtag1","hashtag2"]},{"1397227872":["hashtag1","hashtag2"]},{"1397227866":["hashtag1","hashtag2"]},{"1397227869":["hashtag1","hashtag2"]},{"1397227860":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397227862, 1397227864, 1397227872, 1397227866, 1397227869, 1397227860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96093821525574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 14:19:42.790202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_41_2610.jpg', '/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_44_2790.jpg', '/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_47_3656.jpg', '/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_50_2617.jpg', '/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_53_2768.jpg', '/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_56_3783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_41_2610.jpg
/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_44_2790.jpg
/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_47_3656.jpg
/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_50_2617.jpg
/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_53_2768.jpg
/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_56_3783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397227894","1397227882","1397227885","1397227887","1397227889","1397227892"],"photo_ids_order":["1397227882","1397227885","1397227887","1397227889","1397227892","1397227894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/aecb576ee500c0fe78d941505e9cafcf.jpg","text":"TemporaryFile(/tmp/multipartBody2594330813633429331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595245475,"filename":"image_31102025_14_32_56_3783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0fa691932c07d897e81ab82eac044181.jpg","text":"TemporaryFile(/tmp/multipartBody5663580361422642332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595245475,"filename":"image_31102025_14_32_41_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/1/9ffe90c4664424420c33da3a2f53e4b4.jpg","text":"TemporaryFile(/tmp/multipartBody462862354376892261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595245475,"filename":"image_31102025_14_32_44_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/1/79b42fe23e0923b04de11b6f066ae071.jpg","text":"TemporaryFile(/tmp/multipartBody927125977759050079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595245475,"filename":"image_31102025_14_32_47_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/1/c4474d134ce8853a785d75036ebb74e3.jpg","text":"TemporaryFile(/tmp/multipartBody8731556319807376387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595245475,"filename":"image_31102025_14_32_50_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/1/35725a17d8b0ef058f9499a08c3af548.jpg","text":"TemporaryFile(/tmp/multipartBody1256659685419069302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595245475,"filename":"image_31102025_14_32_53_2768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397227887","file1":"1397227885","file0":"1397227882","file4":"1397227892","file5":"1397227894","file3":"1397227889"},"map_files_photo_id_array":[{"photo_id":"1397227894","filename":"file5"},{"photo_id":"1397227887","filename":"file2"},{"photo_id":"1397227892","filename":"file4"},{"photo_id":"1397227885","filename":"file1"},{"photo_id":"1397227882","filename":"file0"},{"photo_id":"1397227889","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397227894":["hashtag1","hashtag2"]},{"1397227882":["hashtag1","hashtag2"]},{"1397227885":["hashtag1","hashtag2"]},{"1397227887":["hashtag1","hashtag2"]},{"1397227889":["hashtag1","hashtag2"]},{"1397227892":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397227894, 1397227882, 1397227885, 1397227887, 1397227889, 1397227892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24627184867859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 14:20:31.971583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_13_3642.jpg', '/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_16_2623.jpg', '/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_20_3567.jpg', '/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_25_2524.jpg', '/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_28_3620.jpg', '/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_31_2552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_13_3642.jpg
/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_16_2623.jpg
/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_20_3567.jpg
/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_25_2524.jpg
/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_28_3620.jpg
/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_31_2552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397227937","1397227907","1397227935","1397227938","1397227917","1397227911"],"photo_ids_order":["1397227907","1397227911","1397227917","1397227935","1397227937","1397227938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/14f2a874fa2a85294386a0144c7e3b7f.jpg","text":"TemporaryFile(/tmp/multipartBody8730036484091940117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595293714,"filename":"image_25112025_22_47_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/1/92fd5fc8e1c11a5ae7802fb96dfbaa71.jpg","text":"TemporaryFile(/tmp/multipartBody7726156298925056525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595293714,"filename":"image_25112025_22_47_13_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/588b34fc37256f73a68f0da7b35b8c7d.jpg","text":"TemporaryFile(/tmp/multipartBody7757016553965685840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595293714,"filename":"image_25112025_22_47_25_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/1/c35a9d07b1c2c74b69b7087362dc6d7c.jpg","text":"TemporaryFile(/tmp/multipartBody1449471224673829573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595293714,"filename":"image_25112025_22_47_31_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/1/f76ec1ad6fda33f130a9dcfb856ea996.jpg","text":"TemporaryFile(/tmp/multipartBody2734688490952954229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595293714,"filename":"image_25112025_22_47_20_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/1/a8706fba600a7dde0e072c5c308184c9.jpg","text":"TemporaryFile(/tmp/multipartBody6863464230971538924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595293714,"filename":"image_25112025_22_47_16_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397227917","file1":"1397227911","file0":"1397227907","file4":"1397227937","file5":"1397227938","file3":"1397227935"},"map_files_photo_id_array":[{"photo_id":"1397227938","filename":"file5"},{"photo_id":"1397227917","filename":"file2"},{"photo_id":"1397227937","filename":"file4"},{"photo_id":"1397227911","filename":"file1"},{"photo_id":"1397227907","filename":"file0"},{"photo_id":"1397227935","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397227937":["hashtag1","hashtag2"]},{"1397227907":["hashtag1","hashtag2"]},{"1397227935":["hashtag1","hashtag2"]},{"1397227938":["hashtag1","hashtag2"]},{"1397227917":["hashtag1","hashtag2"]},{"1397227911":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397227937, 1397227907, 1397227935, 1397227938, 1397227917, 1397227911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75163984298706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 14:21:12.244153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_35_3673.jpg', '/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_40_2657.jpg', '/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_43_2678.jpg', '/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_47_3856.jpg', '/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_49_2563.jpg', '/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_52_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_35_3673.jpg
/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_40_2657.jpg
/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_43_2678.jpg
/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_47_3856.jpg
/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_49_2563.jpg
/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_52_2601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397228141","1397228098","1397228164","1397228131","1397228057","1397228150"],"photo_ids_order":["1397228057","1397228098","1397228131","1397228141","1397228150","1397228164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/42657a5002e95d570dbce226aa590d31.jpg","text":"TemporaryFile(/tmp/multipartBody1219574433093974190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595333887,"filename":"image_25112025_22_47_47_3856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/edc77e54894894d79e7d323581d7563f.jpg","text":"TemporaryFile(/tmp/multipartBody9019312366827473098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595333887,"filename":"image_25112025_22_47_40_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/675e48213c75d2bb5122fb21cda11614.jpg","text":"TemporaryFile(/tmp/multipartBody2480379808323224995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595333887,"filename":"image_25112025_22_47_52_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/192d3f02dddd83f5c212f4f0b93d9c4d.jpg","text":"TemporaryFile(/tmp/multipartBody6916911469999409792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595333887,"filename":"image_25112025_22_47_43_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/1/7b68272c5cacfec5c1204c4d914cf863.jpg","text":"TemporaryFile(/tmp/multipartBody3411419862159991895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595333887,"filename":"image_25112025_22_47_35_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dbba5796d006c4ff96b85811815df570.jpg","text":"TemporaryFile(/tmp/multipartBody4907456820011752595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595333887,"filename":"image_25112025_22_47_49_2563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397228131","file1":"1397228098","file0":"1397228057","file4":"1397228150","file5":"1397228164","file3":"1397228141"},"map_files_photo_id_array":[{"photo_id":"1397228164","filename":"file5"},{"photo_id":"1397228131","filename":"file2"},{"photo_id":"1397228150","filename":"file4"},{"photo_id":"1397228098","filename":"file1"},{"photo_id":"1397228057","filename":"file0"},{"photo_id":"1397228141","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397228141":["hashtag1","hashtag2"]},{"1397228098":["hashtag1","hashtag2"]},{"1397228164":["hashtag1","hashtag2"]},{"1397228131":["hashtag1","hashtag2"]},{"1397228057":["hashtag1","hashtag2"]},{"1397228150":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397228141, 1397228098, 1397228164, 1397228131, 1397228057, 1397228150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.80217695236206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 14:22:02.971341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/03/image_01122025_13_03_44_9687.jpg', '/home/pi/Desktop/images/01122025/13/03/image_01122025_13_03_55_10749.jpg', '/home/pi/Desktop/images/01122025/13/03/image_01122025_13_04_04_9421.jpg', '/home/pi/Desktop/images/01122025/13/04/image_01122025_13_04_15_10596.jpg', '/home/pi/Desktop/images/01122025/13/04/image_01122025_13_04_25_9747.jpg', '/home/pi/Desktop/images/01122025/13/04/image_01122025_13_04_35_9932.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/03/image_01122025_13_03_44_9687.jpg
/home/pi/Desktop/images/01122025/13/03/image_01122025_13_03_55_10749.jpg
/home/pi/Desktop/images/01122025/13/03/image_01122025_13_04_04_9421.jpg
/home/pi/Desktop/images/01122025/13/04/image_01122025_13_04_15_10596.jpg
/home/pi/Desktop/images/01122025/13/04/image_01122025_13_04_25_9747.jpg
/home/pi/Desktop/images/01122025/13/04/image_01122025_13_04_35_9932.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397228182","1397228184","1397228178","1397228187","1397228192","1397228180"],"photo_ids_order":["1397228178","1397228180","1397228182","1397228184","1397228187","1397228192"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4524f2fb0d38b286a279042060846fe2.jpg","text":"TemporaryFile(/tmp/multipartBody5598780792331366542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595383726,"filename":"image_01122025_13_04_04_9421.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4b92a19b8f8bbb5cce900d109db67f9d.jpg","text":"TemporaryFile(/tmp/multipartBody3932602844750035148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595383726,"filename":"image_01122025_13_04_15_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fe0d9c5fd313e671acf6c95e5ed9aa5d.jpg","text":"TemporaryFile(/tmp/multipartBody604992839691087612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595383726,"filename":"image_01122025_13_03_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/1/b9f36624784aead0af28b458b857aa4c.jpg","text":"TemporaryFile(/tmp/multipartBody450855382438115756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595383726,"filename":"image_01122025_13_04_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/1/e2d3643f53a59e45c4310fe42917cc82.jpg","text":"TemporaryFile(/tmp/multipartBody7668208737226531739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595383726,"filename":"image_01122025_13_04_35_9932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/33b3cd04b0e4b98ac214e1f6540816c9.jpg","text":"TemporaryFile(/tmp/multipartBody5204605723349619255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595383726,"filename":"image_01122025_13_03_55_10749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397228182","file1":"1397228180","file0":"1397228178","file4":"1397228187","file5":"1397228192","file3":"1397228184"},"map_files_photo_id_array":[{"photo_id":"1397228192","filename":"file5"},{"photo_id":"1397228182","filename":"file2"},{"photo_id":"1397228187","filename":"file4"},{"photo_id":"1397228180","filename":"file1"},{"photo_id":"1397228178","filename":"file0"},{"photo_id":"1397228184","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397228182":["hashtag1","hashtag2"]},{"1397228184":["hashtag1","hashtag2"]},{"1397228178":["hashtag1","hashtag2"]},{"1397228187":["hashtag1","hashtag2"]},{"1397228192":["hashtag1","hashtag2"]},{"1397228180":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397228182, 1397228184, 1397228178, 1397228187, 1397228192, 1397228180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49855351448059 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 14:22:42.482639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_59_2657.jpg', '/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_02_2937.jpg', '/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_05_2711.jpg', '/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_08_3714.jpg', '/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_11_2630.jpg', '/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_14_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/32/image_31102025_14_32_59_2657.jpg
/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_02_2937.jpg
/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_05_2711.jpg
/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_08_3714.jpg
/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_11_2630.jpg
/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_14_2588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397228215","1397228206","1397228214","1397228217","1397228211","1397228219"],"photo_ids_order":["1397228206","1397228211","1397228214","1397228215","1397228217","1397228219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a050d01efd61957526a5f9a74d7b825e.jpg","text":"TemporaryFile(/tmp/multipartBody5340695697584824608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595425133,"filename":"image_31102025_14_33_08_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/17a271bd27307912a175b7614287f30e.jpg","text":"TemporaryFile(/tmp/multipartBody4484245809549838499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595425133,"filename":"image_31102025_14_32_59_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/05728402fc8290358be070c91f37bc94.jpg","text":"TemporaryFile(/tmp/multipartBody160217018165600939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595425133,"filename":"image_31102025_14_33_05_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/1/4b5b285aa157942cce71a0ab1e3ffd59.jpg","text":"TemporaryFile(/tmp/multipartBody5396779032605123518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595425133,"filename":"image_31102025_14_33_11_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/1/27fef2848e350e00728d6e3f07439a58.jpg","text":"TemporaryFile(/tmp/multipartBody3965837386495060752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595425133,"filename":"image_31102025_14_33_02_2937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/83e1e6b3d32122e64fbe12c1b6077e2c.jpg","text":"TemporaryFile(/tmp/multipartBody1733051265114310406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595425133,"filename":"image_31102025_14_33_14_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397228214","file1":"1397228211","file0":"1397228206","file4":"1397228217","file5":"1397228219","file3":"1397228215"},"map_files_photo_id_array":[{"photo_id":"1397228219","filename":"file5"},{"photo_id":"1397228214","filename":"file2"},{"photo_id":"1397228217","filename":"file4"},{"photo_id":"1397228211","filename":"file1"},{"photo_id":"1397228206","filename":"file0"},{"photo_id":"1397228215","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397228215":["hashtag1","hashtag2"]},{"1397228206":["hashtag1","hashtag2"]},{"1397228214":["hashtag1","hashtag2"]},{"1397228217":["hashtag1","hashtag2"]},{"1397228211":["hashtag1","hashtag2"]},{"1397228219":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397228215, 1397228206, 1397228214, 1397228217, 1397228211, 1397228219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50372362136841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 14:23:22.722866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/04/image_01122025_13_04_44_9823.jpg', '/home/pi/Desktop/images/01122025/13/04/image_01122025_13_04_54_10102.jpg', '/home/pi/Desktop/images/01122025/13/04/image_01122025_13_05_05_10023.jpg', '/home/pi/Desktop/images/01122025/13/05/image_01122025_13_05_14_9759.jpg', '/home/pi/Desktop/images/01122025/13/05/image_01122025_13_05_25_10703.jpg', '/home/pi/Desktop/images/01122025/13/05/image_01122025_13_05_35_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/04/image_01122025_13_04_44_9823.jpg
/home/pi/Desktop/images/01122025/13/04/image_01122025_13_04_54_10102.jpg
/home/pi/Desktop/images/01122025/13/04/image_01122025_13_05_05_10023.jpg
/home/pi/Desktop/images/01122025/13/05/image_01122025_13_05_14_9759.jpg
/home/pi/Desktop/images/01122025/13/05/image_01122025_13_05_25_10703.jpg
/home/pi/Desktop/images/01122025/13/05/image_01122025_13_05_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.6065189838409424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 14:23:32.625062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_58_2608.jpg', '/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_04_2582.jpg', '/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_07_2597.jpg', '/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_11_3735.jpg', '/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_13_2777.jpg', '/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_16_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/47/image_25112025_22_47_58_2608.jpg
/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_04_2582.jpg
/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_07_2597.jpg
/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_11_3735.jpg
/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_13_2777.jpg
/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_16_2698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397228254","1397228263","1397228277","1397228250","1397228274","1397228246"],"photo_ids_order":["1397228246","1397228250","1397228254","1397228263","1397228274","1397228277"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f6400dacf9a91f3ccce10b22796c6c48.jpg","text":"TemporaryFile(/tmp/multipartBody8641345118427112630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595474382,"filename":"image_25112025_22_48_07_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/1/8bdf622d09dac791ca5c4e18e62a14e1.jpg","text":"TemporaryFile(/tmp/multipartBody5337454885406549836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595474382,"filename":"image_25112025_22_48_11_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5d1bafed1f07ce5d29d6381a38a825ba.jpg","text":"TemporaryFile(/tmp/multipartBody2173100823918835489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595474382,"filename":"image_25112025_22_48_16_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5efc519d3c39f96d9cfddb6335aba251.jpg","text":"TemporaryFile(/tmp/multipartBody4574132262661031193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595474382,"filename":"image_25112025_22_48_04_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/1/1462ed3f9efe084f39beab9b095d6180.jpg","text":"TemporaryFile(/tmp/multipartBody1709460934387495448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595474382,"filename":"image_25112025_22_48_13_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/1/4e4befc8d2fca70384a0c39e1433a2ae.jpg","text":"TemporaryFile(/tmp/multipartBody367336473895369667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595474382,"filename":"image_25112025_22_47_58_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397228254","file1":"1397228250","file0":"1397228246","file4":"1397228274","file5":"1397228277","file3":"1397228263"},"map_files_photo_id_array":[{"photo_id":"1397228277","filename":"file5"},{"photo_id":"1397228254","filename":"file2"},{"photo_id":"1397228274","filename":"file4"},{"photo_id":"1397228250","filename":"file1"},{"photo_id":"1397228246","filename":"file0"},{"photo_id":"1397228263","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397228254":["hashtag1","hashtag2"]},{"1397228263":["hashtag1","hashtag2"]},{"1397228277":["hashtag1","hashtag2"]},{"1397228250":["hashtag1","hashtag2"]},{"1397228274":["hashtag1","hashtag2"]},{"1397228246":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397228254, 1397228263, 1397228277, 1397228250, 1397228274, 1397228246)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.74295091629028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 14:24:21.866053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/04/image_01122025_13_04_44_9823.jpg', '/home/pi/Desktop/images/01122025/13/04/image_01122025_13_04_54_10102.jpg', '/home/pi/Desktop/images/01122025/13/04/image_01122025_13_05_05_10023.jpg', '/home/pi/Desktop/images/01122025/13/05/image_01122025_13_05_14_9759.jpg', '/home/pi/Desktop/images/01122025/13/05/image_01122025_13_05_25_10703.jpg', '/home/pi/Desktop/images/01122025/13/05/image_01122025_13_05_35_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/04/image_01122025_13_04_44_9823.jpg
/home/pi/Desktop/images/01122025/13/04/image_01122025_13_04_54_10102.jpg
/home/pi/Desktop/images/01122025/13/04/image_01122025_13_05_05_10023.jpg
/home/pi/Desktop/images/01122025/13/05/image_01122025_13_05_14_9759.jpg
/home/pi/Desktop/images/01122025/13/05/image_01122025_13_05_25_10703.jpg
/home/pi/Desktop/images/01122025/13/05/image_01122025_13_05_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":["1397228300","1397228284","1397228291","1397228294","1397228288","1397228297"],"photo_ids_order":["1397228284","1397228288","1397228291","1397228294","1397228297","1397228300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e17a7d3bbdb98b396b0e41256d7e7da1.jpg","text":"TemporaryFile(/tmp/multipartBody8162880817627385031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595522573,"filename":"image_01122025_13_05_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/1/ad342089bf8af466d8c89dc5a93998fd.jpg","text":"TemporaryFile(/tmp/multipartBody7195744877449345982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595522573,"filename":"image_01122025_13_04_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/1/e26036f12104d1742247129956f27d61.jpg","text":"TemporaryFile(/tmp/multipartBody4650651928416709282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595522573,"filename":"image_01122025_13_05_05_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/1/b75bf06682d6078eeec86e5d09a2fa89.jpg","text":"TemporaryFile(/tmp/multipartBody7765352700461812707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595522573,"filename":"image_01122025_13_05_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/1/6189d8ec3c323ab16ba743ae2b4fb507.jpg","text":"TemporaryFile(/tmp/multipartBody2726790457852105746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595522573,"filename":"image_01122025_13_04_54_10102.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/634a1c6ee41f33cecb2f4626c3307fc7.jpg","text":"TemporaryFile(/tmp/multipartBody2903236436986960965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595522573,"filename":"image_01122025_13_05_25_10703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397228291","file1":"1397228288","file0":"1397228284","file4":"1397228297","file5":"1397228300","file3":"1397228294"},"map_files_photo_id_array":[{"photo_id":"1397228300","filename":"file5"},{"photo_id":"1397228291","filename":"file2"},{"photo_id":"1397228297","filename":"file4"},{"photo_id":"1397228288","filename":"file1"},{"photo_id":"1397228284","filename":"file0"},{"photo_id":"1397228294","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397228300":["hashtag1","hashtag2"]},{"1397228284":["hashtag1","hashtag2"]},{"1397228291":["hashtag1","hashtag2"]},{"1397228294":["hashtag1","hashtag2"]},{"1397228288":["hashtag1","hashtag2"]},{"1397228297":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397228300, 1397228284, 1397228291, 1397228294, 1397228288, 1397228297)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.29679489135742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 14:25:11.948307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_19_2757.jpg', '/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_23_3766.jpg', '/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_25_2640.jpg', '/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_28_2524.jpg', '/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_31_3612.jpg', '/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_34_2525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_19_2757.jpg
/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_23_3766.jpg
/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_25_2640.jpg
/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_28_2524.jpg
/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_31_3612.jpg
/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_34_2525.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397228410","1397228589","1397228506","1397228370","1397228547","1397228465"],"photo_ids_order":["1397228370","1397228410","1397228465","1397228506","1397228547","1397228589"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/034caa2c4a3d9bd189c38f33fd6ca0a0.jpg","text":"TemporaryFile(/tmp/multipartBody7466578780075547080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595573649,"filename":"image_25112025_22_48_23_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2067a3fbc08c55af2ead546ec83093dc.jpg","text":"TemporaryFile(/tmp/multipartBody1317961603086147197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595573649,"filename":"image_25112025_22_48_34_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0166fd873867bd387aba1b6419434cd2.jpg","text":"TemporaryFile(/tmp/multipartBody6793800470944817641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595573649,"filename":"image_25112025_22_48_28_2524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/66bd8573615d3a4aaec71048c04ab66a.jpg","text":"TemporaryFile(/tmp/multipartBody1698958305023426154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595573649,"filename":"image_25112025_22_48_19_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1f7e9322b2490d3edab71ff0cdab267f.jpg","text":"TemporaryFile(/tmp/multipartBody4697944281194264779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595573649,"filename":"image_25112025_22_48_31_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/523a7a346bb246ddd227d4da2bf15d3b.jpg","text":"TemporaryFile(/tmp/multipartBody5558460931687260195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595573649,"filename":"image_25112025_22_48_25_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397228465","file1":"1397228410","file0":"1397228370","file4":"1397228547","file5":"1397228589","file3":"1397228506"},"map_files_photo_id_array":[{"photo_id":"1397228589","filename":"file5"},{"photo_id":"1397228465","filename":"file2"},{"photo_id":"1397228547","filename":"file4"},{"photo_id":"1397228410","filename":"file1"},{"photo_id":"1397228370","filename":"file0"},{"photo_id":"1397228506","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397228410":["hashtag1","hashtag2"]},{"1397228589":["hashtag1","hashtag2"]},{"1397228506":["hashtag1","hashtag2"]},{"1397228370":["hashtag1","hashtag2"]},{"1397228547":["hashtag1","hashtag2"]},{"1397228465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397228410, 1397228589, 1397228506, 1397228370, 1397228547, 1397228465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.46045184135437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 14:26:02.780168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/05/image_01122025_13_05_44_9661.jpg', '/home/pi/Desktop/images/01122025/13/05/image_01122025_13_05_54_9665.jpg', '/home/pi/Desktop/images/01122025/13/05/image_01122025_13_06_05_10756.jpg', '/home/pi/Desktop/images/01122025/13/06/image_01122025_13_06_15_9709.jpg', '/home/pi/Desktop/images/01122025/13/06/image_01122025_13_06_25_10287.jpg', '/home/pi/Desktop/images/01122025/13/06/image_01122025_13_06_35_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/05/image_01122025_13_05_44_9661.jpg
/home/pi/Desktop/images/01122025/13/05/image_01122025_13_05_54_9665.jpg
/home/pi/Desktop/images/01122025/13/05/image_01122025_13_06_05_10756.jpg
/home/pi/Desktop/images/01122025/13/06/image_01122025_13_06_15_9709.jpg
/home/pi/Desktop/images/01122025/13/06/image_01122025_13_06_25_10287.jpg
/home/pi/Desktop/images/01122025/13/06/image_01122025_13_06_35_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":["1397228689","1397228697","1397228637","1397228681","1397228639","1397228648"],"photo_ids_order":["1397228637","1397228639","1397228648","1397228681","1397228689","1397228697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9cc033bdd231200ebb20c81affbef07a.jpg","text":"TemporaryFile(/tmp/multipartBody975705647010023827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595623497,"filename":"image_01122025_13_06_25_10287.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/72875e74b75c6aa3c3a82cea53790cf1.jpg","text":"TemporaryFile(/tmp/multipartBody6570499915970769685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595623497,"filename":"image_01122025_13_06_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/1/89c014658cddd3ee486a9e4727ac7523.jpg","text":"TemporaryFile(/tmp/multipartBody2920329103432840745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595623497,"filename":"image_01122025_13_05_44_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3a1a345bfecd1d6b380927f00f06d262.jpg","text":"TemporaryFile(/tmp/multipartBody4262949391277079953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595623497,"filename":"image_01122025_13_06_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/1/4409406a44f30d456593ca078b287f1f.jpg","text":"TemporaryFile(/tmp/multipartBody7958751865700378000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595623497,"filename":"image_01122025_13_05_54_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a569cc87ed6c4605735f5f998b7e0e9a.jpg","text":"TemporaryFile(/tmp/multipartBody3549093069158893182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595623497,"filename":"image_01122025_13_06_05_10756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397228648","file1":"1397228639","file0":"1397228637","file4":"1397228689","file5":"1397228697","file3":"1397228681"},"map_files_photo_id_array":[{"photo_id":"1397228697","filename":"file5"},{"photo_id":"1397228648","filename":"file2"},{"photo_id":"1397228689","filename":"file4"},{"photo_id":"1397228639","filename":"file1"},{"photo_id":"1397228637","filename":"file0"},{"photo_id":"1397228681","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397228689":["hashtag1","hashtag2"]},{"1397228697":["hashtag1","hashtag2"]},{"1397228637":["hashtag1","hashtag2"]},{"1397228681":["hashtag1","hashtag2"]},{"1397228639":["hashtag1","hashtag2"]},{"1397228648":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397228689, 1397228697, 1397228637, 1397228681, 1397228639, 1397228648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.274163484573364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 14:26:42.244029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_17_3685.jpg', '/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_20_2581.jpg', '/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_23_2686.jpg', '/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_26_3722.jpg', '/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_29_2704.jpg', '/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_32_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_17_3685.jpg
/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_20_2581.jpg
/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_23_2686.jpg
/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_26_3722.jpg
/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_29_2704.jpg
/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_32_2657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397228836","1397228725","1397228841","1397228736","1397228846","1397228729"],"photo_ids_order":["1397228725","1397228729","1397228736","1397228836","1397228841","1397228846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0833cf65074e3d2a01e7d8f2b69d60cb.jpg","text":"TemporaryFile(/tmp/multipartBody7224859421441384493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595664943,"filename":"image_31102025_14_33_26_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/1/6323a685ba9803d7ebf6fdad3e38cb75.jpg","text":"TemporaryFile(/tmp/multipartBody950024284530320493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595664943,"filename":"image_31102025_14_33_17_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/1/915cce768eb5e3355dcd48c58d20c6b8.jpg","text":"TemporaryFile(/tmp/multipartBody5669128684746014080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595664943,"filename":"image_31102025_14_33_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/1/df4b703638fec8da4577d2a0856d8248.jpg","text":"TemporaryFile(/tmp/multipartBody5723917161793252015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595664943,"filename":"image_31102025_14_33_23_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3da18e883feddcae17d1842ab2552239.jpg","text":"TemporaryFile(/tmp/multipartBody2562439627672727622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595664943,"filename":"image_31102025_14_33_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/1/747eda9dcc908bd0c6ba51b598611cf3.jpg","text":"TemporaryFile(/tmp/multipartBody204443348759863045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595664943,"filename":"image_31102025_14_33_20_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397228736","file1":"1397228729","file0":"1397228725","file4":"1397228841","file5":"1397228846","file3":"1397228836"},"map_files_photo_id_array":[{"photo_id":"1397228846","filename":"file5"},{"photo_id":"1397228736","filename":"file2"},{"photo_id":"1397228841","filename":"file4"},{"photo_id":"1397228729","filename":"file1"},{"photo_id":"1397228725","filename":"file0"},{"photo_id":"1397228836","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397228836":["hashtag1","hashtag2"]},{"1397228725":["hashtag1","hashtag2"]},{"1397228841":["hashtag1","hashtag2"]},{"1397228736":["hashtag1","hashtag2"]},{"1397228846":["hashtag1","hashtag2"]},{"1397228729":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397228836, 1397228725, 1397228841, 1397228736, 1397228846, 1397228729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38847351074219 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-01 14:27:32.550846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_38_3667.jpg', '/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_40_2556.jpg', '/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_46_6165.jpg', '/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_48_1861.jpg', '/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_50_1517.jpg', '/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_55_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_38_3667.jpg
/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_40_2556.jpg
/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_46_6165.jpg
/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_48_1861.jpg
/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_50_1517.jpg
/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_55_2588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397228909","1397228902","1397228905","1397228895","1397228908","1397228897"],"photo_ids_order":["1397228895","1397228897","1397228902","1397228905","1397228908","1397228909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cf4cdcb8d8e3c8b58792318b91287139.jpg","text":"TemporaryFile(/tmp/multipartBody3094147922411043043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595714314,"filename":"image_25112025_22_48_55_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/1/5e1f9cd836c3238d1ba11205831e3ff5.jpg","text":"TemporaryFile(/tmp/multipartBody105105741508384545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595714314,"filename":"image_25112025_22_48_46_6165.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dd147d50e7db90d0f659aa0b420071c4.jpg","text":"TemporaryFile(/tmp/multipartBody1146817452011515843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595714314,"filename":"image_25112025_22_48_48_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/1/ec40392ad66b11ad6ab4d7ecab8e1ca1.jpg","text":"TemporaryFile(/tmp/multipartBody4204571544913958242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595714314,"filename":"image_25112025_22_48_38_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9fe19db94b6dbeb963ce1523efd013a0.jpg","text":"TemporaryFile(/tmp/multipartBody7165616320268623506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595714314,"filename":"image_25112025_22_48_50_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/1/69b5dfaf0a1091761bc8597156e58c64.jpg","text":"TemporaryFile(/tmp/multipartBody6088554975505720485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595714314,"filename":"image_25112025_22_48_40_2556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397228902","file1":"1397228897","file0":"1397228895","file4":"1397228908","file5":"1397228909","file3":"1397228905"},"map_files_photo_id_array":[{"photo_id":"1397228909","filename":"file5"},{"photo_id":"1397228902","filename":"file2"},{"photo_id":"1397228908","filename":"file4"},{"photo_id":"1397228897","filename":"file1"},{"photo_id":"1397228895","filename":"file0"},{"photo_id":"1397228905","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397228909":["hashtag1","hashtag2"]},{"1397228902":["hashtag1","hashtag2"]},{"1397228905":["hashtag1","hashtag2"]},{"1397228895":["hashtag1","hashtag2"]},{"1397228908":["hashtag1","hashtag2"]},{"1397228897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397228909, 1397228902, 1397228905, 1397228895, 1397228908, 1397228897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.34778547286987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 14:28:12.624250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_58_2844.jpg', '/home/pi/Desktop/images/25112025/22/48/image_25112025_22_49_01_3562.jpg', '/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_04_2715.jpg', '/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_07_2597.jpg', '/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_10_3618.jpg', '/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_13_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/48/image_25112025_22_48_58_2844.jpg
/home/pi/Desktop/images/25112025/22/48/image_25112025_22_49_01_3562.jpg
/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_04_2715.jpg
/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_07_2597.jpg
/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_10_3618.jpg
/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_13_2594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397229094","1397228935","1397228914","1397228979","1397229056","1397229017"],"photo_ids_order":["1397228914","1397228935","1397228979","1397229017","1397229056","1397229094"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6f8c288866f343e2a0f4b28986ffad83.jpg","text":"TemporaryFile(/tmp/multipartBody4180420794602167741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595754278,"filename":"image_25112025_22_49_13_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/13a07d1fcf0a5fc237c53b79b7cf43e1.jpg","text":"TemporaryFile(/tmp/multipartBody917481908334153078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595754278,"filename":"image_25112025_22_49_01_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/1/203f5981a4e97bb08c2f791d80e42b88.jpg","text":"TemporaryFile(/tmp/multipartBody6144358856358893807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595754278,"filename":"image_25112025_22_48_58_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/1/cf23b49cb8b32eeff5e26b52da003522.jpg","text":"TemporaryFile(/tmp/multipartBody4293975347458174636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595754278,"filename":"image_25112025_22_49_04_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/1/c6025001a1209a2d37ae36e8a9653c90.jpg","text":"TemporaryFile(/tmp/multipartBody1172434708255823128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595754278,"filename":"image_25112025_22_49_10_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/1/5f79ff0c49a60d556b4a491af3777d63.jpg","text":"TemporaryFile(/tmp/multipartBody1215926052699129397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595754278,"filename":"image_25112025_22_49_07_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397228979","file1":"1397228935","file0":"1397228914","file4":"1397229056","file5":"1397229094","file3":"1397229017"},"map_files_photo_id_array":[{"photo_id":"1397229094","filename":"file5"},{"photo_id":"1397228979","filename":"file2"},{"photo_id":"1397229056","filename":"file4"},{"photo_id":"1397228935","filename":"file1"},{"photo_id":"1397228914","filename":"file0"},{"photo_id":"1397229017","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397229094":["hashtag1","hashtag2"]},{"1397228935":["hashtag1","hashtag2"]},{"1397228914":["hashtag1","hashtag2"]},{"1397228979":["hashtag1","hashtag2"]},{"1397229056":["hashtag1","hashtag2"]},{"1397229017":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397229094, 1397228935, 1397228914, 1397228979, 1397229056, 1397229017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.137858867645264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 14:29:03.136213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/06/image_01122025_13_06_44_9570.jpg', '/home/pi/Desktop/images/01122025/13/06/image_01122025_13_06_55_10678.jpg', '/home/pi/Desktop/images/01122025/13/06/image_01122025_13_07_04_9579.jpg', '/home/pi/Desktop/images/01122025/13/07/image_01122025_13_07_14_9638.jpg', '/home/pi/Desktop/images/01122025/13/07/image_01122025_13_07_25_10658.jpg', '/home/pi/Desktop/images/01122025/13/07/image_01122025_13_07_34_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/06/image_01122025_13_06_44_9570.jpg
/home/pi/Desktop/images/01122025/13/06/image_01122025_13_06_55_10678.jpg
/home/pi/Desktop/images/01122025/13/06/image_01122025_13_07_04_9579.jpg
/home/pi/Desktop/images/01122025/13/07/image_01122025_13_07_14_9638.jpg
/home/pi/Desktop/images/01122025/13/07/image_01122025_13_07_25_10658.jpg
/home/pi/Desktop/images/01122025/13/07/image_01122025_13_07_34_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397229271","1397229273","1397229290","1397229293","1397229263","1397229298"],"photo_ids_order":["1397229263","1397229271","1397229273","1397229290","1397229293","1397229298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2553fef3cafb90b605fbaef7b82d55fd.jpg","text":"TemporaryFile(/tmp/multipartBody2705468509920242406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595804015,"filename":"image_01122025_13_06_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/1/d7220aa0e6bece415ed8d569afb41cfe.jpg","text":"TemporaryFile(/tmp/multipartBody4256289927148500192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595804015,"filename":"image_01122025_13_07_04_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/1/a57eacc620f6f86e136adeea07bca328.jpg","text":"TemporaryFile(/tmp/multipartBody2492263486827816683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595804015,"filename":"image_01122025_13_07_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/1/bc8aed356d9e1b7325b457a0e3083663.jpg","text":"TemporaryFile(/tmp/multipartBody3205478438780995834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595804015,"filename":"image_01122025_13_07_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/1/291fad7a25c5a3dd85ecf05b87958353.jpg","text":"TemporaryFile(/tmp/multipartBody18617378766795882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595804015,"filename":"image_01122025_13_06_44_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/de08ebc8d90d9c90339daa5931f98318.jpg","text":"TemporaryFile(/tmp/multipartBody4307254056307183630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595804015,"filename":"image_01122025_13_07_34_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397229273","file1":"1397229271","file0":"1397229263","file4":"1397229293","file5":"1397229298","file3":"1397229290"},"map_files_photo_id_array":[{"photo_id":"1397229298","filename":"file5"},{"photo_id":"1397229273","filename":"file2"},{"photo_id":"1397229293","filename":"file4"},{"photo_id":"1397229271","filename":"file1"},{"photo_id":"1397229263","filename":"file0"},{"photo_id":"1397229290","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397229271":["hashtag1","hashtag2"]},{"1397229273":["hashtag1","hashtag2"]},{"1397229290":["hashtag1","hashtag2"]},{"1397229293":["hashtag1","hashtag2"]},{"1397229263":["hashtag1","hashtag2"]},{"1397229298":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397229271, 1397229273, 1397229290, 1397229293, 1397229263, 1397229298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13608384132385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 14:29:41.961905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_35_3571.jpg', '/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_38_2772.jpg', '/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_41_2818.jpg', '/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_43_2594.jpg', '/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_47_3780.jpg', '/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_50_2781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_35_3571.jpg
/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_38_2772.jpg
/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_41_2818.jpg
/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_43_2594.jpg
/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_47_3780.jpg
/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_50_2781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397229364","1397229340","1397229366","1397229368","1397229338","1397229361"],"photo_ids_order":["1397229338","1397229340","1397229361","1397229364","1397229366","1397229368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/433d9645a11d3891949494c0003ae22d.jpg","text":"TemporaryFile(/tmp/multipartBody8104776591195162852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595844592,"filename":"image_31102025_14_33_43_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/1/0a1ec6ca8ffa98569476ccd68d7912f5.jpg","text":"TemporaryFile(/tmp/multipartBody7010153341909378562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595844592,"filename":"image_31102025_14_33_38_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e024fe0ef3e99631ab0c732dac3127b0.jpg","text":"TemporaryFile(/tmp/multipartBody8759700971241357152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595844592,"filename":"image_31102025_14_33_47_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c79858b6386ced12f10c5a6dad657eba.jpg","text":"TemporaryFile(/tmp/multipartBody8114902977264370164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595844592,"filename":"image_31102025_14_33_50_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/1/6ae329409c7d2da3dd822e90b75568c7.jpg","text":"TemporaryFile(/tmp/multipartBody2720279943147973700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595844592,"filename":"image_31102025_14_33_35_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/1/1fad204b01aaa7fc8286cbc859b2f956.jpg","text":"TemporaryFile(/tmp/multipartBody8400554727371855318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595844592,"filename":"image_31102025_14_33_41_2818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397229361","file1":"1397229340","file0":"1397229338","file4":"1397229366","file5":"1397229368","file3":"1397229364"},"map_files_photo_id_array":[{"photo_id":"1397229368","filename":"file5"},{"photo_id":"1397229361","filename":"file2"},{"photo_id":"1397229366","filename":"file4"},{"photo_id":"1397229340","filename":"file1"},{"photo_id":"1397229338","filename":"file0"},{"photo_id":"1397229364","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397229364":["hashtag1","hashtag2"]},{"1397229340":["hashtag1","hashtag2"]},{"1397229366":["hashtag1","hashtag2"]},{"1397229368":["hashtag1","hashtag2"]},{"1397229338":["hashtag1","hashtag2"]},{"1397229361":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397229364, 1397229340, 1397229366, 1397229368, 1397229338, 1397229361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.20530939102173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 14:30:22.111105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/07/image_01122025_13_07_44_9815.jpg', '/home/pi/Desktop/images/01122025/13/07/image_01122025_13_07_55_10614.jpg', '/home/pi/Desktop/images/01122025/13/07/image_01122025_13_08_04_9649.jpg', '/home/pi/Desktop/images/01122025/13/08/image_01122025_13_08_14_9753.jpg', '/home/pi/Desktop/images/01122025/13/08/image_01122025_13_08_25_10642.jpg', '/home/pi/Desktop/images/01122025/13/08/image_01122025_13_08_35_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/07/image_01122025_13_07_44_9815.jpg
/home/pi/Desktop/images/01122025/13/07/image_01122025_13_07_55_10614.jpg
/home/pi/Desktop/images/01122025/13/07/image_01122025_13_08_04_9649.jpg
/home/pi/Desktop/images/01122025/13/08/image_01122025_13_08_14_9753.jpg
/home/pi/Desktop/images/01122025/13/08/image_01122025_13_08_25_10642.jpg
/home/pi/Desktop/images/01122025/13/08/image_01122025_13_08_35_9690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397229396","1397229378","1397229392","1397229386","1397229373","1397229382"],"photo_ids_order":["1397229373","1397229378","1397229382","1397229386","1397229392","1397229396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6e6e8ed8a066c35bb23a15ac6159ed84.jpg","text":"TemporaryFile(/tmp/multipartBody1962014791022888786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595882863,"filename":"image_01122025_13_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/1/ee207d2e5de4bda0d950d6179fdd7187.jpg","text":"TemporaryFile(/tmp/multipartBody2502744411816639637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595882863,"filename":"image_01122025_13_07_55_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/25ebc485fe68d2557f683219e4e5d5a8.jpg","text":"TemporaryFile(/tmp/multipartBody6004502748335871868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595882863,"filename":"image_01122025_13_08_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/1/df0055a26804a9d10f35217d7dcbbd39.jpg","text":"TemporaryFile(/tmp/multipartBody7814136587624586630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595882863,"filename":"image_01122025_13_08_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/1/a5bb2abc0dcd2090179d73e102c1a828.jpg","text":"TemporaryFile(/tmp/multipartBody6989162460427758994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595882863,"filename":"image_01122025_13_07_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/1/12ef9a33f7fd6ad52afce0c0085bec76.jpg","text":"TemporaryFile(/tmp/multipartBody8154657595644951662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595882863,"filename":"image_01122025_13_08_04_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397229382","file1":"1397229378","file0":"1397229373","file4":"1397229392","file5":"1397229396","file3":"1397229386"},"map_files_photo_id_array":[{"photo_id":"1397229396","filename":"file5"},{"photo_id":"1397229382","filename":"file2"},{"photo_id":"1397229392","filename":"file4"},{"photo_id":"1397229378","filename":"file1"},{"photo_id":"1397229373","filename":"file0"},{"photo_id":"1397229386","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397229396":["hashtag1","hashtag2"]},{"1397229378":["hashtag1","hashtag2"]},{"1397229392":["hashtag1","hashtag2"]},{"1397229386":["hashtag1","hashtag2"]},{"1397229373":["hashtag1","hashtag2"]},{"1397229382":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397229396, 1397229378, 1397229392, 1397229386, 1397229373, 1397229382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.32149076461792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 14:31:03.052473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/08/image_01122025_13_08_44_9619.jpg', '/home/pi/Desktop/images/01122025/13/08/image_01122025_13_08_55_10644.jpg', '/home/pi/Desktop/images/01122025/13/08/image_01122025_13_09_04_9565.jpg', '/home/pi/Desktop/images/01122025/13/09/image_01122025_13_09_15_10627.jpg', '/home/pi/Desktop/images/01122025/13/09/image_01122025_13_09_25_9610.jpg', '/home/pi/Desktop/images/01122025/13/09/image_01122025_13_09_34_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/08/image_01122025_13_08_44_9619.jpg
/home/pi/Desktop/images/01122025/13/08/image_01122025_13_08_55_10644.jpg
/home/pi/Desktop/images/01122025/13/08/image_01122025_13_09_04_9565.jpg
/home/pi/Desktop/images/01122025/13/09/image_01122025_13_09_15_10627.jpg
/home/pi/Desktop/images/01122025/13/09/image_01122025_13_09_25_9610.jpg
/home/pi/Desktop/images/01122025/13/09/image_01122025_13_09_34_9689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397229445","1397229468","1397229441","1397229420","1397229423","1397229425"],"photo_ids_order":["1397229420","1397229423","1397229425","1397229441","1397229445","1397229468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6eef0d2b1856755e89befc4635e10cc4.jpg","text":"TemporaryFile(/tmp/multipartBody7640728047180076204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595923841,"filename":"image_01122025_13_09_25_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/131e46724e04d8829754e2ae562f366a.jpg","text":"TemporaryFile(/tmp/multipartBody7532381858316998695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595923841,"filename":"image_01122025_13_09_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/1/d4d24493e8561823d8b73a836371a31d.jpg","text":"TemporaryFile(/tmp/multipartBody8771752791354055213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595923841,"filename":"image_01122025_13_09_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/1/101b4e77bedfba106c4b6266a6a5f494.jpg","text":"TemporaryFile(/tmp/multipartBody3561725947828942324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595923841,"filename":"image_01122025_13_08_44_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e7e023d80a9a9ee27cac657a867f9d2f.jpg","text":"TemporaryFile(/tmp/multipartBody2445911403334325799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595923841,"filename":"image_01122025_13_08_55_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e0eb2f0522122a2b39220f82be3bd1f6.jpg","text":"TemporaryFile(/tmp/multipartBody869639262827010216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595923841,"filename":"image_01122025_13_09_04_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397229425","file1":"1397229423","file0":"1397229420","file4":"1397229445","file5":"1397229468","file3":"1397229441"},"map_files_photo_id_array":[{"photo_id":"1397229468","filename":"file5"},{"photo_id":"1397229425","filename":"file2"},{"photo_id":"1397229445","filename":"file4"},{"photo_id":"1397229423","filename":"file1"},{"photo_id":"1397229420","filename":"file0"},{"photo_id":"1397229441","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397229445":["hashtag1","hashtag2"]},{"1397229468":["hashtag1","hashtag2"]},{"1397229441":["hashtag1","hashtag2"]},{"1397229420":["hashtag1","hashtag2"]},{"1397229423":["hashtag1","hashtag2"]},{"1397229425":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397229445, 1397229468, 1397229441, 1397229420, 1397229423, 1397229425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22736620903015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 14:32:03.062226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/09/image_01122025_13_09_45_10679.jpg', '/home/pi/Desktop/images/01122025/13/09/image_01122025_13_09_55_9651.jpg', '/home/pi/Desktop/images/01122025/13/09/image_01122025_13_10_04_9656.jpg', '/home/pi/Desktop/images/01122025/13/10/image_01122025_13_10_15_10612.jpg', '/home/pi/Desktop/images/01122025/13/10/image_01122025_13_10_25_9700.jpg', '/home/pi/Desktop/images/01122025/13/10/image_01122025_13_10_34_9544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/09/image_01122025_13_09_45_10679.jpg
/home/pi/Desktop/images/01122025/13/09/image_01122025_13_09_55_9651.jpg
/home/pi/Desktop/images/01122025/13/09/image_01122025_13_10_04_9656.jpg
/home/pi/Desktop/images/01122025/13/10/image_01122025_13_10_15_10612.jpg
/home/pi/Desktop/images/01122025/13/10/image_01122025_13_10_25_9700.jpg
/home/pi/Desktop/images/01122025/13/10/image_01122025_13_10_34_9544.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397229565","1397229573","1397229561","1397229563","1397229548","1397229568"],"photo_ids_order":["1397229548","1397229561","1397229563","1397229565","1397229568","1397229573"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8b5d123abd4c07b6a41384af04461fbf.jpg","text":"TemporaryFile(/tmp/multipartBody118967716929939177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595983799,"filename":"image_01122025_13_10_15_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/47d7bcc9f2e1d567a90f7d775725f818.jpg","text":"TemporaryFile(/tmp/multipartBody7369089777390298979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595983799,"filename":"image_01122025_13_10_34_9544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/670d5b27d5af514243559c73ca04a3d5.jpg","text":"TemporaryFile(/tmp/multipartBody4117882361432659834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595983799,"filename":"image_01122025_13_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/1/bd013b7941c47007bcb7277447941ea6.jpg","text":"TemporaryFile(/tmp/multipartBody5326672457377984811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595983799,"filename":"image_01122025_13_10_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8cf3eb6346f90987fefea83c8e24cb9e.jpg","text":"TemporaryFile(/tmp/multipartBody6448213472398433929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595983799,"filename":"image_01122025_13_09_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/1/a2dd47a5f674d40747c6842e0adf48e1.jpg","text":"TemporaryFile(/tmp/multipartBody3910413606374496974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764595983799,"filename":"image_01122025_13_10_25_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397229563","file1":"1397229561","file0":"1397229548","file4":"1397229568","file5":"1397229573","file3":"1397229565"},"map_files_photo_id_array":[{"photo_id":"1397229573","filename":"file5"},{"photo_id":"1397229563","filename":"file2"},{"photo_id":"1397229568","filename":"file4"},{"photo_id":"1397229561","filename":"file1"},{"photo_id":"1397229548","filename":"file0"},{"photo_id":"1397229565","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397229565":["hashtag1","hashtag2"]},{"1397229573":["hashtag1","hashtag2"]},{"1397229561":["hashtag1","hashtag2"]},{"1397229563":["hashtag1","hashtag2"]},{"1397229548":["hashtag1","hashtag2"]},{"1397229568":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397229565, 1397229573, 1397229561, 1397229563, 1397229548, 1397229568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47799825668335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 14:32:42.651543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_53_2620.jpg', '/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_55_2755.jpg', '/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_59_3680.jpg', '/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_02_2726.jpg', '/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_04_2652.jpg', '/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_08_3534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_53_2620.jpg
/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_55_2755.jpg
/home/pi/Desktop/images/31102025/14/33/image_31102025_14_33_59_3680.jpg
/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_02_2726.jpg
/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_04_2652.jpg
/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_08_3534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397229597","1397229591","1397229593","1397229586","1397229595","1397229589"],"photo_ids_order":["1397229586","1397229589","1397229591","1397229593","1397229595","1397229597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0c83d1c06e9389985e7f0ff4abaa94e7.jpg","text":"TemporaryFile(/tmp/multipartBody1773955290393960354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596025312,"filename":"image_31102025_14_34_08_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/1/fa5ea0a5908548f0c4d7f3758f9da4c2.jpg","text":"TemporaryFile(/tmp/multipartBody5328438922303799322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596025312,"filename":"image_31102025_14_33_59_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/1/6b057052233c80fd12d122514c30a0ee.jpg","text":"TemporaryFile(/tmp/multipartBody2107200247785831759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596025312,"filename":"image_31102025_14_34_02_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b377b446069f34d8261792cd76cb84bd.jpg","text":"TemporaryFile(/tmp/multipartBody2249098538748998767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596025312,"filename":"image_31102025_14_33_53_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/1/262f8f8a09f7959f39f21a1e5d14f2fe.jpg","text":"TemporaryFile(/tmp/multipartBody8321880264292447858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596025312,"filename":"image_31102025_14_34_04_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/1/91892c521c0a236cb3c31d8145f9c6b9.jpg","text":"TemporaryFile(/tmp/multipartBody1670920024970556152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596025312,"filename":"image_31102025_14_33_55_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397229591","file1":"1397229589","file0":"1397229586","file4":"1397229595","file5":"1397229597","file3":"1397229593"},"map_files_photo_id_array":[{"photo_id":"1397229597","filename":"file5"},{"photo_id":"1397229591","filename":"file2"},{"photo_id":"1397229595","filename":"file4"},{"photo_id":"1397229589","filename":"file1"},{"photo_id":"1397229586","filename":"file0"},{"photo_id":"1397229593","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397229597":["hashtag1","hashtag2"]},{"1397229591":["hashtag1","hashtag2"]},{"1397229593":["hashtag1","hashtag2"]},{"1397229586":["hashtag1","hashtag2"]},{"1397229595":["hashtag1","hashtag2"]},{"1397229589":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397229597, 1397229591, 1397229593, 1397229586, 1397229595, 1397229589)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.56752562522888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 14:33:32.805628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_16_2608.jpg', '/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_19_3676.jpg', '/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_22_2627.jpg', '/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_25_2638.jpg', '/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_28_3729.jpg', '/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_31_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_16_2608.jpg
/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_19_3676.jpg
/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_22_2627.jpg
/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_25_2638.jpg
/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_28_3729.jpg
/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_31_2581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397229622","1397229610","1397229624","1397229620","1397229614","1397229617"],"photo_ids_order":["1397229610","1397229614","1397229617","1397229620","1397229622","1397229624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/905a1775f6864435f806d6672c189120.jpg","text":"TemporaryFile(/tmp/multipartBody1075154920494714798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596074548,"filename":"image_25112025_22_49_28_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7fda3cdd635395c43715eed63e51f18e.jpg","text":"TemporaryFile(/tmp/multipartBody3856923580835533964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596074548,"filename":"image_25112025_22_49_16_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/1/faea47846bd9a98d8867b1cb9ba156ea.jpg","text":"TemporaryFile(/tmp/multipartBody1388350197532442061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596074548,"filename":"image_25112025_22_49_31_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/1/b3407e993108c319fc42686f10b5488a.jpg","text":"TemporaryFile(/tmp/multipartBody7786490980568801620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596074548,"filename":"image_25112025_22_49_25_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/1/6b2be132e377af06db599334e0661c61.jpg","text":"TemporaryFile(/tmp/multipartBody8435801196800649172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596074548,"filename":"image_25112025_22_49_19_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/46ec15d455d2731506c105e7ae43ff1f.jpg","text":"TemporaryFile(/tmp/multipartBody480656098193590253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596074548,"filename":"image_25112025_22_49_22_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397229617","file1":"1397229614","file0":"1397229610","file4":"1397229622","file5":"1397229624","file3":"1397229620"},"map_files_photo_id_array":[{"photo_id":"1397229624","filename":"file5"},{"photo_id":"1397229617","filename":"file2"},{"photo_id":"1397229622","filename":"file4"},{"photo_id":"1397229614","filename":"file1"},{"photo_id":"1397229610","filename":"file0"},{"photo_id":"1397229620","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397229622":["hashtag1","hashtag2"]},{"1397229610":["hashtag1","hashtag2"]},{"1397229624":["hashtag1","hashtag2"]},{"1397229620":["hashtag1","hashtag2"]},{"1397229614":["hashtag1","hashtag2"]},{"1397229617":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397229622, 1397229610, 1397229624, 1397229620, 1397229614, 1397229617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.856985330581665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 14:34:11.909343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_34_3570.jpg', '/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_37_2800.jpg', '/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_41_4089.jpg', '/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_43_1737.jpg', '/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_48_2820.jpg', '/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_52_3668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_34_3570.jpg
/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_37_2800.jpg
/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_41_4089.jpg
/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_43_1737.jpg
/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_48_2820.jpg
/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_52_3668.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5442121028900146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 14:34:21.982970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/10/image_01122025_13_10_45_10625.jpg', '/home/pi/Desktop/images/01122025/13/10/image_01122025_13_10_54_9581.jpg', '/home/pi/Desktop/images/01122025/13/10/image_01122025_13_11_04_9807.jpg', '/home/pi/Desktop/images/01122025/13/11/image_01122025_13_11_15_10634.jpg', '/home/pi/Desktop/images/01122025/13/11/image_01122025_13_11_25_9743.jpg', '/home/pi/Desktop/images/01122025/13/11/image_01122025_13_11_34_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/10/image_01122025_13_10_45_10625.jpg
/home/pi/Desktop/images/01122025/13/10/image_01122025_13_10_54_9581.jpg
/home/pi/Desktop/images/01122025/13/10/image_01122025_13_11_04_9807.jpg
/home/pi/Desktop/images/01122025/13/11/image_01122025_13_11_15_10634.jpg
/home/pi/Desktop/images/01122025/13/11/image_01122025_13_11_25_9743.jpg
/home/pi/Desktop/images/01122025/13/11/image_01122025_13_11_34_9779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397229738","1397229831","1397229872","1397229784","1397229694","1397229652"],"photo_ids_order":["1397229652","1397229694","1397229738","1397229784","1397229831","1397229872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/25ac7cbb6fb9f92648942ccd175c374e.jpg","text":"TemporaryFile(/tmp/multipartBody7864888354047702587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596122718,"filename":"image_01122025_13_11_04_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/74d920efcfe356497e2571db23fcc6ac.jpg","text":"TemporaryFile(/tmp/multipartBody4127739521372238345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596122718,"filename":"image_01122025_13_11_25_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/02aad469311c1b66ab5cef3c09842345.jpg","text":"TemporaryFile(/tmp/multipartBody7607724589859509339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596122718,"filename":"image_01122025_13_11_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/1/e398251a4b737e51f8bd5d21a5980108.jpg","text":"TemporaryFile(/tmp/multipartBody2178749507029450691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596122718,"filename":"image_01122025_13_11_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/1/f8da9a66fd1019ce2f9475496e679049.jpg","text":"TemporaryFile(/tmp/multipartBody9112048860101451320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596122718,"filename":"image_01122025_13_10_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/1/4e2db23049a926365eeeeb270ced5549.jpg","text":"TemporaryFile(/tmp/multipartBody1544978311113413013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596122718,"filename":"image_01122025_13_10_45_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397229738","file1":"1397229694","file0":"1397229652","file4":"1397229831","file5":"1397229872","file3":"1397229784"},"map_files_photo_id_array":[{"photo_id":"1397229872","filename":"file5"},{"photo_id":"1397229738","filename":"file2"},{"photo_id":"1397229831","filename":"file4"},{"photo_id":"1397229694","filename":"file1"},{"photo_id":"1397229652","filename":"file0"},{"photo_id":"1397229784","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397229738":["hashtag1","hashtag2"]},{"1397229831":["hashtag1","hashtag2"]},{"1397229872":["hashtag1","hashtag2"]},{"1397229784":["hashtag1","hashtag2"]},{"1397229694":["hashtag1","hashtag2"]},{"1397229652":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397229738, 1397229831, 1397229872, 1397229784, 1397229694, 1397229652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.28015112876892 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 14:35:02.824455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/11/image_01122025_13_11_45_10657.jpg', '/home/pi/Desktop/images/01122025/13/11/image_01122025_13_11_55_9629.jpg', '/home/pi/Desktop/images/01122025/13/11/image_01122025_13_12_04_9785.jpg', '/home/pi/Desktop/images/01122025/13/12/image_01122025_13_12_14_9666.jpg', '/home/pi/Desktop/images/01122025/13/12/image_01122025_13_12_25_10582.jpg', '/home/pi/Desktop/images/01122025/13/12/image_01122025_13_12_34_9830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/11/image_01122025_13_11_45_10657.jpg
/home/pi/Desktop/images/01122025/13/11/image_01122025_13_11_55_9629.jpg
/home/pi/Desktop/images/01122025/13/11/image_01122025_13_12_04_9785.jpg
/home/pi/Desktop/images/01122025/13/12/image_01122025_13_12_14_9666.jpg
/home/pi/Desktop/images/01122025/13/12/image_01122025_13_12_25_10582.jpg
/home/pi/Desktop/images/01122025/13/12/image_01122025_13_12_34_9830.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397230337","1397230165","1397230306","1397230117","1397230251","1397230203"],"photo_ids_order":["1397230117","1397230165","1397230203","1397230251","1397230306","1397230337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/01b968a7a03e3961ddb8c229674932db.jpg","text":"TemporaryFile(/tmp/multipartBody5823502938371857820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596163611,"filename":"image_01122025_13_12_34_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7f4bfaf178f3ec2f24fdb57cfb4808fc.jpg","text":"TemporaryFile(/tmp/multipartBody4315312416501952337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596163611,"filename":"image_01122025_13_11_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/1/46d1ce326c5f70b6a4a8a0d51a0a4d93.jpg","text":"TemporaryFile(/tmp/multipartBody4952185091414897675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596163611,"filename":"image_01122025_13_12_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/1/e7817f15c11311c54627a74be8b7382c.jpg","text":"TemporaryFile(/tmp/multipartBody6529461731947323757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596163611,"filename":"image_01122025_13_11_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/1/413387faac167de10a84e9bb7c9d6354.jpg","text":"TemporaryFile(/tmp/multipartBody150393588110190749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596163611,"filename":"image_01122025_13_12_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/1/4318c3ba72e997986bd410300c874d93.jpg","text":"TemporaryFile(/tmp/multipartBody3082129426314012250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596163611,"filename":"image_01122025_13_12_04_9785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397230203","file1":"1397230165","file0":"1397230117","file4":"1397230306","file5":"1397230337","file3":"1397230251"},"map_files_photo_id_array":[{"photo_id":"1397230337","filename":"file5"},{"photo_id":"1397230203","filename":"file2"},{"photo_id":"1397230306","filename":"file4"},{"photo_id":"1397230165","filename":"file1"},{"photo_id":"1397230117","filename":"file0"},{"photo_id":"1397230251","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397230337":["hashtag1","hashtag2"]},{"1397230165":["hashtag1","hashtag2"]},{"1397230306":["hashtag1","hashtag2"]},{"1397230117":["hashtag1","hashtag2"]},{"1397230251":["hashtag1","hashtag2"]},{"1397230203":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397230337, 1397230165, 1397230306, 1397230117, 1397230251, 1397230203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.25669240951538 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 14:36:02.773183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/12/image_01122025_13_12_44_9786.jpg', '/home/pi/Desktop/images/01122025/13/12/image_01122025_13_12_54_9768.jpg', '/home/pi/Desktop/images/01122025/13/12/image_01122025_13_13_05_10696.jpg', '/home/pi/Desktop/images/01122025/13/13/image_01122025_13_13_14_9596.jpg', '/home/pi/Desktop/images/01122025/13/13/image_01122025_13_13_24_9750.jpg', '/home/pi/Desktop/images/01122025/13/13/image_01122025_13_13_35_10553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/12/image_01122025_13_12_44_9786.jpg
/home/pi/Desktop/images/01122025/13/12/image_01122025_13_12_54_9768.jpg
/home/pi/Desktop/images/01122025/13/12/image_01122025_13_13_05_10696.jpg
/home/pi/Desktop/images/01122025/13/13/image_01122025_13_13_14_9596.jpg
/home/pi/Desktop/images/01122025/13/13/image_01122025_13_13_24_9750.jpg
/home/pi/Desktop/images/01122025/13/13/image_01122025_13_13_35_10553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397230444","1397230476","1397230479","1397230481","1397230484","1397230478"],"photo_ids_order":["1397230444","1397230476","1397230478","1397230479","1397230481","1397230484"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/11fb92d27b1c7b43714ab51c700ec836.jpg","text":"TemporaryFile(/tmp/multipartBody1493491044418334804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596223518,"filename":"image_01122025_13_12_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/1/72e85f6fb55195235275fe46944e16c0.jpg","text":"TemporaryFile(/tmp/multipartBody8834208595344648668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596223518,"filename":"image_01122025_13_12_54_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9aca8b02f402614555632778d0e525f9.jpg","text":"TemporaryFile(/tmp/multipartBody2308266217582440529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596223518,"filename":"image_01122025_13_13_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/1/6cfd5d404139c8b8d46c5f96f09d468f.jpg","text":"TemporaryFile(/tmp/multipartBody1662191123115370090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596223518,"filename":"image_01122025_13_13_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/1/b4bce08740374dde8e5492930c3794f6.jpg","text":"TemporaryFile(/tmp/multipartBody1458463952484274375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596223518,"filename":"image_01122025_13_13_35_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/1/0391622eba7e299a26f8abc61577c639.jpg","text":"TemporaryFile(/tmp/multipartBody8099946732725601934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596223518,"filename":"image_01122025_13_13_05_10696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397230478","file1":"1397230476","file0":"1397230444","file4":"1397230481","file5":"1397230484","file3":"1397230479"},"map_files_photo_id_array":[{"photo_id":"1397230484","filename":"file5"},{"photo_id":"1397230478","filename":"file2"},{"photo_id":"1397230481","filename":"file4"},{"photo_id":"1397230476","filename":"file1"},{"photo_id":"1397230444","filename":"file0"},{"photo_id":"1397230479","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397230444":["hashtag1","hashtag2"]},{"1397230476":["hashtag1","hashtag2"]},{"1397230479":["hashtag1","hashtag2"]},{"1397230481":["hashtag1","hashtag2"]},{"1397230484":["hashtag1","hashtag2"]},{"1397230478":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397230444, 1397230476, 1397230479, 1397230481, 1397230484, 1397230478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96625375747681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 14:36:42.326133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_11_2701.jpg', '/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_14_3584.jpg', '/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_17_2718.jpg', '/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_19_2528.jpg', '/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_22_2845.jpg', '/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_26_3772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_11_2701.jpg
/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_14_3584.jpg
/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_17_2718.jpg
/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_19_2528.jpg
/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_22_2845.jpg
/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_26_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":["1397230514","1397230508","1397230502","1397230510","1397230512","1397230506"],"photo_ids_order":["1397230502","1397230506","1397230508","1397230510","1397230512","1397230514"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/92aaf17a5eddfe2f571f5c0960bf80c5.jpg","text":"TemporaryFile(/tmp/multipartBody7349512847597632988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596264993,"filename":"image_31102025_14_34_26_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/1/aa1c6c35ec65bdf876038ac187c6f9c7.jpg","text":"TemporaryFile(/tmp/multipartBody6243707854067493458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596264993,"filename":"image_31102025_14_34_17_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/1/425fa9213b24296413d575baf8368c22.jpg","text":"TemporaryFile(/tmp/multipartBody5421542915905823550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596264993,"filename":"image_31102025_14_34_11_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/aec61dacf1df9b9a4db45d69eac9fb70.jpg","text":"TemporaryFile(/tmp/multipartBody1287597111877919316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596264993,"filename":"image_31102025_14_34_19_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/1/ee125a7f07edfb5e136bf9f15c3ddf03.jpg","text":"TemporaryFile(/tmp/multipartBody3092482548775859170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596264993,"filename":"image_31102025_14_34_22_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/1/e499df6cd6415ce48824a70b0f469fcb.jpg","text":"TemporaryFile(/tmp/multipartBody4146631765776997907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596264993,"filename":"image_31102025_14_34_14_3584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397230508","file1":"1397230506","file0":"1397230502","file4":"1397230512","file5":"1397230514","file3":"1397230510"},"map_files_photo_id_array":[{"photo_id":"1397230514","filename":"file5"},{"photo_id":"1397230508","filename":"file2"},{"photo_id":"1397230512","filename":"file4"},{"photo_id":"1397230506","filename":"file1"},{"photo_id":"1397230502","filename":"file0"},{"photo_id":"1397230510","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397230514":["hashtag1","hashtag2"]},{"1397230508":["hashtag1","hashtag2"]},{"1397230502":["hashtag1","hashtag2"]},{"1397230510":["hashtag1","hashtag2"]},{"1397230512":["hashtag1","hashtag2"]},{"1397230506":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397230514, 1397230508, 1397230502, 1397230510, 1397230512, 1397230506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29095649719238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 14:37:22.468169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/13/image_01122025_13_13_44_9674.jpg', '/home/pi/Desktop/images/01122025/13/13/image_01122025_13_13_55_10695.jpg', '/home/pi/Desktop/images/01122025/13/13/image_01122025_13_14_05_9773.jpg', '/home/pi/Desktop/images/01122025/13/14/image_01122025_13_14_15_9757.jpg', '/home/pi/Desktop/images/01122025/13/14/image_01122025_13_14_24_9729.jpg', '/home/pi/Desktop/images/01122025/13/14/image_01122025_13_14_35_10603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/13/image_01122025_13_13_44_9674.jpg
/home/pi/Desktop/images/01122025/13/13/image_01122025_13_13_55_10695.jpg
/home/pi/Desktop/images/01122025/13/13/image_01122025_13_14_05_9773.jpg
/home/pi/Desktop/images/01122025/13/14/image_01122025_13_14_15_9757.jpg
/home/pi/Desktop/images/01122025/13/14/image_01122025_13_14_24_9729.jpg
/home/pi/Desktop/images/01122025/13/14/image_01122025_13_14_35_10603.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.645421028137207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 14:37:32.568049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_34_3570.jpg', '/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_37_2800.jpg', '/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_41_4089.jpg', '/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_43_1737.jpg', '/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_48_2820.jpg', '/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_52_3668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_34_3570.jpg
/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_37_2800.jpg
/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_41_4089.jpg
/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_43_1737.jpg
/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_48_2820.jpg
/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_52_3668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397230561","1397230563","1397230557","1397230551","1397230530","1397230559"],"photo_ids_order":["1397230530","1397230551","1397230557","1397230559","1397230561","1397230563"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5090317743465e8640f744fe7c6181a1.jpg","text":"TemporaryFile(/tmp/multipartBody270332164372470657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596314224,"filename":"image_25112025_22_49_48_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/1/80ccb1a437f70aa860e583338362d78d.jpg","text":"TemporaryFile(/tmp/multipartBody5595310958427308364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596314224,"filename":"image_25112025_22_49_52_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b8579c6327609c98b5505fd5c2a6bdfd.jpg","text":"TemporaryFile(/tmp/multipartBody7179333867059064759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596314224,"filename":"image_25112025_22_49_41_4089.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f467549ea8c5d5a12df2ca4bf90f9504.jpg","text":"TemporaryFile(/tmp/multipartBody6270435870653695481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596314224,"filename":"image_25112025_22_49_37_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c42d7d45384c26ebe383bf45e6d73a27.jpg","text":"TemporaryFile(/tmp/multipartBody9065487414323610099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596314224,"filename":"image_25112025_22_49_34_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/1/6feaddb820d823d9cbd41c8f8181c3f8.jpg","text":"TemporaryFile(/tmp/multipartBody2006334069391616973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596314224,"filename":"image_25112025_22_49_43_1737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397230557","file1":"1397230551","file0":"1397230530","file4":"1397230561","file5":"1397230563","file3":"1397230559"},"map_files_photo_id_array":[{"photo_id":"1397230563","filename":"file5"},{"photo_id":"1397230557","filename":"file2"},{"photo_id":"1397230561","filename":"file4"},{"photo_id":"1397230551","filename":"file1"},{"photo_id":"1397230530","filename":"file0"},{"photo_id":"1397230559","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397230561":["hashtag1","hashtag2"]},{"1397230563":["hashtag1","hashtag2"]},{"1397230557":["hashtag1","hashtag2"]},{"1397230551":["hashtag1","hashtag2"]},{"1397230530":["hashtag1","hashtag2"]},{"1397230559":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397230561, 1397230563, 1397230557, 1397230551, 1397230530, 1397230559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78298997879028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 14:38:12.814820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_55_2827.jpg', '/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_57_2495.jpg', '/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_07_3017.jpg', '/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_11_3863.jpg', '/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_17_6686.jpg', '/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_19_1643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_55_2827.jpg
/home/pi/Desktop/images/25112025/22/49/image_25112025_22_49_57_2495.jpg
/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_07_3017.jpg
/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_11_3863.jpg
/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_17_6686.jpg
/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_19_1643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397230636","1397230600","1397230603","1397230647","1397230652","1397230625"],"photo_ids_order":["1397230600","1397230603","1397230625","1397230636","1397230647","1397230652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f290c4c848d4b618d54d66786cf1a5f5.jpg","text":"TemporaryFile(/tmp/multipartBody3259242292905776281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596354524,"filename":"image_25112025_22_50_11_3863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f33dc05d18a2f02038eeaf06bccdc970.jpg","text":"TemporaryFile(/tmp/multipartBody2025095164310445436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596354524,"filename":"image_25112025_22_49_55_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ac4fbcbeff76f93ea67d8c1af2bd45e0.jpg","text":"TemporaryFile(/tmp/multipartBody6002191698274075053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596354524,"filename":"image_25112025_22_49_57_2495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/de8a94fd5c786bc0ed0a812c27b82e07.jpg","text":"TemporaryFile(/tmp/multipartBody8761887818563176882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596354524,"filename":"image_25112025_22_50_17_6686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/95888f9991fa49dea862b7d46d10997c.jpg","text":"TemporaryFile(/tmp/multipartBody3290845915477848750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596354524,"filename":"image_25112025_22_50_19_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/1/35d67fdb480058e19c2af24a55a7263a.jpg","text":"TemporaryFile(/tmp/multipartBody6009596373862483282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596354524,"filename":"image_25112025_22_50_07_3017.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397230625","file1":"1397230603","file0":"1397230600","file4":"1397230647","file5":"1397230652","file3":"1397230636"},"map_files_photo_id_array":[{"photo_id":"1397230652","filename":"file5"},{"photo_id":"1397230625","filename":"file2"},{"photo_id":"1397230647","filename":"file4"},{"photo_id":"1397230603","filename":"file1"},{"photo_id":"1397230600","filename":"file0"},{"photo_id":"1397230636","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397230636":["hashtag1","hashtag2"]},{"1397230600":["hashtag1","hashtag2"]},{"1397230603":["hashtag1","hashtag2"]},{"1397230647":["hashtag1","hashtag2"]},{"1397230652":["hashtag1","hashtag2"]},{"1397230625":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397230636, 1397230600, 1397230603, 1397230647, 1397230652, 1397230625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.495216608047485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 14:39:03.061415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/13/image_01122025_13_13_44_9674.jpg', '/home/pi/Desktop/images/01122025/13/13/image_01122025_13_13_55_10695.jpg', '/home/pi/Desktop/images/01122025/13/13/image_01122025_13_14_05_9773.jpg', '/home/pi/Desktop/images/01122025/13/14/image_01122025_13_14_15_9757.jpg', '/home/pi/Desktop/images/01122025/13/14/image_01122025_13_14_24_9729.jpg', '/home/pi/Desktop/images/01122025/13/14/image_01122025_13_14_35_10603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/13/image_01122025_13_13_44_9674.jpg
/home/pi/Desktop/images/01122025/13/13/image_01122025_13_13_55_10695.jpg
/home/pi/Desktop/images/01122025/13/13/image_01122025_13_14_05_9773.jpg
/home/pi/Desktop/images/01122025/13/14/image_01122025_13_14_15_9757.jpg
/home/pi/Desktop/images/01122025/13/14/image_01122025_13_14_24_9729.jpg
/home/pi/Desktop/images/01122025/13/14/image_01122025_13_14_35_10603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397230675","1397230677","1397230685","1397230670","1397230673","1397230682"],"photo_ids_order":["1397230670","1397230673","1397230675","1397230677","1397230682","1397230685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/23d8cefa460f9d8c8ad96f7624edb8a6.jpg","text":"TemporaryFile(/tmp/multipartBody7831852891009005703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596403895,"filename":"image_01122025_13_14_05_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/1/3a3f9c85accf73f8cb87bf568a420a74.jpg","text":"TemporaryFile(/tmp/multipartBody604404609318382699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596403895,"filename":"image_01122025_13_14_15_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/df98827727834d75abb2c42850f1e2df.jpg","text":"TemporaryFile(/tmp/multipartBody1973912237186677590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596403895,"filename":"image_01122025_13_14_35_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e07a583266011cb60e47c01b25b48adb.jpg","text":"TemporaryFile(/tmp/multipartBody920940673952014944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596403895,"filename":"image_01122025_13_13_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/1/2452920c02ecb3ee21f0603e35034f67.jpg","text":"TemporaryFile(/tmp/multipartBody7043579113418284744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596403895,"filename":"image_01122025_13_13_55_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/05db451fdda824e0e77a302162c8bc80.jpg","text":"TemporaryFile(/tmp/multipartBody40416880014125296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596403895,"filename":"image_01122025_13_14_24_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397230675","file1":"1397230673","file0":"1397230670","file4":"1397230682","file5":"1397230685","file3":"1397230677"},"map_files_photo_id_array":[{"photo_id":"1397230685","filename":"file5"},{"photo_id":"1397230675","filename":"file2"},{"photo_id":"1397230682","filename":"file4"},{"photo_id":"1397230673","filename":"file1"},{"photo_id":"1397230670","filename":"file0"},{"photo_id":"1397230677","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397230675":["hashtag1","hashtag2"]},{"1397230677":["hashtag1","hashtag2"]},{"1397230685":["hashtag1","hashtag2"]},{"1397230670":["hashtag1","hashtag2"]},{"1397230673":["hashtag1","hashtag2"]},{"1397230682":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397230675, 1397230677, 1397230685, 1397230670, 1397230673, 1397230682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.271204233169556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 14:40:02.764205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/14/image_01122025_13_14_45_9661.jpg', '/home/pi/Desktop/images/01122025/13/14/image_01122025_13_14_54_9688.jpg', '/home/pi/Desktop/images/01122025/13/14/image_01122025_13_15_05_10714.jpg', '/home/pi/Desktop/images/01122025/13/15/image_01122025_13_15_15_9768.jpg', '/home/pi/Desktop/images/01122025/13/15/image_01122025_13_15_24_9708.jpg', '/home/pi/Desktop/images/01122025/13/15/image_01122025_13_15_34_9856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/14/image_01122025_13_14_45_9661.jpg
/home/pi/Desktop/images/01122025/13/14/image_01122025_13_14_54_9688.jpg
/home/pi/Desktop/images/01122025/13/14/image_01122025_13_15_05_10714.jpg
/home/pi/Desktop/images/01122025/13/15/image_01122025_13_15_15_9768.jpg
/home/pi/Desktop/images/01122025/13/15/image_01122025_13_15_24_9708.jpg
/home/pi/Desktop/images/01122025/13/15/image_01122025_13_15_34_9856.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6176590919494629 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 14:40:12.233943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_20_1591.jpg', '/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_22_1655.jpg', '/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_25_2806.jpg', '/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_28_2710.jpg', '/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_41_12906.jpg', '/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_44_3059.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_20_1591.jpg
/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_22_1655.jpg
/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_25_2806.jpg
/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_28_2710.jpg
/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_41_12906.jpg
/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_44_3059.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397230843","1397230927","1397230714","1397230708","1397230705","1397230718"],"photo_ids_order":["1397230705","1397230708","1397230714","1397230718","1397230843","1397230927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0d6d64753dffcd1f5cf5891b56ae697e.jpg","text":"TemporaryFile(/tmp/multipartBody3052973622654404623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596474075,"filename":"image_25112025_22_50_41_12906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e411aa43b09985678d2ea44148900358.jpg","text":"TemporaryFile(/tmp/multipartBody1874343186589551923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596474075,"filename":"image_25112025_22_50_44_3059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/74f2ae8691f79cfac196f9989b9e47eb.jpg","text":"TemporaryFile(/tmp/multipartBody3334495732414224893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596474075,"filename":"image_25112025_22_50_25_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/1/29fb4159a9c169a6ec66f3457c4aba6e.jpg","text":"TemporaryFile(/tmp/multipartBody2973436844419112418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596474075,"filename":"image_25112025_22_50_22_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/1/198da8f76e4c58b7813680fdef2ddc14.jpg","text":"TemporaryFile(/tmp/multipartBody245073621006973463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596474075,"filename":"image_25112025_22_50_20_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/1/3ba901d678a2bddaaea0ce64272ab157.jpg","text":"TemporaryFile(/tmp/multipartBody7265111555244653300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596474075,"filename":"image_25112025_22_50_28_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397230714","file1":"1397230708","file0":"1397230705","file4":"1397230843","file5":"1397230927","file3":"1397230718"},"map_files_photo_id_array":[{"photo_id":"1397230927","filename":"file5"},{"photo_id":"1397230714","filename":"file2"},{"photo_id":"1397230843","filename":"file4"},{"photo_id":"1397230708","filename":"file1"},{"photo_id":"1397230705","filename":"file0"},{"photo_id":"1397230718","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397230843":["hashtag1","hashtag2"]},{"1397230927":["hashtag1","hashtag2"]},{"1397230714":["hashtag1","hashtag2"]},{"1397230708":["hashtag1","hashtag2"]},{"1397230705":["hashtag1","hashtag2"]},{"1397230718":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397230843, 1397230927, 1397230714, 1397230708, 1397230705, 1397230718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.15982389450073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 14:41:03.252293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/14/image_01122025_13_14_45_9661.jpg', '/home/pi/Desktop/images/01122025/13/14/image_01122025_13_14_54_9688.jpg', '/home/pi/Desktop/images/01122025/13/14/image_01122025_13_15_05_10714.jpg', '/home/pi/Desktop/images/01122025/13/15/image_01122025_13_15_15_9768.jpg', '/home/pi/Desktop/images/01122025/13/15/image_01122025_13_15_24_9708.jpg', '/home/pi/Desktop/images/01122025/13/15/image_01122025_13_15_34_9856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/14/image_01122025_13_14_45_9661.jpg
/home/pi/Desktop/images/01122025/13/14/image_01122025_13_14_54_9688.jpg
/home/pi/Desktop/images/01122025/13/14/image_01122025_13_15_05_10714.jpg
/home/pi/Desktop/images/01122025/13/15/image_01122025_13_15_15_9768.jpg
/home/pi/Desktop/images/01122025/13/15/image_01122025_13_15_24_9708.jpg
/home/pi/Desktop/images/01122025/13/15/image_01122025_13_15_34_9856.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397231295","1397231227","1397231308","1397231172","1397231285","1397231273"],"photo_ids_order":["1397231172","1397231227","1397231273","1397231285","1397231295","1397231308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/654c82974c3323018285e3b89e389160.jpg","text":"TemporaryFile(/tmp/multipartBody7286639300996266112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596524038,"filename":"image_01122025_13_15_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/1/70bbc88791a0cab8bf028dfd5e2e3181.jpg","text":"TemporaryFile(/tmp/multipartBody5690610443634161111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596524038,"filename":"image_01122025_13_14_54_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3a2d10a767710ebbb0ce1bc12ab74917.jpg","text":"TemporaryFile(/tmp/multipartBody1362637973551941110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596524038,"filename":"image_01122025_13_15_34_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b8d87ad78fa8eeecaa73f2083e0a3daf.jpg","text":"TemporaryFile(/tmp/multipartBody2827719002894403393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596524038,"filename":"image_01122025_13_14_45_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9ee9e14bcbab67dd049f4bc4233ddc99.jpg","text":"TemporaryFile(/tmp/multipartBody1465842402488153669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596524038,"filename":"image_01122025_13_15_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/1/f42fd539a23e9979a194d4c5b2b0bc8b.jpg","text":"TemporaryFile(/tmp/multipartBody955361001552592267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596524038,"filename":"image_01122025_13_15_05_10714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397231273","file1":"1397231227","file0":"1397231172","file4":"1397231295","file5":"1397231308","file3":"1397231285"},"map_files_photo_id_array":[{"photo_id":"1397231308","filename":"file5"},{"photo_id":"1397231273","filename":"file2"},{"photo_id":"1397231295","filename":"file4"},{"photo_id":"1397231227","filename":"file1"},{"photo_id":"1397231172","filename":"file0"},{"photo_id":"1397231285","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397231295":["hashtag1","hashtag2"]},{"1397231227":["hashtag1","hashtag2"]},{"1397231308":["hashtag1","hashtag2"]},{"1397231172":["hashtag1","hashtag2"]},{"1397231285":["hashtag1","hashtag2"]},{"1397231273":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397231295, 1397231227, 1397231308, 1397231172, 1397231285, 1397231273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.57099199295044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 14:42:03.162910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/15/image_01122025_13_15_45_10697.jpg', '/home/pi/Desktop/images/01122025/13/15/image_01122025_13_15_55_9664.jpg', '/home/pi/Desktop/images/01122025/13/15/image_01122025_13_16_04_9768.jpg', '/home/pi/Desktop/images/01122025/13/16/image_01122025_13_16_14_9671.jpg', '/home/pi/Desktop/images/01122025/13/16/image_01122025_13_16_25_10667.jpg', '/home/pi/Desktop/images/01122025/13/16/image_01122025_13_16_34_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/15/image_01122025_13_15_45_10697.jpg
/home/pi/Desktop/images/01122025/13/15/image_01122025_13_15_55_9664.jpg
/home/pi/Desktop/images/01122025/13/15/image_01122025_13_16_04_9768.jpg
/home/pi/Desktop/images/01122025/13/16/image_01122025_13_16_14_9671.jpg
/home/pi/Desktop/images/01122025/13/16/image_01122025_13_16_25_10667.jpg
/home/pi/Desktop/images/01122025/13/16/image_01122025_13_16_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":["1397231389","1397231410","1397231407","1397231403","1397231405","1397231414"],"photo_ids_order":["1397231389","1397231403","1397231405","1397231407","1397231410","1397231414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/21c9a68ee10b796eb37128a389945459.jpg","text":"TemporaryFile(/tmp/multipartBody7464629102484684608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596583901,"filename":"image_01122025_13_15_45_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bc38e93f27e8617d8cd2c54e4a3f0a22.jpg","text":"TemporaryFile(/tmp/multipartBody4365858472900184785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596583901,"filename":"image_01122025_13_16_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/1/868fea326871d9e76470bcaa6e3a72c8.jpg","text":"TemporaryFile(/tmp/multipartBody8222729117927379291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596583901,"filename":"image_01122025_13_16_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/55ac95fc060343cafe7e4d62147b5e42.jpg","text":"TemporaryFile(/tmp/multipartBody1318811706672308580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596583901,"filename":"image_01122025_13_15_55_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/85abfe3b5b2c43badf9022f7c251c6ae.jpg","text":"TemporaryFile(/tmp/multipartBody7770161180045216710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596583901,"filename":"image_01122025_13_16_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/1/ca482cee587ccd67c75ebc7f65f1e599.jpg","text":"TemporaryFile(/tmp/multipartBody5257259859007083198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596583901,"filename":"image_01122025_13_16_34_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397231405","file1":"1397231403","file0":"1397231389","file4":"1397231410","file5":"1397231414","file3":"1397231407"},"map_files_photo_id_array":[{"photo_id":"1397231414","filename":"file5"},{"photo_id":"1397231405","filename":"file2"},{"photo_id":"1397231410","filename":"file4"},{"photo_id":"1397231403","filename":"file1"},{"photo_id":"1397231389","filename":"file0"},{"photo_id":"1397231407","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397231389":["hashtag1","hashtag2"]},{"1397231410":["hashtag1","hashtag2"]},{"1397231407":["hashtag1","hashtag2"]},{"1397231403":["hashtag1","hashtag2"]},{"1397231405":["hashtag1","hashtag2"]},{"1397231414":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397231389, 1397231410, 1397231407, 1397231403, 1397231405, 1397231414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89906859397888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 14:42:42.828261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_29_2801.jpg', '/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_32_2734.jpg', '/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_34_2699.jpg', '/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_38_3766.jpg', '/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_41_2588.jpg', '/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_44_3541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_29_2801.jpg
/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_32_2734.jpg
/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_34_2699.jpg
/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_38_3766.jpg
/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_41_2588.jpg
/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_44_3541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397231431","1397231434","1397231436","1397231427","1397231438","1397231432"],"photo_ids_order":["1397231427","1397231431","1397231432","1397231434","1397231436","1397231438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e790988a08bfedbf3587b1e052813ccc.jpg","text":"TemporaryFile(/tmp/multipartBody5536491188835754738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596625465,"filename":"image_31102025_14_34_32_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/1/115a0ad966fdfe1e862b4490ae1324c5.jpg","text":"TemporaryFile(/tmp/multipartBody5041202649163679720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596625465,"filename":"image_31102025_14_34_38_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5ada7d2fc3e2a65773993105871adaf9.jpg","text":"TemporaryFile(/tmp/multipartBody440106956837159201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596625465,"filename":"image_31102025_14_34_41_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/1/41641676484495648252c629ee9180a5.jpg","text":"TemporaryFile(/tmp/multipartBody2801308376721337734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596625465,"filename":"image_31102025_14_34_29_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/1/83aa950de3208d6d0b98966d273a19d6.jpg","text":"TemporaryFile(/tmp/multipartBody3738540079249699762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596625465,"filename":"image_31102025_14_34_44_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/1/ee1fc0f59c735ea96f780c55e413eb2a.jpg","text":"TemporaryFile(/tmp/multipartBody6043277972105708895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596625465,"filename":"image_31102025_14_34_34_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397231432","file1":"1397231431","file0":"1397231427","file4":"1397231436","file5":"1397231438","file3":"1397231434"},"map_files_photo_id_array":[{"photo_id":"1397231438","filename":"file5"},{"photo_id":"1397231432","filename":"file2"},{"photo_id":"1397231436","filename":"file4"},{"photo_id":"1397231431","filename":"file1"},{"photo_id":"1397231427","filename":"file0"},{"photo_id":"1397231434","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397231431":["hashtag1","hashtag2"]},{"1397231434":["hashtag1","hashtag2"]},{"1397231436":["hashtag1","hashtag2"]},{"1397231427":["hashtag1","hashtag2"]},{"1397231438":["hashtag1","hashtag2"]},{"1397231432":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397231431, 1397231434, 1397231436, 1397231427, 1397231438, 1397231432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.28720450401306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 14:43:32.077996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_45_1581.jpg', '/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_47_1726.jpg', '/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_49_1605.jpg', '/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_50_1513.jpg', '/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_52_1737.jpg', '/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_57_4882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_45_1581.jpg
/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_47_1726.jpg
/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_49_1605.jpg
/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_50_1513.jpg
/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_52_1737.jpg
/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_57_4882.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397231452","1397231461","1397231498","1397231502","1397231489","1397231479"],"photo_ids_order":["1397231452","1397231461","1397231479","1397231489","1397231498","1397231502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a37eaafe71d7e0040a78855bb9906040.jpg","text":"TemporaryFile(/tmp/multipartBody5663004750993057417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596673816,"filename":"image_25112025_22_50_45_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/1/fd38220265969e559f6c63e22ed05515.jpg","text":"TemporaryFile(/tmp/multipartBody9029697038881352895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596673816,"filename":"image_25112025_22_50_47_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/1/dabfa8408e31ae41d5e490ba8d64c44e.jpg","text":"TemporaryFile(/tmp/multipartBody5052946350123149824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596673816,"filename":"image_25112025_22_50_52_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/1/c1871a8cb5420975320ae79ae41cdf45.jpg","text":"TemporaryFile(/tmp/multipartBody8659953713460941934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596673816,"filename":"image_25112025_22_50_57_4882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/294c5b67e6d5303e664d0885871d3bfe.jpg","text":"TemporaryFile(/tmp/multipartBody8046830458703742531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596673816,"filename":"image_25112025_22_50_50_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/1/a0c345ada7ddf21b8eb4ed1f30d3b998.jpg","text":"TemporaryFile(/tmp/multipartBody6924418980891576878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596673816,"filename":"image_25112025_22_50_49_1605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397231479","file1":"1397231461","file0":"1397231452","file4":"1397231498","file5":"1397231502","file3":"1397231489"},"map_files_photo_id_array":[{"photo_id":"1397231502","filename":"file5"},{"photo_id":"1397231479","filename":"file2"},{"photo_id":"1397231498","filename":"file4"},{"photo_id":"1397231461","filename":"file1"},{"photo_id":"1397231452","filename":"file0"},{"photo_id":"1397231489","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397231452":["hashtag1","hashtag2"]},{"1397231461":["hashtag1","hashtag2"]},{"1397231498":["hashtag1","hashtag2"]},{"1397231502":["hashtag1","hashtag2"]},{"1397231489":["hashtag1","hashtag2"]},{"1397231479":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397231452, 1397231461, 1397231498, 1397231502, 1397231489, 1397231479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00677561759949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 14:44:12.191123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_58_1592.jpg', '/home/pi/Desktop/images/25112025/22/50/image_25112025_22_51_00_1550.jpg', '/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_01_1567.jpg', '/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_08_6701.jpg', '/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_10_1635.jpg', '/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_11_1609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/50/image_25112025_22_50_58_1592.jpg
/home/pi/Desktop/images/25112025/22/50/image_25112025_22_51_00_1550.jpg
/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_01_1567.jpg
/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_08_6701.jpg
/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_10_1635.jpg
/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_11_1609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397231611","1397231554","1397231598","1397231509","1397231518","1397231585"],"photo_ids_order":["1397231509","1397231518","1397231554","1397231585","1397231598","1397231611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4975d5e5eedd2e41789727fcb3d505aa.jpg","text":"TemporaryFile(/tmp/multipartBody9176423872286580460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596713863,"filename":"image_25112025_22_51_11_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/1/cb47d544e287fb610146d850e8b96252.jpg","text":"TemporaryFile(/tmp/multipartBody1269546506634351990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596713863,"filename":"image_25112025_22_51_01_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/1/e148df0f6b935d72a59bbb15b0706fe1.jpg","text":"TemporaryFile(/tmp/multipartBody434959405854991791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596713863,"filename":"image_25112025_22_51_10_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/1/e1aae570992d48bfeabc79af65d92ce3.jpg","text":"TemporaryFile(/tmp/multipartBody7199494186657859104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596713863,"filename":"image_25112025_22_50_58_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/1/331d97577d78a6062b2dcf4106245816.jpg","text":"TemporaryFile(/tmp/multipartBody425018137477723488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596713863,"filename":"image_25112025_22_51_00_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/1/c76666a8a520431696ebedbc70959fcb.jpg","text":"TemporaryFile(/tmp/multipartBody4940341446132372328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596713863,"filename":"image_25112025_22_51_08_6701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397231554","file1":"1397231518","file0":"1397231509","file4":"1397231598","file5":"1397231611","file3":"1397231585"},"map_files_photo_id_array":[{"photo_id":"1397231611","filename":"file5"},{"photo_id":"1397231554","filename":"file2"},{"photo_id":"1397231598","filename":"file4"},{"photo_id":"1397231518","filename":"file1"},{"photo_id":"1397231509","filename":"file0"},{"photo_id":"1397231585","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397231611":["hashtag1","hashtag2"]},{"1397231554":["hashtag1","hashtag2"]},{"1397231598":["hashtag1","hashtag2"]},{"1397231509":["hashtag1","hashtag2"]},{"1397231518":["hashtag1","hashtag2"]},{"1397231585":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397231611, 1397231554, 1397231598, 1397231509, 1397231518, 1397231585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.58649516105652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 14:45:03.018643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/16/image_01122025_13_16_45_10554.jpg', '/home/pi/Desktop/images/01122025/13/16/image_01122025_13_16_55_9608.jpg', '/home/pi/Desktop/images/01122025/13/16/image_01122025_13_17_05_9946.jpg', '/home/pi/Desktop/images/01122025/13/17/image_01122025_13_17_14_9726.jpg', '/home/pi/Desktop/images/01122025/13/17/image_01122025_13_17_25_10628.jpg', '/home/pi/Desktop/images/01122025/13/17/image_01122025_13_17_35_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/16/image_01122025_13_16_45_10554.jpg
/home/pi/Desktop/images/01122025/13/16/image_01122025_13_16_55_9608.jpg
/home/pi/Desktop/images/01122025/13/16/image_01122025_13_17_05_9946.jpg
/home/pi/Desktop/images/01122025/13/17/image_01122025_13_17_14_9726.jpg
/home/pi/Desktop/images/01122025/13/17/image_01122025_13_17_25_10628.jpg
/home/pi/Desktop/images/01122025/13/17/image_01122025_13_17_35_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397231863","1397231944","1397231879","1397231939","1397231921","1397231881"],"photo_ids_order":["1397231863","1397231879","1397231881","1397231921","1397231939","1397231944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/58cff4f6e3714fcfa3aeb4f03b541299.jpg","text":"TemporaryFile(/tmp/multipartBody1264027487997035950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596763786,"filename":"image_01122025_13_16_45_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/07e7c5fc2e911f87e078b501f3ae4747.jpg","text":"TemporaryFile(/tmp/multipartBody8822947141966695413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596763786,"filename":"image_01122025_13_17_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/1/2908aefb9a5d189ca94ed204f75a9590.jpg","text":"TemporaryFile(/tmp/multipartBody4967828404579877461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596763786,"filename":"image_01122025_13_16_55_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/1/3cd4087ea62b6d3f19c5f61b6b7ab433.jpg","text":"TemporaryFile(/tmp/multipartBody203675513298222089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596763786,"filename":"image_01122025_13_17_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/1/2ab4d2a696419defe5f46df4ba8f4e7f.jpg","text":"TemporaryFile(/tmp/multipartBody4862791575087553392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596763786,"filename":"image_01122025_13_17_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/1/21dac3c088c79bafce1c5d24ec00617b.jpg","text":"TemporaryFile(/tmp/multipartBody8527800701097135017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764596763786,"filename":"image_01122025_13_17_05_9946.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397231881","file1":"1397231879","file0":"1397231863","file4":"1397231939","file5":"1397231944","file3":"1397231921"},"map_files_photo_id_array":[{"photo_id":"1397231944","filename":"file5"},{"photo_id":"1397231881","filename":"file2"},{"photo_id":"1397231939","filename":"file4"},{"photo_id":"1397231879","filename":"file1"},{"photo_id":"1397231863","filename":"file0"},{"photo_id":"1397231921","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397231863":["hashtag1","hashtag2"]},{"1397231944":["hashtag1","hashtag2"]},{"1397231879":["hashtag1","hashtag2"]},{"1397231939":["hashtag1","hashtag2"]},{"1397231921":["hashtag1","hashtag2"]},{"1397231881":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397231863, 1397231944, 1397231879, 1397231939, 1397231921, 1397231881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2353413105011 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 14:46:03.309383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 14:46:12.596940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 14:46:32.619828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 14:46:42.642518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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
 val : 1 : upload photos already in processing! 
2025-12-01 14:47:14.769034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 14:47:25.577450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 14:47:45.614217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 14:48:04.760732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 14:48:14.436758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/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 : 2 : upload photos already in processing! 
2025-12-01 14:48:44.139878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 14:48:44.156672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 14:49:28.514644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 14:49:37.654365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_23_8785.jpg', '/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_24_1583.jpg', '/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_26_1654.jpg', '/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_33_1689.jpg', '/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_40_7175.jpg', '/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_42_1772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_23_8785.jpg
/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_24_1583.jpg
/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_26_1654.jpg
/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_33_1689.jpg
/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_40_7175.jpg
/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_42_1772.jpg
 val : 1 : upload photos 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":["1397232681","1397232684","1397232648","1397232698","1397232665","1397232694"],"photo_ids_order":["1397232648","1397232665","1397232681","1397232684","1397232694","1397232698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1679df7de59739d6ddf624432551cce5.jpg","text":"TemporaryFile(/tmp/multipartBody3176904767638764195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597039291,"filename":"image_25112025_22_51_26_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d14b519eb639696c3d65137dfa111850.jpg","text":"TemporaryFile(/tmp/multipartBody4413053454335521283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597039291,"filename":"image_25112025_22_51_33_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/1/0b40cce350176410b0e11f0f28cb41e9.jpg","text":"TemporaryFile(/tmp/multipartBody4426969386933099679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597039291,"filename":"image_25112025_22_51_23_8785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0d2d81d7f61d914361e38398a7231b1f.jpg","text":"TemporaryFile(/tmp/multipartBody4233239870825395736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597039291,"filename":"image_25112025_22_51_42_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/1/8e578ceff5ec80480c3da5e83e3c4eca.jpg","text":"TemporaryFile(/tmp/multipartBody9211438328223821155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597039291,"filename":"image_25112025_22_51_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/1/70fb3d9a66f80c8228aa64f8a76e14df.jpg","text":"TemporaryFile(/tmp/multipartBody3191783445104380818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597039291,"filename":"image_25112025_22_51_40_7175.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397232681","file1":"1397232665","file0":"1397232648","file4":"1397232694","file5":"1397232698","file3":"1397232684"},"map_files_photo_id_array":[{"photo_id":"1397232698","filename":"file5"},{"photo_id":"1397232681","filename":"file2"},{"photo_id":"1397232694","filename":"file4"},{"photo_id":"1397232665","filename":"file1"},{"photo_id":"1397232648","filename":"file0"},{"photo_id":"1397232684","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397232681":["hashtag1","hashtag2"]},{"1397232684":["hashtag1","hashtag2"]},{"1397232648":["hashtag1","hashtag2"]},{"1397232698":["hashtag1","hashtag2"]},{"1397232665":["hashtag1","hashtag2"]},{"1397232694":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397232681, 1397232684, 1397232648, 1397232698, 1397232665, 1397232694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14964699745178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 14:50:22.815808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/17/image_01122025_13_17_44_9655.jpg', '/home/pi/Desktop/images/01122025/13/17/image_01122025_13_17_55_10677.jpg', '/home/pi/Desktop/images/01122025/13/17/image_01122025_13_18_05_9780.jpg', '/home/pi/Desktop/images/01122025/13/18/image_01122025_13_18_14_9609.jpg', '/home/pi/Desktop/images/01122025/13/18/image_01122025_13_18_24_9782.jpg', '/home/pi/Desktop/images/01122025/13/18/image_01122025_13_18_35_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/17/image_01122025_13_17_44_9655.jpg
/home/pi/Desktop/images/01122025/13/17/image_01122025_13_17_55_10677.jpg
/home/pi/Desktop/images/01122025/13/17/image_01122025_13_18_05_9780.jpg
/home/pi/Desktop/images/01122025/13/18/image_01122025_13_18_14_9609.jpg
/home/pi/Desktop/images/01122025/13/18/image_01122025_13_18_24_9782.jpg
/home/pi/Desktop/images/01122025/13/18/image_01122025_13_18_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":["1397232795","1397232789","1397232786","1397232804","1397232784","1397232792"],"photo_ids_order":["1397232784","1397232786","1397232789","1397232792","1397232795","1397232804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a29741a4d04ad4ac8b25ad9c621d189f.jpg","text":"TemporaryFile(/tmp/multipartBody8250864455836191721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597083493,"filename":"image_01122025_13_18_24_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d85fc39b445ca042ca1a03b5b32a6580.jpg","text":"TemporaryFile(/tmp/multipartBody4702629314048737895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597083493,"filename":"image_01122025_13_18_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/1/cec25a3b450f31c200d0216c34a67266.jpg","text":"TemporaryFile(/tmp/multipartBody1632938632171634310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597083493,"filename":"image_01122025_13_17_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/1/fd0c251be5f968c3d9ff3fb2a4fcf6bc.jpg","text":"TemporaryFile(/tmp/multipartBody4852800823384906783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597083493,"filename":"image_01122025_13_18_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/1/e090a6786dc20a1fed7d6696a8c6c6a8.jpg","text":"TemporaryFile(/tmp/multipartBody4290943778407061237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597083493,"filename":"image_01122025_13_17_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/1/4514d38e0afbdbf0625017299000a027.jpg","text":"TemporaryFile(/tmp/multipartBody6378466994321038841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597083493,"filename":"image_01122025_13_18_14_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397232789","file1":"1397232786","file0":"1397232784","file4":"1397232795","file5":"1397232804","file3":"1397232792"},"map_files_photo_id_array":[{"photo_id":"1397232804","filename":"file5"},{"photo_id":"1397232789","filename":"file2"},{"photo_id":"1397232795","filename":"file4"},{"photo_id":"1397232786","filename":"file1"},{"photo_id":"1397232784","filename":"file0"},{"photo_id":"1397232792","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397232795":["hashtag1","hashtag2"]},{"1397232789":["hashtag1","hashtag2"]},{"1397232786":["hashtag1","hashtag2"]},{"1397232804":["hashtag1","hashtag2"]},{"1397232784":["hashtag1","hashtag2"]},{"1397232792":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397232795, 1397232789, 1397232786, 1397232804, 1397232784, 1397232792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.294684648513794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 14:51:02.499436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/18/image_01122025_13_18_44_9540.jpg', '/home/pi/Desktop/images/01122025/13/18/image_01122025_13_18_55_10662.jpg', '/home/pi/Desktop/images/01122025/13/18/image_01122025_13_19_05_9713.jpg', '/home/pi/Desktop/images/01122025/13/19/image_01122025_13_19_14_9683.jpg', '/home/pi/Desktop/images/01122025/13/19/image_01122025_13_19_25_10655.jpg', '/home/pi/Desktop/images/01122025/13/19/image_01122025_13_19_35_9821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/18/image_01122025_13_18_44_9540.jpg
/home/pi/Desktop/images/01122025/13/18/image_01122025_13_18_55_10662.jpg
/home/pi/Desktop/images/01122025/13/18/image_01122025_13_19_05_9713.jpg
/home/pi/Desktop/images/01122025/13/19/image_01122025_13_19_14_9683.jpg
/home/pi/Desktop/images/01122025/13/19/image_01122025_13_19_25_10655.jpg
/home/pi/Desktop/images/01122025/13/19/image_01122025_13_19_35_9821.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397232846","1397232860","1397232842","1397232865","1397232850","1397232838"],"photo_ids_order":["1397232838","1397232842","1397232846","1397232850","1397232860","1397232865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c9bc91440604abd5b570f3a6f0c0b341.jpg","text":"TemporaryFile(/tmp/multipartBody8940915015771576280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597123243,"filename":"image_01122025_13_19_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/1/22c2b4ae1e72791fae0edbeeeabb8805.jpg","text":"TemporaryFile(/tmp/multipartBody779058323255660054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597123243,"filename":"image_01122025_13_19_25_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/945bbcd71fee380b42293a59692af0e2.jpg","text":"TemporaryFile(/tmp/multipartBody4576494021684720509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597123243,"filename":"image_01122025_13_18_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/1/2d46b34ebb7c2ce88d6b06c197d79da9.jpg","text":"TemporaryFile(/tmp/multipartBody5647263279991923226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597123243,"filename":"image_01122025_13_19_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/1/c39ca33762d1d6974b84c0fb849ab035.jpg","text":"TemporaryFile(/tmp/multipartBody806283076774299545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597123243,"filename":"image_01122025_13_19_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/1/7ee5259b79db5233d0e1ada88ec01b6f.jpg","text":"TemporaryFile(/tmp/multipartBody5568247011189048364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597123243,"filename":"image_01122025_13_18_44_9540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397232846","file1":"1397232842","file0":"1397232838","file4":"1397232860","file5":"1397232865","file3":"1397232850"},"map_files_photo_id_array":[{"photo_id":"1397232865","filename":"file5"},{"photo_id":"1397232846","filename":"file2"},{"photo_id":"1397232860","filename":"file4"},{"photo_id":"1397232842","filename":"file1"},{"photo_id":"1397232838","filename":"file0"},{"photo_id":"1397232850","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397232846":["hashtag1","hashtag2"]},{"1397232860":["hashtag1","hashtag2"]},{"1397232842":["hashtag1","hashtag2"]},{"1397232865":["hashtag1","hashtag2"]},{"1397232850":["hashtag1","hashtag2"]},{"1397232838":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397232846, 1397232860, 1397232842, 1397232865, 1397232850, 1397232838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.369492530822754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 14:52:02.708229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/19/image_01122025_13_19_44_9688.jpg', '/home/pi/Desktop/images/01122025/13/19/image_01122025_13_19_54_9722.jpg', '/home/pi/Desktop/images/01122025/13/19/image_01122025_13_20_05_10594.jpg', '/home/pi/Desktop/images/01122025/13/20/image_01122025_13_20_15_9714.jpg', '/home/pi/Desktop/images/01122025/13/20/image_01122025_13_20_24_9842.jpg', '/home/pi/Desktop/images/01122025/13/20/image_01122025_13_20_34_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/19/image_01122025_13_19_44_9688.jpg
/home/pi/Desktop/images/01122025/13/19/image_01122025_13_19_54_9722.jpg
/home/pi/Desktop/images/01122025/13/19/image_01122025_13_20_05_10594.jpg
/home/pi/Desktop/images/01122025/13/20/image_01122025_13_20_15_9714.jpg
/home/pi/Desktop/images/01122025/13/20/image_01122025_13_20_24_9842.jpg
/home/pi/Desktop/images/01122025/13/20/image_01122025_13_20_34_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":["1397232963","1397232938","1397232958","1397232946","1397232934","1397232928"],"photo_ids_order":["1397232928","1397232934","1397232938","1397232946","1397232958","1397232963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/577135d58276d34d7bb7d3241a57170c.jpg","text":"TemporaryFile(/tmp/multipartBody6472911769670090232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597183397,"filename":"image_01122025_13_20_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/1/d9874d0d9b5ec1fe523e3c2f4ffbeb5a.jpg","text":"TemporaryFile(/tmp/multipartBody1613987071023268133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597183397,"filename":"image_01122025_13_20_05_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/abbed2e352575b840e74d1487f88f41a.jpg","text":"TemporaryFile(/tmp/multipartBody6016683012983569431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597183397,"filename":"image_01122025_13_20_24_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/1/aedfbf2cca6b56b03c5af4f4ff051b10.jpg","text":"TemporaryFile(/tmp/multipartBody749530110520838426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597183397,"filename":"image_01122025_13_20_15_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5e9689f44e73ae1e50b1c9aedd398981.jpg","text":"TemporaryFile(/tmp/multipartBody2830841295891257732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597183397,"filename":"image_01122025_13_19_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/1/9f5b1429fd0dde2115c7acc7d0177b1f.jpg","text":"TemporaryFile(/tmp/multipartBody8946131430993838353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597183397,"filename":"image_01122025_13_19_44_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397232938","file1":"1397232934","file0":"1397232928","file4":"1397232958","file5":"1397232963","file3":"1397232946"},"map_files_photo_id_array":[{"photo_id":"1397232963","filename":"file5"},{"photo_id":"1397232938","filename":"file2"},{"photo_id":"1397232958","filename":"file4"},{"photo_id":"1397232934","filename":"file1"},{"photo_id":"1397232928","filename":"file0"},{"photo_id":"1397232946","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397232963":["hashtag1","hashtag2"]},{"1397232938":["hashtag1","hashtag2"]},{"1397232958":["hashtag1","hashtag2"]},{"1397232946":["hashtag1","hashtag2"]},{"1397232934":["hashtag1","hashtag2"]},{"1397232928":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397232963, 1397232938, 1397232958, 1397232946, 1397232934, 1397232928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52387595176697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 14:52:42.302232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_47_2791.jpg', '/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_50_2646.jpg', '/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_53_2833.jpg', '/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_56_3570.jpg', '/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_59_2897.jpg', '/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_02_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_47_2791.jpg
/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_50_2646.jpg
/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_53_2833.jpg
/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_56_3570.jpg
/home/pi/Desktop/images/31102025/14/34/image_31102025_14_34_59_2897.jpg
/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_02_2686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397233005","1397233014","1397233001","1397233012","1397233015","1397233018"],"photo_ids_order":["1397233001","1397233005","1397233012","1397233014","1397233015","1397233018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/59257f9efdc0f1cb2916f23a430a0d43.jpg","text":"TemporaryFile(/tmp/multipartBody2937275378122387857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597224923,"filename":"image_31102025_14_34_50_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/1/c861d52db773491135e9b3961ddb1aac.jpg","text":"TemporaryFile(/tmp/multipartBody7410510663920541986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597224923,"filename":"image_31102025_14_34_56_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/1/dfc721fae2c6ade6122486d817f44f76.jpg","text":"TemporaryFile(/tmp/multipartBody8403512727763408645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597224923,"filename":"image_31102025_14_34_47_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/1/d77f70452f1565915f1bcbbf5f4e66a7.jpg","text":"TemporaryFile(/tmp/multipartBody9184929623132544465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597224923,"filename":"image_31102025_14_34_53_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1d2069df71fd51181edca9c8f91a730c.jpg","text":"TemporaryFile(/tmp/multipartBody4920379264673334037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597224923,"filename":"image_31102025_14_34_59_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/1/b90d1920b0a500ab7296072d1f5342dd.jpg","text":"TemporaryFile(/tmp/multipartBody8779954613022149889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597224923,"filename":"image_31102025_14_35_02_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397233012","file1":"1397233005","file0":"1397233001","file4":"1397233015","file5":"1397233018","file3":"1397233014"},"map_files_photo_id_array":[{"photo_id":"1397233018","filename":"file5"},{"photo_id":"1397233012","filename":"file2"},{"photo_id":"1397233015","filename":"file4"},{"photo_id":"1397233005","filename":"file1"},{"photo_id":"1397233001","filename":"file0"},{"photo_id":"1397233014","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397233005":["hashtag1","hashtag2"]},{"1397233014":["hashtag1","hashtag2"]},{"1397233001":["hashtag1","hashtag2"]},{"1397233012":["hashtag1","hashtag2"]},{"1397233015":["hashtag1","hashtag2"]},{"1397233018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397233005, 1397233014, 1397233001, 1397233012, 1397233015, 1397233018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.81013774871826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 14:53:32.464588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_50_8310.jpg', '/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_52_1795.jpg', '/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_53_1698.jpg', '/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_55_1580.jpg', '/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_57_1709.jpg', '/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_12_14971.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_50_8310.jpg
/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_52_1795.jpg
/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_53_1698.jpg
/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_55_1580.jpg
/home/pi/Desktop/images/25112025/22/51/image_25112025_22_51_57_1709.jpg
/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_12_14971.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397233044","1397233082","1397233030","1397233105","1397233114","1397233098"],"photo_ids_order":["1397233030","1397233044","1397233082","1397233098","1397233105","1397233114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/86f6f4371c649b65d74e2a4ac2332fd6.jpg","text":"TemporaryFile(/tmp/multipartBody2016457963879160356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597274127,"filename":"image_25112025_22_51_52_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/1/416c78b1739f599a9d9e22270b391bcd.jpg","text":"TemporaryFile(/tmp/multipartBody5923295807777659254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597274127,"filename":"image_25112025_22_51_53_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/1/25c699b74394175e227f60d6221ed4de.jpg","text":"TemporaryFile(/tmp/multipartBody9061379085868536844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597274127,"filename":"image_25112025_22_51_50_8310.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8122294288448a9cbaf12d1f94a08ddf.jpg","text":"TemporaryFile(/tmp/multipartBody8951701724752535889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597274127,"filename":"image_25112025_22_51_57_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/1/a4c9c7ae7aa0aca57587006da50edf6e.jpg","text":"TemporaryFile(/tmp/multipartBody1488039003087143892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597274127,"filename":"image_25112025_22_52_12_14971.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cd505c2158c661aab872c0cc689f44a8.jpg","text":"TemporaryFile(/tmp/multipartBody6142022572251848459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597274127,"filename":"image_25112025_22_51_55_1580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397233082","file1":"1397233044","file0":"1397233030","file4":"1397233105","file5":"1397233114","file3":"1397233098"},"map_files_photo_id_array":[{"photo_id":"1397233114","filename":"file5"},{"photo_id":"1397233082","filename":"file2"},{"photo_id":"1397233105","filename":"file4"},{"photo_id":"1397233044","filename":"file1"},{"photo_id":"1397233030","filename":"file0"},{"photo_id":"1397233098","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397233044":["hashtag1","hashtag2"]},{"1397233082":["hashtag1","hashtag2"]},{"1397233030":["hashtag1","hashtag2"]},{"1397233105":["hashtag1","hashtag2"]},{"1397233114":["hashtag1","hashtag2"]},{"1397233098":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397233044, 1397233082, 1397233030, 1397233105, 1397233114, 1397233098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45700263977051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 14:54:12.773212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_13_1613.jpg', '/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_15_1732.jpg', '/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_17_1568.jpg', '/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_23_6724.jpg', '/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_26_2948.jpg', '/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_29_2902.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_13_1613.jpg
/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_15_1732.jpg
/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_17_1568.jpg
/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_23_6724.jpg
/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_26_2948.jpg
/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_29_2902.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397233164","1397233158","1397233148","1397233186","1397233162","1397233153"],"photo_ids_order":["1397233148","1397233153","1397233158","1397233162","1397233164","1397233186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/de74cc79629b1fd04e541219b43c8016.jpg","text":"TemporaryFile(/tmp/multipartBody5930561854683266748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597314361,"filename":"image_25112025_22_52_26_2948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2c011b133326595c3854f41d991b3b27.jpg","text":"TemporaryFile(/tmp/multipartBody1237411326320880939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597314361,"filename":"image_25112025_22_52_17_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/1/1643a62bf5adddfdd9d97554b8d29df1.jpg","text":"TemporaryFile(/tmp/multipartBody4557268595424087070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597314361,"filename":"image_25112025_22_52_13_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/1/b8b5cc74245d86f16b69030bbf022243.jpg","text":"TemporaryFile(/tmp/multipartBody6916255202995771533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597314361,"filename":"image_25112025_22_52_29_2902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e49800032faca4c57c4a1de1ce18cc27.jpg","text":"TemporaryFile(/tmp/multipartBody8573968668818936275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597314361,"filename":"image_25112025_22_52_23_6724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/86faea7d9c46916380486edb76149d50.jpg","text":"TemporaryFile(/tmp/multipartBody298848356643723337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597314361,"filename":"image_25112025_22_52_15_1732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397233158","file1":"1397233153","file0":"1397233148","file4":"1397233164","file5":"1397233186","file3":"1397233162"},"map_files_photo_id_array":[{"photo_id":"1397233186","filename":"file5"},{"photo_id":"1397233158","filename":"file2"},{"photo_id":"1397233164","filename":"file4"},{"photo_id":"1397233153","filename":"file1"},{"photo_id":"1397233148","filename":"file0"},{"photo_id":"1397233162","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397233164":["hashtag1","hashtag2"]},{"1397233158":["hashtag1","hashtag2"]},{"1397233148":["hashtag1","hashtag2"]},{"1397233186":["hashtag1","hashtag2"]},{"1397233162":["hashtag1","hashtag2"]},{"1397233153":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397233164, 1397233158, 1397233148, 1397233186, 1397233162, 1397233153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16011929512024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 14:55:02.627470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/20/image_01122025_13_20_45_10569.jpg', '/home/pi/Desktop/images/01122025/13/20/image_01122025_13_20_54_9565.jpg', '/home/pi/Desktop/images/01122025/13/20/image_01122025_13_21_05_10713.jpg', '/home/pi/Desktop/images/01122025/13/21/image_01122025_13_21_15_9633.jpg', '/home/pi/Desktop/images/01122025/13/21/image_01122025_13_21_24_9757.jpg', '/home/pi/Desktop/images/01122025/13/21/image_01122025_13_21_34_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/20/image_01122025_13_20_45_10569.jpg
/home/pi/Desktop/images/01122025/13/20/image_01122025_13_20_54_9565.jpg
/home/pi/Desktop/images/01122025/13/20/image_01122025_13_21_05_10713.jpg
/home/pi/Desktop/images/01122025/13/21/image_01122025_13_21_15_9633.jpg
/home/pi/Desktop/images/01122025/13/21/image_01122025_13_21_24_9757.jpg
/home/pi/Desktop/images/01122025/13/21/image_01122025_13_21_34_9696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397233457","1397233406","1397233480","1397233357","1397233333","1397233362"],"photo_ids_order":["1397233333","1397233357","1397233362","1397233406","1397233457","1397233480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fd3c27c73c3d16ee947020d2b855e492.jpg","text":"TemporaryFile(/tmp/multipartBody3946635384825070122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597363383,"filename":"image_01122025_13_21_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/1/8de82abd20bfbdcaf4fb9f19a4fbbba9.jpg","text":"TemporaryFile(/tmp/multipartBody187571113945886781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597363383,"filename":"image_01122025_13_21_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/1/85df9fcd66a9248975a58edea68407b2.jpg","text":"TemporaryFile(/tmp/multipartBody3440959623061206119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597363383,"filename":"image_01122025_13_21_34_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/307dfc6bc9c5740eb6386c777bfb45fd.jpg","text":"TemporaryFile(/tmp/multipartBody7105519043639494129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597363383,"filename":"image_01122025_13_20_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/1/cb238e35ef186ae94a1455a8d9f6a43c.jpg","text":"TemporaryFile(/tmp/multipartBody5345022274576087185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597363383,"filename":"image_01122025_13_20_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/1/c4129f12d57b2503197817919879743b.jpg","text":"TemporaryFile(/tmp/multipartBody9032288791763050573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597363383,"filename":"image_01122025_13_21_05_10713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397233362","file1":"1397233357","file0":"1397233333","file4":"1397233457","file5":"1397233480","file3":"1397233406"},"map_files_photo_id_array":[{"photo_id":"1397233480","filename":"file5"},{"photo_id":"1397233362","filename":"file2"},{"photo_id":"1397233457","filename":"file4"},{"photo_id":"1397233357","filename":"file1"},{"photo_id":"1397233333","filename":"file0"},{"photo_id":"1397233406","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397233457":["hashtag1","hashtag2"]},{"1397233406":["hashtag1","hashtag2"]},{"1397233480":["hashtag1","hashtag2"]},{"1397233357":["hashtag1","hashtag2"]},{"1397233333":["hashtag1","hashtag2"]},{"1397233362":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397233457, 1397233406, 1397233480, 1397233357, 1397233333, 1397233362)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.71178340911865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 14:56:02.674275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/21/image_01122025_13_21_45_10666.jpg', '/home/pi/Desktop/images/01122025/13/21/image_01122025_13_21_54_9752.jpg', '/home/pi/Desktop/images/01122025/13/21/image_01122025_13_22_04_9635.jpg', '/home/pi/Desktop/images/01122025/13/22/image_01122025_13_22_15_10622.jpg', '/home/pi/Desktop/images/01122025/13/22/image_01122025_13_22_24_9707.jpg', '/home/pi/Desktop/images/01122025/13/22/image_01122025_13_22_35_10525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/21/image_01122025_13_21_45_10666.jpg
/home/pi/Desktop/images/01122025/13/21/image_01122025_13_21_54_9752.jpg
/home/pi/Desktop/images/01122025/13/21/image_01122025_13_22_04_9635.jpg
/home/pi/Desktop/images/01122025/13/22/image_01122025_13_22_15_10622.jpg
/home/pi/Desktop/images/01122025/13/22/image_01122025_13_22_24_9707.jpg
/home/pi/Desktop/images/01122025/13/22/image_01122025_13_22_35_10525.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397233498","1397233516","1397233501","1397233510","1397233504","1397233507"],"photo_ids_order":["1397233498","1397233501","1397233504","1397233507","1397233510","1397233516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fe2c0f6e6d6bcbecf62589d308423cb8.jpg","text":"TemporaryFile(/tmp/multipartBody7517118016400280802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597423365,"filename":"image_01122025_13_21_45_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e51c3131001ce1fbf1bf109086a82a43.jpg","text":"TemporaryFile(/tmp/multipartBody9195468167554680429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597423365,"filename":"image_01122025_13_22_35_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/1/46c671fd0849365d98dfc35a193b4113.jpg","text":"TemporaryFile(/tmp/multipartBody8678326880384782940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597423365,"filename":"image_01122025_13_21_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/1/c572cd7fb4998ca9de9862b65703ec91.jpg","text":"TemporaryFile(/tmp/multipartBody2274913605846378924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597423365,"filename":"image_01122025_13_22_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/1/67b759c69fe153ec03e9b4413892884f.jpg","text":"TemporaryFile(/tmp/multipartBody2157172896332244082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597423365,"filename":"image_01122025_13_22_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/1/c53e83d5270d16c2f7b157e873b4100c.jpg","text":"TemporaryFile(/tmp/multipartBody5323806660033752409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597423365,"filename":"image_01122025_13_22_15_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397233504","file1":"1397233501","file0":"1397233498","file4":"1397233510","file5":"1397233516","file3":"1397233507"},"map_files_photo_id_array":[{"photo_id":"1397233516","filename":"file5"},{"photo_id":"1397233504","filename":"file2"},{"photo_id":"1397233510","filename":"file4"},{"photo_id":"1397233501","filename":"file1"},{"photo_id":"1397233498","filename":"file0"},{"photo_id":"1397233507","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397233498":["hashtag1","hashtag2"]},{"1397233516":["hashtag1","hashtag2"]},{"1397233501":["hashtag1","hashtag2"]},{"1397233510":["hashtag1","hashtag2"]},{"1397233504":["hashtag1","hashtag2"]},{"1397233507":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397233498, 1397233516, 1397233501, 1397233510, 1397233504, 1397233507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7335262298584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 14:56:42.142290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_05_2906.jpg', '/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_08_3583.jpg', '/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_11_2682.jpg', '/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_13_2631.jpg', '/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_20_2816.jpg', '/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_25_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_05_2906.jpg
/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_08_3583.jpg
/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_11_2682.jpg
/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_13_2631.jpg
/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_20_2816.jpg
/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_25_2664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397233533","1397233562","1397233565","1397233559","1397233547","1397233557"],"photo_ids_order":["1397233533","1397233547","1397233557","1397233559","1397233562","1397233565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/74ce0021512b9c59e10641930e5fd169.jpg","text":"TemporaryFile(/tmp/multipartBody3837624558241061591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597464691,"filename":"image_31102025_14_35_05_2906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/73c059c991e557042ec54b24acb747ef.jpg","text":"TemporaryFile(/tmp/multipartBody1484587183318487737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597464691,"filename":"image_31102025_14_35_20_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dd9df6f47580d7e76e53b52a2c9c82b3.jpg","text":"TemporaryFile(/tmp/multipartBody5625373410992705194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597464691,"filename":"image_31102025_14_35_25_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/1/c7299b6e788a40c72173fde19f83280a.jpg","text":"TemporaryFile(/tmp/multipartBody4323150226345008580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597464691,"filename":"image_31102025_14_35_13_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1380a580ef6682e87dced895c5b4c6e4.jpg","text":"TemporaryFile(/tmp/multipartBody5203707637553734163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597464691,"filename":"image_31102025_14_35_08_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/65f4e9cbf486f93ae023db8239f57c27.jpg","text":"TemporaryFile(/tmp/multipartBody8583371188477515955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597464691,"filename":"image_31102025_14_35_11_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397233557","file1":"1397233547","file0":"1397233533","file4":"1397233562","file5":"1397233565","file3":"1397233559"},"map_files_photo_id_array":[{"photo_id":"1397233565","filename":"file5"},{"photo_id":"1397233557","filename":"file2"},{"photo_id":"1397233562","filename":"file4"},{"photo_id":"1397233547","filename":"file1"},{"photo_id":"1397233533","filename":"file0"},{"photo_id":"1397233559","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397233533":["hashtag1","hashtag2"]},{"1397233562":["hashtag1","hashtag2"]},{"1397233565":["hashtag1","hashtag2"]},{"1397233559":["hashtag1","hashtag2"]},{"1397233547":["hashtag1","hashtag2"]},{"1397233557":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397233533, 1397233562, 1397233565, 1397233559, 1397233547, 1397233557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.28809070587158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 14:57:32.299472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_32_2991.jpg', '/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_34_1648.jpg', '/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_36_1757.jpg', '/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_40_4214.jpg', '/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_42_1867.jpg', '/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_43_1793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_32_2991.jpg
/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_34_1648.jpg
/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_36_1757.jpg
/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_40_4214.jpg
/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_42_1867.jpg
/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_43_1793.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397233608","1397233583","1397233577","1397233604","1397233607","1397233609"],"photo_ids_order":["1397233577","1397233583","1397233604","1397233607","1397233608","1397233609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0f50841a777861d82a2efccf31d05138.jpg","text":"TemporaryFile(/tmp/multipartBody5254000127494202884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597513997,"filename":"image_25112025_22_52_42_1867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1efa876f785bad2ae27e0670e6b4516f.jpg","text":"TemporaryFile(/tmp/multipartBody6132030624602550322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597513997,"filename":"image_25112025_22_52_34_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/1/dd0846b8740aa4c90c99a323a15fe54c.jpg","text":"TemporaryFile(/tmp/multipartBody1223516827610517190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597513997,"filename":"image_25112025_22_52_32_2991.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/584a29430c2696868cb9f638635ca2ad.jpg","text":"TemporaryFile(/tmp/multipartBody1666457704780947009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597513997,"filename":"image_25112025_22_52_36_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/1/11816ae4e792b284b27464228254804e.jpg","text":"TemporaryFile(/tmp/multipartBody4026754326592247310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597513997,"filename":"image_25112025_22_52_40_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/1/1f6e233fc8c76e653dc570a1042fceee.jpg","text":"TemporaryFile(/tmp/multipartBody2740789045267470007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597513997,"filename":"image_25112025_22_52_43_1793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397233604","file1":"1397233583","file0":"1397233577","file4":"1397233608","file5":"1397233609","file3":"1397233607"},"map_files_photo_id_array":[{"photo_id":"1397233609","filename":"file5"},{"photo_id":"1397233604","filename":"file2"},{"photo_id":"1397233608","filename":"file4"},{"photo_id":"1397233583","filename":"file1"},{"photo_id":"1397233577","filename":"file0"},{"photo_id":"1397233607","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397233608":["hashtag1","hashtag2"]},{"1397233583":["hashtag1","hashtag2"]},{"1397233577":["hashtag1","hashtag2"]},{"1397233604":["hashtag1","hashtag2"]},{"1397233607":["hashtag1","hashtag2"]},{"1397233609":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397233608, 1397233583, 1397233577, 1397233604, 1397233607, 1397233609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.277214765548706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 14:59:03.548018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/22/image_01122025_13_22_45_9779.jpg', '/home/pi/Desktop/images/01122025/13/22/image_01122025_13_22_54_9728.jpg', '/home/pi/Desktop/images/01122025/13/22/image_01122025_13_23_04_9642.jpg', '/home/pi/Desktop/images/01122025/13/23/image_01122025_13_23_15_10739.jpg', '/home/pi/Desktop/images/01122025/13/23/image_01122025_13_23_24_9654.jpg', '/home/pi/Desktop/images/01122025/13/23/image_01122025_13_23_34_9836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/22/image_01122025_13_22_45_9779.jpg
/home/pi/Desktop/images/01122025/13/22/image_01122025_13_22_54_9728.jpg
/home/pi/Desktop/images/01122025/13/22/image_01122025_13_23_04_9642.jpg
/home/pi/Desktop/images/01122025/13/23/image_01122025_13_23_15_10739.jpg
/home/pi/Desktop/images/01122025/13/23/image_01122025_13_23_24_9654.jpg
/home/pi/Desktop/images/01122025/13/23/image_01122025_13_23_34_9836.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397233839","1397233710","1397233880","1397233795","1397233706","1397233753"],"photo_ids_order":["1397233706","1397233710","1397233753","1397233795","1397233839","1397233880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/506a96bad5a3cb26e529bb6250f7cebe.jpg","text":"TemporaryFile(/tmp/multipartBody5535926477826182544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597604458,"filename":"image_01122025_13_23_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/1/a44100e060581a9f8f9b2990276c9cb5.jpg","text":"TemporaryFile(/tmp/multipartBody8786968925994905369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597604458,"filename":"image_01122025_13_22_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/1/3f81faaeffdf09c2827ed335b14b60ed.jpg","text":"TemporaryFile(/tmp/multipartBody1732567278299874526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597604458,"filename":"image_01122025_13_23_34_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d4c4a98bb201d8351a34713a43a37af5.jpg","text":"TemporaryFile(/tmp/multipartBody8808953042658345135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597604458,"filename":"image_01122025_13_23_15_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0c545bae2b0d860632d1d5b03c398361.jpg","text":"TemporaryFile(/tmp/multipartBody9185907528019582945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597604458,"filename":"image_01122025_13_22_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/1/e054247797d6fd53011f85a0c44baddf.jpg","text":"TemporaryFile(/tmp/multipartBody6623917987563940244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597604458,"filename":"image_01122025_13_23_04_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397233753","file1":"1397233710","file0":"1397233706","file4":"1397233839","file5":"1397233880","file3":"1397233795"},"map_files_photo_id_array":[{"photo_id":"1397233880","filename":"file5"},{"photo_id":"1397233753","filename":"file2"},{"photo_id":"1397233839","filename":"file4"},{"photo_id":"1397233710","filename":"file1"},{"photo_id":"1397233706","filename":"file0"},{"photo_id":"1397233795","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397233839":["hashtag1","hashtag2"]},{"1397233710":["hashtag1","hashtag2"]},{"1397233880":["hashtag1","hashtag2"]},{"1397233795":["hashtag1","hashtag2"]},{"1397233706":["hashtag1","hashtag2"]},{"1397233753":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397233839, 1397233710, 1397233880, 1397233795, 1397233706, 1397233753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.46200180053711 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:00:02.271468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/23/image_01122025_13_23_45_10586.jpg', '/home/pi/Desktop/images/01122025/13/23/image_01122025_13_23_55_9803.jpg', '/home/pi/Desktop/images/01122025/13/23/image_01122025_13_24_04_9692.jpg', '/home/pi/Desktop/images/01122025/13/24/image_01122025_13_24_14_9702.jpg', '/home/pi/Desktop/images/01122025/13/24/image_01122025_13_24_25_10836.jpg', '/home/pi/Desktop/images/01122025/13/24/image_01122025_13_24_35_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/23/image_01122025_13_23_45_10586.jpg
/home/pi/Desktop/images/01122025/13/23/image_01122025_13_23_55_9803.jpg
/home/pi/Desktop/images/01122025/13/23/image_01122025_13_24_04_9692.jpg
/home/pi/Desktop/images/01122025/13/24/image_01122025_13_24_14_9702.jpg
/home/pi/Desktop/images/01122025/13/24/image_01122025_13_24_25_10836.jpg
/home/pi/Desktop/images/01122025/13/24/image_01122025_13_24_35_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397234690","1397234273","1397234621","1397234479","1397234545","1397234370"],"photo_ids_order":["1397234273","1397234370","1397234479","1397234545","1397234621","1397234690"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8174d6ae691c7cdc25a86d83999d9124.jpg","text":"TemporaryFile(/tmp/multipartBody2785147270847353218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597662987,"filename":"image_01122025_13_24_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/1/55233992641a39f25dabdee5f45d4859.jpg","text":"TemporaryFile(/tmp/multipartBody1122554062278726691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597662987,"filename":"image_01122025_13_23_45_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/1/da44cc4da0e9f45614f28536f7d3bdbc.jpg","text":"TemporaryFile(/tmp/multipartBody6300150548774731963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597662987,"filename":"image_01122025_13_24_25_10836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4b3b421cfec3fdf9c2e30def04636400.jpg","text":"TemporaryFile(/tmp/multipartBody7098345144802645448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597662987,"filename":"image_01122025_13_24_04_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4c1213b362f030708cba3e09d0c3499b.jpg","text":"TemporaryFile(/tmp/multipartBody5220898813299526078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597662987,"filename":"image_01122025_13_24_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/1/960b5831471d42aa1e03cda3ae91102a.jpg","text":"TemporaryFile(/tmp/multipartBody5150085151309893963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597662987,"filename":"image_01122025_13_23_55_9803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397234479","file1":"1397234370","file0":"1397234273","file4":"1397234621","file5":"1397234690","file3":"1397234545"},"map_files_photo_id_array":[{"photo_id":"1397234690","filename":"file5"},{"photo_id":"1397234479","filename":"file2"},{"photo_id":"1397234621","filename":"file4"},{"photo_id":"1397234370","filename":"file1"},{"photo_id":"1397234273","filename":"file0"},{"photo_id":"1397234545","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397234690":["hashtag1","hashtag2"]},{"1397234273":["hashtag1","hashtag2"]},{"1397234621":["hashtag1","hashtag2"]},{"1397234479":["hashtag1","hashtag2"]},{"1397234545":["hashtag1","hashtag2"]},{"1397234370":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397234690, 1397234273, 1397234621, 1397234479, 1397234545, 1397234370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.10467767715454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:01:02.653862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/24/image_01122025_13_24_44_9633.jpg', '/home/pi/Desktop/images/01122025/13/24/image_01122025_13_24_55_10805.jpg', '/home/pi/Desktop/images/01122025/13/24/image_01122025_13_25_05_9700.jpg', '/home/pi/Desktop/images/01122025/13/25/image_01122025_13_25_14_9597.jpg', '/home/pi/Desktop/images/01122025/13/25/image_01122025_13_25_25_10614.jpg', '/home/pi/Desktop/images/01122025/13/25/image_01122025_13_25_35_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/24/image_01122025_13_24_44_9633.jpg
/home/pi/Desktop/images/01122025/13/24/image_01122025_13_24_55_10805.jpg
/home/pi/Desktop/images/01122025/13/24/image_01122025_13_25_05_9700.jpg
/home/pi/Desktop/images/01122025/13/25/image_01122025_13_25_14_9597.jpg
/home/pi/Desktop/images/01122025/13/25/image_01122025_13_25_25_10614.jpg
/home/pi/Desktop/images/01122025/13/25/image_01122025_13_25_35_9740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397235347","1397235140","1397235193","1397235093","1397235327","1397235284"],"photo_ids_order":["1397235093","1397235140","1397235193","1397235284","1397235327","1397235347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6400926f104e2f050316b12255fb4a52.jpg","text":"TemporaryFile(/tmp/multipartBody3421983500574118846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597723396,"filename":"image_01122025_13_25_35_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/73c54b03cf9e31841444f95aec734a96.jpg","text":"TemporaryFile(/tmp/multipartBody1828472927686069748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597723396,"filename":"image_01122025_13_24_55_10805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d53585fe9bb3c59a0a9148ebb79ed134.jpg","text":"TemporaryFile(/tmp/multipartBody4747614099853350576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597723396,"filename":"image_01122025_13_25_05_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5eb1df277435e4534b78df20b0a8f0ef.jpg","text":"TemporaryFile(/tmp/multipartBody3910284549350356688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597723396,"filename":"image_01122025_13_24_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/1/d5858ef67f42d1f536325f68838569ab.jpg","text":"TemporaryFile(/tmp/multipartBody8909028904742834184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597723396,"filename":"image_01122025_13_25_25_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/931eea28bcb19339eceb57800628f316.jpg","text":"TemporaryFile(/tmp/multipartBody3923612602296553013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597723396,"filename":"image_01122025_13_25_14_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397235193","file1":"1397235140","file0":"1397235093","file4":"1397235327","file5":"1397235347","file3":"1397235284"},"map_files_photo_id_array":[{"photo_id":"1397235347","filename":"file5"},{"photo_id":"1397235193","filename":"file2"},{"photo_id":"1397235327","filename":"file4"},{"photo_id":"1397235140","filename":"file1"},{"photo_id":"1397235093","filename":"file0"},{"photo_id":"1397235284","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397235347":["hashtag1","hashtag2"]},{"1397235140":["hashtag1","hashtag2"]},{"1397235193":["hashtag1","hashtag2"]},{"1397235093":["hashtag1","hashtag2"]},{"1397235327":["hashtag1","hashtag2"]},{"1397235284":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397235347, 1397235140, 1397235193, 1397235093, 1397235327, 1397235284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17100715637207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:02:02.611532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/25/image_01122025_13_25_44_9714.jpg', '/home/pi/Desktop/images/01122025/13/25/image_01122025_13_25_54_9679.jpg', '/home/pi/Desktop/images/01122025/13/25/image_01122025_13_26_05_10680.jpg', '/home/pi/Desktop/images/01122025/13/26/image_01122025_13_26_14_9632.jpg', '/home/pi/Desktop/images/01122025/13/26/image_01122025_13_26_24_9706.jpg', '/home/pi/Desktop/images/01122025/13/26/image_01122025_13_26_35_10684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/25/image_01122025_13_25_44_9714.jpg
/home/pi/Desktop/images/01122025/13/25/image_01122025_13_25_54_9679.jpg
/home/pi/Desktop/images/01122025/13/25/image_01122025_13_26_05_10680.jpg
/home/pi/Desktop/images/01122025/13/26/image_01122025_13_26_14_9632.jpg
/home/pi/Desktop/images/01122025/13/26/image_01122025_13_26_24_9706.jpg
/home/pi/Desktop/images/01122025/13/26/image_01122025_13_26_35_10684.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6250491142272949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 15:02:12.123873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_45_1584.jpg', '/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_47_1823.jpg', '/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_52_5432.jpg', '/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_54_1579.jpg', '/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_56_1695.jpg', '/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_57_1578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_45_1584.jpg
/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_47_1823.jpg
/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_52_5432.jpg
/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_54_1579.jpg
/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_56_1695.jpg
/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_57_1578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397235917","1397235811","1397235762","1397235942","1397235939","1397235767"],"photo_ids_order":["1397235762","1397235767","1397235811","1397235917","1397235939","1397235942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/39f4b1ebe3c102c622454f1cd183efa0.jpg","text":"TemporaryFile(/tmp/multipartBody4926944048409901442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597793723,"filename":"image_25112025_22_52_54_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/1/bd33df73611a3b0770739440568ca349.jpg","text":"TemporaryFile(/tmp/multipartBody5688979958639644609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597793723,"filename":"image_25112025_22_52_52_5432.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/95ee2f3abb58b6d5e5c665ab8b0adb0a.jpg","text":"TemporaryFile(/tmp/multipartBody127032745507105423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597793723,"filename":"image_25112025_22_52_45_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/1/b920f022fb7b3946aebb5e6ccfa920ec.jpg","text":"TemporaryFile(/tmp/multipartBody2498548178456821041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597793723,"filename":"image_25112025_22_52_57_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/1/7fa8f8ff9f088f31ad2ac0bc37a7edb5.jpg","text":"TemporaryFile(/tmp/multipartBody903670429091013516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597793723,"filename":"image_25112025_22_52_56_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/1/1d58be9ef8e6fb3dacea44ab75425c5c.jpg","text":"TemporaryFile(/tmp/multipartBody1245696569927152433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597793723,"filename":"image_25112025_22_52_47_1823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397235811","file1":"1397235767","file0":"1397235762","file4":"1397235939","file5":"1397235942","file3":"1397235917"},"map_files_photo_id_array":[{"photo_id":"1397235942","filename":"file5"},{"photo_id":"1397235811","filename":"file2"},{"photo_id":"1397235939","filename":"file4"},{"photo_id":"1397235767","filename":"file1"},{"photo_id":"1397235762","filename":"file0"},{"photo_id":"1397235917","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397235917":["hashtag1","hashtag2"]},{"1397235811":["hashtag1","hashtag2"]},{"1397235762":["hashtag1","hashtag2"]},{"1397235942":["hashtag1","hashtag2"]},{"1397235939":["hashtag1","hashtag2"]},{"1397235767":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397235917, 1397235811, 1397235762, 1397235942, 1397235939, 1397235767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.10376739501953 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:03:02.884388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/25/image_01122025_13_25_44_9714.jpg', '/home/pi/Desktop/images/01122025/13/25/image_01122025_13_25_54_9679.jpg', '/home/pi/Desktop/images/01122025/13/25/image_01122025_13_26_05_10680.jpg', '/home/pi/Desktop/images/01122025/13/26/image_01122025_13_26_14_9632.jpg', '/home/pi/Desktop/images/01122025/13/26/image_01122025_13_26_24_9706.jpg', '/home/pi/Desktop/images/01122025/13/26/image_01122025_13_26_35_10684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/25/image_01122025_13_25_44_9714.jpg
/home/pi/Desktop/images/01122025/13/25/image_01122025_13_25_54_9679.jpg
/home/pi/Desktop/images/01122025/13/25/image_01122025_13_26_05_10680.jpg
/home/pi/Desktop/images/01122025/13/26/image_01122025_13_26_14_9632.jpg
/home/pi/Desktop/images/01122025/13/26/image_01122025_13_26_24_9706.jpg
/home/pi/Desktop/images/01122025/13/26/image_01122025_13_26_35_10684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397235976","1397235979","1397235990","1397235984","1397235972","1397235959"],"photo_ids_order":["1397235959","1397235972","1397235976","1397235979","1397235984","1397235990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d747f8453cef32d182e3f97a6eb71c24.jpg","text":"TemporaryFile(/tmp/multipartBody2573648970466630438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597843617,"filename":"image_01122025_13_26_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/1/2678488e02a49c94d6d85423237e8004.jpg","text":"TemporaryFile(/tmp/multipartBody4906213554098157653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597843617,"filename":"image_01122025_13_26_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/1/263186cc07d7c3d9a1034f083ae0c89b.jpg","text":"TemporaryFile(/tmp/multipartBody2080787768101801677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597843617,"filename":"image_01122025_13_26_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/1/fb26b8818dec5c775147e56bdb7e73d9.jpg","text":"TemporaryFile(/tmp/multipartBody2124285866215305880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597843617,"filename":"image_01122025_13_26_24_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/baeae10826dab2bc1e6ab74b6ac03ef2.jpg","text":"TemporaryFile(/tmp/multipartBody2362148879867564061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597843617,"filename":"image_01122025_13_25_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/1/52c30036e709da2ea618c8734f02d904.jpg","text":"TemporaryFile(/tmp/multipartBody5244216884255247819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597843617,"filename":"image_01122025_13_25_44_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397235976","file1":"1397235972","file0":"1397235959","file4":"1397235984","file5":"1397235990","file3":"1397235979"},"map_files_photo_id_array":[{"photo_id":"1397235990","filename":"file5"},{"photo_id":"1397235976","filename":"file2"},{"photo_id":"1397235984","filename":"file4"},{"photo_id":"1397235972","filename":"file1"},{"photo_id":"1397235959","filename":"file0"},{"photo_id":"1397235979","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397235976":["hashtag1","hashtag2"]},{"1397235979":["hashtag1","hashtag2"]},{"1397235990":["hashtag1","hashtag2"]},{"1397235984":["hashtag1","hashtag2"]},{"1397235972":["hashtag1","hashtag2"]},{"1397235959":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397235976, 1397235979, 1397235990, 1397235984, 1397235972, 1397235959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.63018465042114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:04:03.194551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/26/image_01122025_13_26_44_9676.jpg', '/home/pi/Desktop/images/01122025/13/26/image_01122025_13_26_54_9803.jpg', '/home/pi/Desktop/images/01122025/13/26/image_01122025_13_27_05_10683.jpg', '/home/pi/Desktop/images/01122025/13/27/image_01122025_13_27_14_9592.jpg', '/home/pi/Desktop/images/01122025/13/27/image_01122025_13_27_24_9766.jpg', '/home/pi/Desktop/images/01122025/13/27/image_01122025_13_27_35_10726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/26/image_01122025_13_26_44_9676.jpg
/home/pi/Desktop/images/01122025/13/26/image_01122025_13_26_54_9803.jpg
/home/pi/Desktop/images/01122025/13/26/image_01122025_13_27_05_10683.jpg
/home/pi/Desktop/images/01122025/13/27/image_01122025_13_27_14_9592.jpg
/home/pi/Desktop/images/01122025/13/27/image_01122025_13_27_24_9766.jpg
/home/pi/Desktop/images/01122025/13/27/image_01122025_13_27_35_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":["1397236093","1397236081","1397236083","1397236074","1397236076","1397236088"],"photo_ids_order":["1397236074","1397236076","1397236081","1397236083","1397236088","1397236093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/40d548087edbf7302909d85c5c44ccd6.jpg","text":"TemporaryFile(/tmp/multipartBody1902690916505692955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597903980,"filename":"image_01122025_13_27_35_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c3bd1dc75911d0b57cced418f30947c1.jpg","text":"TemporaryFile(/tmp/multipartBody4112449805125865410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597903980,"filename":"image_01122025_13_27_05_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cdfb3c7b5358494c79201572fce63946.jpg","text":"TemporaryFile(/tmp/multipartBody7608920603453104996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597903980,"filename":"image_01122025_13_27_14_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b6fd0b44034c74eb94d4cb6221df082e.jpg","text":"TemporaryFile(/tmp/multipartBody8830040078673003280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597903980,"filename":"image_01122025_13_26_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/1/49322ae9243aac7a496044a0bf7cada9.jpg","text":"TemporaryFile(/tmp/multipartBody1004218287353609990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597903980,"filename":"image_01122025_13_26_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/1/82432d90de965db98b09b2365ed59376.jpg","text":"TemporaryFile(/tmp/multipartBody8160136886337169357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597903980,"filename":"image_01122025_13_27_24_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397236081","file1":"1397236076","file0":"1397236074","file4":"1397236088","file5":"1397236093","file3":"1397236083"},"map_files_photo_id_array":[{"photo_id":"1397236093","filename":"file5"},{"photo_id":"1397236081","filename":"file2"},{"photo_id":"1397236088","filename":"file4"},{"photo_id":"1397236076","filename":"file1"},{"photo_id":"1397236074","filename":"file0"},{"photo_id":"1397236083","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397236093":["hashtag1","hashtag2"]},{"1397236081":["hashtag1","hashtag2"]},{"1397236083":["hashtag1","hashtag2"]},{"1397236074":["hashtag1","hashtag2"]},{"1397236076":["hashtag1","hashtag2"]},{"1397236088":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397236093, 1397236081, 1397236083, 1397236074, 1397236076, 1397236088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.91744589805603 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 15:04:43.005960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_29_3574.jpg', '/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_31_2659.jpg', '/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_35_3681.jpg', '/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_38_2583.jpg', '/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_41_2772.jpg', '/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_43_2762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_29_3574.jpg
/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_31_2659.jpg
/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_35_3681.jpg
/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_38_2583.jpg
/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_41_2772.jpg
/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_43_2762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397236106","1397236105","1397236102","1397236110","1397236104","1397236107"],"photo_ids_order":["1397236102","1397236104","1397236105","1397236106","1397236107","1397236110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c04b33c4383564cf30381043b622d899.jpg","text":"TemporaryFile(/tmp/multipartBody6187517346075049329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597945041,"filename":"image_31102025_14_35_38_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/1/d661e9f9dad1a34b3fadf18c7f540da0.jpg","text":"TemporaryFile(/tmp/multipartBody8873357283338319581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597945041,"filename":"image_31102025_14_35_35_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/1/9a7952a9468739717c9e60cce104f5b8.jpg","text":"TemporaryFile(/tmp/multipartBody508282649477192878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597945041,"filename":"image_31102025_14_35_29_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/1/296be476f142d8ef9e4eb764c461b5d1.jpg","text":"TemporaryFile(/tmp/multipartBody5089614722830043841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597945041,"filename":"image_31102025_14_35_43_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/999b0aaa892f4b03656b8cf57691e140.jpg","text":"TemporaryFile(/tmp/multipartBody8469007669033558986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597945041,"filename":"image_31102025_14_35_31_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/1/d5fb2c0daedcff03b714154684585720.jpg","text":"TemporaryFile(/tmp/multipartBody8371055811143148956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597945041,"filename":"image_31102025_14_35_41_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397236105","file1":"1397236104","file0":"1397236102","file4":"1397236107","file5":"1397236110","file3":"1397236106"},"map_files_photo_id_array":[{"photo_id":"1397236110","filename":"file5"},{"photo_id":"1397236105","filename":"file2"},{"photo_id":"1397236107","filename":"file4"},{"photo_id":"1397236104","filename":"file1"},{"photo_id":"1397236102","filename":"file0"},{"photo_id":"1397236106","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397236106":["hashtag1","hashtag2"]},{"1397236105":["hashtag1","hashtag2"]},{"1397236102":["hashtag1","hashtag2"]},{"1397236110":["hashtag1","hashtag2"]},{"1397236104":["hashtag1","hashtag2"]},{"1397236107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397236106, 1397236105, 1397236102, 1397236110, 1397236104, 1397236107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29752206802368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 15:05:32.209164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_59_1585.jpg', '/home/pi/Desktop/images/25112025/22/52/image_25112025_22_53_00_1675.jpg', '/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_02_1634.jpg', '/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_04_1668.jpg', '/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_08_1646.jpg', '/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_10_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/52/image_25112025_22_52_59_1585.jpg
/home/pi/Desktop/images/25112025/22/52/image_25112025_22_53_00_1675.jpg
/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_02_1634.jpg
/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_04_1668.jpg
/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_08_1646.jpg
/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_10_2621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397236138","1397236129","1397236140","1397236137","1397236131","1397236133"],"photo_ids_order":["1397236129","1397236131","1397236133","1397236137","1397236138","1397236140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1a87e6cb1fee9dc42803810d0f1c8d8c.jpg","text":"TemporaryFile(/tmp/multipartBody2833020288709379916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597993476,"filename":"image_25112025_22_53_08_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/1/519630c52f0182280d0fe3b00ad89955.jpg","text":"TemporaryFile(/tmp/multipartBody7006675549678607957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597993476,"filename":"image_25112025_22_52_59_1585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/79e51205a6731e3f5120a03920f3a1b1.jpg","text":"TemporaryFile(/tmp/multipartBody989157074662646778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597993476,"filename":"image_25112025_22_53_10_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9c3ff068d3228fa237d387b4500b384e.jpg","text":"TemporaryFile(/tmp/multipartBody4033414771395467948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597993476,"filename":"image_25112025_22_53_04_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6b84a8ecb9145ec78dbc58c36b1edfdb.jpg","text":"TemporaryFile(/tmp/multipartBody384130669413266960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597993476,"filename":"image_25112025_22_53_00_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1e6a8f96b55cd012756781d40dde4cb7.jpg","text":"TemporaryFile(/tmp/multipartBody2856513203316947332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764597993476,"filename":"image_25112025_22_53_02_1634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397236133","file1":"1397236131","file0":"1397236129","file4":"1397236138","file5":"1397236140","file3":"1397236137"},"map_files_photo_id_array":[{"photo_id":"1397236140","filename":"file5"},{"photo_id":"1397236133","filename":"file2"},{"photo_id":"1397236138","filename":"file4"},{"photo_id":"1397236131","filename":"file1"},{"photo_id":"1397236129","filename":"file0"},{"photo_id":"1397236137","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397236138":["hashtag1","hashtag2"]},{"1397236129":["hashtag1","hashtag2"]},{"1397236140":["hashtag1","hashtag2"]},{"1397236137":["hashtag1","hashtag2"]},{"1397236131":["hashtag1","hashtag2"]},{"1397236133":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397236138, 1397236129, 1397236140, 1397236137, 1397236131, 1397236133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.93532156944275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 15:06:12.451896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_13_2790.jpg', '/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_16_2709.jpg', '/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_19_2761.jpg', '/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_22_3574.jpg', '/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_25_2660.jpg', '/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_27_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_13_2790.jpg
/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_16_2709.jpg
/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_19_2761.jpg
/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_22_3574.jpg
/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_25_2660.jpg
/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_27_2663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397236183","1397236150","1397236179","1397236173","1397236187","1397236160"],"photo_ids_order":["1397236150","1397236160","1397236173","1397236179","1397236183","1397236187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7cdf6bb81f425f39f6c861513d6c8c7f.jpg","text":"TemporaryFile(/tmp/multipartBody5999900221346689604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598033611,"filename":"image_25112025_22_53_25_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b7c4bcaf418a94e339832c8dc35ea9b3.jpg","text":"TemporaryFile(/tmp/multipartBody3872458258097700126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598033611,"filename":"image_25112025_22_53_13_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/57ba1c509516ec7c2e6fc848a30c0470.jpg","text":"TemporaryFile(/tmp/multipartBody6751892927011132589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598033611,"filename":"image_25112025_22_53_22_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/565325bb38ad21e4e631c024477c3888.jpg","text":"TemporaryFile(/tmp/multipartBody7403294091192875351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598033611,"filename":"image_25112025_22_53_19_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1461b597e742ef4bdf5f6ec65bd650ad.jpg","text":"TemporaryFile(/tmp/multipartBody7019568911898482764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598033611,"filename":"image_25112025_22_53_27_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/1/1f57ca2e49a24f08125dda32cc0a8e2f.jpg","text":"TemporaryFile(/tmp/multipartBody2661560878764919918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598033611,"filename":"image_25112025_22_53_16_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397236173","file1":"1397236160","file0":"1397236150","file4":"1397236183","file5":"1397236187","file3":"1397236179"},"map_files_photo_id_array":[{"photo_id":"1397236187","filename":"file5"},{"photo_id":"1397236173","filename":"file2"},{"photo_id":"1397236183","filename":"file4"},{"photo_id":"1397236160","filename":"file1"},{"photo_id":"1397236150","filename":"file0"},{"photo_id":"1397236179","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397236183":["hashtag1","hashtag2"]},{"1397236150":["hashtag1","hashtag2"]},{"1397236179":["hashtag1","hashtag2"]},{"1397236173":["hashtag1","hashtag2"]},{"1397236187":["hashtag1","hashtag2"]},{"1397236160":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397236183, 1397236150, 1397236179, 1397236173, 1397236187, 1397236160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8608877658844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:07:03.338048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/27/image_01122025_13_27_45_9737.jpg', '/home/pi/Desktop/images/01122025/13/27/image_01122025_13_27_54_9577.jpg', '/home/pi/Desktop/images/01122025/13/27/image_01122025_13_28_05_10684.jpg', '/home/pi/Desktop/images/01122025/13/28/image_01122025_13_28_15_9677.jpg', '/home/pi/Desktop/images/01122025/13/28/image_01122025_13_28_24_9741.jpg', '/home/pi/Desktop/images/01122025/13/28/image_01122025_13_28_34_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/27/image_01122025_13_27_45_9737.jpg
/home/pi/Desktop/images/01122025/13/27/image_01122025_13_27_54_9577.jpg
/home/pi/Desktop/images/01122025/13/27/image_01122025_13_28_05_10684.jpg
/home/pi/Desktop/images/01122025/13/28/image_01122025_13_28_15_9677.jpg
/home/pi/Desktop/images/01122025/13/28/image_01122025_13_28_24_9741.jpg
/home/pi/Desktop/images/01122025/13/28/image_01122025_13_28_34_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":["1397236278","1397236203","1397236196","1397236199","1397236325","1397236208"],"photo_ids_order":["1397236196","1397236199","1397236203","1397236208","1397236278","1397236325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a48c87fb47cb2a1effe14f74713a87da.jpg","text":"TemporaryFile(/tmp/multipartBody6058326722114647673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598083712,"filename":"image_01122025_13_28_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/1/3ad06b31c60c86a34e23c4e1b81cfa97.jpg","text":"TemporaryFile(/tmp/multipartBody8647248686780490773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598083712,"filename":"image_01122025_13_28_05_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f3d1d85298ca7fa2c038e037fcb24c5d.jpg","text":"TemporaryFile(/tmp/multipartBody5044857634982652070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598083712,"filename":"image_01122025_13_27_45_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6f8f23baef79f0f3c77eaab9dca289d7.jpg","text":"TemporaryFile(/tmp/multipartBody2518100928652899433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598083712,"filename":"image_01122025_13_27_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/1/9f749f7b2509c7fab13520a1d5d96fb4.jpg","text":"TemporaryFile(/tmp/multipartBody3852489170700301528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598083712,"filename":"image_01122025_13_28_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/1/95fe4671956143a38b26264fe60090fb.jpg","text":"TemporaryFile(/tmp/multipartBody8191197119862805264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598083712,"filename":"image_01122025_13_28_15_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397236203","file1":"1397236199","file0":"1397236196","file4":"1397236278","file5":"1397236325","file3":"1397236208"},"map_files_photo_id_array":[{"photo_id":"1397236325","filename":"file5"},{"photo_id":"1397236203","filename":"file2"},{"photo_id":"1397236278","filename":"file4"},{"photo_id":"1397236199","filename":"file1"},{"photo_id":"1397236196","filename":"file0"},{"photo_id":"1397236208","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397236278":["hashtag1","hashtag2"]},{"1397236203":["hashtag1","hashtag2"]},{"1397236196":["hashtag1","hashtag2"]},{"1397236199":["hashtag1","hashtag2"]},{"1397236325":["hashtag1","hashtag2"]},{"1397236208":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397236278, 1397236203, 1397236196, 1397236199, 1397236325, 1397236208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38214182853699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 15:07:42.685496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_47_3523.jpg', '/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_49_2651.jpg', '/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_53_3631.jpg', '/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_56_2577.jpg', '/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_58_2696.jpg', '/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_02_3665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_47_3523.jpg
/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_49_2651.jpg
/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_53_3631.jpg
/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_56_2577.jpg
/home/pi/Desktop/images/31102025/14/35/image_31102025_14_35_58_2696.jpg
/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_02_3665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397236372","1397236375","1397236354","1397236371","1397236373","1397236361"],"photo_ids_order":["1397236354","1397236361","1397236371","1397236372","1397236373","1397236375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e66b85891c388637a0062f012c22447a.jpg","text":"TemporaryFile(/tmp/multipartBody8651175114394676637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598124874,"filename":"image_31102025_14_35_56_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7f1b7ac24c066b890f91b9f265122511.jpg","text":"TemporaryFile(/tmp/multipartBody1033010574459169885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598124874,"filename":"image_31102025_14_36_02_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/1/15afe7209291829c702d36e826194572.jpg","text":"TemporaryFile(/tmp/multipartBody5570600214939717889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598124874,"filename":"image_31102025_14_35_47_3523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/844f94c82fd315d6bc7a4dcfb0090039.jpg","text":"TemporaryFile(/tmp/multipartBody3681796775867971325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598124874,"filename":"image_31102025_14_35_53_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/1/89b9d400c0ca8dbc9c91622a43cb4c86.jpg","text":"TemporaryFile(/tmp/multipartBody5994252227349007969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598124874,"filename":"image_31102025_14_35_58_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/1/d2683905b3afea6548542b55f0f26dd6.jpg","text":"TemporaryFile(/tmp/multipartBody1669148396813439015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598124874,"filename":"image_31102025_14_35_49_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397236371","file1":"1397236361","file0":"1397236354","file4":"1397236373","file5":"1397236375","file3":"1397236372"},"map_files_photo_id_array":[{"photo_id":"1397236375","filename":"file5"},{"photo_id":"1397236371","filename":"file2"},{"photo_id":"1397236373","filename":"file4"},{"photo_id":"1397236361","filename":"file1"},{"photo_id":"1397236354","filename":"file0"},{"photo_id":"1397236372","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397236372":["hashtag1","hashtag2"]},{"1397236375":["hashtag1","hashtag2"]},{"1397236354":["hashtag1","hashtag2"]},{"1397236371":["hashtag1","hashtag2"]},{"1397236373":["hashtag1","hashtag2"]},{"1397236361":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397236372, 1397236375, 1397236354, 1397236371, 1397236373, 1397236361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.19226050376892 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 15:08:31.996962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_31_3675.jpg', '/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_34_2592.jpg', '/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_36_2607.jpg', '/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_40_3769.jpg', '/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_43_2686.jpg', '/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_46_3472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_31_3675.jpg
/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_34_2592.jpg
/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_36_2607.jpg
/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_40_3769.jpg
/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_43_2686.jpg
/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_46_3472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397236399","1397236402","1397236405","1397236395","1397236388","1397236412"],"photo_ids_order":["1397236388","1397236395","1397236399","1397236402","1397236405","1397236412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/282ecf35c493107172be7ebded22acf0.jpg","text":"TemporaryFile(/tmp/multipartBody1930096952920016000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598173318,"filename":"image_25112025_22_53_36_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/1/a86c97ac20f8e1cbd3bf6322076ea977.jpg","text":"TemporaryFile(/tmp/multipartBody6020781709413224151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598173318,"filename":"image_25112025_22_53_40_3769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/77a7ae35815ced821d9246847e153733.jpg","text":"TemporaryFile(/tmp/multipartBody5915603141603114099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598173318,"filename":"image_25112025_22_53_43_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/1/2d9e32964ea43a910d921b0934d91903.jpg","text":"TemporaryFile(/tmp/multipartBody8507155742475358833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598173318,"filename":"image_25112025_22_53_34_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/40022221d93257068541333b348998d8.jpg","text":"TemporaryFile(/tmp/multipartBody2872910814086070849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598173318,"filename":"image_25112025_22_53_31_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/1/7edcc7ea05f59597ebaf9bac4aefa4b1.jpg","text":"TemporaryFile(/tmp/multipartBody7576094135066319888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598173318,"filename":"image_25112025_22_53_46_3472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397236399","file1":"1397236395","file0":"1397236388","file4":"1397236405","file5":"1397236412","file3":"1397236402"},"map_files_photo_id_array":[{"photo_id":"1397236412","filename":"file5"},{"photo_id":"1397236399","filename":"file2"},{"photo_id":"1397236405","filename":"file4"},{"photo_id":"1397236395","filename":"file1"},{"photo_id":"1397236388","filename":"file0"},{"photo_id":"1397236402","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397236399":["hashtag1","hashtag2"]},{"1397236402":["hashtag1","hashtag2"]},{"1397236405":["hashtag1","hashtag2"]},{"1397236395":["hashtag1","hashtag2"]},{"1397236388":["hashtag1","hashtag2"]},{"1397236412":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397236399, 1397236402, 1397236405, 1397236395, 1397236388, 1397236412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97182893753052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 15:09:12.106011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_49_2772.jpg', '/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_52_2584.jpg', '/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_54_2697.jpg', '/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_58_3585.jpg', '/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_01_2761.jpg', '/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_03_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_49_2772.jpg
/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_52_2584.jpg
/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_54_2697.jpg
/home/pi/Desktop/images/25112025/22/53/image_25112025_22_53_58_3585.jpg
/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_01_2761.jpg
/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_03_2689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397236415","1397236420","1397236417","1397236425","1397236434","1397236430"],"photo_ids_order":["1397236415","1397236417","1397236420","1397236425","1397236430","1397236434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/14f07eb57c37b5afaada21f16219b337.jpg","text":"TemporaryFile(/tmp/multipartBody3886569284016654621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598213360,"filename":"image_25112025_22_53_49_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/07c29c717119f9e518f1ae5838ab3099.jpg","text":"TemporaryFile(/tmp/multipartBody4447400954161347387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598213360,"filename":"image_25112025_22_53_54_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/857164225fb2526f3ecf2935608633c2.jpg","text":"TemporaryFile(/tmp/multipartBody7981170904297733203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598213360,"filename":"image_25112025_22_53_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/1/ebb7c4e1989f55b536d6bb063c4eae3a.jpg","text":"TemporaryFile(/tmp/multipartBody4264246492232230024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598213360,"filename":"image_25112025_22_53_58_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/1/519164545a53148df5d1e5723b8b47c7.jpg","text":"TemporaryFile(/tmp/multipartBody9117713747443581814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598213360,"filename":"image_25112025_22_54_03_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/1/14f00acd44115bd8238419dc6e4e73aa.jpg","text":"TemporaryFile(/tmp/multipartBody2667242072964265202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598213360,"filename":"image_25112025_22_54_01_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397236420","file1":"1397236417","file0":"1397236415","file4":"1397236430","file5":"1397236434","file3":"1397236425"},"map_files_photo_id_array":[{"photo_id":"1397236434","filename":"file5"},{"photo_id":"1397236420","filename":"file2"},{"photo_id":"1397236430","filename":"file4"},{"photo_id":"1397236417","filename":"file1"},{"photo_id":"1397236415","filename":"file0"},{"photo_id":"1397236425","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397236415":["hashtag1","hashtag2"]},{"1397236420":["hashtag1","hashtag2"]},{"1397236417":["hashtag1","hashtag2"]},{"1397236425":["hashtag1","hashtag2"]},{"1397236434":["hashtag1","hashtag2"]},{"1397236430":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397236415, 1397236420, 1397236417, 1397236425, 1397236434, 1397236430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.930190563201904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:10:02.686430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/28/image_01122025_13_28_45_10810.jpg', '/home/pi/Desktop/images/01122025/13/28/image_01122025_13_28_54_9617.jpg', '/home/pi/Desktop/images/01122025/13/28/image_01122025_13_29_04_9760.jpg', '/home/pi/Desktop/images/01122025/13/29/image_01122025_13_29_14_9824.jpg', '/home/pi/Desktop/images/01122025/13/29/image_01122025_13_29_25_10663.jpg', '/home/pi/Desktop/images/01122025/13/29/image_01122025_13_29_34_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/28/image_01122025_13_28_45_10810.jpg
/home/pi/Desktop/images/01122025/13/28/image_01122025_13_28_54_9617.jpg
/home/pi/Desktop/images/01122025/13/28/image_01122025_13_29_04_9760.jpg
/home/pi/Desktop/images/01122025/13/29/image_01122025_13_29_14_9824.jpg
/home/pi/Desktop/images/01122025/13/29/image_01122025_13_29_25_10663.jpg
/home/pi/Desktop/images/01122025/13/29/image_01122025_13_29_34_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397236443","1397236452","1397236446","1397236448","1397236457","1397236442"],"photo_ids_order":["1397236442","1397236443","1397236446","1397236448","1397236452","1397236457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/05fcf41f8c60ba83a38f5c68bf7c5757.jpg","text":"TemporaryFile(/tmp/multipartBody2806945404516663342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598263119,"filename":"image_01122025_13_28_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/1/349ad7a613469bb416b9798336004467.jpg","text":"TemporaryFile(/tmp/multipartBody2367045703148288764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598263119,"filename":"image_01122025_13_29_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/1/e2d68d4a5956e0fa1814ea19a76c48d2.jpg","text":"TemporaryFile(/tmp/multipartBody7522706504616473346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598263119,"filename":"image_01122025_13_29_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/1/8b01d94e5f3f60a60695cc63c086a3c2.jpg","text":"TemporaryFile(/tmp/multipartBody8016957406170028634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598263119,"filename":"image_01122025_13_29_14_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/28448214df78308201343ae597706386.jpg","text":"TemporaryFile(/tmp/multipartBody1114777899432136825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598263119,"filename":"image_01122025_13_29_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/1/84601b03d1b9ecffe033a4d6cd845216.jpg","text":"TemporaryFile(/tmp/multipartBody2659286179919355382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598263119,"filename":"image_01122025_13_28_45_10810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397236446","file1":"1397236443","file0":"1397236442","file4":"1397236452","file5":"1397236457","file3":"1397236448"},"map_files_photo_id_array":[{"photo_id":"1397236457","filename":"file5"},{"photo_id":"1397236446","filename":"file2"},{"photo_id":"1397236452","filename":"file4"},{"photo_id":"1397236443","filename":"file1"},{"photo_id":"1397236442","filename":"file0"},{"photo_id":"1397236448","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397236443":["hashtag1","hashtag2"]},{"1397236452":["hashtag1","hashtag2"]},{"1397236446":["hashtag1","hashtag2"]},{"1397236448":["hashtag1","hashtag2"]},{"1397236457":["hashtag1","hashtag2"]},{"1397236442":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397236443, 1397236452, 1397236446, 1397236448, 1397236457, 1397236442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.51811695098877 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:11:03.200269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/29/image_01122025_13_29_45_10650.jpg', '/home/pi/Desktop/images/01122025/13/29/image_01122025_13_29_55_9832.jpg', '/home/pi/Desktop/images/01122025/13/30/image_01122025_13_30_14_10046.jpg', '/home/pi/Desktop/images/01122025/13/30/image_01122025_13_30_25_10760.jpg', '/home/pi/Desktop/images/01122025/13/30/image_01122025_13_30_35_9651.jpg', '/home/pi/Desktop/images/01122025/13/30/image_01122025_13_30_44_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/29/image_01122025_13_29_45_10650.jpg
/home/pi/Desktop/images/01122025/13/29/image_01122025_13_29_55_9832.jpg
/home/pi/Desktop/images/01122025/13/30/image_01122025_13_30_14_10046.jpg
/home/pi/Desktop/images/01122025/13/30/image_01122025_13_30_25_10760.jpg
/home/pi/Desktop/images/01122025/13/30/image_01122025_13_30_35_9651.jpg
/home/pi/Desktop/images/01122025/13/30/image_01122025_13_30_44_9743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397236471","1397236473","1397236485","1397236479","1397236472","1397236475"],"photo_ids_order":["1397236471","1397236472","1397236473","1397236475","1397236479","1397236485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/da96f40572bdf447014a31267e963c5e.jpg","text":"TemporaryFile(/tmp/multipartBody8850995846863161228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598323709,"filename":"image_01122025_13_29_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/1/4b14bf336f8c37441295fb4458da0920.jpg","text":"TemporaryFile(/tmp/multipartBody142781177383553719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598323709,"filename":"image_01122025_13_30_14_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/1/81ed31f9bfced96559dc06805ab16285.jpg","text":"TemporaryFile(/tmp/multipartBody845750215877547177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598323709,"filename":"image_01122025_13_30_44_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/925adb8e251fc8e4ea0d5ba959d7c9e9.jpg","text":"TemporaryFile(/tmp/multipartBody4554529099835026562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598323709,"filename":"image_01122025_13_30_35_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f6f8b83d9634e6a34b4af10baeeeab29.jpg","text":"TemporaryFile(/tmp/multipartBody5223162631661045317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598323709,"filename":"image_01122025_13_29_55_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f1a2dc37c0e269d23430aef21e01d0a9.jpg","text":"TemporaryFile(/tmp/multipartBody1943665225630931789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598323709,"filename":"image_01122025_13_30_25_10760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397236473","file1":"1397236472","file0":"1397236471","file4":"1397236479","file5":"1397236485","file3":"1397236475"},"map_files_photo_id_array":[{"photo_id":"1397236485","filename":"file5"},{"photo_id":"1397236473","filename":"file2"},{"photo_id":"1397236479","filename":"file4"},{"photo_id":"1397236472","filename":"file1"},{"photo_id":"1397236471","filename":"file0"},{"photo_id":"1397236475","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397236471":["hashtag1","hashtag2"]},{"1397236473":["hashtag1","hashtag2"]},{"1397236485":["hashtag1","hashtag2"]},{"1397236479":["hashtag1","hashtag2"]},{"1397236472":["hashtag1","hashtag2"]},{"1397236475":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397236471, 1397236473, 1397236485, 1397236479, 1397236472, 1397236475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49693989753723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 15:11:42.397634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_05_2714.jpg', '/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_08_2763.jpg', '/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_11_3582.jpg', '/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_14_2705.jpg', '/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_16_2687.jpg', '/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_19_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_05_2714.jpg
/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_08_2763.jpg
/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_11_3582.jpg
/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_14_2705.jpg
/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_16_2687.jpg
/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_19_2713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397236497","1397236506","1397236509","1397236500","1397236538","1397236511"],"photo_ids_order":["1397236497","1397236500","1397236506","1397236509","1397236511","1397236538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/56c2252e730b82017649f98d6ae761c0.jpg","text":"TemporaryFile(/tmp/multipartBody5126109780903966561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598364745,"filename":"image_31102025_14_36_05_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/1/36d33b8b2133544b91c250633ac3467d.jpg","text":"TemporaryFile(/tmp/multipartBody5727110463585285882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598364745,"filename":"image_31102025_14_36_11_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/1/09c10fd8e46941ff12cfd43acbd555d2.jpg","text":"TemporaryFile(/tmp/multipartBody6393860580773878896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598364745,"filename":"image_31102025_14_36_14_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/1/19313241d53d1ec74004c0ec07d34a72.jpg","text":"TemporaryFile(/tmp/multipartBody5272894867944132523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598364745,"filename":"image_31102025_14_36_08_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/1/4b7c7bf9b5112bf66ced5818e40020e3.jpg","text":"TemporaryFile(/tmp/multipartBody7880045898080506505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598364745,"filename":"image_31102025_14_36_19_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/1/f1f8512f2d2cf86a54192af745d38eee.jpg","text":"TemporaryFile(/tmp/multipartBody5743507614100262377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598364745,"filename":"image_31102025_14_36_16_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397236506","file1":"1397236500","file0":"1397236497","file4":"1397236511","file5":"1397236538","file3":"1397236509"},"map_files_photo_id_array":[{"photo_id":"1397236538","filename":"file5"},{"photo_id":"1397236506","filename":"file2"},{"photo_id":"1397236511","filename":"file4"},{"photo_id":"1397236500","filename":"file1"},{"photo_id":"1397236497","filename":"file0"},{"photo_id":"1397236509","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397236497":["hashtag1","hashtag2"]},{"1397236506":["hashtag1","hashtag2"]},{"1397236509":["hashtag1","hashtag2"]},{"1397236500":["hashtag1","hashtag2"]},{"1397236538":["hashtag1","hashtag2"]},{"1397236511":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397236497, 1397236506, 1397236509, 1397236500, 1397236538, 1397236511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85320425033569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 15:12:22.601047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/30/image_01122025_13_30_55_10655.jpg', '/home/pi/Desktop/images/01122025/13/30/image_01122025_13_31_05_9592.jpg', '/home/pi/Desktop/images/01122025/13/31/image_01122025_13_31_14_9738.jpg', '/home/pi/Desktop/images/01122025/13/31/image_01122025_13_31_25_10657.jpg', '/home/pi/Desktop/images/01122025/13/31/image_01122025_13_31_35_9616.jpg', '/home/pi/Desktop/images/01122025/13/31/image_01122025_13_31_45_9793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/30/image_01122025_13_30_55_10655.jpg
/home/pi/Desktop/images/01122025/13/30/image_01122025_13_31_05_9592.jpg
/home/pi/Desktop/images/01122025/13/31/image_01122025_13_31_14_9738.jpg
/home/pi/Desktop/images/01122025/13/31/image_01122025_13_31_25_10657.jpg
/home/pi/Desktop/images/01122025/13/31/image_01122025_13_31_35_9616.jpg
/home/pi/Desktop/images/01122025/13/31/image_01122025_13_31_45_9793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397236543","1397236569","1397236557","1397236553","1397236547","1397236562"],"photo_ids_order":["1397236543","1397236547","1397236553","1397236557","1397236562","1397236569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/20b8496cc1feffe4ea90c73e1143ad23.jpg","text":"TemporaryFile(/tmp/multipartBody4856323145296593685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598403066,"filename":"image_01122025_13_30_55_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/114f36794b133a6a3e5aa58f044d7a08.jpg","text":"TemporaryFile(/tmp/multipartBody8197792875855628476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598403066,"filename":"image_01122025_13_31_45_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7dd8fe18ae380b50f932460ade1948f3.jpg","text":"TemporaryFile(/tmp/multipartBody2774415214313452036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598403066,"filename":"image_01122025_13_31_25_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4428920d506d8d97705f1fc218b1fb06.jpg","text":"TemporaryFile(/tmp/multipartBody5298162372490620997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598403066,"filename":"image_01122025_13_31_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/1/caa7b6b1fe109d876dbfc53b7676839d.jpg","text":"TemporaryFile(/tmp/multipartBody4199695502763531336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598403066,"filename":"image_01122025_13_31_05_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/1/68121a67837317998e8fefbfa4199f1a.jpg","text":"TemporaryFile(/tmp/multipartBody151781080967656600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598403066,"filename":"image_01122025_13_31_35_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397236553","file1":"1397236547","file0":"1397236543","file4":"1397236562","file5":"1397236569","file3":"1397236557"},"map_files_photo_id_array":[{"photo_id":"1397236569","filename":"file5"},{"photo_id":"1397236553","filename":"file2"},{"photo_id":"1397236562","filename":"file4"},{"photo_id":"1397236547","filename":"file1"},{"photo_id":"1397236543","filename":"file0"},{"photo_id":"1397236557","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397236543":["hashtag1","hashtag2"]},{"1397236569":["hashtag1","hashtag2"]},{"1397236557":["hashtag1","hashtag2"]},{"1397236553":["hashtag1","hashtag2"]},{"1397236547":["hashtag1","hashtag2"]},{"1397236562":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397236543, 1397236569, 1397236557, 1397236553, 1397236547, 1397236562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.215505838394165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:13:03.315096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/31/image_01122025_13_31_55_10638.jpg', '/home/pi/Desktop/images/01122025/13/31/image_01122025_13_32_05_9886.jpg', '/home/pi/Desktop/images/01122025/13/32/image_01122025_13_32_15_9901.jpg', '/home/pi/Desktop/images/01122025/13/32/image_01122025_13_32_25_9634.jpg', '/home/pi/Desktop/images/01122025/13/32/image_01122025_13_32_34_9766.jpg', '/home/pi/Desktop/images/01122025/13/32/image_01122025_13_32_45_10715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/31/image_01122025_13_31_55_10638.jpg
/home/pi/Desktop/images/01122025/13/31/image_01122025_13_32_05_9886.jpg
/home/pi/Desktop/images/01122025/13/32/image_01122025_13_32_15_9901.jpg
/home/pi/Desktop/images/01122025/13/32/image_01122025_13_32_25_9634.jpg
/home/pi/Desktop/images/01122025/13/32/image_01122025_13_32_34_9766.jpg
/home/pi/Desktop/images/01122025/13/32/image_01122025_13_32_45_10715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397236744","1397236708","1397236632","1397236781","1397236670","1397236817"],"photo_ids_order":["1397236632","1397236670","1397236708","1397236744","1397236781","1397236817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/055f367e65b12f406637fc84e4c960c1.jpg","text":"TemporaryFile(/tmp/multipartBody7686053143421390098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598443928,"filename":"image_01122025_13_32_25_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/af26c250f6461c7dc063eed4c69270d4.jpg","text":"TemporaryFile(/tmp/multipartBody6396764300633682069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598443928,"filename":"image_01122025_13_32_15_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/1/33e67c15842ec8c457c196f3fb614b07.jpg","text":"TemporaryFile(/tmp/multipartBody7000078193522567261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598443928,"filename":"image_01122025_13_31_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/1/e91be9dc658781e50a89489af42ffdbf.jpg","text":"TemporaryFile(/tmp/multipartBody7084146955250722886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598443928,"filename":"image_01122025_13_32_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/1/bd046244f50a3ddf2ab494526cb1b816.jpg","text":"TemporaryFile(/tmp/multipartBody6259666449944335104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598443928,"filename":"image_01122025_13_32_05_9886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6b7184fae3f0c80c1eaec4d8783c0fa8.jpg","text":"TemporaryFile(/tmp/multipartBody6646851380663741447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598443928,"filename":"image_01122025_13_32_45_10715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397236708","file1":"1397236670","file0":"1397236632","file4":"1397236781","file5":"1397236817","file3":"1397236744"},"map_files_photo_id_array":[{"photo_id":"1397236817","filename":"file5"},{"photo_id":"1397236708","filename":"file2"},{"photo_id":"1397236781","filename":"file4"},{"photo_id":"1397236670","filename":"file1"},{"photo_id":"1397236632","filename":"file0"},{"photo_id":"1397236744","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397236744":["hashtag1","hashtag2"]},{"1397236708":["hashtag1","hashtag2"]},{"1397236632":["hashtag1","hashtag2"]},{"1397236781":["hashtag1","hashtag2"]},{"1397236670":["hashtag1","hashtag2"]},{"1397236817":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397236744, 1397236708, 1397236632, 1397236781, 1397236670, 1397236817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31251120567322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 15:13:42.753631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_23_3677.jpg', '/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_26_2637.jpg', '/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_28_2806.jpg', '/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_32_3742.jpg', '/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_35_2646.jpg', '/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_37_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_23_3677.jpg
/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_26_2637.jpg
/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_28_2806.jpg
/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_32_3742.jpg
/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_35_2646.jpg
/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_37_2718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397236960","1397236954","1397236951","1397236924","1397236938","1397236931"],"photo_ids_order":["1397236924","1397236931","1397236938","1397236951","1397236954","1397236960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c120b157f31da22a8e4c77dcfd020cd0.jpg","text":"TemporaryFile(/tmp/multipartBody8848957985787522074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598485100,"filename":"image_31102025_14_36_37_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/1/8d4ba71542dc7e375976877b88a4b879.jpg","text":"TemporaryFile(/tmp/multipartBody8518932904916903814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598485100,"filename":"image_31102025_14_36_35_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c06720165f330d1704edd21516d61f23.jpg","text":"TemporaryFile(/tmp/multipartBody8089869723145873604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598485100,"filename":"image_31102025_14_36_32_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/1/2ad9b20ca0371652aa5e051e629a5f61.jpg","text":"TemporaryFile(/tmp/multipartBody5503684432159871624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598485100,"filename":"image_31102025_14_36_23_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/1/01ff7137b928498877d46728ff75eb8b.jpg","text":"TemporaryFile(/tmp/multipartBody2164908458482104990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598485100,"filename":"image_31102025_14_36_28_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/1/899e85a2f6d44716fc545698422ac5d5.jpg","text":"TemporaryFile(/tmp/multipartBody2770843295314701477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598485100,"filename":"image_31102025_14_36_26_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397236938","file1":"1397236931","file0":"1397236924","file4":"1397236954","file5":"1397236960","file3":"1397236951"},"map_files_photo_id_array":[{"photo_id":"1397236960","filename":"file5"},{"photo_id":"1397236938","filename":"file2"},{"photo_id":"1397236954","filename":"file4"},{"photo_id":"1397236931","filename":"file1"},{"photo_id":"1397236924","filename":"file0"},{"photo_id":"1397236951","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397236960":["hashtag1","hashtag2"]},{"1397236954":["hashtag1","hashtag2"]},{"1397236951":["hashtag1","hashtag2"]},{"1397236924":["hashtag1","hashtag2"]},{"1397236938":["hashtag1","hashtag2"]},{"1397236931":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397236960, 1397236954, 1397236951, 1397236924, 1397236938, 1397236931)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.76227021217346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 15:14:31.933384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_07_3716.jpg', '/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_10_2661.jpg', '/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_12_2711.jpg', '/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_16_3735.jpg', '/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_19_2603.jpg', '/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_21_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_07_3716.jpg
/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_10_2661.jpg
/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_12_2711.jpg
/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_16_3735.jpg
/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_19_2603.jpg
/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_21_2705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397237041","1397237046","1397237049","1397237013","1397237022","1397237051"],"photo_ids_order":["1397237013","1397237022","1397237041","1397237046","1397237049","1397237051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d15c8b4364c0e23340a7ea00ae01fd99.jpg","text":"TemporaryFile(/tmp/multipartBody1082174955591168993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598533474,"filename":"image_25112025_22_54_12_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/1/13af27e63dc1e3525897f1ee0ecd7e37.jpg","text":"TemporaryFile(/tmp/multipartBody8662222286981925930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598533474,"filename":"image_25112025_22_54_16_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f8a033c7500541ff3d19f48c1d379fdc.jpg","text":"TemporaryFile(/tmp/multipartBody964694648357348445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598533474,"filename":"image_25112025_22_54_19_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/1/dedc0cbd00ccdeec220466c7d47a3426.jpg","text":"TemporaryFile(/tmp/multipartBody1971556784607720666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598533474,"filename":"image_25112025_22_54_07_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/1/abec9a54ada50706b317ead29bda4640.jpg","text":"TemporaryFile(/tmp/multipartBody623856278590661860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598533474,"filename":"image_25112025_22_54_10_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/1/9e3eda4b7f741fd64f562caee29debc1.jpg","text":"TemporaryFile(/tmp/multipartBody3084372311549047235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598533474,"filename":"image_25112025_22_54_21_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237041","file1":"1397237022","file0":"1397237013","file4":"1397237049","file5":"1397237051","file3":"1397237046"},"map_files_photo_id_array":[{"photo_id":"1397237051","filename":"file5"},{"photo_id":"1397237041","filename":"file2"},{"photo_id":"1397237049","filename":"file4"},{"photo_id":"1397237022","filename":"file1"},{"photo_id":"1397237013","filename":"file0"},{"photo_id":"1397237046","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397237041":["hashtag1","hashtag2"]},{"1397237046":["hashtag1","hashtag2"]},{"1397237049":["hashtag1","hashtag2"]},{"1397237013":["hashtag1","hashtag2"]},{"1397237022":["hashtag1","hashtag2"]},{"1397237051":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397237041, 1397237046, 1397237049, 1397237013, 1397237022, 1397237051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.828808069229126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 15:15:12.183362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_25_3602.jpg', '/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_28_2737.jpg', '/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_31_2669.jpg', '/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_54_23084.jpg', '/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_55_1609.jpg', '/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_57_1801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_25_3602.jpg
/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_28_2737.jpg
/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_31_2669.jpg
/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_54_23084.jpg
/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_55_1609.jpg
/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_57_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":["1397237070","1397237058","1397237073","1397237060","1397237063","1397237066"],"photo_ids_order":["1397237058","1397237060","1397237063","1397237066","1397237070","1397237073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9cdf2b84e1bc5e1121285c4f945902fb.jpg","text":"TemporaryFile(/tmp/multipartBody5837445233685401130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598573636,"filename":"image_25112025_22_54_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/1/2b667ed686ac755deeabb16d67197ea4.jpg","text":"TemporaryFile(/tmp/multipartBody5750624841281815156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598573636,"filename":"image_25112025_22_54_25_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/62c1a0919c4ef6ad8d18910e3c7e9fae.jpg","text":"TemporaryFile(/tmp/multipartBody563055144723235108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598573636,"filename":"image_25112025_22_54_57_1801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/67241de96bbaaa7d80c08f35d37715ab.jpg","text":"TemporaryFile(/tmp/multipartBody6789978863073739834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598573636,"filename":"image_25112025_22_54_28_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/1/a74a089f0d9a3317099676afddfe880d.jpg","text":"TemporaryFile(/tmp/multipartBody9165065683715324022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598573636,"filename":"image_25112025_22_54_31_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d7c4db5553dcecc480f8279a8258039b.jpg","text":"TemporaryFile(/tmp/multipartBody4985899318182400886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598573636,"filename":"image_25112025_22_54_54_23084.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237063","file1":"1397237060","file0":"1397237058","file4":"1397237070","file5":"1397237073","file3":"1397237066"},"map_files_photo_id_array":[{"photo_id":"1397237073","filename":"file5"},{"photo_id":"1397237063","filename":"file2"},{"photo_id":"1397237070","filename":"file4"},{"photo_id":"1397237060","filename":"file1"},{"photo_id":"1397237058","filename":"file0"},{"photo_id":"1397237066","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397237070":["hashtag1","hashtag2"]},{"1397237058":["hashtag1","hashtag2"]},{"1397237073":["hashtag1","hashtag2"]},{"1397237060":["hashtag1","hashtag2"]},{"1397237063":["hashtag1","hashtag2"]},{"1397237066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397237070, 1397237058, 1397237073, 1397237060, 1397237063, 1397237066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10928964614868 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:16:02.844062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/32/image_01122025_13_32_55_9676.jpg', '/home/pi/Desktop/images/01122025/13/32/image_01122025_13_33_04_9545.jpg', '/home/pi/Desktop/images/01122025/13/33/image_01122025_13_33_15_10735.jpg', '/home/pi/Desktop/images/01122025/13/33/image_01122025_13_33_25_9756.jpg', '/home/pi/Desktop/images/01122025/13/33/image_01122025_13_33_34_9533.jpg', '/home/pi/Desktop/images/01122025/13/33/image_01122025_13_33_45_10924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/32/image_01122025_13_32_55_9676.jpg
/home/pi/Desktop/images/01122025/13/32/image_01122025_13_33_04_9545.jpg
/home/pi/Desktop/images/01122025/13/33/image_01122025_13_33_15_10735.jpg
/home/pi/Desktop/images/01122025/13/33/image_01122025_13_33_25_9756.jpg
/home/pi/Desktop/images/01122025/13/33/image_01122025_13_33_34_9533.jpg
/home/pi/Desktop/images/01122025/13/33/image_01122025_13_33_45_10924.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397237097","1397237081","1397237084","1397237092","1397237086","1397237089"],"photo_ids_order":["1397237081","1397237084","1397237086","1397237089","1397237092","1397237097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/058f70ab4c5f76568be0ea8d8f8224d1.jpg","text":"TemporaryFile(/tmp/multipartBody1790341479956221785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598623427,"filename":"image_01122025_13_33_45_10924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0de5ef5b99ecfc3d800590a130cf9fe1.jpg","text":"TemporaryFile(/tmp/multipartBody5029838984594816948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598623427,"filename":"image_01122025_13_32_55_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/32f027c0ea955cd180c9c4ca952175e6.jpg","text":"TemporaryFile(/tmp/multipartBody7472122375884979663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598623427,"filename":"image_01122025_13_33_04_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/802af12b51c1f4b1550c639f03fe5595.jpg","text":"TemporaryFile(/tmp/multipartBody2933226084982276014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598623427,"filename":"image_01122025_13_33_34_9533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/95e761c56c1db9ee8871ec21ad35a3ab.jpg","text":"TemporaryFile(/tmp/multipartBody5003990999218860273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598623427,"filename":"image_01122025_13_33_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/1/a2338c1da81d8dfe2043d57840a723e3.jpg","text":"TemporaryFile(/tmp/multipartBody3414799760705783869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598623427,"filename":"image_01122025_13_33_25_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237086","file1":"1397237084","file0":"1397237081","file4":"1397237092","file5":"1397237097","file3":"1397237089"},"map_files_photo_id_array":[{"photo_id":"1397237097","filename":"file5"},{"photo_id":"1397237086","filename":"file2"},{"photo_id":"1397237092","filename":"file4"},{"photo_id":"1397237084","filename":"file1"},{"photo_id":"1397237081","filename":"file0"},{"photo_id":"1397237089","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397237097":["hashtag1","hashtag2"]},{"1397237081":["hashtag1","hashtag2"]},{"1397237084":["hashtag1","hashtag2"]},{"1397237092":["hashtag1","hashtag2"]},{"1397237086":["hashtag1","hashtag2"]},{"1397237089":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397237097, 1397237081, 1397237084, 1397237092, 1397237086, 1397237089)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.00013303756714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:17:03.495131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/33/image_01122025_13_33_55_10011.jpg', '/home/pi/Desktop/images/01122025/13/33/image_01122025_13_34_05_9595.jpg', '/home/pi/Desktop/images/01122025/13/34/image_01122025_13_34_14_9609.jpg', '/home/pi/Desktop/images/01122025/13/34/image_01122025_13_34_25_10780.jpg', '/home/pi/Desktop/images/01122025/13/34/image_01122025_13_34_35_9667.jpg', '/home/pi/Desktop/images/01122025/13/34/image_01122025_13_34_45_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/33/image_01122025_13_33_55_10011.jpg
/home/pi/Desktop/images/01122025/13/33/image_01122025_13_34_05_9595.jpg
/home/pi/Desktop/images/01122025/13/34/image_01122025_13_34_14_9609.jpg
/home/pi/Desktop/images/01122025/13/34/image_01122025_13_34_25_10780.jpg
/home/pi/Desktop/images/01122025/13/34/image_01122025_13_34_35_9667.jpg
/home/pi/Desktop/images/01122025/13/34/image_01122025_13_34_45_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":["1397237128","1397237143","1397237131","1397237133","1397237124","1397237138"],"photo_ids_order":["1397237124","1397237128","1397237131","1397237133","1397237138","1397237143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0c7cc608fcbb3ee518cdffeb3593fb27.jpg","text":"TemporaryFile(/tmp/multipartBody3703447324220720945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598684237,"filename":"image_01122025_13_34_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/1/b0e9d780e8774b1055193da022382c2f.jpg","text":"TemporaryFile(/tmp/multipartBody5741077599962978485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598684237,"filename":"image_01122025_13_34_45_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f620070120c42ec55fb99ee14c80d16f.jpg","text":"TemporaryFile(/tmp/multipartBody8262786364536625446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598684237,"filename":"image_01122025_13_34_14_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a39b013259d7ee91b143c7adf04a24c2.jpg","text":"TemporaryFile(/tmp/multipartBody2328084838524096820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598684237,"filename":"image_01122025_13_34_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/1/533e7bd237a58529faf5ac2346bfee15.jpg","text":"TemporaryFile(/tmp/multipartBody1372309242844735856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598684237,"filename":"image_01122025_13_33_55_10011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/069ea77b2b0eedcac2239d0fa4580aa1.jpg","text":"TemporaryFile(/tmp/multipartBody9030421506390825514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598684237,"filename":"image_01122025_13_34_35_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237131","file1":"1397237128","file0":"1397237124","file4":"1397237138","file5":"1397237143","file3":"1397237133"},"map_files_photo_id_array":[{"photo_id":"1397237143","filename":"file5"},{"photo_id":"1397237131","filename":"file2"},{"photo_id":"1397237138","filename":"file4"},{"photo_id":"1397237128","filename":"file1"},{"photo_id":"1397237124","filename":"file0"},{"photo_id":"1397237133","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397237128":["hashtag1","hashtag2"]},{"1397237143":["hashtag1","hashtag2"]},{"1397237131":["hashtag1","hashtag2"]},{"1397237133":["hashtag1","hashtag2"]},{"1397237124":["hashtag1","hashtag2"]},{"1397237138":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397237128, 1397237143, 1397237131, 1397237133, 1397237124, 1397237138)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.39139366149902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:18:03.148648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/34/image_01122025_13_34_54_9714.jpg', '/home/pi/Desktop/images/01122025/13/34/image_01122025_13_35_05_10699.jpg', '/home/pi/Desktop/images/01122025/13/35/image_01122025_13_35_15_9715.jpg', '/home/pi/Desktop/images/01122025/13/35/image_01122025_13_35_25_9707.jpg', '/home/pi/Desktop/images/01122025/13/35/image_01122025_13_35_34_9850.jpg', '/home/pi/Desktop/images/01122025/13/35/image_01122025_13_35_45_10808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/34/image_01122025_13_34_54_9714.jpg
/home/pi/Desktop/images/01122025/13/34/image_01122025_13_35_05_10699.jpg
/home/pi/Desktop/images/01122025/13/35/image_01122025_13_35_15_9715.jpg
/home/pi/Desktop/images/01122025/13/35/image_01122025_13_35_25_9707.jpg
/home/pi/Desktop/images/01122025/13/35/image_01122025_13_35_34_9850.jpg
/home/pi/Desktop/images/01122025/13/35/image_01122025_13_35_45_10808.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397237157","1397237160","1397237154","1397237170","1397237164","1397237152"],"photo_ids_order":["1397237152","1397237154","1397237157","1397237160","1397237164","1397237170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/096c75a76b3a461a3f6aeecad59755ce.jpg","text":"TemporaryFile(/tmp/multipartBody7337696033153362877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598743783,"filename":"image_01122025_13_35_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/1/566c5c7abf198fc02d4457ed95ca4cf6.jpg","text":"TemporaryFile(/tmp/multipartBody9054629736845872400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598743783,"filename":"image_01122025_13_35_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/1/868824312fa27636932289b9f9760273.jpg","text":"TemporaryFile(/tmp/multipartBody3886861325014604489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598743783,"filename":"image_01122025_13_35_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/1/1a05ff68ae3cb268fa090a4856f61527.jpg","text":"TemporaryFile(/tmp/multipartBody7854869190330918815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598743783,"filename":"image_01122025_13_35_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/1/babba94afc5f71ac6ea20d7af0a2a1a1.jpg","text":"TemporaryFile(/tmp/multipartBody3044851982566738900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598743783,"filename":"image_01122025_13_35_34_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a59ae6ba5bbb2520aa0b5559e72dc16a.jpg","text":"TemporaryFile(/tmp/multipartBody6319091055944067268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598743783,"filename":"image_01122025_13_34_54_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237157","file1":"1397237154","file0":"1397237152","file4":"1397237164","file5":"1397237170","file3":"1397237160"},"map_files_photo_id_array":[{"photo_id":"1397237170","filename":"file5"},{"photo_id":"1397237157","filename":"file2"},{"photo_id":"1397237164","filename":"file4"},{"photo_id":"1397237154","filename":"file1"},{"photo_id":"1397237152","filename":"file0"},{"photo_id":"1397237160","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397237157":["hashtag1","hashtag2"]},{"1397237160":["hashtag1","hashtag2"]},{"1397237154":["hashtag1","hashtag2"]},{"1397237170":["hashtag1","hashtag2"]},{"1397237164":["hashtag1","hashtag2"]},{"1397237152":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397237157, 1397237160, 1397237154, 1397237170, 1397237164, 1397237152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7288761138916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 15:18:42.676905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_44_2666.jpg', '/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_47_2949.jpg', '/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_49_2655.jpg', '/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_53_3709.jpg', '/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_56_2768.jpg', '/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_58_2587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_44_2666.jpg
/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_47_2949.jpg
/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_49_2655.jpg
/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_53_3709.jpg
/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_56_2768.jpg
/home/pi/Desktop/images/31102025/14/36/image_31102025_14_36_58_2587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397237187","1397237184","1397237189","1397237180","1397237183","1397237185"],"photo_ids_order":["1397237180","1397237183","1397237184","1397237185","1397237187","1397237189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9a694cefbace8cab124df79d9dbef810.jpg","text":"TemporaryFile(/tmp/multipartBody4067013304627341541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598785212,"filename":"image_31102025_14_36_56_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/1/4ba6990891c8289f5092fc197981d4ab.jpg","text":"TemporaryFile(/tmp/multipartBody206455516189260703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598785212,"filename":"image_31102025_14_36_49_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bf17252f5d827771d4221b84d5be0709.jpg","text":"TemporaryFile(/tmp/multipartBody6685782505626083461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598785212,"filename":"image_31102025_14_36_58_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/1/71bba2e0359058b316cbaf55e7019948.jpg","text":"TemporaryFile(/tmp/multipartBody3687926595574217676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598785212,"filename":"image_31102025_14_36_44_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/1/a0c790510e365821f6801286c71ece78.jpg","text":"TemporaryFile(/tmp/multipartBody2017264228937607543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598785212,"filename":"image_31102025_14_36_47_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/1/7f064d71107a6624af56bf5f107d2974.jpg","text":"TemporaryFile(/tmp/multipartBody1527311319938408039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598785212,"filename":"image_31102025_14_36_53_3709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237184","file1":"1397237183","file0":"1397237180","file4":"1397237187","file5":"1397237189","file3":"1397237185"},"map_files_photo_id_array":[{"photo_id":"1397237189","filename":"file5"},{"photo_id":"1397237184","filename":"file2"},{"photo_id":"1397237187","filename":"file4"},{"photo_id":"1397237183","filename":"file1"},{"photo_id":"1397237180","filename":"file0"},{"photo_id":"1397237185","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397237187":["hashtag1","hashtag2"]},{"1397237184":["hashtag1","hashtag2"]},{"1397237189":["hashtag1","hashtag2"]},{"1397237180":["hashtag1","hashtag2"]},{"1397237183":["hashtag1","hashtag2"]},{"1397237185":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397237187, 1397237184, 1397237189, 1397237180, 1397237183, 1397237185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99088478088379 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 15:19:21.863604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/35/image_01122025_13_35_55_9549.jpg', '/home/pi/Desktop/images/01122025/13/36/image_01122025_13_36_15_10794.jpg', '/home/pi/Desktop/images/01122025/13/36/image_01122025_13_36_25_9781.jpg', '/home/pi/Desktop/images/01122025/13/36/image_01122025_13_36_35_9543.jpg', '/home/pi/Desktop/images/01122025/13/36/image_01122025_13_36_45_10597.jpg', '/home/pi/Desktop/images/01122025/13/36/image_01122025_13_36_55_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/35/image_01122025_13_35_55_9549.jpg
/home/pi/Desktop/images/01122025/13/36/image_01122025_13_36_15_10794.jpg
/home/pi/Desktop/images/01122025/13/36/image_01122025_13_36_25_9781.jpg
/home/pi/Desktop/images/01122025/13/36/image_01122025_13_36_35_9543.jpg
/home/pi/Desktop/images/01122025/13/36/image_01122025_13_36_45_10597.jpg
/home/pi/Desktop/images/01122025/13/36/image_01122025_13_36_55_9778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397237209","1397237206","1397237211","1397237214","1397237202","1397237197"],"photo_ids_order":["1397237197","1397237202","1397237206","1397237209","1397237211","1397237214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/be70bef76976e0921d4437c273659b93.jpg","text":"TemporaryFile(/tmp/multipartBody1288371488709959564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598822526,"filename":"image_01122025_13_36_35_9543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/67690e0b5f9856b5d2258b48fee6973d.jpg","text":"TemporaryFile(/tmp/multipartBody7438217218920991472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598822526,"filename":"image_01122025_13_36_25_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/347213c5fb6501e77b7adfa0968c1055.jpg","text":"TemporaryFile(/tmp/multipartBody5647654712973368166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598822526,"filename":"image_01122025_13_36_45_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/1/bc5dd08fd1dd1480863116090bb98f8e.jpg","text":"TemporaryFile(/tmp/multipartBody3277890511190935443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598822526,"filename":"image_01122025_13_36_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/1/6158fa5a357257f473e9f6795034e4a3.jpg","text":"TemporaryFile(/tmp/multipartBody1241354948091983545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598822526,"filename":"image_01122025_13_36_15_10794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/39ead0d7b89c55a9ffb08ee42a849445.jpg","text":"TemporaryFile(/tmp/multipartBody5231615494732934890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598822526,"filename":"image_01122025_13_35_55_9549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237206","file1":"1397237202","file0":"1397237197","file4":"1397237211","file5":"1397237214","file3":"1397237209"},"map_files_photo_id_array":[{"photo_id":"1397237214","filename":"file5"},{"photo_id":"1397237206","filename":"file2"},{"photo_id":"1397237211","filename":"file4"},{"photo_id":"1397237202","filename":"file1"},{"photo_id":"1397237197","filename":"file0"},{"photo_id":"1397237209","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397237209":["hashtag1","hashtag2"]},{"1397237206":["hashtag1","hashtag2"]},{"1397237211":["hashtag1","hashtag2"]},{"1397237214":["hashtag1","hashtag2"]},{"1397237202":["hashtag1","hashtag2"]},{"1397237197":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397237209, 1397237206, 1397237211, 1397237214, 1397237202, 1397237197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66440153121948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:20:02.409383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/36/image_01122025_13_37_05_9829.jpg', '/home/pi/Desktop/images/01122025/13/37/image_01122025_13_37_15_9792.jpg', '/home/pi/Desktop/images/01122025/13/37/image_01122025_13_37_25_10674.jpg', '/home/pi/Desktop/images/01122025/13/37/image_01122025_13_37_35_9601.jpg', '/home/pi/Desktop/images/01122025/13/37/image_01122025_13_37_44_9649.jpg', '/home/pi/Desktop/images/01122025/13/37/image_01122025_13_37_55_10571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/36/image_01122025_13_37_05_9829.jpg
/home/pi/Desktop/images/01122025/13/37/image_01122025_13_37_15_9792.jpg
/home/pi/Desktop/images/01122025/13/37/image_01122025_13_37_25_10674.jpg
/home/pi/Desktop/images/01122025/13/37/image_01122025_13_37_35_9601.jpg
/home/pi/Desktop/images/01122025/13/37/image_01122025_13_37_44_9649.jpg
/home/pi/Desktop/images/01122025/13/37/image_01122025_13_37_55_10571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397237236","1397237222","1397237216","1397237231","1397237225","1397237219"],"photo_ids_order":["1397237216","1397237219","1397237222","1397237225","1397237231","1397237236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6a83800a33f2bc2df1b75a2ffd9ddc70.jpg","text":"TemporaryFile(/tmp/multipartBody4689889277067106056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598863134,"filename":"image_01122025_13_37_55_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1693af2e402c144d324d6d92f9d162fe.jpg","text":"TemporaryFile(/tmp/multipartBody6266232340547359872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598863134,"filename":"image_01122025_13_37_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/1/68d6d5bde404ad05fae52caf1114a8d5.jpg","text":"TemporaryFile(/tmp/multipartBody147001391043389151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598863134,"filename":"image_01122025_13_37_05_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8dcf1cad06b83299ceeb0c80b0db95ef.jpg","text":"TemporaryFile(/tmp/multipartBody6002930849608667054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598863134,"filename":"image_01122025_13_37_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/1/bb521cfe99bfe29873bd0bf9e5066ed6.jpg","text":"TemporaryFile(/tmp/multipartBody5661085800087626685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598863134,"filename":"image_01122025_13_37_35_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ee0e01b72c9839fffae3b58b9259d8fd.jpg","text":"TemporaryFile(/tmp/multipartBody3876409857281703116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598863134,"filename":"image_01122025_13_37_15_9792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237222","file1":"1397237219","file0":"1397237216","file4":"1397237231","file5":"1397237236","file3":"1397237225"},"map_files_photo_id_array":[{"photo_id":"1397237236","filename":"file5"},{"photo_id":"1397237222","filename":"file2"},{"photo_id":"1397237231","filename":"file4"},{"photo_id":"1397237219","filename":"file1"},{"photo_id":"1397237216","filename":"file0"},{"photo_id":"1397237225","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397237236":["hashtag1","hashtag2"]},{"1397237222":["hashtag1","hashtag2"]},{"1397237216":["hashtag1","hashtag2"]},{"1397237231":["hashtag1","hashtag2"]},{"1397237225":["hashtag1","hashtag2"]},{"1397237219":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397237236, 1397237222, 1397237216, 1397237231, 1397237225, 1397237219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.21226978302002 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:21:02.834666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/37/image_01122025_13_38_05_9642.jpg', '/home/pi/Desktop/images/01122025/13/38/image_01122025_13_38_14_9638.jpg', '/home/pi/Desktop/images/01122025/13/38/image_01122025_13_38_25_10673.jpg', '/home/pi/Desktop/images/01122025/13/38/image_01122025_13_38_35_9718.jpg', '/home/pi/Desktop/images/01122025/13/38/image_01122025_13_38_44_9713.jpg', '/home/pi/Desktop/images/01122025/13/38/image_01122025_13_38_54_9873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/37/image_01122025_13_38_05_9642.jpg
/home/pi/Desktop/images/01122025/13/38/image_01122025_13_38_14_9638.jpg
/home/pi/Desktop/images/01122025/13/38/image_01122025_13_38_25_10673.jpg
/home/pi/Desktop/images/01122025/13/38/image_01122025_13_38_35_9718.jpg
/home/pi/Desktop/images/01122025/13/38/image_01122025_13_38_44_9713.jpg
/home/pi/Desktop/images/01122025/13/38/image_01122025_13_38_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":["1397237254","1397237248","1397237257","1397237261","1397237266","1397237251"],"photo_ids_order":["1397237248","1397237251","1397237254","1397237257","1397237261","1397237266"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/666a22d5dc737a802e869d199e4a878f.jpg","text":"TemporaryFile(/tmp/multipartBody3955756180973252202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598923655,"filename":"image_01122025_13_38_25_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c80ab9d305aa7d4f57531bf97463e323.jpg","text":"TemporaryFile(/tmp/multipartBody4048231628873085712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598923655,"filename":"image_01122025_13_38_05_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a1a8349fdd56c0d7f88bdf1de984a6c6.jpg","text":"TemporaryFile(/tmp/multipartBody6820084740939972611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598923655,"filename":"image_01122025_13_38_35_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/15c9d638ecd6897e598bab3f4a1492e4.jpg","text":"TemporaryFile(/tmp/multipartBody5622195781392150594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598923655,"filename":"image_01122025_13_38_44_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bee5db07ca17046d4cdfccc449fcc803.jpg","text":"TemporaryFile(/tmp/multipartBody901844152388628901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598923655,"filename":"image_01122025_13_38_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/1/ed8d790aacf61bea2ddf9f143c35e708.jpg","text":"TemporaryFile(/tmp/multipartBody7807291034061933754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598923655,"filename":"image_01122025_13_38_14_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237254","file1":"1397237251","file0":"1397237248","file4":"1397237261","file5":"1397237266","file3":"1397237257"},"map_files_photo_id_array":[{"photo_id":"1397237266","filename":"file5"},{"photo_id":"1397237254","filename":"file2"},{"photo_id":"1397237261","filename":"file4"},{"photo_id":"1397237251","filename":"file1"},{"photo_id":"1397237248","filename":"file0"},{"photo_id":"1397237257","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397237254":["hashtag1","hashtag2"]},{"1397237248":["hashtag1","hashtag2"]},{"1397237257":["hashtag1","hashtag2"]},{"1397237261":["hashtag1","hashtag2"]},{"1397237266":["hashtag1","hashtag2"]},{"1397237251":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397237254, 1397237248, 1397237257, 1397237261, 1397237266, 1397237251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.800978660583496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 15:21:42.235755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_01_2742.jpg', '/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_05_3731.jpg', '/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_08_2699.jpg', '/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_10_2842.jpg', '/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_13_2757.jpg', '/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_17_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_01_2742.jpg
/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_05_3731.jpg
/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_08_2699.jpg
/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_10_2842.jpg
/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_13_2757.jpg
/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_17_3694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397237275","1397237280","1397237277","1397237282","1397237276","1397237278"],"photo_ids_order":["1397237275","1397237276","1397237277","1397237278","1397237280","1397237282"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4da69d396c3f235115d76f3910ecf77c.jpg","text":"TemporaryFile(/tmp/multipartBody240807048806595316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598964819,"filename":"image_31102025_14_37_01_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/1/66f1c15d89fba30ad67919eaac3396b2.jpg","text":"TemporaryFile(/tmp/multipartBody3454673575072785361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598964819,"filename":"image_31102025_14_37_13_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0d44c0fe1c036664f7165377b55996b5.jpg","text":"TemporaryFile(/tmp/multipartBody7792536988257683654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598964819,"filename":"image_31102025_14_37_08_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/df20a145cf33581325d95a5d421df8fb.jpg","text":"TemporaryFile(/tmp/multipartBody5789972379019885114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598964819,"filename":"image_31102025_14_37_17_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1e619d301774d74444de7360adf0ebd6.jpg","text":"TemporaryFile(/tmp/multipartBody8183152718885095673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598964819,"filename":"image_31102025_14_37_05_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/1/1a4c1b1acfbc15c925ada44b60842e22.jpg","text":"TemporaryFile(/tmp/multipartBody2641890205112377576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764598964819,"filename":"image_31102025_14_37_10_2842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237277","file1":"1397237276","file0":"1397237275","file4":"1397237280","file5":"1397237282","file3":"1397237278"},"map_files_photo_id_array":[{"photo_id":"1397237282","filename":"file5"},{"photo_id":"1397237277","filename":"file2"},{"photo_id":"1397237280","filename":"file4"},{"photo_id":"1397237276","filename":"file1"},{"photo_id":"1397237275","filename":"file0"},{"photo_id":"1397237278","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397237275":["hashtag1","hashtag2"]},{"1397237280":["hashtag1","hashtag2"]},{"1397237277":["hashtag1","hashtag2"]},{"1397237282":["hashtag1","hashtag2"]},{"1397237276":["hashtag1","hashtag2"]},{"1397237278":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397237275, 1397237280, 1397237277, 1397237282, 1397237276, 1397237278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63832139968872 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 15:22:22.380913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/38/image_01122025_13_39_05_10636.jpg', '/home/pi/Desktop/images/01122025/13/39/image_01122025_13_39_15_9747.jpg', '/home/pi/Desktop/images/01122025/13/39/image_01122025_13_39_25_9800.jpg', '/home/pi/Desktop/images/01122025/13/39/image_01122025_13_39_35_10544.jpg', '/home/pi/Desktop/images/01122025/13/39/image_01122025_13_39_45_9743.jpg', '/home/pi/Desktop/images/01122025/13/39/image_01122025_13_39_54_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/38/image_01122025_13_39_05_10636.jpg
/home/pi/Desktop/images/01122025/13/39/image_01122025_13_39_15_9747.jpg
/home/pi/Desktop/images/01122025/13/39/image_01122025_13_39_25_9800.jpg
/home/pi/Desktop/images/01122025/13/39/image_01122025_13_39_35_10544.jpg
/home/pi/Desktop/images/01122025/13/39/image_01122025_13_39_45_9743.jpg
/home/pi/Desktop/images/01122025/13/39/image_01122025_13_39_54_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":["1397237308","1397237302","1397237305","1397237295","1397237299","1397237290"],"photo_ids_order":["1397237290","1397237295","1397237299","1397237302","1397237305","1397237308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a7b8baaa560e476cd03d2a5e6207c44b.jpg","text":"TemporaryFile(/tmp/multipartBody1446627967033110452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599003134,"filename":"image_01122025_13_39_54_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b59c260179929b8e897374ca5faee0cd.jpg","text":"TemporaryFile(/tmp/multipartBody2786900162521991176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599003134,"filename":"image_01122025_13_39_35_10544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9f6855f06783a7ac2b8caf13afafdc48.jpg","text":"TemporaryFile(/tmp/multipartBody8252496381959279389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599003134,"filename":"image_01122025_13_39_45_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0a77a4b8fe927abe0255819548becbd2.jpg","text":"TemporaryFile(/tmp/multipartBody4235115571202405250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599003134,"filename":"image_01122025_13_39_15_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b9cd19f1e71d19a76507c45bb4f3a6f0.jpg","text":"TemporaryFile(/tmp/multipartBody5936498578952065963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599003134,"filename":"image_01122025_13_39_25_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/64dbd51c68ee6b84dcf7e90ffb0e0f5c.jpg","text":"TemporaryFile(/tmp/multipartBody2955490306206802287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599003134,"filename":"image_01122025_13_39_05_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237299","file1":"1397237295","file0":"1397237290","file4":"1397237305","file5":"1397237308","file3":"1397237302"},"map_files_photo_id_array":[{"photo_id":"1397237308","filename":"file5"},{"photo_id":"1397237299","filename":"file2"},{"photo_id":"1397237305","filename":"file4"},{"photo_id":"1397237295","filename":"file1"},{"photo_id":"1397237290","filename":"file0"},{"photo_id":"1397237302","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397237308":["hashtag1","hashtag2"]},{"1397237302":["hashtag1","hashtag2"]},{"1397237305":["hashtag1","hashtag2"]},{"1397237295":["hashtag1","hashtag2"]},{"1397237299":["hashtag1","hashtag2"]},{"1397237290":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397237308, 1397237302, 1397237305, 1397237295, 1397237299, 1397237290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19641613960266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:23:03.338669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/39/image_01122025_13_40_04_9932.jpg', '/home/pi/Desktop/images/01122025/13/40/image_01122025_13_40_15_10791.jpg', '/home/pi/Desktop/images/01122025/13/40/image_01122025_13_40_25_9714.jpg', '/home/pi/Desktop/images/01122025/13/40/image_01122025_13_40_35_9658.jpg', '/home/pi/Desktop/images/01122025/13/40/image_01122025_13_40_45_10637.jpg', '/home/pi/Desktop/images/01122025/13/40/image_01122025_13_40_55_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/39/image_01122025_13_40_04_9932.jpg
/home/pi/Desktop/images/01122025/13/40/image_01122025_13_40_15_10791.jpg
/home/pi/Desktop/images/01122025/13/40/image_01122025_13_40_25_9714.jpg
/home/pi/Desktop/images/01122025/13/40/image_01122025_13_40_35_9658.jpg
/home/pi/Desktop/images/01122025/13/40/image_01122025_13_40_45_10637.jpg
/home/pi/Desktop/images/01122025/13/40/image_01122025_13_40_55_9755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397237320","1397237314","1397237317","1397237311","1397237325","1397237328"],"photo_ids_order":["1397237311","1397237314","1397237317","1397237320","1397237325","1397237328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c37abf21f53c56c8982b4179ab5db817.jpg","text":"TemporaryFile(/tmp/multipartBody608472791711024715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599044153,"filename":"image_01122025_13_40_35_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f83acaece0bd2a2e4ccf461865270251.jpg","text":"TemporaryFile(/tmp/multipartBody5814897280476522782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599044153,"filename":"image_01122025_13_40_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/1/de9d047b0ecec6019f689ef4d84c49d5.jpg","text":"TemporaryFile(/tmp/multipartBody8300051677744759522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599044153,"filename":"image_01122025_13_40_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/1/50814a0b208304e44fe9c3593490c70b.jpg","text":"TemporaryFile(/tmp/multipartBody302839081017450998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599044153,"filename":"image_01122025_13_40_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/1/6f27d74f4ace93ac77536b4e10d67991.jpg","text":"TemporaryFile(/tmp/multipartBody3084353029663479996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599044153,"filename":"image_01122025_13_40_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/1/b28d2613d141dc3a112377cd84c736ae.jpg","text":"TemporaryFile(/tmp/multipartBody1085364785162073876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599044153,"filename":"image_01122025_13_40_55_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237317","file1":"1397237314","file0":"1397237311","file4":"1397237325","file5":"1397237328","file3":"1397237320"},"map_files_photo_id_array":[{"photo_id":"1397237328","filename":"file5"},{"photo_id":"1397237317","filename":"file2"},{"photo_id":"1397237325","filename":"file4"},{"photo_id":"1397237314","filename":"file1"},{"photo_id":"1397237311","filename":"file0"},{"photo_id":"1397237320","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397237320":["hashtag1","hashtag2"]},{"1397237314":["hashtag1","hashtag2"]},{"1397237317":["hashtag1","hashtag2"]},{"1397237311":["hashtag1","hashtag2"]},{"1397237325":["hashtag1","hashtag2"]},{"1397237328":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397237320, 1397237314, 1397237317, 1397237311, 1397237325, 1397237328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.753990173339844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 15:23:42.798987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_20_2707.jpg', '/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_22_2778.jpg', '/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_26_3559.jpg', '/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_28_2535.jpg', '/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_31_2701.jpg', '/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_35_3693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_20_2707.jpg
/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_22_2778.jpg
/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_26_3559.jpg
/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_28_2535.jpg
/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_31_2701.jpg
/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_35_3693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397237341","1397237340","1397237343","1397237337","1397237345","1397237339"],"photo_ids_order":["1397237337","1397237339","1397237340","1397237341","1397237343","1397237345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4cc032fbc18f186a4c9d1936a86e8fb0.jpg","text":"TemporaryFile(/tmp/multipartBody7555321930829930362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599085402,"filename":"image_31102025_14_37_28_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/1/448671c8a31f34797ebe1efb4c38a474.jpg","text":"TemporaryFile(/tmp/multipartBody457619306235437416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599085402,"filename":"image_31102025_14_37_26_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/1/bd44617ba07696d53385cb276b207842.jpg","text":"TemporaryFile(/tmp/multipartBody3212557469054151808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599085402,"filename":"image_31102025_14_37_31_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/1/6b21d53f289e562f30710d17ca059359.jpg","text":"TemporaryFile(/tmp/multipartBody3623940504353593021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599085402,"filename":"image_31102025_14_37_20_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6e59df3e584c5008cbf3f7c29cb2e735.jpg","text":"TemporaryFile(/tmp/multipartBody6043828071879366081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599085402,"filename":"image_31102025_14_37_35_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/1/7fb948992816d1ed4521af68bc47c6b4.jpg","text":"TemporaryFile(/tmp/multipartBody2126969585418124691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599085402,"filename":"image_31102025_14_37_22_2778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237340","file1":"1397237339","file0":"1397237337","file4":"1397237343","file5":"1397237345","file3":"1397237341"},"map_files_photo_id_array":[{"photo_id":"1397237345","filename":"file5"},{"photo_id":"1397237340","filename":"file2"},{"photo_id":"1397237343","filename":"file4"},{"photo_id":"1397237339","filename":"file1"},{"photo_id":"1397237337","filename":"file0"},{"photo_id":"1397237341","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397237341":["hashtag1","hashtag2"]},{"1397237340":["hashtag1","hashtag2"]},{"1397237343":["hashtag1","hashtag2"]},{"1397237337":["hashtag1","hashtag2"]},{"1397237345":["hashtag1","hashtag2"]},{"1397237339":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397237341, 1397237340, 1397237343, 1397237337, 1397237345, 1397237339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.52361798286438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 15:24:31.974362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_59_1656.jpg', '/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_07_3011.jpg', '/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_10_3518.jpg', '/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_13_2707.jpg', '/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_16_3683.jpg', '/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_19_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/54/image_25112025_22_54_59_1656.jpg
/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_07_3011.jpg
/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_10_3518.jpg
/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_13_2707.jpg
/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_16_3683.jpg
/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_19_2599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397237370","1397237366","1397237369","1397237360","1397237363","1397237371"],"photo_ids_order":["1397237360","1397237363","1397237366","1397237369","1397237370","1397237371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/565160fccee15a398efe6254584b1797.jpg","text":"TemporaryFile(/tmp/multipartBody2614354118600782392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599133714,"filename":"image_25112025_22_55_16_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/1/bc568ac778bbcc81008875ff9360a681.jpg","text":"TemporaryFile(/tmp/multipartBody5236964669825457941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599133714,"filename":"image_25112025_22_55_10_3518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2b402d272da202a0bc69590c64bf8731.jpg","text":"TemporaryFile(/tmp/multipartBody6615779580155463354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599133714,"filename":"image_25112025_22_55_13_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/1/49bb5e6803c2c0f94d1fa624c7976b4c.jpg","text":"TemporaryFile(/tmp/multipartBody5867095503055588372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599133714,"filename":"image_25112025_22_54_59_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/1/a20d83cc50256b05043e5f1ce0c9a6b8.jpg","text":"TemporaryFile(/tmp/multipartBody7352819111581062945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599133714,"filename":"image_25112025_22_55_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ef6a55407ddbf7324b80845028f2007c.jpg","text":"TemporaryFile(/tmp/multipartBody7378294928177505819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599133714,"filename":"image_25112025_22_55_19_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237366","file1":"1397237363","file0":"1397237360","file4":"1397237370","file5":"1397237371","file3":"1397237369"},"map_files_photo_id_array":[{"photo_id":"1397237371","filename":"file5"},{"photo_id":"1397237366","filename":"file2"},{"photo_id":"1397237370","filename":"file4"},{"photo_id":"1397237363","filename":"file1"},{"photo_id":"1397237360","filename":"file0"},{"photo_id":"1397237369","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397237370":["hashtag1","hashtag2"]},{"1397237366":["hashtag1","hashtag2"]},{"1397237369":["hashtag1","hashtag2"]},{"1397237360":["hashtag1","hashtag2"]},{"1397237363":["hashtag1","hashtag2"]},{"1397237371":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397237370, 1397237366, 1397237369, 1397237360, 1397237363, 1397237371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.74944257736206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 15:25:21.837843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/40/image_01122025_13_41_05_9635.jpg', '/home/pi/Desktop/images/01122025/13/41/image_01122025_13_41_15_10571.jpg', '/home/pi/Desktop/images/01122025/13/41/image_01122025_13_41_25_9621.jpg', '/home/pi/Desktop/images/01122025/13/41/image_01122025_13_41_34_9681.jpg', '/home/pi/Desktop/images/01122025/13/41/image_01122025_13_41_45_10685.jpg', '/home/pi/Desktop/images/01122025/13/41/image_01122025_13_41_55_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/40/image_01122025_13_41_05_9635.jpg
/home/pi/Desktop/images/01122025/13/41/image_01122025_13_41_15_10571.jpg
/home/pi/Desktop/images/01122025/13/41/image_01122025_13_41_25_9621.jpg
/home/pi/Desktop/images/01122025/13/41/image_01122025_13_41_34_9681.jpg
/home/pi/Desktop/images/01122025/13/41/image_01122025_13_41_45_10685.jpg
/home/pi/Desktop/images/01122025/13/41/image_01122025_13_41_55_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":["1397237467","1397237416","1397237432","1397237455","1397237464","1397237437"],"photo_ids_order":["1397237416","1397237432","1397237437","1397237455","1397237464","1397237467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/55f761164913e633834fcc2345ed21d0.jpg","text":"TemporaryFile(/tmp/multipartBody3875954482105629573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599182646,"filename":"image_01122025_13_41_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/1/1a479abc5d858f4d214bd99b43c04f72.jpg","text":"TemporaryFile(/tmp/multipartBody8324394877081713258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599182646,"filename":"image_01122025_13_41_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/1/11dfd8b4626cd5647aa25e872c1ac422.jpg","text":"TemporaryFile(/tmp/multipartBody2226132290622358157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599182646,"filename":"image_01122025_13_41_15_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/1/3a13cda0590acd645512268278d6a46d.jpg","text":"TemporaryFile(/tmp/multipartBody1660921759237728979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599182646,"filename":"image_01122025_13_41_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/1/b16402f72ac258cc8fbece570e38a332.jpg","text":"TemporaryFile(/tmp/multipartBody4090990817647769280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599182646,"filename":"image_01122025_13_41_45_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/38e0f565008eb9c33577782fe9b3ee6b.jpg","text":"TemporaryFile(/tmp/multipartBody8409790362289264599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599182646,"filename":"image_01122025_13_41_25_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237437","file1":"1397237432","file0":"1397237416","file4":"1397237464","file5":"1397237467","file3":"1397237455"},"map_files_photo_id_array":[{"photo_id":"1397237467","filename":"file5"},{"photo_id":"1397237437","filename":"file2"},{"photo_id":"1397237464","filename":"file4"},{"photo_id":"1397237432","filename":"file1"},{"photo_id":"1397237416","filename":"file0"},{"photo_id":"1397237455","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397237467":["hashtag1","hashtag2"]},{"1397237416":["hashtag1","hashtag2"]},{"1397237432":["hashtag1","hashtag2"]},{"1397237455":["hashtag1","hashtag2"]},{"1397237464":["hashtag1","hashtag2"]},{"1397237437":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397237467, 1397237416, 1397237432, 1397237455, 1397237464, 1397237437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.432122468948364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:26:02.580793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/41/image_01122025_13_42_05_9758.jpg', '/home/pi/Desktop/images/01122025/13/42/image_01122025_13_42_14_9705.jpg', '/home/pi/Desktop/images/01122025/13/42/image_01122025_13_42_25_10709.jpg', '/home/pi/Desktop/images/01122025/13/42/image_01122025_13_42_35_9563.jpg', '/home/pi/Desktop/images/01122025/13/42/image_01122025_13_42_44_9870.jpg', '/home/pi/Desktop/images/01122025/13/42/image_01122025_13_42_55_10578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/41/image_01122025_13_42_05_9758.jpg
/home/pi/Desktop/images/01122025/13/42/image_01122025_13_42_14_9705.jpg
/home/pi/Desktop/images/01122025/13/42/image_01122025_13_42_25_10709.jpg
/home/pi/Desktop/images/01122025/13/42/image_01122025_13_42_35_9563.jpg
/home/pi/Desktop/images/01122025/13/42/image_01122025_13_42_44_9870.jpg
/home/pi/Desktop/images/01122025/13/42/image_01122025_13_42_55_10578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397237524","1397237500","1397237496","1397237505","1397237492","1397237488"],"photo_ids_order":["1397237488","1397237492","1397237496","1397237500","1397237505","1397237524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3a7002a02dc703857350b6ccd1bf9c57.jpg","text":"TemporaryFile(/tmp/multipartBody6555750391753718764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599223357,"filename":"image_01122025_13_42_55_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/936447e3c9171cbc3aac0e5ad57b239b.jpg","text":"TemporaryFile(/tmp/multipartBody583202835880552771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599223357,"filename":"image_01122025_13_42_35_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/1/fee83ff3a223ef6de20baeaa8c3764c9.jpg","text":"TemporaryFile(/tmp/multipartBody3603269081068232821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599223357,"filename":"image_01122025_13_42_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/1/bdd53e8d416861550d8b04b132e1fe15.jpg","text":"TemporaryFile(/tmp/multipartBody1427245818955468316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599223357,"filename":"image_01122025_13_42_44_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6079fa7bdd8db1bcbfbf02fe33600bbf.jpg","text":"TemporaryFile(/tmp/multipartBody7022281177489927057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599223357,"filename":"image_01122025_13_42_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/1/f60aa6970b14d80561a4ff9de3ec367d.jpg","text":"TemporaryFile(/tmp/multipartBody5170108261180761710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599223357,"filename":"image_01122025_13_42_05_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237496","file1":"1397237492","file0":"1397237488","file4":"1397237505","file5":"1397237524","file3":"1397237500"},"map_files_photo_id_array":[{"photo_id":"1397237524","filename":"file5"},{"photo_id":"1397237496","filename":"file2"},{"photo_id":"1397237505","filename":"file4"},{"photo_id":"1397237492","filename":"file1"},{"photo_id":"1397237488","filename":"file0"},{"photo_id":"1397237500","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397237524":["hashtag1","hashtag2"]},{"1397237500":["hashtag1","hashtag2"]},{"1397237496":["hashtag1","hashtag2"]},{"1397237505":["hashtag1","hashtag2"]},{"1397237492":["hashtag1","hashtag2"]},{"1397237488":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397237524, 1397237500, 1397237496, 1397237505, 1397237492, 1397237488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.30386185646057 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:27:02.969012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/42/image_01122025_13_43_05_9691.jpg', '/home/pi/Desktop/images/01122025/13/43/image_01122025_13_43_14_9623.jpg', '/home/pi/Desktop/images/01122025/13/43/image_01122025_13_43_25_10650.jpg', '/home/pi/Desktop/images/01122025/13/43/image_01122025_13_43_35_9783.jpg', '/home/pi/Desktop/images/01122025/13/43/image_01122025_13_43_45_9767.jpg', '/home/pi/Desktop/images/01122025/13/43/image_01122025_13_43_54_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/42/image_01122025_13_43_05_9691.jpg
/home/pi/Desktop/images/01122025/13/43/image_01122025_13_43_14_9623.jpg
/home/pi/Desktop/images/01122025/13/43/image_01122025_13_43_25_10650.jpg
/home/pi/Desktop/images/01122025/13/43/image_01122025_13_43_35_9783.jpg
/home/pi/Desktop/images/01122025/13/43/image_01122025_13_43_45_9767.jpg
/home/pi/Desktop/images/01122025/13/43/image_01122025_13_43_54_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":["1397237545","1397237541","1397237535","1397237550","1397237538","1397237532"],"photo_ids_order":["1397237532","1397237535","1397237538","1397237541","1397237545","1397237550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6e6bb66579ff85a52cdd579f93ed23c9.jpg","text":"TemporaryFile(/tmp/multipartBody6120739845483709316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599283808,"filename":"image_01122025_13_43_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/1/fae2a393e3060f7b4b18d0af405b6682.jpg","text":"TemporaryFile(/tmp/multipartBody2180684932366692334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599283808,"filename":"image_01122025_13_43_35_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f499b2af622a9ddcae295b7bdd6aa8d7.jpg","text":"TemporaryFile(/tmp/multipartBody444529848240815137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599283808,"filename":"image_01122025_13_43_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/1/58b670018ae59c064dbd96d1522ba45a.jpg","text":"TemporaryFile(/tmp/multipartBody8336889203235536409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599283808,"filename":"image_01122025_13_43_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/1/fde2865ab2bdd54ebf441eea8640d9dd.jpg","text":"TemporaryFile(/tmp/multipartBody6495893361273434017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599283808,"filename":"image_01122025_13_43_25_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ddcb22171cfa0856da968784b8265ecf.jpg","text":"TemporaryFile(/tmp/multipartBody625011582097413221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599283808,"filename":"image_01122025_13_43_05_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237538","file1":"1397237535","file0":"1397237532","file4":"1397237545","file5":"1397237550","file3":"1397237541"},"map_files_photo_id_array":[{"photo_id":"1397237550","filename":"file5"},{"photo_id":"1397237538","filename":"file2"},{"photo_id":"1397237545","filename":"file4"},{"photo_id":"1397237535","filename":"file1"},{"photo_id":"1397237532","filename":"file0"},{"photo_id":"1397237541","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397237545":["hashtag1","hashtag2"]},{"1397237541":["hashtag1","hashtag2"]},{"1397237535":["hashtag1","hashtag2"]},{"1397237550":["hashtag1","hashtag2"]},{"1397237538":["hashtag1","hashtag2"]},{"1397237532":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397237545, 1397237541, 1397237535, 1397237550, 1397237538, 1397237532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66743540763855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 15:27:42.192892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_38_2785.jpg', '/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_40_2714.jpg', '/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_44_3543.jpg', '/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_46_2667.jpg', '/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_49_2794.jpg', '/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_52_2817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_38_2785.jpg
/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_40_2714.jpg
/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_44_3543.jpg
/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_46_2667.jpg
/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_49_2794.jpg
/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_52_2817.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397237565","1397237562","1397237558","1397237567","1397237560","1397237563"],"photo_ids_order":["1397237558","1397237560","1397237562","1397237563","1397237565","1397237567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/eb3901973fb0818ea09e61979f653839.jpg","text":"TemporaryFile(/tmp/multipartBody7601753371725716634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599324843,"filename":"image_31102025_14_37_49_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/07cdca1d6178457b5644baaf57ecfadb.jpg","text":"TemporaryFile(/tmp/multipartBody1233397757377839029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599324843,"filename":"image_31102025_14_37_44_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/feccb1d7752bd81fd17fe2cd0015b591.jpg","text":"TemporaryFile(/tmp/multipartBody7595255344946801716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599324843,"filename":"image_31102025_14_37_38_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/1/f102c6bf74d6fd964aa09890a14b05f5.jpg","text":"TemporaryFile(/tmp/multipartBody1551625678260957430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599324843,"filename":"image_31102025_14_37_52_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c237745ed5ed3278e4382825b3eaf3ba.jpg","text":"TemporaryFile(/tmp/multipartBody874939107089051474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599324843,"filename":"image_31102025_14_37_40_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b7a76c817c22f24180012ca37b8151af.jpg","text":"TemporaryFile(/tmp/multipartBody4461587348848109562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599324843,"filename":"image_31102025_14_37_46_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237562","file1":"1397237560","file0":"1397237558","file4":"1397237565","file5":"1397237567","file3":"1397237563"},"map_files_photo_id_array":[{"photo_id":"1397237567","filename":"file5"},{"photo_id":"1397237562","filename":"file2"},{"photo_id":"1397237565","filename":"file4"},{"photo_id":"1397237560","filename":"file1"},{"photo_id":"1397237558","filename":"file0"},{"photo_id":"1397237563","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397237565":["hashtag1","hashtag2"]},{"1397237562":["hashtag1","hashtag2"]},{"1397237558":["hashtag1","hashtag2"]},{"1397237567":["hashtag1","hashtag2"]},{"1397237560":["hashtag1","hashtag2"]},{"1397237563":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397237565, 1397237562, 1397237558, 1397237567, 1397237560, 1397237563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45996308326721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 15:28:22.379905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/43/image_01122025_13_44_05_10822.jpg', '/home/pi/Desktop/images/01122025/13/44/image_01122025_13_44_15_9689.jpg', '/home/pi/Desktop/images/01122025/13/44/image_01122025_13_44_25_9947.jpg', '/home/pi/Desktop/images/01122025/13/44/image_01122025_13_44_34_9611.jpg', '/home/pi/Desktop/images/01122025/13/44/image_01122025_13_44_45_10880.jpg', '/home/pi/Desktop/images/01122025/13/44/image_01122025_13_44_55_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/43/image_01122025_13_44_05_10822.jpg
/home/pi/Desktop/images/01122025/13/44/image_01122025_13_44_15_9689.jpg
/home/pi/Desktop/images/01122025/13/44/image_01122025_13_44_25_9947.jpg
/home/pi/Desktop/images/01122025/13/44/image_01122025_13_44_34_9611.jpg
/home/pi/Desktop/images/01122025/13/44/image_01122025_13_44_45_10880.jpg
/home/pi/Desktop/images/01122025/13/44/image_01122025_13_44_55_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":["1397237590","1397237593","1397237587","1397237581","1397237584","1397237578"],"photo_ids_order":["1397237578","1397237581","1397237584","1397237587","1397237590","1397237593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/12f800b3fa40aa17e8ee52d410a5aff9.jpg","text":"TemporaryFile(/tmp/multipartBody5163477875970265169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599363233,"filename":"image_01122025_13_44_45_10880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e9c0a4d54f199f7669dca110ecafcf2e.jpg","text":"TemporaryFile(/tmp/multipartBody4652206380213687477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599363233,"filename":"image_01122025_13_44_55_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7ae20c17389a25e2dd6345f800e16cdc.jpg","text":"TemporaryFile(/tmp/multipartBody5766913806203555716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599363233,"filename":"image_01122025_13_44_34_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d0641d598d7aa0471819e90240fa8cfa.jpg","text":"TemporaryFile(/tmp/multipartBody3383528901796946960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599363233,"filename":"image_01122025_13_44_15_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9d8f638f8e629d631d20e1ba343fa0d3.jpg","text":"TemporaryFile(/tmp/multipartBody7378949101231887297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599363233,"filename":"image_01122025_13_44_25_9947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/087db2cab819d224fed40f275cfcb719.jpg","text":"TemporaryFile(/tmp/multipartBody2939567978860508237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599363233,"filename":"image_01122025_13_44_05_10822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237584","file1":"1397237581","file0":"1397237578","file4":"1397237590","file5":"1397237593","file3":"1397237587"},"map_files_photo_id_array":[{"photo_id":"1397237593","filename":"file5"},{"photo_id":"1397237584","filename":"file2"},{"photo_id":"1397237590","filename":"file4"},{"photo_id":"1397237581","filename":"file1"},{"photo_id":"1397237578","filename":"file0"},{"photo_id":"1397237587","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397237590":["hashtag1","hashtag2"]},{"1397237593":["hashtag1","hashtag2"]},{"1397237587":["hashtag1","hashtag2"]},{"1397237581":["hashtag1","hashtag2"]},{"1397237584":["hashtag1","hashtag2"]},{"1397237578":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397237590, 1397237593, 1397237587, 1397237581, 1397237584, 1397237578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27576947212219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:29:03.623387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/44/image_01122025_13_45_05_9865.jpg', '/home/pi/Desktop/images/01122025/13/45/image_01122025_13_45_15_9708.jpg', '/home/pi/Desktop/images/01122025/13/45/image_01122025_13_45_24_9751.jpg', '/home/pi/Desktop/images/01122025/13/45/image_01122025_13_45_35_10640.jpg', '/home/pi/Desktop/images/01122025/13/45/image_01122025_13_45_45_9602.jpg', '/home/pi/Desktop/images/01122025/13/45/image_01122025_13_45_54_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/44/image_01122025_13_45_05_9865.jpg
/home/pi/Desktop/images/01122025/13/45/image_01122025_13_45_15_9708.jpg
/home/pi/Desktop/images/01122025/13/45/image_01122025_13_45_24_9751.jpg
/home/pi/Desktop/images/01122025/13/45/image_01122025_13_45_35_10640.jpg
/home/pi/Desktop/images/01122025/13/45/image_01122025_13_45_45_9602.jpg
/home/pi/Desktop/images/01122025/13/45/image_01122025_13_45_54_9706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397237614","1397237602","1397237619","1397237606","1397237609","1397237599"],"photo_ids_order":["1397237599","1397237602","1397237606","1397237609","1397237614","1397237619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/29afedf04a3ea08e9ecb0da0407a2a99.jpg","text":"TemporaryFile(/tmp/multipartBody7821247500169177538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599404652,"filename":"image_01122025_13_45_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/1/bb92e18011f0bfc1d8c6fb6c3014dbb5.jpg","text":"TemporaryFile(/tmp/multipartBody7101559692564570157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599404652,"filename":"image_01122025_13_45_15_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8e508bea62891283f15efccf6313bbf1.jpg","text":"TemporaryFile(/tmp/multipartBody7014529276148482423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599404652,"filename":"image_01122025_13_45_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/1/333b5aaec02b81570dee8c134c37f073.jpg","text":"TemporaryFile(/tmp/multipartBody5607218549323004613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599404652,"filename":"image_01122025_13_45_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/1/5e8120482246ccb1ff952fb4c5239d60.jpg","text":"TemporaryFile(/tmp/multipartBody2296838652656438986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599404652,"filename":"image_01122025_13_45_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/1/76d6d154d4a4ed9cf37c4d37d4a820c3.jpg","text":"TemporaryFile(/tmp/multipartBody3027442974082784103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599404652,"filename":"image_01122025_13_45_05_9865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237606","file1":"1397237602","file0":"1397237599","file4":"1397237614","file5":"1397237619","file3":"1397237609"},"map_files_photo_id_array":[{"photo_id":"1397237619","filename":"file5"},{"photo_id":"1397237606","filename":"file2"},{"photo_id":"1397237614","filename":"file4"},{"photo_id":"1397237602","filename":"file1"},{"photo_id":"1397237599","filename":"file0"},{"photo_id":"1397237609","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397237614":["hashtag1","hashtag2"]},{"1397237602":["hashtag1","hashtag2"]},{"1397237619":["hashtag1","hashtag2"]},{"1397237606":["hashtag1","hashtag2"]},{"1397237609":["hashtag1","hashtag2"]},{"1397237599":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397237614, 1397237602, 1397237619, 1397237606, 1397237609, 1397237599)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.43246865272522 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:30:03.235828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/45/image_01122025_13_46_05_10785.jpg', '/home/pi/Desktop/images/01122025/13/46/image_01122025_13_46_15_9666.jpg', '/home/pi/Desktop/images/01122025/13/46/image_01122025_13_46_24_9661.jpg', '/home/pi/Desktop/images/01122025/13/46/image_01122025_13_46_35_10750.jpg', '/home/pi/Desktop/images/01122025/13/46/image_01122025_13_46_45_9641.jpg', '/home/pi/Desktop/images/01122025/13/46/image_01122025_13_46_54_9575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/45/image_01122025_13_46_05_10785.jpg
/home/pi/Desktop/images/01122025/13/46/image_01122025_13_46_15_9666.jpg
/home/pi/Desktop/images/01122025/13/46/image_01122025_13_46_24_9661.jpg
/home/pi/Desktop/images/01122025/13/46/image_01122025_13_46_35_10750.jpg
/home/pi/Desktop/images/01122025/13/46/image_01122025_13_46_45_9641.jpg
/home/pi/Desktop/images/01122025/13/46/image_01122025_13_46_54_9575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397237638","1397237632","1397237646","1397237640","1397237651","1397237635"],"photo_ids_order":["1397237632","1397237635","1397237638","1397237640","1397237646","1397237651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9ee8a97bb61ac98902c481d47c12d034.jpg","text":"TemporaryFile(/tmp/multipartBody4068426610647839383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599464151,"filename":"image_01122025_13_46_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/1/991f858b4e8039446f0273b7e0b5fd0a.jpg","text":"TemporaryFile(/tmp/multipartBody8843194433440920881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599464151,"filename":"image_01122025_13_46_05_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/1/0b3b4653398f8298c74d3b809b19a426.jpg","text":"TemporaryFile(/tmp/multipartBody47696567046112957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599464151,"filename":"image_01122025_13_46_45_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5695b2b7304ca3b239acdc586f266b55.jpg","text":"TemporaryFile(/tmp/multipartBody720069235321250256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599464151,"filename":"image_01122025_13_46_35_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c8d55ccaf26ff8e235a7f39a79e403c1.jpg","text":"TemporaryFile(/tmp/multipartBody1550428244819524773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599464151,"filename":"image_01122025_13_46_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/1/d7af986ded2eb59291f7757dd8cf524e.jpg","text":"TemporaryFile(/tmp/multipartBody7043754882613788110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599464151,"filename":"image_01122025_13_46_15_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237638","file1":"1397237635","file0":"1397237632","file4":"1397237646","file5":"1397237651","file3":"1397237640"},"map_files_photo_id_array":[{"photo_id":"1397237651","filename":"file5"},{"photo_id":"1397237638","filename":"file2"},{"photo_id":"1397237646","filename":"file4"},{"photo_id":"1397237635","filename":"file1"},{"photo_id":"1397237632","filename":"file0"},{"photo_id":"1397237640","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397237638":["hashtag1","hashtag2"]},{"1397237632":["hashtag1","hashtag2"]},{"1397237646":["hashtag1","hashtag2"]},{"1397237640":["hashtag1","hashtag2"]},{"1397237651":["hashtag1","hashtag2"]},{"1397237635":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397237638, 1397237632, 1397237646, 1397237640, 1397237651, 1397237635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.53950619697571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 15:30:42.818822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_56_3721.jpg', '/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_59_2835.jpg', '/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_01_2618.jpg', '/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_04_2769.jpg', '/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_08_3550.jpg', '/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_10_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_56_3721.jpg
/home/pi/Desktop/images/31102025/14/37/image_31102025_14_37_59_2835.jpg
/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_01_2618.jpg
/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_04_2769.jpg
/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_08_3550.jpg
/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_10_2732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397237659","1397237670","1397237664","1397237667","1397237666","1397237662"],"photo_ids_order":["1397237659","1397237662","1397237664","1397237666","1397237667","1397237670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/eabb1ee49fa8f6fe0004998f254a8eb0.jpg","text":"TemporaryFile(/tmp/multipartBody9168546031685718599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599505537,"filename":"image_31102025_14_37_56_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dd63c08aa9ffa8c076dace2b2c29943d.jpg","text":"TemporaryFile(/tmp/multipartBody509252611999636029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599505537,"filename":"image_31102025_14_38_10_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/1/db0d467e8a0c49859feea9de6ddaddcd.jpg","text":"TemporaryFile(/tmp/multipartBody7551239206076059244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599505537,"filename":"image_31102025_14_38_01_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/1/c36ea1df7f6796deafb41a1dc33fb9f9.jpg","text":"TemporaryFile(/tmp/multipartBody5975579974677434618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599505537,"filename":"image_31102025_14_38_08_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3aa669544cb306d9ff5d63fcc3130385.jpg","text":"TemporaryFile(/tmp/multipartBody8353195355631983261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599505537,"filename":"image_31102025_14_38_04_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/eee1bbda329d09910087703a933398cd.jpg","text":"TemporaryFile(/tmp/multipartBody1394836988995009482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599505537,"filename":"image_31102025_14_37_59_2835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237664","file1":"1397237662","file0":"1397237659","file4":"1397237667","file5":"1397237670","file3":"1397237666"},"map_files_photo_id_array":[{"photo_id":"1397237670","filename":"file5"},{"photo_id":"1397237664","filename":"file2"},{"photo_id":"1397237667","filename":"file4"},{"photo_id":"1397237662","filename":"file1"},{"photo_id":"1397237659","filename":"file0"},{"photo_id":"1397237666","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397237659":["hashtag1","hashtag2"]},{"1397237670":["hashtag1","hashtag2"]},{"1397237664":["hashtag1","hashtag2"]},{"1397237667":["hashtag1","hashtag2"]},{"1397237666":["hashtag1","hashtag2"]},{"1397237662":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397237659, 1397237670, 1397237664, 1397237667, 1397237666, 1397237662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32633185386658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 15:31:31.971477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_22_2764.jpg', '/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_25_2758.jpg', '/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_28_3650.jpg', '/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_31_2631.jpg', '/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_34_2700.jpg', '/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_37_3509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_22_2764.jpg
/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_25_2758.jpg
/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_28_3650.jpg
/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_31_2631.jpg
/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_34_2700.jpg
/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_37_3509.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397237694","1397237697","1397237685","1397237690","1397237692","1397237695"],"photo_ids_order":["1397237685","1397237690","1397237692","1397237694","1397237695","1397237697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fbd188f12afed864620c946b1f6cfeea.jpg","text":"TemporaryFile(/tmp/multipartBody2543742677213299991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599553805,"filename":"image_25112025_22_55_31_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/1/348721f282bccb4deea15885fcb436b1.jpg","text":"TemporaryFile(/tmp/multipartBody1366731449860763969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599553805,"filename":"image_25112025_22_55_37_3509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e1d56a85426ae1fd0961515b674d98db.jpg","text":"TemporaryFile(/tmp/multipartBody1896412167885254810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599553805,"filename":"image_25112025_22_55_22_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/961b6301443d85f08409392b2f814780.jpg","text":"TemporaryFile(/tmp/multipartBody6110451948281004085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599553805,"filename":"image_25112025_22_55_25_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/1/9bd1531ebe822016668357ebce72f405.jpg","text":"TemporaryFile(/tmp/multipartBody2616037720226805124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599553805,"filename":"image_25112025_22_55_28_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/1/9b72104895c97456cab82ef7bee02312.jpg","text":"TemporaryFile(/tmp/multipartBody7392009408220485369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599553805,"filename":"image_25112025_22_55_34_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237692","file1":"1397237690","file0":"1397237685","file4":"1397237695","file5":"1397237697","file3":"1397237694"},"map_files_photo_id_array":[{"photo_id":"1397237697","filename":"file5"},{"photo_id":"1397237692","filename":"file2"},{"photo_id":"1397237695","filename":"file4"},{"photo_id":"1397237690","filename":"file1"},{"photo_id":"1397237685","filename":"file0"},{"photo_id":"1397237694","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397237694":["hashtag1","hashtag2"]},{"1397237697":["hashtag1","hashtag2"]},{"1397237685":["hashtag1","hashtag2"]},{"1397237690":["hashtag1","hashtag2"]},{"1397237692":["hashtag1","hashtag2"]},{"1397237695":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397237694, 1397237697, 1397237685, 1397237690, 1397237692, 1397237695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.4216513633728 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 15:32:12.127217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_40_2654.jpg', '/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_46_3632.jpg', '/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_49_2534.jpg', '/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_52_3523.jpg', '/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_55_2657.jpg', '/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_58_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_40_2654.jpg
/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_46_3632.jpg
/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_49_2534.jpg
/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_52_3523.jpg
/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_55_2657.jpg
/home/pi/Desktop/images/25112025/22/55/image_25112025_22_55_58_2650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397237721","1397237715","1397237718","1397237703","1397237712","1397237706"],"photo_ids_order":["1397237703","1397237706","1397237712","1397237715","1397237718","1397237721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b348d06092a02c39d9cf7b116d5b4d87.jpg","text":"TemporaryFile(/tmp/multipartBody5141270127499198396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599593818,"filename":"image_25112025_22_55_58_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dcf528a339f13bde8a8297f84d4e6300.jpg","text":"TemporaryFile(/tmp/multipartBody7192458291140369043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599593818,"filename":"image_25112025_22_55_52_3523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/22370fa96aca8757fef9596b1eda16de.jpg","text":"TemporaryFile(/tmp/multipartBody1868643197471471295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599593818,"filename":"image_25112025_22_55_55_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/1/d962f7a7cee67652dce75e37112c2728.jpg","text":"TemporaryFile(/tmp/multipartBody5511111954549035628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599593818,"filename":"image_25112025_22_55_40_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/651e44867ee458395c507e48663e65d1.jpg","text":"TemporaryFile(/tmp/multipartBody2237876149951261034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599593818,"filename":"image_25112025_22_55_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/1/5267bc0d56d91f9177a09b3716d00e7d.jpg","text":"TemporaryFile(/tmp/multipartBody1650741311803133009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599593818,"filename":"image_25112025_22_55_46_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237712","file1":"1397237706","file0":"1397237703","file4":"1397237718","file5":"1397237721","file3":"1397237715"},"map_files_photo_id_array":[{"photo_id":"1397237721","filename":"file5"},{"photo_id":"1397237712","filename":"file2"},{"photo_id":"1397237718","filename":"file4"},{"photo_id":"1397237706","filename":"file1"},{"photo_id":"1397237703","filename":"file0"},{"photo_id":"1397237715","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397237721":["hashtag1","hashtag2"]},{"1397237715":["hashtag1","hashtag2"]},{"1397237718":["hashtag1","hashtag2"]},{"1397237703":["hashtag1","hashtag2"]},{"1397237712":["hashtag1","hashtag2"]},{"1397237706":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397237721, 1397237715, 1397237718, 1397237703, 1397237712, 1397237706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.637985944747925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:33:02.941130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/46/image_01122025_13_47_05_10671.jpg', '/home/pi/Desktop/images/01122025/13/47/image_01122025_13_47_15_9654.jpg', '/home/pi/Desktop/images/01122025/13/47/image_01122025_13_47_25_9836.jpg', '/home/pi/Desktop/images/01122025/13/47/image_01122025_13_47_35_10733.jpg', '/home/pi/Desktop/images/01122025/13/47/image_01122025_13_47_45_9791.jpg', '/home/pi/Desktop/images/01122025/13/47/image_01122025_13_47_55_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/46/image_01122025_13_47_05_10671.jpg
/home/pi/Desktop/images/01122025/13/47/image_01122025_13_47_15_9654.jpg
/home/pi/Desktop/images/01122025/13/47/image_01122025_13_47_25_9836.jpg
/home/pi/Desktop/images/01122025/13/47/image_01122025_13_47_35_10733.jpg
/home/pi/Desktop/images/01122025/13/47/image_01122025_13_47_45_9791.jpg
/home/pi/Desktop/images/01122025/13/47/image_01122025_13_47_55_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":["1397237746","1397237742","1397237738","1397237732","1397237735","1397237729"],"photo_ids_order":["1397237729","1397237732","1397237735","1397237738","1397237742","1397237746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f9369b03bc933374c570e07c082c5c9e.jpg","text":"TemporaryFile(/tmp/multipartBody2730700348496967385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599643760,"filename":"image_01122025_13_47_55_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3e5593ba532fdbdc8d9da3754d62654d.jpg","text":"TemporaryFile(/tmp/multipartBody3634763284693742902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599643760,"filename":"image_01122025_13_47_45_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b944b0cdf56cf4e4dcb3c77657f3dcc4.jpg","text":"TemporaryFile(/tmp/multipartBody4261043635492956342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599643760,"filename":"image_01122025_13_47_35_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dcea0e9ffaff22c3132b9d47f1fd1bdd.jpg","text":"TemporaryFile(/tmp/multipartBody339951313059784506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599643760,"filename":"image_01122025_13_47_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/1/d5e4fb408fb0fac6ba7a7b2d64ddb0ab.jpg","text":"TemporaryFile(/tmp/multipartBody6772571622552884773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599643760,"filename":"image_01122025_13_47_25_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/45f95bf06800ad3cc9cb417b926c5705.jpg","text":"TemporaryFile(/tmp/multipartBody5610668206274574791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599643760,"filename":"image_01122025_13_47_05_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237735","file1":"1397237732","file0":"1397237729","file4":"1397237742","file5":"1397237746","file3":"1397237738"},"map_files_photo_id_array":[{"photo_id":"1397237746","filename":"file5"},{"photo_id":"1397237735","filename":"file2"},{"photo_id":"1397237742","filename":"file4"},{"photo_id":"1397237732","filename":"file1"},{"photo_id":"1397237729","filename":"file0"},{"photo_id":"1397237738","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397237746":["hashtag1","hashtag2"]},{"1397237742":["hashtag1","hashtag2"]},{"1397237738":["hashtag1","hashtag2"]},{"1397237732":["hashtag1","hashtag2"]},{"1397237735":["hashtag1","hashtag2"]},{"1397237729":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397237746, 1397237742, 1397237738, 1397237732, 1397237735, 1397237729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86024188995361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 15:33:42.341942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_13_2675.jpg', '/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_17_3671.jpg', '/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_19_2692.jpg', '/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_22_2755.jpg', '/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_26_3653.jpg', '/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_28_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_13_2675.jpg
/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_17_3671.jpg
/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_19_2692.jpg
/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_22_2755.jpg
/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_26_3653.jpg
/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_28_2609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397237764","1397237757","1397237766","1397237762","1397237759","1397237761"],"photo_ids_order":["1397237757","1397237759","1397237761","1397237762","1397237764","1397237766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ae2b0b0c414ded84fb3a99c5ffbe5a86.jpg","text":"TemporaryFile(/tmp/multipartBody5971685594610875276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599684985,"filename":"image_31102025_14_38_26_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/1/d91287b34c996f68dca419438160dd1d.jpg","text":"TemporaryFile(/tmp/multipartBody1299598422905716495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599684985,"filename":"image_31102025_14_38_13_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/1/fe9dd7d34ab3988c5f2e9cc7393f5ee4.jpg","text":"TemporaryFile(/tmp/multipartBody3512316711336320997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599684985,"filename":"image_31102025_14_38_28_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e33a845ef07baef063ff4297b3d655b6.jpg","text":"TemporaryFile(/tmp/multipartBody6689119463939019358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599684985,"filename":"image_31102025_14_38_22_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/1/90e78ade389a58e13a96d82f7df6b5b1.jpg","text":"TemporaryFile(/tmp/multipartBody1922609899056023535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599684985,"filename":"image_31102025_14_38_17_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/1/e87aa865e3eb9483f34d4f3d7fee8747.jpg","text":"TemporaryFile(/tmp/multipartBody6029641235939139867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599684985,"filename":"image_31102025_14_38_19_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237761","file1":"1397237759","file0":"1397237757","file4":"1397237764","file5":"1397237766","file3":"1397237762"},"map_files_photo_id_array":[{"photo_id":"1397237766","filename":"file5"},{"photo_id":"1397237761","filename":"file2"},{"photo_id":"1397237764","filename":"file4"},{"photo_id":"1397237759","filename":"file1"},{"photo_id":"1397237757","filename":"file0"},{"photo_id":"1397237762","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397237764":["hashtag1","hashtag2"]},{"1397237757":["hashtag1","hashtag2"]},{"1397237766":["hashtag1","hashtag2"]},{"1397237762":["hashtag1","hashtag2"]},{"1397237759":["hashtag1","hashtag2"]},{"1397237761":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397237764, 1397237757, 1397237766, 1397237762, 1397237759, 1397237761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.80599045753479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 15:34:22.664382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/47/image_01122025_13_48_05_9779.jpg', '/home/pi/Desktop/images/01122025/13/48/image_01122025_13_48_14_9751.jpg', '/home/pi/Desktop/images/01122025/13/48/image_01122025_13_48_25_10862.jpg', '/home/pi/Desktop/images/01122025/13/48/image_01122025_13_48_35_9755.jpg', '/home/pi/Desktop/images/01122025/13/48/image_01122025_13_48_45_9845.jpg', '/home/pi/Desktop/images/01122025/13/48/image_01122025_13_48_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/47/image_01122025_13_48_05_9779.jpg
/home/pi/Desktop/images/01122025/13/48/image_01122025_13_48_14_9751.jpg
/home/pi/Desktop/images/01122025/13/48/image_01122025_13_48_25_10862.jpg
/home/pi/Desktop/images/01122025/13/48/image_01122025_13_48_35_9755.jpg
/home/pi/Desktop/images/01122025/13/48/image_01122025_13_48_45_9845.jpg
/home/pi/Desktop/images/01122025/13/48/image_01122025_13_48_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":["1397237793","1397237790","1397237778","1397237787","1397237785","1397237782"],"photo_ids_order":["1397237778","1397237782","1397237785","1397237787","1397237790","1397237793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/64d33a66f8f1a894d80accde114d79ae.jpg","text":"TemporaryFile(/tmp/multipartBody2125139108005380774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599723412,"filename":"image_01122025_13_48_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/1/a42ec0949e78e4cb56f5a4af1e65cb50.jpg","text":"TemporaryFile(/tmp/multipartBody1604849308379190065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599723412,"filename":"image_01122025_13_48_45_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/1/99ecfec72ca32b63e8ff9b5775ac4c2f.jpg","text":"TemporaryFile(/tmp/multipartBody4861971450767250594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599723412,"filename":"image_01122025_13_48_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/1/638f52c383782e5a76a20982fa89428e.jpg","text":"TemporaryFile(/tmp/multipartBody6251788326813534149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599723412,"filename":"image_01122025_13_48_35_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6addd118d290473164395eae1d321140.jpg","text":"TemporaryFile(/tmp/multipartBody4705891328087757475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599723412,"filename":"image_01122025_13_48_25_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/1/5b7c081ef45d3f0ff5acfe35e3302e23.jpg","text":"TemporaryFile(/tmp/multipartBody1184289506199172927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599723412,"filename":"image_01122025_13_48_14_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237785","file1":"1397237782","file0":"1397237778","file4":"1397237790","file5":"1397237793","file3":"1397237787"},"map_files_photo_id_array":[{"photo_id":"1397237793","filename":"file5"},{"photo_id":"1397237785","filename":"file2"},{"photo_id":"1397237790","filename":"file4"},{"photo_id":"1397237782","filename":"file1"},{"photo_id":"1397237778","filename":"file0"},{"photo_id":"1397237787","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397237793":["hashtag1","hashtag2"]},{"1397237790":["hashtag1","hashtag2"]},{"1397237778":["hashtag1","hashtag2"]},{"1397237787":["hashtag1","hashtag2"]},{"1397237785":["hashtag1","hashtag2"]},{"1397237782":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397237793, 1397237790, 1397237778, 1397237787, 1397237785, 1397237782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32128715515137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:35:03.400981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/48/image_01122025_13_49_05_10761.jpg', '/home/pi/Desktop/images/01122025/13/49/image_01122025_13_49_15_9716.jpg', '/home/pi/Desktop/images/01122025/13/49/image_01122025_13_49_25_9749.jpg', '/home/pi/Desktop/images/01122025/13/49/image_01122025_13_49_34_9623.jpg', '/home/pi/Desktop/images/01122025/13/49/image_01122025_13_49_45_10625.jpg', '/home/pi/Desktop/images/01122025/13/49/image_01122025_13_49_55_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/48/image_01122025_13_49_05_10761.jpg
/home/pi/Desktop/images/01122025/13/49/image_01122025_13_49_15_9716.jpg
/home/pi/Desktop/images/01122025/13/49/image_01122025_13_49_25_9749.jpg
/home/pi/Desktop/images/01122025/13/49/image_01122025_13_49_34_9623.jpg
/home/pi/Desktop/images/01122025/13/49/image_01122025_13_49_45_10625.jpg
/home/pi/Desktop/images/01122025/13/49/image_01122025_13_49_55_9746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397237815","1397237806","1397237796","1397237799","1397237802","1397237810"],"photo_ids_order":["1397237796","1397237799","1397237802","1397237806","1397237810","1397237815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/05dace5797869885e79eea31062d3d28.jpg","text":"TemporaryFile(/tmp/multipartBody6218196093731063685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599764198,"filename":"image_01122025_13_49_55_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2dec7daf9ea1aedbc565b3c48fe38e06.jpg","text":"TemporaryFile(/tmp/multipartBody3772583848077076234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599764198,"filename":"image_01122025_13_49_34_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/88413a44d9ca1aadb0b44e7a420d8cfa.jpg","text":"TemporaryFile(/tmp/multipartBody8648834014647195903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599764198,"filename":"image_01122025_13_49_05_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/1/caabb8a28a733640639e0b69fbbc0211.jpg","text":"TemporaryFile(/tmp/multipartBody8022306471368623536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599764198,"filename":"image_01122025_13_49_15_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d35e2fc891a4f2b8952739a2a319e94a.jpg","text":"TemporaryFile(/tmp/multipartBody5921922447265116624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599764198,"filename":"image_01122025_13_49_25_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/348f9e294eeff2689b175ef5bd0a66d1.jpg","text":"TemporaryFile(/tmp/multipartBody3809020336815745700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599764198,"filename":"image_01122025_13_49_45_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237802","file1":"1397237799","file0":"1397237796","file4":"1397237810","file5":"1397237815","file3":"1397237806"},"map_files_photo_id_array":[{"photo_id":"1397237815","filename":"file5"},{"photo_id":"1397237802","filename":"file2"},{"photo_id":"1397237810","filename":"file4"},{"photo_id":"1397237799","filename":"file1"},{"photo_id":"1397237796","filename":"file0"},{"photo_id":"1397237806","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397237815":["hashtag1","hashtag2"]},{"1397237806":["hashtag1","hashtag2"]},{"1397237796":["hashtag1","hashtag2"]},{"1397237799":["hashtag1","hashtag2"]},{"1397237802":["hashtag1","hashtag2"]},{"1397237810":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397237815, 1397237806, 1397237796, 1397237799, 1397237802, 1397237810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.939353704452515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:36:02.337303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/49/image_01122025_13_50_04_9710.jpg', '/home/pi/Desktop/images/01122025/13/50/image_01122025_13_50_15_10678.jpg', '/home/pi/Desktop/images/01122025/13/50/image_01122025_13_50_25_9624.jpg', '/home/pi/Desktop/images/01122025/13/50/image_01122025_13_50_35_10571.jpg', '/home/pi/Desktop/images/01122025/13/50/image_01122025_13_50_45_9665.jpg', '/home/pi/Desktop/images/01122025/13/50/image_01122025_13_50_55_9825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/49/image_01122025_13_50_04_9710.jpg
/home/pi/Desktop/images/01122025/13/50/image_01122025_13_50_15_10678.jpg
/home/pi/Desktop/images/01122025/13/50/image_01122025_13_50_25_9624.jpg
/home/pi/Desktop/images/01122025/13/50/image_01122025_13_50_35_10571.jpg
/home/pi/Desktop/images/01122025/13/50/image_01122025_13_50_45_9665.jpg
/home/pi/Desktop/images/01122025/13/50/image_01122025_13_50_55_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":["1397237838","1397237832","1397237826","1397237835","1397237829","1397237843"],"photo_ids_order":["1397237826","1397237829","1397237832","1397237835","1397237838","1397237843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0d07ca58b1ced73d694b448115c5e5af.jpg","text":"TemporaryFile(/tmp/multipartBody3403880197084814947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599823097,"filename":"image_01122025_13_50_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/1/9bd3b8652784eb10d71b6883fb4d9ee1.jpg","text":"TemporaryFile(/tmp/multipartBody8873247904939337297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599823097,"filename":"image_01122025_13_50_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/1/023efab9dc9c41de7a8b1c43fd34ee2d.jpg","text":"TemporaryFile(/tmp/multipartBody5662572859166460141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599823097,"filename":"image_01122025_13_50_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/1/84780e46d2575011fd1f036eff9a0d85.jpg","text":"TemporaryFile(/tmp/multipartBody8402016817519987403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599823097,"filename":"image_01122025_13_50_35_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6bb7ee967b429581c4b65cc9439d0063.jpg","text":"TemporaryFile(/tmp/multipartBody8997127638427526364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599823097,"filename":"image_01122025_13_50_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/1/246b2dde2758fa03cc3cf537b38e1a1e.jpg","text":"TemporaryFile(/tmp/multipartBody4209154229581849518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599823097,"filename":"image_01122025_13_50_55_9825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237832","file1":"1397237829","file0":"1397237826","file4":"1397237838","file5":"1397237843","file3":"1397237835"},"map_files_photo_id_array":[{"photo_id":"1397237843","filename":"file5"},{"photo_id":"1397237832","filename":"file2"},{"photo_id":"1397237838","filename":"file4"},{"photo_id":"1397237829","filename":"file1"},{"photo_id":"1397237826","filename":"file0"},{"photo_id":"1397237835","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397237838":["hashtag1","hashtag2"]},{"1397237832":["hashtag1","hashtag2"]},{"1397237826":["hashtag1","hashtag2"]},{"1397237835":["hashtag1","hashtag2"]},{"1397237829":["hashtag1","hashtag2"]},{"1397237843":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397237838, 1397237832, 1397237826, 1397237835, 1397237829, 1397237843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83066964149475 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-01 15:37:02.865927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/50/image_01122025_13_51_05_9761.jpg', '/home/pi/Desktop/images/01122025/13/51/image_01122025_13_51_15_10661.jpg', '/home/pi/Desktop/images/01122025/13/51/image_01122025_13_51_25_9644.jpg', '/home/pi/Desktop/images/01122025/13/51/image_01122025_13_51_34_9622.jpg', '/home/pi/Desktop/images/01122025/13/51/image_01122025_13_51_44_9838.jpg', '/home/pi/Desktop/images/01122025/13/51/image_01122025_13_51_55_10727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/50/image_01122025_13_51_05_9761.jpg
/home/pi/Desktop/images/01122025/13/51/image_01122025_13_51_15_10661.jpg
/home/pi/Desktop/images/01122025/13/51/image_01122025_13_51_25_9644.jpg
/home/pi/Desktop/images/01122025/13/51/image_01122025_13_51_34_9622.jpg
/home/pi/Desktop/images/01122025/13/51/image_01122025_13_51_44_9838.jpg
/home/pi/Desktop/images/01122025/13/51/image_01122025_13_51_55_10727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397237892","1397237889","1397237898","1397237883","1397237886","1397237861"],"photo_ids_order":["1397237861","1397237883","1397237886","1397237889","1397237892","1397237898"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c97c4ec1d39c2f05b13ccbd322d4cc26.jpg","text":"TemporaryFile(/tmp/multipartBody7953201770445003038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599883670,"filename":"image_01122025_13_51_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/1/b591e96ad49086b96c30857cb950270c.jpg","text":"TemporaryFile(/tmp/multipartBody6872716381879058144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599883670,"filename":"image_01122025_13_51_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/1/7762e947a63948794be305016dc8c4f0.jpg","text":"TemporaryFile(/tmp/multipartBody5134273083718996364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599883670,"filename":"image_01122025_13_51_55_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d49d9ea402306c5ee450bb5081af5097.jpg","text":"TemporaryFile(/tmp/multipartBody8790435182712696461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599883670,"filename":"image_01122025_13_51_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/1/4c252b8a79d0daac0c966c6229eec4b5.jpg","text":"TemporaryFile(/tmp/multipartBody2590792104579740975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599883670,"filename":"image_01122025_13_51_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/1/3b4bdfa6165b6dc2720142d6fc5dff53.jpg","text":"TemporaryFile(/tmp/multipartBody6670355561646602716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599883670,"filename":"image_01122025_13_51_05_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237886","file1":"1397237883","file0":"1397237861","file4":"1397237892","file5":"1397237898","file3":"1397237889"},"map_files_photo_id_array":[{"photo_id":"1397237898","filename":"file5"},{"photo_id":"1397237886","filename":"file2"},{"photo_id":"1397237892","filename":"file4"},{"photo_id":"1397237883","filename":"file1"},{"photo_id":"1397237861","filename":"file0"},{"photo_id":"1397237889","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397237892":["hashtag1","hashtag2"]},{"1397237889":["hashtag1","hashtag2"]},{"1397237898":["hashtag1","hashtag2"]},{"1397237883":["hashtag1","hashtag2"]},{"1397237886":["hashtag1","hashtag2"]},{"1397237861":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397237892, 1397237889, 1397237898, 1397237883, 1397237886, 1397237861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37286710739136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 15:37:42.102245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_31_2544.jpg', '/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_35_3743.jpg', '/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_37_2679.jpg', '/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_40_2910.jpg', '/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_43_2798.jpg', '/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_47_3628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_31_2544.jpg
/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_35_3743.jpg
/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_37_2679.jpg
/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_40_2910.jpg
/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_43_2798.jpg
/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_47_3628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397237914","1397237908","1397237917","1397237911","1397237919","1397237913"],"photo_ids_order":["1397237908","1397237911","1397237913","1397237914","1397237917","1397237919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dc3af25b38b876ae85e5a99793260c3f.jpg","text":"TemporaryFile(/tmp/multipartBody963690591021210581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599924689,"filename":"image_31102025_14_38_40_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/1/3f87f727ca579d9fdd65b43ab1114752.jpg","text":"TemporaryFile(/tmp/multipartBody8143969547375114030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599924689,"filename":"image_31102025_14_38_31_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/014ec963db26167bf23127ed2bfcd6ce.jpg","text":"TemporaryFile(/tmp/multipartBody2623529040564807452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599924689,"filename":"image_31102025_14_38_43_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/1/84151aebec5d3bf1cd82bbf5b9638409.jpg","text":"TemporaryFile(/tmp/multipartBody3917527088667900243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599924689,"filename":"image_31102025_14_38_35_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/1/900243f81e745da15d654b96a69c6012.jpg","text":"TemporaryFile(/tmp/multipartBody4574619227155503973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599924689,"filename":"image_31102025_14_38_47_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/1/4abf2ca1acc00471e52f9838555fcce1.jpg","text":"TemporaryFile(/tmp/multipartBody8364158598598933875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599924689,"filename":"image_31102025_14_38_37_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237913","file1":"1397237911","file0":"1397237908","file4":"1397237917","file5":"1397237919","file3":"1397237914"},"map_files_photo_id_array":[{"photo_id":"1397237919","filename":"file5"},{"photo_id":"1397237913","filename":"file2"},{"photo_id":"1397237917","filename":"file4"},{"photo_id":"1397237911","filename":"file1"},{"photo_id":"1397237908","filename":"file0"},{"photo_id":"1397237914","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397237914":["hashtag1","hashtag2"]},{"1397237908":["hashtag1","hashtag2"]},{"1397237917":["hashtag1","hashtag2"]},{"1397237911":["hashtag1","hashtag2"]},{"1397237919":["hashtag1","hashtag2"]},{"1397237913":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397237914, 1397237908, 1397237917, 1397237911, 1397237919, 1397237913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.14611196517944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 15:38:32.287660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/55/image_25112025_22_56_01_3568.jpg', '/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_04_2649.jpg', '/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_07_3560.jpg', '/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_10_2691.jpg', '/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_13_2656.jpg', '/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_16_3627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/55/image_25112025_22_56_01_3568.jpg
/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_04_2649.jpg
/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_07_3560.jpg
/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_10_2691.jpg
/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_13_2656.jpg
/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_16_3627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397237943","1397237937","1397237946","1397237940","1397237934","1397237945"],"photo_ids_order":["1397237934","1397237937","1397237940","1397237943","1397237945","1397237946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/124215ff6ade49390f17d34fb2b2517f.jpg","text":"TemporaryFile(/tmp/multipartBody1499552441365683520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599976057,"filename":"image_25112025_22_56_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/1/033af7ea8548566bce62a1263e4b98e4.jpg","text":"TemporaryFile(/tmp/multipartBody3735072485045784470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599976057,"filename":"image_25112025_22_56_04_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ea2aacf965b69ca8d03d9286c643604b.jpg","text":"TemporaryFile(/tmp/multipartBody7875799216754546352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599976057,"filename":"image_25112025_22_56_16_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/1/84ad829eedc63a6a8097debf391adce5.jpg","text":"TemporaryFile(/tmp/multipartBody5803062865815052206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599976057,"filename":"image_25112025_22_56_07_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/1/b1e1e29ec857c8b26d24b17a33644328.jpg","text":"TemporaryFile(/tmp/multipartBody3768446398350127537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599976057,"filename":"image_25112025_22_56_01_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/1/295ead0db472cdfe10a82033c2863dbe.jpg","text":"TemporaryFile(/tmp/multipartBody1192302194228813405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764599976057,"filename":"image_25112025_22_56_13_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237940","file1":"1397237937","file0":"1397237934","file4":"1397237945","file5":"1397237946","file3":"1397237943"},"map_files_photo_id_array":[{"photo_id":"1397237946","filename":"file5"},{"photo_id":"1397237940","filename":"file2"},{"photo_id":"1397237945","filename":"file4"},{"photo_id":"1397237937","filename":"file1"},{"photo_id":"1397237934","filename":"file0"},{"photo_id":"1397237943","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397237943":["hashtag1","hashtag2"]},{"1397237937":["hashtag1","hashtag2"]},{"1397237946":["hashtag1","hashtag2"]},{"1397237940":["hashtag1","hashtag2"]},{"1397237934":["hashtag1","hashtag2"]},{"1397237945":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397237943, 1397237937, 1397237946, 1397237940, 1397237934, 1397237945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.86201786994934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 15:39:22.537335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/51/image_01122025_13_52_05_9705.jpg', '/home/pi/Desktop/images/01122025/13/52/image_01122025_13_52_15_10538.jpg', '/home/pi/Desktop/images/01122025/13/52/image_01122025_13_52_25_9711.jpg', '/home/pi/Desktop/images/01122025/13/52/image_01122025_13_52_35_9727.jpg', '/home/pi/Desktop/images/01122025/13/52/image_01122025_13_52_44_9662.jpg', '/home/pi/Desktop/images/01122025/13/52/image_01122025_13_52_55_10688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/51/image_01122025_13_52_05_9705.jpg
/home/pi/Desktop/images/01122025/13/52/image_01122025_13_52_15_10538.jpg
/home/pi/Desktop/images/01122025/13/52/image_01122025_13_52_25_9711.jpg
/home/pi/Desktop/images/01122025/13/52/image_01122025_13_52_35_9727.jpg
/home/pi/Desktop/images/01122025/13/52/image_01122025_13_52_44_9662.jpg
/home/pi/Desktop/images/01122025/13/52/image_01122025_13_52_55_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":["1397237956","1397237961","1397237970","1397237978","1397237975","1397237965"],"photo_ids_order":["1397237956","1397237961","1397237965","1397237970","1397237975","1397237978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b8a354689cb21fe2a506344327743b94.jpg","text":"TemporaryFile(/tmp/multipartBody3912079839809206981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600023257,"filename":"image_01122025_13_52_05_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f51f7c64335ecf249dd6d13abd19b607.jpg","text":"TemporaryFile(/tmp/multipartBody4166423290422684630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600023257,"filename":"image_01122025_13_52_15_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/1/cd1653658722f4a068d2fb1caac6014d.jpg","text":"TemporaryFile(/tmp/multipartBody2083207626253677055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600023257,"filename":"image_01122025_13_52_35_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/104effc06b93a59f6ed1d766a1b502c8.jpg","text":"TemporaryFile(/tmp/multipartBody5436233735746567496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600023257,"filename":"image_01122025_13_52_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/1/be523a136c222b6145dc12b9cb5368e5.jpg","text":"TemporaryFile(/tmp/multipartBody4569338303265979055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600023257,"filename":"image_01122025_13_52_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/1/25581f77c03b28b48ef94366f3d85e14.jpg","text":"TemporaryFile(/tmp/multipartBody5454288243539759307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600023257,"filename":"image_01122025_13_52_25_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237965","file1":"1397237961","file0":"1397237956","file4":"1397237975","file5":"1397237978","file3":"1397237970"},"map_files_photo_id_array":[{"photo_id":"1397237978","filename":"file5"},{"photo_id":"1397237965","filename":"file2"},{"photo_id":"1397237975","filename":"file4"},{"photo_id":"1397237961","filename":"file1"},{"photo_id":"1397237956","filename":"file0"},{"photo_id":"1397237970","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397237956":["hashtag1","hashtag2"]},{"1397237961":["hashtag1","hashtag2"]},{"1397237970":["hashtag1","hashtag2"]},{"1397237978":["hashtag1","hashtag2"]},{"1397237975":["hashtag1","hashtag2"]},{"1397237965":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397237956, 1397237961, 1397237970, 1397237978, 1397237975, 1397237965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.96025896072388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:40:02.997648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/52/image_01122025_13_53_05_9868.jpg', '/home/pi/Desktop/images/01122025/13/53/image_01122025_13_53_15_9815.jpg', '/home/pi/Desktop/images/01122025/13/53/image_01122025_13_53_24_9590.jpg', '/home/pi/Desktop/images/01122025/13/53/image_01122025_13_53_35_10690.jpg', '/home/pi/Desktop/images/01122025/13/53/image_01122025_13_53_45_9693.jpg', '/home/pi/Desktop/images/01122025/13/53/image_01122025_13_53_54_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/52/image_01122025_13_53_05_9868.jpg
/home/pi/Desktop/images/01122025/13/53/image_01122025_13_53_15_9815.jpg
/home/pi/Desktop/images/01122025/13/53/image_01122025_13_53_24_9590.jpg
/home/pi/Desktop/images/01122025/13/53/image_01122025_13_53_35_10690.jpg
/home/pi/Desktop/images/01122025/13/53/image_01122025_13_53_45_9693.jpg
/home/pi/Desktop/images/01122025/13/53/image_01122025_13_53_54_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":["1397238000","1397237996","1397237990","1397237984","1397237987","1397237992"],"photo_ids_order":["1397237984","1397237987","1397237990","1397237992","1397237996","1397238000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3d972851172b368764b4bf9eeb0826b4.jpg","text":"TemporaryFile(/tmp/multipartBody7508718685352364263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600063720,"filename":"image_01122025_13_53_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/1/836bda1973a0f725f34db668566fceb0.jpg","text":"TemporaryFile(/tmp/multipartBody6959233609808770619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600063720,"filename":"image_01122025_13_53_45_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4a033fe97e5119277d132143a4281931.jpg","text":"TemporaryFile(/tmp/multipartBody7203586244732628160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600063720,"filename":"image_01122025_13_53_24_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a133cb1bdfe575a31c5440a65c3a8065.jpg","text":"TemporaryFile(/tmp/multipartBody6762936932500157905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600063720,"filename":"image_01122025_13_53_05_9868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/989b8ecfea973c42e4d412b4f24fef35.jpg","text":"TemporaryFile(/tmp/multipartBody1462904860904228235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600063720,"filename":"image_01122025_13_53_15_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/21480612c64cb50c7135bc869fb03423.jpg","text":"TemporaryFile(/tmp/multipartBody2628509110395229811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600063720,"filename":"image_01122025_13_53_35_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397237990","file1":"1397237987","file0":"1397237984","file4":"1397237996","file5":"1397238000","file3":"1397237992"},"map_files_photo_id_array":[{"photo_id":"1397238000","filename":"file5"},{"photo_id":"1397237990","filename":"file2"},{"photo_id":"1397237996","filename":"file4"},{"photo_id":"1397237987","filename":"file1"},{"photo_id":"1397237984","filename":"file0"},{"photo_id":"1397237992","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397238000":["hashtag1","hashtag2"]},{"1397237996":["hashtag1","hashtag2"]},{"1397237990":["hashtag1","hashtag2"]},{"1397237984":["hashtag1","hashtag2"]},{"1397237987":["hashtag1","hashtag2"]},{"1397237992":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397238000, 1397237996, 1397237990, 1397237984, 1397237987, 1397237992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.28889536857605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:41:02.433773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/53/image_01122025_13_54_05_10767.jpg', '/home/pi/Desktop/images/01122025/13/54/image_01122025_13_54_15_9608.jpg', '/home/pi/Desktop/images/01122025/13/54/image_01122025_13_54_25_9764.jpg', '/home/pi/Desktop/images/01122025/13/54/image_01122025_13_54_35_10651.jpg', '/home/pi/Desktop/images/01122025/13/54/image_01122025_13_54_45_9746.jpg', '/home/pi/Desktop/images/01122025/13/54/image_01122025_13_54_55_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/53/image_01122025_13_54_05_10767.jpg
/home/pi/Desktop/images/01122025/13/54/image_01122025_13_54_15_9608.jpg
/home/pi/Desktop/images/01122025/13/54/image_01122025_13_54_25_9764.jpg
/home/pi/Desktop/images/01122025/13/54/image_01122025_13_54_35_10651.jpg
/home/pi/Desktop/images/01122025/13/54/image_01122025_13_54_45_9746.jpg
/home/pi/Desktop/images/01122025/13/54/image_01122025_13_54_55_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":["1397238030","1397238018","1397238021","1397238014","1397238025","1397238013"],"photo_ids_order":["1397238013","1397238014","1397238018","1397238021","1397238025","1397238030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9e9696b88609cfcf4c3f86dbec4d15b3.jpg","text":"TemporaryFile(/tmp/multipartBody1893949947470851982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600123246,"filename":"image_01122025_13_54_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/1/e0dd39ea300c942b4ba1c9f731454041.jpg","text":"TemporaryFile(/tmp/multipartBody2908340135538292724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600123246,"filename":"image_01122025_13_54_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/1/28e17571aa035cc89dd6b0f3a22686cc.jpg","text":"TemporaryFile(/tmp/multipartBody4586663512527311496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600123246,"filename":"image_01122025_13_54_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/1/0e0a011531feef6a0541a0bc328a883d.jpg","text":"TemporaryFile(/tmp/multipartBody8136027922224436668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600123246,"filename":"image_01122025_13_54_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/1/0c361ca184877a5daead5087cd6a1f74.jpg","text":"TemporaryFile(/tmp/multipartBody8351781704332204879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600123246,"filename":"image_01122025_13_54_45_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fc235d687910a3e1b494ce7f2d556e5c.jpg","text":"TemporaryFile(/tmp/multipartBody2362568955428597117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600123246,"filename":"image_01122025_13_54_05_10767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397238018","file1":"1397238014","file0":"1397238013","file4":"1397238025","file5":"1397238030","file3":"1397238021"},"map_files_photo_id_array":[{"photo_id":"1397238030","filename":"file5"},{"photo_id":"1397238018","filename":"file2"},{"photo_id":"1397238025","filename":"file4"},{"photo_id":"1397238014","filename":"file1"},{"photo_id":"1397238013","filename":"file0"},{"photo_id":"1397238021","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397238030":["hashtag1","hashtag2"]},{"1397238018":["hashtag1","hashtag2"]},{"1397238021":["hashtag1","hashtag2"]},{"1397238014":["hashtag1","hashtag2"]},{"1397238025":["hashtag1","hashtag2"]},{"1397238013":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397238030, 1397238018, 1397238021, 1397238014, 1397238025, 1397238013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.538405418395996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:42:02.574191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/54/image_01122025_13_55_04_9699.jpg', '/home/pi/Desktop/images/01122025/13/55/image_01122025_13_55_15_10770.jpg', '/home/pi/Desktop/images/01122025/13/55/image_01122025_13_55_25_9660.jpg', '/home/pi/Desktop/images/01122025/13/55/image_01122025_13_55_35_9769.jpg', '/home/pi/Desktop/images/01122025/13/55/image_01122025_13_55_44_9777.jpg', '/home/pi/Desktop/images/01122025/13/55/image_01122025_13_55_55_10737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/54/image_01122025_13_55_04_9699.jpg
/home/pi/Desktop/images/01122025/13/55/image_01122025_13_55_15_10770.jpg
/home/pi/Desktop/images/01122025/13/55/image_01122025_13_55_25_9660.jpg
/home/pi/Desktop/images/01122025/13/55/image_01122025_13_55_35_9769.jpg
/home/pi/Desktop/images/01122025/13/55/image_01122025_13_55_44_9777.jpg
/home/pi/Desktop/images/01122025/13/55/image_01122025_13_55_55_10737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397238174","1397238177","1397238170","1397238167","1397238161","1397238163"],"photo_ids_order":["1397238161","1397238163","1397238167","1397238170","1397238174","1397238177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f1b15b69c06377554daee4476544aca7.jpg","text":"TemporaryFile(/tmp/multipartBody4668107507338015639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600183280,"filename":"image_01122025_13_55_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/1/26436c89009b4efba7784bc84e9108e2.jpg","text":"TemporaryFile(/tmp/multipartBody2937042110839711783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600183280,"filename":"image_01122025_13_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/1/641b8ff44fb77d55a4c9db09cf4ea3b1.jpg","text":"TemporaryFile(/tmp/multipartBody4417053626571582596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600183280,"filename":"image_01122025_13_55_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/1/ea4b8b8ce6efa8db7f860a19b2a6e852.jpg","text":"TemporaryFile(/tmp/multipartBody5803232215620505055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600183280,"filename":"image_01122025_13_55_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/1/553b7aef240e6ed1b7e993a302e126af.jpg","text":"TemporaryFile(/tmp/multipartBody7631748930223872589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600183280,"filename":"image_01122025_13_55_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/1/1f7d8746fa7023c26c2fefa39aa9e403.jpg","text":"TemporaryFile(/tmp/multipartBody371466288174485245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600183280,"filename":"image_01122025_13_55_15_10770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397238167","file1":"1397238163","file0":"1397238161","file4":"1397238174","file5":"1397238177","file3":"1397238170"},"map_files_photo_id_array":[{"photo_id":"1397238177","filename":"file5"},{"photo_id":"1397238167","filename":"file2"},{"photo_id":"1397238174","filename":"file4"},{"photo_id":"1397238163","filename":"file1"},{"photo_id":"1397238161","filename":"file0"},{"photo_id":"1397238170","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397238174":["hashtag1","hashtag2"]},{"1397238177":["hashtag1","hashtag2"]},{"1397238170":["hashtag1","hashtag2"]},{"1397238167":["hashtag1","hashtag2"]},{"1397238161":["hashtag1","hashtag2"]},{"1397238163":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397238174, 1397238177, 1397238170, 1397238167, 1397238161, 1397238163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00204801559448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 15:42:42.016208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_49_2749.jpg', '/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_52_2687.jpg', '/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_56_3707.jpg', '/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_58_2601.jpg', '/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_01_2636.jpg', '/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_04_2775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_49_2749.jpg
/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_52_2687.jpg
/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_56_3707.jpg
/home/pi/Desktop/images/31102025/14/38/image_31102025_14_38_58_2601.jpg
/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_01_2636.jpg
/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_04_2775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397238192","1397238189","1397238191","1397238193","1397238196","1397238190"],"photo_ids_order":["1397238189","1397238190","1397238191","1397238192","1397238193","1397238196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ede873b7befc80f532075b18eabeb007.jpg","text":"TemporaryFile(/tmp/multipartBody2991368835139906263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600224590,"filename":"image_31102025_14_38_58_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/1/bc9a281a2c20e8d041ea5405108d8f92.jpg","text":"TemporaryFile(/tmp/multipartBody2274237484575359439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600224590,"filename":"image_31102025_14_38_49_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/1/cd89010b7a3d46eaaf1b0e5ae143d9cd.jpg","text":"TemporaryFile(/tmp/multipartBody8326886244701493431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600224590,"filename":"image_31102025_14_38_56_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/1/b9552743f59e96ed7d2311f00884aa93.jpg","text":"TemporaryFile(/tmp/multipartBody3040967273331805940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600224590,"filename":"image_31102025_14_39_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/1/1ce3d6a47e4af9006254b0f9d65490ba.jpg","text":"TemporaryFile(/tmp/multipartBody6542197660397309957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600224590,"filename":"image_31102025_14_39_04_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8933f63832d4c05538d641b59b764c98.jpg","text":"TemporaryFile(/tmp/multipartBody7871923356638297448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600224590,"filename":"image_31102025_14_38_52_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397238191","file1":"1397238190","file0":"1397238189","file4":"1397238193","file5":"1397238196","file3":"1397238192"},"map_files_photo_id_array":[{"photo_id":"1397238196","filename":"file5"},{"photo_id":"1397238191","filename":"file2"},{"photo_id":"1397238193","filename":"file4"},{"photo_id":"1397238190","filename":"file1"},{"photo_id":"1397238189","filename":"file0"},{"photo_id":"1397238192","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397238192":["hashtag1","hashtag2"]},{"1397238189":["hashtag1","hashtag2"]},{"1397238191":["hashtag1","hashtag2"]},{"1397238193":["hashtag1","hashtag2"]},{"1397238196":["hashtag1","hashtag2"]},{"1397238190":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397238192, 1397238189, 1397238191, 1397238193, 1397238196, 1397238190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.43619251251221 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-01 15:43:32.173819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_22_3532.jpg', '/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_25_2646.jpg', '/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_28_2598.jpg', '/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_31_3729.jpg', '/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_34_2933.jpg', '/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_37_2535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_22_3532.jpg
/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_25_2646.jpg
/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_28_2598.jpg
/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_31_3729.jpg
/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_34_2933.jpg
/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_37_2535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397238217","1397238225","1397238213","1397238224","1397238223","1397238220"],"photo_ids_order":["1397238213","1397238217","1397238220","1397238223","1397238224","1397238225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e7f6b54b20ac8dfd248ca9d00167464c.jpg","text":"TemporaryFile(/tmp/multipartBody4932546511434456257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600273884,"filename":"image_25112025_22_56_25_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/1/f37057eea24f31f0c3298a62c398afad.jpg","text":"TemporaryFile(/tmp/multipartBody6043052741516076330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600273884,"filename":"image_25112025_22_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/1/7997b4a66eb6c447d10e61d4c536e138.jpg","text":"TemporaryFile(/tmp/multipartBody6026186571684428505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600273884,"filename":"image_25112025_22_56_22_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ba2d90d5ddb94fa9862543a7c33322f7.jpg","text":"TemporaryFile(/tmp/multipartBody6977527947482727204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600273884,"filename":"image_25112025_22_56_34_2933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/98295a4e2accde9faf8961505d59e8f1.jpg","text":"TemporaryFile(/tmp/multipartBody42171079987485887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600273884,"filename":"image_25112025_22_56_31_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3da640d6dc8a7f2bd4abf1718149fcf8.jpg","text":"TemporaryFile(/tmp/multipartBody2439802813097503498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600273884,"filename":"image_25112025_22_56_28_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397238220","file1":"1397238217","file0":"1397238213","file4":"1397238224","file5":"1397238225","file3":"1397238223"},"map_files_photo_id_array":[{"photo_id":"1397238225","filename":"file5"},{"photo_id":"1397238220","filename":"file2"},{"photo_id":"1397238224","filename":"file4"},{"photo_id":"1397238217","filename":"file1"},{"photo_id":"1397238213","filename":"file0"},{"photo_id":"1397238223","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397238217":["hashtag1","hashtag2"]},{"1397238225":["hashtag1","hashtag2"]},{"1397238213":["hashtag1","hashtag2"]},{"1397238224":["hashtag1","hashtag2"]},{"1397238223":["hashtag1","hashtag2"]},{"1397238220":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397238217, 1397238225, 1397238213, 1397238224, 1397238223, 1397238220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60369396209717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 15:44:12.366138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_40_3447.jpg', '/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_43_2685.jpg', '/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_46_2761.jpg', '/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_49_2922.jpg', '/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_52_3551.jpg', '/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_55_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_40_3447.jpg
/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_43_2685.jpg
/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_46_2761.jpg
/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_49_2922.jpg
/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_52_3551.jpg
/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_55_2611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397238251","1397238239","1397238248","1397238233","1397238230","1397238244"],"photo_ids_order":["1397238230","1397238233","1397238239","1397238244","1397238248","1397238251"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/801f6d3599c6083f3a918f5a9ef4bc34.jpg","text":"TemporaryFile(/tmp/multipartBody6567305275341436550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600313950,"filename":"image_25112025_22_56_55_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f3294093fb5ad844da3a709002d59768.jpg","text":"TemporaryFile(/tmp/multipartBody1152709095289336058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600313950,"filename":"image_25112025_22_56_46_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d65b5792d325e4898fe69b0926ba3120.jpg","text":"TemporaryFile(/tmp/multipartBody1010200347454827198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600313950,"filename":"image_25112025_22_56_52_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/1/74b3e33a4e1ca1571fed9ebcde8fae7b.jpg","text":"TemporaryFile(/tmp/multipartBody293238469432491858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600313950,"filename":"image_25112025_22_56_43_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/01d35d88078ae2608a7b641923689e61.jpg","text":"TemporaryFile(/tmp/multipartBody181458399007474327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600313950,"filename":"image_25112025_22_56_40_3447.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/29acd37ccd888d98fbc4b284ec63f3d0.jpg","text":"TemporaryFile(/tmp/multipartBody1532206197012380505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600313950,"filename":"image_25112025_22_56_49_2922.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397238239","file1":"1397238233","file0":"1397238230","file4":"1397238248","file5":"1397238251","file3":"1397238244"},"map_files_photo_id_array":[{"photo_id":"1397238251","filename":"file5"},{"photo_id":"1397238239","filename":"file2"},{"photo_id":"1397238248","filename":"file4"},{"photo_id":"1397238233","filename":"file1"},{"photo_id":"1397238230","filename":"file0"},{"photo_id":"1397238244","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397238251":["hashtag1","hashtag2"]},{"1397238239":["hashtag1","hashtag2"]},{"1397238248":["hashtag1","hashtag2"]},{"1397238233":["hashtag1","hashtag2"]},{"1397238230":["hashtag1","hashtag2"]},{"1397238244":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397238251, 1397238239, 1397238248, 1397238233, 1397238230, 1397238244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.41488170623779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:45:03.112786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/55/image_01122025_13_56_05_9651.jpg', '/home/pi/Desktop/images/01122025/13/56/image_01122025_13_56_14_9669.jpg', '/home/pi/Desktop/images/01122025/13/56/image_01122025_13_56_25_10650.jpg', '/home/pi/Desktop/images/01122025/13/56/image_01122025_13_56_35_9730.jpg', '/home/pi/Desktop/images/01122025/13/56/image_01122025_13_56_44_9664.jpg', '/home/pi/Desktop/images/01122025/13/56/image_01122025_13_56_55_10748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/55/image_01122025_13_56_05_9651.jpg
/home/pi/Desktop/images/01122025/13/56/image_01122025_13_56_14_9669.jpg
/home/pi/Desktop/images/01122025/13/56/image_01122025_13_56_25_10650.jpg
/home/pi/Desktop/images/01122025/13/56/image_01122025_13_56_35_9730.jpg
/home/pi/Desktop/images/01122025/13/56/image_01122025_13_56_44_9664.jpg
/home/pi/Desktop/images/01122025/13/56/image_01122025_13_56_55_10748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397238261","1397238264","1397238280","1397238274","1397238268","1397238259"],"photo_ids_order":["1397238259","1397238261","1397238264","1397238268","1397238274","1397238280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d910282e740e4a103bf30d847005c1c8.jpg","text":"TemporaryFile(/tmp/multipartBody794703976557811467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600365837,"filename":"image_01122025_13_56_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/1/8777814156a71813131022b16219a6f1.jpg","text":"TemporaryFile(/tmp/multipartBody4023000142401288923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600365837,"filename":"image_01122025_13_56_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/1/7e6d330528395db2b9cdeb07ebe04ec1.jpg","text":"TemporaryFile(/tmp/multipartBody5531002931975794157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600365837,"filename":"image_01122025_13_56_55_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/20c5b29e29d6e7c19a08a1bd3af950de.jpg","text":"TemporaryFile(/tmp/multipartBody663607887624997858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600365837,"filename":"image_01122025_13_56_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/1/ac93fa349c454f35b061eebc3fba488c.jpg","text":"TemporaryFile(/tmp/multipartBody6470449154969462741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600365837,"filename":"image_01122025_13_56_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/1/27e3cd9b9dd64215d8674fd3c0c44ec7.jpg","text":"TemporaryFile(/tmp/multipartBody1082948167691059280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600365837,"filename":"image_01122025_13_56_05_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397238264","file1":"1397238261","file0":"1397238259","file4":"1397238274","file5":"1397238280","file3":"1397238268"},"map_files_photo_id_array":[{"photo_id":"1397238280","filename":"file5"},{"photo_id":"1397238264","filename":"file2"},{"photo_id":"1397238274","filename":"file4"},{"photo_id":"1397238261","filename":"file1"},{"photo_id":"1397238259","filename":"file0"},{"photo_id":"1397238268","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397238261":["hashtag1","hashtag2"]},{"1397238264":["hashtag1","hashtag2"]},{"1397238280":["hashtag1","hashtag2"]},{"1397238274":["hashtag1","hashtag2"]},{"1397238268":["hashtag1","hashtag2"]},{"1397238259":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397238261, 1397238264, 1397238280, 1397238274, 1397238268, 1397238259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.68590974807739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:46:03.171317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/56/image_01122025_13_57_05_9693.jpg', '/home/pi/Desktop/images/01122025/13/57/image_01122025_13_57_14_9570.jpg', '/home/pi/Desktop/images/01122025/13/57/image_01122025_13_57_25_10535.jpg', '/home/pi/Desktop/images/01122025/13/57/image_01122025_13_57_35_9566.jpg', '/home/pi/Desktop/images/01122025/13/57/image_01122025_13_57_44_9809.jpg', '/home/pi/Desktop/images/01122025/13/57/image_01122025_13_57_55_10763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/56/image_01122025_13_57_05_9693.jpg
/home/pi/Desktop/images/01122025/13/57/image_01122025_13_57_14_9570.jpg
/home/pi/Desktop/images/01122025/13/57/image_01122025_13_57_25_10535.jpg
/home/pi/Desktop/images/01122025/13/57/image_01122025_13_57_35_9566.jpg
/home/pi/Desktop/images/01122025/13/57/image_01122025_13_57_44_9809.jpg
/home/pi/Desktop/images/01122025/13/57/image_01122025_13_57_55_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":["1397238291","1397238293","1397238296","1397238302","1397238305","1397238289"],"photo_ids_order":["1397238289","1397238291","1397238293","1397238296","1397238302","1397238305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/833881701843cb1237e45100626455f3.jpg","text":"TemporaryFile(/tmp/multipartBody4997654783135058404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600423875,"filename":"image_01122025_13_57_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/1/e333c79c03bceca61554d8dc57e9b86e.jpg","text":"TemporaryFile(/tmp/multipartBody8024217034669513934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600423875,"filename":"image_01122025_13_57_25_10535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/32e991a621b998b80b78fc097e00a6ef.jpg","text":"TemporaryFile(/tmp/multipartBody5178375917771176637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600423875,"filename":"image_01122025_13_57_35_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cb11500b17531a42db62b8387b7755ce.jpg","text":"TemporaryFile(/tmp/multipartBody966883624047578158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600423875,"filename":"image_01122025_13_57_44_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/95094153aaf3eb3910c3d59d3c505f93.jpg","text":"TemporaryFile(/tmp/multipartBody1448670315748974538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600423875,"filename":"image_01122025_13_57_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/1/560765211525a4f2119b2788327854e1.jpg","text":"TemporaryFile(/tmp/multipartBody9033109423341383388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600423875,"filename":"image_01122025_13_57_05_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397238293","file1":"1397238291","file0":"1397238289","file4":"1397238302","file5":"1397238305","file3":"1397238296"},"map_files_photo_id_array":[{"photo_id":"1397238305","filename":"file5"},{"photo_id":"1397238293","filename":"file2"},{"photo_id":"1397238302","filename":"file4"},{"photo_id":"1397238291","filename":"file1"},{"photo_id":"1397238289","filename":"file0"},{"photo_id":"1397238296","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397238291":["hashtag1","hashtag2"]},{"1397238293":["hashtag1","hashtag2"]},{"1397238296":["hashtag1","hashtag2"]},{"1397238302":["hashtag1","hashtag2"]},{"1397238305":["hashtag1","hashtag2"]},{"1397238289":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397238291, 1397238293, 1397238296, 1397238302, 1397238305, 1397238289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38787889480591 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 15:46:42.674758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_07_3579.jpg', '/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_10_2779.jpg', '/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_13_2645.jpg', '/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_17_3809.jpg', '/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_19_2563.jpg', '/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_22_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_07_3579.jpg
/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_10_2779.jpg
/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_13_2645.jpg
/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_17_3809.jpg
/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_19_2563.jpg
/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_22_2626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397238321","1397238320","1397238323","1397238317","1397238322","1397238325"],"photo_ids_order":["1397238317","1397238320","1397238321","1397238322","1397238323","1397238325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5e14d0ac2a1509a5e2ebfadea89eaabb.jpg","text":"TemporaryFile(/tmp/multipartBody6236430433418669664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600465199,"filename":"image_31102025_14_39_13_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/80522569a1f531a0b699e0d0875ee7af.jpg","text":"TemporaryFile(/tmp/multipartBody7018973880543889901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600465199,"filename":"image_31102025_14_39_10_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/44070d01bd4a701b23d3c6ba5e6c3273.jpg","text":"TemporaryFile(/tmp/multipartBody5908666129427546846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600465199,"filename":"image_31102025_14_39_19_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/1/2c92ca84318e34cff3b89c2112753496.jpg","text":"TemporaryFile(/tmp/multipartBody2290090390050682645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600465199,"filename":"image_31102025_14_39_07_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/1/901540ad14452d403584bae06575f6ad.jpg","text":"TemporaryFile(/tmp/multipartBody1001918201465934736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600465199,"filename":"image_31102025_14_39_17_3809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5f94a1cd6fa53dcd0a20e6ba504d7210.jpg","text":"TemporaryFile(/tmp/multipartBody2313591712395174787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600465199,"filename":"image_31102025_14_39_22_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397238321","file1":"1397238320","file0":"1397238317","file4":"1397238323","file5":"1397238325","file3":"1397238322"},"map_files_photo_id_array":[{"photo_id":"1397238325","filename":"file5"},{"photo_id":"1397238321","filename":"file2"},{"photo_id":"1397238323","filename":"file4"},{"photo_id":"1397238320","filename":"file1"},{"photo_id":"1397238317","filename":"file0"},{"photo_id":"1397238322","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397238321":["hashtag1","hashtag2"]},{"1397238320":["hashtag1","hashtag2"]},{"1397238323":["hashtag1","hashtag2"]},{"1397238317":["hashtag1","hashtag2"]},{"1397238322":["hashtag1","hashtag2"]},{"1397238325":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397238321, 1397238320, 1397238323, 1397238317, 1397238322, 1397238325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.58096098899841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 15:47:31.844693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_57_2632.jpg', '/home/pi/Desktop/images/25112025/22/56/image_25112025_22_57_01_3599.jpg', '/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_04_3255.jpg', '/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_07_2769.jpg', '/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_10_2750.jpg', '/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_12_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/56/image_25112025_22_56_57_2632.jpg
/home/pi/Desktop/images/25112025/22/56/image_25112025_22_57_01_3599.jpg
/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_04_3255.jpg
/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_07_2769.jpg
/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_10_2750.jpg
/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_12_2577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397238351","1397238354","1397238342","1397238355","1397238352","1397238346"],"photo_ids_order":["1397238342","1397238346","1397238351","1397238352","1397238354","1397238355"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f4347a11bc54c722d9391d1d83214094.jpg","text":"TemporaryFile(/tmp/multipartBody3351411960456989221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600513509,"filename":"image_25112025_22_57_04_3255.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7bb14eaa46dcd890c8d64688195e8b51.jpg","text":"TemporaryFile(/tmp/multipartBody8413035391108732470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600513509,"filename":"image_25112025_22_57_10_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f00aa13ce853223ff60b0ea4761cba53.jpg","text":"TemporaryFile(/tmp/multipartBody5893835595274341094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600513509,"filename":"image_25112025_22_56_57_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/1/109af44911e8adb61f50b5680cdfd51c.jpg","text":"TemporaryFile(/tmp/multipartBody7969699349492689558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600513509,"filename":"image_25112025_22_57_12_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/1/785e3b964f979cf477a31dd4c208bd34.jpg","text":"TemporaryFile(/tmp/multipartBody4262959364644258789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600513509,"filename":"image_25112025_22_57_07_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/29b70662b1578de18cd95c66aaa4bf85.jpg","text":"TemporaryFile(/tmp/multipartBody8313787346398190378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600513509,"filename":"image_25112025_22_57_01_3599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397238351","file1":"1397238346","file0":"1397238342","file4":"1397238354","file5":"1397238355","file3":"1397238352"},"map_files_photo_id_array":[{"photo_id":"1397238355","filename":"file5"},{"photo_id":"1397238351","filename":"file2"},{"photo_id":"1397238354","filename":"file4"},{"photo_id":"1397238346","filename":"file1"},{"photo_id":"1397238342","filename":"file0"},{"photo_id":"1397238352","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397238351":["hashtag1","hashtag2"]},{"1397238354":["hashtag1","hashtag2"]},{"1397238342":["hashtag1","hashtag2"]},{"1397238355":["hashtag1","hashtag2"]},{"1397238352":["hashtag1","hashtag2"]},{"1397238346":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397238351, 1397238354, 1397238342, 1397238355, 1397238352, 1397238346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53813910484314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 15:48:12.021088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_16_3603.jpg', '/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_19_2652.jpg', '/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_21_2792.jpg', '/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_25_3675.jpg', '/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_28_2609.jpg', '/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_30_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_16_3603.jpg
/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_19_2652.jpg
/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_21_2792.jpg
/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_25_3675.jpg
/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_28_2609.jpg
/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_30_2607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397238369","1397238377","1397238365","1397238359","1397238373","1397238361"],"photo_ids_order":["1397238359","1397238361","1397238365","1397238369","1397238373","1397238377"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2d690b03d6eac9ab096af892cfc6a3ae.jpg","text":"TemporaryFile(/tmp/multipartBody2620885500321029904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600553619,"filename":"image_25112025_22_57_25_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/1/bf220492ab0ceec78af04b8f6b50fc09.jpg","text":"TemporaryFile(/tmp/multipartBody6366944286403345627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600553619,"filename":"image_25112025_22_57_30_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/17b3f6c733eea61c3415588ea7ecbdeb.jpg","text":"TemporaryFile(/tmp/multipartBody5159887519691646463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600553619,"filename":"image_25112025_22_57_21_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/1/71a37a3ece69242111cbe4b0e3006268.jpg","text":"TemporaryFile(/tmp/multipartBody4438576040930969864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600553619,"filename":"image_25112025_22_57_16_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/1/721b0b4f327a77d0852fd61de5af91eb.jpg","text":"TemporaryFile(/tmp/multipartBody7902786669129947713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600553619,"filename":"image_25112025_22_57_28_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0165339157281cd25a66e15314d3cfee.jpg","text":"TemporaryFile(/tmp/multipartBody7634478170701548196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600553619,"filename":"image_25112025_22_57_19_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397238365","file1":"1397238361","file0":"1397238359","file4":"1397238373","file5":"1397238377","file3":"1397238369"},"map_files_photo_id_array":[{"photo_id":"1397238377","filename":"file5"},{"photo_id":"1397238365","filename":"file2"},{"photo_id":"1397238373","filename":"file4"},{"photo_id":"1397238361","filename":"file1"},{"photo_id":"1397238359","filename":"file0"},{"photo_id":"1397238369","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397238369":["hashtag1","hashtag2"]},{"1397238377":["hashtag1","hashtag2"]},{"1397238365":["hashtag1","hashtag2"]},{"1397238359":["hashtag1","hashtag2"]},{"1397238373":["hashtag1","hashtag2"]},{"1397238361":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397238369, 1397238377, 1397238365, 1397238359, 1397238373, 1397238361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38646626472473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:49:03.189385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/57/image_01122025_13_58_05_9561.jpg', '/home/pi/Desktop/images/01122025/13/58/image_01122025_13_58_14_9760.jpg', '/home/pi/Desktop/images/01122025/13/58/image_01122025_13_58_25_10662.jpg', '/home/pi/Desktop/images/01122025/13/58/image_01122025_13_58_35_9718.jpg', '/home/pi/Desktop/images/01122025/13/58/image_01122025_13_58_45_9691.jpg', '/home/pi/Desktop/images/01122025/13/58/image_01122025_13_58_55_10769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/57/image_01122025_13_58_05_9561.jpg
/home/pi/Desktop/images/01122025/13/58/image_01122025_13_58_14_9760.jpg
/home/pi/Desktop/images/01122025/13/58/image_01122025_13_58_25_10662.jpg
/home/pi/Desktop/images/01122025/13/58/image_01122025_13_58_35_9718.jpg
/home/pi/Desktop/images/01122025/13/58/image_01122025_13_58_45_9691.jpg
/home/pi/Desktop/images/01122025/13/58/image_01122025_13_58_55_10769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397238390","1397238387","1397238398","1397238391","1397238385","1397238394"],"photo_ids_order":["1397238385","1397238387","1397238390","1397238391","1397238394","1397238398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2291ec0cb10764c6d5b7951c8e5cdb5a.jpg","text":"TemporaryFile(/tmp/multipartBody3477735984663771617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600604035,"filename":"image_01122025_13_58_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/1/621bd9eb70ad640f09adca8e5358691c.jpg","text":"TemporaryFile(/tmp/multipartBody7318944000649283203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600604035,"filename":"image_01122025_13_58_14_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/be688af9abf0504826a2b6460953c6f2.jpg","text":"TemporaryFile(/tmp/multipartBody8592447661876420281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600604035,"filename":"image_01122025_13_58_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/1/30050564e0a0695a2e73c69cbb9f44b3.jpg","text":"TemporaryFile(/tmp/multipartBody8154725370136761670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600604035,"filename":"image_01122025_13_58_35_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3f53e0d9774a24e219439c12e2901fc4.jpg","text":"TemporaryFile(/tmp/multipartBody3295496023938212787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600604035,"filename":"image_01122025_13_58_05_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/1/b3e0bc2a035f6991caf5738f4d7b8cf8.jpg","text":"TemporaryFile(/tmp/multipartBody4402625255818086310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600604035,"filename":"image_01122025_13_58_45_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397238390","file1":"1397238387","file0":"1397238385","file4":"1397238394","file5":"1397238398","file3":"1397238391"},"map_files_photo_id_array":[{"photo_id":"1397238398","filename":"file5"},{"photo_id":"1397238390","filename":"file2"},{"photo_id":"1397238394","filename":"file4"},{"photo_id":"1397238387","filename":"file1"},{"photo_id":"1397238385","filename":"file0"},{"photo_id":"1397238391","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397238390":["hashtag1","hashtag2"]},{"1397238387":["hashtag1","hashtag2"]},{"1397238398":["hashtag1","hashtag2"]},{"1397238391":["hashtag1","hashtag2"]},{"1397238385":["hashtag1","hashtag2"]},{"1397238394":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397238390, 1397238387, 1397238398, 1397238391, 1397238385, 1397238394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95861220359802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:50:02.985108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/13/58/image_01122025_13_59_05_9723.jpg', '/home/pi/Desktop/images/01122025/13/59/image_01122025_13_59_15_9594.jpg', '/home/pi/Desktop/images/01122025/13/59/image_01122025_13_59_25_10646.jpg', '/home/pi/Desktop/images/01122025/13/59/image_01122025_13_59_35_9565.jpg', '/home/pi/Desktop/images/01122025/13/59/image_01122025_13_59_45_9810.jpg', '/home/pi/Desktop/images/01122025/13/59/image_01122025_13_59_54_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/13/58/image_01122025_13_59_05_9723.jpg
/home/pi/Desktop/images/01122025/13/59/image_01122025_13_59_15_9594.jpg
/home/pi/Desktop/images/01122025/13/59/image_01122025_13_59_25_10646.jpg
/home/pi/Desktop/images/01122025/13/59/image_01122025_13_59_35_9565.jpg
/home/pi/Desktop/images/01122025/13/59/image_01122025_13_59_45_9810.jpg
/home/pi/Desktop/images/01122025/13/59/image_01122025_13_59_54_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":["1397238426","1397238414","1397238423","1397238417","1397238419","1397238412"],"photo_ids_order":["1397238412","1397238414","1397238417","1397238419","1397238423","1397238426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/553c2a4f218bf4ed40ea8d4a4aa10a2f.jpg","text":"TemporaryFile(/tmp/multipartBody3485254903910143898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600663673,"filename":"image_01122025_13_59_54_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dcbe247cf59c5a9ce8d25ebe4bf6f706.jpg","text":"TemporaryFile(/tmp/multipartBody7125208404218527729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600663673,"filename":"image_01122025_13_59_15_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/1/4fe0ccaea75c21eae353022743337394.jpg","text":"TemporaryFile(/tmp/multipartBody260007211227280727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600663673,"filename":"image_01122025_13_59_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/1/8e139a616f350e6f218ca2f9c486e228.jpg","text":"TemporaryFile(/tmp/multipartBody7508935079563690636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600663673,"filename":"image_01122025_13_59_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/1/a7b84b5309625839effcc05759f9a77a.jpg","text":"TemporaryFile(/tmp/multipartBody7815929810987106794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600663673,"filename":"image_01122025_13_59_35_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9b761a9f24d65f6407b6a0790245d13a.jpg","text":"TemporaryFile(/tmp/multipartBody3094973851959463619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600663673,"filename":"image_01122025_13_59_05_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397238417","file1":"1397238414","file0":"1397238412","file4":"1397238423","file5":"1397238426","file3":"1397238419"},"map_files_photo_id_array":[{"photo_id":"1397238426","filename":"file5"},{"photo_id":"1397238417","filename":"file2"},{"photo_id":"1397238423","filename":"file4"},{"photo_id":"1397238414","filename":"file1"},{"photo_id":"1397238412","filename":"file0"},{"photo_id":"1397238419","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397238426":["hashtag1","hashtag2"]},{"1397238414":["hashtag1","hashtag2"]},{"1397238423":["hashtag1","hashtag2"]},{"1397238417":["hashtag1","hashtag2"]},{"1397238419":["hashtag1","hashtag2"]},{"1397238412":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397238426, 1397238414, 1397238423, 1397238417, 1397238419, 1397238412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31774044036865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 15:50:42.462929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_25_3577.jpg', '/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_28_2680.jpg', '/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_31_2902.jpg', '/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_35_3752.jpg', '/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_37_2575.jpg', '/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_40_2573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_25_3577.jpg
/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_28_2680.jpg
/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_31_2902.jpg
/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_35_3752.jpg
/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_37_2575.jpg
/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_40_2573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397238483","1397238482","1397238485","1397238479","1397238484","1397238481"],"photo_ids_order":["1397238479","1397238481","1397238482","1397238483","1397238484","1397238485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fca3574df6059a83a616e0b3b7391dce.jpg","text":"TemporaryFile(/tmp/multipartBody8400556223891548404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600704986,"filename":"image_31102025_14_39_35_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/1/fc003fd3df4b34672b50a11e3769311d.jpg","text":"TemporaryFile(/tmp/multipartBody356468158468866067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600704986,"filename":"image_31102025_14_39_31_2902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b06c635f1ccedc00265fadc3f623f478.jpg","text":"TemporaryFile(/tmp/multipartBody7847079580145279967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600704986,"filename":"image_31102025_14_39_40_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e648b9aaf0a68137d9e7d680f1ade8a9.jpg","text":"TemporaryFile(/tmp/multipartBody5278300062045484055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600704986,"filename":"image_31102025_14_39_25_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/df2dc25367b474c8558b2c24562dd196.jpg","text":"TemporaryFile(/tmp/multipartBody3421729612028285969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600704986,"filename":"image_31102025_14_39_37_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/1/940475cf025169077aeab4fcfb1e0a53.jpg","text":"TemporaryFile(/tmp/multipartBody4244143166317208091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600704986,"filename":"image_31102025_14_39_28_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397238482","file1":"1397238481","file0":"1397238479","file4":"1397238484","file5":"1397238485","file3":"1397238483"},"map_files_photo_id_array":[{"photo_id":"1397238485","filename":"file5"},{"photo_id":"1397238482","filename":"file2"},{"photo_id":"1397238484","filename":"file4"},{"photo_id":"1397238481","filename":"file1"},{"photo_id":"1397238479","filename":"file0"},{"photo_id":"1397238483","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397238483":["hashtag1","hashtag2"]},{"1397238482":["hashtag1","hashtag2"]},{"1397238485":["hashtag1","hashtag2"]},{"1397238479":["hashtag1","hashtag2"]},{"1397238484":["hashtag1","hashtag2"]},{"1397238481":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397238483, 1397238482, 1397238485, 1397238479, 1397238484, 1397238481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51447534561157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 15:51:22.641412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/00/image_01122025_14_00_14_10056.jpg', '/home/pi/Desktop/images/01122025/14/00/image_01122025_14_00_25_10610.jpg', '/home/pi/Desktop/images/01122025/14/00/image_01122025_14_00_34_9648.jpg', '/home/pi/Desktop/images/01122025/14/00/image_01122025_14_00_44_9736.jpg', '/home/pi/Desktop/images/01122025/14/00/image_01122025_14_00_55_10646.jpg', '/home/pi/Desktop/images/01122025/14/00/image_01122025_14_01_05_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/00/image_01122025_14_00_14_10056.jpg
/home/pi/Desktop/images/01122025/14/00/image_01122025_14_00_25_10610.jpg
/home/pi/Desktop/images/01122025/14/00/image_01122025_14_00_34_9648.jpg
/home/pi/Desktop/images/01122025/14/00/image_01122025_14_00_44_9736.jpg
/home/pi/Desktop/images/01122025/14/00/image_01122025_14_00_55_10646.jpg
/home/pi/Desktop/images/01122025/14/00/image_01122025_14_01_05_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":["1397238497","1397238509","1397238499","1397238503","1397238493","1397238489"],"photo_ids_order":["1397238489","1397238493","1397238497","1397238499","1397238503","1397238509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1d36022f8714a753e2f91dceb65083ad.jpg","text":"TemporaryFile(/tmp/multipartBody9036983839429250771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600743321,"filename":"image_01122025_14_00_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/1/5a4a1d38b665a15dfee04ab5f98680e1.jpg","text":"TemporaryFile(/tmp/multipartBody1593385622616688372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600743321,"filename":"image_01122025_14_01_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/1/e25bb6b02d9337e0febf9a88a91bebde.jpg","text":"TemporaryFile(/tmp/multipartBody7480049710285503379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600743321,"filename":"image_01122025_14_00_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/1/c8c2cd1f1e3945c02593fa2b69415c3e.jpg","text":"TemporaryFile(/tmp/multipartBody716725388616778700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600743321,"filename":"image_01122025_14_00_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/1/dcee58ff22ddf7e2dc535b3aa2ed0f42.jpg","text":"TemporaryFile(/tmp/multipartBody8248365408744155645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600743321,"filename":"image_01122025_14_00_25_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/1/110dc02b9257d0441098fb930e2efb72.jpg","text":"TemporaryFile(/tmp/multipartBody7261797538087504176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600743321,"filename":"image_01122025_14_00_14_10056.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397238497","file1":"1397238493","file0":"1397238489","file4":"1397238503","file5":"1397238509","file3":"1397238499"},"map_files_photo_id_array":[{"photo_id":"1397238509","filename":"file5"},{"photo_id":"1397238497","filename":"file2"},{"photo_id":"1397238503","filename":"file4"},{"photo_id":"1397238493","filename":"file1"},{"photo_id":"1397238489","filename":"file0"},{"photo_id":"1397238499","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397238497":["hashtag1","hashtag2"]},{"1397238509":["hashtag1","hashtag2"]},{"1397238499":["hashtag1","hashtag2"]},{"1397238503":["hashtag1","hashtag2"]},{"1397238493":["hashtag1","hashtag2"]},{"1397238489":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397238497, 1397238509, 1397238499, 1397238503, 1397238493, 1397238489)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.71028113365173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 15:52:12.857810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_34_3708.jpg', '/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_37_2743.jpg', '/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_40_2863.jpg', '/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_42_2635.jpg', '/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_46_3571.jpg', '/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_49_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_34_3708.jpg
/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_37_2743.jpg
/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_40_2863.jpg
/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_42_2635.jpg
/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_46_3571.jpg
/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_49_2665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397238514","1397238633","1397238549","1397238513","1397238519","1397238523"],"photo_ids_order":["1397238513","1397238514","1397238519","1397238523","1397238549","1397238633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0d1eefe8b5c2b1b2c7c7cc53089932d1.jpg","text":"TemporaryFile(/tmp/multipartBody4910104186205917866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600794431,"filename":"image_25112025_22_57_37_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/1/166bb5c813425f00f23ee0a776490cf1.jpg","text":"TemporaryFile(/tmp/multipartBody8049472046636649683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600794431,"filename":"image_25112025_22_57_49_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6fbbbdfd0ea43f8c53169af0e559c821.jpg","text":"TemporaryFile(/tmp/multipartBody2762146913051315296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600794431,"filename":"image_25112025_22_57_46_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/1/72e8c30391951b4f8ed0a6e5910d71e2.jpg","text":"TemporaryFile(/tmp/multipartBody7791455922693781357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600794431,"filename":"image_25112025_22_57_34_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/997d0a828f4a3383e21fdbec631a74d4.jpg","text":"TemporaryFile(/tmp/multipartBody5991183629839810552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600794431,"filename":"image_25112025_22_57_40_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e54752e2cebf96a27a7a72020fd4f765.jpg","text":"TemporaryFile(/tmp/multipartBody1657251136041838312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600794431,"filename":"image_25112025_22_57_42_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397238519","file1":"1397238514","file0":"1397238513","file4":"1397238549","file5":"1397238633","file3":"1397238523"},"map_files_photo_id_array":[{"photo_id":"1397238633","filename":"file5"},{"photo_id":"1397238519","filename":"file2"},{"photo_id":"1397238549","filename":"file4"},{"photo_id":"1397238514","filename":"file1"},{"photo_id":"1397238513","filename":"file0"},{"photo_id":"1397238523","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397238514":["hashtag1","hashtag2"]},{"1397238633":["hashtag1","hashtag2"]},{"1397238549":["hashtag1","hashtag2"]},{"1397238513":["hashtag1","hashtag2"]},{"1397238519":["hashtag1","hashtag2"]},{"1397238523":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397238514, 1397238633, 1397238549, 1397238513, 1397238519, 1397238523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78635263442993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:53:02.648593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/01/image_01122025_14_01_14_9689.jpg', '/home/pi/Desktop/images/01122025/14/01/image_01122025_14_01_25_10657.jpg', '/home/pi/Desktop/images/01122025/14/01/image_01122025_14_01_35_9766.jpg', '/home/pi/Desktop/images/01122025/14/01/image_01122025_14_01_44_9652.jpg', '/home/pi/Desktop/images/01122025/14/01/image_01122025_14_01_55_10561.jpg', '/home/pi/Desktop/images/01122025/14/01/image_01122025_14_02_05_9804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/01/image_01122025_14_01_14_9689.jpg
/home/pi/Desktop/images/01122025/14/01/image_01122025_14_01_25_10657.jpg
/home/pi/Desktop/images/01122025/14/01/image_01122025_14_01_35_9766.jpg
/home/pi/Desktop/images/01122025/14/01/image_01122025_14_01_44_9652.jpg
/home/pi/Desktop/images/01122025/14/01/image_01122025_14_01_55_10561.jpg
/home/pi/Desktop/images/01122025/14/01/image_01122025_14_02_05_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":["1397238690","1397238692","1397238686","1397238668","1397238682","1397238688"],"photo_ids_order":["1397238668","1397238682","1397238686","1397238688","1397238690","1397238692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ad6733c361792bc0a41da8574c57649e.jpg","text":"TemporaryFile(/tmp/multipartBody6268240410710033631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600843400,"filename":"image_01122025_14_01_55_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5eacde1d547946f421dc8b3113777c75.jpg","text":"TemporaryFile(/tmp/multipartBody5555350493295244234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600843400,"filename":"image_01122025_14_02_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/1/e61f96cfea57cb17ee6deaf7118b9061.jpg","text":"TemporaryFile(/tmp/multipartBody4305911463246474590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600843400,"filename":"image_01122025_14_01_35_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cf0f644adc9e97792fb06304b63ba0a8.jpg","text":"TemporaryFile(/tmp/multipartBody5031848961986084698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600843400,"filename":"image_01122025_14_01_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/1/9dfdc3bc898555dae9d4020399cea26a.jpg","text":"TemporaryFile(/tmp/multipartBody2596956004365868532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600843400,"filename":"image_01122025_14_01_25_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c941ff13cc6f07f140a309b59962af7c.jpg","text":"TemporaryFile(/tmp/multipartBody2509483012646209410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600843400,"filename":"image_01122025_14_01_44_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397238686","file1":"1397238682","file0":"1397238668","file4":"1397238690","file5":"1397238692","file3":"1397238688"},"map_files_photo_id_array":[{"photo_id":"1397238692","filename":"file5"},{"photo_id":"1397238686","filename":"file2"},{"photo_id":"1397238690","filename":"file4"},{"photo_id":"1397238682","filename":"file1"},{"photo_id":"1397238668","filename":"file0"},{"photo_id":"1397238688","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397238690":["hashtag1","hashtag2"]},{"1397238692":["hashtag1","hashtag2"]},{"1397238686":["hashtag1","hashtag2"]},{"1397238668":["hashtag1","hashtag2"]},{"1397238682":["hashtag1","hashtag2"]},{"1397238688":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397238690, 1397238692, 1397238686, 1397238668, 1397238682, 1397238688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.338419914245605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 15:53:41.999182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_44_3744.jpg', '/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_46_2805.jpg', '/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_49_2658.jpg', '/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_52_2655.jpg', '/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_55_3699.jpg', '/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_58_2806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_44_3744.jpg
/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_46_2805.jpg
/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_49_2658.jpg
/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_52_2655.jpg
/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_55_3699.jpg
/home/pi/Desktop/images/31102025/14/39/image_31102025_14_39_58_2806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397238711","1397238705","1397238714","1397238710","1397238713","1397238712"],"photo_ids_order":["1397238705","1397238710","1397238711","1397238712","1397238713","1397238714"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5063c7b82af84eb8f645820a0c4d5e1e.jpg","text":"TemporaryFile(/tmp/multipartBody398614777633847647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600884541,"filename":"image_31102025_14_39_49_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e7babb3402a406cbe625998798d9f951.jpg","text":"TemporaryFile(/tmp/multipartBody7714262755192604465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600884541,"filename":"image_31102025_14_39_44_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d2d929c51723ecc191052c727c0aa601.jpg","text":"TemporaryFile(/tmp/multipartBody2471872213462082997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600884541,"filename":"image_31102025_14_39_58_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/1/691c80d0c31fd42dca9fe47c5e3576d7.jpg","text":"TemporaryFile(/tmp/multipartBody7081770579208023166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600884541,"filename":"image_31102025_14_39_46_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/95a476ed20fb59691deb7cc0582c384b.jpg","text":"TemporaryFile(/tmp/multipartBody4934346708424012065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600884541,"filename":"image_31102025_14_39_55_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/1/ed15a150c18bd7309e3b8d8c83aa3411.jpg","text":"TemporaryFile(/tmp/multipartBody4620500363382814202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600884541,"filename":"image_31102025_14_39_52_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397238711","file1":"1397238710","file0":"1397238705","file4":"1397238713","file5":"1397238714","file3":"1397238712"},"map_files_photo_id_array":[{"photo_id":"1397238714","filename":"file5"},{"photo_id":"1397238711","filename":"file2"},{"photo_id":"1397238713","filename":"file4"},{"photo_id":"1397238710","filename":"file1"},{"photo_id":"1397238705","filename":"file0"},{"photo_id":"1397238712","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397238711":["hashtag1","hashtag2"]},{"1397238705":["hashtag1","hashtag2"]},{"1397238714":["hashtag1","hashtag2"]},{"1397238710":["hashtag1","hashtag2"]},{"1397238713":["hashtag1","hashtag2"]},{"1397238712":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397238711, 1397238705, 1397238714, 1397238710, 1397238713, 1397238712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45363140106201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 15:54:22.280952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/02/image_01122025_14_02_14_9656.jpg', '/home/pi/Desktop/images/01122025/14/02/image_01122025_14_02_25_10719.jpg', '/home/pi/Desktop/images/01122025/14/02/image_01122025_14_02_35_9677.jpg', '/home/pi/Desktop/images/01122025/14/02/image_01122025_14_02_44_9628.jpg', '/home/pi/Desktop/images/01122025/14/02/image_01122025_14_02_55_10683.jpg', '/home/pi/Desktop/images/01122025/14/02/image_01122025_14_03_05_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/02/image_01122025_14_02_14_9656.jpg
/home/pi/Desktop/images/01122025/14/02/image_01122025_14_02_25_10719.jpg
/home/pi/Desktop/images/01122025/14/02/image_01122025_14_02_35_9677.jpg
/home/pi/Desktop/images/01122025/14/02/image_01122025_14_02_44_9628.jpg
/home/pi/Desktop/images/01122025/14/02/image_01122025_14_02_55_10683.jpg
/home/pi/Desktop/images/01122025/14/02/image_01122025_14_03_05_9678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397238782","1397238779","1397238743","1397238775","1397238811","1397238748"],"photo_ids_order":["1397238743","1397238748","1397238775","1397238779","1397238782","1397238811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/35b334ba390b50c01e65859021382ae4.jpg","text":"TemporaryFile(/tmp/multipartBody2916194998255864509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600922970,"filename":"image_01122025_14_02_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/1/32c7131bdd08a97b288428e0ac6a1aae.jpg","text":"TemporaryFile(/tmp/multipartBody4014196390184187164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600922970,"filename":"image_01122025_14_02_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/1/e891e1c4bdf787c2d77813c4fc48ca25.jpg","text":"TemporaryFile(/tmp/multipartBody6834516535198116842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600922970,"filename":"image_01122025_14_02_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/1/39c736bc2785d1e121177f5c5b6900eb.jpg","text":"TemporaryFile(/tmp/multipartBody5116813960471144175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600922970,"filename":"image_01122025_14_02_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/1/38e01be62836a9194423ea7d9b09f755.jpg","text":"TemporaryFile(/tmp/multipartBody968135773452171011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600922970,"filename":"image_01122025_14_03_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/1/876d6549ac077510fdb6a2c40c3cde72.jpg","text":"TemporaryFile(/tmp/multipartBody5493832463342908081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600922970,"filename":"image_01122025_14_02_25_10719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397238775","file1":"1397238748","file0":"1397238743","file4":"1397238782","file5":"1397238811","file3":"1397238779"},"map_files_photo_id_array":[{"photo_id":"1397238811","filename":"file5"},{"photo_id":"1397238775","filename":"file2"},{"photo_id":"1397238782","filename":"file4"},{"photo_id":"1397238748","filename":"file1"},{"photo_id":"1397238743","filename":"file0"},{"photo_id":"1397238779","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397238782":["hashtag1","hashtag2"]},{"1397238779":["hashtag1","hashtag2"]},{"1397238743":["hashtag1","hashtag2"]},{"1397238775":["hashtag1","hashtag2"]},{"1397238811":["hashtag1","hashtag2"]},{"1397238748":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397238782, 1397238779, 1397238743, 1397238775, 1397238811, 1397238748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10497546195984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:55:03.019912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/03/image_01122025_14_03_14_9579.jpg', '/home/pi/Desktop/images/01122025/14/03/image_01122025_14_03_25_10619.jpg', '/home/pi/Desktop/images/01122025/14/03/image_01122025_14_03_35_9861.jpg', '/home/pi/Desktop/images/01122025/14/03/image_01122025_14_03_45_9723.jpg', '/home/pi/Desktop/images/01122025/14/03/image_01122025_14_03_54_9754.jpg', '/home/pi/Desktop/images/01122025/14/03/image_01122025_14_04_05_10695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/03/image_01122025_14_03_14_9579.jpg
/home/pi/Desktop/images/01122025/14/03/image_01122025_14_03_25_10619.jpg
/home/pi/Desktop/images/01122025/14/03/image_01122025_14_03_35_9861.jpg
/home/pi/Desktop/images/01122025/14/03/image_01122025_14_03_45_9723.jpg
/home/pi/Desktop/images/01122025/14/03/image_01122025_14_03_54_9754.jpg
/home/pi/Desktop/images/01122025/14/03/image_01122025_14_04_05_10695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397238909","1397238830","1397238844","1397238838","1397238832","1397238835"],"photo_ids_order":["1397238830","1397238832","1397238835","1397238838","1397238844","1397238909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/75c716616094c3b9fc179b263f4a0be6.jpg","text":"TemporaryFile(/tmp/multipartBody9002768151408535806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600963833,"filename":"image_01122025_14_04_05_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/732388c05d7f559992c4e6fdd19eb92c.jpg","text":"TemporaryFile(/tmp/multipartBody7781876456822807283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600963833,"filename":"image_01122025_14_03_14_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/581238ee3ae99ff48794ccffcf2f4cd2.jpg","text":"TemporaryFile(/tmp/multipartBody1536336570296959016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600963833,"filename":"image_01122025_14_03_54_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0ad3674afb753b58ae43c7cedd601d8c.jpg","text":"TemporaryFile(/tmp/multipartBody2374519460715451496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600963833,"filename":"image_01122025_14_03_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/1/962bce0a674189e62b67f7aa3e72cb44.jpg","text":"TemporaryFile(/tmp/multipartBody6875461798465436125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600963833,"filename":"image_01122025_14_03_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/1/1d97b343157202d58a48de124c3237a0.jpg","text":"TemporaryFile(/tmp/multipartBody1694923794327106311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764600963833,"filename":"image_01122025_14_03_35_9861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397238835","file1":"1397238832","file0":"1397238830","file4":"1397238844","file5":"1397238909","file3":"1397238838"},"map_files_photo_id_array":[{"photo_id":"1397238909","filename":"file5"},{"photo_id":"1397238835","filename":"file2"},{"photo_id":"1397238844","filename":"file4"},{"photo_id":"1397238832","filename":"file1"},{"photo_id":"1397238830","filename":"file0"},{"photo_id":"1397238838","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397238909":["hashtag1","hashtag2"]},{"1397238830":["hashtag1","hashtag2"]},{"1397238844":["hashtag1","hashtag2"]},{"1397238838":["hashtag1","hashtag2"]},{"1397238832":["hashtag1","hashtag2"]},{"1397238835":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397238909, 1397238830, 1397238844, 1397238838, 1397238832, 1397238835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.68323230743408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:56:03.022941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/04/image_01122025_14_04_15_9613.jpg', '/home/pi/Desktop/images/01122025/14/04/image_01122025_14_04_24_9610.jpg', '/home/pi/Desktop/images/01122025/14/04/image_01122025_14_04_35_10638.jpg', '/home/pi/Desktop/images/01122025/14/04/image_01122025_14_04_45_9727.jpg', '/home/pi/Desktop/images/01122025/14/04/image_01122025_14_04_54_9813.jpg', '/home/pi/Desktop/images/01122025/14/04/image_01122025_14_05_05_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/04/image_01122025_14_04_15_9613.jpg
/home/pi/Desktop/images/01122025/14/04/image_01122025_14_04_24_9610.jpg
/home/pi/Desktop/images/01122025/14/04/image_01122025_14_04_35_10638.jpg
/home/pi/Desktop/images/01122025/14/04/image_01122025_14_04_45_9727.jpg
/home/pi/Desktop/images/01122025/14/04/image_01122025_14_04_54_9813.jpg
/home/pi/Desktop/images/01122025/14/04/image_01122025_14_05_05_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":["1397238921","1397238938","1397238923","1397238925","1397238934","1397238928"],"photo_ids_order":["1397238921","1397238923","1397238925","1397238928","1397238934","1397238938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d2bfd7c777f188fb24b3a5aa7375a15d.jpg","text":"TemporaryFile(/tmp/multipartBody4408484023196656988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601023749,"filename":"image_01122025_14_04_15_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8b8bf055a900489b4e595b3bf6a6ba1a.jpg","text":"TemporaryFile(/tmp/multipartBody1180814043514884138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601023749,"filename":"image_01122025_14_05_05_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1b8e751b1207723d5fcd3a144873a149.jpg","text":"TemporaryFile(/tmp/multipartBody7743961026824826120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601023749,"filename":"image_01122025_14_04_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/1/9bbd9760d73a00417a56f24fe6dc3dac.jpg","text":"TemporaryFile(/tmp/multipartBody5311809529339180448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601023749,"filename":"image_01122025_14_04_35_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f50b4bad67b6a9e52dc17f147172a5ae.jpg","text":"TemporaryFile(/tmp/multipartBody3275251566088102025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601023749,"filename":"image_01122025_14_04_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/1/e09fef64eb9b9a211fe95550282612a3.jpg","text":"TemporaryFile(/tmp/multipartBody724458868355221207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601023749,"filename":"image_01122025_14_04_45_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397238925","file1":"1397238923","file0":"1397238921","file4":"1397238934","file5":"1397238938","file3":"1397238928"},"map_files_photo_id_array":[{"photo_id":"1397238938","filename":"file5"},{"photo_id":"1397238925","filename":"file2"},{"photo_id":"1397238934","filename":"file4"},{"photo_id":"1397238923","filename":"file1"},{"photo_id":"1397238921","filename":"file0"},{"photo_id":"1397238928","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397238921":["hashtag1","hashtag2"]},{"1397238938":["hashtag1","hashtag2"]},{"1397238923":["hashtag1","hashtag2"]},{"1397238925":["hashtag1","hashtag2"]},{"1397238934":["hashtag1","hashtag2"]},{"1397238928":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397238921, 1397238938, 1397238923, 1397238925, 1397238934, 1397238928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.125773429870605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 15:56:42.530877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_01_2581.jpg', '/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_04_3064.jpg', '/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_08_3725.jpg', '/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_11_2851.jpg', '/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_13_2700.jpg', '/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_16_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_01_2581.jpg
/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_04_3064.jpg
/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_08_3725.jpg
/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_11_2851.jpg
/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_13_2700.jpg
/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_16_2670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397238954","1397238959","1397238950","1397238953","1397238956","1397238955"],"photo_ids_order":["1397238950","1397238953","1397238954","1397238955","1397238956","1397238959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0511ed5fbf4a64ce97dbf5f3af8361fd.jpg","text":"TemporaryFile(/tmp/multipartBody5132780768060728275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601065080,"filename":"image_31102025_14_40_08_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/1/eae7fb0d5750d3117979eee3751b8e88.jpg","text":"TemporaryFile(/tmp/multipartBody4666926936841639680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601065080,"filename":"image_31102025_14_40_16_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e79c0728e1e6ac5018f54438822eb989.jpg","text":"TemporaryFile(/tmp/multipartBody8173964144723079950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601065080,"filename":"image_31102025_14_40_01_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/1/aaa1dbd1703621499978160765075d5c.jpg","text":"TemporaryFile(/tmp/multipartBody4551586652427047128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601065080,"filename":"image_31102025_14_40_04_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/1/68b8a79125ecfe7a9a71ee0aedc740d6.jpg","text":"TemporaryFile(/tmp/multipartBody7682134787302099007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601065080,"filename":"image_31102025_14_40_13_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bdda989748c804da1fbe6db69fb69244.jpg","text":"TemporaryFile(/tmp/multipartBody8790758722507656551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601065080,"filename":"image_31102025_14_40_11_2851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397238954","file1":"1397238953","file0":"1397238950","file4":"1397238956","file5":"1397238959","file3":"1397238955"},"map_files_photo_id_array":[{"photo_id":"1397238959","filename":"file5"},{"photo_id":"1397238954","filename":"file2"},{"photo_id":"1397238956","filename":"file4"},{"photo_id":"1397238953","filename":"file1"},{"photo_id":"1397238950","filename":"file0"},{"photo_id":"1397238955","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397238954":["hashtag1","hashtag2"]},{"1397238959":["hashtag1","hashtag2"]},{"1397238950":["hashtag1","hashtag2"]},{"1397238953":["hashtag1","hashtag2"]},{"1397238956":["hashtag1","hashtag2"]},{"1397238955":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397238954, 1397238959, 1397238950, 1397238953, 1397238956, 1397238955)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.92554235458374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 15:57:32.772959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_52_3689.jpg', '/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_55_2797.jpg', '/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_58_2694.jpg', '/home/pi/Desktop/images/25112025/22/57/image_25112025_22_58_00_2595.jpg', '/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_04_3575.jpg', '/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_06_2546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_52_3689.jpg
/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_55_2797.jpg
/home/pi/Desktop/images/25112025/22/57/image_25112025_22_57_58_2694.jpg
/home/pi/Desktop/images/25112025/22/57/image_25112025_22_58_00_2595.jpg
/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_04_3575.jpg
/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_06_2546.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397239007","1397239042","1397239006","1397239003","1397238996","1397238999"],"photo_ids_order":["1397238996","1397238999","1397239003","1397239006","1397239007","1397239042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/695ce4acdc9ae11464f21e14141746b6.jpg","text":"TemporaryFile(/tmp/multipartBody6009157390897488498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601114448,"filename":"image_25112025_22_58_04_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7291947d32c9a1f6c05b90f86f6b3d62.jpg","text":"TemporaryFile(/tmp/multipartBody1488481341151073833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601114448,"filename":"image_25112025_22_58_06_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/1/cabb013a3a42a99e15a5551f5734c330.jpg","text":"TemporaryFile(/tmp/multipartBody8367521093320689956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601114448,"filename":"image_25112025_22_58_00_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a5e2b3b0de32b1a1ce1329d1f9d194f3.jpg","text":"TemporaryFile(/tmp/multipartBody1582290935536753381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601114448,"filename":"image_25112025_22_57_58_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/33fd1f97fd75b49858eb5b1f39951776.jpg","text":"TemporaryFile(/tmp/multipartBody8690356186450656250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601114448,"filename":"image_25112025_22_57_52_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/1/d49fcefcfdb9c0c44181b4741c81610e.jpg","text":"TemporaryFile(/tmp/multipartBody5618647041119686320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601114448,"filename":"image_25112025_22_57_55_2797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397239003","file1":"1397238999","file0":"1397238996","file4":"1397239007","file5":"1397239042","file3":"1397239006"},"map_files_photo_id_array":[{"photo_id":"1397239042","filename":"file5"},{"photo_id":"1397239003","filename":"file2"},{"photo_id":"1397239007","filename":"file4"},{"photo_id":"1397238999","filename":"file1"},{"photo_id":"1397238996","filename":"file0"},{"photo_id":"1397239006","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397239007":["hashtag1","hashtag2"]},{"1397239042":["hashtag1","hashtag2"]},{"1397239006":["hashtag1","hashtag2"]},{"1397239003":["hashtag1","hashtag2"]},{"1397238996":["hashtag1","hashtag2"]},{"1397238999":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397239007, 1397239042, 1397239006, 1397239003, 1397238996, 1397238999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.221784830093384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 15:59:03.031547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/05/image_01122025_14_05_14_9379.jpg', '/home/pi/Desktop/images/01122025/14/05/image_01122025_14_05_24_9824.jpg', '/home/pi/Desktop/images/01122025/14/05/image_01122025_14_05_35_10651.jpg', '/home/pi/Desktop/images/01122025/14/05/image_01122025_14_05_45_9689.jpg', '/home/pi/Desktop/images/01122025/14/05/image_01122025_14_05_54_9600.jpg', '/home/pi/Desktop/images/01122025/14/05/image_01122025_14_06_05_10684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/05/image_01122025_14_05_14_9379.jpg
/home/pi/Desktop/images/01122025/14/05/image_01122025_14_05_24_9824.jpg
/home/pi/Desktop/images/01122025/14/05/image_01122025_14_05_35_10651.jpg
/home/pi/Desktop/images/01122025/14/05/image_01122025_14_05_45_9689.jpg
/home/pi/Desktop/images/01122025/14/05/image_01122025_14_05_54_9600.jpg
/home/pi/Desktop/images/01122025/14/05/image_01122025_14_06_05_10684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397239088","1397239093","1397239081","1397239084","1397239074","1397239068"],"photo_ids_order":["1397239068","1397239074","1397239081","1397239084","1397239088","1397239093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/99525d3c713ca2977c48f3572dd93b0e.jpg","text":"TemporaryFile(/tmp/multipartBody2982688238846095202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601203987,"filename":"image_01122025_14_05_54_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2d3eb6aedaa3ace1c98b2cd29cc87de0.jpg","text":"TemporaryFile(/tmp/multipartBody4971303697604017934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601203987,"filename":"image_01122025_14_06_05_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/47cbe1ef6bcae8716e6a773e6a4426f5.jpg","text":"TemporaryFile(/tmp/multipartBody4424277791559532530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601203987,"filename":"image_01122025_14_05_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/1/71def34e9f7d760295b74f202228ba8f.jpg","text":"TemporaryFile(/tmp/multipartBody2612227899761896042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601203987,"filename":"image_01122025_14_05_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/1/9f83eb4533f3dcba25c71ad055950b35.jpg","text":"TemporaryFile(/tmp/multipartBody2062264697993007229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601203987,"filename":"image_01122025_14_05_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/1/272bab708808dfaf930948dc8f8f008a.jpg","text":"TemporaryFile(/tmp/multipartBody6034193493142807796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601203987,"filename":"image_01122025_14_05_14_9379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397239081","file1":"1397239074","file0":"1397239068","file4":"1397239088","file5":"1397239093","file3":"1397239084"},"map_files_photo_id_array":[{"photo_id":"1397239093","filename":"file5"},{"photo_id":"1397239081","filename":"file2"},{"photo_id":"1397239088","filename":"file4"},{"photo_id":"1397239074","filename":"file1"},{"photo_id":"1397239068","filename":"file0"},{"photo_id":"1397239084","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397239088":["hashtag1","hashtag2"]},{"1397239093":["hashtag1","hashtag2"]},{"1397239081":["hashtag1","hashtag2"]},{"1397239084":["hashtag1","hashtag2"]},{"1397239074":["hashtag1","hashtag2"]},{"1397239068":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397239088, 1397239093, 1397239081, 1397239084, 1397239074, 1397239068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.41278576850891 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:00:02.633546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/06/image_01122025_14_06_15_9956.jpg', '/home/pi/Desktop/images/01122025/14/06/image_01122025_14_06_24_9643.jpg', '/home/pi/Desktop/images/01122025/14/06/image_01122025_14_06_34_9715.jpg', '/home/pi/Desktop/images/01122025/14/06/image_01122025_14_06_45_10651.jpg', '/home/pi/Desktop/images/01122025/14/06/image_01122025_14_06_54_9545.jpg', '/home/pi/Desktop/images/01122025/14/06/image_01122025_14_07_05_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/06/image_01122025_14_06_15_9956.jpg
/home/pi/Desktop/images/01122025/14/06/image_01122025_14_06_24_9643.jpg
/home/pi/Desktop/images/01122025/14/06/image_01122025_14_06_34_9715.jpg
/home/pi/Desktop/images/01122025/14/06/image_01122025_14_06_45_10651.jpg
/home/pi/Desktop/images/01122025/14/06/image_01122025_14_06_54_9545.jpg
/home/pi/Desktop/images/01122025/14/06/image_01122025_14_07_05_10634.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6621425151824951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 16:00:12.351088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_10_3571.jpg', '/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_13_2638.jpg', '/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_19_3720.jpg', '/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_22_2524.jpg', '/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_24_2660.jpg', '/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_28_3797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_10_3571.jpg
/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_13_2638.jpg
/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_19_3720.jpg
/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_22_2524.jpg
/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_24_2660.jpg
/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_28_3797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397239116","1397239131","1397239139","1397239112","1397239136","1397239121"],"photo_ids_order":["1397239112","1397239116","1397239121","1397239131","1397239136","1397239139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0ed94b5d77bac7ea5dd1a4bae4f1e526.jpg","text":"TemporaryFile(/tmp/multipartBody813025475880639575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601273933,"filename":"image_25112025_22_58_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/1/103bd9521fa9d8112a5d4cb55eaca67e.jpg","text":"TemporaryFile(/tmp/multipartBody6400981459239477980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601273933,"filename":"image_25112025_22_58_22_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/1/cde0851592f53cedbbf0eb83580aceff.jpg","text":"TemporaryFile(/tmp/multipartBody9212781784371223856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601273933,"filename":"image_25112025_22_58_28_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/1/72bf506cd62346077092451e3e6ddaf7.jpg","text":"TemporaryFile(/tmp/multipartBody126334649596160648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601273933,"filename":"image_25112025_22_58_10_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/1/ed009155882490abd60912d7539a0ff6.jpg","text":"TemporaryFile(/tmp/multipartBody3659605197326986167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601273933,"filename":"image_25112025_22_58_24_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f68435339c9f699f39a61141a7bda59f.jpg","text":"TemporaryFile(/tmp/multipartBody2920477521527904130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601273933,"filename":"image_25112025_22_58_19_3720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397239121","file1":"1397239116","file0":"1397239112","file4":"1397239136","file5":"1397239139","file3":"1397239131"},"map_files_photo_id_array":[{"photo_id":"1397239139","filename":"file5"},{"photo_id":"1397239121","filename":"file2"},{"photo_id":"1397239136","filename":"file4"},{"photo_id":"1397239116","filename":"file1"},{"photo_id":"1397239112","filename":"file0"},{"photo_id":"1397239131","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397239116":["hashtag1","hashtag2"]},{"1397239131":["hashtag1","hashtag2"]},{"1397239139":["hashtag1","hashtag2"]},{"1397239112":["hashtag1","hashtag2"]},{"1397239136":["hashtag1","hashtag2"]},{"1397239121":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397239116, 1397239131, 1397239139, 1397239112, 1397239136, 1397239121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.15951156616211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:01:03.060758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/06/image_01122025_14_06_15_9956.jpg', '/home/pi/Desktop/images/01122025/14/06/image_01122025_14_06_24_9643.jpg', '/home/pi/Desktop/images/01122025/14/06/image_01122025_14_06_34_9715.jpg', '/home/pi/Desktop/images/01122025/14/06/image_01122025_14_06_45_10651.jpg', '/home/pi/Desktop/images/01122025/14/06/image_01122025_14_06_54_9545.jpg', '/home/pi/Desktop/images/01122025/14/06/image_01122025_14_07_05_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/06/image_01122025_14_06_15_9956.jpg
/home/pi/Desktop/images/01122025/14/06/image_01122025_14_06_24_9643.jpg
/home/pi/Desktop/images/01122025/14/06/image_01122025_14_06_34_9715.jpg
/home/pi/Desktop/images/01122025/14/06/image_01122025_14_06_45_10651.jpg
/home/pi/Desktop/images/01122025/14/06/image_01122025_14_06_54_9545.jpg
/home/pi/Desktop/images/01122025/14/06/image_01122025_14_07_05_10634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397239196","1397239202","1397239168","1397239183","1397239179","1397239173"],"photo_ids_order":["1397239168","1397239173","1397239179","1397239183","1397239196","1397239202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/238a0309c7e5b34b65ea06eddd5798da.jpg","text":"TemporaryFile(/tmp/multipartBody137187029007835284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601323857,"filename":"image_01122025_14_06_54_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/1/5e7e37dc58d0a0823a4bfba1e58efbbd.jpg","text":"TemporaryFile(/tmp/multipartBody4531943645017353582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601323857,"filename":"image_01122025_14_07_05_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d942198fd3790f4936164fa4e18a73a8.jpg","text":"TemporaryFile(/tmp/multipartBody3393735754318726840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601323857,"filename":"image_01122025_14_06_15_9956.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/52e51cfa0159a1ad4da9399e0407b8c7.jpg","text":"TemporaryFile(/tmp/multipartBody4862373944629812195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601323857,"filename":"image_01122025_14_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/1/7a3d5d5ea69142e0d532110377640582.jpg","text":"TemporaryFile(/tmp/multipartBody7612553510104150346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601323857,"filename":"image_01122025_14_06_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/1/563283f8767b7b1ed9172a0383158e7e.jpg","text":"TemporaryFile(/tmp/multipartBody8219858925305609246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601323857,"filename":"image_01122025_14_06_24_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397239179","file1":"1397239173","file0":"1397239168","file4":"1397239196","file5":"1397239202","file3":"1397239183"},"map_files_photo_id_array":[{"photo_id":"1397239202","filename":"file5"},{"photo_id":"1397239179","filename":"file2"},{"photo_id":"1397239196","filename":"file4"},{"photo_id":"1397239173","filename":"file1"},{"photo_id":"1397239168","filename":"file0"},{"photo_id":"1397239183","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397239196":["hashtag1","hashtag2"]},{"1397239202":["hashtag1","hashtag2"]},{"1397239168":["hashtag1","hashtag2"]},{"1397239183":["hashtag1","hashtag2"]},{"1397239179":["hashtag1","hashtag2"]},{"1397239173":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397239196, 1397239202, 1397239168, 1397239183, 1397239179, 1397239173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.350544691085815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:02:03.089804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/07/image_01122025_14_07_15_9674.jpg', '/home/pi/Desktop/images/01122025/14/07/image_01122025_14_07_24_9695.jpg', '/home/pi/Desktop/images/01122025/14/07/image_01122025_14_07_34_9858.jpg', '/home/pi/Desktop/images/01122025/14/07/image_01122025_14_07_45_10559.jpg', '/home/pi/Desktop/images/01122025/14/07/image_01122025_14_07_55_9769.jpg', '/home/pi/Desktop/images/01122025/14/07/image_01122025_14_08_04_9830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/07/image_01122025_14_07_15_9674.jpg
/home/pi/Desktop/images/01122025/14/07/image_01122025_14_07_24_9695.jpg
/home/pi/Desktop/images/01122025/14/07/image_01122025_14_07_34_9858.jpg
/home/pi/Desktop/images/01122025/14/07/image_01122025_14_07_45_10559.jpg
/home/pi/Desktop/images/01122025/14/07/image_01122025_14_07_55_9769.jpg
/home/pi/Desktop/images/01122025/14/07/image_01122025_14_08_04_9830.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397239227","1397239212","1397239214","1397239217","1397239222","1397239231"],"photo_ids_order":["1397239212","1397239214","1397239217","1397239222","1397239227","1397239231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3133b992dd9a1c579f67dd58f2a9d35d.jpg","text":"TemporaryFile(/tmp/multipartBody4104611788922321691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601383826,"filename":"image_01122025_14_07_55_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6ca9169c9c92a04bb72ba60b78286c53.jpg","text":"TemporaryFile(/tmp/multipartBody3350008712734679910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601383826,"filename":"image_01122025_14_07_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/1/b2cc79f7d559bcbabf927c4b69322d78.jpg","text":"TemporaryFile(/tmp/multipartBody5210819118627397758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601383826,"filename":"image_01122025_14_07_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/1/4ddf7435a8887d6c363bfad78fb2182a.jpg","text":"TemporaryFile(/tmp/multipartBody6356296713904025380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601383826,"filename":"image_01122025_14_07_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/1/f32c0d602640897742b7d55f345b9ec4.jpg","text":"TemporaryFile(/tmp/multipartBody4256690151226873654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601383826,"filename":"image_01122025_14_07_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/1/bce4800a6df1920a259388d5c2acc021.jpg","text":"TemporaryFile(/tmp/multipartBody8748775469949363720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601383826,"filename":"image_01122025_14_08_04_9830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397239217","file1":"1397239214","file0":"1397239212","file4":"1397239227","file5":"1397239231","file3":"1397239222"},"map_files_photo_id_array":[{"photo_id":"1397239231","filename":"file5"},{"photo_id":"1397239217","filename":"file2"},{"photo_id":"1397239227","filename":"file4"},{"photo_id":"1397239214","filename":"file1"},{"photo_id":"1397239212","filename":"file0"},{"photo_id":"1397239222","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397239227":["hashtag1","hashtag2"]},{"1397239212":["hashtag1","hashtag2"]},{"1397239214":["hashtag1","hashtag2"]},{"1397239217":["hashtag1","hashtag2"]},{"1397239222":["hashtag1","hashtag2"]},{"1397239231":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397239227, 1397239212, 1397239214, 1397239217, 1397239222, 1397239231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.68073010444641 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:03:02.492259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/08/image_01122025_14_08_15_10679.jpg', '/home/pi/Desktop/images/01122025/14/08/image_01122025_14_08_25_9634.jpg', '/home/pi/Desktop/images/01122025/14/08/image_01122025_14_08_34_9676.jpg', '/home/pi/Desktop/images/01122025/14/08/image_01122025_14_08_45_10666.jpg', '/home/pi/Desktop/images/01122025/14/08/image_01122025_14_08_55_9712.jpg', '/home/pi/Desktop/images/01122025/14/08/image_01122025_14_09_04_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/08/image_01122025_14_08_15_10679.jpg
/home/pi/Desktop/images/01122025/14/08/image_01122025_14_08_25_9634.jpg
/home/pi/Desktop/images/01122025/14/08/image_01122025_14_08_34_9676.jpg
/home/pi/Desktop/images/01122025/14/08/image_01122025_14_08_45_10666.jpg
/home/pi/Desktop/images/01122025/14/08/image_01122025_14_08_55_9712.jpg
/home/pi/Desktop/images/01122025/14/08/image_01122025_14_09_04_9632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397239353","1397239358","1397239387","1397239375","1397239392","1397239365"],"photo_ids_order":["1397239353","1397239358","1397239365","1397239375","1397239387","1397239392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/326ca762f105e541f3d2828f5aac96a5.jpg","text":"TemporaryFile(/tmp/multipartBody5203124350324019347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601443295,"filename":"image_01122025_14_08_15_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b780c291ac36e8b499d2571382201707.jpg","text":"TemporaryFile(/tmp/multipartBody2068688119346033224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601443295,"filename":"image_01122025_14_08_25_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9effcbfd946eca02a5aab3367e596a41.jpg","text":"TemporaryFile(/tmp/multipartBody5123384969218588693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601443295,"filename":"image_01122025_14_08_55_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1d57b845b43481d3fa756923df870f77.jpg","text":"TemporaryFile(/tmp/multipartBody9194283795448936610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601443295,"filename":"image_01122025_14_08_45_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6a863dfbab61b0e516d294009bc15905.jpg","text":"TemporaryFile(/tmp/multipartBody2703189089527993165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601443295,"filename":"image_01122025_14_09_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/1/097cdc68cceaa34a5ba007b89d15ff9f.jpg","text":"TemporaryFile(/tmp/multipartBody5019382610669536055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601443295,"filename":"image_01122025_14_08_34_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397239365","file1":"1397239358","file0":"1397239353","file4":"1397239387","file5":"1397239392","file3":"1397239375"},"map_files_photo_id_array":[{"photo_id":"1397239392","filename":"file5"},{"photo_id":"1397239365","filename":"file2"},{"photo_id":"1397239387","filename":"file4"},{"photo_id":"1397239358","filename":"file1"},{"photo_id":"1397239353","filename":"file0"},{"photo_id":"1397239375","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397239353":["hashtag1","hashtag2"]},{"1397239358":["hashtag1","hashtag2"]},{"1397239387":["hashtag1","hashtag2"]},{"1397239375":["hashtag1","hashtag2"]},{"1397239392":["hashtag1","hashtag2"]},{"1397239365":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397239353, 1397239358, 1397239387, 1397239375, 1397239392, 1397239365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.18800616264343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:04:02.702083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/09/image_01122025_14_09_15_10745.jpg', '/home/pi/Desktop/images/01122025/14/09/image_01122025_14_09_25_9677.jpg', '/home/pi/Desktop/images/01122025/14/09/image_01122025_14_09_35_9721.jpg', '/home/pi/Desktop/images/01122025/14/09/image_01122025_14_09_44_9716.jpg', '/home/pi/Desktop/images/01122025/14/09/image_01122025_14_09_55_10595.jpg', '/home/pi/Desktop/images/01122025/14/09/image_01122025_14_10_04_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/09/image_01122025_14_09_15_10745.jpg
/home/pi/Desktop/images/01122025/14/09/image_01122025_14_09_25_9677.jpg
/home/pi/Desktop/images/01122025/14/09/image_01122025_14_09_35_9721.jpg
/home/pi/Desktop/images/01122025/14/09/image_01122025_14_09_44_9716.jpg
/home/pi/Desktop/images/01122025/14/09/image_01122025_14_09_55_10595.jpg
/home/pi/Desktop/images/01122025/14/09/image_01122025_14_10_04_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":["1397239430","1397239415","1397239426","1397239420","1397239423","1397239417"],"photo_ids_order":["1397239415","1397239417","1397239420","1397239423","1397239426","1397239430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/956e728a2cfcd4dd2a1052d8c341ed39.jpg","text":"TemporaryFile(/tmp/multipartBody1559773313455447036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601503497,"filename":"image_01122025_14_10_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/1/2dd781f9f25bc6c97649f7c0dc83d06a.jpg","text":"TemporaryFile(/tmp/multipartBody4195250897802389559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601503497,"filename":"image_01122025_14_09_15_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/94bd0f1f6a2599f4724a8f781596387f.jpg","text":"TemporaryFile(/tmp/multipartBody2623373528915226279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601503497,"filename":"image_01122025_14_09_55_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7c22e0f862cce5a6b8e4bd835a3f60e7.jpg","text":"TemporaryFile(/tmp/multipartBody2045420329255945061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601503497,"filename":"image_01122025_14_09_35_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2d5930739c1f28b30bb2f5d62da20716.jpg","text":"TemporaryFile(/tmp/multipartBody8075780137944930745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601503497,"filename":"image_01122025_14_09_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/1/13dabe2cee6ad18204c65400de4b44fa.jpg","text":"TemporaryFile(/tmp/multipartBody7813788497604772440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601503497,"filename":"image_01122025_14_09_25_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397239420","file1":"1397239417","file0":"1397239415","file4":"1397239426","file5":"1397239430","file3":"1397239423"},"map_files_photo_id_array":[{"photo_id":"1397239430","filename":"file5"},{"photo_id":"1397239420","filename":"file2"},{"photo_id":"1397239426","filename":"file4"},{"photo_id":"1397239417","filename":"file1"},{"photo_id":"1397239415","filename":"file0"},{"photo_id":"1397239423","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397239430":["hashtag1","hashtag2"]},{"1397239415":["hashtag1","hashtag2"]},{"1397239426":["hashtag1","hashtag2"]},{"1397239420":["hashtag1","hashtag2"]},{"1397239423":["hashtag1","hashtag2"]},{"1397239417":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397239430, 1397239415, 1397239426, 1397239420, 1397239423, 1397239417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.399258852005005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 16:04:42.055389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_20_3785.jpg', '/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_22_2701.jpg', '/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_25_2743.jpg', '/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_28_2615.jpg', '/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_31_3747.jpg', '/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_34_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_20_3785.jpg
/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_22_2701.jpg
/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_25_2743.jpg
/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_28_2615.jpg
/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_31_3747.jpg
/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_34_2666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397239446","1397239448","1397239451","1397239444","1397239441","1397239455"],"photo_ids_order":["1397239441","1397239444","1397239446","1397239448","1397239451","1397239455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/637c69f987cbe8aa79c4aa59e6829e7a.jpg","text":"TemporaryFile(/tmp/multipartBody6879604333774159114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601544575,"filename":"image_31102025_14_40_25_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/1/f28f3af021db939e4da246e5aad7de80.jpg","text":"TemporaryFile(/tmp/multipartBody366016240863963816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601544575,"filename":"image_31102025_14_40_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/1/f35eef863444cf7540b79bc2fcb530ff.jpg","text":"TemporaryFile(/tmp/multipartBody7191879597424300242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601544575,"filename":"image_31102025_14_40_31_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/1/bfd409a54a4807db9f2a363f961e4eea.jpg","text":"TemporaryFile(/tmp/multipartBody4882008306809232606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601544575,"filename":"image_31102025_14_40_22_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dd244aa1ea0864634de83a2c54014cd7.jpg","text":"TemporaryFile(/tmp/multipartBody1471569577827534706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601544575,"filename":"image_31102025_14_40_20_3785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/28b985a629897b1e89c7d0c68e9fc44c.jpg","text":"TemporaryFile(/tmp/multipartBody7938059312902328700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601544575,"filename":"image_31102025_14_40_34_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397239446","file1":"1397239444","file0":"1397239441","file4":"1397239451","file5":"1397239455","file3":"1397239448"},"map_files_photo_id_array":[{"photo_id":"1397239455","filename":"file5"},{"photo_id":"1397239446","filename":"file2"},{"photo_id":"1397239451","filename":"file4"},{"photo_id":"1397239444","filename":"file1"},{"photo_id":"1397239441","filename":"file0"},{"photo_id":"1397239448","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397239446":["hashtag1","hashtag2"]},{"1397239448":["hashtag1","hashtag2"]},{"1397239451":["hashtag1","hashtag2"]},{"1397239444":["hashtag1","hashtag2"]},{"1397239441":["hashtag1","hashtag2"]},{"1397239455":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397239446, 1397239448, 1397239451, 1397239444, 1397239441, 1397239455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.82421112060547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 16:05:32.230205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_31_2567.jpg', '/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_33_2642.jpg', '/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_37_3690.jpg', '/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_40_2594.jpg', '/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_42_2614.jpg', '/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_46_3500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_31_2567.jpg
/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_33_2642.jpg
/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_37_3690.jpg
/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_40_2594.jpg
/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_42_2614.jpg
/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_46_3500.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397239475","1397239469","1397239477","1397239471","1397239474","1397239479"],"photo_ids_order":["1397239469","1397239471","1397239474","1397239475","1397239477","1397239479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fd6f21fd10bce0a9d79a8b1a2d71f3f9.jpg","text":"TemporaryFile(/tmp/multipartBody2824766936287787718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601593885,"filename":"image_25112025_22_58_40_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e6d36db69dac74286b1328ce1e6ab230.jpg","text":"TemporaryFile(/tmp/multipartBody1174982949625579275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601593885,"filename":"image_25112025_22_58_31_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/1/e3f2cf1a4679ffed9a92f54b692b60b1.jpg","text":"TemporaryFile(/tmp/multipartBody2892780027260496818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601593885,"filename":"image_25112025_22_58_42_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/1/afe12f515821fe184aa7f27583bf4037.jpg","text":"TemporaryFile(/tmp/multipartBody300083657490592979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601593885,"filename":"image_25112025_22_58_33_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/1/20b168fb12eb39db482551e05a29ca38.jpg","text":"TemporaryFile(/tmp/multipartBody3551305145325702079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601593885,"filename":"image_25112025_22_58_37_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/eef0e4ab11253228df949c37ff3db9e1.jpg","text":"TemporaryFile(/tmp/multipartBody7949106974273269119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601593885,"filename":"image_25112025_22_58_46_3500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397239474","file1":"1397239471","file0":"1397239469","file4":"1397239477","file5":"1397239479","file3":"1397239475"},"map_files_photo_id_array":[{"photo_id":"1397239479","filename":"file5"},{"photo_id":"1397239474","filename":"file2"},{"photo_id":"1397239477","filename":"file4"},{"photo_id":"1397239471","filename":"file1"},{"photo_id":"1397239469","filename":"file0"},{"photo_id":"1397239475","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397239475":["hashtag1","hashtag2"]},{"1397239469":["hashtag1","hashtag2"]},{"1397239477":["hashtag1","hashtag2"]},{"1397239471":["hashtag1","hashtag2"]},{"1397239474":["hashtag1","hashtag2"]},{"1397239479":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397239475, 1397239469, 1397239477, 1397239471, 1397239474, 1397239479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.63113284111023 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 16:06:22.432073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/10/image_01122025_14_10_14_9800.jpg', '/home/pi/Desktop/images/01122025/14/10/image_01122025_14_10_25_10765.jpg', '/home/pi/Desktop/images/01122025/14/10/image_01122025_14_10_35_9614.jpg', '/home/pi/Desktop/images/01122025/14/10/image_01122025_14_10_44_9698.jpg', '/home/pi/Desktop/images/01122025/14/10/image_01122025_14_10_55_10559.jpg', '/home/pi/Desktop/images/01122025/14/10/image_01122025_14_11_05_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/10/image_01122025_14_10_14_9800.jpg
/home/pi/Desktop/images/01122025/14/10/image_01122025_14_10_25_10765.jpg
/home/pi/Desktop/images/01122025/14/10/image_01122025_14_10_35_9614.jpg
/home/pi/Desktop/images/01122025/14/10/image_01122025_14_10_44_9698.jpg
/home/pi/Desktop/images/01122025/14/10/image_01122025_14_10_55_10559.jpg
/home/pi/Desktop/images/01122025/14/10/image_01122025_14_11_05_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":["1397239566","1397239585","1397239546","1397239581","1397239563","1397239557"],"photo_ids_order":["1397239546","1397239557","1397239563","1397239566","1397239581","1397239585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d282a5f52532eca122d228a3bc6a25ab.jpg","text":"TemporaryFile(/tmp/multipartBody1173678471513373720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601643120,"filename":"image_01122025_14_10_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/1/0165327d3eea8b1a0c99b2d15f8e30b4.jpg","text":"TemporaryFile(/tmp/multipartBody2477213209094560971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601643120,"filename":"image_01122025_14_11_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/1/8ea65a3eefaddc0f6d417d6cdd327262.jpg","text":"TemporaryFile(/tmp/multipartBody9210485769294102424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601643120,"filename":"image_01122025_14_10_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/1/bbc5ebd171fb031282df578c6cff2c68.jpg","text":"TemporaryFile(/tmp/multipartBody4208131783388820367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601643120,"filename":"image_01122025_14_10_55_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/1/ef704a975cec1c1b631a9f892af06652.jpg","text":"TemporaryFile(/tmp/multipartBody2457483135337907295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601643120,"filename":"image_01122025_14_10_35_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3129c25f78fe4b920fc6c99a058d1aad.jpg","text":"TemporaryFile(/tmp/multipartBody235170528111907781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601643120,"filename":"image_01122025_14_10_25_10765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397239563","file1":"1397239557","file0":"1397239546","file4":"1397239581","file5":"1397239585","file3":"1397239566"},"map_files_photo_id_array":[{"photo_id":"1397239585","filename":"file5"},{"photo_id":"1397239563","filename":"file2"},{"photo_id":"1397239581","filename":"file4"},{"photo_id":"1397239557","filename":"file1"},{"photo_id":"1397239546","filename":"file0"},{"photo_id":"1397239566","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397239566":["hashtag1","hashtag2"]},{"1397239585":["hashtag1","hashtag2"]},{"1397239546":["hashtag1","hashtag2"]},{"1397239581":["hashtag1","hashtag2"]},{"1397239563":["hashtag1","hashtag2"]},{"1397239557":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397239566, 1397239585, 1397239546, 1397239581, 1397239563, 1397239557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.96127152442932 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:07:03.247234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/11/image_01122025_14_11_14_9622.jpg', '/home/pi/Desktop/images/01122025/14/11/image_01122025_14_11_25_10753.jpg', '/home/pi/Desktop/images/01122025/14/11/image_01122025_14_11_35_9698.jpg', '/home/pi/Desktop/images/01122025/14/11/image_01122025_14_11_44_9565.jpg', '/home/pi/Desktop/images/01122025/14/11/image_01122025_14_11_54_9907.jpg', '/home/pi/Desktop/images/01122025/14/11/image_01122025_14_12_05_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/11/image_01122025_14_11_14_9622.jpg
/home/pi/Desktop/images/01122025/14/11/image_01122025_14_11_25_10753.jpg
/home/pi/Desktop/images/01122025/14/11/image_01122025_14_11_35_9698.jpg
/home/pi/Desktop/images/01122025/14/11/image_01122025_14_11_44_9565.jpg
/home/pi/Desktop/images/01122025/14/11/image_01122025_14_11_54_9907.jpg
/home/pi/Desktop/images/01122025/14/11/image_01122025_14_12_05_10626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397239620","1397239613","1397239625","1397239610","1397239607","1397239615"],"photo_ids_order":["1397239607","1397239610","1397239613","1397239615","1397239620","1397239625"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0c10c5aa9b03d19c263eb1ba93550406.jpg","text":"TemporaryFile(/tmp/multipartBody4354033137342013996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601684236,"filename":"image_01122025_14_11_54_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/1/c7910cd39d9298bbc961132f72a9d0cf.jpg","text":"TemporaryFile(/tmp/multipartBody5267265666089185350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601684236,"filename":"image_01122025_14_11_35_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8151db04b2e8b7e8e732cf2cd396555c.jpg","text":"TemporaryFile(/tmp/multipartBody322898943246287187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601684236,"filename":"image_01122025_14_12_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/1/7e51d5fa6f5a57256b1990524010a432.jpg","text":"TemporaryFile(/tmp/multipartBody3863676532554342260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601684236,"filename":"image_01122025_14_11_25_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/83bbea58fe0582a852ac1e1d4c9bd968.jpg","text":"TemporaryFile(/tmp/multipartBody4778207953677489807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601684236,"filename":"image_01122025_14_11_14_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fc3fc1207d80be4514fac8f9d3f32a70.jpg","text":"TemporaryFile(/tmp/multipartBody8435142963689360789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601684236,"filename":"image_01122025_14_11_44_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397239613","file1":"1397239610","file0":"1397239607","file4":"1397239620","file5":"1397239625","file3":"1397239615"},"map_files_photo_id_array":[{"photo_id":"1397239625","filename":"file5"},{"photo_id":"1397239613","filename":"file2"},{"photo_id":"1397239620","filename":"file4"},{"photo_id":"1397239610","filename":"file1"},{"photo_id":"1397239607","filename":"file0"},{"photo_id":"1397239615","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397239620":["hashtag1","hashtag2"]},{"1397239613":["hashtag1","hashtag2"]},{"1397239625":["hashtag1","hashtag2"]},{"1397239610":["hashtag1","hashtag2"]},{"1397239607":["hashtag1","hashtag2"]},{"1397239615":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397239620, 1397239613, 1397239625, 1397239610, 1397239607, 1397239615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.28868269920349 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:08:03.309897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/12/image_01122025_14_12_15_9785.jpg', '/home/pi/Desktop/images/01122025/14/12/image_01122025_14_12_24_9734.jpg', '/home/pi/Desktop/images/01122025/14/12/image_01122025_14_12_35_10534.jpg', '/home/pi/Desktop/images/01122025/14/12/image_01122025_14_12_44_9627.jpg', '/home/pi/Desktop/images/01122025/14/12/image_01122025_14_12_55_10623.jpg', '/home/pi/Desktop/images/01122025/14/12/image_01122025_14_13_05_9553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/12/image_01122025_14_12_15_9785.jpg
/home/pi/Desktop/images/01122025/14/12/image_01122025_14_12_24_9734.jpg
/home/pi/Desktop/images/01122025/14/12/image_01122025_14_12_35_10534.jpg
/home/pi/Desktop/images/01122025/14/12/image_01122025_14_12_44_9627.jpg
/home/pi/Desktop/images/01122025/14/12/image_01122025_14_12_55_10623.jpg
/home/pi/Desktop/images/01122025/14/12/image_01122025_14_13_05_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397239649","1397239640","1397239643","1397239637","1397239645","1397239653"],"photo_ids_order":["1397239637","1397239640","1397239643","1397239645","1397239649","1397239653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/22de5001f093813ed6eb3c61ed2f0a5f.jpg","text":"TemporaryFile(/tmp/multipartBody4337638251991045838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601743997,"filename":"image_01122025_14_12_55_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/48c78389573219224ffffe8dd4615281.jpg","text":"TemporaryFile(/tmp/multipartBody2430428493077446963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601743997,"filename":"image_01122025_14_12_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/1/886d91c5181c81fcd088d11d77fb8925.jpg","text":"TemporaryFile(/tmp/multipartBody4364382751959474951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601743997,"filename":"image_01122025_14_12_35_10534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b8d3976ab0ff40d04399e0bc9117ed85.jpg","text":"TemporaryFile(/tmp/multipartBody398203318554254013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601743997,"filename":"image_01122025_14_12_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/1/8448594f428308cfc75930cd6a8523f2.jpg","text":"TemporaryFile(/tmp/multipartBody873522148432869161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601743997,"filename":"image_01122025_14_12_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/1/219bda3a2b432abec0535cc6e03f058a.jpg","text":"TemporaryFile(/tmp/multipartBody4157187936727204933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601743997,"filename":"image_01122025_14_13_05_9553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397239643","file1":"1397239640","file0":"1397239637","file4":"1397239649","file5":"1397239653","file3":"1397239645"},"map_files_photo_id_array":[{"photo_id":"1397239653","filename":"file5"},{"photo_id":"1397239643","filename":"file2"},{"photo_id":"1397239649","filename":"file4"},{"photo_id":"1397239640","filename":"file1"},{"photo_id":"1397239637","filename":"file0"},{"photo_id":"1397239645","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397239649":["hashtag1","hashtag2"]},{"1397239640":["hashtag1","hashtag2"]},{"1397239643":["hashtag1","hashtag2"]},{"1397239637":["hashtag1","hashtag2"]},{"1397239645":["hashtag1","hashtag2"]},{"1397239653":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397239649, 1397239640, 1397239643, 1397239637, 1397239645, 1397239653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.835426807403564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:09:02.842397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/13/image_01122025_14_13_14_9739.jpg', '/home/pi/Desktop/images/01122025/14/13/image_01122025_14_13_24_9959.jpg', '/home/pi/Desktop/images/01122025/14/13/image_01122025_14_13_35_10523.jpg', '/home/pi/Desktop/images/01122025/14/13/image_01122025_14_13_45_9663.jpg', '/home/pi/Desktop/images/01122025/14/13/image_01122025_14_13_54_9651.jpg', '/home/pi/Desktop/images/01122025/14/13/image_01122025_14_14_05_10806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/13/image_01122025_14_13_14_9739.jpg
/home/pi/Desktop/images/01122025/14/13/image_01122025_14_13_24_9959.jpg
/home/pi/Desktop/images/01122025/14/13/image_01122025_14_13_35_10523.jpg
/home/pi/Desktop/images/01122025/14/13/image_01122025_14_13_45_9663.jpg
/home/pi/Desktop/images/01122025/14/13/image_01122025_14_13_54_9651.jpg
/home/pi/Desktop/images/01122025/14/13/image_01122025_14_14_05_10806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397239670","1397239667","1397239675","1397239686","1397239671","1397239680"],"photo_ids_order":["1397239667","1397239670","1397239671","1397239675","1397239680","1397239686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/762726313228dc8c4a19e9d6a79524fb.jpg","text":"TemporaryFile(/tmp/multipartBody765031934670228629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601803595,"filename":"image_01122025_14_13_24_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/1/5cd4a0e268a2c285532089007d31d272.jpg","text":"TemporaryFile(/tmp/multipartBody3963503475440207464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601803595,"filename":"image_01122025_14_13_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/1/fdecd458d311287469c724fbb62febc4.jpg","text":"TemporaryFile(/tmp/multipartBody4230014294399011858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601803595,"filename":"image_01122025_14_13_45_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9220b3d410567112a82c4e6aafbd3111.jpg","text":"TemporaryFile(/tmp/multipartBody9038909710238404267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601803595,"filename":"image_01122025_14_14_05_10806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cb0c51402d56e75e544081d8c0a880f9.jpg","text":"TemporaryFile(/tmp/multipartBody782476147052476986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601803595,"filename":"image_01122025_14_13_35_10523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/50a2e220eef6c1ba01583b6dfa908cdd.jpg","text":"TemporaryFile(/tmp/multipartBody1878936298105367882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601803595,"filename":"image_01122025_14_13_54_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397239671","file1":"1397239670","file0":"1397239667","file4":"1397239680","file5":"1397239686","file3":"1397239675"},"map_files_photo_id_array":[{"photo_id":"1397239686","filename":"file5"},{"photo_id":"1397239671","filename":"file2"},{"photo_id":"1397239680","filename":"file4"},{"photo_id":"1397239670","filename":"file1"},{"photo_id":"1397239667","filename":"file0"},{"photo_id":"1397239675","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397239670":["hashtag1","hashtag2"]},{"1397239667":["hashtag1","hashtag2"]},{"1397239675":["hashtag1","hashtag2"]},{"1397239686":["hashtag1","hashtag2"]},{"1397239671":["hashtag1","hashtag2"]},{"1397239680":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397239670, 1397239667, 1397239675, 1397239686, 1397239671, 1397239680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.218159437179565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:10:04.221640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/14/image_01122025_14_14_15_9612.jpg', '/home/pi/Desktop/images/01122025/14/14/image_01122025_14_14_24_9720.jpg', '/home/pi/Desktop/images/01122025/14/14/image_01122025_14_14_35_10706.jpg', '/home/pi/Desktop/images/01122025/14/14/image_01122025_14_14_45_9601.jpg', '/home/pi/Desktop/images/01122025/14/14/image_01122025_14_14_54_9767.jpg', '/home/pi/Desktop/images/01122025/14/14/image_01122025_14_15_04_9813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/14/image_01122025_14_14_15_9612.jpg
/home/pi/Desktop/images/01122025/14/14/image_01122025_14_14_24_9720.jpg
/home/pi/Desktop/images/01122025/14/14/image_01122025_14_14_35_10706.jpg
/home/pi/Desktop/images/01122025/14/14/image_01122025_14_14_45_9601.jpg
/home/pi/Desktop/images/01122025/14/14/image_01122025_14_14_54_9767.jpg
/home/pi/Desktop/images/01122025/14/14/image_01122025_14_15_04_9813.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397239715","1397239699","1397239706","1397239696","1397239711","1397239702"],"photo_ids_order":["1397239696","1397239699","1397239702","1397239706","1397239711","1397239715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2232efcca35b406fa42db917bb4c10ae.jpg","text":"TemporaryFile(/tmp/multipartBody586384408977118645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601866630,"filename":"image_01122025_14_15_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/1/1843817c56e3d7b95528b7aecb89910f.jpg","text":"TemporaryFile(/tmp/multipartBody3934741991813006213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601866630,"filename":"image_01122025_14_14_24_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9f489f08955d1aca475f2d334601e490.jpg","text":"TemporaryFile(/tmp/multipartBody40652092010122941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601866630,"filename":"image_01122025_14_14_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/1/bc4816413cd8eed9916efcd67ba2c034.jpg","text":"TemporaryFile(/tmp/multipartBody8514474852378137057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601866630,"filename":"image_01122025_14_14_15_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/1/4dc91c5d3f6525fa976cd3651c5ede54.jpg","text":"TemporaryFile(/tmp/multipartBody6845026259293660677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601866630,"filename":"image_01122025_14_14_54_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/553b4663dae7311d187c5e03de1f5249.jpg","text":"TemporaryFile(/tmp/multipartBody9119726808158622069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601866630,"filename":"image_01122025_14_14_35_10706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397239702","file1":"1397239699","file0":"1397239696","file4":"1397239711","file5":"1397239715","file3":"1397239706"},"map_files_photo_id_array":[{"photo_id":"1397239715","filename":"file5"},{"photo_id":"1397239702","filename":"file2"},{"photo_id":"1397239711","filename":"file4"},{"photo_id":"1397239699","filename":"file1"},{"photo_id":"1397239696","filename":"file0"},{"photo_id":"1397239706","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397239715":["hashtag1","hashtag2"]},{"1397239699":["hashtag1","hashtag2"]},{"1397239706":["hashtag1","hashtag2"]},{"1397239696":["hashtag1","hashtag2"]},{"1397239711":["hashtag1","hashtag2"]},{"1397239702":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397239715, 1397239699, 1397239706, 1397239696, 1397239711, 1397239702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.71884560585022 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:11:03.358381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/15/image_01122025_14_15_15_10664.jpg', '/home/pi/Desktop/images/01122025/14/15/image_01122025_14_15_25_9615.jpg', '/home/pi/Desktop/images/01122025/14/15/image_01122025_14_15_34_9660.jpg', '/home/pi/Desktop/images/01122025/14/15/image_01122025_14_15_45_10598.jpg', '/home/pi/Desktop/images/01122025/14/15/image_01122025_14_15_54_9676.jpg', '/home/pi/Desktop/images/01122025/14/15/image_01122025_14_16_04_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/15/image_01122025_14_15_15_10664.jpg
/home/pi/Desktop/images/01122025/14/15/image_01122025_14_15_25_9615.jpg
/home/pi/Desktop/images/01122025/14/15/image_01122025_14_15_34_9660.jpg
/home/pi/Desktop/images/01122025/14/15/image_01122025_14_15_45_10598.jpg
/home/pi/Desktop/images/01122025/14/15/image_01122025_14_15_54_9676.jpg
/home/pi/Desktop/images/01122025/14/15/image_01122025_14_16_04_9777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397239727","1397239736","1397239744","1397239732","1397239729","1397239740"],"photo_ids_order":["1397239727","1397239729","1397239732","1397239736","1397239740","1397239744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/10b127edd84202ef4b5decc5847155f8.jpg","text":"TemporaryFile(/tmp/multipartBody5530162438835989975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601924141,"filename":"image_01122025_14_15_15_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8547c2655a2b7dcbb755c224c18b8514.jpg","text":"TemporaryFile(/tmp/multipartBody5259412813547537405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601924141,"filename":"image_01122025_14_15_45_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/62c8cb76f30d96c67ec61518a8bfdaff.jpg","text":"TemporaryFile(/tmp/multipartBody7398777663036104652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601924141,"filename":"image_01122025_14_16_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/1/04f9822a1a6a189efd162f293eeada89.jpg","text":"TemporaryFile(/tmp/multipartBody7787835016498290426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601924141,"filename":"image_01122025_14_15_34_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1e5545db71e60194b5eb39d08a21a230.jpg","text":"TemporaryFile(/tmp/multipartBody6033398757119843644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601924141,"filename":"image_01122025_14_15_25_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/1/757f6c69e839941402e0b5ae4c7fb782.jpg","text":"TemporaryFile(/tmp/multipartBody6004495803306023349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601924141,"filename":"image_01122025_14_15_54_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397239732","file1":"1397239729","file0":"1397239727","file4":"1397239740","file5":"1397239744","file3":"1397239736"},"map_files_photo_id_array":[{"photo_id":"1397239744","filename":"file5"},{"photo_id":"1397239732","filename":"file2"},{"photo_id":"1397239740","filename":"file4"},{"photo_id":"1397239729","filename":"file1"},{"photo_id":"1397239727","filename":"file0"},{"photo_id":"1397239736","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397239727":["hashtag1","hashtag2"]},{"1397239736":["hashtag1","hashtag2"]},{"1397239744":["hashtag1","hashtag2"]},{"1397239732":["hashtag1","hashtag2"]},{"1397239729":["hashtag1","hashtag2"]},{"1397239740":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397239727, 1397239736, 1397239744, 1397239732, 1397239729, 1397239740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.39765524864197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:12:02.425348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/16/image_01122025_14_16_15_10765.jpg', '/home/pi/Desktop/images/01122025/14/16/image_01122025_14_16_25_9803.jpg', '/home/pi/Desktop/images/01122025/14/16/image_01122025_14_16_34_9621.jpg', '/home/pi/Desktop/images/01122025/14/16/image_01122025_14_16_45_10612.jpg', '/home/pi/Desktop/images/01122025/14/16/image_01122025_14_16_55_9627.jpg', '/home/pi/Desktop/images/01122025/14/16/image_01122025_14_17_04_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/16/image_01122025_14_16_15_10765.jpg
/home/pi/Desktop/images/01122025/14/16/image_01122025_14_16_25_9803.jpg
/home/pi/Desktop/images/01122025/14/16/image_01122025_14_16_34_9621.jpg
/home/pi/Desktop/images/01122025/14/16/image_01122025_14_16_45_10612.jpg
/home/pi/Desktop/images/01122025/14/16/image_01122025_14_16_55_9627.jpg
/home/pi/Desktop/images/01122025/14/16/image_01122025_14_17_04_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":["1397239763","1397239772","1397239769","1397239765","1397239759","1397239767"],"photo_ids_order":["1397239759","1397239763","1397239765","1397239767","1397239769","1397239772"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c911028961df852b1928649ac0326f40.jpg","text":"TemporaryFile(/tmp/multipartBody5287399701091908120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601983148,"filename":"image_01122025_14_16_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/1/f8579743b9f679d517bd63c72b96deb3.jpg","text":"TemporaryFile(/tmp/multipartBody474210777608982478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601983148,"filename":"image_01122025_14_17_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/1/9cc2c6d5753105ae98b7ef3d9a33a5c6.jpg","text":"TemporaryFile(/tmp/multipartBody1258356686778590299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601983148,"filename":"image_01122025_14_16_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/1/dc2e5f3eb38a65547683b97d455141d3.jpg","text":"TemporaryFile(/tmp/multipartBody7257993746363927082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601983148,"filename":"image_01122025_14_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/1/548de215b4479e0a021d7461857c35a4.jpg","text":"TemporaryFile(/tmp/multipartBody5971032121513930300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601983148,"filename":"image_01122025_14_16_15_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2c53f96bb1433f10db299f801868885c.jpg","text":"TemporaryFile(/tmp/multipartBody1421779817618757738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764601983148,"filename":"image_01122025_14_16_45_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397239765","file1":"1397239763","file0":"1397239759","file4":"1397239769","file5":"1397239772","file3":"1397239767"},"map_files_photo_id_array":[{"photo_id":"1397239772","filename":"file5"},{"photo_id":"1397239765","filename":"file2"},{"photo_id":"1397239769","filename":"file4"},{"photo_id":"1397239763","filename":"file1"},{"photo_id":"1397239759","filename":"file0"},{"photo_id":"1397239767","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397239763":["hashtag1","hashtag2"]},{"1397239772":["hashtag1","hashtag2"]},{"1397239769":["hashtag1","hashtag2"]},{"1397239765":["hashtag1","hashtag2"]},{"1397239759":["hashtag1","hashtag2"]},{"1397239767":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397239763, 1397239772, 1397239769, 1397239765, 1397239759, 1397239767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.025015354156494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 16:12:42.040291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_37_2709.jpg', '/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_41_3833.jpg', '/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_43_2785.jpg', '/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_46_2574.jpg', '/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_49_2820.jpg', '/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_52_3628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_37_2709.jpg
/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_41_3833.jpg
/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_43_2785.jpg
/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_46_2574.jpg
/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_49_2820.jpg
/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_52_3628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397239781","1397239784","1397239786","1397239791","1397239794","1397239788"],"photo_ids_order":["1397239781","1397239784","1397239786","1397239788","1397239791","1397239794"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a394b0f4e6241f3c12f40395db2990e3.jpg","text":"TemporaryFile(/tmp/multipartBody1254661702877222158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602024557,"filename":"image_31102025_14_40_37_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/1/0d8035482bc4efead73898e02e8bc3bc.jpg","text":"TemporaryFile(/tmp/multipartBody164592914806030970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602024557,"filename":"image_31102025_14_40_41_3833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e1f2cf390c4cbaa9b54b5951c51442e9.jpg","text":"TemporaryFile(/tmp/multipartBody1820081234438610397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602024557,"filename":"image_31102025_14_40_43_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7c308e9ad949692761ca6fa967027d5c.jpg","text":"TemporaryFile(/tmp/multipartBody6355423830571870178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602024557,"filename":"image_31102025_14_40_49_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/373bee379f71503ec90e7ec52a3e99b7.jpg","text":"TemporaryFile(/tmp/multipartBody443061830618919860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602024557,"filename":"image_31102025_14_40_52_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/1/b960b0ddf86acf98c3f2bbd4aa1e7fac.jpg","text":"TemporaryFile(/tmp/multipartBody660409338840398366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602024557,"filename":"image_31102025_14_40_46_2574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397239786","file1":"1397239784","file0":"1397239781","file4":"1397239791","file5":"1397239794","file3":"1397239788"},"map_files_photo_id_array":[{"photo_id":"1397239794","filename":"file5"},{"photo_id":"1397239786","filename":"file2"},{"photo_id":"1397239791","filename":"file4"},{"photo_id":"1397239784","filename":"file1"},{"photo_id":"1397239781","filename":"file0"},{"photo_id":"1397239788","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397239781":["hashtag1","hashtag2"]},{"1397239784":["hashtag1","hashtag2"]},{"1397239786":["hashtag1","hashtag2"]},{"1397239791":["hashtag1","hashtag2"]},{"1397239794":["hashtag1","hashtag2"]},{"1397239788":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397239781, 1397239784, 1397239786, 1397239791, 1397239794, 1397239788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.48530673980713 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 16:13:32.261126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_48_2638.jpg', '/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_52_3710.jpg', '/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_55_2580.jpg', '/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_57_2661.jpg', '/home/pi/Desktop/images/25112025/22/58/image_25112025_22_59_01_3764.jpg', '/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_07_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_48_2638.jpg
/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_52_3710.jpg
/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_55_2580.jpg
/home/pi/Desktop/images/25112025/22/58/image_25112025_22_58_57_2661.jpg
/home/pi/Desktop/images/25112025/22/58/image_25112025_22_59_01_3764.jpg
/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_07_2634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397239820","1397239814","1397239808","1397239817","1397239816","1397239810"],"photo_ids_order":["1397239808","1397239810","1397239814","1397239816","1397239817","1397239820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ea0976bbe0c9a2e81a551f487166723c.jpg","text":"TemporaryFile(/tmp/multipartBody5123960091293157760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602073996,"filename":"image_25112025_22_59_07_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/1/4379368c1fb97aff6ed8f767b7295877.jpg","text":"TemporaryFile(/tmp/multipartBody7801607848837954395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602073996,"filename":"image_25112025_22_58_55_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b2cd6c2935ef5bfdd91bcf5acaeaf0a8.jpg","text":"TemporaryFile(/tmp/multipartBody5189143589662894055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602073996,"filename":"image_25112025_22_58_48_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/1/ca55687310b46a2518ab51b28ec984f7.jpg","text":"TemporaryFile(/tmp/multipartBody1957066967639103574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602073996,"filename":"image_25112025_22_59_01_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/814a54bf5c98d77282638f37cb645748.jpg","text":"TemporaryFile(/tmp/multipartBody3096028478373513508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602073996,"filename":"image_25112025_22_58_57_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/1/0b54605912b8665b356980a7105e3f2c.jpg","text":"TemporaryFile(/tmp/multipartBody1992515833697998947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602073996,"filename":"image_25112025_22_58_52_3710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397239814","file1":"1397239810","file0":"1397239808","file4":"1397239817","file5":"1397239820","file3":"1397239816"},"map_files_photo_id_array":[{"photo_id":"1397239820","filename":"file5"},{"photo_id":"1397239814","filename":"file2"},{"photo_id":"1397239817","filename":"file4"},{"photo_id":"1397239810","filename":"file1"},{"photo_id":"1397239808","filename":"file0"},{"photo_id":"1397239816","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397239820":["hashtag1","hashtag2"]},{"1397239814":["hashtag1","hashtag2"]},{"1397239808":["hashtag1","hashtag2"]},{"1397239817":["hashtag1","hashtag2"]},{"1397239816":["hashtag1","hashtag2"]},{"1397239810":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397239820, 1397239814, 1397239808, 1397239817, 1397239816, 1397239810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.75939631462097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 16:14:22.209199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/17/image_01122025_14_17_15_10632.jpg', '/home/pi/Desktop/images/01122025/14/17/image_01122025_14_17_25_9636.jpg', '/home/pi/Desktop/images/01122025/14/17/image_01122025_14_17_34_9635.jpg', '/home/pi/Desktop/images/01122025/14/17/image_01122025_14_17_45_10670.jpg', '/home/pi/Desktop/images/01122025/14/17/image_01122025_14_17_55_9709.jpg', '/home/pi/Desktop/images/01122025/14/17/image_01122025_14_18_04_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/17/image_01122025_14_17_15_10632.jpg
/home/pi/Desktop/images/01122025/14/17/image_01122025_14_17_25_9636.jpg
/home/pi/Desktop/images/01122025/14/17/image_01122025_14_17_34_9635.jpg
/home/pi/Desktop/images/01122025/14/17/image_01122025_14_17_45_10670.jpg
/home/pi/Desktop/images/01122025/14/17/image_01122025_14_17_55_9709.jpg
/home/pi/Desktop/images/01122025/14/17/image_01122025_14_18_04_9693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397239850","1397239853","1397239847","1397239841","1397239834","1397239843"],"photo_ids_order":["1397239834","1397239841","1397239843","1397239847","1397239850","1397239853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/46033a76e994f3bd00bad96785b6fd2b.jpg","text":"TemporaryFile(/tmp/multipartBody5526178724708854489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602122890,"filename":"image_01122025_14_17_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/1/a45013813eeae71c4465696a72702831.jpg","text":"TemporaryFile(/tmp/multipartBody5184132667727335219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602122890,"filename":"image_01122025_14_18_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/1/ff2531719e2546e18879ba218370e7ea.jpg","text":"TemporaryFile(/tmp/multipartBody910012302670142928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602122890,"filename":"image_01122025_14_17_45_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/173317db44da3ce6b442cc5612a1cd54.jpg","text":"TemporaryFile(/tmp/multipartBody314610871251039298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602122890,"filename":"image_01122025_14_17_25_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2da2d5b1163893af2e24c7973ee4d1bf.jpg","text":"TemporaryFile(/tmp/multipartBody5670941061696802178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602122890,"filename":"image_01122025_14_17_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/1/1fb53c27e28261b9e80f1188b28ac710.jpg","text":"TemporaryFile(/tmp/multipartBody5820124943665166453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602122890,"filename":"image_01122025_14_17_34_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397239843","file1":"1397239841","file0":"1397239834","file4":"1397239850","file5":"1397239853","file3":"1397239847"},"map_files_photo_id_array":[{"photo_id":"1397239853","filename":"file5"},{"photo_id":"1397239843","filename":"file2"},{"photo_id":"1397239850","filename":"file4"},{"photo_id":"1397239841","filename":"file1"},{"photo_id":"1397239834","filename":"file0"},{"photo_id":"1397239847","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397239850":["hashtag1","hashtag2"]},{"1397239853":["hashtag1","hashtag2"]},{"1397239847":["hashtag1","hashtag2"]},{"1397239841":["hashtag1","hashtag2"]},{"1397239834":["hashtag1","hashtag2"]},{"1397239843":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397239850, 1397239853, 1397239847, 1397239841, 1397239834, 1397239843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35299491882324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:15:03.150488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/18/image_01122025_14_18_15_10639.jpg', '/home/pi/Desktop/images/01122025/14/18/image_01122025_14_18_25_9881.jpg', '/home/pi/Desktop/images/01122025/14/18/image_01122025_14_18_34_9549.jpg', '/home/pi/Desktop/images/01122025/14/18/image_01122025_14_18_45_10766.jpg', '/home/pi/Desktop/images/01122025/14/18/image_01122025_14_18_55_9575.jpg', '/home/pi/Desktop/images/01122025/14/18/image_01122025_14_19_04_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/18/image_01122025_14_18_15_10639.jpg
/home/pi/Desktop/images/01122025/14/18/image_01122025_14_18_25_9881.jpg
/home/pi/Desktop/images/01122025/14/18/image_01122025_14_18_34_9549.jpg
/home/pi/Desktop/images/01122025/14/18/image_01122025_14_18_45_10766.jpg
/home/pi/Desktop/images/01122025/14/18/image_01122025_14_18_55_9575.jpg
/home/pi/Desktop/images/01122025/14/18/image_01122025_14_19_04_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397239874","1397239856","1397239858","1397239863","1397239869","1397239860"],"photo_ids_order":["1397239856","1397239858","1397239860","1397239863","1397239869","1397239874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/96abb4b15734a1ef43e5c2bc87c9d2fc.jpg","text":"TemporaryFile(/tmp/multipartBody5817990740542885330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602163933,"filename":"image_01122025_14_19_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/1/bf67c925cfa1ec99ee5161a9d176da6f.jpg","text":"TemporaryFile(/tmp/multipartBody17628855425352901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602163933,"filename":"image_01122025_14_18_15_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/107cf68338230886f7ff8e4839bb9bdb.jpg","text":"TemporaryFile(/tmp/multipartBody2312025426607269549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602163933,"filename":"image_01122025_14_18_25_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/1/a3b1a11e493ea3d21b26b623e89e4791.jpg","text":"TemporaryFile(/tmp/multipartBody468589191792948133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602163933,"filename":"image_01122025_14_18_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/1/13f91358be613cbef7dbf215668edd4a.jpg","text":"TemporaryFile(/tmp/multipartBody3907859326140229356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602163933,"filename":"image_01122025_14_18_55_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7a4d0bffe721ad4a9cc3d6e090e61ec8.jpg","text":"TemporaryFile(/tmp/multipartBody8132728463984660594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602163933,"filename":"image_01122025_14_18_34_9549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397239860","file1":"1397239858","file0":"1397239856","file4":"1397239869","file5":"1397239874","file3":"1397239863"},"map_files_photo_id_array":[{"photo_id":"1397239874","filename":"file5"},{"photo_id":"1397239860","filename":"file2"},{"photo_id":"1397239869","filename":"file4"},{"photo_id":"1397239858","filename":"file1"},{"photo_id":"1397239856","filename":"file0"},{"photo_id":"1397239863","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397239874":["hashtag1","hashtag2"]},{"1397239856":["hashtag1","hashtag2"]},{"1397239858":["hashtag1","hashtag2"]},{"1397239863":["hashtag1","hashtag2"]},{"1397239869":["hashtag1","hashtag2"]},{"1397239860":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397239874, 1397239856, 1397239858, 1397239863, 1397239869, 1397239860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.106595516204834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:16:02.855124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/19/image_01122025_14_19_15_10661.jpg', '/home/pi/Desktop/images/01122025/14/19/image_01122025_14_19_25_9585.jpg', '/home/pi/Desktop/images/01122025/14/19/image_01122025_14_19_34_9715.jpg', '/home/pi/Desktop/images/01122025/14/19/image_01122025_14_19_45_10536.jpg', '/home/pi/Desktop/images/01122025/14/19/image_01122025_14_19_55_9786.jpg', '/home/pi/Desktop/images/01122025/14/19/image_01122025_14_20_04_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/19/image_01122025_14_19_15_10661.jpg
/home/pi/Desktop/images/01122025/14/19/image_01122025_14_19_25_9585.jpg
/home/pi/Desktop/images/01122025/14/19/image_01122025_14_19_34_9715.jpg
/home/pi/Desktop/images/01122025/14/19/image_01122025_14_19_45_10536.jpg
/home/pi/Desktop/images/01122025/14/19/image_01122025_14_19_55_9786.jpg
/home/pi/Desktop/images/01122025/14/19/image_01122025_14_20_04_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":["1397239892","1397239896","1397239899","1397239890","1397239884","1397239887"],"photo_ids_order":["1397239884","1397239887","1397239890","1397239892","1397239896","1397239899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5f506864d5218c4043a11f05fdbbde06.jpg","text":"TemporaryFile(/tmp/multipartBody6820547033395581366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602223559,"filename":"image_01122025_14_19_45_10536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0e47611c120bf6ad32e5090a19f3ac57.jpg","text":"TemporaryFile(/tmp/multipartBody4050009938756908148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602223559,"filename":"image_01122025_14_19_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/1/2e132aa6ab2c4ca85e76b82bd5cb9437.jpg","text":"TemporaryFile(/tmp/multipartBody3596878275749975677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602223559,"filename":"image_01122025_14_20_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/1/e442c630590c02ce333e6db3384d9c4f.jpg","text":"TemporaryFile(/tmp/multipartBody6361511858371084493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602223559,"filename":"image_01122025_14_19_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/1/b3c91377138443e0bc0e801caea0efea.jpg","text":"TemporaryFile(/tmp/multipartBody2267223535559134756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602223559,"filename":"image_01122025_14_19_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/1/0469ce5e6fbcd58ed5815630fedfe578.jpg","text":"TemporaryFile(/tmp/multipartBody8229727190071617510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602223559,"filename":"image_01122025_14_19_25_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397239890","file1":"1397239887","file0":"1397239884","file4":"1397239896","file5":"1397239899","file3":"1397239892"},"map_files_photo_id_array":[{"photo_id":"1397239899","filename":"file5"},{"photo_id":"1397239890","filename":"file2"},{"photo_id":"1397239896","filename":"file4"},{"photo_id":"1397239887","filename":"file1"},{"photo_id":"1397239884","filename":"file0"},{"photo_id":"1397239892","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397239892":["hashtag1","hashtag2"]},{"1397239896":["hashtag1","hashtag2"]},{"1397239899":["hashtag1","hashtag2"]},{"1397239890":["hashtag1","hashtag2"]},{"1397239884":["hashtag1","hashtag2"]},{"1397239887":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397239892, 1397239896, 1397239899, 1397239890, 1397239884, 1397239887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.211398124694824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 16:16:42.509176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_55_2653.jpg', '/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_58_2568.jpg', '/home/pi/Desktop/images/31102025/14/40/image_31102025_14_41_01_3623.jpg', '/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_04_2580.jpg', '/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_08_3704.jpg', '/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_10_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_55_2653.jpg
/home/pi/Desktop/images/31102025/14/40/image_31102025_14_40_58_2568.jpg
/home/pi/Desktop/images/31102025/14/40/image_31102025_14_41_01_3623.jpg
/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_04_2580.jpg
/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_08_3704.jpg
/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_10_2667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397239911","1397239910","1397239913","1397239907","1397239916","1397239909"],"photo_ids_order":["1397239907","1397239909","1397239910","1397239911","1397239913","1397239916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/284bf50bbc650e760e5feb1926008b37.jpg","text":"TemporaryFile(/tmp/multipartBody4644444745358467546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602265126,"filename":"image_31102025_14_41_04_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/1/aaed4d69286cad62e589d8c38457e7c0.jpg","text":"TemporaryFile(/tmp/multipartBody5804109534542828827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602265126,"filename":"image_31102025_14_41_01_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/02db3b41127da15aa9e3bd21dad39fa4.jpg","text":"TemporaryFile(/tmp/multipartBody8739842646792178390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602265126,"filename":"image_31102025_14_41_08_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a0ddfb9ab6e597a7fe79b73196b1100a.jpg","text":"TemporaryFile(/tmp/multipartBody8207511204804905318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602265126,"filename":"image_31102025_14_40_55_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/1/0db1eecee789e7476d1cbdfb84e92b06.jpg","text":"TemporaryFile(/tmp/multipartBody1192253754633126633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602265126,"filename":"image_31102025_14_41_10_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/44c5ff7494ffbbd7288c0567641ea054.jpg","text":"TemporaryFile(/tmp/multipartBody6748908422961541916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602265126,"filename":"image_31102025_14_40_58_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397239910","file1":"1397239909","file0":"1397239907","file4":"1397239913","file5":"1397239916","file3":"1397239911"},"map_files_photo_id_array":[{"photo_id":"1397239916","filename":"file5"},{"photo_id":"1397239910","filename":"file2"},{"photo_id":"1397239913","filename":"file4"},{"photo_id":"1397239909","filename":"file1"},{"photo_id":"1397239907","filename":"file0"},{"photo_id":"1397239911","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397239911":["hashtag1","hashtag2"]},{"1397239910":["hashtag1","hashtag2"]},{"1397239913":["hashtag1","hashtag2"]},{"1397239907":["hashtag1","hashtag2"]},{"1397239916":["hashtag1","hashtag2"]},{"1397239909":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397239911, 1397239910, 1397239913, 1397239907, 1397239916, 1397239909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.544848918914795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 16:17:32.723055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_10_3596.jpg', '/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_13_2715.jpg', '/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_15_2598.jpg', '/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_19_3686.jpg', '/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_22_2586.jpg', '/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_25_2796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_10_3596.jpg
/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_13_2715.jpg
/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_15_2598.jpg
/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_19_3686.jpg
/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_22_2586.jpg
/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_25_2796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397239935","1397240043","1397239958","1397239934","1397239930","1397239932"],"photo_ids_order":["1397239930","1397239932","1397239934","1397239935","1397239958","1397240043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/44a5ab52542ba35e6fe2ba2a45adf748.jpg","text":"TemporaryFile(/tmp/multipartBody3969342013103388914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602314415,"filename":"image_25112025_22_59_19_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2fd0f38282c42e9bc3e13b16a55b911d.jpg","text":"TemporaryFile(/tmp/multipartBody3015657116961437633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602314415,"filename":"image_25112025_22_59_25_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/25f3a2b64beaa11fb2660777ff35be04.jpg","text":"TemporaryFile(/tmp/multipartBody1683737208354853280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602314415,"filename":"image_25112025_22_59_22_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3b3c2ab3d1bf0fc8afd83f702cc0b203.jpg","text":"TemporaryFile(/tmp/multipartBody6428271447080513365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602314415,"filename":"image_25112025_22_59_15_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/1/74f3ee214b7f171699f6b82b9969db6d.jpg","text":"TemporaryFile(/tmp/multipartBody8625248812940766076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602314415,"filename":"image_25112025_22_59_10_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/1/2d8ddb56ae9ed05b7b84212e733fb652.jpg","text":"TemporaryFile(/tmp/multipartBody3139411781219263281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602314415,"filename":"image_25112025_22_59_13_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397239934","file1":"1397239932","file0":"1397239930","file4":"1397239958","file5":"1397240043","file3":"1397239935"},"map_files_photo_id_array":[{"photo_id":"1397240043","filename":"file5"},{"photo_id":"1397239934","filename":"file2"},{"photo_id":"1397239958","filename":"file4"},{"photo_id":"1397239932","filename":"file1"},{"photo_id":"1397239930","filename":"file0"},{"photo_id":"1397239935","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397239935":["hashtag1","hashtag2"]},{"1397240043":["hashtag1","hashtag2"]},{"1397239958":["hashtag1","hashtag2"]},{"1397239934":["hashtag1","hashtag2"]},{"1397239930":["hashtag1","hashtag2"]},{"1397239932":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397239935, 1397240043, 1397239958, 1397239934, 1397239930, 1397239932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04149007797241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 16:18:21.988740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/20/image_01122025_14_20_15_10864.jpg', '/home/pi/Desktop/images/01122025/14/20/image_01122025_14_20_25_9536.jpg', '/home/pi/Desktop/images/01122025/14/20/image_01122025_14_20_34_9686.jpg', '/home/pi/Desktop/images/01122025/14/20/image_01122025_14_20_45_10605.jpg', '/home/pi/Desktop/images/01122025/14/20/image_01122025_14_20_55_9904.jpg', '/home/pi/Desktop/images/01122025/14/20/image_01122025_14_21_05_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/20/image_01122025_14_20_15_10864.jpg
/home/pi/Desktop/images/01122025/14/20/image_01122025_14_20_25_9536.jpg
/home/pi/Desktop/images/01122025/14/20/image_01122025_14_20_34_9686.jpg
/home/pi/Desktop/images/01122025/14/20/image_01122025_14_20_45_10605.jpg
/home/pi/Desktop/images/01122025/14/20/image_01122025_14_20_55_9904.jpg
/home/pi/Desktop/images/01122025/14/20/image_01122025_14_21_05_9704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397240070","1397240087","1397240081","1397240084","1397240074","1397240077"],"photo_ids_order":["1397240070","1397240074","1397240077","1397240081","1397240084","1397240087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0aabcad890bc9f765434ec3b20d65066.jpg","text":"TemporaryFile(/tmp/multipartBody7001870110695917430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602362695,"filename":"image_01122025_14_20_15_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/1/abdda6e7dee29899dae07d47539cd2e1.jpg","text":"TemporaryFile(/tmp/multipartBody4863781569832929958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602362695,"filename":"image_01122025_14_21_05_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dab996cb80dcfb8a5d0ad6f45a0e5f7c.jpg","text":"TemporaryFile(/tmp/multipartBody6922746446350077624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602362695,"filename":"image_01122025_14_20_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/1/cd1a27f96a2802195b84168ad11fa3c4.jpg","text":"TemporaryFile(/tmp/multipartBody9149489686719895879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602362695,"filename":"image_01122025_14_20_55_9904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0f8d9f9efaeb1fc93247c017b2abfd99.jpg","text":"TemporaryFile(/tmp/multipartBody6248887454385451182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602362695,"filename":"image_01122025_14_20_25_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/1/5d66ca90ebe6c383f227fff3569f419e.jpg","text":"TemporaryFile(/tmp/multipartBody2913326373373638234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602362695,"filename":"image_01122025_14_20_34_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397240077","file1":"1397240074","file0":"1397240070","file4":"1397240084","file5":"1397240087","file3":"1397240081"},"map_files_photo_id_array":[{"photo_id":"1397240087","filename":"file5"},{"photo_id":"1397240077","filename":"file2"},{"photo_id":"1397240084","filename":"file4"},{"photo_id":"1397240074","filename":"file1"},{"photo_id":"1397240070","filename":"file0"},{"photo_id":"1397240081","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397240070":["hashtag1","hashtag2"]},{"1397240087":["hashtag1","hashtag2"]},{"1397240081":["hashtag1","hashtag2"]},{"1397240084":["hashtag1","hashtag2"]},{"1397240074":["hashtag1","hashtag2"]},{"1397240077":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397240070, 1397240087, 1397240081, 1397240084, 1397240074, 1397240077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.205974817276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:19:02.963963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/21/image_01122025_14_21_14_9697.jpg', '/home/pi/Desktop/images/01122025/14/21/image_01122025_14_21_25_10617.jpg', '/home/pi/Desktop/images/01122025/14/21/image_01122025_14_21_35_9798.jpg', '/home/pi/Desktop/images/01122025/14/21/image_01122025_14_21_44_9623.jpg', '/home/pi/Desktop/images/01122025/14/21/image_01122025_14_21_55_10808.jpg', '/home/pi/Desktop/images/01122025/14/21/image_01122025_14_22_05_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/21/image_01122025_14_21_14_9697.jpg
/home/pi/Desktop/images/01122025/14/21/image_01122025_14_21_25_10617.jpg
/home/pi/Desktop/images/01122025/14/21/image_01122025_14_21_35_9798.jpg
/home/pi/Desktop/images/01122025/14/21/image_01122025_14_21_44_9623.jpg
/home/pi/Desktop/images/01122025/14/21/image_01122025_14_21_55_10808.jpg
/home/pi/Desktop/images/01122025/14/21/image_01122025_14_22_05_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397240107","1397240103","1397240098","1397240092","1397240095","1397240089"],"photo_ids_order":["1397240089","1397240092","1397240095","1397240098","1397240103","1397240107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c056a9f51d2061bbfbe73fe9525f4c1d.jpg","text":"TemporaryFile(/tmp/multipartBody6131887847409308483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602403896,"filename":"image_01122025_14_22_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/1/d7ea3a661fdfb70e887a362fea5b91bb.jpg","text":"TemporaryFile(/tmp/multipartBody2384704843259507937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602403896,"filename":"image_01122025_14_21_55_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/1/9087e72465aed2e40c6120316ca601b4.jpg","text":"TemporaryFile(/tmp/multipartBody3667239163028129784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602403896,"filename":"image_01122025_14_21_44_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/49d1d754e406d5dc0fd8ebc81bd35fc6.jpg","text":"TemporaryFile(/tmp/multipartBody3752332155297417215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602403896,"filename":"image_01122025_14_21_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/1/f48c0826f36ed4367a256c378163eeeb.jpg","text":"TemporaryFile(/tmp/multipartBody3197095484083398179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602403896,"filename":"image_01122025_14_21_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/1/87bf097b1532f512cf7a5e35322b16bd.jpg","text":"TemporaryFile(/tmp/multipartBody919813244775718223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602403896,"filename":"image_01122025_14_21_14_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397240095","file1":"1397240092","file0":"1397240089","file4":"1397240103","file5":"1397240107","file3":"1397240098"},"map_files_photo_id_array":[{"photo_id":"1397240107","filename":"file5"},{"photo_id":"1397240095","filename":"file2"},{"photo_id":"1397240103","filename":"file4"},{"photo_id":"1397240092","filename":"file1"},{"photo_id":"1397240089","filename":"file0"},{"photo_id":"1397240098","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397240107":["hashtag1","hashtag2"]},{"1397240103":["hashtag1","hashtag2"]},{"1397240098":["hashtag1","hashtag2"]},{"1397240092":["hashtag1","hashtag2"]},{"1397240095":["hashtag1","hashtag2"]},{"1397240089":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397240107, 1397240103, 1397240098, 1397240092, 1397240095, 1397240089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.722166538238525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:20:02.633495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/22/image_01122025_14_22_15_9744.jpg', '/home/pi/Desktop/images/01122025/14/22/image_01122025_14_22_24_9678.jpg', '/home/pi/Desktop/images/01122025/14/22/image_01122025_14_22_35_10584.jpg', '/home/pi/Desktop/images/01122025/14/22/image_01122025_14_22_44_9632.jpg', '/home/pi/Desktop/images/01122025/14/22/image_01122025_14_22_55_10694.jpg', '/home/pi/Desktop/images/01122025/14/22/image_01122025_14_23_05_9541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/22/image_01122025_14_22_15_9744.jpg
/home/pi/Desktop/images/01122025/14/22/image_01122025_14_22_24_9678.jpg
/home/pi/Desktop/images/01122025/14/22/image_01122025_14_22_35_10584.jpg
/home/pi/Desktop/images/01122025/14/22/image_01122025_14_22_44_9632.jpg
/home/pi/Desktop/images/01122025/14/22/image_01122025_14_22_55_10694.jpg
/home/pi/Desktop/images/01122025/14/22/image_01122025_14_23_05_9541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397240130","1397240121","1397240138","1397240123","1397240126","1397240134"],"photo_ids_order":["1397240121","1397240123","1397240126","1397240130","1397240134","1397240138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/42997686b72ba5ab511ee13b141a7f3f.jpg","text":"TemporaryFile(/tmp/multipartBody307368516564899135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602463373,"filename":"image_01122025_14_22_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/1/bfcde5d20d5fa15d3e200219fece93fc.jpg","text":"TemporaryFile(/tmp/multipartBody6435608852318229742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602463373,"filename":"image_01122025_14_22_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/1/25a0fa250806111e77d2fa4dcd4ac7cd.jpg","text":"TemporaryFile(/tmp/multipartBody4109260377206634279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602463373,"filename":"image_01122025_14_23_05_9541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9a545c2e9411b4437434b7949318f7dd.jpg","text":"TemporaryFile(/tmp/multipartBody1731323992617699884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602463373,"filename":"image_01122025_14_22_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/1/229a2a0e2b87025d30aa039c619bdfb4.jpg","text":"TemporaryFile(/tmp/multipartBody6970427559240844633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602463373,"filename":"image_01122025_14_22_35_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/18f58269ed3ec23072cde50066178c1a.jpg","text":"TemporaryFile(/tmp/multipartBody566875752513515834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602463373,"filename":"image_01122025_14_22_55_10694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397240126","file1":"1397240123","file0":"1397240121","file4":"1397240134","file5":"1397240138","file3":"1397240130"},"map_files_photo_id_array":[{"photo_id":"1397240138","filename":"file5"},{"photo_id":"1397240126","filename":"file2"},{"photo_id":"1397240134","filename":"file4"},{"photo_id":"1397240123","filename":"file1"},{"photo_id":"1397240121","filename":"file0"},{"photo_id":"1397240130","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397240130":["hashtag1","hashtag2"]},{"1397240121":["hashtag1","hashtag2"]},{"1397240138":["hashtag1","hashtag2"]},{"1397240123":["hashtag1","hashtag2"]},{"1397240126":["hashtag1","hashtag2"]},{"1397240134":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397240130, 1397240121, 1397240138, 1397240123, 1397240126, 1397240134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.56796598434448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:21:03.108827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/23/image_01122025_14_23_14_9684.jpg', '/home/pi/Desktop/images/01122025/14/23/image_01122025_14_23_25_10797.jpg', '/home/pi/Desktop/images/01122025/14/23/image_01122025_14_23_35_9639.jpg', '/home/pi/Desktop/images/01122025/14/23/image_01122025_14_23_45_9872.jpg', '/home/pi/Desktop/images/01122025/14/23/image_01122025_14_23_54_9790.jpg', '/home/pi/Desktop/images/01122025/14/23/image_01122025_14_24_05_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/23/image_01122025_14_23_14_9684.jpg
/home/pi/Desktop/images/01122025/14/23/image_01122025_14_23_25_10797.jpg
/home/pi/Desktop/images/01122025/14/23/image_01122025_14_23_35_9639.jpg
/home/pi/Desktop/images/01122025/14/23/image_01122025_14_23_45_9872.jpg
/home/pi/Desktop/images/01122025/14/23/image_01122025_14_23_54_9790.jpg
/home/pi/Desktop/images/01122025/14/23/image_01122025_14_24_05_10617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397240168","1397240159","1397240150","1397240164","1397240152","1397240155"],"photo_ids_order":["1397240150","1397240152","1397240155","1397240159","1397240164","1397240168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/baa88bd0629a5f85d06322178b4e776e.jpg","text":"TemporaryFile(/tmp/multipartBody1453872094952886754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602523882,"filename":"image_01122025_14_24_05_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4ada1fca6d3e923d7fa6b8ede939058b.jpg","text":"TemporaryFile(/tmp/multipartBody7617288005551983490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602523882,"filename":"image_01122025_14_23_45_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/1/42d73db666a63fdda00a9ae4c561e89d.jpg","text":"TemporaryFile(/tmp/multipartBody4637305667434150932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602523882,"filename":"image_01122025_14_23_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/1/bcfb893ed8f618cbb0b4002f01c474c8.jpg","text":"TemporaryFile(/tmp/multipartBody8435201563712744510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602523882,"filename":"image_01122025_14_23_54_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b3380adb539755536c3c47cd0b1bf6c9.jpg","text":"TemporaryFile(/tmp/multipartBody9209298269933713762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602523882,"filename":"image_01122025_14_23_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/1/3ca649d331ea96a69b44c58f4f88dc48.jpg","text":"TemporaryFile(/tmp/multipartBody5684013176887740862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602523882,"filename":"image_01122025_14_23_35_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397240155","file1":"1397240152","file0":"1397240150","file4":"1397240164","file5":"1397240168","file3":"1397240159"},"map_files_photo_id_array":[{"photo_id":"1397240168","filename":"file5"},{"photo_id":"1397240155","filename":"file2"},{"photo_id":"1397240164","filename":"file4"},{"photo_id":"1397240152","filename":"file1"},{"photo_id":"1397240150","filename":"file0"},{"photo_id":"1397240159","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397240168":["hashtag1","hashtag2"]},{"1397240159":["hashtag1","hashtag2"]},{"1397240150":["hashtag1","hashtag2"]},{"1397240164":["hashtag1","hashtag2"]},{"1397240152":["hashtag1","hashtag2"]},{"1397240155":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397240168, 1397240159, 1397240150, 1397240164, 1397240152, 1397240155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.765100955963135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:22:02.290557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/24/image_01122025_14_24_15_9755.jpg', '/home/pi/Desktop/images/01122025/14/24/image_01122025_14_24_24_9635.jpg', '/home/pi/Desktop/images/01122025/14/24/image_01122025_14_24_35_10651.jpg', '/home/pi/Desktop/images/01122025/14/24/image_01122025_14_24_45_9601.jpg', '/home/pi/Desktop/images/01122025/14/24/image_01122025_14_24_54_9671.jpg', '/home/pi/Desktop/images/01122025/14/24/image_01122025_14_25_05_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/24/image_01122025_14_24_15_9755.jpg
/home/pi/Desktop/images/01122025/14/24/image_01122025_14_24_24_9635.jpg
/home/pi/Desktop/images/01122025/14/24/image_01122025_14_24_35_10651.jpg
/home/pi/Desktop/images/01122025/14/24/image_01122025_14_24_45_9601.jpg
/home/pi/Desktop/images/01122025/14/24/image_01122025_14_24_54_9671.jpg
/home/pi/Desktop/images/01122025/14/24/image_01122025_14_25_05_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":["1397240184","1397240178","1397240186","1397240205","1397240180","1397240200"],"photo_ids_order":["1397240178","1397240180","1397240184","1397240186","1397240200","1397240205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9336d67ca1f9d5575821ab4c35d79811.jpg","text":"TemporaryFile(/tmp/multipartBody2450209020741210017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602582976,"filename":"image_01122025_14_24_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/1/a171e3b73bf94d0d3c3c41fc10941f98.jpg","text":"TemporaryFile(/tmp/multipartBody7328689217235819249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602582976,"filename":"image_01122025_14_24_15_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c78114f28c7d30b8b28dbfc0561fc325.jpg","text":"TemporaryFile(/tmp/multipartBody1380893199549769399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602582976,"filename":"image_01122025_14_24_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/1/aa991bd881482d175ab9fa9cd08dfb78.jpg","text":"TemporaryFile(/tmp/multipartBody3342187069927772542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602582976,"filename":"image_01122025_14_25_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/1/250faff2008390f6108ba6d6326cddac.jpg","text":"TemporaryFile(/tmp/multipartBody4139087135329825357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602582976,"filename":"image_01122025_14_24_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/1/9530a60c84e686a7ae7c10b63ce4cd39.jpg","text":"TemporaryFile(/tmp/multipartBody8605106719970498503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602582976,"filename":"image_01122025_14_24_54_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397240184","file1":"1397240180","file0":"1397240178","file4":"1397240200","file5":"1397240205","file3":"1397240186"},"map_files_photo_id_array":[{"photo_id":"1397240205","filename":"file5"},{"photo_id":"1397240184","filename":"file2"},{"photo_id":"1397240200","filename":"file4"},{"photo_id":"1397240180","filename":"file1"},{"photo_id":"1397240178","filename":"file0"},{"photo_id":"1397240186","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397240184":["hashtag1","hashtag2"]},{"1397240178":["hashtag1","hashtag2"]},{"1397240186":["hashtag1","hashtag2"]},{"1397240205":["hashtag1","hashtag2"]},{"1397240180":["hashtag1","hashtag2"]},{"1397240200":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397240184, 1397240178, 1397240186, 1397240205, 1397240180, 1397240200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36801314353943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 16:22:41.914823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_13_2731.jpg', '/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_16_2725.jpg', '/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_19_2900.jpg', '/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_22_3788.jpg', '/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_25_2643.jpg', '/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_28_2529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_13_2731.jpg
/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_16_2725.jpg
/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_19_2900.jpg
/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_22_3788.jpg
/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_25_2643.jpg
/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_28_2529.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397240265","1397240241","1397240270","1397240246","1397240245","1397240269"],"photo_ids_order":["1397240241","1397240245","1397240246","1397240265","1397240269","1397240270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b507887f08e777d62f6a41bd0194b0a1.jpg","text":"TemporaryFile(/tmp/multipartBody9181139028741131140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602624495,"filename":"image_31102025_14_41_22_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/1/ea54c7bd414e56ac380670fca20b2d39.jpg","text":"TemporaryFile(/tmp/multipartBody7723244905428685621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602624495,"filename":"image_31102025_14_41_13_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/1/954ea0e8f86c2fba958cf1573257ffcc.jpg","text":"TemporaryFile(/tmp/multipartBody5777690164546213095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602624495,"filename":"image_31102025_14_41_28_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9f440a616747778383fae72f53c0ca92.jpg","text":"TemporaryFile(/tmp/multipartBody8381887000974554365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602624495,"filename":"image_31102025_14_41_19_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/1/8433a379a94b7bd48bab949984b79f8b.jpg","text":"TemporaryFile(/tmp/multipartBody7645821726574737047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602624495,"filename":"image_31102025_14_41_16_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/1/9da7e23903472c844a14557cc88d3ec6.jpg","text":"TemporaryFile(/tmp/multipartBody303093610487137121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602624495,"filename":"image_31102025_14_41_25_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397240246","file1":"1397240245","file0":"1397240241","file4":"1397240269","file5":"1397240270","file3":"1397240265"},"map_files_photo_id_array":[{"photo_id":"1397240270","filename":"file5"},{"photo_id":"1397240246","filename":"file2"},{"photo_id":"1397240269","filename":"file4"},{"photo_id":"1397240245","filename":"file1"},{"photo_id":"1397240241","filename":"file0"},{"photo_id":"1397240265","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397240265":["hashtag1","hashtag2"]},{"1397240241":["hashtag1","hashtag2"]},{"1397240270":["hashtag1","hashtag2"]},{"1397240246":["hashtag1","hashtag2"]},{"1397240245":["hashtag1","hashtag2"]},{"1397240269":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397240265, 1397240241, 1397240270, 1397240246, 1397240245, 1397240269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.265709400177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 16:23:22.119780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/25/image_01122025_14_25_15_9710.jpg', '/home/pi/Desktop/images/01122025/14/25/image_01122025_14_25_25_9732.jpg', '/home/pi/Desktop/images/01122025/14/25/image_01122025_14_25_34_9777.jpg', '/home/pi/Desktop/images/01122025/14/25/image_01122025_14_25_45_10634.jpg', '/home/pi/Desktop/images/01122025/14/25/image_01122025_14_25_54_9562.jpg', '/home/pi/Desktop/images/01122025/14/25/image_01122025_14_26_05_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/25/image_01122025_14_25_15_9710.jpg
/home/pi/Desktop/images/01122025/14/25/image_01122025_14_25_25_9732.jpg
/home/pi/Desktop/images/01122025/14/25/image_01122025_14_25_34_9777.jpg
/home/pi/Desktop/images/01122025/14/25/image_01122025_14_25_45_10634.jpg
/home/pi/Desktop/images/01122025/14/25/image_01122025_14_25_54_9562.jpg
/home/pi/Desktop/images/01122025/14/25/image_01122025_14_26_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":["1397240305","1397240439","1397240291","1397240395","1397240296","1397240300"],"photo_ids_order":["1397240291","1397240296","1397240300","1397240305","1397240395","1397240439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/29c8b4e565b7859718d9e367b814d53b.jpg","text":"TemporaryFile(/tmp/multipartBody8081878269055378265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602662785,"filename":"image_01122025_14_25_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/1/074aec9b0732846d91dd58f45307a3a1.jpg","text":"TemporaryFile(/tmp/multipartBody3789167086389293474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602662785,"filename":"image_01122025_14_26_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/1/2580bff2d3667a14b5c9fc507e1b26a8.jpg","text":"TemporaryFile(/tmp/multipartBody6787184191284818733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602662785,"filename":"image_01122025_14_25_15_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0a5a35e43b50776f68a0cb6aa017c5fe.jpg","text":"TemporaryFile(/tmp/multipartBody6749509880205646008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602662785,"filename":"image_01122025_14_25_54_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5988647e57f0dada0aa7dcbb5afec66b.jpg","text":"TemporaryFile(/tmp/multipartBody4414538809354759459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602662785,"filename":"image_01122025_14_25_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/1/c67d006b1f28782cf1a1206562a1fbcc.jpg","text":"TemporaryFile(/tmp/multipartBody8397518820297208598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602662785,"filename":"image_01122025_14_25_34_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397240300","file1":"1397240296","file0":"1397240291","file4":"1397240395","file5":"1397240439","file3":"1397240305"},"map_files_photo_id_array":[{"photo_id":"1397240439","filename":"file5"},{"photo_id":"1397240300","filename":"file2"},{"photo_id":"1397240395","filename":"file4"},{"photo_id":"1397240296","filename":"file1"},{"photo_id":"1397240291","filename":"file0"},{"photo_id":"1397240305","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397240305":["hashtag1","hashtag2"]},{"1397240439":["hashtag1","hashtag2"]},{"1397240291":["hashtag1","hashtag2"]},{"1397240395":["hashtag1","hashtag2"]},{"1397240296":["hashtag1","hashtag2"]},{"1397240300":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397240305, 1397240439, 1397240291, 1397240395, 1397240296, 1397240300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8858757019043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:24:02.798309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/26/image_01122025_14_26_15_9581.jpg', '/home/pi/Desktop/images/01122025/14/26/image_01122025_14_26_24_9775.jpg', '/home/pi/Desktop/images/01122025/14/26/image_01122025_14_26_34_9810.jpg', '/home/pi/Desktop/images/01122025/14/26/image_01122025_14_26_45_10632.jpg', '/home/pi/Desktop/images/01122025/14/26/image_01122025_14_26_54_9573.jpg', '/home/pi/Desktop/images/01122025/14/26/image_01122025_14_27_05_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/26/image_01122025_14_26_15_9581.jpg
/home/pi/Desktop/images/01122025/14/26/image_01122025_14_26_24_9775.jpg
/home/pi/Desktop/images/01122025/14/26/image_01122025_14_26_34_9810.jpg
/home/pi/Desktop/images/01122025/14/26/image_01122025_14_26_45_10632.jpg
/home/pi/Desktop/images/01122025/14/26/image_01122025_14_26_54_9573.jpg
/home/pi/Desktop/images/01122025/14/26/image_01122025_14_27_05_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.6477768421173096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 16:24:12.282492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_27_2705.jpg', '/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_31_3521.jpg', '/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_33_2589.jpg', '/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_37_3578.jpg', '/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_40_2665.jpg', '/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_42_2777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_27_2705.jpg
/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_31_3521.jpg
/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_33_2589.jpg
/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_37_3578.jpg
/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_40_2665.jpg
/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_42_2777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397240493","1397240488","1397240473","1397240497","1397240482","1397240500"],"photo_ids_order":["1397240473","1397240482","1397240488","1397240493","1397240497","1397240500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/785174abed30733288c9b27c4fcfde29.jpg","text":"TemporaryFile(/tmp/multipartBody519641338965581210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602713884,"filename":"image_25112025_22_59_37_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/1/8fc5b8f0997c0ccce4f68eec730587c4.jpg","text":"TemporaryFile(/tmp/multipartBody491220280921640334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602713884,"filename":"image_25112025_22_59_33_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cd66d05b56e468c4a2797e9ba45d2367.jpg","text":"TemporaryFile(/tmp/multipartBody3976649447910140705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602713884,"filename":"image_25112025_22_59_27_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/1/dc7bc284ec668fda4766fbfc901cb3af.jpg","text":"TemporaryFile(/tmp/multipartBody3069070833149024695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602713884,"filename":"image_25112025_22_59_40_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/1/a24579ff4250b7c705d8e6e35e17f6ed.jpg","text":"TemporaryFile(/tmp/multipartBody5037874590420671755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602713884,"filename":"image_25112025_22_59_31_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/1/a5f9f782af63b46541bfc279eec17b03.jpg","text":"TemporaryFile(/tmp/multipartBody3202971639212428913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602713884,"filename":"image_25112025_22_59_42_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397240488","file1":"1397240482","file0":"1397240473","file4":"1397240497","file5":"1397240500","file3":"1397240493"},"map_files_photo_id_array":[{"photo_id":"1397240500","filename":"file5"},{"photo_id":"1397240488","filename":"file2"},{"photo_id":"1397240497","filename":"file4"},{"photo_id":"1397240482","filename":"file1"},{"photo_id":"1397240473","filename":"file0"},{"photo_id":"1397240493","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397240493":["hashtag1","hashtag2"]},{"1397240488":["hashtag1","hashtag2"]},{"1397240473":["hashtag1","hashtag2"]},{"1397240497":["hashtag1","hashtag2"]},{"1397240482":["hashtag1","hashtag2"]},{"1397240500":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397240493, 1397240488, 1397240473, 1397240497, 1397240482, 1397240500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.72486066818237 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:25:03.305537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/26/image_01122025_14_26_15_9581.jpg', '/home/pi/Desktop/images/01122025/14/26/image_01122025_14_26_24_9775.jpg', '/home/pi/Desktop/images/01122025/14/26/image_01122025_14_26_34_9810.jpg', '/home/pi/Desktop/images/01122025/14/26/image_01122025_14_26_45_10632.jpg', '/home/pi/Desktop/images/01122025/14/26/image_01122025_14_26_54_9573.jpg', '/home/pi/Desktop/images/01122025/14/26/image_01122025_14_27_05_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/26/image_01122025_14_26_15_9581.jpg
/home/pi/Desktop/images/01122025/14/26/image_01122025_14_26_24_9775.jpg
/home/pi/Desktop/images/01122025/14/26/image_01122025_14_26_34_9810.jpg
/home/pi/Desktop/images/01122025/14/26/image_01122025_14_26_45_10632.jpg
/home/pi/Desktop/images/01122025/14/26/image_01122025_14_26_54_9573.jpg
/home/pi/Desktop/images/01122025/14/26/image_01122025_14_27_05_10691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397240529","1397240520","1397240508","1397240546","1397240513","1397240525"],"photo_ids_order":["1397240508","1397240513","1397240520","1397240525","1397240529","1397240546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5b23d2597731fd50536bd17b3f8f4d99.jpg","text":"TemporaryFile(/tmp/multipartBody4296035436956832222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602764074,"filename":"image_01122025_14_26_54_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f8f6d31cff5d7b123e17991f912d4af2.jpg","text":"TemporaryFile(/tmp/multipartBody1255334296477625136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602764074,"filename":"image_01122025_14_26_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/1/ec4fa867835f64641979f9e4f31d79e7.jpg","text":"TemporaryFile(/tmp/multipartBody7768891243569622395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602764074,"filename":"image_01122025_14_26_15_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1fe41c9ec22b22887e342a7e29ef9ab4.jpg","text":"TemporaryFile(/tmp/multipartBody4478978613162986703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602764074,"filename":"image_01122025_14_27_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/1/db7131eec67d3bf4cca2817232cff091.jpg","text":"TemporaryFile(/tmp/multipartBody8527545031024792755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602764074,"filename":"image_01122025_14_26_24_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1452ad23868c79deb6fef0c2e82159c8.jpg","text":"TemporaryFile(/tmp/multipartBody3724675725830442402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602764074,"filename":"image_01122025_14_26_45_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397240520","file1":"1397240513","file0":"1397240508","file4":"1397240529","file5":"1397240546","file3":"1397240525"},"map_files_photo_id_array":[{"photo_id":"1397240546","filename":"file5"},{"photo_id":"1397240520","filename":"file2"},{"photo_id":"1397240529","filename":"file4"},{"photo_id":"1397240513","filename":"file1"},{"photo_id":"1397240508","filename":"file0"},{"photo_id":"1397240525","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397240529":["hashtag1","hashtag2"]},{"1397240520":["hashtag1","hashtag2"]},{"1397240508":["hashtag1","hashtag2"]},{"1397240546":["hashtag1","hashtag2"]},{"1397240513":["hashtag1","hashtag2"]},{"1397240525":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397240529, 1397240520, 1397240508, 1397240546, 1397240513, 1397240525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23642444610596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:26:03.331161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/27/image_01122025_14_27_15_9730.jpg', '/home/pi/Desktop/images/01122025/14/27/image_01122025_14_27_25_9785.jpg', '/home/pi/Desktop/images/01122025/14/27/image_01122025_14_27_34_9700.jpg', '/home/pi/Desktop/images/01122025/14/27/image_01122025_14_27_45_10634.jpg', '/home/pi/Desktop/images/01122025/14/27/image_01122025_14_27_55_9675.jpg', '/home/pi/Desktop/images/01122025/14/27/image_01122025_14_28_04_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/27/image_01122025_14_27_15_9730.jpg
/home/pi/Desktop/images/01122025/14/27/image_01122025_14_27_25_9785.jpg
/home/pi/Desktop/images/01122025/14/27/image_01122025_14_27_34_9700.jpg
/home/pi/Desktop/images/01122025/14/27/image_01122025_14_27_45_10634.jpg
/home/pi/Desktop/images/01122025/14/27/image_01122025_14_27_55_9675.jpg
/home/pi/Desktop/images/01122025/14/27/image_01122025_14_28_04_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":["1397240589","1397240577","1397240594","1397240579","1397240575","1397240583"],"photo_ids_order":["1397240575","1397240577","1397240579","1397240583","1397240589","1397240594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2dc30a823024e5ab8874ba59ceaf0dce.jpg","text":"TemporaryFile(/tmp/multipartBody8325194457719121619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602824053,"filename":"image_01122025_14_27_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/1/392cb33a9a8fbdf50e749d6d55b189a3.jpg","text":"TemporaryFile(/tmp/multipartBody49747172003306862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602824053,"filename":"image_01122025_14_27_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/1/de1b1333fd85480ce4d6ce1ece365515.jpg","text":"TemporaryFile(/tmp/multipartBody4474319633210695947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602824053,"filename":"image_01122025_14_28_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/1/16147d67648fa7d555da3ddbdeb82e92.jpg","text":"TemporaryFile(/tmp/multipartBody7631207495341093420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602824053,"filename":"image_01122025_14_27_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/1/8d03da6647cbff4592887293445bce14.jpg","text":"TemporaryFile(/tmp/multipartBody1736907742037561856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602824053,"filename":"image_01122025_14_27_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/1/0a4f4313cc046f1dc30e20bf9a854fc8.jpg","text":"TemporaryFile(/tmp/multipartBody5969140843253552184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602824053,"filename":"image_01122025_14_27_45_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397240579","file1":"1397240577","file0":"1397240575","file4":"1397240589","file5":"1397240594","file3":"1397240583"},"map_files_photo_id_array":[{"photo_id":"1397240594","filename":"file5"},{"photo_id":"1397240579","filename":"file2"},{"photo_id":"1397240589","filename":"file4"},{"photo_id":"1397240577","filename":"file1"},{"photo_id":"1397240575","filename":"file0"},{"photo_id":"1397240583","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397240589":["hashtag1","hashtag2"]},{"1397240577":["hashtag1","hashtag2"]},{"1397240594":["hashtag1","hashtag2"]},{"1397240579":["hashtag1","hashtag2"]},{"1397240575":["hashtag1","hashtag2"]},{"1397240583":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397240589, 1397240577, 1397240594, 1397240579, 1397240575, 1397240583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18228101730347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 16:26:42.797019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_31_3654.jpg', '/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_34_2760.jpg', '/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_37_2765.jpg', '/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_40_3651.jpg', '/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_43_2690.jpg', '/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_46_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_31_3654.jpg
/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_34_2760.jpg
/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_37_2765.jpg
/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_40_3651.jpg
/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_43_2690.jpg
/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_46_2752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397240613","1397240607","1397240609","1397240603","1397240605","1397240614"],"photo_ids_order":["1397240603","1397240605","1397240607","1397240609","1397240613","1397240614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/35b6b3406d8a96e8e51d2ea5f8a45024.jpg","text":"TemporaryFile(/tmp/multipartBody1008594335745115893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602865403,"filename":"image_31102025_14_41_43_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/1/6e5f9ac5b7df1a583d14cb47e1574c42.jpg","text":"TemporaryFile(/tmp/multipartBody4398263736176843094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602865403,"filename":"image_31102025_14_41_37_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/1/ae70e7894d35c0390ae7d115aa21b57b.jpg","text":"TemporaryFile(/tmp/multipartBody800939111381898990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602865403,"filename":"image_31102025_14_41_40_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/196616b6d35fc4fc372e73fa44e7eb03.jpg","text":"TemporaryFile(/tmp/multipartBody5323902274520420525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602865403,"filename":"image_31102025_14_41_31_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dc0a5cfadfe9bb512c12bf9ead209dd2.jpg","text":"TemporaryFile(/tmp/multipartBody5970344401941144003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602865403,"filename":"image_31102025_14_41_34_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/1/78be5fe33bfe6d72a2c7e605617fe495.jpg","text":"TemporaryFile(/tmp/multipartBody8456974561627424760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602865403,"filename":"image_31102025_14_41_46_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397240607","file1":"1397240605","file0":"1397240603","file4":"1397240613","file5":"1397240614","file3":"1397240609"},"map_files_photo_id_array":[{"photo_id":"1397240614","filename":"file5"},{"photo_id":"1397240607","filename":"file2"},{"photo_id":"1397240613","filename":"file4"},{"photo_id":"1397240605","filename":"file1"},{"photo_id":"1397240603","filename":"file0"},{"photo_id":"1397240609","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397240613":["hashtag1","hashtag2"]},{"1397240607":["hashtag1","hashtag2"]},{"1397240609":["hashtag1","hashtag2"]},{"1397240603":["hashtag1","hashtag2"]},{"1397240605":["hashtag1","hashtag2"]},{"1397240614":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397240613, 1397240607, 1397240609, 1397240603, 1397240605, 1397240614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.071842432022095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 16:27:31.953124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_46_3585.jpg', '/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_48_2550.jpg', '/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_52_3524.jpg', '/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_55_2637.jpg', '/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_57_2642.jpg', '/home/pi/Desktop/images/25112025/22/59/image_25112025_23_00_01_3570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_46_3585.jpg
/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_48_2550.jpg
/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_52_3524.jpg
/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_55_2637.jpg
/home/pi/Desktop/images/25112025/22/59/image_25112025_22_59_57_2642.jpg
/home/pi/Desktop/images/25112025/22/59/image_25112025_23_00_01_3570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397240637","1397240630","1397240633","1397240627","1397240636","1397240635"],"photo_ids_order":["1397240627","1397240630","1397240633","1397240635","1397240636","1397240637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/03477d333740fca571d1c61f3a582c7b.jpg","text":"TemporaryFile(/tmp/multipartBody2420233330586548187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602913667,"filename":"image_25112025_23_00_01_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bdefc7b5ea67ce6a99ca901c5ec5af0c.jpg","text":"TemporaryFile(/tmp/multipartBody9019298646236660190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602913667,"filename":"image_25112025_22_59_48_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/1/a6ed3cae09d659595235e9fa09aae09f.jpg","text":"TemporaryFile(/tmp/multipartBody5840648612325174241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602913667,"filename":"image_25112025_22_59_52_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/1/d5f4a7028c23f7e3b0688994b8eb06bf.jpg","text":"TemporaryFile(/tmp/multipartBody3225811978039745957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602913667,"filename":"image_25112025_22_59_46_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/1/8f3dbbf4ce98172eaa54d30a482ef4aa.jpg","text":"TemporaryFile(/tmp/multipartBody8019550288574893349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602913667,"filename":"image_25112025_22_59_57_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/1/584b3799f57ce0666232897e5137e600.jpg","text":"TemporaryFile(/tmp/multipartBody1562013450708909498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602913667,"filename":"image_25112025_22_59_55_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397240633","file1":"1397240630","file0":"1397240627","file4":"1397240636","file5":"1397240637","file3":"1397240635"},"map_files_photo_id_array":[{"photo_id":"1397240637","filename":"file5"},{"photo_id":"1397240633","filename":"file2"},{"photo_id":"1397240636","filename":"file4"},{"photo_id":"1397240630","filename":"file1"},{"photo_id":"1397240627","filename":"file0"},{"photo_id":"1397240635","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397240637":["hashtag1","hashtag2"]},{"1397240630":["hashtag1","hashtag2"]},{"1397240633":["hashtag1","hashtag2"]},{"1397240627":["hashtag1","hashtag2"]},{"1397240636":["hashtag1","hashtag2"]},{"1397240635":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397240637, 1397240630, 1397240633, 1397240627, 1397240636, 1397240635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.335455894470215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 16:28:12.077542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_06_2807.jpg', '/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_10_3746.jpg', '/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_13_2619.jpg', '/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_15_2755.jpg', '/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_22_3658.jpg', '/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_24_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_06_2807.jpg
/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_10_3746.jpg
/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_13_2619.jpg
/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_15_2755.jpg
/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_22_3658.jpg
/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_24_2698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397240664","1397240640","1397240660","1397240653","1397240656","1397240650"],"photo_ids_order":["1397240640","1397240650","1397240653","1397240656","1397240660","1397240664"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/23c7c4cdee42c35dc5517fcee448fe0c.jpg","text":"TemporaryFile(/tmp/multipartBody637517961764312004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602953663,"filename":"image_25112025_23_00_24_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/1/5ff7bb96a252e5b15c2eb128a8ac3472.jpg","text":"TemporaryFile(/tmp/multipartBody8241888665657483907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602953663,"filename":"image_25112025_23_00_06_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9b67df632e90c0e24df3335f208e7eb1.jpg","text":"TemporaryFile(/tmp/multipartBody7308435663120666831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602953663,"filename":"image_25112025_23_00_22_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/1/a29f980398893fe7aa8e21a66d6e6dbc.jpg","text":"TemporaryFile(/tmp/multipartBody7811101023875507720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602953663,"filename":"image_25112025_23_00_13_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/1/d0617ed63a7eaa18f0643b0da42116dc.jpg","text":"TemporaryFile(/tmp/multipartBody9139672891442574215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602953663,"filename":"image_25112025_23_00_15_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/1/6814c56fc8cb3f6c852b52e2e80ad8b1.jpg","text":"TemporaryFile(/tmp/multipartBody2297694198115065809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764602953663,"filename":"image_25112025_23_00_10_3746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397240653","file1":"1397240650","file0":"1397240640","file4":"1397240660","file5":"1397240664","file3":"1397240656"},"map_files_photo_id_array":[{"photo_id":"1397240664","filename":"file5"},{"photo_id":"1397240653","filename":"file2"},{"photo_id":"1397240660","filename":"file4"},{"photo_id":"1397240650","filename":"file1"},{"photo_id":"1397240640","filename":"file0"},{"photo_id":"1397240656","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397240664":["hashtag1","hashtag2"]},{"1397240640":["hashtag1","hashtag2"]},{"1397240660":["hashtag1","hashtag2"]},{"1397240653":["hashtag1","hashtag2"]},{"1397240656":["hashtag1","hashtag2"]},{"1397240650":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397240664, 1397240640, 1397240660, 1397240653, 1397240656, 1397240650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.820777893066406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:29:03.336213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/28/image_01122025_14_28_15_10718.jpg', '/home/pi/Desktop/images/01122025/14/28/image_01122025_14_28_25_9697.jpg', '/home/pi/Desktop/images/01122025/14/28/image_01122025_14_28_35_9758.jpg', '/home/pi/Desktop/images/01122025/14/28/image_01122025_14_28_44_9625.jpg', '/home/pi/Desktop/images/01122025/14/28/image_01122025_14_28_55_10728.jpg', '/home/pi/Desktop/images/01122025/14/28/image_01122025_14_29_05_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/28/image_01122025_14_28_15_10718.jpg
/home/pi/Desktop/images/01122025/14/28/image_01122025_14_28_25_9697.jpg
/home/pi/Desktop/images/01122025/14/28/image_01122025_14_28_35_9758.jpg
/home/pi/Desktop/images/01122025/14/28/image_01122025_14_28_44_9625.jpg
/home/pi/Desktop/images/01122025/14/28/image_01122025_14_28_55_10728.jpg
/home/pi/Desktop/images/01122025/14/28/image_01122025_14_29_05_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":["1397240700","1397240687","1397240690","1397240702","1397240692","1397240695"],"photo_ids_order":["1397240687","1397240690","1397240692","1397240695","1397240700","1397240702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c984785c60e87f81289f3f1b9c5ec906.jpg","text":"TemporaryFile(/tmp/multipartBody2555053239298619125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603004166,"filename":"image_01122025_14_28_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/1/47cfa7cf48c463e45ce8cc8aea4e2926.jpg","text":"TemporaryFile(/tmp/multipartBody2141248643941198736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603004166,"filename":"image_01122025_14_28_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/1/56fc4d27af239f01fc7bd9adfc77563e.jpg","text":"TemporaryFile(/tmp/multipartBody6563238628505704476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603004166,"filename":"image_01122025_14_28_25_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d7d94ab72de87ce934bb42188c4bc558.jpg","text":"TemporaryFile(/tmp/multipartBody8300185703579204436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603004166,"filename":"image_01122025_14_29_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/1/e649bc26295824de2f7d9adee0cc809c.jpg","text":"TemporaryFile(/tmp/multipartBody3463188980272773736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603004166,"filename":"image_01122025_14_28_35_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2f5e4572b9091b539ca32a6db4b7d705.jpg","text":"TemporaryFile(/tmp/multipartBody7899343794958545930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603004166,"filename":"image_01122025_14_28_44_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397240692","file1":"1397240690","file0":"1397240687","file4":"1397240700","file5":"1397240702","file3":"1397240695"},"map_files_photo_id_array":[{"photo_id":"1397240702","filename":"file5"},{"photo_id":"1397240692","filename":"file2"},{"photo_id":"1397240700","filename":"file4"},{"photo_id":"1397240690","filename":"file1"},{"photo_id":"1397240687","filename":"file0"},{"photo_id":"1397240695","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397240700":["hashtag1","hashtag2"]},{"1397240687":["hashtag1","hashtag2"]},{"1397240690":["hashtag1","hashtag2"]},{"1397240702":["hashtag1","hashtag2"]},{"1397240692":["hashtag1","hashtag2"]},{"1397240695":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397240700, 1397240687, 1397240690, 1397240702, 1397240692, 1397240695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.369757413864136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:30:04.618332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/29/image_01122025_14_29_14_9824.jpg', '/home/pi/Desktop/images/01122025/14/29/image_01122025_14_29_24_9793.jpg', '/home/pi/Desktop/images/01122025/14/29/image_01122025_14_29_35_10696.jpg', '/home/pi/Desktop/images/01122025/14/29/image_01122025_14_29_45_9713.jpg', '/home/pi/Desktop/images/01122025/14/29/image_01122025_14_29_54_9625.jpg', '/home/pi/Desktop/images/01122025/14/30/image_01122025_14_30_14_10056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/29/image_01122025_14_29_14_9824.jpg
/home/pi/Desktop/images/01122025/14/29/image_01122025_14_29_24_9793.jpg
/home/pi/Desktop/images/01122025/14/29/image_01122025_14_29_35_10696.jpg
/home/pi/Desktop/images/01122025/14/29/image_01122025_14_29_45_9713.jpg
/home/pi/Desktop/images/01122025/14/29/image_01122025_14_29_54_9625.jpg
/home/pi/Desktop/images/01122025/14/30/image_01122025_14_30_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.7740826606750488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 16:30:12.479314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_27_2618.jpg', '/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_31_3579.jpg', '/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_33_2591.jpg', '/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_37_3589.jpg', '/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_39_2624.jpg', '/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_42_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_27_2618.jpg
/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_31_3579.jpg
/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_33_2591.jpg
/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_37_3589.jpg
/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_39_2624.jpg
/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_42_2592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397240715","1397240712","1397240722","1397240725","1397240719","1397240728"],"photo_ids_order":["1397240712","1397240715","1397240719","1397240722","1397240725","1397240728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/789d43e5158c3cece9480c9211ff8864.jpg","text":"TemporaryFile(/tmp/multipartBody5962761874638976690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603074116,"filename":"image_25112025_23_00_31_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/1/d583c21f7d730cef4d1e99aa22eb5b5e.jpg","text":"TemporaryFile(/tmp/multipartBody8374672892048658131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603074116,"filename":"image_25112025_23_00_27_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4dcda566b7e2827cebd98896e9b954ee.jpg","text":"TemporaryFile(/tmp/multipartBody1530000853120816490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603074116,"filename":"image_25112025_23_00_37_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/1/fca997bcd9dfd22546c3e426ae72f192.jpg","text":"TemporaryFile(/tmp/multipartBody346385339684040338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603074116,"filename":"image_25112025_23_00_39_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/1/1faf74dcf85bf3d8509bfd786674b1d6.jpg","text":"TemporaryFile(/tmp/multipartBody8630379116195074398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603074116,"filename":"image_25112025_23_00_33_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/1/372e0619c3431969d4ec95bc122d94d6.jpg","text":"TemporaryFile(/tmp/multipartBody5387786564602383835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603074116,"filename":"image_25112025_23_00_42_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397240719","file1":"1397240715","file0":"1397240712","file4":"1397240725","file5":"1397240728","file3":"1397240722"},"map_files_photo_id_array":[{"photo_id":"1397240728","filename":"file5"},{"photo_id":"1397240719","filename":"file2"},{"photo_id":"1397240725","filename":"file4"},{"photo_id":"1397240715","filename":"file1"},{"photo_id":"1397240712","filename":"file0"},{"photo_id":"1397240722","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397240715":["hashtag1","hashtag2"]},{"1397240712":["hashtag1","hashtag2"]},{"1397240722":["hashtag1","hashtag2"]},{"1397240725":["hashtag1","hashtag2"]},{"1397240719":["hashtag1","hashtag2"]},{"1397240728":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397240715, 1397240712, 1397240722, 1397240725, 1397240719, 1397240728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.46694493293762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:31:03.065999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/29/image_01122025_14_29_14_9824.jpg', '/home/pi/Desktop/images/01122025/14/29/image_01122025_14_29_24_9793.jpg', '/home/pi/Desktop/images/01122025/14/29/image_01122025_14_29_35_10696.jpg', '/home/pi/Desktop/images/01122025/14/29/image_01122025_14_29_45_9713.jpg', '/home/pi/Desktop/images/01122025/14/29/image_01122025_14_29_54_9625.jpg', '/home/pi/Desktop/images/01122025/14/30/image_01122025_14_30_14_10056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/29/image_01122025_14_29_14_9824.jpg
/home/pi/Desktop/images/01122025/14/29/image_01122025_14_29_24_9793.jpg
/home/pi/Desktop/images/01122025/14/29/image_01122025_14_29_35_10696.jpg
/home/pi/Desktop/images/01122025/14/29/image_01122025_14_29_45_9713.jpg
/home/pi/Desktop/images/01122025/14/29/image_01122025_14_29_54_9625.jpg
/home/pi/Desktop/images/01122025/14/30/image_01122025_14_30_14_10056.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397240745","1397240739","1397240748","1397240742","1397240736","1397240737"],"photo_ids_order":["1397240736","1397240737","1397240739","1397240742","1397240745","1397240748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/22e58e14f44be15144bca4f4480dfd00.jpg","text":"TemporaryFile(/tmp/multipartBody5342453554838173975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603123857,"filename":"image_01122025_14_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/1/0bcded6adbeb42abc7d6c490a097c833.jpg","text":"TemporaryFile(/tmp/multipartBody2852425895399185277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603123857,"filename":"image_01122025_14_29_35_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0359e71eaefb483d4af107c80406e29e.jpg","text":"TemporaryFile(/tmp/multipartBody8179132284295789407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603123857,"filename":"image_01122025_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/1/28e2880ccb5b9485183dcf6f9f8a2cc2.jpg","text":"TemporaryFile(/tmp/multipartBody466064985368611533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603123857,"filename":"image_01122025_14_29_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/1/cce35621b4d346ee5db1a694c9407f3d.jpg","text":"TemporaryFile(/tmp/multipartBody7827857119907934752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603123857,"filename":"image_01122025_14_29_14_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d59f0969c837ee9894571fab58a863c3.jpg","text":"TemporaryFile(/tmp/multipartBody7994520725914159530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603123857,"filename":"image_01122025_14_29_24_9793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397240739","file1":"1397240737","file0":"1397240736","file4":"1397240745","file5":"1397240748","file3":"1397240742"},"map_files_photo_id_array":[{"photo_id":"1397240748","filename":"file5"},{"photo_id":"1397240739","filename":"file2"},{"photo_id":"1397240745","filename":"file4"},{"photo_id":"1397240737","filename":"file1"},{"photo_id":"1397240736","filename":"file0"},{"photo_id":"1397240742","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397240745":["hashtag1","hashtag2"]},{"1397240739":["hashtag1","hashtag2"]},{"1397240748":["hashtag1","hashtag2"]},{"1397240742":["hashtag1","hashtag2"]},{"1397240736":["hashtag1","hashtag2"]},{"1397240737":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397240745, 1397240739, 1397240748, 1397240742, 1397240736, 1397240737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.260966062545776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:32:02.323462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/30/image_01122025_14_30_25_10661.jpg', '/home/pi/Desktop/images/01122025/14/30/image_01122025_14_30_35_9924.jpg', '/home/pi/Desktop/images/01122025/14/30/image_01122025_14_30_45_9633.jpg', '/home/pi/Desktop/images/01122025/14/30/image_01122025_14_30_54_9769.jpg', '/home/pi/Desktop/images/01122025/14/30/image_01122025_14_31_05_10741.jpg', '/home/pi/Desktop/images/01122025/14/31/image_01122025_14_31_15_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/30/image_01122025_14_30_25_10661.jpg
/home/pi/Desktop/images/01122025/14/30/image_01122025_14_30_35_9924.jpg
/home/pi/Desktop/images/01122025/14/30/image_01122025_14_30_45_9633.jpg
/home/pi/Desktop/images/01122025/14/30/image_01122025_14_30_54_9769.jpg
/home/pi/Desktop/images/01122025/14/30/image_01122025_14_31_05_10741.jpg
/home/pi/Desktop/images/01122025/14/31/image_01122025_14_31_15_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397240757","1397240760","1397240756","1397240791","1397240752","1397240758"],"photo_ids_order":["1397240752","1397240756","1397240757","1397240758","1397240760","1397240791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/46602cb67ec1384443f47e1c99707479.jpg","text":"TemporaryFile(/tmp/multipartBody935497199885246447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603183014,"filename":"image_01122025_14_30_45_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b380390c3e5855b2c4911874789f5860.jpg","text":"TemporaryFile(/tmp/multipartBody1844463576801929101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603183014,"filename":"image_01122025_14_31_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/1/5c5d99326380c34e2e201b46dc58d3e9.jpg","text":"TemporaryFile(/tmp/multipartBody1217246517858499599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603183014,"filename":"image_01122025_14_30_35_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/1/39f85df341116266044ed09a9b9d49c3.jpg","text":"TemporaryFile(/tmp/multipartBody8537838534176319829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603183014,"filename":"image_01122025_14_31_15_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7ce06614093f0e4263e63887c0f2e9a1.jpg","text":"TemporaryFile(/tmp/multipartBody4279515678380574014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603183014,"filename":"image_01122025_14_30_25_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0b20c4e1f079f2679ae105127f8fc0c2.jpg","text":"TemporaryFile(/tmp/multipartBody710408243788192546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603183014,"filename":"image_01122025_14_30_54_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397240757","file1":"1397240756","file0":"1397240752","file4":"1397240760","file5":"1397240791","file3":"1397240758"},"map_files_photo_id_array":[{"photo_id":"1397240791","filename":"file5"},{"photo_id":"1397240757","filename":"file2"},{"photo_id":"1397240760","filename":"file4"},{"photo_id":"1397240756","filename":"file1"},{"photo_id":"1397240752","filename":"file0"},{"photo_id":"1397240758","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397240757":["hashtag1","hashtag2"]},{"1397240760":["hashtag1","hashtag2"]},{"1397240756":["hashtag1","hashtag2"]},{"1397240791":["hashtag1","hashtag2"]},{"1397240752":["hashtag1","hashtag2"]},{"1397240758":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397240757, 1397240760, 1397240756, 1397240791, 1397240752, 1397240758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53916096687317 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 16:32:41.932376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_49_2791.jpg', '/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_52_3813.jpg', '/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_55_2694.jpg', '/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_58_2865.jpg', '/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_01_2702.jpg', '/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_05_3762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_49_2791.jpg
/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_52_3813.jpg
/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_55_2694.jpg
/home/pi/Desktop/images/31102025/14/41/image_31102025_14_41_58_2865.jpg
/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_01_2702.jpg
/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_05_3762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397240799","1397240802","1397240804","1397240801","1397240803","1397240806"],"photo_ids_order":["1397240799","1397240801","1397240802","1397240803","1397240804","1397240806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/332a5edc7b907624afe5a5b9ffe5383c.jpg","text":"TemporaryFile(/tmp/multipartBody2636602989110857555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603224437,"filename":"image_31102025_14_41_49_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/1/53afd1242eb4bce9483138077824062a.jpg","text":"TemporaryFile(/tmp/multipartBody3962887923222231726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603224437,"filename":"image_31102025_14_41_55_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/1/1c2706c65352fd6084cc366988b488f8.jpg","text":"TemporaryFile(/tmp/multipartBody5564050164897324298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603224437,"filename":"image_31102025_14_42_01_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/aedc92e8d759001fff2562f0405336c3.jpg","text":"TemporaryFile(/tmp/multipartBody5880900414377155449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603224437,"filename":"image_31102025_14_41_52_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/1/af4f241693547578c1d008e6ca44c87a.jpg","text":"TemporaryFile(/tmp/multipartBody8379063918823774790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603224437,"filename":"image_31102025_14_41_58_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/1/99e43b4d7a9996c92d77a70770c424af.jpg","text":"TemporaryFile(/tmp/multipartBody7158630421204218733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603224437,"filename":"image_31102025_14_42_05_3762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397240802","file1":"1397240801","file0":"1397240799","file4":"1397240804","file5":"1397240806","file3":"1397240803"},"map_files_photo_id_array":[{"photo_id":"1397240806","filename":"file5"},{"photo_id":"1397240802","filename":"file2"},{"photo_id":"1397240804","filename":"file4"},{"photo_id":"1397240801","filename":"file1"},{"photo_id":"1397240799","filename":"file0"},{"photo_id":"1397240803","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397240799":["hashtag1","hashtag2"]},{"1397240802":["hashtag1","hashtag2"]},{"1397240804":["hashtag1","hashtag2"]},{"1397240801":["hashtag1","hashtag2"]},{"1397240803":["hashtag1","hashtag2"]},{"1397240806":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397240799, 1397240802, 1397240804, 1397240801, 1397240803, 1397240806)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.61498737335205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 16:33:32.035435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_46_3610.jpg', '/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_48_2526.jpg', '/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_52_3520.jpg', '/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_54_2550.jpg', '/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_57_2754.jpg', '/home/pi/Desktop/images/25112025/23/00/image_25112025_23_01_01_3727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_46_3610.jpg
/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_48_2526.jpg
/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_52_3520.jpg
/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_54_2550.jpg
/home/pi/Desktop/images/25112025/23/00/image_25112025_23_00_57_2754.jpg
/home/pi/Desktop/images/25112025/23/00/image_25112025_23_01_01_3727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397240820","1397240814","1397240823","1397240817","1397240825","1397240824"],"photo_ids_order":["1397240814","1397240817","1397240820","1397240823","1397240824","1397240825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9d06e8ad752343b433e20a7be851953e.jpg","text":"TemporaryFile(/tmp/multipartBody4669090823770624711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603273707,"filename":"image_25112025_23_00_52_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/1/7f8c36971b85c7c6cdbd6737ce81bf23.jpg","text":"TemporaryFile(/tmp/multipartBody6654874815211537392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603273707,"filename":"image_25112025_23_00_46_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/1/a0496551655639998dc74119d985d1b4.jpg","text":"TemporaryFile(/tmp/multipartBody344999100916774085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603273707,"filename":"image_25112025_23_00_54_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/1/2331439b3eb088f7daba98170d65be56.jpg","text":"TemporaryFile(/tmp/multipartBody3878981305922574872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603273707,"filename":"image_25112025_23_00_48_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d7ce2a8aad4deff7f10e25b13ca24225.jpg","text":"TemporaryFile(/tmp/multipartBody574665445489003142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603273707,"filename":"image_25112025_23_01_01_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/1/60ef2581471f33b265c2b2c9a379726a.jpg","text":"TemporaryFile(/tmp/multipartBody2983494976875563959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603273707,"filename":"image_25112025_23_00_57_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397240820","file1":"1397240817","file0":"1397240814","file4":"1397240824","file5":"1397240825","file3":"1397240823"},"map_files_photo_id_array":[{"photo_id":"1397240825","filename":"file5"},{"photo_id":"1397240820","filename":"file2"},{"photo_id":"1397240824","filename":"file4"},{"photo_id":"1397240817","filename":"file1"},{"photo_id":"1397240814","filename":"file0"},{"photo_id":"1397240823","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397240820":["hashtag1","hashtag2"]},{"1397240814":["hashtag1","hashtag2"]},{"1397240823":["hashtag1","hashtag2"]},{"1397240817":["hashtag1","hashtag2"]},{"1397240825":["hashtag1","hashtag2"]},{"1397240824":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397240820, 1397240814, 1397240823, 1397240817, 1397240825, 1397240824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81466341018677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 16:34:12.342820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_03_2688.jpg', '/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_06_2738.jpg', '/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_10_3696.jpg', '/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_13_2612.jpg', '/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_15_2686.jpg', '/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_19_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_03_2688.jpg
/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_06_2738.jpg
/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_10_3696.jpg
/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_13_2612.jpg
/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_15_2686.jpg
/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_19_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397240826","1397240829","1397240833","1397240836","1397240839","1397240827"],"photo_ids_order":["1397240826","1397240827","1397240829","1397240833","1397240836","1397240839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c5d1668015d02f6ed7f26d4b6b9a9b03.jpg","text":"TemporaryFile(/tmp/multipartBody1754769843761404597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603313892,"filename":"image_25112025_23_01_03_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/1/7f649cf19f81188ef8bb552e04c74569.jpg","text":"TemporaryFile(/tmp/multipartBody2354206556517739488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603313892,"filename":"image_25112025_23_01_10_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/1/90b0959cd7b409631d0d077b1627c14e.jpg","text":"TemporaryFile(/tmp/multipartBody7287464552225725563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603313892,"filename":"image_25112025_23_01_13_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/1/221c776b61927964d2b42878fe833ca0.jpg","text":"TemporaryFile(/tmp/multipartBody8024477498754930415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603313892,"filename":"image_25112025_23_01_15_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/68a67e3b26de3f46f8937b50ff143fe1.jpg","text":"TemporaryFile(/tmp/multipartBody4358949401628444618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603313892,"filename":"image_25112025_23_01_19_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5e80b26fd3d8dfde795a0722fa11c845.jpg","text":"TemporaryFile(/tmp/multipartBody8980930969957186683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603313892,"filename":"image_25112025_23_01_06_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397240829","file1":"1397240827","file0":"1397240826","file4":"1397240836","file5":"1397240839","file3":"1397240833"},"map_files_photo_id_array":[{"photo_id":"1397240839","filename":"file5"},{"photo_id":"1397240829","filename":"file2"},{"photo_id":"1397240836","filename":"file4"},{"photo_id":"1397240827","filename":"file1"},{"photo_id":"1397240826","filename":"file0"},{"photo_id":"1397240833","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397240826":["hashtag1","hashtag2"]},{"1397240829":["hashtag1","hashtag2"]},{"1397240833":["hashtag1","hashtag2"]},{"1397240836":["hashtag1","hashtag2"]},{"1397240839":["hashtag1","hashtag2"]},{"1397240827":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397240826, 1397240829, 1397240833, 1397240836, 1397240839, 1397240827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.894524812698364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:35:03.323209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/31/image_01122025_14_31_24_9694.jpg', '/home/pi/Desktop/images/01122025/14/31/image_01122025_14_31_35_10727.jpg', '/home/pi/Desktop/images/01122025/14/31/image_01122025_14_31_45_9822.jpg', '/home/pi/Desktop/images/01122025/14/31/image_01122025_14_31_55_9652.jpg', '/home/pi/Desktop/images/01122025/14/31/image_01122025_14_32_05_10619.jpg', '/home/pi/Desktop/images/01122025/14/32/image_01122025_14_32_15_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/31/image_01122025_14_31_24_9694.jpg
/home/pi/Desktop/images/01122025/14/31/image_01122025_14_31_35_10727.jpg
/home/pi/Desktop/images/01122025/14/31/image_01122025_14_31_45_9822.jpg
/home/pi/Desktop/images/01122025/14/31/image_01122025_14_31_55_9652.jpg
/home/pi/Desktop/images/01122025/14/31/image_01122025_14_32_05_10619.jpg
/home/pi/Desktop/images/01122025/14/32/image_01122025_14_32_15_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397240856","1397240850","1397240853","1397240846","1397240851","1397240848"],"photo_ids_order":["1397240846","1397240848","1397240850","1397240851","1397240853","1397240856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b04ab9f19d5d94e02b1e283a56e2a0a4.jpg","text":"TemporaryFile(/tmp/multipartBody6482685685136432154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603364057,"filename":"image_01122025_14_32_15_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/64a50bff226512bdffcb4c04e7bdd5d6.jpg","text":"TemporaryFile(/tmp/multipartBody8521138811202502309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603364057,"filename":"image_01122025_14_31_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/1/62a9bd72383f14ff841e8809d667e959.jpg","text":"TemporaryFile(/tmp/multipartBody3265774722597791331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603364057,"filename":"image_01122025_14_32_05_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/25530dd6f3fca859f5814280d2c9c55a.jpg","text":"TemporaryFile(/tmp/multipartBody4716695500727008448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603364057,"filename":"image_01122025_14_31_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/1/a6df4f84774344654b92685ce1b0dfbe.jpg","text":"TemporaryFile(/tmp/multipartBody3232615817367962611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603364057,"filename":"image_01122025_14_31_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/1/a7ad27f1b814c35e3bef575ad312f307.jpg","text":"TemporaryFile(/tmp/multipartBody1409167651537760942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603364057,"filename":"image_01122025_14_31_35_10727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397240850","file1":"1397240848","file0":"1397240846","file4":"1397240853","file5":"1397240856","file3":"1397240851"},"map_files_photo_id_array":[{"photo_id":"1397240856","filename":"file5"},{"photo_id":"1397240850","filename":"file2"},{"photo_id":"1397240853","filename":"file4"},{"photo_id":"1397240848","filename":"file1"},{"photo_id":"1397240846","filename":"file0"},{"photo_id":"1397240851","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397240856":["hashtag1","hashtag2"]},{"1397240850":["hashtag1","hashtag2"]},{"1397240853":["hashtag1","hashtag2"]},{"1397240846":["hashtag1","hashtag2"]},{"1397240851":["hashtag1","hashtag2"]},{"1397240848":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397240856, 1397240850, 1397240853, 1397240846, 1397240851, 1397240848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.362305641174316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 16:35:42.638757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_07_2799.jpg', '/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_10_2864.jpg', '/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_13_2596.jpg', '/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_16_2815.jpg', '/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_19_3762.jpg', '/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_22_2872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_07_2799.jpg
/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_10_2864.jpg
/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_13_2596.jpg
/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_16_2815.jpg
/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_19_3762.jpg
/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_22_2872.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397240871","1397240868","1397240873","1397240870","1397240866","1397240869"],"photo_ids_order":["1397240866","1397240868","1397240869","1397240870","1397240871","1397240873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0baff8c18348f106ad15159be60cb7e6.jpg","text":"TemporaryFile(/tmp/multipartBody315689968250534274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603405152,"filename":"image_31102025_14_42_19_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/1/4be2d2b9da9bc1bbdef7957c7984ba59.jpg","text":"TemporaryFile(/tmp/multipartBody3230332707364661165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603405152,"filename":"image_31102025_14_42_10_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/1/21136c5f506dbdf9bcc114d5905f157a.jpg","text":"TemporaryFile(/tmp/multipartBody1463160319374925185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603405152,"filename":"image_31102025_14_42_22_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/1/acef69e5a15187a60aec2a8785cc48ea.jpg","text":"TemporaryFile(/tmp/multipartBody3724559217899477148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603405152,"filename":"image_31102025_14_42_16_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9aca7e12ca1418900285adac348411e9.jpg","text":"TemporaryFile(/tmp/multipartBody6116962325537848029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603405152,"filename":"image_31102025_14_42_07_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e19c4dfc56fb42b972e510eaae259b1b.jpg","text":"TemporaryFile(/tmp/multipartBody8378855857183325735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603405152,"filename":"image_31102025_14_42_13_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397240869","file1":"1397240868","file0":"1397240866","file4":"1397240871","file5":"1397240873","file3":"1397240870"},"map_files_photo_id_array":[{"photo_id":"1397240873","filename":"file5"},{"photo_id":"1397240869","filename":"file2"},{"photo_id":"1397240871","filename":"file4"},{"photo_id":"1397240868","filename":"file1"},{"photo_id":"1397240866","filename":"file0"},{"photo_id":"1397240870","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397240871":["hashtag1","hashtag2"]},{"1397240868":["hashtag1","hashtag2"]},{"1397240873":["hashtag1","hashtag2"]},{"1397240870":["hashtag1","hashtag2"]},{"1397240866":["hashtag1","hashtag2"]},{"1397240869":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397240871, 1397240868, 1397240873, 1397240870, 1397240866, 1397240869)","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 = 1397240869 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_13_2596.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1397240869 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_13_2596.jpg";
uploaded 6 photos
time to upload: 63.00649404525757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:37:02.694607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 16:37:12.083698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 16:37:32.045516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 16:37:42.014483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 16:38:02.646128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 16:38:22.216335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 16:38:42.239336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 16:39:26.545666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/32/image_01122025_14_32_25_9805.jpg', '/home/pi/Desktop/images/01122025/14/32/image_01122025_14_32_34_9616.jpg', '/home/pi/Desktop/images/01122025/14/32/image_01122025_14_32_45_10822.jpg', '/home/pi/Desktop/images/01122025/14/32/image_01122025_14_32_55_9555.jpg', '/home/pi/Desktop/images/01122025/14/32/image_01122025_14_33_04_9784.jpg', '/home/pi/Desktop/images/01122025/14/33/image_01122025_14_33_15_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/32/image_01122025_14_32_25_9805.jpg
/home/pi/Desktop/images/01122025/14/32/image_01122025_14_32_34_9616.jpg
/home/pi/Desktop/images/01122025/14/32/image_01122025_14_32_45_10822.jpg
/home/pi/Desktop/images/01122025/14/32/image_01122025_14_32_55_9555.jpg
/home/pi/Desktop/images/01122025/14/32/image_01122025_14_33_04_9784.jpg
/home/pi/Desktop/images/01122025/14/33/image_01122025_14_33_15_10670.jpg
 val : 1 : upload photos 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":["1397241083","1397241092","1397241086","1397241095","1397241089","1397241094"],"photo_ids_order":["1397241083","1397241086","1397241089","1397241092","1397241094","1397241095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2bab5d640f887886a339c6e8c4c4055d.jpg","text":"TemporaryFile(/tmp/multipartBody6735648581582721875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603632033,"filename":"image_01122025_14_32_25_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fadf5c4faeef96f51998c2e0990809dc.jpg","text":"TemporaryFile(/tmp/multipartBody984634473889168159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603632033,"filename":"image_01122025_14_32_55_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/40d2463e071fa8aa6ab2e4aac65f94dd.jpg","text":"TemporaryFile(/tmp/multipartBody3239085593616912713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603632033,"filename":"image_01122025_14_32_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/1/cdc99004fa87f786105e182bd8f0f7fa.jpg","text":"TemporaryFile(/tmp/multipartBody8573478494976535360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603632033,"filename":"image_01122025_14_33_15_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2e7b18abca6c899a080be19c4d038e13.jpg","text":"TemporaryFile(/tmp/multipartBody6343257478667958496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603632033,"filename":"image_01122025_14_32_45_10822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bef3f6b4f1b44dda2ed12a0bdeba79a2.jpg","text":"TemporaryFile(/tmp/multipartBody8819272892844630040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603632033,"filename":"image_01122025_14_33_04_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241089","file1":"1397241086","file0":"1397241083","file4":"1397241094","file5":"1397241095","file3":"1397241092"},"map_files_photo_id_array":[{"photo_id":"1397241095","filename":"file5"},{"photo_id":"1397241089","filename":"file2"},{"photo_id":"1397241094","filename":"file4"},{"photo_id":"1397241086","filename":"file1"},{"photo_id":"1397241083","filename":"file0"},{"photo_id":"1397241092","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397241083":["hashtag1","hashtag2"]},{"1397241092":["hashtag1","hashtag2"]},{"1397241086":["hashtag1","hashtag2"]},{"1397241095":["hashtag1","hashtag2"]},{"1397241089":["hashtag1","hashtag2"]},{"1397241094":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397241083, 1397241092, 1397241086, 1397241095, 1397241089, 1397241094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.252474308013916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 16:40:12.682962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_21_2544.jpg', '/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_24_2579.jpg', '/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_28_3794.jpg', '/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_30_2732.jpg', '/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_33_2675.jpg', '/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_37_3641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_21_2544.jpg
/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_24_2579.jpg
/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_28_3794.jpg
/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_30_2732.jpg
/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_33_2675.jpg
/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_37_3641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397241098","1397241112","1397241109","1397241100","1397241103","1397241106"],"photo_ids_order":["1397241098","1397241100","1397241103","1397241106","1397241109","1397241112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/00d62c549bdba76165515e77f8274b8e.jpg","text":"TemporaryFile(/tmp/multipartBody5452523372196571119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603674254,"filename":"image_25112025_23_01_21_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9f19e63b4f0e6f47cb216359817cbd6f.jpg","text":"TemporaryFile(/tmp/multipartBody8821068788044144632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603674254,"filename":"image_25112025_23_01_37_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/1/f0ba1e449544856a710caa5072ccd235.jpg","text":"TemporaryFile(/tmp/multipartBody4896667601763625247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603674254,"filename":"image_25112025_23_01_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/1/326f0960ea0139900414c995080e3fc1.jpg","text":"TemporaryFile(/tmp/multipartBody6895170273169155086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603674254,"filename":"image_25112025_23_01_24_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9a63491c72eb171b0c9ea03932f33bfa.jpg","text":"TemporaryFile(/tmp/multipartBody4219312666929411654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603674254,"filename":"image_25112025_23_01_28_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/1/2e194490692568e4d7022dd7a645b552.jpg","text":"TemporaryFile(/tmp/multipartBody6212062888149661682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603674254,"filename":"image_25112025_23_01_30_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241103","file1":"1397241100","file0":"1397241098","file4":"1397241109","file5":"1397241112","file3":"1397241106"},"map_files_photo_id_array":[{"photo_id":"1397241112","filename":"file5"},{"photo_id":"1397241103","filename":"file2"},{"photo_id":"1397241109","filename":"file4"},{"photo_id":"1397241100","filename":"file1"},{"photo_id":"1397241098","filename":"file0"},{"photo_id":"1397241106","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397241098":["hashtag1","hashtag2"]},{"1397241112":["hashtag1","hashtag2"]},{"1397241109":["hashtag1","hashtag2"]},{"1397241100":["hashtag1","hashtag2"]},{"1397241103":["hashtag1","hashtag2"]},{"1397241106":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397241098, 1397241112, 1397241109, 1397241100, 1397241103, 1397241106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48598861694336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:41:02.717255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/33/image_01122025_14_33_25_9755.jpg', '/home/pi/Desktop/images/01122025/14/33/image_01122025_14_33_35_9833.jpg', '/home/pi/Desktop/images/01122025/14/33/image_01122025_14_33_44_9543.jpg', '/home/pi/Desktop/images/01122025/14/33/image_01122025_14_33_55_10653.jpg', '/home/pi/Desktop/images/01122025/14/33/image_01122025_14_34_05_9754.jpg', '/home/pi/Desktop/images/01122025/14/34/image_01122025_14_34_14_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/33/image_01122025_14_33_25_9755.jpg
/home/pi/Desktop/images/01122025/14/33/image_01122025_14_33_35_9833.jpg
/home/pi/Desktop/images/01122025/14/33/image_01122025_14_33_44_9543.jpg
/home/pi/Desktop/images/01122025/14/33/image_01122025_14_33_55_10653.jpg
/home/pi/Desktop/images/01122025/14/33/image_01122025_14_34_05_9754.jpg
/home/pi/Desktop/images/01122025/14/34/image_01122025_14_34_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":["1397241123","1397241140","1397241128","1397241125","1397241121","1397241118"],"photo_ids_order":["1397241118","1397241121","1397241123","1397241125","1397241128","1397241140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7accbc385c32dae6c2fa341a6f0bef80.jpg","text":"TemporaryFile(/tmp/multipartBody8469913933136075210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603723496,"filename":"image_01122025_14_33_44_9543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/85419ba446199f00f988cf68b43beebc.jpg","text":"TemporaryFile(/tmp/multipartBody3739127743856805241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603723496,"filename":"image_01122025_14_34_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/1/c3d0ec2b7e439ebdbd1860c08d748562.jpg","text":"TemporaryFile(/tmp/multipartBody3307292419291395166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603723496,"filename":"image_01122025_14_34_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/1/905d0c8bd3dabf51a048b13464fd5df6.jpg","text":"TemporaryFile(/tmp/multipartBody4160676018450921305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603723496,"filename":"image_01122025_14_33_55_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b37295a95b6ce826021ede7312341a53.jpg","text":"TemporaryFile(/tmp/multipartBody6380852185867995471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603723496,"filename":"image_01122025_14_33_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/1/626d35ef48f52ff37bc63e3d57238e30.jpg","text":"TemporaryFile(/tmp/multipartBody5398592374823835999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603723496,"filename":"image_01122025_14_33_25_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241123","file1":"1397241121","file0":"1397241118","file4":"1397241128","file5":"1397241140","file3":"1397241125"},"map_files_photo_id_array":[{"photo_id":"1397241140","filename":"file5"},{"photo_id":"1397241123","filename":"file2"},{"photo_id":"1397241128","filename":"file4"},{"photo_id":"1397241121","filename":"file1"},{"photo_id":"1397241118","filename":"file0"},{"photo_id":"1397241125","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397241123":["hashtag1","hashtag2"]},{"1397241140":["hashtag1","hashtag2"]},{"1397241128":["hashtag1","hashtag2"]},{"1397241125":["hashtag1","hashtag2"]},{"1397241121":["hashtag1","hashtag2"]},{"1397241118":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397241123, 1397241140, 1397241128, 1397241125, 1397241121, 1397241118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.337177753448486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 16:41:41.994325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_07_2799.jpg', '/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_10_2864.jpg', '/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_13_2596.jpg', '/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_16_2815.jpg', '/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_19_3762.jpg', '/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_22_2872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_07_2799.jpg
/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_10_2864.jpg
/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_13_2596.jpg
/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_16_2815.jpg
/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_19_3762.jpg
/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_22_2872.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397241182","1397241179","1397241181","1397241178","1397241180","1397241183"],"photo_ids_order":["1397241178","1397241179","1397241180","1397241181","1397241182","1397241183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ead15a650b208f16bb4fca41132a6482.jpg","text":"TemporaryFile(/tmp/multipartBody4414049706730727433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603764403,"filename":"image_31102025_14_42_19_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/1/9634fcf08bb4b6ef02484c51d1fb6c72.jpg","text":"TemporaryFile(/tmp/multipartBody6103926383463864588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603764403,"filename":"image_31102025_14_42_10_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/1/676a6de66ac3ed8cc66c052f33bbf0e1.jpg","text":"TemporaryFile(/tmp/multipartBody8099796073093331735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603764403,"filename":"image_31102025_14_42_16_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ad78ae84ff17a49f552ae5e06831c180.jpg","text":"TemporaryFile(/tmp/multipartBody2115703677440501499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603764403,"filename":"image_31102025_14_42_07_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d05b37359a002a389af30d19516c2e61.jpg","text":"TemporaryFile(/tmp/multipartBody3631158624462959891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603764403,"filename":"image_31102025_14_42_13_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a937fec57184e36b09a3baba8012e7dc.jpg","text":"TemporaryFile(/tmp/multipartBody7709778654674636260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603764403,"filename":"image_31102025_14_42_22_2872.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241180","file1":"1397241179","file0":"1397241178","file4":"1397241182","file5":"1397241183","file3":"1397241181"},"map_files_photo_id_array":[{"photo_id":"1397241183","filename":"file5"},{"photo_id":"1397241180","filename":"file2"},{"photo_id":"1397241182","filename":"file4"},{"photo_id":"1397241179","filename":"file1"},{"photo_id":"1397241178","filename":"file0"},{"photo_id":"1397241181","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397241182":["hashtag1","hashtag2"]},{"1397241179":["hashtag1","hashtag2"]},{"1397241181":["hashtag1","hashtag2"]},{"1397241178":["hashtag1","hashtag2"]},{"1397241180":["hashtag1","hashtag2"]},{"1397241183":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397241182, 1397241179, 1397241181, 1397241178, 1397241180, 1397241183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55697226524353 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 16:42:22.188611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/34/image_01122025_14_34_25_10825.jpg', '/home/pi/Desktop/images/01122025/14/34/image_01122025_14_34_35_9552.jpg', '/home/pi/Desktop/images/01122025/14/34/image_01122025_14_34_45_9885.jpg', '/home/pi/Desktop/images/01122025/14/34/image_01122025_14_34_54_9785.jpg', '/home/pi/Desktop/images/01122025/14/34/image_01122025_14_35_05_10645.jpg', '/home/pi/Desktop/images/01122025/14/35/image_01122025_14_35_15_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/34/image_01122025_14_34_25_10825.jpg
/home/pi/Desktop/images/01122025/14/34/image_01122025_14_34_35_9552.jpg
/home/pi/Desktop/images/01122025/14/34/image_01122025_14_34_45_9885.jpg
/home/pi/Desktop/images/01122025/14/34/image_01122025_14_34_54_9785.jpg
/home/pi/Desktop/images/01122025/14/34/image_01122025_14_35_05_10645.jpg
/home/pi/Desktop/images/01122025/14/35/image_01122025_14_35_15_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":["1397241201","1397241194","1397241205","1397241208","1397241198","1397241189"],"photo_ids_order":["1397241189","1397241194","1397241198","1397241201","1397241205","1397241208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/757970cdb429595c77f7ce4ee7a95f13.jpg","text":"TemporaryFile(/tmp/multipartBody4766048959929817183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603802905,"filename":"image_01122025_14_34_54_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/61e016652868dcd01af9b09df1890e02.jpg","text":"TemporaryFile(/tmp/multipartBody4009162864074914420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603802905,"filename":"image_01122025_14_34_35_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2f45ea990cec20530fd7fd2890806e62.jpg","text":"TemporaryFile(/tmp/multipartBody8550356478470327795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603802905,"filename":"image_01122025_14_35_05_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bbef995ca98b52ba58c7407e5f23b0ad.jpg","text":"TemporaryFile(/tmp/multipartBody8423153816187469760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603802905,"filename":"image_01122025_14_35_15_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/1/6365fe2fc30160b8cd18df0f984bfb5f.jpg","text":"TemporaryFile(/tmp/multipartBody1997217141126081331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603802905,"filename":"image_01122025_14_34_45_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/1/73bb88684da23b0b0dce0e3bf4ec637f.jpg","text":"TemporaryFile(/tmp/multipartBody8859644457514133877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603802905,"filename":"image_01122025_14_34_25_10825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241198","file1":"1397241194","file0":"1397241189","file4":"1397241205","file5":"1397241208","file3":"1397241201"},"map_files_photo_id_array":[{"photo_id":"1397241208","filename":"file5"},{"photo_id":"1397241198","filename":"file2"},{"photo_id":"1397241205","filename":"file4"},{"photo_id":"1397241194","filename":"file1"},{"photo_id":"1397241189","filename":"file0"},{"photo_id":"1397241201","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397241201":["hashtag1","hashtag2"]},{"1397241194":["hashtag1","hashtag2"]},{"1397241205":["hashtag1","hashtag2"]},{"1397241208":["hashtag1","hashtag2"]},{"1397241198":["hashtag1","hashtag2"]},{"1397241189":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397241201, 1397241194, 1397241205, 1397241208, 1397241198, 1397241189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98088240623474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:43:03.078074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/35/image_01122025_14_35_25_9881.jpg', '/home/pi/Desktop/images/01122025/14/35/image_01122025_14_35_35_10604.jpg', '/home/pi/Desktop/images/01122025/14/35/image_01122025_14_35_45_9931.jpg', '/home/pi/Desktop/images/01122025/14/35/image_01122025_14_35_55_9553.jpg', '/home/pi/Desktop/images/01122025/14/35/image_01122025_14_36_04_9649.jpg', '/home/pi/Desktop/images/01122025/14/36/image_01122025_14_36_15_10561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/35/image_01122025_14_35_25_9881.jpg
/home/pi/Desktop/images/01122025/14/35/image_01122025_14_35_35_10604.jpg
/home/pi/Desktop/images/01122025/14/35/image_01122025_14_35_45_9931.jpg
/home/pi/Desktop/images/01122025/14/35/image_01122025_14_35_55_9553.jpg
/home/pi/Desktop/images/01122025/14/35/image_01122025_14_36_04_9649.jpg
/home/pi/Desktop/images/01122025/14/36/image_01122025_14_36_15_10561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397241216","1397241219","1397241210","1397241224","1397241212","1397241214"],"photo_ids_order":["1397241210","1397241212","1397241214","1397241216","1397241219","1397241224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ed128519cd88f503806bf3b8d1d4be64.jpg","text":"TemporaryFile(/tmp/multipartBody8845481198054831486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603843809,"filename":"image_01122025_14_35_55_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d894d10761d12724f6500a117b905d77.jpg","text":"TemporaryFile(/tmp/multipartBody5115615626707233270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603843809,"filename":"image_01122025_14_36_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/1/b3851e6cac83f6cc137729c0f2ebd6c4.jpg","text":"TemporaryFile(/tmp/multipartBody2964978353153051629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603843809,"filename":"image_01122025_14_35_25_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/1/c9d47b39c5a8a0f25f1488b968ca4345.jpg","text":"TemporaryFile(/tmp/multipartBody832756645562455874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603843809,"filename":"image_01122025_14_36_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/1/5838d14f3feac8915f3521549d14f502.jpg","text":"TemporaryFile(/tmp/multipartBody2362632338240199426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603843809,"filename":"image_01122025_14_35_35_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b183d4553cf2f541cf2999cf626dfccb.jpg","text":"TemporaryFile(/tmp/multipartBody4499944453316983392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603843809,"filename":"image_01122025_14_35_45_9931.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241214","file1":"1397241212","file0":"1397241210","file4":"1397241219","file5":"1397241224","file3":"1397241216"},"map_files_photo_id_array":[{"photo_id":"1397241224","filename":"file5"},{"photo_id":"1397241214","filename":"file2"},{"photo_id":"1397241219","filename":"file4"},{"photo_id":"1397241212","filename":"file1"},{"photo_id":"1397241210","filename":"file0"},{"photo_id":"1397241216","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397241216":["hashtag1","hashtag2"]},{"1397241219":["hashtag1","hashtag2"]},{"1397241210":["hashtag1","hashtag2"]},{"1397241224":["hashtag1","hashtag2"]},{"1397241212":["hashtag1","hashtag2"]},{"1397241214":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397241216, 1397241219, 1397241210, 1397241224, 1397241212, 1397241214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28839564323425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 16:43:42.350867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_25_2596.jpg', '/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_28_2744.jpg', '/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_31_3656.jpg', '/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_34_2578.jpg', '/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_37_3592.jpg', '/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_40_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_25_2596.jpg
/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_28_2744.jpg
/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_31_3656.jpg
/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_34_2578.jpg
/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_37_3592.jpg
/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_40_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":["1397241237","1397241236","1397241238","1397241232","1397241235","1397241234"],"photo_ids_order":["1397241232","1397241234","1397241235","1397241236","1397241237","1397241238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/910d243b78738bfc7d803b92df99046b.jpg","text":"TemporaryFile(/tmp/multipartBody2964472457070167063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603884885,"filename":"image_31102025_14_42_37_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/1/dcedee1ba04aac1feff7b9ec1ae5914f.jpg","text":"TemporaryFile(/tmp/multipartBody2128980369990317736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603884885,"filename":"image_31102025_14_42_34_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7ff4020ac2f8a0f8fe6c6fcb7ded8f42.jpg","text":"TemporaryFile(/tmp/multipartBody1642731599768541825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603884885,"filename":"image_31102025_14_42_40_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/1/29ac861a0445a74e4e28224128cfc296.jpg","text":"TemporaryFile(/tmp/multipartBody3755629847251498554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603884885,"filename":"image_31102025_14_42_25_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/1/ac5d19c3fb831ca73b2b0e806d77aca8.jpg","text":"TemporaryFile(/tmp/multipartBody5835747450741945495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603884885,"filename":"image_31102025_14_42_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/1/f29ab6dd84e04c23f8833a8c673b5d93.jpg","text":"TemporaryFile(/tmp/multipartBody6773070227678091463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603884885,"filename":"image_31102025_14_42_28_2744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241235","file1":"1397241234","file0":"1397241232","file4":"1397241237","file5":"1397241238","file3":"1397241236"},"map_files_photo_id_array":[{"photo_id":"1397241238","filename":"file5"},{"photo_id":"1397241235","filename":"file2"},{"photo_id":"1397241237","filename":"file4"},{"photo_id":"1397241234","filename":"file1"},{"photo_id":"1397241232","filename":"file0"},{"photo_id":"1397241236","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397241237":["hashtag1","hashtag2"]},{"1397241236":["hashtag1","hashtag2"]},{"1397241238":["hashtag1","hashtag2"]},{"1397241232":["hashtag1","hashtag2"]},{"1397241235":["hashtag1","hashtag2"]},{"1397241234":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397241237, 1397241236, 1397241238, 1397241232, 1397241235, 1397241234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.49075174331665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 16:44:22.490881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/36/image_01122025_14_36_24_9582.jpg', '/home/pi/Desktop/images/01122025/14/36/image_01122025_14_36_35_10674.jpg', '/home/pi/Desktop/images/01122025/14/36/image_01122025_14_36_45_9633.jpg', '/home/pi/Desktop/images/01122025/14/36/image_01122025_14_36_54_9537.jpg', '/home/pi/Desktop/images/01122025/14/36/image_01122025_14_37_05_10688.jpg', '/home/pi/Desktop/images/01122025/14/37/image_01122025_14_37_15_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/36/image_01122025_14_36_24_9582.jpg
/home/pi/Desktop/images/01122025/14/36/image_01122025_14_36_35_10674.jpg
/home/pi/Desktop/images/01122025/14/36/image_01122025_14_36_45_9633.jpg
/home/pi/Desktop/images/01122025/14/36/image_01122025_14_36_54_9537.jpg
/home/pi/Desktop/images/01122025/14/36/image_01122025_14_37_05_10688.jpg
/home/pi/Desktop/images/01122025/14/37/image_01122025_14_37_15_9693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397241264","1397241245","1397241256","1397241250","1397241253","1397241261"],"photo_ids_order":["1397241245","1397241250","1397241253","1397241256","1397241261","1397241264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/347189504161cbedc546ad6a4d13c21d.jpg","text":"TemporaryFile(/tmp/multipartBody4934558722169387409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603923157,"filename":"image_01122025_14_37_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/1/c6d314cface9d3b678b28a981b29785a.jpg","text":"TemporaryFile(/tmp/multipartBody3945825737138811742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603923157,"filename":"image_01122025_14_36_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/1/05870b9e1ea492760d71f3adb62a2432.jpg","text":"TemporaryFile(/tmp/multipartBody157356382778350417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603923157,"filename":"image_01122025_14_36_54_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/1/22d5d876111a76d21817d9d7a818511a.jpg","text":"TemporaryFile(/tmp/multipartBody9090852387591741259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603923157,"filename":"image_01122025_14_36_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/1/e74c6b367adba387e0690f701bfceb50.jpg","text":"TemporaryFile(/tmp/multipartBody3131485856643776949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603923157,"filename":"image_01122025_14_36_45_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f46d2fcc4a22035c93e548eaad089c20.jpg","text":"TemporaryFile(/tmp/multipartBody3736061826422910697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603923157,"filename":"image_01122025_14_37_05_10688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241253","file1":"1397241250","file0":"1397241245","file4":"1397241261","file5":"1397241264","file3":"1397241256"},"map_files_photo_id_array":[{"photo_id":"1397241264","filename":"file5"},{"photo_id":"1397241253","filename":"file2"},{"photo_id":"1397241261","filename":"file4"},{"photo_id":"1397241250","filename":"file1"},{"photo_id":"1397241245","filename":"file0"},{"photo_id":"1397241256","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397241264":["hashtag1","hashtag2"]},{"1397241245":["hashtag1","hashtag2"]},{"1397241256":["hashtag1","hashtag2"]},{"1397241250":["hashtag1","hashtag2"]},{"1397241253":["hashtag1","hashtag2"]},{"1397241261":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397241264, 1397241245, 1397241256, 1397241250, 1397241253, 1397241261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.32052230834961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:45:03.371964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/37/image_01122025_14_37_25_9854.jpg', '/home/pi/Desktop/images/01122025/14/37/image_01122025_14_37_35_10645.jpg', '/home/pi/Desktop/images/01122025/14/37/image_01122025_14_37_45_9988.jpg', '/home/pi/Desktop/images/01122025/14/37/image_01122025_14_38_04_9689.jpg', '/home/pi/Desktop/images/01122025/14/38/image_01122025_14_38_14_9875.jpg', '/home/pi/Desktop/images/01122025/14/38/image_01122025_14_38_25_10554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/37/image_01122025_14_37_25_9854.jpg
/home/pi/Desktop/images/01122025/14/37/image_01122025_14_37_35_10645.jpg
/home/pi/Desktop/images/01122025/14/37/image_01122025_14_37_45_9988.jpg
/home/pi/Desktop/images/01122025/14/37/image_01122025_14_38_04_9689.jpg
/home/pi/Desktop/images/01122025/14/38/image_01122025_14_38_14_9875.jpg
/home/pi/Desktop/images/01122025/14/38/image_01122025_14_38_25_10554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397241278","1397241266","1397241269","1397241271","1397241273","1397241282"],"photo_ids_order":["1397241266","1397241269","1397241271","1397241273","1397241278","1397241282"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/15f4e96232de0368befb9d62bbad3203.jpg","text":"TemporaryFile(/tmp/multipartBody7975390865226762945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603964114,"filename":"image_01122025_14_38_14_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d39c98a5f2614049f11cd00fd07c5946.jpg","text":"TemporaryFile(/tmp/multipartBody8728978712744523797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603964114,"filename":"image_01122025_14_37_25_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/76ba0e99d73f46f54d39a2bcee5bbac8.jpg","text":"TemporaryFile(/tmp/multipartBody8719051931475616084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603964114,"filename":"image_01122025_14_37_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/1/ca65fbc4ef018daeab745818f02ca954.jpg","text":"TemporaryFile(/tmp/multipartBody73524980664183450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603964114,"filename":"image_01122025_14_37_45_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/1/226180348b8f28dca1d5abc72ee5bd4f.jpg","text":"TemporaryFile(/tmp/multipartBody5469096090608038944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603964114,"filename":"image_01122025_14_38_04_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/596ffc1f7abcd7f61d6b6b16f76735fa.jpg","text":"TemporaryFile(/tmp/multipartBody6328091305447750038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764603964114,"filename":"image_01122025_14_38_25_10554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241271","file1":"1397241269","file0":"1397241266","file4":"1397241278","file5":"1397241282","file3":"1397241273"},"map_files_photo_id_array":[{"photo_id":"1397241282","filename":"file5"},{"photo_id":"1397241271","filename":"file2"},{"photo_id":"1397241278","filename":"file4"},{"photo_id":"1397241269","filename":"file1"},{"photo_id":"1397241266","filename":"file0"},{"photo_id":"1397241273","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397241278":["hashtag1","hashtag2"]},{"1397241266":["hashtag1","hashtag2"]},{"1397241269":["hashtag1","hashtag2"]},{"1397241271":["hashtag1","hashtag2"]},{"1397241273":["hashtag1","hashtag2"]},{"1397241282":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397241278, 1397241266, 1397241269, 1397241271, 1397241273, 1397241282)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.20172381401062 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:46:02.433397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/38/image_01122025_14_38_45_10719.jpg', '/home/pi/Desktop/images/01122025/14/38/image_01122025_14_38_55_9672.jpg', '/home/pi/Desktop/images/01122025/14/38/image_01122025_14_39_05_9817.jpg', '/home/pi/Desktop/images/01122025/14/39/image_01122025_14_39_25_10713.jpg', '/home/pi/Desktop/images/01122025/14/39/image_01122025_14_39_45_9698.jpg', '/home/pi/Desktop/images/01122025/14/39/image_01122025_14_40_05_9824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/38/image_01122025_14_38_45_10719.jpg
/home/pi/Desktop/images/01122025/14/38/image_01122025_14_38_55_9672.jpg
/home/pi/Desktop/images/01122025/14/38/image_01122025_14_39_05_9817.jpg
/home/pi/Desktop/images/01122025/14/39/image_01122025_14_39_25_10713.jpg
/home/pi/Desktop/images/01122025/14/39/image_01122025_14_39_45_9698.jpg
/home/pi/Desktop/images/01122025/14/39/image_01122025_14_40_05_9824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397241300","1397241292","1397241295","1397241304","1397241297","1397241291"],"photo_ids_order":["1397241291","1397241292","1397241295","1397241297","1397241300","1397241304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ed373ea4db6eb34c7f88c6d68fac6345.jpg","text":"TemporaryFile(/tmp/multipartBody7766208748254336339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604023140,"filename":"image_01122025_14_39_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/1/d3659001a6c55a6438e13000c4b36dac.jpg","text":"TemporaryFile(/tmp/multipartBody7870201144461024202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604023140,"filename":"image_01122025_14_38_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/1/364b6a22ad0728d6be3a7a55bd001a82.jpg","text":"TemporaryFile(/tmp/multipartBody7662561096220290919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604023140,"filename":"image_01122025_14_39_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/1/b11b741d678542db582f49d8d71f00fd.jpg","text":"TemporaryFile(/tmp/multipartBody3497178829076814584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604023140,"filename":"image_01122025_14_40_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/1/09d85dc746576961b75f8bb5b09facfb.jpg","text":"TemporaryFile(/tmp/multipartBody5618750095567236301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604023140,"filename":"image_01122025_14_39_25_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a6831ffbd5a13b665adf99fb0946c5eb.jpg","text":"TemporaryFile(/tmp/multipartBody1417370428459200168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604023140,"filename":"image_01122025_14_38_45_10719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241295","file1":"1397241292","file0":"1397241291","file4":"1397241300","file5":"1397241304","file3":"1397241297"},"map_files_photo_id_array":[{"photo_id":"1397241304","filename":"file5"},{"photo_id":"1397241295","filename":"file2"},{"photo_id":"1397241300","filename":"file4"},{"photo_id":"1397241292","filename":"file1"},{"photo_id":"1397241291","filename":"file0"},{"photo_id":"1397241297","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397241300":["hashtag1","hashtag2"]},{"1397241292":["hashtag1","hashtag2"]},{"1397241295":["hashtag1","hashtag2"]},{"1397241304":["hashtag1","hashtag2"]},{"1397241297":["hashtag1","hashtag2"]},{"1397241291":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397241300, 1397241292, 1397241295, 1397241304, 1397241297, 1397241291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82154870033264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 16:46:42.002451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_43_2594.jpg', '/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_46_3654.jpg', '/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_49_2722.jpg', '/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_52_2673.jpg', '/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_55_3566.jpg', '/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_58_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_43_2594.jpg
/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_46_3654.jpg
/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_49_2722.jpg
/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_52_2673.jpg
/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_55_3566.jpg
/home/pi/Desktop/images/31102025/14/42/image_31102025_14_42_58_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":["1397241321","1397241315","1397241318","1397241320","1397241322","1397241319"],"photo_ids_order":["1397241315","1397241318","1397241319","1397241320","1397241321","1397241322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1ee2abc097ba926b5a0466bb9d430b0d.jpg","text":"TemporaryFile(/tmp/multipartBody8057726502100914952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604064532,"filename":"image_31102025_14_42_55_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f7743f208cdad3e8ac2626a75cac8b83.jpg","text":"TemporaryFile(/tmp/multipartBody446641535682476597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604064532,"filename":"image_31102025_14_42_43_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/1/2d6caf982739e884d74cef0fc67ceb1d.jpg","text":"TemporaryFile(/tmp/multipartBody5361843441300837224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604064532,"filename":"image_31102025_14_42_46_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9fd0ac00c0a9eb585e567902192d0d42.jpg","text":"TemporaryFile(/tmp/multipartBody8481611334868711431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604064532,"filename":"image_31102025_14_42_52_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f9b600dbcdc60627fc8fdb560b00195e.jpg","text":"TemporaryFile(/tmp/multipartBody7488378570537129130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604064532,"filename":"image_31102025_14_42_58_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a3b7c7e71facc37f0d07fb6f0e848f2e.jpg","text":"TemporaryFile(/tmp/multipartBody7543999581763085402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604064532,"filename":"image_31102025_14_42_49_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241319","file1":"1397241318","file0":"1397241315","file4":"1397241321","file5":"1397241322","file3":"1397241320"},"map_files_photo_id_array":[{"photo_id":"1397241322","filename":"file5"},{"photo_id":"1397241319","filename":"file2"},{"photo_id":"1397241321","filename":"file4"},{"photo_id":"1397241318","filename":"file1"},{"photo_id":"1397241315","filename":"file0"},{"photo_id":"1397241320","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397241321":["hashtag1","hashtag2"]},{"1397241315":["hashtag1","hashtag2"]},{"1397241318":["hashtag1","hashtag2"]},{"1397241320":["hashtag1","hashtag2"]},{"1397241322":["hashtag1","hashtag2"]},{"1397241319":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397241321, 1397241315, 1397241318, 1397241320, 1397241322, 1397241319)","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: 57.50217962265015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 16:47:45.612616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/42/image_31102025_14_43_01_3576.jpg', '/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_04_2637.jpg', '/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_07_2569.jpg', '/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_10_3779.jpg', '/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_13_2692.jpg', '/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_16_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/42/image_31102025_14_43_01_3576.jpg
/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_04_2637.jpg
/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_07_2569.jpg
/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_10_3779.jpg
/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_13_2692.jpg
/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_16_2734.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.504521131515503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:48:03.217225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/40/image_01122025_14_40_15_9576.jpg', '/home/pi/Desktop/images/01122025/14/40/image_01122025_14_40_24_9777.jpg', '/home/pi/Desktop/images/01122025/14/40/image_01122025_14_40_35_10586.jpg', '/home/pi/Desktop/images/01122025/14/40/image_01122025_14_40_45_9696.jpg', '/home/pi/Desktop/images/01122025/14/40/image_01122025_14_40_55_10582.jpg', '/home/pi/Desktop/images/01122025/14/40/image_01122025_14_41_05_9813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/40/image_01122025_14_40_15_9576.jpg
/home/pi/Desktop/images/01122025/14/40/image_01122025_14_40_24_9777.jpg
/home/pi/Desktop/images/01122025/14/40/image_01122025_14_40_35_10586.jpg
/home/pi/Desktop/images/01122025/14/40/image_01122025_14_40_45_9696.jpg
/home/pi/Desktop/images/01122025/14/40/image_01122025_14_40_55_10582.jpg
/home/pi/Desktop/images/01122025/14/40/image_01122025_14_41_05_9813.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397241357","1397241350","1397241353","1397241343","1397241346","1397241348"],"photo_ids_order":["1397241343","1397241346","1397241348","1397241350","1397241353","1397241357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d7ddab34a0fe541f4e5f04716390d47a.jpg","text":"TemporaryFile(/tmp/multipartBody2433167773177892852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604143938,"filename":"image_01122025_14_41_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/1/24cdeb430ea96fb989012a910585c675.jpg","text":"TemporaryFile(/tmp/multipartBody6477074828824383099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604143938,"filename":"image_01122025_14_40_45_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/866f9c2dcd5230726fa29a7763dec3b4.jpg","text":"TemporaryFile(/tmp/multipartBody1023431867513048937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604143938,"filename":"image_01122025_14_40_55_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e35f4263031cf5e6d52fb43ad655b71c.jpg","text":"TemporaryFile(/tmp/multipartBody8893992382876407429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604143938,"filename":"image_01122025_14_40_15_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/1/88ad4e990d741d8b8dbf250159105fa8.jpg","text":"TemporaryFile(/tmp/multipartBody8750063433257333314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604143938,"filename":"image_01122025_14_40_24_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1039dd4c1283e860ede32abeec1d2c6d.jpg","text":"TemporaryFile(/tmp/multipartBody465102259319501551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604143938,"filename":"image_01122025_14_40_35_10586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241348","file1":"1397241346","file0":"1397241343","file4":"1397241353","file5":"1397241357","file3":"1397241350"},"map_files_photo_id_array":[{"photo_id":"1397241357","filename":"file5"},{"photo_id":"1397241348","filename":"file2"},{"photo_id":"1397241353","filename":"file4"},{"photo_id":"1397241346","filename":"file1"},{"photo_id":"1397241343","filename":"file0"},{"photo_id":"1397241350","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397241357":["hashtag1","hashtag2"]},{"1397241350":["hashtag1","hashtag2"]},{"1397241353":["hashtag1","hashtag2"]},{"1397241343":["hashtag1","hashtag2"]},{"1397241346":["hashtag1","hashtag2"]},{"1397241348":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397241357, 1397241350, 1397241353, 1397241343, 1397241346, 1397241348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.371654748916626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 16:48:42.801764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/42/image_31102025_14_43_01_3576.jpg', '/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_04_2637.jpg', '/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_07_2569.jpg', '/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_10_3779.jpg', '/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_13_2692.jpg', '/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_16_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/42/image_31102025_14_43_01_3576.jpg
/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_04_2637.jpg
/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_07_2569.jpg
/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_10_3779.jpg
/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_13_2692.jpg
/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_16_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":["1397241374","1397241371","1397241368","1397241373","1397241376","1397241372"],"photo_ids_order":["1397241368","1397241371","1397241372","1397241373","1397241374","1397241376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9213f95d756a454efcf9ffbe4134c91f.jpg","text":"TemporaryFile(/tmp/multipartBody6852952218519998772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604185144,"filename":"image_31102025_14_43_13_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/1/e4a186f4cd033ff186e3f9bfe53f41bb.jpg","text":"TemporaryFile(/tmp/multipartBody4090154007680639125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604185144,"filename":"image_31102025_14_43_04_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6412b2d669bfa77783ac9c4de0048ec2.jpg","text":"TemporaryFile(/tmp/multipartBody4041972839405487381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604185144,"filename":"image_31102025_14_43_01_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4258464960d5c278e9ae4b0ec531f827.jpg","text":"TemporaryFile(/tmp/multipartBody2250296000988927649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604185144,"filename":"image_31102025_14_43_10_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/1/3592c5cda997413bec35b1322e091690.jpg","text":"TemporaryFile(/tmp/multipartBody7487494191818022848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604185144,"filename":"image_31102025_14_43_16_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/1/4542f45dc59fc52d03f07ab33ee78e22.jpg","text":"TemporaryFile(/tmp/multipartBody4574042211562088026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604185144,"filename":"image_31102025_14_43_07_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241372","file1":"1397241371","file0":"1397241368","file4":"1397241374","file5":"1397241376","file3":"1397241373"},"map_files_photo_id_array":[{"photo_id":"1397241376","filename":"file5"},{"photo_id":"1397241372","filename":"file2"},{"photo_id":"1397241374","filename":"file4"},{"photo_id":"1397241371","filename":"file1"},{"photo_id":"1397241368","filename":"file0"},{"photo_id":"1397241373","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397241374":["hashtag1","hashtag2"]},{"1397241371":["hashtag1","hashtag2"]},{"1397241368":["hashtag1","hashtag2"]},{"1397241373":["hashtag1","hashtag2"]},{"1397241376":["hashtag1","hashtag2"]},{"1397241372":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397241374, 1397241371, 1397241368, 1397241373, 1397241376, 1397241372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94684600830078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 16:49:22.063516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/41/image_01122025_14_41_15_9841.jpg', '/home/pi/Desktop/images/01122025/14/41/image_01122025_14_41_24_9577.jpg', '/home/pi/Desktop/images/01122025/14/41/image_01122025_14_41_35_10629.jpg', '/home/pi/Desktop/images/01122025/14/41/image_01122025_14_41_45_9637.jpg', '/home/pi/Desktop/images/01122025/14/41/image_01122025_14_41_54_9712.jpg', '/home/pi/Desktop/images/01122025/14/41/image_01122025_14_42_05_10579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/41/image_01122025_14_41_15_9841.jpg
/home/pi/Desktop/images/01122025/14/41/image_01122025_14_41_24_9577.jpg
/home/pi/Desktop/images/01122025/14/41/image_01122025_14_41_35_10629.jpg
/home/pi/Desktop/images/01122025/14/41/image_01122025_14_41_45_9637.jpg
/home/pi/Desktop/images/01122025/14/41/image_01122025_14_41_54_9712.jpg
/home/pi/Desktop/images/01122025/14/41/image_01122025_14_42_05_10579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397241389","1397241398","1397241396","1397241393","1397241387","1397241381"],"photo_ids_order":["1397241381","1397241387","1397241389","1397241393","1397241396","1397241398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/35ecbb55e9a89093c68f0ed592263496.jpg","text":"TemporaryFile(/tmp/multipartBody7645709427194370787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604222736,"filename":"image_01122025_14_41_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/1/d2dbad2bf9d02bb1c030b815a6c80712.jpg","text":"TemporaryFile(/tmp/multipartBody3625926541462267289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604222736,"filename":"image_01122025_14_42_05_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/048403ade540340aad74c9225be440b3.jpg","text":"TemporaryFile(/tmp/multipartBody2550441216390347179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604222736,"filename":"image_01122025_14_41_54_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d17139f5ecdcdba0f79ff5c4da22ece4.jpg","text":"TemporaryFile(/tmp/multipartBody2935029976935855349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604222736,"filename":"image_01122025_14_41_45_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cbe49ad9e4e5f6f47ea681157f1bab09.jpg","text":"TemporaryFile(/tmp/multipartBody5295055999857780629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604222736,"filename":"image_01122025_14_41_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/1/d65e8d171131b2c0eee5b7f9eb2acd55.jpg","text":"TemporaryFile(/tmp/multipartBody5556270698204031092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604222736,"filename":"image_01122025_14_41_15_9841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241389","file1":"1397241387","file0":"1397241381","file4":"1397241396","file5":"1397241398","file3":"1397241393"},"map_files_photo_id_array":[{"photo_id":"1397241398","filename":"file5"},{"photo_id":"1397241389","filename":"file2"},{"photo_id":"1397241396","filename":"file4"},{"photo_id":"1397241387","filename":"file1"},{"photo_id":"1397241381","filename":"file0"},{"photo_id":"1397241393","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397241389":["hashtag1","hashtag2"]},{"1397241398":["hashtag1","hashtag2"]},{"1397241396":["hashtag1","hashtag2"]},{"1397241393":["hashtag1","hashtag2"]},{"1397241387":["hashtag1","hashtag2"]},{"1397241381":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397241389, 1397241398, 1397241396, 1397241393, 1397241387, 1397241381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.218228578567505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:50:02.818232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/42/image_01122025_14_42_15_9633.jpg', '/home/pi/Desktop/images/01122025/14/42/image_01122025_14_42_24_9718.jpg', '/home/pi/Desktop/images/01122025/14/42/image_01122025_14_42_35_10692.jpg', '/home/pi/Desktop/images/01122025/14/42/image_01122025_14_42_45_9726.jpg', '/home/pi/Desktop/images/01122025/14/42/image_01122025_14_42_55_9732.jpg', '/home/pi/Desktop/images/01122025/14/42/image_01122025_14_43_05_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/42/image_01122025_14_42_15_9633.jpg
/home/pi/Desktop/images/01122025/14/42/image_01122025_14_42_24_9718.jpg
/home/pi/Desktop/images/01122025/14/42/image_01122025_14_42_35_10692.jpg
/home/pi/Desktop/images/01122025/14/42/image_01122025_14_42_45_9726.jpg
/home/pi/Desktop/images/01122025/14/42/image_01122025_14_42_55_9732.jpg
/home/pi/Desktop/images/01122025/14/42/image_01122025_14_43_05_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397241402","1397241404","1397241412","1397241406","1397241409","1397241400"],"photo_ids_order":["1397241400","1397241402","1397241404","1397241406","1397241409","1397241412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e5d366a01f6f071a3fc2e5e852d3d66d.jpg","text":"TemporaryFile(/tmp/multipartBody2282229581129595036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604263539,"filename":"image_01122025_14_42_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/1/30e786b04ab0d64ad0e53b727c44797e.jpg","text":"TemporaryFile(/tmp/multipartBody5602600118479604337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604263539,"filename":"image_01122025_14_42_35_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2e59b60a52ab3525b50f425cafd47b0b.jpg","text":"TemporaryFile(/tmp/multipartBody1041906014757152560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604263539,"filename":"image_01122025_14_43_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/1/3693a09fe212c90d80e55cab34d77832.jpg","text":"TemporaryFile(/tmp/multipartBody3204290514054360571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604263539,"filename":"image_01122025_14_42_45_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/303186ab34db54fe6412272c6965ebff.jpg","text":"TemporaryFile(/tmp/multipartBody1628189130488610392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604263539,"filename":"image_01122025_14_42_55_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ebe850605090f41ce5728920bd7031e4.jpg","text":"TemporaryFile(/tmp/multipartBody7881833353533312868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604263539,"filename":"image_01122025_14_42_15_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241404","file1":"1397241402","file0":"1397241400","file4":"1397241409","file5":"1397241412","file3":"1397241406"},"map_files_photo_id_array":[{"photo_id":"1397241412","filename":"file5"},{"photo_id":"1397241404","filename":"file2"},{"photo_id":"1397241409","filename":"file4"},{"photo_id":"1397241402","filename":"file1"},{"photo_id":"1397241400","filename":"file0"},{"photo_id":"1397241406","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397241402":["hashtag1","hashtag2"]},{"1397241404":["hashtag1","hashtag2"]},{"1397241412":["hashtag1","hashtag2"]},{"1397241406":["hashtag1","hashtag2"]},{"1397241409":["hashtag1","hashtag2"]},{"1397241400":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397241402, 1397241404, 1397241412, 1397241406, 1397241409, 1397241400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73623871803284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 16:50:42.404879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_18_2639.jpg', '/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_22_3712.jpg', '/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_25_2610.jpg', '/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_28_3587.jpg', '/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_31_2648.jpg', '/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_34_2807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_18_2639.jpg
/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_22_3712.jpg
/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_25_2610.jpg
/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_28_3587.jpg
/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_31_2648.jpg
/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_34_2807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397241429","1397241426","1397241425","1397241428","1397241422","1397241427"],"photo_ids_order":["1397241422","1397241425","1397241426","1397241427","1397241428","1397241429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e4eef0d99a919f934106ff76a77db198.jpg","text":"TemporaryFile(/tmp/multipartBody4002099049463298274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604304959,"filename":"image_31102025_14_43_34_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ef104292d2f52e83b457c7606031be8d.jpg","text":"TemporaryFile(/tmp/multipartBody8638229774840192259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604304959,"filename":"image_31102025_14_43_25_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/1/1b4eb9ab38715eec9aeeebbcfd090743.jpg","text":"TemporaryFile(/tmp/multipartBody2078002496429575263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604304959,"filename":"image_31102025_14_43_22_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/1/f95de6f07498267f13b0604327586dde.jpg","text":"TemporaryFile(/tmp/multipartBody4848014149807976629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604304959,"filename":"image_31102025_14_43_31_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/1/da6d79d2c3801da617c22848eeb1647d.jpg","text":"TemporaryFile(/tmp/multipartBody7695333503089361816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604304959,"filename":"image_31102025_14_43_18_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2e3b93e9ca86460768b76962b9d44bd7.jpg","text":"TemporaryFile(/tmp/multipartBody3278716134163169665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604304959,"filename":"image_31102025_14_43_28_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241426","file1":"1397241425","file0":"1397241422","file4":"1397241428","file5":"1397241429","file3":"1397241427"},"map_files_photo_id_array":[{"photo_id":"1397241429","filename":"file5"},{"photo_id":"1397241426","filename":"file2"},{"photo_id":"1397241428","filename":"file4"},{"photo_id":"1397241425","filename":"file1"},{"photo_id":"1397241422","filename":"file0"},{"photo_id":"1397241427","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397241429":["hashtag1","hashtag2"]},{"1397241426":["hashtag1","hashtag2"]},{"1397241425":["hashtag1","hashtag2"]},{"1397241428":["hashtag1","hashtag2"]},{"1397241422":["hashtag1","hashtag2"]},{"1397241427":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397241429, 1397241426, 1397241425, 1397241428, 1397241422, 1397241427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.709654331207275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 16:51:22.651096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/43/image_01122025_14_43_15_9790.jpg', '/home/pi/Desktop/images/01122025/14/43/image_01122025_14_43_25_9712.jpg', '/home/pi/Desktop/images/01122025/14/43/image_01122025_14_43_34_9742.jpg', '/home/pi/Desktop/images/01122025/14/43/image_01122025_14_43_44_9907.jpg', '/home/pi/Desktop/images/01122025/14/43/image_01122025_14_43_55_10806.jpg', '/home/pi/Desktop/images/01122025/14/43/image_01122025_14_44_05_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/43/image_01122025_14_43_15_9790.jpg
/home/pi/Desktop/images/01122025/14/43/image_01122025_14_43_25_9712.jpg
/home/pi/Desktop/images/01122025/14/43/image_01122025_14_43_34_9742.jpg
/home/pi/Desktop/images/01122025/14/43/image_01122025_14_43_44_9907.jpg
/home/pi/Desktop/images/01122025/14/43/image_01122025_14_43_55_10806.jpg
/home/pi/Desktop/images/01122025/14/43/image_01122025_14_44_05_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397241441","1397241444","1397241437","1397241450","1397241453","1397241447"],"photo_ids_order":["1397241437","1397241441","1397241444","1397241447","1397241450","1397241453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/833bae734c928de338d65cb703b02022.jpg","text":"TemporaryFile(/tmp/multipartBody6395828689009817596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604343318,"filename":"image_01122025_14_43_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/1/699024e0aaa158f7ec5883c15f73cd15.jpg","text":"TemporaryFile(/tmp/multipartBody5976018475022925153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604343318,"filename":"image_01122025_14_43_34_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/973cc765f88818d6dba8e58835faca03.jpg","text":"TemporaryFile(/tmp/multipartBody7554343257872218726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604343318,"filename":"image_01122025_14_43_15_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/435feaa2d9c9ae6c7558a3e4c03be865.jpg","text":"TemporaryFile(/tmp/multipartBody8689933131441142947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604343318,"filename":"image_01122025_14_43_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/1/95b44150efe4cfbaeb179a06dc22db85.jpg","text":"TemporaryFile(/tmp/multipartBody535109434658194557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604343318,"filename":"image_01122025_14_44_05_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bf8347865f5dde3d23714024056ad578.jpg","text":"TemporaryFile(/tmp/multipartBody7758239722012470407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604343318,"filename":"image_01122025_14_43_44_9907.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241444","file1":"1397241441","file0":"1397241437","file4":"1397241450","file5":"1397241453","file3":"1397241447"},"map_files_photo_id_array":[{"photo_id":"1397241453","filename":"file5"},{"photo_id":"1397241444","filename":"file2"},{"photo_id":"1397241450","filename":"file4"},{"photo_id":"1397241441","filename":"file1"},{"photo_id":"1397241437","filename":"file0"},{"photo_id":"1397241447","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397241441":["hashtag1","hashtag2"]},{"1397241444":["hashtag1","hashtag2"]},{"1397241437":["hashtag1","hashtag2"]},{"1397241450":["hashtag1","hashtag2"]},{"1397241453":["hashtag1","hashtag2"]},{"1397241447":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397241441, 1397241444, 1397241437, 1397241450, 1397241453, 1397241447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.901984453201294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:52:02.292420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/44/image_01122025_14_44_14_9770.jpg', '/home/pi/Desktop/images/01122025/14/44/image_01122025_14_44_24_9886.jpg', '/home/pi/Desktop/images/01122025/14/44/image_01122025_14_44_35_10579.jpg', '/home/pi/Desktop/images/01122025/14/44/image_01122025_14_44_45_9648.jpg', '/home/pi/Desktop/images/01122025/14/44/image_01122025_14_44_54_9703.jpg', '/home/pi/Desktop/images/01122025/14/44/image_01122025_14_45_05_10598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/44/image_01122025_14_44_14_9770.jpg
/home/pi/Desktop/images/01122025/14/44/image_01122025_14_44_24_9886.jpg
/home/pi/Desktop/images/01122025/14/44/image_01122025_14_44_35_10579.jpg
/home/pi/Desktop/images/01122025/14/44/image_01122025_14_44_45_9648.jpg
/home/pi/Desktop/images/01122025/14/44/image_01122025_14_44_54_9703.jpg
/home/pi/Desktop/images/01122025/14/44/image_01122025_14_45_05_10598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397241462","1397241455","1397241466","1397241454","1397241457","1397241459"],"photo_ids_order":["1397241454","1397241455","1397241457","1397241459","1397241462","1397241466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/aace524706d0f4564d120ed2685e23a2.jpg","text":"TemporaryFile(/tmp/multipartBody7288166759357114772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604382977,"filename":"image_01122025_14_44_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/1/73456430b880e68e16ebea63227ba138.jpg","text":"TemporaryFile(/tmp/multipartBody1000781797365073221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604382977,"filename":"image_01122025_14_44_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/1/2ba58b4b6a54c0f87154aca9c1ac9848.jpg","text":"TemporaryFile(/tmp/multipartBody6162452507432282145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604382977,"filename":"image_01122025_14_45_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/1/0d5b4dbe770feb9d81e1c7312102cc56.jpg","text":"TemporaryFile(/tmp/multipartBody4289282973623670422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604382977,"filename":"image_01122025_14_44_14_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b617a75ea1da34729d5a301612f5a331.jpg","text":"TemporaryFile(/tmp/multipartBody4311665275024871937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604382977,"filename":"image_01122025_14_44_35_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/1/1fc38179d073c7cb681360901f5dcd6e.jpg","text":"TemporaryFile(/tmp/multipartBody3789442678916580603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604382977,"filename":"image_01122025_14_44_45_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241457","file1":"1397241455","file0":"1397241454","file4":"1397241462","file5":"1397241466","file3":"1397241459"},"map_files_photo_id_array":[{"photo_id":"1397241466","filename":"file5"},{"photo_id":"1397241457","filename":"file2"},{"photo_id":"1397241462","filename":"file4"},{"photo_id":"1397241455","filename":"file1"},{"photo_id":"1397241454","filename":"file0"},{"photo_id":"1397241459","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397241462":["hashtag1","hashtag2"]},{"1397241455":["hashtag1","hashtag2"]},{"1397241466":["hashtag1","hashtag2"]},{"1397241454":["hashtag1","hashtag2"]},{"1397241457":["hashtag1","hashtag2"]},{"1397241459":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397241462, 1397241455, 1397241466, 1397241454, 1397241457, 1397241459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4774432182312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 16:52:41.876007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_36_2585.jpg', '/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_40_3884.jpg', '/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_43_2682.jpg', '/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_46_2783.jpg', '/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_48_2640.jpg', '/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_52_3926.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_36_2585.jpg
/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_40_3884.jpg
/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_43_2682.jpg
/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_46_2783.jpg
/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_48_2640.jpg
/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_52_3926.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397241482","1397241476","1397241479","1397241481","1397241483","1397241480"],"photo_ids_order":["1397241476","1397241479","1397241480","1397241481","1397241482","1397241483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fa657261c29a33dd41c76a7d37e8de34.jpg","text":"TemporaryFile(/tmp/multipartBody8467539605291307197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604424409,"filename":"image_31102025_14_43_48_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/1/0908b1b183c6d9441e071fd271f984fd.jpg","text":"TemporaryFile(/tmp/multipartBody8904320294265983724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604424409,"filename":"image_31102025_14_43_36_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/1/ad888fbdcc19f55ee78b3625a6539fbb.jpg","text":"TemporaryFile(/tmp/multipartBody806564376498274541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604424409,"filename":"image_31102025_14_43_40_3884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/313565378b476b8c9a3a217aff016e9d.jpg","text":"TemporaryFile(/tmp/multipartBody6390201459723709440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604424409,"filename":"image_31102025_14_43_46_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/1/dd42dfefa6fa34e9174726f548b87e40.jpg","text":"TemporaryFile(/tmp/multipartBody790379443616173435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604424409,"filename":"image_31102025_14_43_52_3926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/963a3de913ce0986641d54c1e045b0e3.jpg","text":"TemporaryFile(/tmp/multipartBody4399280340189087222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604424409,"filename":"image_31102025_14_43_43_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241480","file1":"1397241479","file0":"1397241476","file4":"1397241482","file5":"1397241483","file3":"1397241481"},"map_files_photo_id_array":[{"photo_id":"1397241483","filename":"file5"},{"photo_id":"1397241480","filename":"file2"},{"photo_id":"1397241482","filename":"file4"},{"photo_id":"1397241479","filename":"file1"},{"photo_id":"1397241476","filename":"file0"},{"photo_id":"1397241481","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397241482":["hashtag1","hashtag2"]},{"1397241476":["hashtag1","hashtag2"]},{"1397241479":["hashtag1","hashtag2"]},{"1397241481":["hashtag1","hashtag2"]},{"1397241483":["hashtag1","hashtag2"]},{"1397241480":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397241482, 1397241476, 1397241479, 1397241481, 1397241483, 1397241480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15975046157837 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 16:53:22.147996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/45/image_01122025_14_45_14_9564.jpg', '/home/pi/Desktop/images/01122025/14/45/image_01122025_14_45_35_9875.jpg', '/home/pi/Desktop/images/01122025/14/45/image_01122025_14_45_45_9697.jpg', '/home/pi/Desktop/images/01122025/14/45/image_01122025_14_45_54_9608.jpg', '/home/pi/Desktop/images/01122025/14/45/image_01122025_14_46_05_10744.jpg', '/home/pi/Desktop/images/01122025/14/46/image_01122025_14_46_15_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/45/image_01122025_14_45_14_9564.jpg
/home/pi/Desktop/images/01122025/14/45/image_01122025_14_45_35_9875.jpg
/home/pi/Desktop/images/01122025/14/45/image_01122025_14_45_45_9697.jpg
/home/pi/Desktop/images/01122025/14/45/image_01122025_14_45_54_9608.jpg
/home/pi/Desktop/images/01122025/14/45/image_01122025_14_46_05_10744.jpg
/home/pi/Desktop/images/01122025/14/46/image_01122025_14_46_15_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":["1397241501","1397241485","1397241499","1397241495","1397241489","1397241492"],"photo_ids_order":["1397241485","1397241489","1397241492","1397241495","1397241499","1397241501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/56da7caf7dc061d182ab1a8065d88ab2.jpg","text":"TemporaryFile(/tmp/multipartBody2561596074135680292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604462820,"filename":"image_01122025_14_46_15_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/15656d108c95385fbae96478c74e8433.jpg","text":"TemporaryFile(/tmp/multipartBody6984589149631281376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604462820,"filename":"image_01122025_14_45_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/1/6b6f4d55f450486dd0fa52ef5ab9f002.jpg","text":"TemporaryFile(/tmp/multipartBody6973576053781167227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604462820,"filename":"image_01122025_14_46_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/1/d076a1d2dde6c32703c129d7f3cd10b7.jpg","text":"TemporaryFile(/tmp/multipartBody800491160355078087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604462820,"filename":"image_01122025_14_45_54_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6a00ba50178cae01a448f5d8fc4bdf19.jpg","text":"TemporaryFile(/tmp/multipartBody1556306364197062265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604462820,"filename":"image_01122025_14_45_35_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f94fb37c8a206f2ab6239c7b5e402802.jpg","text":"TemporaryFile(/tmp/multipartBody719766897023109797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604462820,"filename":"image_01122025_14_45_45_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241492","file1":"1397241489","file0":"1397241485","file4":"1397241499","file5":"1397241501","file3":"1397241495"},"map_files_photo_id_array":[{"photo_id":"1397241501","filename":"file5"},{"photo_id":"1397241492","filename":"file2"},{"photo_id":"1397241499","filename":"file4"},{"photo_id":"1397241489","filename":"file1"},{"photo_id":"1397241485","filename":"file0"},{"photo_id":"1397241495","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397241501":["hashtag1","hashtag2"]},{"1397241485":["hashtag1","hashtag2"]},{"1397241499":["hashtag1","hashtag2"]},{"1397241495":["hashtag1","hashtag2"]},{"1397241489":["hashtag1","hashtag2"]},{"1397241492":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397241501, 1397241485, 1397241499, 1397241495, 1397241489, 1397241492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85738682746887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:54:02.939984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/46/image_01122025_14_46_24_9678.jpg', '/home/pi/Desktop/images/01122025/14/46/image_01122025_14_46_35_10557.jpg', '/home/pi/Desktop/images/01122025/14/46/image_01122025_14_46_45_9663.jpg', '/home/pi/Desktop/images/01122025/14/46/image_01122025_14_46_54_9808.jpg', '/home/pi/Desktop/images/01122025/14/46/image_01122025_14_47_04_9858.jpg', '/home/pi/Desktop/images/01122025/14/47/image_01122025_14_47_14_10063.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/46/image_01122025_14_46_24_9678.jpg
/home/pi/Desktop/images/01122025/14/46/image_01122025_14_46_35_10557.jpg
/home/pi/Desktop/images/01122025/14/46/image_01122025_14_46_45_9663.jpg
/home/pi/Desktop/images/01122025/14/46/image_01122025_14_46_54_9808.jpg
/home/pi/Desktop/images/01122025/14/46/image_01122025_14_47_04_9858.jpg
/home/pi/Desktop/images/01122025/14/47/image_01122025_14_47_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":["1397241504","1397241506","1397241515","1397241503","1397241511","1397241508"],"photo_ids_order":["1397241503","1397241504","1397241506","1397241508","1397241511","1397241515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/916dcea793ecc180bb0657e66d411512.jpg","text":"TemporaryFile(/tmp/multipartBody3130356791290735714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604503658,"filename":"image_01122025_14_46_35_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/1/c13f52e7a72a97c73fa17d639269b8ec.jpg","text":"TemporaryFile(/tmp/multipartBody4173900022919724802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604503658,"filename":"image_01122025_14_46_45_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bad178fec654cf1f3775399aef5f8671.jpg","text":"TemporaryFile(/tmp/multipartBody7115029168708008617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604503658,"filename":"image_01122025_14_47_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/1/0edba15630295baefa6d920b55437c78.jpg","text":"TemporaryFile(/tmp/multipartBody2099435583344276331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604503658,"filename":"image_01122025_14_46_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/1/ef4a9bb50b17719cc3f089a73ab5ad30.jpg","text":"TemporaryFile(/tmp/multipartBody539932489939673409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604503658,"filename":"image_01122025_14_47_04_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c5f04a99e2c8311518c28027c7c541d1.jpg","text":"TemporaryFile(/tmp/multipartBody7277826992471148088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604503658,"filename":"image_01122025_14_46_54_9808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241506","file1":"1397241504","file0":"1397241503","file4":"1397241511","file5":"1397241515","file3":"1397241508"},"map_files_photo_id_array":[{"photo_id":"1397241515","filename":"file5"},{"photo_id":"1397241506","filename":"file2"},{"photo_id":"1397241511","filename":"file4"},{"photo_id":"1397241504","filename":"file1"},{"photo_id":"1397241503","filename":"file0"},{"photo_id":"1397241508","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397241504":["hashtag1","hashtag2"]},{"1397241506":["hashtag1","hashtag2"]},{"1397241515":["hashtag1","hashtag2"]},{"1397241503":["hashtag1","hashtag2"]},{"1397241511":["hashtag1","hashtag2"]},{"1397241508":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397241504, 1397241506, 1397241515, 1397241503, 1397241511, 1397241508)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.70785069465637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:55:06.094287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/47/image_01122025_14_47_25_10835.jpg', '/home/pi/Desktop/images/01122025/14/47/image_01122025_14_47_35_9601.jpg', '/home/pi/Desktop/images/01122025/14/47/image_01122025_14_47_45_9810.jpg', '/home/pi/Desktop/images/01122025/14/47/image_01122025_14_47_55_10032.jpg', '/home/pi/Desktop/images/01122025/14/48/image_01122025_14_48_15_20083.jpg', '/home/pi/Desktop/images/01122025/14/48/image_01122025_14_48_16_1776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/47/image_01122025_14_47_25_10835.jpg
/home/pi/Desktop/images/01122025/14/47/image_01122025_14_47_35_9601.jpg
/home/pi/Desktop/images/01122025/14/47/image_01122025_14_47_45_9810.jpg
/home/pi/Desktop/images/01122025/14/47/image_01122025_14_47_55_10032.jpg
/home/pi/Desktop/images/01122025/14/48/image_01122025_14_48_15_20083.jpg
/home/pi/Desktop/images/01122025/14/48/image_01122025_14_48_16_1776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397241539","1397241533","1397241541","1397241535","1397241529","1397241531"],"photo_ids_order":["1397241529","1397241531","1397241533","1397241535","1397241539","1397241541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dbed51f9ebc8aa09706211dc6e28c856.jpg","text":"TemporaryFile(/tmp/multipartBody8696681115420990297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604566887,"filename":"image_01122025_14_48_15_20083.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bed6ee5a571b6078903d7f73a64f159b.jpg","text":"TemporaryFile(/tmp/multipartBody1980613529928445323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604566887,"filename":"image_01122025_14_47_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/1/f162e0d11e932012ea00c65e572b9ca0.jpg","text":"TemporaryFile(/tmp/multipartBody4881799189550705739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604566887,"filename":"image_01122025_14_48_16_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/1/e852dad39bc1680713b34d421c0d775f.jpg","text":"TemporaryFile(/tmp/multipartBody5351628752910246474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604566887,"filename":"image_01122025_14_47_55_10032.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/190cbb0e60071ae77e7145b3110c0a6c.jpg","text":"TemporaryFile(/tmp/multipartBody5553225866051271902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604566887,"filename":"image_01122025_14_47_25_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/1/552702d71e7a06d93a50fda2fba94bc5.jpg","text":"TemporaryFile(/tmp/multipartBody3478232123986100566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604566887,"filename":"image_01122025_14_47_35_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241533","file1":"1397241531","file0":"1397241529","file4":"1397241539","file5":"1397241541","file3":"1397241535"},"map_files_photo_id_array":[{"photo_id":"1397241541","filename":"file5"},{"photo_id":"1397241533","filename":"file2"},{"photo_id":"1397241539","filename":"file4"},{"photo_id":"1397241531","filename":"file1"},{"photo_id":"1397241529","filename":"file0"},{"photo_id":"1397241535","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397241539":["hashtag1","hashtag2"]},{"1397241533":["hashtag1","hashtag2"]},{"1397241541":["hashtag1","hashtag2"]},{"1397241535":["hashtag1","hashtag2"]},{"1397241529":["hashtag1","hashtag2"]},{"1397241531":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397241539, 1397241533, 1397241541, 1397241535, 1397241529, 1397241531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29893708229065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 16:55:45.445638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_55_2683.jpg', '/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_58_2587.jpg', '/home/pi/Desktop/images/31102025/14/43/image_31102025_14_44_01_3601.jpg', '/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_04_2927.jpg', '/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_07_2751.jpg', '/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_10_2847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_55_2683.jpg
/home/pi/Desktop/images/31102025/14/43/image_31102025_14_43_58_2587.jpg
/home/pi/Desktop/images/31102025/14/43/image_31102025_14_44_01_3601.jpg
/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_04_2927.jpg
/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_07_2751.jpg
/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_10_2847.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397241555","1397241549","1397241557","1397241551","1397241553","1397241558"],"photo_ids_order":["1397241549","1397241551","1397241553","1397241555","1397241557","1397241558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/45663c8d7f0597ae0cb8e2741fd6a00e.jpg","text":"TemporaryFile(/tmp/multipartBody3335968786992134070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604608061,"filename":"image_31102025_14_44_04_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/1/3beab658c42a9f031ef46a15fe2816e5.jpg","text":"TemporaryFile(/tmp/multipartBody3662437191732085450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604608061,"filename":"image_31102025_14_43_55_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/1/9650b88e8b6180e149057184418963e9.jpg","text":"TemporaryFile(/tmp/multipartBody3401753869414004808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604608061,"filename":"image_31102025_14_44_07_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/64bcdb73ee1b0a7d0b4f52b685099e7a.jpg","text":"TemporaryFile(/tmp/multipartBody4777792868650135711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604608061,"filename":"image_31102025_14_43_58_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/1/0b0e3a58fd4b19bf14ed66586e33d669.jpg","text":"TemporaryFile(/tmp/multipartBody8546917305144314475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604608061,"filename":"image_31102025_14_44_01_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/1/f8b333b6aa5ebdd67a8b604f67429603.jpg","text":"TemporaryFile(/tmp/multipartBody550928370423193843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604608061,"filename":"image_31102025_14_44_10_2847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241553","file1":"1397241551","file0":"1397241549","file4":"1397241557","file5":"1397241558","file3":"1397241555"},"map_files_photo_id_array":[{"photo_id":"1397241558","filename":"file5"},{"photo_id":"1397241553","filename":"file2"},{"photo_id":"1397241557","filename":"file4"},{"photo_id":"1397241551","filename":"file1"},{"photo_id":"1397241549","filename":"file0"},{"photo_id":"1397241555","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397241555":["hashtag1","hashtag2"]},{"1397241549":["hashtag1","hashtag2"]},{"1397241557":["hashtag1","hashtag2"]},{"1397241551":["hashtag1","hashtag2"]},{"1397241553":["hashtag1","hashtag2"]},{"1397241558":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397241555, 1397241549, 1397241557, 1397241551, 1397241553, 1397241558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.51695704460144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 16:56:32.591634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_40_2916.jpg', '/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_42_2688.jpg', '/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_45_2575.jpg', '/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_49_3541.jpg', '/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_51_2501.jpg', '/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_55_3614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_40_2916.jpg
/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_42_2688.jpg
/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_45_2575.jpg
/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_49_3541.jpg
/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_51_2501.jpg
/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_55_3614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397241572","1397241569","1397241578","1397241566","1397241577","1397241576"],"photo_ids_order":["1397241566","1397241569","1397241572","1397241576","1397241577","1397241578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2f979e048cd783d1055709d38374254d.jpg","text":"TemporaryFile(/tmp/multipartBody4723289050556355720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604654268,"filename":"image_25112025_23_01_45_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/23ee33a3686d561b375b76cf3fa00d86.jpg","text":"TemporaryFile(/tmp/multipartBody5262753455706445117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604654268,"filename":"image_25112025_23_01_42_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/1/a64e39eec41bf0d3758b6e91ef2a6441.jpg","text":"TemporaryFile(/tmp/multipartBody8225942850236760219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604654268,"filename":"image_25112025_23_01_55_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6e3105b065fff3d5e7f5520b0585b744.jpg","text":"TemporaryFile(/tmp/multipartBody3215736970452752918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604654268,"filename":"image_25112025_23_01_40_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/1/f938c31d78f7754725c794f7259d764d.jpg","text":"TemporaryFile(/tmp/multipartBody7772018631413239112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604654268,"filename":"image_25112025_23_01_51_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/1/271272c67d9543722f35473a529226c5.jpg","text":"TemporaryFile(/tmp/multipartBody6423924053655335176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604654268,"filename":"image_25112025_23_01_49_3541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241572","file1":"1397241569","file0":"1397241566","file4":"1397241577","file5":"1397241578","file3":"1397241576"},"map_files_photo_id_array":[{"photo_id":"1397241578","filename":"file5"},{"photo_id":"1397241572","filename":"file2"},{"photo_id":"1397241577","filename":"file4"},{"photo_id":"1397241569","filename":"file1"},{"photo_id":"1397241566","filename":"file0"},{"photo_id":"1397241576","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397241572":["hashtag1","hashtag2"]},{"1397241569":["hashtag1","hashtag2"]},{"1397241578":["hashtag1","hashtag2"]},{"1397241566":["hashtag1","hashtag2"]},{"1397241577":["hashtag1","hashtag2"]},{"1397241576":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397241572, 1397241569, 1397241578, 1397241566, 1397241577, 1397241576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59494352340698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/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-01 16:57:11.863018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_57_2524.jpg', '/home/pi/Desktop/images/25112025/23/01/image_25112025_23_02_00_2700.jpg', '/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_03_3611.jpg', '/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_06_2650.jpg', '/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_10_3625.jpg', '/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_12_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/01/image_25112025_23_01_57_2524.jpg
/home/pi/Desktop/images/25112025/23/01/image_25112025_23_02_00_2700.jpg
/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_03_3611.jpg
/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_06_2650.jpg
/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_10_3625.jpg
/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_12_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":["1397241596","1397241581","1397241584","1397241594","1397241588","1397241591"],"photo_ids_order":["1397241581","1397241584","1397241588","1397241591","1397241594","1397241596"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7873409fbb08eaf4f549046e6dd92cec.jpg","text":"TemporaryFile(/tmp/multipartBody7274665243591888841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604702370,"filename":"image_25112025_23_02_12_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/1/7d8d25658e0593e40b71a83585f8d12e.jpg","text":"TemporaryFile(/tmp/multipartBody8672815073053057480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604702370,"filename":"image_25112025_23_01_57_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/1/287d29df241b4e340ee9fd0270cc6eee.jpg","text":"TemporaryFile(/tmp/multipartBody6109819325340881365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604702370,"filename":"image_25112025_23_02_00_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/1/0da62713590fabaf86babc9a7de31f14.jpg","text":"TemporaryFile(/tmp/multipartBody7744950532919428010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604702370,"filename":"image_25112025_23_02_10_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d8d271492e176e4418b57d88ffe7f747.jpg","text":"TemporaryFile(/tmp/multipartBody6088768929091812110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604702370,"filename":"image_25112025_23_02_03_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/1/353755b3b4277d9bf354949fb0944510.jpg","text":"TemporaryFile(/tmp/multipartBody4083157121110106275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604702370,"filename":"image_25112025_23_02_06_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241588","file1":"1397241584","file0":"1397241581","file4":"1397241594","file5":"1397241596","file3":"1397241591"},"map_files_photo_id_array":[{"photo_id":"1397241596","filename":"file5"},{"photo_id":"1397241588","filename":"file2"},{"photo_id":"1397241594","filename":"file4"},{"photo_id":"1397241584","filename":"file1"},{"photo_id":"1397241581","filename":"file0"},{"photo_id":"1397241591","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397241596":["hashtag1","hashtag2"]},{"1397241581":["hashtag1","hashtag2"]},{"1397241584":["hashtag1","hashtag2"]},{"1397241594":["hashtag1","hashtag2"]},{"1397241588":["hashtag1","hashtag2"]},{"1397241591":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397241596, 1397241581, 1397241584, 1397241594, 1397241588, 1397241591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.887829303741455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 16:59:03.198264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/48/image_01122025_14_48_25_8572.jpg', '/home/pi/Desktop/images/01122025/14/48/image_01122025_14_48_35_9594.jpg', '/home/pi/Desktop/images/01122025/14/48/image_01122025_14_48_45_10118.jpg', '/home/pi/Desktop/images/01122025/14/48/image_01122025_14_48_54_9689.jpg', '/home/pi/Desktop/images/01122025/14/49/image_01122025_14_49_07_13062.jpg', '/home/pi/Desktop/images/01122025/14/49/image_01122025_14_49_15_7683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/48/image_01122025_14_48_25_8572.jpg
/home/pi/Desktop/images/01122025/14/48/image_01122025_14_48_35_9594.jpg
/home/pi/Desktop/images/01122025/14/48/image_01122025_14_48_45_10118.jpg
/home/pi/Desktop/images/01122025/14/48/image_01122025_14_48_54_9689.jpg
/home/pi/Desktop/images/01122025/14/49/image_01122025_14_49_07_13062.jpg
/home/pi/Desktop/images/01122025/14/49/image_01122025_14_49_15_7683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397241618","1397241605","1397241614","1397241608","1397241622","1397241616"],"photo_ids_order":["1397241605","1397241608","1397241614","1397241616","1397241618","1397241622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/90e6cfbd544cc3e43ea50b3f444cfcd8.jpg","text":"TemporaryFile(/tmp/multipartBody9010537048746706149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604804036,"filename":"image_01122025_14_49_07_13062.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0369f36b60f4d5dd27d59d5e6dd14e69.jpg","text":"TemporaryFile(/tmp/multipartBody7490730135290707391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604804036,"filename":"image_01122025_14_48_25_8572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8b14a8795042016c799c5cbf11ceb439.jpg","text":"TemporaryFile(/tmp/multipartBody5979839579025054864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604804036,"filename":"image_01122025_14_48_45_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/1/0e66bc27d468368a4eff51837c66de3f.jpg","text":"TemporaryFile(/tmp/multipartBody8185879268633965632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604804036,"filename":"image_01122025_14_48_35_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c4ebf2b393a64c9d9ef369948a52dca5.jpg","text":"TemporaryFile(/tmp/multipartBody2715967518167542425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604804036,"filename":"image_01122025_14_49_15_7683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b858649733ab7aa2fc42fa8a9f3181e5.jpg","text":"TemporaryFile(/tmp/multipartBody173503507957118517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604804036,"filename":"image_01122025_14_48_54_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241614","file1":"1397241608","file0":"1397241605","file4":"1397241618","file5":"1397241622","file3":"1397241616"},"map_files_photo_id_array":[{"photo_id":"1397241622","filename":"file5"},{"photo_id":"1397241614","filename":"file2"},{"photo_id":"1397241618","filename":"file4"},{"photo_id":"1397241608","filename":"file1"},{"photo_id":"1397241605","filename":"file0"},{"photo_id":"1397241616","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397241618":["hashtag1","hashtag2"]},{"1397241605":["hashtag1","hashtag2"]},{"1397241614":["hashtag1","hashtag2"]},{"1397241608":["hashtag1","hashtag2"]},{"1397241622":["hashtag1","hashtag2"]},{"1397241616":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397241618, 1397241605, 1397241614, 1397241608, 1397241622, 1397241616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76242756843567 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 16:59:42.213610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_13_2896.jpg', '/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_15_2676.jpg', '/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_19_3724.jpg', '/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_22_2609.jpg', '/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_25_3555.jpg', '/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_28_2736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_13_2896.jpg
/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_15_2676.jpg
/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_19_3724.jpg
/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_22_2609.jpg
/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_25_3555.jpg
/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_28_2736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397241636","1397241638","1397241632","1397241634","1397241637","1397241630"],"photo_ids_order":["1397241630","1397241632","1397241634","1397241636","1397241637","1397241638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c967e10fbf6d6ee7a5ef3d9ab8c1d8ae.jpg","text":"TemporaryFile(/tmp/multipartBody493819186701070364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604844776,"filename":"image_31102025_14_44_22_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5d880fec5f9932f2938144fa4b2e0dc6.jpg","text":"TemporaryFile(/tmp/multipartBody642668724443022443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604844776,"filename":"image_31102025_14_44_28_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/1/b9517b53ff41c833af6afeb66e7f38bf.jpg","text":"TemporaryFile(/tmp/multipartBody5390321992011878818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604844776,"filename":"image_31102025_14_44_15_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/1/afd0077c54fafaba8e811611d247a0fa.jpg","text":"TemporaryFile(/tmp/multipartBody512530989398228022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604844776,"filename":"image_31102025_14_44_19_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5d1aafe4919ad6e95af63cbf1396a918.jpg","text":"TemporaryFile(/tmp/multipartBody4390481802719382844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604844776,"filename":"image_31102025_14_44_25_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/1/e9da4b0731aff484fc90ece64a129986.jpg","text":"TemporaryFile(/tmp/multipartBody8973059388847807864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604844776,"filename":"image_31102025_14_44_13_2896.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241634","file1":"1397241632","file0":"1397241630","file4":"1397241637","file5":"1397241638","file3":"1397241636"},"map_files_photo_id_array":[{"photo_id":"1397241638","filename":"file5"},{"photo_id":"1397241634","filename":"file2"},{"photo_id":"1397241637","filename":"file4"},{"photo_id":"1397241632","filename":"file1"},{"photo_id":"1397241630","filename":"file0"},{"photo_id":"1397241636","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397241636":["hashtag1","hashtag2"]},{"1397241638":["hashtag1","hashtag2"]},{"1397241632":["hashtag1","hashtag2"]},{"1397241634":["hashtag1","hashtag2"]},{"1397241637":["hashtag1","hashtag2"]},{"1397241630":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397241636, 1397241638, 1397241632, 1397241634, 1397241637, 1397241630)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.59339237213135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 17:00:32.395895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_15_2711.jpg', '/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_18_2773.jpg', '/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_22_3653.jpg', '/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_24_2592.jpg', '/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_28_3639.jpg', '/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_31_2885.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_15_2711.jpg
/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_18_2773.jpg
/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_22_3653.jpg
/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_24_2592.jpg
/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_28_3639.jpg
/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_31_2885.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397241665","1397241664","1397241658","1397241661","1397241655","1397241663"],"photo_ids_order":["1397241655","1397241658","1397241661","1397241663","1397241664","1397241665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/10a3d3097809892f0208bbb846aa81f6.jpg","text":"TemporaryFile(/tmp/multipartBody3023919609959913095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604894134,"filename":"image_25112025_23_02_31_2885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7112fc0bd0da14a411da02e0812174f5.jpg","text":"TemporaryFile(/tmp/multipartBody8226469449636710567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604894134,"filename":"image_25112025_23_02_28_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b95e714462c42612fcc520d9505bc170.jpg","text":"TemporaryFile(/tmp/multipartBody2372669852140385216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604894134,"filename":"image_25112025_23_02_18_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/1/7c8f8a84eec2a873ba15812347406174.jpg","text":"TemporaryFile(/tmp/multipartBody8645786262600923848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604894134,"filename":"image_25112025_23_02_22_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/1/1ee69ff6e7dcd77c92fcd347835dde3b.jpg","text":"TemporaryFile(/tmp/multipartBody8097035721339686887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604894134,"filename":"image_25112025_23_02_15_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/1/36867c705db717060bd81aa394a5380d.jpg","text":"TemporaryFile(/tmp/multipartBody7894692169035609340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604894134,"filename":"image_25112025_23_02_24_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241661","file1":"1397241658","file0":"1397241655","file4":"1397241664","file5":"1397241665","file3":"1397241663"},"map_files_photo_id_array":[{"photo_id":"1397241665","filename":"file5"},{"photo_id":"1397241661","filename":"file2"},{"photo_id":"1397241664","filename":"file4"},{"photo_id":"1397241658","filename":"file1"},{"photo_id":"1397241655","filename":"file0"},{"photo_id":"1397241663","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397241665":["hashtag1","hashtag2"]},{"1397241664":["hashtag1","hashtag2"]},{"1397241658":["hashtag1","hashtag2"]},{"1397241661":["hashtag1","hashtag2"]},{"1397241655":["hashtag1","hashtag2"]},{"1397241663":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397241665, 1397241664, 1397241658, 1397241661, 1397241655, 1397241663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06261587142944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 17:01:12.643920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_33_2678.jpg', '/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_36_2692.jpg', '/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_40_3580.jpg', '/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_42_2581.jpg', '/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_45_2740.jpg', '/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_49_3681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_33_2678.jpg
/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_36_2692.jpg
/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_40_3580.jpg
/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_42_2581.jpg
/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_45_2740.jpg
/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_49_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":["1397241674","1397241668","1397241670","1397241681","1397241684","1397241678"],"photo_ids_order":["1397241668","1397241670","1397241674","1397241678","1397241681","1397241684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c9ef899ce78543683e77c5430a62d605.jpg","text":"TemporaryFile(/tmp/multipartBody5598425929228885626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604934240,"filename":"image_25112025_23_02_40_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/1/cf25eb0c711b80e54dee86453502cb47.jpg","text":"TemporaryFile(/tmp/multipartBody5264809013494794866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604934240,"filename":"image_25112025_23_02_33_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0b0fa57e7fe6c6440fa0de68d819fad2.jpg","text":"TemporaryFile(/tmp/multipartBody5848907354243497004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604934240,"filename":"image_25112025_23_02_36_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/1/17d5e617dc67d14b9ced7eb50593aa70.jpg","text":"TemporaryFile(/tmp/multipartBody7744352701337560881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604934240,"filename":"image_25112025_23_02_45_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/1/2eda94e504d8e056453d7fd813f5534b.jpg","text":"TemporaryFile(/tmp/multipartBody4227047914596057871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604934240,"filename":"image_25112025_23_02_49_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/1/27e7662dcef161cee24c59d6a3276090.jpg","text":"TemporaryFile(/tmp/multipartBody8222454329728537214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604934240,"filename":"image_25112025_23_02_42_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241674","file1":"1397241670","file0":"1397241668","file4":"1397241681","file5":"1397241684","file3":"1397241678"},"map_files_photo_id_array":[{"photo_id":"1397241684","filename":"file5"},{"photo_id":"1397241674","filename":"file2"},{"photo_id":"1397241681","filename":"file4"},{"photo_id":"1397241670","filename":"file1"},{"photo_id":"1397241668","filename":"file0"},{"photo_id":"1397241678","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397241674":["hashtag1","hashtag2"]},{"1397241668":["hashtag1","hashtag2"]},{"1397241670":["hashtag1","hashtag2"]},{"1397241681":["hashtag1","hashtag2"]},{"1397241684":["hashtag1","hashtag2"]},{"1397241678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397241674, 1397241668, 1397241670, 1397241681, 1397241684, 1397241678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6096351146698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:02:05.130626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/49/image_01122025_14_49_25_9729.jpg', '/home/pi/Desktop/images/01122025/14/49/image_01122025_14_49_44_19140.jpg', '/home/pi/Desktop/images/01122025/14/49/image_01122025_14_49_46_1623.jpg', '/home/pi/Desktop/images/01122025/14/49/image_01122025_14_49_54_8833.jpg', '/home/pi/Desktop/images/01122025/14/49/image_01122025_14_50_05_10634.jpg', '/home/pi/Desktop/images/01122025/14/51/image_01122025_14_51_14_10036.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/49/image_01122025_14_49_25_9729.jpg
/home/pi/Desktop/images/01122025/14/49/image_01122025_14_49_44_19140.jpg
/home/pi/Desktop/images/01122025/14/49/image_01122025_14_49_46_1623.jpg
/home/pi/Desktop/images/01122025/14/49/image_01122025_14_49_54_8833.jpg
/home/pi/Desktop/images/01122025/14/49/image_01122025_14_50_05_10634.jpg
/home/pi/Desktop/images/01122025/14/51/image_01122025_14_51_14_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":["1397241705","1397241692","1397241694","1397241697","1397241701","1397241690"],"photo_ids_order":["1397241690","1397241692","1397241694","1397241697","1397241701","1397241705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a6917312b9c34f9a041f5d8b51339633.jpg","text":"TemporaryFile(/tmp/multipartBody8966926961054828093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604987651,"filename":"image_01122025_14_51_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/1/4e7c4f960a815a41b5d939560c8d562e.jpg","text":"TemporaryFile(/tmp/multipartBody3146475816827709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604987651,"filename":"image_01122025_14_49_44_19140.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/35512ed50c843c9692f53acfd6288784.jpg","text":"TemporaryFile(/tmp/multipartBody8259231292235886323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604987651,"filename":"image_01122025_14_49_46_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/1/13be2e89d99a029c285e68755847bf44.jpg","text":"TemporaryFile(/tmp/multipartBody8256240970125295307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604987651,"filename":"image_01122025_14_49_54_8833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ac510fc4e2cf2d9a9318607cd3337795.jpg","text":"TemporaryFile(/tmp/multipartBody8464559633595657141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604987651,"filename":"image_01122025_14_50_05_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cfb9588dd6e12b11d434bf948538872e.jpg","text":"TemporaryFile(/tmp/multipartBody4688340708783786177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764604987651,"filename":"image_01122025_14_49_25_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241694","file1":"1397241692","file0":"1397241690","file4":"1397241701","file5":"1397241705","file3":"1397241697"},"map_files_photo_id_array":[{"photo_id":"1397241705","filename":"file5"},{"photo_id":"1397241694","filename":"file2"},{"photo_id":"1397241701","filename":"file4"},{"photo_id":"1397241692","filename":"file1"},{"photo_id":"1397241690","filename":"file0"},{"photo_id":"1397241697","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397241705":["hashtag1","hashtag2"]},{"1397241692":["hashtag1","hashtag2"]},{"1397241694":["hashtag1","hashtag2"]},{"1397241697":["hashtag1","hashtag2"]},{"1397241701":["hashtag1","hashtag2"]},{"1397241690":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397241705, 1397241692, 1397241694, 1397241697, 1397241701, 1397241690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.160070180892944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 17:02:44.744389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_31_2723.jpg', '/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_34_3535.jpg', '/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_37_2846.jpg', '/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_40_2615.jpg', '/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_42_2817.jpg', '/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_46_3666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_31_2723.jpg
/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_34_3535.jpg
/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_37_2846.jpg
/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_40_2615.jpg
/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_42_2817.jpg
/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_46_3666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397241720","1397241717","1397241716","1397241713","1397241715","1397241718"],"photo_ids_order":["1397241713","1397241715","1397241716","1397241717","1397241718","1397241720"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/58c2ea4879a45a38d0351cc674b3e182.jpg","text":"TemporaryFile(/tmp/multipartBody2293090406364395288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605027319,"filename":"image_31102025_14_44_46_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/1/99b0789d3b8f6ea0aefb1713ea892749.jpg","text":"TemporaryFile(/tmp/multipartBody2243831270904393417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605027319,"filename":"image_31102025_14_44_40_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/1/ab02bd317ca3c8afa49207ec351ae91f.jpg","text":"TemporaryFile(/tmp/multipartBody8649501554360873021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605027319,"filename":"image_31102025_14_44_37_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/1/0780fa02296aa7b74b67c00de88b2ece.jpg","text":"TemporaryFile(/tmp/multipartBody3263064681758963812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605027319,"filename":"image_31102025_14_44_31_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1323561aeb0248cabdece2e5288cab7f.jpg","text":"TemporaryFile(/tmp/multipartBody2213567898409981079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605027319,"filename":"image_31102025_14_44_34_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/10f0d80854cfd40d6066469c8754cac9.jpg","text":"TemporaryFile(/tmp/multipartBody6263376404087575523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605027319,"filename":"image_31102025_14_44_42_2817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241716","file1":"1397241715","file0":"1397241713","file4":"1397241718","file5":"1397241720","file3":"1397241717"},"map_files_photo_id_array":[{"photo_id":"1397241720","filename":"file5"},{"photo_id":"1397241716","filename":"file2"},{"photo_id":"1397241718","filename":"file4"},{"photo_id":"1397241715","filename":"file1"},{"photo_id":"1397241713","filename":"file0"},{"photo_id":"1397241717","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397241720":["hashtag1","hashtag2"]},{"1397241717":["hashtag1","hashtag2"]},{"1397241716":["hashtag1","hashtag2"]},{"1397241713":["hashtag1","hashtag2"]},{"1397241715":["hashtag1","hashtag2"]},{"1397241718":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397241720, 1397241717, 1397241716, 1397241713, 1397241715, 1397241718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18662738800049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 17:03:32.043457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_51_2598.jpg', '/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_54_2651.jpg', '/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_57_3604.jpg', '/home/pi/Desktop/images/25112025/23/02/image_25112025_23_03_00_2754.jpg', '/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_03_2668.jpg', '/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_07_3688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_51_2598.jpg
/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_54_2651.jpg
/home/pi/Desktop/images/25112025/23/02/image_25112025_23_02_57_3604.jpg
/home/pi/Desktop/images/25112025/23/02/image_25112025_23_03_00_2754.jpg
/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_03_2668.jpg
/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_07_3688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397241743","1397241746","1397241731","1397241739","1397241748","1397241736"],"photo_ids_order":["1397241731","1397241736","1397241739","1397241743","1397241746","1397241748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7604dbd1a7607a7cb58f690c4d1d6e99.jpg","text":"TemporaryFile(/tmp/multipartBody3413207474370503472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605073711,"filename":"image_25112025_23_03_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/1/c6ab87de79ad70b35fa3e0b27cb30f8f.jpg","text":"TemporaryFile(/tmp/multipartBody3852369081066547008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605073711,"filename":"image_25112025_23_03_03_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/1/cb6d8c4a39c37443371bc5f0cf6bcdcb.jpg","text":"TemporaryFile(/tmp/multipartBody4603105068539018981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605073711,"filename":"image_25112025_23_02_51_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/1/15c7386544f193c507a75a2113fdfe0b.jpg","text":"TemporaryFile(/tmp/multipartBody2226090793377002892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605073711,"filename":"image_25112025_23_02_57_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/1/451e5ea216abcb58361d3647b77f8fbf.jpg","text":"TemporaryFile(/tmp/multipartBody1516144390371031280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605073711,"filename":"image_25112025_23_03_07_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/1/13f9cdff95d90492b6a71b8096c60788.jpg","text":"TemporaryFile(/tmp/multipartBody7039018237099884353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605073711,"filename":"image_25112025_23_02_54_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241739","file1":"1397241736","file0":"1397241731","file4":"1397241746","file5":"1397241748","file3":"1397241743"},"map_files_photo_id_array":[{"photo_id":"1397241748","filename":"file5"},{"photo_id":"1397241739","filename":"file2"},{"photo_id":"1397241746","filename":"file4"},{"photo_id":"1397241736","filename":"file1"},{"photo_id":"1397241731","filename":"file0"},{"photo_id":"1397241743","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397241743":["hashtag1","hashtag2"]},{"1397241746":["hashtag1","hashtag2"]},{"1397241731":["hashtag1","hashtag2"]},{"1397241739":["hashtag1","hashtag2"]},{"1397241748":["hashtag1","hashtag2"]},{"1397241736":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397241743, 1397241746, 1397241731, 1397241739, 1397241748, 1397241736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27723407745361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 17:04:12.219322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_09_2635.jpg', '/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_12_2582.jpg', '/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_16_3863.jpg', '/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_18_2762.jpg', '/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_21_2688.jpg', '/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_24_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_09_2635.jpg
/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_12_2582.jpg
/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_16_3863.jpg
/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_18_2762.jpg
/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_21_2688.jpg
/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_24_2633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397241753","1397241763","1397241757","1397241766","1397241751","1397241760"],"photo_ids_order":["1397241751","1397241753","1397241757","1397241760","1397241763","1397241766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/714e575d51c5c71c6cd787bb74cad444.jpg","text":"TemporaryFile(/tmp/multipartBody4986435062936953090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605113816,"filename":"image_25112025_23_03_12_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/1/7c0a3572098f79669ce01d02abe0847f.jpg","text":"TemporaryFile(/tmp/multipartBody7358332781383346052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605113816,"filename":"image_25112025_23_03_21_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/1/c2f2fc00f8232b4af2cdad9c5627c112.jpg","text":"TemporaryFile(/tmp/multipartBody1659452082919433458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605113816,"filename":"image_25112025_23_03_16_3863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2c081242b509bf0a4843bf19036cc455.jpg","text":"TemporaryFile(/tmp/multipartBody1088278713972356118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605113816,"filename":"image_25112025_23_03_24_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e058f4a80a73bb05468c5a3023c405d9.jpg","text":"TemporaryFile(/tmp/multipartBody4500728757175553689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605113816,"filename":"image_25112025_23_03_09_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/1/9a2662256f371ab0bc15caee54ead595.jpg","text":"TemporaryFile(/tmp/multipartBody8133827948178464328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605113816,"filename":"image_25112025_23_03_18_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241757","file1":"1397241753","file0":"1397241751","file4":"1397241763","file5":"1397241766","file3":"1397241760"},"map_files_photo_id_array":[{"photo_id":"1397241766","filename":"file5"},{"photo_id":"1397241757","filename":"file2"},{"photo_id":"1397241763","filename":"file4"},{"photo_id":"1397241753","filename":"file1"},{"photo_id":"1397241751","filename":"file0"},{"photo_id":"1397241760","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397241753":["hashtag1","hashtag2"]},{"1397241763":["hashtag1","hashtag2"]},{"1397241757":["hashtag1","hashtag2"]},{"1397241766":["hashtag1","hashtag2"]},{"1397241751":["hashtag1","hashtag2"]},{"1397241760":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397241753, 1397241763, 1397241757, 1397241766, 1397241751, 1397241760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47848200798035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:05:02.977234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
 val : 1 : upload photos already in processing! 
2025-12-01 17:05:12.600554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_27_3713.jpg', '/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_30_2645.jpg', '/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_33_2601.jpg', '/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_36_3751.jpg', '/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_39_2650.jpg', '/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_42_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_27_3713.jpg
/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_30_2645.jpg
/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_33_2601.jpg
/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_36_3751.jpg
/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_39_2650.jpg
/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_42_2585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397241797","1397241794","1397241792","1397241786","1397241789","1397241783"],"photo_ids_order":["1397241783","1397241786","1397241789","1397241792","1397241794","1397241797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f3c8ec0d1b6d04fea085c12827f1df31.jpg","text":"TemporaryFile(/tmp/multipartBody7505968125270861356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605188307,"filename":"image_25112025_23_03_42_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/1/1c92d61bfd14cb81326b838a01a261e5.jpg","text":"TemporaryFile(/tmp/multipartBody5218167310335440666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605188307,"filename":"image_25112025_23_03_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/1/55e27b5ca9e268a5da3ac8012bcc6544.jpg","text":"TemporaryFile(/tmp/multipartBody4804576568420255435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605188307,"filename":"image_25112025_23_03_36_3751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/52e5e1a301f943c14e34e2fa42f69468.jpg","text":"TemporaryFile(/tmp/multipartBody8660319734334793618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605188307,"filename":"image_25112025_23_03_30_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/1/dbe0931f415c4918ac47038ac9b6a52c.jpg","text":"TemporaryFile(/tmp/multipartBody8151499816328567228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605188307,"filename":"image_25112025_23_03_33_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e54168263d6de71110885b595abcf8e1.jpg","text":"TemporaryFile(/tmp/multipartBody6557110538180820346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605188307,"filename":"image_25112025_23_03_27_3713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241789","file1":"1397241786","file0":"1397241783","file4":"1397241794","file5":"1397241797","file3":"1397241792"},"map_files_photo_id_array":[{"photo_id":"1397241797","filename":"file5"},{"photo_id":"1397241789","filename":"file2"},{"photo_id":"1397241794","filename":"file4"},{"photo_id":"1397241786","filename":"file1"},{"photo_id":"1397241783","filename":"file0"},{"photo_id":"1397241792","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397241797":["hashtag1","hashtag2"]},{"1397241794":["hashtag1","hashtag2"]},{"1397241792":["hashtag1","hashtag2"]},{"1397241786":["hashtag1","hashtag2"]},{"1397241789":["hashtag1","hashtag2"]},{"1397241783":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397241797, 1397241794, 1397241792, 1397241786, 1397241789, 1397241783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.98070192337036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 17:06:12.444806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_45_3634.jpg', '/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_51_2690.jpg', '/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_54_3706.jpg', '/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_57_2580.jpg', '/home/pi/Desktop/images/25112025/23/03/image_25112025_23_04_00_2791.jpg', '/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_03_3556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_45_3634.jpg
/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_51_2690.jpg
/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_54_3706.jpg
/home/pi/Desktop/images/25112025/23/03/image_25112025_23_03_57_2580.jpg
/home/pi/Desktop/images/25112025/23/03/image_25112025_23_04_00_2791.jpg
/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_03_3556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397241813","1397241809","1397241806","1397241800","1397241802","1397241798"],"photo_ids_order":["1397241798","1397241800","1397241802","1397241806","1397241809","1397241813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bd8f2d59dab684cabe3eaf0b4a8254b6.jpg","text":"TemporaryFile(/tmp/multipartBody6536770048564989421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605234026,"filename":"image_25112025_23_04_03_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/1/ffc7bea798eff17ed51586fb27f0bd29.jpg","text":"TemporaryFile(/tmp/multipartBody8922216534734284021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605234026,"filename":"image_25112025_23_04_00_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/1/276624d9e82578768a749660a95bc58e.jpg","text":"TemporaryFile(/tmp/multipartBody2254578092861339797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605234026,"filename":"image_25112025_23_03_57_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/1/20e31838a01e6360687d7dfd5c9bd16d.jpg","text":"TemporaryFile(/tmp/multipartBody3590279524562472624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605234026,"filename":"image_25112025_23_03_51_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/1/d6df8f6d2fc7354ffc8b3c459679ce84.jpg","text":"TemporaryFile(/tmp/multipartBody6097821095760646729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605234026,"filename":"image_25112025_23_03_54_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/1/67bb12e28d9fe5d817d731c1557ae56a.jpg","text":"TemporaryFile(/tmp/multipartBody892103758055654521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605234026,"filename":"image_25112025_23_03_45_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241802","file1":"1397241800","file0":"1397241798","file4":"1397241809","file5":"1397241813","file3":"1397241806"},"map_files_photo_id_array":[{"photo_id":"1397241813","filename":"file5"},{"photo_id":"1397241802","filename":"file2"},{"photo_id":"1397241809","filename":"file4"},{"photo_id":"1397241800","filename":"file1"},{"photo_id":"1397241798","filename":"file0"},{"photo_id":"1397241806","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397241813":["hashtag1","hashtag2"]},{"1397241809":["hashtag1","hashtag2"]},{"1397241806":["hashtag1","hashtag2"]},{"1397241800":["hashtag1","hashtag2"]},{"1397241802":["hashtag1","hashtag2"]},{"1397241798":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397241813, 1397241809, 1397241806, 1397241800, 1397241802, 1397241798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.501341819763184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.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-01 17:07:12.006602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 17:07:27.076211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/51/image_01122025_14_51_25_10617.jpg', '/home/pi/Desktop/images/01122025/14/51/image_01122025_14_51_34_9632.jpg', '/home/pi/Desktop/images/01122025/14/51/image_01122025_14_51_45_10693.jpg', '/home/pi/Desktop/images/01122025/14/51/image_01122025_14_51_55_9613.jpg', '/home/pi/Desktop/images/01122025/14/51/image_01122025_14_52_04_9781.jpg', '/home/pi/Desktop/images/01122025/14/52/image_01122025_14_52_14_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/51/image_01122025_14_51_25_10617.jpg
/home/pi/Desktop/images/01122025/14/51/image_01122025_14_51_34_9632.jpg
/home/pi/Desktop/images/01122025/14/51/image_01122025_14_51_45_10693.jpg
/home/pi/Desktop/images/01122025/14/51/image_01122025_14_51_55_9613.jpg
/home/pi/Desktop/images/01122025/14/51/image_01122025_14_52_04_9781.jpg
/home/pi/Desktop/images/01122025/14/52/image_01122025_14_52_14_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":["1397241881","1397241884","1397241887","1397241874","1397241877","1397241888"],"photo_ids_order":["1397241874","1397241877","1397241881","1397241884","1397241887","1397241888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/35fdc5721d31dd302c1b1620615805b3.jpg","text":"TemporaryFile(/tmp/multipartBody3904990465494561880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605309454,"filename":"image_01122025_14_51_45_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8c405fc3e36d4201907f76b5c25f5685.jpg","text":"TemporaryFile(/tmp/multipartBody3626147579184013066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605309454,"filename":"image_01122025_14_51_55_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d88f4ac90dbea48eb5f3ad436e446af3.jpg","text":"TemporaryFile(/tmp/multipartBody3106217413298000227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605309454,"filename":"image_01122025_14_52_04_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9bfd53c50da3ff75be0386afa40605c0.jpg","text":"TemporaryFile(/tmp/multipartBody1866088108705185205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605309454,"filename":"image_01122025_14_51_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/1/af4bd85400194c1d43fb8be14ff07091.jpg","text":"TemporaryFile(/tmp/multipartBody6913267325560041364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605309454,"filename":"image_01122025_14_51_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/1/87c3960dbc420f65cc5f3e7b1137104f.jpg","text":"TemporaryFile(/tmp/multipartBody7269092972829220591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605309454,"filename":"image_01122025_14_52_14_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241881","file1":"1397241877","file0":"1397241874","file4":"1397241887","file5":"1397241888","file3":"1397241884"},"map_files_photo_id_array":[{"photo_id":"1397241888","filename":"file5"},{"photo_id":"1397241881","filename":"file2"},{"photo_id":"1397241887","filename":"file4"},{"photo_id":"1397241877","filename":"file1"},{"photo_id":"1397241874","filename":"file0"},{"photo_id":"1397241884","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397241881":["hashtag1","hashtag2"]},{"1397241884":["hashtag1","hashtag2"]},{"1397241887":["hashtag1","hashtag2"]},{"1397241874":["hashtag1","hashtag2"]},{"1397241877":["hashtag1","hashtag2"]},{"1397241888":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397241881, 1397241884, 1397241887, 1397241874, 1397241877, 1397241888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97069191932678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 17:08:18.761232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_06_2579.jpg', '/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_10_3610.jpg', '/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_12_2624.jpg', '/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_15_2561.jpg', '/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_18_3647.jpg', '/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_21_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_06_2579.jpg
/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_10_3610.jpg
/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_12_2624.jpg
/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_15_2561.jpg
/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_18_3647.jpg
/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_21_2713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397241896","1397241899","1397241890","1397241893","1397241902","1397241905"],"photo_ids_order":["1397241890","1397241893","1397241896","1397241899","1397241902","1397241905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/08cf33f19fa59e02eb00dd04bed844e9.jpg","text":"TemporaryFile(/tmp/multipartBody5751203572888344223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605361643,"filename":"image_25112025_23_04_12_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/1/7544f5bacca4b00b23b04c2d43e21ddf.jpg","text":"TemporaryFile(/tmp/multipartBody2010591823146778778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605361643,"filename":"image_25112025_23_04_15_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/412c5ca0d1e44a069bb037e7dc6923fa.jpg","text":"TemporaryFile(/tmp/multipartBody6779361077827605620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605361643,"filename":"image_25112025_23_04_06_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5a9475e2c6ed5027ede7fd5f1a0fe306.jpg","text":"TemporaryFile(/tmp/multipartBody8937900364294220259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605361643,"filename":"image_25112025_23_04_10_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/461f27e265ded62cda59c4fc57d2fd26.jpg","text":"TemporaryFile(/tmp/multipartBody236633223967431570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605361643,"filename":"image_25112025_23_04_18_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/1/e97b59de892a90dd774770eecae9a37a.jpg","text":"TemporaryFile(/tmp/multipartBody6456050703829017190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605361643,"filename":"image_25112025_23_04_21_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241896","file1":"1397241893","file0":"1397241890","file4":"1397241902","file5":"1397241905","file3":"1397241899"},"map_files_photo_id_array":[{"photo_id":"1397241905","filename":"file5"},{"photo_id":"1397241896","filename":"file2"},{"photo_id":"1397241902","filename":"file4"},{"photo_id":"1397241893","filename":"file1"},{"photo_id":"1397241890","filename":"file0"},{"photo_id":"1397241899","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397241896":["hashtag1","hashtag2"]},{"1397241899":["hashtag1","hashtag2"]},{"1397241890":["hashtag1","hashtag2"]},{"1397241893":["hashtag1","hashtag2"]},{"1397241902":["hashtag1","hashtag2"]},{"1397241905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397241896, 1397241899, 1397241890, 1397241893, 1397241902, 1397241905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.27050566673279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:09:03.489235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/52/image_01122025_14_52_25_10696.jpg', '/home/pi/Desktop/images/01122025/14/52/image_01122025_14_52_34_9591.jpg', '/home/pi/Desktop/images/01122025/14/52/image_01122025_14_52_45_10634.jpg', '/home/pi/Desktop/images/01122025/14/52/image_01122025_14_52_55_9662.jpg', '/home/pi/Desktop/images/01122025/14/52/image_01122025_14_53_04_9611.jpg', '/home/pi/Desktop/images/01122025/14/53/image_01122025_14_53_15_10590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/52/image_01122025_14_52_25_10696.jpg
/home/pi/Desktop/images/01122025/14/52/image_01122025_14_52_34_9591.jpg
/home/pi/Desktop/images/01122025/14/52/image_01122025_14_52_45_10634.jpg
/home/pi/Desktop/images/01122025/14/52/image_01122025_14_52_55_9662.jpg
/home/pi/Desktop/images/01122025/14/52/image_01122025_14_53_04_9611.jpg
/home/pi/Desktop/images/01122025/14/53/image_01122025_14_53_15_10590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397241918","1397241912","1397241915","1397241911","1397241910","1397241907"],"photo_ids_order":["1397241907","1397241910","1397241911","1397241912","1397241915","1397241918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5bad30f5e3ea12418061fd293bad81c4.jpg","text":"TemporaryFile(/tmp/multipartBody572693658114311930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605404372,"filename":"image_01122025_14_53_15_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/429160b06372b43af2911fe26656f364.jpg","text":"TemporaryFile(/tmp/multipartBody9057556983553744989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605404372,"filename":"image_01122025_14_52_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/1/38e38d45ea9b60a2615d47f8c19c1e23.jpg","text":"TemporaryFile(/tmp/multipartBody6813182654847791257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605404372,"filename":"image_01122025_14_53_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/1/a5c74dab390e75f6041d38bbf8f6774a.jpg","text":"TemporaryFile(/tmp/multipartBody5989915958193772603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605404372,"filename":"image_01122025_14_52_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/1/5b31596e86e5e02e8247fbcccc61c9ee.jpg","text":"TemporaryFile(/tmp/multipartBody944509340328079714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605404372,"filename":"image_01122025_14_52_34_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/55d4727b7a29673482a6ddabf112d75e.jpg","text":"TemporaryFile(/tmp/multipartBody605828638815601041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605404372,"filename":"image_01122025_14_52_25_10696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241911","file1":"1397241910","file0":"1397241907","file4":"1397241915","file5":"1397241918","file3":"1397241912"},"map_files_photo_id_array":[{"photo_id":"1397241918","filename":"file5"},{"photo_id":"1397241911","filename":"file2"},{"photo_id":"1397241915","filename":"file4"},{"photo_id":"1397241910","filename":"file1"},{"photo_id":"1397241907","filename":"file0"},{"photo_id":"1397241912","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397241918":["hashtag1","hashtag2"]},{"1397241912":["hashtag1","hashtag2"]},{"1397241915":["hashtag1","hashtag2"]},{"1397241911":["hashtag1","hashtag2"]},{"1397241910":["hashtag1","hashtag2"]},{"1397241907":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397241918, 1397241912, 1397241915, 1397241911, 1397241910, 1397241907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.32832336425781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:10:03.072059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/53/image_01122025_14_53_24_9539.jpg', '/home/pi/Desktop/images/01122025/14/53/image_01122025_14_53_34_9643.jpg', '/home/pi/Desktop/images/01122025/14/53/image_01122025_14_53_45_10772.jpg', '/home/pi/Desktop/images/01122025/14/53/image_01122025_14_53_55_9732.jpg', '/home/pi/Desktop/images/01122025/14/53/image_01122025_14_54_04_9609.jpg', '/home/pi/Desktop/images/01122025/14/54/image_01122025_14_54_14_9869.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/53/image_01122025_14_53_24_9539.jpg
/home/pi/Desktop/images/01122025/14/53/image_01122025_14_53_34_9643.jpg
/home/pi/Desktop/images/01122025/14/53/image_01122025_14_53_45_10772.jpg
/home/pi/Desktop/images/01122025/14/53/image_01122025_14_53_55_9732.jpg
/home/pi/Desktop/images/01122025/14/53/image_01122025_14_54_04_9609.jpg
/home/pi/Desktop/images/01122025/14/54/image_01122025_14_54_14_9869.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397241930","1397241933","1397241929","1397241931","1397241928","1397241936"],"photo_ids_order":["1397241928","1397241929","1397241930","1397241931","1397241933","1397241936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5e6776f287a0c882921ced1d7ca403ee.jpg","text":"TemporaryFile(/tmp/multipartBody5563513359844216156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605463770,"filename":"image_01122025_14_53_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/1/63f85adbf08f810cc4ac3b8cf1be6b2f.jpg","text":"TemporaryFile(/tmp/multipartBody2086478349658879107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605463770,"filename":"image_01122025_14_54_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/1/24f5783a8a38c6765bcef925dcbcea06.jpg","text":"TemporaryFile(/tmp/multipartBody7104100621857209982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605463770,"filename":"image_01122025_14_53_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/1/4b94248e2342e5849a57110ce3d88947.jpg","text":"TemporaryFile(/tmp/multipartBody2576721191467770400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605463770,"filename":"image_01122025_14_53_55_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b061a2abf2c1db47c8d120a2aca39336.jpg","text":"TemporaryFile(/tmp/multipartBody354428275928898010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605463770,"filename":"image_01122025_14_53_24_9539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/46ca2f913ffb5904db2c459df345851c.jpg","text":"TemporaryFile(/tmp/multipartBody1711207600535147616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605463770,"filename":"image_01122025_14_54_14_9869.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241930","file1":"1397241929","file0":"1397241928","file4":"1397241933","file5":"1397241936","file3":"1397241931"},"map_files_photo_id_array":[{"photo_id":"1397241936","filename":"file5"},{"photo_id":"1397241930","filename":"file2"},{"photo_id":"1397241933","filename":"file4"},{"photo_id":"1397241929","filename":"file1"},{"photo_id":"1397241928","filename":"file0"},{"photo_id":"1397241931","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397241930":["hashtag1","hashtag2"]},{"1397241933":["hashtag1","hashtag2"]},{"1397241929":["hashtag1","hashtag2"]},{"1397241931":["hashtag1","hashtag2"]},{"1397241928":["hashtag1","hashtag2"]},{"1397241936":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397241930, 1397241933, 1397241929, 1397241931, 1397241928, 1397241936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.070571184158325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 17:10:42.597982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_49_2651.jpg', '/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_52_2758.jpg', '/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_54_2788.jpg', '/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_01_6330.jpg', '/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_02_1724.jpg', '/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_04_1906.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_49_2651.jpg
/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_52_2758.jpg
/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_54_2788.jpg
/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_01_6330.jpg
/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_02_1724.jpg
/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_04_1906.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.514110803604126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:11:03.489292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/54/image_01122025_14_54_25_10695.jpg', '/home/pi/Desktop/images/01122025/14/54/image_01122025_14_54_34_9555.jpg', '/home/pi/Desktop/images/01122025/14/54/image_01122025_14_54_44_9796.jpg', '/home/pi/Desktop/images/01122025/14/54/image_01122025_14_54_54_9985.jpg', '/home/pi/Desktop/images/01122025/14/54/image_01122025_14_55_05_10635.jpg', '/home/pi/Desktop/images/01122025/14/55/image_01122025_14_55_15_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/54/image_01122025_14_54_25_10695.jpg
/home/pi/Desktop/images/01122025/14/54/image_01122025_14_54_34_9555.jpg
/home/pi/Desktop/images/01122025/14/54/image_01122025_14_54_44_9796.jpg
/home/pi/Desktop/images/01122025/14/54/image_01122025_14_54_54_9985.jpg
/home/pi/Desktop/images/01122025/14/54/image_01122025_14_55_05_10635.jpg
/home/pi/Desktop/images/01122025/14/55/image_01122025_14_55_15_9792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397241951","1397241962","1397241953","1397241955","1397241954","1397241957"],"photo_ids_order":["1397241951","1397241953","1397241954","1397241955","1397241957","1397241962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2c3fa6219cf9dda1bfbdb45663cb9ba3.jpg","text":"TemporaryFile(/tmp/multipartBody7090403665681477528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605524219,"filename":"image_01122025_14_54_25_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/07426e1f31878cb8806b88bbc8833e2b.jpg","text":"TemporaryFile(/tmp/multipartBody2535621440087121081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605524219,"filename":"image_01122025_14_55_15_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9936a8e425af4ac15df7b9b7565c994a.jpg","text":"TemporaryFile(/tmp/multipartBody4100043265262514090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605524219,"filename":"image_01122025_14_54_34_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0a463785c4a3b9e3c45673b1a5e4ea25.jpg","text":"TemporaryFile(/tmp/multipartBody4574534813193956527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605524219,"filename":"image_01122025_14_54_54_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/1/1d31c70ef7762c25f6b22d8c6e562346.jpg","text":"TemporaryFile(/tmp/multipartBody2327337878214814310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605524219,"filename":"image_01122025_14_54_44_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/aeeece215ff03f7af1399b3d54a14fb4.jpg","text":"TemporaryFile(/tmp/multipartBody7040585511963417031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605524219,"filename":"image_01122025_14_55_05_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241954","file1":"1397241953","file0":"1397241951","file4":"1397241957","file5":"1397241962","file3":"1397241955"},"map_files_photo_id_array":[{"photo_id":"1397241962","filename":"file5"},{"photo_id":"1397241954","filename":"file2"},{"photo_id":"1397241957","filename":"file4"},{"photo_id":"1397241953","filename":"file1"},{"photo_id":"1397241951","filename":"file0"},{"photo_id":"1397241955","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397241951":["hashtag1","hashtag2"]},{"1397241962":["hashtag1","hashtag2"]},{"1397241953":["hashtag1","hashtag2"]},{"1397241955":["hashtag1","hashtag2"]},{"1397241954":["hashtag1","hashtag2"]},{"1397241957":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397241951, 1397241962, 1397241953, 1397241955, 1397241954, 1397241957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18695592880249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 17:11:42.715414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_49_2651.jpg', '/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_52_2758.jpg', '/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_54_2788.jpg', '/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_01_6330.jpg', '/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_02_1724.jpg', '/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_04_1906.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_49_2651.jpg
/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_52_2758.jpg
/home/pi/Desktop/images/31102025/14/44/image_31102025_14_44_54_2788.jpg
/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_01_6330.jpg
/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_02_1724.jpg
/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_04_1906.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397241977","1397241974","1397241973","1397241976","1397241970","1397241975"],"photo_ids_order":["1397241970","1397241973","1397241974","1397241975","1397241976","1397241977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/95b665078e7df2376f6a1e36b1f833db.jpg","text":"TemporaryFile(/tmp/multipartBody6439148127985883896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605565137,"filename":"image_31102025_14_45_04_1906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/93cfe74e6f38768ba741b17e11646343.jpg","text":"TemporaryFile(/tmp/multipartBody9078184493673099737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605565137,"filename":"image_31102025_14_44_54_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/1/5a13383e74d1c8d9da337824bc0f39e7.jpg","text":"TemporaryFile(/tmp/multipartBody6369317734740146430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605565137,"filename":"image_31102025_14_44_52_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/1/68eabf9353ecf8d7ea90863c0fd84b61.jpg","text":"TemporaryFile(/tmp/multipartBody935194716330717860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605565137,"filename":"image_31102025_14_45_02_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/1/66dd1d37f5600b964121d393d4f3ae79.jpg","text":"TemporaryFile(/tmp/multipartBody314205552579601589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605565137,"filename":"image_31102025_14_44_49_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/87e0e694c00dc02e9dd79b9699381df5.jpg","text":"TemporaryFile(/tmp/multipartBody1719953492847300957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605565137,"filename":"image_31102025_14_45_01_6330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241974","file1":"1397241973","file0":"1397241970","file4":"1397241976","file5":"1397241977","file3":"1397241975"},"map_files_photo_id_array":[{"photo_id":"1397241977","filename":"file5"},{"photo_id":"1397241974","filename":"file2"},{"photo_id":"1397241976","filename":"file4"},{"photo_id":"1397241973","filename":"file1"},{"photo_id":"1397241970","filename":"file0"},{"photo_id":"1397241975","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397241977":["hashtag1","hashtag2"]},{"1397241974":["hashtag1","hashtag2"]},{"1397241973":["hashtag1","hashtag2"]},{"1397241976":["hashtag1","hashtag2"]},{"1397241970":["hashtag1","hashtag2"]},{"1397241975":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397241977, 1397241974, 1397241973, 1397241976, 1397241970, 1397241975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00142550468445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 17:12:31.862857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_24_2627.jpg', '/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_27_3628.jpg', '/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_30_3058.jpg', '/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_33_2677.jpg', '/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_36_2638.jpg', '/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_39_3573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_24_2627.jpg
/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_27_3628.jpg
/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_30_3058.jpg
/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_33_2677.jpg
/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_36_2638.jpg
/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_39_3573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397241995","1397241991","1397241994","1397241988","1397241985","1397241996"],"photo_ids_order":["1397241985","1397241988","1397241991","1397241994","1397241995","1397241996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8d7a70951fd64267ea1bcc8ee1abdf61.jpg","text":"TemporaryFile(/tmp/multipartBody3478206387023755553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605613562,"filename":"image_25112025_23_04_36_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/1/8e9919c640d73eaf2a104e6b518e9f4b.jpg","text":"TemporaryFile(/tmp/multipartBody64547720959283490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605613562,"filename":"image_25112025_23_04_30_3058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0c0fcc2931f1d69cf5440041f266c544.jpg","text":"TemporaryFile(/tmp/multipartBody5609449769219141271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605613562,"filename":"image_25112025_23_04_33_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/1/5d9df23c9d7239d467c046c79f707583.jpg","text":"TemporaryFile(/tmp/multipartBody3433436850176681340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605613562,"filename":"image_25112025_23_04_27_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/1/4277b8f0b1036fb35a8071ed8814b73a.jpg","text":"TemporaryFile(/tmp/multipartBody271028487347607610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605613562,"filename":"image_25112025_23_04_24_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b42839e4ce5428e15cac6ae786f32ec7.jpg","text":"TemporaryFile(/tmp/multipartBody4402451496747013130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605613562,"filename":"image_25112025_23_04_39_3573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397241991","file1":"1397241988","file0":"1397241985","file4":"1397241995","file5":"1397241996","file3":"1397241994"},"map_files_photo_id_array":[{"photo_id":"1397241996","filename":"file5"},{"photo_id":"1397241991","filename":"file2"},{"photo_id":"1397241995","filename":"file4"},{"photo_id":"1397241988","filename":"file1"},{"photo_id":"1397241985","filename":"file0"},{"photo_id":"1397241994","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397241995":["hashtag1","hashtag2"]},{"1397241991":["hashtag1","hashtag2"]},{"1397241994":["hashtag1","hashtag2"]},{"1397241988":["hashtag1","hashtag2"]},{"1397241985":["hashtag1","hashtag2"]},{"1397241996":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397241995, 1397241991, 1397241994, 1397241988, 1397241985, 1397241996)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.15411925315857 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 17:13:22.059132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/55/image_01122025_14_55_24_9605.jpg', '/home/pi/Desktop/images/01122025/14/55/image_01122025_14_55_35_10590.jpg', '/home/pi/Desktop/images/01122025/14/55/image_01122025_14_55_44_9672.jpg', '/home/pi/Desktop/images/01122025/14/55/image_01122025_14_55_54_9775.jpg', '/home/pi/Desktop/images/01122025/14/55/image_01122025_14_56_05_10695.jpg', '/home/pi/Desktop/images/01122025/14/56/image_01122025_14_56_15_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/55/image_01122025_14_55_24_9605.jpg
/home/pi/Desktop/images/01122025/14/55/image_01122025_14_55_35_10590.jpg
/home/pi/Desktop/images/01122025/14/55/image_01122025_14_55_44_9672.jpg
/home/pi/Desktop/images/01122025/14/55/image_01122025_14_55_54_9775.jpg
/home/pi/Desktop/images/01122025/14/55/image_01122025_14_56_05_10695.jpg
/home/pi/Desktop/images/01122025/14/56/image_01122025_14_56_15_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":["1397242014","1397242008","1397241999","1397242002","1397242011","1397242005"],"photo_ids_order":["1397241999","1397242002","1397242005","1397242008","1397242011","1397242014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/763cde4b7d99cd37b8a91d9040f4bce8.jpg","text":"TemporaryFile(/tmp/multipartBody144024847417941066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605662742,"filename":"image_01122025_14_56_15_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/1/c8d31f2f6eb696b4495cf960af96dfcb.jpg","text":"TemporaryFile(/tmp/multipartBody9109735596108917926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605662742,"filename":"image_01122025_14_55_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/1/d67e588d8e83c13b4f74e906676611fa.jpg","text":"TemporaryFile(/tmp/multipartBody8804968655343212950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605662742,"filename":"image_01122025_14_55_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/1/c1c47d29dd61edfe82798b44377a89f2.jpg","text":"TemporaryFile(/tmp/multipartBody2751813114689715434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605662742,"filename":"image_01122025_14_55_35_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/1/ecc68008654f1bfdb5bc9e50646a1c18.jpg","text":"TemporaryFile(/tmp/multipartBody6915007013501964574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605662742,"filename":"image_01122025_14_56_05_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9fb58c76553828e44a190af2d06c644c.jpg","text":"TemporaryFile(/tmp/multipartBody7499589420893616477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605662742,"filename":"image_01122025_14_55_44_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397242005","file1":"1397242002","file0":"1397241999","file4":"1397242011","file5":"1397242014","file3":"1397242008"},"map_files_photo_id_array":[{"photo_id":"1397242014","filename":"file5"},{"photo_id":"1397242005","filename":"file2"},{"photo_id":"1397242011","filename":"file4"},{"photo_id":"1397242002","filename":"file1"},{"photo_id":"1397241999","filename":"file0"},{"photo_id":"1397242008","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397242014":["hashtag1","hashtag2"]},{"1397242008":["hashtag1","hashtag2"]},{"1397241999":["hashtag1","hashtag2"]},{"1397242002":["hashtag1","hashtag2"]},{"1397242011":["hashtag1","hashtag2"]},{"1397242005":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397242014, 1397242008, 1397241999, 1397242002, 1397242011, 1397242005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.129956007003784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:14:02.918379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/56/image_01122025_14_56_24_9572.jpg', '/home/pi/Desktop/images/01122025/14/56/image_01122025_14_56_34_9920.jpg', '/home/pi/Desktop/images/01122025/14/56/image_01122025_14_56_45_10620.jpg', '/home/pi/Desktop/images/01122025/14/56/image_01122025_14_56_54_9648.jpg', '/home/pi/Desktop/images/01122025/14/56/image_01122025_14_57_04_9768.jpg', '/home/pi/Desktop/images/01122025/14/57/image_01122025_14_57_15_10773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/56/image_01122025_14_56_24_9572.jpg
/home/pi/Desktop/images/01122025/14/56/image_01122025_14_56_34_9920.jpg
/home/pi/Desktop/images/01122025/14/56/image_01122025_14_56_45_10620.jpg
/home/pi/Desktop/images/01122025/14/56/image_01122025_14_56_54_9648.jpg
/home/pi/Desktop/images/01122025/14/56/image_01122025_14_57_04_9768.jpg
/home/pi/Desktop/images/01122025/14/57/image_01122025_14_57_15_10773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397242028","1397242019","1397242024","1397242021","1397242020","1397242017"],"photo_ids_order":["1397242017","1397242019","1397242020","1397242021","1397242024","1397242028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f58703b9a8d197eb30469ca52a33e265.jpg","text":"TemporaryFile(/tmp/multipartBody339730414418278267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605703626,"filename":"image_01122025_14_57_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/1/a87df399751ffa981265e82644e2334f.jpg","text":"TemporaryFile(/tmp/multipartBody6747439381722937838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605703626,"filename":"image_01122025_14_56_34_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/1/65ee6eb193e1f41eec5e1db8c0f45841.jpg","text":"TemporaryFile(/tmp/multipartBody3739348196517272637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605703626,"filename":"image_01122025_14_57_04_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b389b33a015f05646a003f94ba3df0d6.jpg","text":"TemporaryFile(/tmp/multipartBody8341793151165266626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605703626,"filename":"image_01122025_14_56_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/1/77d7e64b27504a111221410a686f2932.jpg","text":"TemporaryFile(/tmp/multipartBody275244342982227784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605703626,"filename":"image_01122025_14_56_45_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a8778691c2d51bcfefb6b93f6ff50a72.jpg","text":"TemporaryFile(/tmp/multipartBody401556475558620228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605703626,"filename":"image_01122025_14_56_24_9572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397242020","file1":"1397242019","file0":"1397242017","file4":"1397242024","file5":"1397242028","file3":"1397242021"},"map_files_photo_id_array":[{"photo_id":"1397242028","filename":"file5"},{"photo_id":"1397242020","filename":"file2"},{"photo_id":"1397242024","filename":"file4"},{"photo_id":"1397242019","filename":"file1"},{"photo_id":"1397242017","filename":"file0"},{"photo_id":"1397242021","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397242028":["hashtag1","hashtag2"]},{"1397242019":["hashtag1","hashtag2"]},{"1397242024":["hashtag1","hashtag2"]},{"1397242021":["hashtag1","hashtag2"]},{"1397242020":["hashtag1","hashtag2"]},{"1397242017":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397242028, 1397242019, 1397242024, 1397242021, 1397242020, 1397242017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11602997779846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 17:14:42.336102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_07_2786.jpg', '/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_09_2316.jpg', '/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_13_3779.jpg', '/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_21_7823.jpg', '/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_23_1586.jpg', '/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_26_3505.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_07_2786.jpg
/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_09_2316.jpg
/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_13_3779.jpg
/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_21_7823.jpg
/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_23_1586.jpg
/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_26_3505.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397242043","1397242040","1397242042","1397242041","1397242044","1397242038"],"photo_ids_order":["1397242038","1397242040","1397242041","1397242042","1397242043","1397242044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2528c7233130f0ad0d7eb150bf7d8b8b.jpg","text":"TemporaryFile(/tmp/multipartBody7926050256268509911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605744829,"filename":"image_31102025_14_45_23_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/1/c4b86fd928707299feafb36f268c78f9.jpg","text":"TemporaryFile(/tmp/multipartBody8004364489709510152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605744829,"filename":"image_31102025_14_45_09_2316.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/382c02e31920eb951ffc9481e53017ef.jpg","text":"TemporaryFile(/tmp/multipartBody2548291827120828010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605744829,"filename":"image_31102025_14_45_21_7823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c90f06d7580776e2a314a5702acdd8ae.jpg","text":"TemporaryFile(/tmp/multipartBody5001472180955145595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605744829,"filename":"image_31102025_14_45_13_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/1/a0f94ce0efbe090737d53ac515eda25f.jpg","text":"TemporaryFile(/tmp/multipartBody8429814654080352385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605744829,"filename":"image_31102025_14_45_26_3505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/23f28886976b90f54b5db9ba00df81fe.jpg","text":"TemporaryFile(/tmp/multipartBody5906001246003245733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605744829,"filename":"image_31102025_14_45_07_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397242041","file1":"1397242040","file0":"1397242038","file4":"1397242043","file5":"1397242044","file3":"1397242042"},"map_files_photo_id_array":[{"photo_id":"1397242044","filename":"file5"},{"photo_id":"1397242041","filename":"file2"},{"photo_id":"1397242043","filename":"file4"},{"photo_id":"1397242040","filename":"file1"},{"photo_id":"1397242038","filename":"file0"},{"photo_id":"1397242042","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397242043":["hashtag1","hashtag2"]},{"1397242040":["hashtag1","hashtag2"]},{"1397242042":["hashtag1","hashtag2"]},{"1397242041":["hashtag1","hashtag2"]},{"1397242044":["hashtag1","hashtag2"]},{"1397242038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397242043, 1397242040, 1397242042, 1397242041, 1397242044, 1397242038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13725757598877 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 17:15:22.387534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/57/image_01122025_14_57_25_9728.jpg', '/home/pi/Desktop/images/01122025/14/57/image_01122025_14_57_34_9542.jpg', '/home/pi/Desktop/images/01122025/14/57/image_01122025_14_57_45_10705.jpg', '/home/pi/Desktop/images/01122025/14/57/image_01122025_14_57_55_9634.jpg', '/home/pi/Desktop/images/01122025/14/57/image_01122025_14_58_04_9581.jpg', '/home/pi/Desktop/images/01122025/14/58/image_01122025_14_58_15_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/57/image_01122025_14_57_25_9728.jpg
/home/pi/Desktop/images/01122025/14/57/image_01122025_14_57_34_9542.jpg
/home/pi/Desktop/images/01122025/14/57/image_01122025_14_57_45_10705.jpg
/home/pi/Desktop/images/01122025/14/57/image_01122025_14_57_55_9634.jpg
/home/pi/Desktop/images/01122025/14/57/image_01122025_14_58_04_9581.jpg
/home/pi/Desktop/images/01122025/14/58/image_01122025_14_58_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":["1397242046","1397242063","1397242059","1397242053","1397242056","1397242050"],"photo_ids_order":["1397242046","1397242050","1397242053","1397242056","1397242059","1397242063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d37ee6d9c1368b95ea0a53a0fb6bf627.jpg","text":"TemporaryFile(/tmp/multipartBody7713127151050527123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605783058,"filename":"image_01122025_14_57_25_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c67c5191f034dd675d9937bf5e40ed8d.jpg","text":"TemporaryFile(/tmp/multipartBody5652695268910174012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605783058,"filename":"image_01122025_14_58_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/1/69346eecab76384769ef6ef46bde7d7d.jpg","text":"TemporaryFile(/tmp/multipartBody8276259249601102304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605783058,"filename":"image_01122025_14_58_04_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/105685f8cb5e201c94339058e703906e.jpg","text":"TemporaryFile(/tmp/multipartBody5143744697742914471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605783058,"filename":"image_01122025_14_57_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/1/bb464b7e7c919f1012c12b325bf2581c.jpg","text":"TemporaryFile(/tmp/multipartBody2445935427152307557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605783058,"filename":"image_01122025_14_57_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/1/440b5cbf00458fd1be5d3ff9cb759fe5.jpg","text":"TemporaryFile(/tmp/multipartBody1520567713511016914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605783058,"filename":"image_01122025_14_57_34_9542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397242053","file1":"1397242050","file0":"1397242046","file4":"1397242059","file5":"1397242063","file3":"1397242056"},"map_files_photo_id_array":[{"photo_id":"1397242063","filename":"file5"},{"photo_id":"1397242053","filename":"file2"},{"photo_id":"1397242059","filename":"file4"},{"photo_id":"1397242050","filename":"file1"},{"photo_id":"1397242046","filename":"file0"},{"photo_id":"1397242056","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397242046":["hashtag1","hashtag2"]},{"1397242063":["hashtag1","hashtag2"]},{"1397242059":["hashtag1","hashtag2"]},{"1397242053":["hashtag1","hashtag2"]},{"1397242056":["hashtag1","hashtag2"]},{"1397242050":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397242046, 1397242063, 1397242059, 1397242053, 1397242056, 1397242050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43537926673889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:16:03.096227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/58/image_01122025_14_58_24_9672.jpg', '/home/pi/Desktop/images/01122025/14/58/image_01122025_14_58_34_9725.jpg', '/home/pi/Desktop/images/01122025/14/58/image_01122025_14_58_45_10590.jpg', '/home/pi/Desktop/images/01122025/14/58/image_01122025_14_58_54_9559.jpg', '/home/pi/Desktop/images/01122025/14/58/image_01122025_14_59_05_10625.jpg', '/home/pi/Desktop/images/01122025/14/59/image_01122025_14_59_15_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/58/image_01122025_14_58_24_9672.jpg
/home/pi/Desktop/images/01122025/14/58/image_01122025_14_58_34_9725.jpg
/home/pi/Desktop/images/01122025/14/58/image_01122025_14_58_45_10590.jpg
/home/pi/Desktop/images/01122025/14/58/image_01122025_14_58_54_9559.jpg
/home/pi/Desktop/images/01122025/14/58/image_01122025_14_59_05_10625.jpg
/home/pi/Desktop/images/01122025/14/59/image_01122025_14_59_15_9807.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.609513521194458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 17:16:12.583056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_42_2684.jpg', '/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_45_2813.jpg', '/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_48_3559.jpg', '/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_51_2607.jpg', '/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_55_3579.jpg', '/home/pi/Desktop/images/25112025/23/04/image_25112025_23_05_00_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_42_2684.jpg
/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_45_2813.jpg
/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_48_3559.jpg
/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_51_2607.jpg
/home/pi/Desktop/images/25112025/23/04/image_25112025_23_04_55_3579.jpg
/home/pi/Desktop/images/25112025/23/04/image_25112025_23_05_00_2630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397242082","1397242076","1397242079","1397242072","1397242102","1397242068"],"photo_ids_order":["1397242068","1397242072","1397242076","1397242079","1397242082","1397242102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b7bfb44888950f999d3c81278892aafc.jpg","text":"TemporaryFile(/tmp/multipartBody1479112191373954983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605834172,"filename":"image_25112025_23_04_55_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/95f79a1fd47a9bd47409a6e7c527c88a.jpg","text":"TemporaryFile(/tmp/multipartBody6115783440975937808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605834172,"filename":"image_25112025_23_04_48_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/1/7f045e2ad60832a4f0d665e449f8ff88.jpg","text":"TemporaryFile(/tmp/multipartBody3252760986100093842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605834172,"filename":"image_25112025_23_04_51_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3c2fc3ad250150ac9e5a56a64970fa6b.jpg","text":"TemporaryFile(/tmp/multipartBody6204892117997012083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605834172,"filename":"image_25112025_23_04_45_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/1/a75a9cbe28c7366549edc4d5dc07c7d5.jpg","text":"TemporaryFile(/tmp/multipartBody755061575663372016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605834172,"filename":"image_25112025_23_05_00_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/1/d3e3f6224ac9c2024f0ee34dfedef88f.jpg","text":"TemporaryFile(/tmp/multipartBody2959824909042900245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605834172,"filename":"image_25112025_23_04_42_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397242076","file1":"1397242072","file0":"1397242068","file4":"1397242082","file5":"1397242102","file3":"1397242079"},"map_files_photo_id_array":[{"photo_id":"1397242102","filename":"file5"},{"photo_id":"1397242076","filename":"file2"},{"photo_id":"1397242082","filename":"file4"},{"photo_id":"1397242072","filename":"file1"},{"photo_id":"1397242068","filename":"file0"},{"photo_id":"1397242079","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397242082":["hashtag1","hashtag2"]},{"1397242076":["hashtag1","hashtag2"]},{"1397242079":["hashtag1","hashtag2"]},{"1397242072":["hashtag1","hashtag2"]},{"1397242102":["hashtag1","hashtag2"]},{"1397242068":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397242082, 1397242076, 1397242079, 1397242072, 1397242102, 1397242068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.76612210273743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:17:02.680177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/58/image_01122025_14_58_24_9672.jpg', '/home/pi/Desktop/images/01122025/14/58/image_01122025_14_58_34_9725.jpg', '/home/pi/Desktop/images/01122025/14/58/image_01122025_14_58_45_10590.jpg', '/home/pi/Desktop/images/01122025/14/58/image_01122025_14_58_54_9559.jpg', '/home/pi/Desktop/images/01122025/14/58/image_01122025_14_59_05_10625.jpg', '/home/pi/Desktop/images/01122025/14/59/image_01122025_14_59_15_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/58/image_01122025_14_58_24_9672.jpg
/home/pi/Desktop/images/01122025/14/58/image_01122025_14_58_34_9725.jpg
/home/pi/Desktop/images/01122025/14/58/image_01122025_14_58_45_10590.jpg
/home/pi/Desktop/images/01122025/14/58/image_01122025_14_58_54_9559.jpg
/home/pi/Desktop/images/01122025/14/58/image_01122025_14_59_05_10625.jpg
/home/pi/Desktop/images/01122025/14/59/image_01122025_14_59_15_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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397242142","1397242118","1397242168","1397242162","1397242165","1397242119"],"photo_ids_order":["1397242118","1397242119","1397242142","1397242162","1397242165","1397242168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0fbe86b417c08f047aef17ae321238d8.jpg","text":"TemporaryFile(/tmp/multipartBody3662755473482426918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605883442,"filename":"image_01122025_14_58_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/1/31a3d8b663f0dd75fe6d3fe6f18a2a38.jpg","text":"TemporaryFile(/tmp/multipartBody6643447914200503713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605883442,"filename":"image_01122025_14_58_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/1/40e141c08e5da771d8f278f12346445c.jpg","text":"TemporaryFile(/tmp/multipartBody8128375100720700889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605883442,"filename":"image_01122025_14_59_15_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2acf2fc1e7af0f72f9fa2fd5cc886e42.jpg","text":"TemporaryFile(/tmp/multipartBody1091926798095505607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605883442,"filename":"image_01122025_14_58_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/1/7516223b2792a0a48149e99952e3080d.jpg","text":"TemporaryFile(/tmp/multipartBody2887217572145014379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605883442,"filename":"image_01122025_14_59_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/1/dda97ea94b42c33c39449c29d4320ade.jpg","text":"TemporaryFile(/tmp/multipartBody2721387298634914787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605883442,"filename":"image_01122025_14_58_34_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397242142","file1":"1397242119","file0":"1397242118","file4":"1397242165","file5":"1397242168","file3":"1397242162"},"map_files_photo_id_array":[{"photo_id":"1397242168","filename":"file5"},{"photo_id":"1397242142","filename":"file2"},{"photo_id":"1397242165","filename":"file4"},{"photo_id":"1397242119","filename":"file1"},{"photo_id":"1397242118","filename":"file0"},{"photo_id":"1397242162","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397242142":["hashtag1","hashtag2"]},{"1397242118":["hashtag1","hashtag2"]},{"1397242168":["hashtag1","hashtag2"]},{"1397242162":["hashtag1","hashtag2"]},{"1397242165":["hashtag1","hashtag2"]},{"1397242119":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397242142, 1397242118, 1397242168, 1397242162, 1397242165, 1397242119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.0264368057251 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:18:02.493746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 17:18:12.063944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_03_3597.jpg', '/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_06_2650.jpg', '/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_09_2689.jpg', '/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_12_3505.jpg', '/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_15_2726.jpg', '/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_18_3501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_03_3597.jpg
/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_06_2650.jpg
/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_09_2689.jpg
/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_12_3505.jpg
/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_15_2726.jpg
/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_18_3501.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397242178","1397242177","1397242182","1397242191","1397242185","1397242188"],"photo_ids_order":["1397242177","1397242178","1397242182","1397242185","1397242188","1397242191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2168cedef3a93016b473100d4b074bb0.jpg","text":"TemporaryFile(/tmp/multipartBody6958951499383278334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605953977,"filename":"image_25112025_23_05_06_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/1/9f0c25ef3851cb5287ecb697bff0eceb.jpg","text":"TemporaryFile(/tmp/multipartBody2296871542101309685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605953977,"filename":"image_25112025_23_05_03_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c7521b88ae3367655a8953665e920634.jpg","text":"TemporaryFile(/tmp/multipartBody4357292157766248275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605953977,"filename":"image_25112025_23_05_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/1/877f3c4e18e501e01977133c1bf1747d.jpg","text":"TemporaryFile(/tmp/multipartBody254802961220825604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605953977,"filename":"image_25112025_23_05_18_3501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fe7063b28af145dbbbcc18658b641de6.jpg","text":"TemporaryFile(/tmp/multipartBody3656024412412085915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605953977,"filename":"image_25112025_23_05_12_3505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e18bf011c2d80ee5c61385ec152802b1.jpg","text":"TemporaryFile(/tmp/multipartBody5325598306928701414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764605953977,"filename":"image_25112025_23_05_15_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397242182","file1":"1397242178","file0":"1397242177","file4":"1397242188","file5":"1397242191","file3":"1397242185"},"map_files_photo_id_array":[{"photo_id":"1397242191","filename":"file5"},{"photo_id":"1397242182","filename":"file2"},{"photo_id":"1397242188","filename":"file4"},{"photo_id":"1397242178","filename":"file1"},{"photo_id":"1397242177","filename":"file0"},{"photo_id":"1397242185","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397242178":["hashtag1","hashtag2"]},{"1397242177":["hashtag1","hashtag2"]},{"1397242182":["hashtag1","hashtag2"]},{"1397242191":["hashtag1","hashtag2"]},{"1397242185":["hashtag1","hashtag2"]},{"1397242188":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397242178, 1397242177, 1397242182, 1397242191, 1397242185, 1397242188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.49899387359619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:19:03.328590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 17:19:12.463560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 17:19:22.505875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/14/59/image_01122025_14_59_25_9763.jpg', '/home/pi/Desktop/images/01122025/14/59/image_01122025_14_59_34_9684.jpg', '/home/pi/Desktop/images/01122025/14/59/image_01122025_14_59_45_10598.jpg', '/home/pi/Desktop/images/01122025/14/59/image_01122025_14_59_55_9713.jpg', '/home/pi/Desktop/images/01122025/15/00/image_01122025_15_00_15_10053.jpg', '/home/pi/Desktop/images/01122025/15/00/image_01122025_15_00_25_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/14/59/image_01122025_14_59_25_9763.jpg
/home/pi/Desktop/images/01122025/14/59/image_01122025_14_59_34_9684.jpg
/home/pi/Desktop/images/01122025/14/59/image_01122025_14_59_45_10598.jpg
/home/pi/Desktop/images/01122025/14/59/image_01122025_14_59_55_9713.jpg
/home/pi/Desktop/images/01122025/15/00/image_01122025_15_00_15_10053.jpg
/home/pi/Desktop/images/01122025/15/00/image_01122025_15_00_25_10642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397242198","1397242195","1397242204","1397242213","1397242201","1397242209"],"photo_ids_order":["1397242195","1397242198","1397242201","1397242204","1397242209","1397242213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ea97fbfa733d229ba9208fb2cbc297df.jpg","text":"TemporaryFile(/tmp/multipartBody3655451739229959833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606023174,"filename":"image_01122025_14_59_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/1/4d46d84f04c89d28cc758735e08346ab.jpg","text":"TemporaryFile(/tmp/multipartBody1299560551736777212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606023174,"filename":"image_01122025_14_59_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/1/13f02ab109d58780a6ae45c00d62db46.jpg","text":"TemporaryFile(/tmp/multipartBody3210239480714562345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606023174,"filename":"image_01122025_14_59_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/1/946213e877b313d60cc11e9bbb1f9fa6.jpg","text":"TemporaryFile(/tmp/multipartBody7263949921040140305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606023174,"filename":"image_01122025_15_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/1/e72c7bc3d73eadb907e016cefe3f1014.jpg","text":"TemporaryFile(/tmp/multipartBody6867276900570171885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606023174,"filename":"image_01122025_14_59_45_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c1e92152c1b7067103166a5f88156f50.jpg","text":"TemporaryFile(/tmp/multipartBody431582533821796541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606023174,"filename":"image_01122025_15_00_15_10053.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397242201","file1":"1397242198","file0":"1397242195","file4":"1397242209","file5":"1397242213","file3":"1397242204"},"map_files_photo_id_array":[{"photo_id":"1397242213","filename":"file5"},{"photo_id":"1397242201","filename":"file2"},{"photo_id":"1397242209","filename":"file4"},{"photo_id":"1397242198","filename":"file1"},{"photo_id":"1397242195","filename":"file0"},{"photo_id":"1397242204","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397242198":["hashtag1","hashtag2"]},{"1397242195":["hashtag1","hashtag2"]},{"1397242204":["hashtag1","hashtag2"]},{"1397242213":["hashtag1","hashtag2"]},{"1397242201":["hashtag1","hashtag2"]},{"1397242209":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397242198, 1397242195, 1397242204, 1397242213, 1397242201, 1397242209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.45059013366699 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 17:20:22.621586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/00/image_01122025_15_00_35_9628.jpg', '/home/pi/Desktop/images/01122025/15/00/image_01122025_15_00_45_9747.jpg', '/home/pi/Desktop/images/01122025/15/00/image_01122025_15_00_55_10601.jpg', '/home/pi/Desktop/images/01122025/15/00/image_01122025_15_01_05_9774.jpg', '/home/pi/Desktop/images/01122025/15/01/image_01122025_15_01_15_9692.jpg', '/home/pi/Desktop/images/01122025/15/01/image_01122025_15_01_25_10519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/00/image_01122025_15_00_35_9628.jpg
/home/pi/Desktop/images/01122025/15/00/image_01122025_15_00_45_9747.jpg
/home/pi/Desktop/images/01122025/15/00/image_01122025_15_00_55_10601.jpg
/home/pi/Desktop/images/01122025/15/00/image_01122025_15_01_05_9774.jpg
/home/pi/Desktop/images/01122025/15/01/image_01122025_15_01_15_9692.jpg
/home/pi/Desktop/images/01122025/15/01/image_01122025_15_01_25_10519.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397242226","1397242222","1397242231","1397242225","1397242228","1397242218"],"photo_ids_order":["1397242218","1397242222","1397242225","1397242226","1397242228","1397242231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0e054a245d5442d7c71bfad49c76f920.jpg","text":"TemporaryFile(/tmp/multipartBody1495034678798215928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606083257,"filename":"image_01122025_15_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/1/1033b3b4b06100d9c09cf2b555ee6450.jpg","text":"TemporaryFile(/tmp/multipartBody1886926803550050689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606083257,"filename":"image_01122025_15_00_45_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f6779cc17b79decd12e9a17dcc3a7462.jpg","text":"TemporaryFile(/tmp/multipartBody3113221438569223706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606083257,"filename":"image_01122025_15_01_25_10519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/433946833fe9a99ea99aa49c5a25ed72.jpg","text":"TemporaryFile(/tmp/multipartBody1617776450940978315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606083257,"filename":"image_01122025_15_00_55_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6cdbecc377c96e0822ec998a891b64b4.jpg","text":"TemporaryFile(/tmp/multipartBody8723351744533898212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606083257,"filename":"image_01122025_15_01_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/1/275269b6b96e4ac753c2d000f57c78d2.jpg","text":"TemporaryFile(/tmp/multipartBody1087367801132927542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606083257,"filename":"image_01122025_15_00_35_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397242225","file1":"1397242222","file0":"1397242218","file4":"1397242228","file5":"1397242231","file3":"1397242226"},"map_files_photo_id_array":[{"photo_id":"1397242231","filename":"file5"},{"photo_id":"1397242225","filename":"file2"},{"photo_id":"1397242228","filename":"file4"},{"photo_id":"1397242222","filename":"file1"},{"photo_id":"1397242218","filename":"file0"},{"photo_id":"1397242226","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397242226":["hashtag1","hashtag2"]},{"1397242222":["hashtag1","hashtag2"]},{"1397242231":["hashtag1","hashtag2"]},{"1397242225":["hashtag1","hashtag2"]},{"1397242228":["hashtag1","hashtag2"]},{"1397242218":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397242226, 1397242222, 1397242231, 1397242225, 1397242228, 1397242218)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.637614488601685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 17:21:12.039209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_21_2637.jpg', '/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_24_2569.jpg', '/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_27_3612.jpg', '/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_30_2613.jpg', '/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_33_2708.jpg', '/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_36_3650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_21_2637.jpg
/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_24_2569.jpg
/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_27_3612.jpg
/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_30_2613.jpg
/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_33_2708.jpg
/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_36_3650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397242235","1397242252","1397242249","1397242237","1397242246","1397242242"],"photo_ids_order":["1397242235","1397242237","1397242242","1397242246","1397242249","1397242252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/58f13aa604f001341ef68bcfda5e5f61.jpg","text":"TemporaryFile(/tmp/multipartBody4314449822488944797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606134411,"filename":"image_25112025_23_05_21_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3ae6008eeb81c06da5abefc854df12b4.jpg","text":"TemporaryFile(/tmp/multipartBody8664891423135187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606134411,"filename":"image_25112025_23_05_36_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6d6a997d9fea78c192d953ed2fa4bc1b.jpg","text":"TemporaryFile(/tmp/multipartBody7687388527826049228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606134411,"filename":"image_25112025_23_05_33_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/1/1c4d8304e77a473bd23a8b4b0af83a31.jpg","text":"TemporaryFile(/tmp/multipartBody531291834890956704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606134411,"filename":"image_25112025_23_05_24_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/1/0ec21955897264885741a5504f7780ac.jpg","text":"TemporaryFile(/tmp/multipartBody2066544322041183192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606134411,"filename":"image_25112025_23_05_30_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/1/c977bbe761ecda35d7011eea9a090548.jpg","text":"TemporaryFile(/tmp/multipartBody7099749799847038008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606134411,"filename":"image_25112025_23_05_27_3612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397242242","file1":"1397242237","file0":"1397242235","file4":"1397242249","file5":"1397242252","file3":"1397242246"},"map_files_photo_id_array":[{"photo_id":"1397242252","filename":"file5"},{"photo_id":"1397242242","filename":"file2"},{"photo_id":"1397242249","filename":"file4"},{"photo_id":"1397242237","filename":"file1"},{"photo_id":"1397242235","filename":"file0"},{"photo_id":"1397242246","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397242235":["hashtag1","hashtag2"]},{"1397242252":["hashtag1","hashtag2"]},{"1397242249":["hashtag1","hashtag2"]},{"1397242237":["hashtag1","hashtag2"]},{"1397242246":["hashtag1","hashtag2"]},{"1397242242":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397242235, 1397242252, 1397242249, 1397242237, 1397242246, 1397242242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.455302000045776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:22:02.671152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/01/image_01122025_15_01_35_9746.jpg', '/home/pi/Desktop/images/01122025/15/01/image_01122025_15_01_45_9624.jpg', '/home/pi/Desktop/images/01122025/15/01/image_01122025_15_01_56_10712.jpg', '/home/pi/Desktop/images/01122025/15/01/image_01122025_15_02_05_9598.jpg', '/home/pi/Desktop/images/01122025/15/02/image_01122025_15_02_16_10611.jpg', '/home/pi/Desktop/images/01122025/15/02/image_01122025_15_02_26_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/01/image_01122025_15_01_35_9746.jpg
/home/pi/Desktop/images/01122025/15/01/image_01122025_15_01_45_9624.jpg
/home/pi/Desktop/images/01122025/15/01/image_01122025_15_01_56_10712.jpg
/home/pi/Desktop/images/01122025/15/01/image_01122025_15_02_05_9598.jpg
/home/pi/Desktop/images/01122025/15/02/image_01122025_15_02_16_10611.jpg
/home/pi/Desktop/images/01122025/15/02/image_01122025_15_02_26_9822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397242280","1397242277","1397242259","1397242270","1397242263","1397242266"],"photo_ids_order":["1397242259","1397242263","1397242266","1397242270","1397242277","1397242280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/871bc771e9736dd8c360033acca6d049.jpg","text":"TemporaryFile(/tmp/multipartBody5869577500097411817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606187013,"filename":"image_01122025_15_02_26_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/1/a67be03d46ae98f77128643c5fad0160.jpg","text":"TemporaryFile(/tmp/multipartBody332373026969349454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606187013,"filename":"image_01122025_15_02_16_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/1/25d2d042240c8fadb0d371f1952eca9a.jpg","text":"TemporaryFile(/tmp/multipartBody8367606848595726169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606187013,"filename":"image_01122025_15_01_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/1/616a323f47688bb89644c03fc7db6a7f.jpg","text":"TemporaryFile(/tmp/multipartBody8199099578385544305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606187013,"filename":"image_01122025_15_02_05_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3d06570ac1fbfbb7de8a3aa833e7cbb9.jpg","text":"TemporaryFile(/tmp/multipartBody7014279366934826193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606187013,"filename":"image_01122025_15_01_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/1/b6ff53c120a84207eb319877b7f666ab.jpg","text":"TemporaryFile(/tmp/multipartBody8687145536174737789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606187013,"filename":"image_01122025_15_01_56_10712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397242266","file1":"1397242263","file0":"1397242259","file4":"1397242277","file5":"1397242280","file3":"1397242270"},"map_files_photo_id_array":[{"photo_id":"1397242280","filename":"file5"},{"photo_id":"1397242266","filename":"file2"},{"photo_id":"1397242277","filename":"file4"},{"photo_id":"1397242263","filename":"file1"},{"photo_id":"1397242259","filename":"file0"},{"photo_id":"1397242270","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397242280":["hashtag1","hashtag2"]},{"1397242277":["hashtag1","hashtag2"]},{"1397242259":["hashtag1","hashtag2"]},{"1397242270":["hashtag1","hashtag2"]},{"1397242263":["hashtag1","hashtag2"]},{"1397242266":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397242280, 1397242277, 1397242259, 1397242270, 1397242263, 1397242266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.87307906150818 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:23:08.413037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/02/image_01122025_15_02_35_9629.jpg', '/home/pi/Desktop/images/01122025/15/02/image_01122025_15_02_45_9864.jpg', '/home/pi/Desktop/images/01122025/15/02/image_01122025_15_02_56_10562.jpg', '/home/pi/Desktop/images/01122025/15/02/image_01122025_15_03_05_9602.jpg', '/home/pi/Desktop/images/01122025/15/03/image_01122025_15_03_15_9731.jpg', '/home/pi/Desktop/images/01122025/15/03/image_01122025_15_03_26_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/02/image_01122025_15_02_35_9629.jpg
/home/pi/Desktop/images/01122025/15/02/image_01122025_15_02_45_9864.jpg
/home/pi/Desktop/images/01122025/15/02/image_01122025_15_02_56_10562.jpg
/home/pi/Desktop/images/01122025/15/02/image_01122025_15_03_05_9602.jpg
/home/pi/Desktop/images/01122025/15/03/image_01122025_15_03_15_9731.jpg
/home/pi/Desktop/images/01122025/15/03/image_01122025_15_03_26_10682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397242348","1397242330","1397242353","1397242326","1397242341","1397242335"],"photo_ids_order":["1397242326","1397242330","1397242335","1397242341","1397242348","1397242353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/08779c8e2ac36ae0c54e8e124ab17f55.jpg","text":"TemporaryFile(/tmp/multipartBody786590232600691863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606251802,"filename":"image_01122025_15_03_15_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8e9c5f31da4eb81a6fdb5ea438ef4a8c.jpg","text":"TemporaryFile(/tmp/multipartBody7856713196163280269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606251802,"filename":"image_01122025_15_02_45_9864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3e7757852b68a1abbfa85141e0e3cd98.jpg","text":"TemporaryFile(/tmp/multipartBody3988024023483142490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606251802,"filename":"image_01122025_15_03_26_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/39952949e417bcf93594abee72141046.jpg","text":"TemporaryFile(/tmp/multipartBody257644836002356972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606251802,"filename":"image_01122025_15_02_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/1/e020899fb4415adcfffe9c9561af3688.jpg","text":"TemporaryFile(/tmp/multipartBody3150560009132646812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606251802,"filename":"image_01122025_15_03_05_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/1/3e81a2d8f4802a48c035e0144931a341.jpg","text":"TemporaryFile(/tmp/multipartBody2423391408333273767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606251802,"filename":"image_01122025_15_02_56_10562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397242335","file1":"1397242330","file0":"1397242326","file4":"1397242348","file5":"1397242353","file3":"1397242341"},"map_files_photo_id_array":[{"photo_id":"1397242353","filename":"file5"},{"photo_id":"1397242335","filename":"file2"},{"photo_id":"1397242348","filename":"file4"},{"photo_id":"1397242330","filename":"file1"},{"photo_id":"1397242326","filename":"file0"},{"photo_id":"1397242341","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397242348":["hashtag1","hashtag2"]},{"1397242330":["hashtag1","hashtag2"]},{"1397242353":["hashtag1","hashtag2"]},{"1397242326":["hashtag1","hashtag2"]},{"1397242341":["hashtag1","hashtag2"]},{"1397242335":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397242348, 1397242330, 1397242353, 1397242326, 1397242341, 1397242335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.666295528411865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:24:03.535102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/03/image_01122025_15_03_35_9563.jpg', '/home/pi/Desktop/images/01122025/15/03/image_01122025_15_03_45_9651.jpg', '/home/pi/Desktop/images/01122025/15/03/image_01122025_15_03_55_10639.jpg', '/home/pi/Desktop/images/01122025/15/03/image_01122025_15_04_05_9705.jpg', '/home/pi/Desktop/images/01122025/15/04/image_01122025_15_04_15_9825.jpg', '/home/pi/Desktop/images/01122025/15/04/image_01122025_15_04_26_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/03/image_01122025_15_03_35_9563.jpg
/home/pi/Desktop/images/01122025/15/03/image_01122025_15_03_45_9651.jpg
/home/pi/Desktop/images/01122025/15/03/image_01122025_15_03_55_10639.jpg
/home/pi/Desktop/images/01122025/15/03/image_01122025_15_04_05_9705.jpg
/home/pi/Desktop/images/01122025/15/04/image_01122025_15_04_15_9825.jpg
/home/pi/Desktop/images/01122025/15/04/image_01122025_15_04_26_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":["1397242363","1397242360","1397242374","1397242371","1397242365","1397242368"],"photo_ids_order":["1397242360","1397242363","1397242365","1397242368","1397242371","1397242374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/769036ab70b65b642f24e465f120ff70.jpg","text":"TemporaryFile(/tmp/multipartBody1527266101828206200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606306714,"filename":"image_01122025_15_03_45_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5ea074381531f44462c939d56a8c36f6.jpg","text":"TemporaryFile(/tmp/multipartBody5637715108665018710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606306714,"filename":"image_01122025_15_03_35_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/1/7e282ef88dcf4b910a29ddff0b8c201c.jpg","text":"TemporaryFile(/tmp/multipartBody7071796982374077952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606306714,"filename":"image_01122025_15_04_26_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/1/171986cd11120fbbb56b1b9a01c221e5.jpg","text":"TemporaryFile(/tmp/multipartBody6916614475828561115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606306714,"filename":"image_01122025_15_04_15_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5131a2753e9f03db6cf14975e67c428b.jpg","text":"TemporaryFile(/tmp/multipartBody9213983418678697712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606306714,"filename":"image_01122025_15_03_55_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4fe6f19d259ddd7f9d2a267b3cec2748.jpg","text":"TemporaryFile(/tmp/multipartBody7367977838118418068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606306714,"filename":"image_01122025_15_04_05_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397242365","file1":"1397242363","file0":"1397242360","file4":"1397242371","file5":"1397242374","file3":"1397242368"},"map_files_photo_id_array":[{"photo_id":"1397242374","filename":"file5"},{"photo_id":"1397242365","filename":"file2"},{"photo_id":"1397242371","filename":"file4"},{"photo_id":"1397242363","filename":"file1"},{"photo_id":"1397242360","filename":"file0"},{"photo_id":"1397242368","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397242363":["hashtag1","hashtag2"]},{"1397242360":["hashtag1","hashtag2"]},{"1397242374":["hashtag1","hashtag2"]},{"1397242371":["hashtag1","hashtag2"]},{"1397242365":["hashtag1","hashtag2"]},{"1397242368":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397242363, 1397242360, 1397242374, 1397242371, 1397242365, 1397242368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.270259618759155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:25:03.289113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 17:25:12.796776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_39_2523.jpg', '/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_45_2490.jpg', '/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_48_2598.jpg', '/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_51_3776.jpg', '/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_54_2567.jpg', '/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_57_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_39_2523.jpg
/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_45_2490.jpg
/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_48_2598.jpg
/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_51_3776.jpg
/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_54_2567.jpg
/home/pi/Desktop/images/25112025/23/05/image_25112025_23_05_57_2648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397242387","1397242395","1397242398","1397242383","1397242401","1397242391"],"photo_ids_order":["1397242383","1397242387","1397242391","1397242395","1397242398","1397242401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1f5e87be24556c2b85b1e1cf5f618021.jpg","text":"TemporaryFile(/tmp/multipartBody2242817011195134418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606375983,"filename":"image_25112025_23_05_45_2490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9aed0ae49a8162bd27fb07c7dabcac21.jpg","text":"TemporaryFile(/tmp/multipartBody2854243112378520133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606375983,"filename":"image_25112025_23_05_51_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/1/914b073eaa3d5aa66c2c97bcd7f95105.jpg","text":"TemporaryFile(/tmp/multipartBody4719797248218326284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606375983,"filename":"image_25112025_23_05_54_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6e3af33cbc1dd90b2965beb3cfd0fdcd.jpg","text":"TemporaryFile(/tmp/multipartBody8643817290915894560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606375983,"filename":"image_25112025_23_05_39_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fc38d878d176e621a9f0dde3601dd1dd.jpg","text":"TemporaryFile(/tmp/multipartBody4814195888970486158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606375983,"filename":"image_25112025_23_05_57_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/95dfbde1a6249bae24d87fc0ce3ef2b4.jpg","text":"TemporaryFile(/tmp/multipartBody1002257334380256775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606375983,"filename":"image_25112025_23_05_48_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397242391","file1":"1397242387","file0":"1397242383","file4":"1397242398","file5":"1397242401","file3":"1397242395"},"map_files_photo_id_array":[{"photo_id":"1397242401","filename":"file5"},{"photo_id":"1397242391","filename":"file2"},{"photo_id":"1397242398","filename":"file4"},{"photo_id":"1397242387","filename":"file1"},{"photo_id":"1397242383","filename":"file0"},{"photo_id":"1397242395","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397242387":["hashtag1","hashtag2"]},{"1397242395":["hashtag1","hashtag2"]},{"1397242398":["hashtag1","hashtag2"]},{"1397242383":["hashtag1","hashtag2"]},{"1397242401":["hashtag1","hashtag2"]},{"1397242391":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397242387, 1397242395, 1397242398, 1397242383, 1397242401, 1397242391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.11602520942688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:26:02.376754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/04/image_01122025_15_04_35_9645.jpg', '/home/pi/Desktop/images/01122025/15/04/image_01122025_15_04_45_9668.jpg', '/home/pi/Desktop/images/01122025/15/04/image_01122025_15_04_56_10762.jpg', '/home/pi/Desktop/images/01122025/15/04/image_01122025_15_05_06_9757.jpg', '/home/pi/Desktop/images/01122025/15/05/image_01122025_15_05_16_10268.jpg', '/home/pi/Desktop/images/01122025/15/05/image_01122025_15_05_26_9846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/04/image_01122025_15_04_35_9645.jpg
/home/pi/Desktop/images/01122025/15/04/image_01122025_15_04_45_9668.jpg
/home/pi/Desktop/images/01122025/15/04/image_01122025_15_04_56_10762.jpg
/home/pi/Desktop/images/01122025/15/04/image_01122025_15_05_06_9757.jpg
/home/pi/Desktop/images/01122025/15/05/image_01122025_15_05_16_10268.jpg
/home/pi/Desktop/images/01122025/15/05/image_01122025_15_05_26_9846.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397242420","1397242414","1397242423","1397242417","1397242411","1397242407"],"photo_ids_order":["1397242407","1397242411","1397242414","1397242417","1397242420","1397242423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d847034397524d50bd0ec971a8fe57a4.jpg","text":"TemporaryFile(/tmp/multipartBody1711287820961877951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606425547,"filename":"image_01122025_15_05_16_10268.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0d9a59de5450e6c9b55f04b29046a6fd.jpg","text":"TemporaryFile(/tmp/multipartBody9052402681611327379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606425547,"filename":"image_01122025_15_04_56_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/1/a1090e041b7e8279ea1eb43ab6858efb.jpg","text":"TemporaryFile(/tmp/multipartBody972609125723061332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606425547,"filename":"image_01122025_15_05_26_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/1/0d8b4731a084b5d3cd1a3a0963b87bdd.jpg","text":"TemporaryFile(/tmp/multipartBody2289948321612605527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606425547,"filename":"image_01122025_15_05_06_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/1/0deda15199d81f05ac493524f50bf1b3.jpg","text":"TemporaryFile(/tmp/multipartBody9008882746905250857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606425547,"filename":"image_01122025_15_04_45_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c6bb9223129a24a4c25ffc6c9eaa30ff.jpg","text":"TemporaryFile(/tmp/multipartBody1183072766467958476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606425547,"filename":"image_01122025_15_04_35_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397242414","file1":"1397242411","file0":"1397242407","file4":"1397242420","file5":"1397242423","file3":"1397242417"},"map_files_photo_id_array":[{"photo_id":"1397242423","filename":"file5"},{"photo_id":"1397242414","filename":"file2"},{"photo_id":"1397242420","filename":"file4"},{"photo_id":"1397242411","filename":"file1"},{"photo_id":"1397242407","filename":"file0"},{"photo_id":"1397242417","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397242420":["hashtag1","hashtag2"]},{"1397242414":["hashtag1","hashtag2"]},{"1397242423":["hashtag1","hashtag2"]},{"1397242417":["hashtag1","hashtag2"]},{"1397242411":["hashtag1","hashtag2"]},{"1397242407":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397242420, 1397242414, 1397242423, 1397242417, 1397242411, 1397242407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37868642807007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:27:02.718710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/05/image_01122025_15_05_36_9697.jpg', '/home/pi/Desktop/images/01122025/15/05/image_01122025_15_05_45_9673.jpg', '/home/pi/Desktop/images/01122025/15/05/image_01122025_15_05_56_10741.jpg', '/home/pi/Desktop/images/01122025/15/05/image_01122025_15_06_06_9680.jpg', '/home/pi/Desktop/images/01122025/15/06/image_01122025_15_06_16_9692.jpg', '/home/pi/Desktop/images/01122025/15/06/image_01122025_15_06_26_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/05/image_01122025_15_05_36_9697.jpg
/home/pi/Desktop/images/01122025/15/05/image_01122025_15_05_45_9673.jpg
/home/pi/Desktop/images/01122025/15/05/image_01122025_15_05_56_10741.jpg
/home/pi/Desktop/images/01122025/15/05/image_01122025_15_06_06_9680.jpg
/home/pi/Desktop/images/01122025/15/06/image_01122025_15_06_16_9692.jpg
/home/pi/Desktop/images/01122025/15/06/image_01122025_15_06_26_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":["1397242523","1397242517","1397242532","1397242528","1397242519","1397242521"],"photo_ids_order":["1397242517","1397242519","1397242521","1397242523","1397242528","1397242532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3656a358e4db1e7cb930acd8e77ef88e.jpg","text":"TemporaryFile(/tmp/multipartBody3763893529421643318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606483547,"filename":"image_01122025_15_06_06_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/1/578219c33da84696756583292f4dc7a7.jpg","text":"TemporaryFile(/tmp/multipartBody8775563024031169542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606483547,"filename":"image_01122025_15_05_36_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/1/557b9d6e645b0018fa6aba2fa993b1f2.jpg","text":"TemporaryFile(/tmp/multipartBody2616076932823939795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606483547,"filename":"image_01122025_15_06_26_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/1/6521bb5b7dd5aaa06a4a02998c41685a.jpg","text":"TemporaryFile(/tmp/multipartBody8515814941595082761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606483547,"filename":"image_01122025_15_06_16_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/1/6e44ddd6f5bb988501a36f3b5949d0cd.jpg","text":"TemporaryFile(/tmp/multipartBody8719072146984410675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606483547,"filename":"image_01122025_15_05_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/1/30a8bba0596e8367040d5f462e156c40.jpg","text":"TemporaryFile(/tmp/multipartBody5723061432300597409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606483547,"filename":"image_01122025_15_05_56_10741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397242521","file1":"1397242519","file0":"1397242517","file4":"1397242528","file5":"1397242532","file3":"1397242523"},"map_files_photo_id_array":[{"photo_id":"1397242532","filename":"file5"},{"photo_id":"1397242521","filename":"file2"},{"photo_id":"1397242528","filename":"file4"},{"photo_id":"1397242519","filename":"file1"},{"photo_id":"1397242517","filename":"file0"},{"photo_id":"1397242523","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397242523":["hashtag1","hashtag2"]},{"1397242517":["hashtag1","hashtag2"]},{"1397242532":["hashtag1","hashtag2"]},{"1397242528":["hashtag1","hashtag2"]},{"1397242519":["hashtag1","hashtag2"]},{"1397242521":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397242523, 1397242517, 1397242532, 1397242528, 1397242519, 1397242521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.130614280700684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.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-01 17:28:09.160573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 17:28:22.209663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/06/image_01122025_15_06_36_9579.jpg', '/home/pi/Desktop/images/01122025/15/06/image_01122025_15_06_45_9651.jpg', '/home/pi/Desktop/images/01122025/15/06/image_01122025_15_06_55_9930.jpg', '/home/pi/Desktop/images/01122025/15/06/image_01122025_15_07_06_10705.jpg', '/home/pi/Desktop/images/01122025/15/07/image_01122025_15_07_16_9853.jpg', '/home/pi/Desktop/images/01122025/15/07/image_01122025_15_07_26_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/06/image_01122025_15_06_36_9579.jpg
/home/pi/Desktop/images/01122025/15/06/image_01122025_15_06_45_9651.jpg
/home/pi/Desktop/images/01122025/15/06/image_01122025_15_06_55_9930.jpg
/home/pi/Desktop/images/01122025/15/06/image_01122025_15_07_06_10705.jpg
/home/pi/Desktop/images/01122025/15/07/image_01122025_15_07_16_9853.jpg
/home/pi/Desktop/images/01122025/15/07/image_01122025_15_07_26_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":["1397242562","1397242573","1397242569","1397242560","1397242557","1397242566"],"photo_ids_order":["1397242557","1397242560","1397242562","1397242566","1397242569","1397242573"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/66304de468a27c75fc74935d834bfd20.jpg","text":"TemporaryFile(/tmp/multipartBody3887873159531535926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606562884,"filename":"image_01122025_15_06_55_9930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9b9e32431020920c526242d64267ff64.jpg","text":"TemporaryFile(/tmp/multipartBody7308259229878639456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606562884,"filename":"image_01122025_15_07_26_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/1/3aecfbd82bfe0bb564e1e1a04eca8645.jpg","text":"TemporaryFile(/tmp/multipartBody7302310844775729932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606562884,"filename":"image_01122025_15_07_16_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/1/1e8e3d9e9f829f83b5cf9b41031d361e.jpg","text":"TemporaryFile(/tmp/multipartBody1591117540322548038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606562884,"filename":"image_01122025_15_06_45_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6ab8e0ad705c054224eb10c6e1097940.jpg","text":"TemporaryFile(/tmp/multipartBody1734259851119674899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606562884,"filename":"image_01122025_15_06_36_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/1/6e68337cab00d44e7903cbc3ba90c31c.jpg","text":"TemporaryFile(/tmp/multipartBody538958414027770078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606562884,"filename":"image_01122025_15_07_06_10705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397242562","file1":"1397242560","file0":"1397242557","file4":"1397242569","file5":"1397242573","file3":"1397242566"},"map_files_photo_id_array":[{"photo_id":"1397242573","filename":"file5"},{"photo_id":"1397242562","filename":"file2"},{"photo_id":"1397242569","filename":"file4"},{"photo_id":"1397242560","filename":"file1"},{"photo_id":"1397242557","filename":"file0"},{"photo_id":"1397242566","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397242562":["hashtag1","hashtag2"]},{"1397242573":["hashtag1","hashtag2"]},{"1397242569":["hashtag1","hashtag2"]},{"1397242560":["hashtag1","hashtag2"]},{"1397242557":["hashtag1","hashtag2"]},{"1397242566":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397242562, 1397242573, 1397242569, 1397242560, 1397242557, 1397242566)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.127999782562256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 17:29:12.643489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/05/image_25112025_23_06_00_3566.jpg', '/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_03_2601.jpg', '/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_06_3590.jpg', '/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_09_2609.jpg', '/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_12_2765.jpg', '/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_15_3620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/05/image_25112025_23_06_00_3566.jpg
/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_03_2601.jpg
/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_06_3590.jpg
/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_09_2609.jpg
/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_12_2765.jpg
/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_15_3620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397242574","1397242582","1397242576","1397242579","1397242590","1397242587"],"photo_ids_order":["1397242574","1397242576","1397242579","1397242582","1397242587","1397242590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/984afec15afa04dad00b8453d80b5fe7.jpg","text":"TemporaryFile(/tmp/multipartBody1846501355481500750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606614225,"filename":"image_25112025_23_06_00_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/1/7db7140828c48dd878536944aa60c848.jpg","text":"TemporaryFile(/tmp/multipartBody8590628425983009141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606614225,"filename":"image_25112025_23_06_09_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/1/f741e242cf2eff25c5a77050a05d3a9b.jpg","text":"TemporaryFile(/tmp/multipartBody2310607343066484404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606614225,"filename":"image_25112025_23_06_03_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/25db4e866c529a3711aed723ed4b5718.jpg","text":"TemporaryFile(/tmp/multipartBody13554206081430415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606614225,"filename":"image_25112025_23_06_06_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/1/0c94a60e23d115c0635ce8a9f2ebc076.jpg","text":"TemporaryFile(/tmp/multipartBody5383818086099388037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606614225,"filename":"image_25112025_23_06_15_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/1/71c9f38e2d306b646def6b1dcc7e13b9.jpg","text":"TemporaryFile(/tmp/multipartBody8748884071146938000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606614225,"filename":"image_25112025_23_06_12_2765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397242579","file1":"1397242576","file0":"1397242574","file4":"1397242587","file5":"1397242590","file3":"1397242582"},"map_files_photo_id_array":[{"photo_id":"1397242590","filename":"file5"},{"photo_id":"1397242579","filename":"file2"},{"photo_id":"1397242587","filename":"file4"},{"photo_id":"1397242576","filename":"file1"},{"photo_id":"1397242574","filename":"file0"},{"photo_id":"1397242582","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397242574":["hashtag1","hashtag2"]},{"1397242582":["hashtag1","hashtag2"]},{"1397242576":["hashtag1","hashtag2"]},{"1397242579":["hashtag1","hashtag2"]},{"1397242590":["hashtag1","hashtag2"]},{"1397242587":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397242574, 1397242582, 1397242576, 1397242579, 1397242590, 1397242587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32948923110962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:30:02.303957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/07/image_01122025_15_07_35_9723.jpg', '/home/pi/Desktop/images/01122025/15/07/image_01122025_15_07_46_10763.jpg', '/home/pi/Desktop/images/01122025/15/07/image_01122025_15_07_56_9422.jpg', '/home/pi/Desktop/images/01122025/15/07/image_01122025_15_08_05_9821.jpg', '/home/pi/Desktop/images/01122025/15/08/image_01122025_15_08_16_10712.jpg', '/home/pi/Desktop/images/01122025/15/08/image_01122025_15_08_26_9793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/07/image_01122025_15_07_35_9723.jpg
/home/pi/Desktop/images/01122025/15/07/image_01122025_15_07_46_10763.jpg
/home/pi/Desktop/images/01122025/15/07/image_01122025_15_07_56_9422.jpg
/home/pi/Desktop/images/01122025/15/07/image_01122025_15_08_05_9821.jpg
/home/pi/Desktop/images/01122025/15/08/image_01122025_15_08_16_10712.jpg
/home/pi/Desktop/images/01122025/15/08/image_01122025_15_08_26_9793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397242679","1397242696","1397242723","1397242720","1397242677","1397242697"],"photo_ids_order":["1397242677","1397242679","1397242696","1397242697","1397242720","1397242723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/42357aa7305b4fa2417f0bd0924453fa.jpg","text":"TemporaryFile(/tmp/multipartBody394193564245977774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606663032,"filename":"image_01122025_15_07_46_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/1/1c71d4cf47b8750ba25f1dc374d113dd.jpg","text":"TemporaryFile(/tmp/multipartBody9106950978101040774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606663032,"filename":"image_01122025_15_07_56_9422.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d6121e421c36ed31888c080bed242035.jpg","text":"TemporaryFile(/tmp/multipartBody8855451048170007292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606663032,"filename":"image_01122025_15_08_26_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/1/a3bee4377b641ca11b41611f6574e836.jpg","text":"TemporaryFile(/tmp/multipartBody7435155011673275362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606663032,"filename":"image_01122025_15_08_16_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/1/c7d4cedf4a3b6f11671b2fb6fd983ff7.jpg","text":"TemporaryFile(/tmp/multipartBody6749874540417543181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606663032,"filename":"image_01122025_15_07_35_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dce82700a35a150f5a29dfa0e36d3842.jpg","text":"TemporaryFile(/tmp/multipartBody5080924219075277324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606663032,"filename":"image_01122025_15_08_05_9821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397242696","file1":"1397242679","file0":"1397242677","file4":"1397242720","file5":"1397242723","file3":"1397242697"},"map_files_photo_id_array":[{"photo_id":"1397242723","filename":"file5"},{"photo_id":"1397242696","filename":"file2"},{"photo_id":"1397242720","filename":"file4"},{"photo_id":"1397242679","filename":"file1"},{"photo_id":"1397242677","filename":"file0"},{"photo_id":"1397242697","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397242679":["hashtag1","hashtag2"]},{"1397242696":["hashtag1","hashtag2"]},{"1397242723":["hashtag1","hashtag2"]},{"1397242720":["hashtag1","hashtag2"]},{"1397242677":["hashtag1","hashtag2"]},{"1397242697":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397242679, 1397242696, 1397242723, 1397242720, 1397242677, 1397242697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09650182723999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:31:02.707933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/08/image_01122025_15_08_36_9756.jpg', '/home/pi/Desktop/images/01122025/15/08/image_01122025_15_08_45_9673.jpg', '/home/pi/Desktop/images/01122025/15/08/image_01122025_15_08_56_10759.jpg', '/home/pi/Desktop/images/01122025/15/08/image_01122025_15_09_06_9645.jpg', '/home/pi/Desktop/images/01122025/15/09/image_01122025_15_09_16_9885.jpg', '/home/pi/Desktop/images/01122025/15/09/image_01122025_15_09_26_9982.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/08/image_01122025_15_08_36_9756.jpg
/home/pi/Desktop/images/01122025/15/08/image_01122025_15_08_45_9673.jpg
/home/pi/Desktop/images/01122025/15/08/image_01122025_15_08_56_10759.jpg
/home/pi/Desktop/images/01122025/15/08/image_01122025_15_09_06_9645.jpg
/home/pi/Desktop/images/01122025/15/09/image_01122025_15_09_16_9885.jpg
/home/pi/Desktop/images/01122025/15/09/image_01122025_15_09_26_9982.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397242811","1397242814","1397242813","1397242878","1397242821","1397242812"],"photo_ids_order":["1397242811","1397242812","1397242813","1397242814","1397242821","1397242878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2d58b8ce30cfecfac4f4758ca7c0748b.jpg","text":"TemporaryFile(/tmp/multipartBody8481757008929799509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606723569,"filename":"image_01122025_15_08_36_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/1/ac1939a66b981d16b1e9a06de8394cd1.jpg","text":"TemporaryFile(/tmp/multipartBody7344524673988651343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606723569,"filename":"image_01122025_15_09_06_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/1/6a1f2aa8563716ba4ba81184fb534e8b.jpg","text":"TemporaryFile(/tmp/multipartBody7383104287597830677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606723569,"filename":"image_01122025_15_08_56_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/1/71e0907049eeb71c947730e2d5cf4f4d.jpg","text":"TemporaryFile(/tmp/multipartBody99789604947239847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606723569,"filename":"image_01122025_15_09_26_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/1/449826579b0e7485a2d5a3c5004fbb3a.jpg","text":"TemporaryFile(/tmp/multipartBody3849882669294131435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606723569,"filename":"image_01122025_15_09_16_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/1/02d2f2a41fe54a5a2a30270bd2124f69.jpg","text":"TemporaryFile(/tmp/multipartBody6095922451970941631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606723569,"filename":"image_01122025_15_08_45_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397242813","file1":"1397242812","file0":"1397242811","file4":"1397242821","file5":"1397242878","file3":"1397242814"},"map_files_photo_id_array":[{"photo_id":"1397242878","filename":"file5"},{"photo_id":"1397242813","filename":"file2"},{"photo_id":"1397242821","filename":"file4"},{"photo_id":"1397242812","filename":"file1"},{"photo_id":"1397242811","filename":"file0"},{"photo_id":"1397242814","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397242811":["hashtag1","hashtag2"]},{"1397242814":["hashtag1","hashtag2"]},{"1397242813":["hashtag1","hashtag2"]},{"1397242878":["hashtag1","hashtag2"]},{"1397242821":["hashtag1","hashtag2"]},{"1397242812":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397242811, 1397242814, 1397242813, 1397242878, 1397242821, 1397242812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.25988268852234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:32:03.066364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 17:32:12.607603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_18_2786.jpg', '/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_21_2793.jpg', '/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_23_2597.jpg', '/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_27_3610.jpg', '/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_30_2704.jpg', '/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_32_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_18_2786.jpg
/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_21_2793.jpg
/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_23_2597.jpg
/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_27_3610.jpg
/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_30_2704.jpg
/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_32_2718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397242910","1397242913","1397242907","1397242891","1397242903","1397242895"],"photo_ids_order":["1397242891","1397242895","1397242903","1397242907","1397242910","1397242913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/affd7a460ad8df14f64321c10a3abc7c.jpg","text":"TemporaryFile(/tmp/multipartBody1819749429560924598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606794180,"filename":"image_25112025_23_06_30_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7a248da933fa6bb87e0f4ef4a043f5b0.jpg","text":"TemporaryFile(/tmp/multipartBody3167886242886310407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606794180,"filename":"image_25112025_23_06_32_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/1/fe0a18fda2d9d1322f97e81140219f6f.jpg","text":"TemporaryFile(/tmp/multipartBody8911573970792847646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606794180,"filename":"image_25112025_23_06_27_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/1/31cfbde19a27467a737c2bc4cec85f32.jpg","text":"TemporaryFile(/tmp/multipartBody5505968351769221447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606794180,"filename":"image_25112025_23_06_18_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/1/3d16e8843ab26f780a955af505d6fd68.jpg","text":"TemporaryFile(/tmp/multipartBody1567259930680982950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606794180,"filename":"image_25112025_23_06_23_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/1/29e28a8497651ab8f051bcd34cd71a26.jpg","text":"TemporaryFile(/tmp/multipartBody2001103569137153960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606794180,"filename":"image_25112025_23_06_21_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397242903","file1":"1397242895","file0":"1397242891","file4":"1397242910","file5":"1397242913","file3":"1397242907"},"map_files_photo_id_array":[{"photo_id":"1397242913","filename":"file5"},{"photo_id":"1397242903","filename":"file2"},{"photo_id":"1397242910","filename":"file4"},{"photo_id":"1397242895","filename":"file1"},{"photo_id":"1397242891","filename":"file0"},{"photo_id":"1397242907","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397242910":["hashtag1","hashtag2"]},{"1397242913":["hashtag1","hashtag2"]},{"1397242907":["hashtag1","hashtag2"]},{"1397242891":["hashtag1","hashtag2"]},{"1397242903":["hashtag1","hashtag2"]},{"1397242895":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397242910, 1397242913, 1397242907, 1397242891, 1397242903, 1397242895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.314213514328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:33:03.264855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/09/image_01122025_15_09_35_9684.jpg', '/home/pi/Desktop/images/01122025/15/09/image_01122025_15_09_46_10617.jpg', '/home/pi/Desktop/images/01122025/15/09/image_01122025_15_10_05_9697.jpg', '/home/pi/Desktop/images/01122025/15/10/image_01122025_15_10_15_10046.jpg', '/home/pi/Desktop/images/01122025/15/10/image_01122025_15_10_26_10718.jpg', '/home/pi/Desktop/images/01122025/15/10/image_01122025_15_10_36_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/09/image_01122025_15_09_35_9684.jpg
/home/pi/Desktop/images/01122025/15/09/image_01122025_15_09_46_10617.jpg
/home/pi/Desktop/images/01122025/15/09/image_01122025_15_10_05_9697.jpg
/home/pi/Desktop/images/01122025/15/10/image_01122025_15_10_15_10046.jpg
/home/pi/Desktop/images/01122025/15/10/image_01122025_15_10_26_10718.jpg
/home/pi/Desktop/images/01122025/15/10/image_01122025_15_10_36_9752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397242982","1397242985","1397242979","1397242931","1397242980","1397242988"],"photo_ids_order":["1397242931","1397242979","1397242980","1397242982","1397242985","1397242988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/15a4411fdbdd075a88a9c6da00f6032b.jpg","text":"TemporaryFile(/tmp/multipartBody4347438962108951029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606845600,"filename":"image_01122025_15_10_15_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/1/cdac88445edbc41b8c48073466b87cf6.jpg","text":"TemporaryFile(/tmp/multipartBody7463160631767730062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606845600,"filename":"image_01122025_15_10_26_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/177e7f40acb2aad290eacc87cae0bf4a.jpg","text":"TemporaryFile(/tmp/multipartBody210308549844178945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606845600,"filename":"image_01122025_15_09_46_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/1/dfea9796ae79a408beccd7d3a365d1e5.jpg","text":"TemporaryFile(/tmp/multipartBody2967928918052068962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606845600,"filename":"image_01122025_15_09_35_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/1/1fc1c1607ab97568c1c2ec0fd47759cc.jpg","text":"TemporaryFile(/tmp/multipartBody5892318873396722908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606845600,"filename":"image_01122025_15_10_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/1/9321efebce31efd1d1199b60f8daa9f0.jpg","text":"TemporaryFile(/tmp/multipartBody2908842773106202046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606845600,"filename":"image_01122025_15_10_36_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397242980","file1":"1397242979","file0":"1397242931","file4":"1397242985","file5":"1397242988","file3":"1397242982"},"map_files_photo_id_array":[{"photo_id":"1397242988","filename":"file5"},{"photo_id":"1397242980","filename":"file2"},{"photo_id":"1397242985","filename":"file4"},{"photo_id":"1397242979","filename":"file1"},{"photo_id":"1397242931","filename":"file0"},{"photo_id":"1397242982","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397242982":["hashtag1","hashtag2"]},{"1397242985":["hashtag1","hashtag2"]},{"1397242979":["hashtag1","hashtag2"]},{"1397242931":["hashtag1","hashtag2"]},{"1397242980":["hashtag1","hashtag2"]},{"1397242988":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397242982, 1397242985, 1397242979, 1397242931, 1397242980, 1397242988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.540841579437256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:34:02.987271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/10/image_01122025_15_10_45_9642.jpg', '/home/pi/Desktop/images/01122025/15/10/image_01122025_15_10_56_10783.jpg', '/home/pi/Desktop/images/01122025/15/10/image_01122025_15_11_06_9645.jpg', '/home/pi/Desktop/images/01122025/15/11/image_01122025_15_11_16_9644.jpg', '/home/pi/Desktop/images/01122025/15/11/image_01122025_15_11_26_10701.jpg', '/home/pi/Desktop/images/01122025/15/11/image_01122025_15_11_36_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/10/image_01122025_15_10_45_9642.jpg
/home/pi/Desktop/images/01122025/15/10/image_01122025_15_10_56_10783.jpg
/home/pi/Desktop/images/01122025/15/10/image_01122025_15_11_06_9645.jpg
/home/pi/Desktop/images/01122025/15/11/image_01122025_15_11_16_9644.jpg
/home/pi/Desktop/images/01122025/15/11/image_01122025_15_11_26_10701.jpg
/home/pi/Desktop/images/01122025/15/11/image_01122025_15_11_36_9699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397243003","1397243002","1397243011","1397243005","1397243008","1397243001"],"photo_ids_order":["1397243001","1397243002","1397243003","1397243005","1397243008","1397243011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b6f480935fc0db079cf13c75f3049d3b.jpg","text":"TemporaryFile(/tmp/multipartBody4184921438069470592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606906547,"filename":"image_01122025_15_11_06_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/1/9c97e69f8b2b033672abe5c88a3fd587.jpg","text":"TemporaryFile(/tmp/multipartBody3962350830356446781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606906547,"filename":"image_01122025_15_10_56_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/1/e4619b1d81d11247b07dc8a221eb61b6.jpg","text":"TemporaryFile(/tmp/multipartBody7359329065497633799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606906547,"filename":"image_01122025_15_11_36_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/1/9b32ef7660ac0c7a2b36ab667c8a1a84.jpg","text":"TemporaryFile(/tmp/multipartBody6477896937997201512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606906547,"filename":"image_01122025_15_11_16_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/1/300175e13cae64219bb728a0319accb7.jpg","text":"TemporaryFile(/tmp/multipartBody751688700326079191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606906547,"filename":"image_01122025_15_11_26_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/1/7450f48d5f359aee523e40cc1eb95b0b.jpg","text":"TemporaryFile(/tmp/multipartBody6171424626143892953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606906547,"filename":"image_01122025_15_10_45_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243003","file1":"1397243002","file0":"1397243001","file4":"1397243008","file5":"1397243011","file3":"1397243005"},"map_files_photo_id_array":[{"photo_id":"1397243011","filename":"file5"},{"photo_id":"1397243003","filename":"file2"},{"photo_id":"1397243008","filename":"file4"},{"photo_id":"1397243002","filename":"file1"},{"photo_id":"1397243001","filename":"file0"},{"photo_id":"1397243005","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397243003":["hashtag1","hashtag2"]},{"1397243002":["hashtag1","hashtag2"]},{"1397243011":["hashtag1","hashtag2"]},{"1397243005":["hashtag1","hashtag2"]},{"1397243008":["hashtag1","hashtag2"]},{"1397243001":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397243003, 1397243002, 1397243011, 1397243005, 1397243008, 1397243001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.56557631492615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:35:03.310250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/11/image_01122025_15_11_46_9649.jpg', '/home/pi/Desktop/images/01122025/15/11/image_01122025_15_11_56_10681.jpg', '/home/pi/Desktop/images/01122025/15/11/image_01122025_15_12_06_9715.jpg', '/home/pi/Desktop/images/01122025/15/12/image_01122025_15_12_16_9758.jpg', '/home/pi/Desktop/images/01122025/15/12/image_01122025_15_12_25_9665.jpg', '/home/pi/Desktop/images/01122025/15/12/image_01122025_15_12_36_10582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/11/image_01122025_15_11_46_9649.jpg
/home/pi/Desktop/images/01122025/15/11/image_01122025_15_11_56_10681.jpg
/home/pi/Desktop/images/01122025/15/11/image_01122025_15_12_06_9715.jpg
/home/pi/Desktop/images/01122025/15/12/image_01122025_15_12_16_9758.jpg
/home/pi/Desktop/images/01122025/15/12/image_01122025_15_12_25_9665.jpg
/home/pi/Desktop/images/01122025/15/12/image_01122025_15_12_36_10582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397243030","1397243027","1397243021","1397243020","1397243023","1397243022"],"photo_ids_order":["1397243020","1397243021","1397243022","1397243023","1397243027","1397243030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a1d8010cc25ef1fdb6a8fabc1cda6d85.jpg","text":"TemporaryFile(/tmp/multipartBody1654880980389660799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606964155,"filename":"image_01122025_15_12_36_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/02ffb68d693c2f8b281e660c4b3d892b.jpg","text":"TemporaryFile(/tmp/multipartBody1031543535949362433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606964155,"filename":"image_01122025_15_12_25_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/03bc60dc76346779e1dda31fb07aa792.jpg","text":"TemporaryFile(/tmp/multipartBody5299339821140829528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606964155,"filename":"image_01122025_15_11_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/1/2bb4978e93b702f29db49e5325ac1988.jpg","text":"TemporaryFile(/tmp/multipartBody2453312052831697400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606964155,"filename":"image_01122025_15_11_46_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/1/9954b60addc32e5513cd66e4979a6e7c.jpg","text":"TemporaryFile(/tmp/multipartBody1444848879599407079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606964155,"filename":"image_01122025_15_12_16_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/1/6e8108c627cbb5c80640059b7958ea34.jpg","text":"TemporaryFile(/tmp/multipartBody7763153879679732416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764606964155,"filename":"image_01122025_15_12_06_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243022","file1":"1397243021","file0":"1397243020","file4":"1397243027","file5":"1397243030","file3":"1397243023"},"map_files_photo_id_array":[{"photo_id":"1397243030","filename":"file5"},{"photo_id":"1397243022","filename":"file2"},{"photo_id":"1397243027","filename":"file4"},{"photo_id":"1397243021","filename":"file1"},{"photo_id":"1397243020","filename":"file0"},{"photo_id":"1397243023","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397243030":["hashtag1","hashtag2"]},{"1397243027":["hashtag1","hashtag2"]},{"1397243021":["hashtag1","hashtag2"]},{"1397243020":["hashtag1","hashtag2"]},{"1397243023":["hashtag1","hashtag2"]},{"1397243022":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397243030, 1397243027, 1397243021, 1397243020, 1397243023, 1397243022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09043908119202 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:36:03.215340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/12/image_01122025_15_12_46_9674.jpg', '/home/pi/Desktop/images/01122025/15/12/image_01122025_15_12_55_9720.jpg', '/home/pi/Desktop/images/01122025/15/12/image_01122025_15_13_06_10659.jpg', '/home/pi/Desktop/images/01122025/15/13/image_01122025_15_13_16_9673.jpg', '/home/pi/Desktop/images/01122025/15/13/image_01122025_15_13_25_9720.jpg', '/home/pi/Desktop/images/01122025/15/13/image_01122025_15_13_46_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/12/image_01122025_15_12_46_9674.jpg
/home/pi/Desktop/images/01122025/15/12/image_01122025_15_12_55_9720.jpg
/home/pi/Desktop/images/01122025/15/12/image_01122025_15_13_06_10659.jpg
/home/pi/Desktop/images/01122025/15/13/image_01122025_15_13_16_9673.jpg
/home/pi/Desktop/images/01122025/15/13/image_01122025_15_13_25_9720.jpg
/home/pi/Desktop/images/01122025/15/13/image_01122025_15_13_46_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":["1397243143","1397243064","1397243073","1397243081","1397243078","1397243057"],"photo_ids_order":["1397243057","1397243064","1397243073","1397243078","1397243081","1397243143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/af34ef2bce06cb0b82dcaa71165c5edf.jpg","text":"TemporaryFile(/tmp/multipartBody595197854644430962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607023970,"filename":"image_01122025_15_13_46_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/1/c4a8a10cec8f082335934c5e23315d11.jpg","text":"TemporaryFile(/tmp/multipartBody1187365022103298845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607023970,"filename":"image_01122025_15_12_55_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/662501f6a9dbf98b15f5178fdb29ac87.jpg","text":"TemporaryFile(/tmp/multipartBody2570369689323303570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607023970,"filename":"image_01122025_15_13_06_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/1/bcbbe34fb43d38dcbb6f697ed07d547e.jpg","text":"TemporaryFile(/tmp/multipartBody7836693279769510722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607023970,"filename":"image_01122025_15_13_25_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/205f071e095259efa3733ea4ea431b71.jpg","text":"TemporaryFile(/tmp/multipartBody49272305335033942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607023970,"filename":"image_01122025_15_13_16_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/1/a78a71452e7026c22ac384ff261f5841.jpg","text":"TemporaryFile(/tmp/multipartBody82912943724691626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607023970,"filename":"image_01122025_15_12_46_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243073","file1":"1397243064","file0":"1397243057","file4":"1397243081","file5":"1397243143","file3":"1397243078"},"map_files_photo_id_array":[{"photo_id":"1397243143","filename":"file5"},{"photo_id":"1397243073","filename":"file2"},{"photo_id":"1397243081","filename":"file4"},{"photo_id":"1397243064","filename":"file1"},{"photo_id":"1397243057","filename":"file0"},{"photo_id":"1397243078","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397243143":["hashtag1","hashtag2"]},{"1397243064":["hashtag1","hashtag2"]},{"1397243073":["hashtag1","hashtag2"]},{"1397243081":["hashtag1","hashtag2"]},{"1397243078":["hashtag1","hashtag2"]},{"1397243057":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397243143, 1397243064, 1397243073, 1397243081, 1397243078, 1397243057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.930707693099976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 17:36:42.723074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_30_1745.jpg', '/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_31_1686.jpg', '/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_36_2178.jpg', '/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_40_3686.jpg', '/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_53_12961.jpg', '/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_55_1715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_30_1745.jpg
/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_31_1686.jpg
/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_36_2178.jpg
/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_40_3686.jpg
/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_53_12961.jpg
/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_55_1715.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.4256088733673096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:37:02.571336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/13/image_01122025_15_13_56_9788.jpg', '/home/pi/Desktop/images/01122025/15/13/image_01122025_15_14_05_9763.jpg', '/home/pi/Desktop/images/01122025/15/14/image_01122025_15_14_16_10771.jpg', '/home/pi/Desktop/images/01122025/15/14/image_01122025_15_14_26_9736.jpg', '/home/pi/Desktop/images/01122025/15/14/image_01122025_15_14_36_9720.jpg', '/home/pi/Desktop/images/01122025/15/14/image_01122025_15_14_46_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/13/image_01122025_15_13_56_9788.jpg
/home/pi/Desktop/images/01122025/15/13/image_01122025_15_14_05_9763.jpg
/home/pi/Desktop/images/01122025/15/14/image_01122025_15_14_16_10771.jpg
/home/pi/Desktop/images/01122025/15/14/image_01122025_15_14_26_9736.jpg
/home/pi/Desktop/images/01122025/15/14/image_01122025_15_14_36_9720.jpg
/home/pi/Desktop/images/01122025/15/14/image_01122025_15_14_46_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":["1397243164","1397243167","1397243172","1397243171","1397243174","1397243156"],"photo_ids_order":["1397243156","1397243164","1397243167","1397243171","1397243172","1397243174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d163e0eefcf703352706b34d0cc0fa1a.jpg","text":"TemporaryFile(/tmp/multipartBody5944717593938271645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607083329,"filename":"image_01122025_15_14_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/1/a8651d082530817acc9e286b59da363c.jpg","text":"TemporaryFile(/tmp/multipartBody4666741048407002446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607083329,"filename":"image_01122025_15_14_16_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/1/875d6831d3d63bd94a9f0c6db386ddb8.jpg","text":"TemporaryFile(/tmp/multipartBody2504396468842361040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607083329,"filename":"image_01122025_15_14_36_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/de5fbc8d1353b2d402d49d21b6360849.jpg","text":"TemporaryFile(/tmp/multipartBody496265554708390457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607083329,"filename":"image_01122025_15_14_26_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/1/a1127b24a0b33714d7f62a08acb9246e.jpg","text":"TemporaryFile(/tmp/multipartBody1387786975823067134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607083329,"filename":"image_01122025_15_14_46_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/1/24a1ca3e24088b1b459c2e488795e733.jpg","text":"TemporaryFile(/tmp/multipartBody6219846495205141233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607083329,"filename":"image_01122025_15_13_56_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243167","file1":"1397243164","file0":"1397243156","file4":"1397243172","file5":"1397243174","file3":"1397243171"},"map_files_photo_id_array":[{"photo_id":"1397243174","filename":"file5"},{"photo_id":"1397243167","filename":"file2"},{"photo_id":"1397243172","filename":"file4"},{"photo_id":"1397243164","filename":"file1"},{"photo_id":"1397243156","filename":"file0"},{"photo_id":"1397243171","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397243164":["hashtag1","hashtag2"]},{"1397243167":["hashtag1","hashtag2"]},{"1397243172":["hashtag1","hashtag2"]},{"1397243171":["hashtag1","hashtag2"]},{"1397243174":["hashtag1","hashtag2"]},{"1397243156":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397243164, 1397243167, 1397243172, 1397243171, 1397243174, 1397243156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44823455810547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 17:37:41.821052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_30_1745.jpg', '/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_31_1686.jpg', '/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_36_2178.jpg', '/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_40_3686.jpg', '/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_53_12961.jpg', '/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_55_1715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_30_1745.jpg
/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_31_1686.jpg
/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_36_2178.jpg
/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_40_3686.jpg
/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_53_12961.jpg
/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_55_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":["1397243191","1397243185","1397243188","1397243190","1397243192","1397243189"],"photo_ids_order":["1397243185","1397243188","1397243189","1397243190","1397243191","1397243192"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/18930ff64acce95082f177994e08da1d.jpg","text":"TemporaryFile(/tmp/multipartBody181356267812970358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607124227,"filename":"image_31102025_14_45_53_12961.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1787d9d2956e87e789f54a2c4b083a67.jpg","text":"TemporaryFile(/tmp/multipartBody845049138148978555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607124227,"filename":"image_31102025_14_45_30_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/1/ad9cb7511d7948ede927f18798fdd2ce.jpg","text":"TemporaryFile(/tmp/multipartBody6652977765915691772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607124227,"filename":"image_31102025_14_45_31_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/1/941b3c2d2f464d091dd1a2f9d5516c24.jpg","text":"TemporaryFile(/tmp/multipartBody9175985349153510906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607124227,"filename":"image_31102025_14_45_40_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c111b31c3db2bff4aeec5d83b6b515c4.jpg","text":"TemporaryFile(/tmp/multipartBody5695013843959658252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607124227,"filename":"image_31102025_14_45_55_1715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1880687d43da0cbc23cde3a2e6243501.jpg","text":"TemporaryFile(/tmp/multipartBody1684151781632319654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607124227,"filename":"image_31102025_14_45_36_2178.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243189","file1":"1397243188","file0":"1397243185","file4":"1397243191","file5":"1397243192","file3":"1397243190"},"map_files_photo_id_array":[{"photo_id":"1397243192","filename":"file5"},{"photo_id":"1397243189","filename":"file2"},{"photo_id":"1397243191","filename":"file4"},{"photo_id":"1397243188","filename":"file1"},{"photo_id":"1397243185","filename":"file0"},{"photo_id":"1397243190","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397243191":["hashtag1","hashtag2"]},{"1397243185":["hashtag1","hashtag2"]},{"1397243188":["hashtag1","hashtag2"]},{"1397243190":["hashtag1","hashtag2"]},{"1397243192":["hashtag1","hashtag2"]},{"1397243189":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397243191, 1397243185, 1397243188, 1397243190, 1397243192, 1397243189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77224397659302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 17:38:21.913557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/14/image_01122025_15_14_56_9789.jpg', '/home/pi/Desktop/images/01122025/15/14/image_01122025_15_15_06_9801.jpg', '/home/pi/Desktop/images/01122025/15/15/image_01122025_15_15_16_9810.jpg', '/home/pi/Desktop/images/01122025/15/15/image_01122025_15_15_26_10633.jpg', '/home/pi/Desktop/images/01122025/15/15/image_01122025_15_15_36_9724.jpg', '/home/pi/Desktop/images/01122025/15/15/image_01122025_15_15_46_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/14/image_01122025_15_14_56_9789.jpg
/home/pi/Desktop/images/01122025/15/14/image_01122025_15_15_06_9801.jpg
/home/pi/Desktop/images/01122025/15/15/image_01122025_15_15_16_9810.jpg
/home/pi/Desktop/images/01122025/15/15/image_01122025_15_15_26_10633.jpg
/home/pi/Desktop/images/01122025/15/15/image_01122025_15_15_36_9724.jpg
/home/pi/Desktop/images/01122025/15/15/image_01122025_15_15_46_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":["1397243201","1397243212","1397243215","1397243209","1397243218","1397243198"],"photo_ids_order":["1397243198","1397243201","1397243209","1397243212","1397243215","1397243218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/82520ca9e832e0a8f8505796da5d5ba0.jpg","text":"TemporaryFile(/tmp/multipartBody335904857812979199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607162549,"filename":"image_01122025_15_15_06_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/1/dda7ae09242992859f61801f733303ef.jpg","text":"TemporaryFile(/tmp/multipartBody3781956392121972397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607162549,"filename":"image_01122025_15_15_26_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/1/2a60da8058452f5867666b818596e44a.jpg","text":"TemporaryFile(/tmp/multipartBody9033069021369335673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607162549,"filename":"image_01122025_15_15_36_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/1/931a7134edd3421113362e80e875d447.jpg","text":"TemporaryFile(/tmp/multipartBody6972008293320980326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607162549,"filename":"image_01122025_15_15_16_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/1/f03df052eeea39e4214c584271b668f6.jpg","text":"TemporaryFile(/tmp/multipartBody3655629319823967576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607162549,"filename":"image_01122025_15_15_46_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/1/61118186ee34e237d0386a6880bb0df6.jpg","text":"TemporaryFile(/tmp/multipartBody2384342124203517118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607162549,"filename":"image_01122025_15_14_56_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243209","file1":"1397243201","file0":"1397243198","file4":"1397243215","file5":"1397243218","file3":"1397243212"},"map_files_photo_id_array":[{"photo_id":"1397243218","filename":"file5"},{"photo_id":"1397243209","filename":"file2"},{"photo_id":"1397243215","filename":"file4"},{"photo_id":"1397243201","filename":"file1"},{"photo_id":"1397243198","filename":"file0"},{"photo_id":"1397243212","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397243201":["hashtag1","hashtag2"]},{"1397243212":["hashtag1","hashtag2"]},{"1397243215":["hashtag1","hashtag2"]},{"1397243209":["hashtag1","hashtag2"]},{"1397243218":["hashtag1","hashtag2"]},{"1397243198":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397243201, 1397243212, 1397243215, 1397243209, 1397243218, 1397243198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.977184772491455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:39:03.019556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/15/image_01122025_15_15_56_10680.jpg', '/home/pi/Desktop/images/01122025/15/15/image_01122025_15_16_06_9661.jpg', '/home/pi/Desktop/images/01122025/15/16/image_01122025_15_16_16_9664.jpg', '/home/pi/Desktop/images/01122025/15/16/image_01122025_15_16_25_9777.jpg', '/home/pi/Desktop/images/01122025/15/16/image_01122025_15_16_36_10790.jpg', '/home/pi/Desktop/images/01122025/15/16/image_01122025_15_16_46_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/15/image_01122025_15_15_56_10680.jpg
/home/pi/Desktop/images/01122025/15/15/image_01122025_15_16_06_9661.jpg
/home/pi/Desktop/images/01122025/15/16/image_01122025_15_16_16_9664.jpg
/home/pi/Desktop/images/01122025/15/16/image_01122025_15_16_25_9777.jpg
/home/pi/Desktop/images/01122025/15/16/image_01122025_15_16_36_10790.jpg
/home/pi/Desktop/images/01122025/15/16/image_01122025_15_16_46_9689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397243222","1397243221","1397243224","1397243223","1397243226","1397243228"],"photo_ids_order":["1397243221","1397243222","1397243223","1397243224","1397243226","1397243228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2184a9aa81b78a3d8304a20e430a4428.jpg","text":"TemporaryFile(/tmp/multipartBody5694399337290607540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607208714,"filename":"image_01122025_15_16_06_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/1/56e74de4b6637ac56a0046a976cf7d38.jpg","text":"TemporaryFile(/tmp/multipartBody8419615567814794297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607208714,"filename":"image_01122025_15_15_56_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/1/b9c1ac456c2c6608f060ba53a39ba2ba.jpg","text":"TemporaryFile(/tmp/multipartBody994216546530804951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607208714,"filename":"image_01122025_15_16_25_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bf2fb58c3baefd2f1b868df7e80e5166.jpg","text":"TemporaryFile(/tmp/multipartBody2893790595194360397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607208714,"filename":"image_01122025_15_16_16_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/1/b9ed57edfc5b1a01f9c4ab182d3be30f.jpg","text":"TemporaryFile(/tmp/multipartBody837291143512444470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607208714,"filename":"image_01122025_15_16_36_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/1/b207f13b2ef537afe986ef60153c45d3.jpg","text":"TemporaryFile(/tmp/multipartBody5962983142560180195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607208714,"filename":"image_01122025_15_16_46_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243223","file1":"1397243222","file0":"1397243221","file4":"1397243226","file5":"1397243228","file3":"1397243224"},"map_files_photo_id_array":[{"photo_id":"1397243228","filename":"file5"},{"photo_id":"1397243223","filename":"file2"},{"photo_id":"1397243226","filename":"file4"},{"photo_id":"1397243222","filename":"file1"},{"photo_id":"1397243221","filename":"file0"},{"photo_id":"1397243224","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397243222":["hashtag1","hashtag2"]},{"1397243221":["hashtag1","hashtag2"]},{"1397243224":["hashtag1","hashtag2"]},{"1397243223":["hashtag1","hashtag2"]},{"1397243226":["hashtag1","hashtag2"]},{"1397243228":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397243222, 1397243221, 1397243224, 1397243223, 1397243226, 1397243228)","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 = 1397243223 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/01122025/15/16/image_01122025_15_16_16_9664.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 77.15442728996277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 17:40:38.403646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/16/image_01122025_15_16_55_9662.jpg', '/home/pi/Desktop/images/01122025/15/16/image_01122025_15_17_06_10620.jpg', '/home/pi/Desktop/images/01122025/15/17/image_01122025_15_17_16_9825.jpg', '/home/pi/Desktop/images/01122025/15/17/image_01122025_15_17_26_9766.jpg', '/home/pi/Desktop/images/01122025/15/17/image_01122025_15_17_35_9694.jpg', '/home/pi/Desktop/images/01122025/15/17/image_01122025_15_17_46_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/16/image_01122025_15_16_55_9662.jpg
/home/pi/Desktop/images/01122025/15/16/image_01122025_15_17_06_10620.jpg
/home/pi/Desktop/images/01122025/15/17/image_01122025_15_17_16_9825.jpg
/home/pi/Desktop/images/01122025/15/17/image_01122025_15_17_26_9766.jpg
/home/pi/Desktop/images/01122025/15/17/image_01122025_15_17_35_9694.jpg
/home/pi/Desktop/images/01122025/15/17/image_01122025_15_17_46_10680.jpg
2025-12-01 17:40:38.403646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_36_3566.jpg', '/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_39_2713.jpg', '/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_42_3525.jpg', '/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_45_2822.jpg', '/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_48_2708.jpg', '/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_51_3529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_36_3566.jpg
/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_39_2713.jpg
/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_42_3525.jpg
/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_45_2822.jpg
/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_48_2708.jpg
/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_51_3529.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397243257","1397243259","1397243253","1397243261","1397243255","1397243249"],"photo_ids_order":["1397243249","1397243253","1397243255","1397243257","1397243259","1397243261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d128f917f4866601cd093f624c49d1e9.jpg","text":"TemporaryFile(/tmp/multipartBody4186953892607957556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607299106,"filename":"image_01122025_15_17_26_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/1/8c17ea3693d7f01cbfa792b77ca810c2.jpg","text":"TemporaryFile(/tmp/multipartBody7645649127734212337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607299106,"filename":"image_01122025_15_17_35_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c63e05eb0a61e87eaed48db5b4d14d22.jpg","text":"TemporaryFile(/tmp/multipartBody4613235724847428234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607299106,"filename":"image_01122025_15_17_06_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/1/45a55f61509fc4f7bf4c4219c33e936b.jpg","text":"TemporaryFile(/tmp/multipartBody3369415873671373375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607299106,"filename":"image_01122025_15_17_46_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cb46da346fa311c27e7607d5fcecfe03.jpg","text":"TemporaryFile(/tmp/multipartBody2295270825625986214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607299106,"filename":"image_01122025_15_17_16_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/1/c889fdec9de1cdf5a39808edfa6913f5.jpg","text":"TemporaryFile(/tmp/multipartBody2193732469600970610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607299106,"filename":"image_01122025_15_16_55_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243255","file1":"1397243253","file0":"1397243249","file4":"1397243259","file5":"1397243261","file3":"1397243257"},"map_files_photo_id_array":[{"photo_id":"1397243261","filename":"file5"},{"photo_id":"1397243255","filename":"file2"},{"photo_id":"1397243259","filename":"file4"},{"photo_id":"1397243253","filename":"file1"},{"photo_id":"1397243249","filename":"file0"},{"photo_id":"1397243257","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397243257":["hashtag1","hashtag2"]},{"1397243259":["hashtag1","hashtag2"]},{"1397243253":["hashtag1","hashtag2"]},{"1397243261":["hashtag1","hashtag2"]},{"1397243255":["hashtag1","hashtag2"]},{"1397243249":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397243257, 1397243259, 1397243253, 1397243261, 1397243255, 1397243249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51224732398987 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397243258","1397243251","1397243260","1397243254","1397243262","1397243256"],"photo_ids_order":["1397243251","1397243254","1397243256","1397243258","1397243260","1397243262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/581b9b998ecd68e820f9b6fc50766948.jpg","text":"TemporaryFile(/tmp/multipartBody4815760198802856632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607301207,"filename":"image_25112025_23_06_45_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d2736417a234877be2a8d49af3f174cf.jpg","text":"TemporaryFile(/tmp/multipartBody8801747707564127289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607301207,"filename":"image_25112025_23_06_36_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/1/82894d05a2d1d247370c825204df5bda.jpg","text":"TemporaryFile(/tmp/multipartBody1004391688669205808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607301207,"filename":"image_25112025_23_06_48_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/1/e1ea466c78b165ee598870a8aee63043.jpg","text":"TemporaryFile(/tmp/multipartBody3359968999047238373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607301207,"filename":"image_25112025_23_06_39_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/1/f5329adfd780c8b7505539dc715b2d5a.jpg","text":"TemporaryFile(/tmp/multipartBody544807336153985243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607301207,"filename":"image_25112025_23_06_51_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/1/62a1a48c3d0afc9a164cc035e30b8bbf.jpg","text":"TemporaryFile(/tmp/multipartBody189051094379211403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607301207,"filename":"image_25112025_23_06_42_3525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243256","file1":"1397243254","file0":"1397243251","file4":"1397243260","file5":"1397243262","file3":"1397243258"},"map_files_photo_id_array":[{"photo_id":"1397243262","filename":"file5"},{"photo_id":"1397243256","filename":"file2"},{"photo_id":"1397243260","filename":"file4"},{"photo_id":"1397243254","filename":"file1"},{"photo_id":"1397243251","filename":"file0"},{"photo_id":"1397243258","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397243258":["hashtag1","hashtag2"]},{"1397243251":["hashtag1","hashtag2"]},{"1397243260":["hashtag1","hashtag2"]},{"1397243254":["hashtag1","hashtag2"]},{"1397243262":["hashtag1","hashtag2"]},{"1397243256":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397243258, 1397243251, 1397243260, 1397243254, 1397243262, 1397243256)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.585110902786255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 17:41:32.496265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_56_2592.jpg', '/home/pi/Desktop/images/25112025/23/06/image_25112025_23_07_00_3528.jpg', '/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_03_2646.jpg', '/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_06_3489.jpg', '/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_09_2732.jpg', '/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_11_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/06/image_25112025_23_06_56_2592.jpg
/home/pi/Desktop/images/25112025/23/06/image_25112025_23_07_00_3528.jpg
/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_03_2646.jpg
/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_06_3489.jpg
/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_09_2732.jpg
/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_11_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":["1397243281","1397243277","1397243282","1397243279","1397243270","1397243273"],"photo_ids_order":["1397243270","1397243273","1397243277","1397243279","1397243281","1397243282"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f482e2a2ba4e8f17116837f5578d5e18.jpg","text":"TemporaryFile(/tmp/multipartBody7113183218757284680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607354431,"filename":"image_25112025_23_07_09_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/1/895783f9be977c71946f9aef24c94f15.jpg","text":"TemporaryFile(/tmp/multipartBody4845421181531619174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607354431,"filename":"image_25112025_23_07_03_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/1/7aaedfaac6adb327c83ce4080098750d.jpg","text":"TemporaryFile(/tmp/multipartBody8094962479725721169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607354431,"filename":"image_25112025_23_07_11_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/1/c7e7d7286b541f04e95928ce4b1591e2.jpg","text":"TemporaryFile(/tmp/multipartBody1946221833223790599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607354431,"filename":"image_25112025_23_07_06_3489.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0c8194f8f9e44b0ea5c7dfa40ea394b0.jpg","text":"TemporaryFile(/tmp/multipartBody2475440576176225730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607354431,"filename":"image_25112025_23_06_56_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/1/ef7740d6d6bf370b5c00ba1991cf6482.jpg","text":"TemporaryFile(/tmp/multipartBody141417338791871161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607354431,"filename":"image_25112025_23_07_00_3528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243277","file1":"1397243273","file0":"1397243270","file4":"1397243281","file5":"1397243282","file3":"1397243279"},"map_files_photo_id_array":[{"photo_id":"1397243282","filename":"file5"},{"photo_id":"1397243277","filename":"file2"},{"photo_id":"1397243281","filename":"file4"},{"photo_id":"1397243273","filename":"file1"},{"photo_id":"1397243270","filename":"file0"},{"photo_id":"1397243279","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397243281":["hashtag1","hashtag2"]},{"1397243277":["hashtag1","hashtag2"]},{"1397243282":["hashtag1","hashtag2"]},{"1397243279":["hashtag1","hashtag2"]},{"1397243270":["hashtag1","hashtag2"]},{"1397243273":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397243281, 1397243277, 1397243282, 1397243279, 1397243270, 1397243273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.04518795013428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 17:42:12.326450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_15_3526.jpg', '/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_18_2679.jpg', '/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_21_3614.jpg', '/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_27_2714.jpg', '/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_30_3646.jpg', '/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_33_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_15_3526.jpg
/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_18_2679.jpg
/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_21_3614.jpg
/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_27_2714.jpg
/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_30_3646.jpg
/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_33_2617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397243293","1397243284","1397243287","1397243289","1397243283","1397243297"],"photo_ids_order":["1397243283","1397243284","1397243287","1397243289","1397243293","1397243297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cf20f4c68a9b99272fffcbd2381aa791.jpg","text":"TemporaryFile(/tmp/multipartBody7742834558253054235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607393941,"filename":"image_25112025_23_07_30_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/1/40d09bcb1bdf668425d025529d14019d.jpg","text":"TemporaryFile(/tmp/multipartBody5520329291465146347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607393941,"filename":"image_25112025_23_07_18_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/1/fdca61b406c053d970f2b038a2317d7e.jpg","text":"TemporaryFile(/tmp/multipartBody7577352668622779673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607393941,"filename":"image_25112025_23_07_21_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/1/818efb1ca71643fc4ba0da798bf0e838.jpg","text":"TemporaryFile(/tmp/multipartBody2626611567496945580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607393941,"filename":"image_25112025_23_07_27_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/1/7f04e4abfa6802f2169fdabb6af05163.jpg","text":"TemporaryFile(/tmp/multipartBody4534294385173774977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607393941,"filename":"image_25112025_23_07_15_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/1/d2658faf0e4e0260cb53770198492448.jpg","text":"TemporaryFile(/tmp/multipartBody1714280900767944864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607393941,"filename":"image_25112025_23_07_33_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243287","file1":"1397243284","file0":"1397243283","file4":"1397243293","file5":"1397243297","file3":"1397243289"},"map_files_photo_id_array":[{"photo_id":"1397243297","filename":"file5"},{"photo_id":"1397243287","filename":"file2"},{"photo_id":"1397243293","filename":"file4"},{"photo_id":"1397243284","filename":"file1"},{"photo_id":"1397243283","filename":"file0"},{"photo_id":"1397243289","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397243293":["hashtag1","hashtag2"]},{"1397243284":["hashtag1","hashtag2"]},{"1397243287":["hashtag1","hashtag2"]},{"1397243289":["hashtag1","hashtag2"]},{"1397243283":["hashtag1","hashtag2"]},{"1397243297":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397243293, 1397243284, 1397243287, 1397243289, 1397243283, 1397243297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.03167510032654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:43:03.296656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 17:43:22.614089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/17/image_01122025_15_17_56_9678.jpg', '/home/pi/Desktop/images/01122025/15/17/image_01122025_15_18_05_9749.jpg', '/home/pi/Desktop/images/01122025/15/18/image_01122025_15_18_15_9871.jpg', '/home/pi/Desktop/images/01122025/15/18/image_01122025_15_18_26_10735.jpg', '/home/pi/Desktop/images/01122025/15/18/image_01122025_15_18_36_9550.jpg', '/home/pi/Desktop/images/01122025/15/18/image_01122025_15_18_45_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/17/image_01122025_15_17_56_9678.jpg
/home/pi/Desktop/images/01122025/15/17/image_01122025_15_18_05_9749.jpg
/home/pi/Desktop/images/01122025/15/18/image_01122025_15_18_15_9871.jpg
/home/pi/Desktop/images/01122025/15/18/image_01122025_15_18_26_10735.jpg
/home/pi/Desktop/images/01122025/15/18/image_01122025_15_18_36_9550.jpg
/home/pi/Desktop/images/01122025/15/18/image_01122025_15_18_45_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":["1397243312","1397243306","1397243320","1397243302","1397243310","1397243316"],"photo_ids_order":["1397243302","1397243306","1397243310","1397243312","1397243316","1397243320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c5383f38ab6d17bd918af9d398032a35.jpg","text":"TemporaryFile(/tmp/multipartBody3760625077204317143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607463248,"filename":"image_01122025_15_18_26_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/1/9296a6d6d5776b801c033a6bd48fa1a6.jpg","text":"TemporaryFile(/tmp/multipartBody281387167692886911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607463248,"filename":"image_01122025_15_18_05_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ad69d9dc4f5188e11d9cdc1f3e14149b.jpg","text":"TemporaryFile(/tmp/multipartBody1550575245827416040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607463248,"filename":"image_01122025_15_18_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/1/13d7d9e5a4abcf656d6a841af651e933.jpg","text":"TemporaryFile(/tmp/multipartBody1149755758367316326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607463248,"filename":"image_01122025_15_17_56_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f206c2c491e2d748a2573d7319af94b4.jpg","text":"TemporaryFile(/tmp/multipartBody3131556579384562311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607463248,"filename":"image_01122025_15_18_15_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/64485d9969d2b3c05a1b33951f2189a5.jpg","text":"TemporaryFile(/tmp/multipartBody3232585496257374182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607463248,"filename":"image_01122025_15_18_36_9550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243310","file1":"1397243306","file0":"1397243302","file4":"1397243316","file5":"1397243320","file3":"1397243312"},"map_files_photo_id_array":[{"photo_id":"1397243320","filename":"file5"},{"photo_id":"1397243310","filename":"file2"},{"photo_id":"1397243316","filename":"file4"},{"photo_id":"1397243306","filename":"file1"},{"photo_id":"1397243302","filename":"file0"},{"photo_id":"1397243312","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397243312":["hashtag1","hashtag2"]},{"1397243306":["hashtag1","hashtag2"]},{"1397243320":["hashtag1","hashtag2"]},{"1397243302":["hashtag1","hashtag2"]},{"1397243310":["hashtag1","hashtag2"]},{"1397243316":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397243312, 1397243306, 1397243320, 1397243302, 1397243310, 1397243316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.66034150123596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 17:44:11.922852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_36_2685.jpg', '/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_39_3656.jpg', '/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_42_2708.jpg', '/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_45_2565.jpg', '/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_48_3646.jpg', '/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_51_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_36_2685.jpg
/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_39_3656.jpg
/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_42_2708.jpg
/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_45_2565.jpg
/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_48_3646.jpg
/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_51_2695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397243359","1397243326","1397243323","1397243322","1397243331","1397243334"],"photo_ids_order":["1397243322","1397243323","1397243326","1397243331","1397243334","1397243359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3bd090996152385451bf48728322d79b.jpg","text":"TemporaryFile(/tmp/multipartBody5962751715748678287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607513509,"filename":"image_25112025_23_07_51_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/1/757a2f6ef545b6d18a459f205135d41d.jpg","text":"TemporaryFile(/tmp/multipartBody97140502364657445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607513509,"filename":"image_25112025_23_07_42_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2f26d30f7d4e02e16a7840dc7ed39f2f.jpg","text":"TemporaryFile(/tmp/multipartBody1116355399024319534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607513509,"filename":"image_25112025_23_07_39_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/15d994fec72794484564d64d46377881.jpg","text":"TemporaryFile(/tmp/multipartBody8859442925351967472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607513509,"filename":"image_25112025_23_07_36_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/290643f275c7ebfe0efedc9f124d7acf.jpg","text":"TemporaryFile(/tmp/multipartBody7410496105903251689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607513509,"filename":"image_25112025_23_07_45_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/1/c7e0defc46c9e86bb9ceb553d13b4e43.jpg","text":"TemporaryFile(/tmp/multipartBody6818793857135994356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607513509,"filename":"image_25112025_23_07_48_3646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243326","file1":"1397243323","file0":"1397243322","file4":"1397243334","file5":"1397243359","file3":"1397243331"},"map_files_photo_id_array":[{"photo_id":"1397243359","filename":"file5"},{"photo_id":"1397243326","filename":"file2"},{"photo_id":"1397243334","filename":"file4"},{"photo_id":"1397243323","filename":"file1"},{"photo_id":"1397243322","filename":"file0"},{"photo_id":"1397243331","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397243359":["hashtag1","hashtag2"]},{"1397243326":["hashtag1","hashtag2"]},{"1397243323":["hashtag1","hashtag2"]},{"1397243322":["hashtag1","hashtag2"]},{"1397243331":["hashtag1","hashtag2"]},{"1397243334":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397243359, 1397243326, 1397243323, 1397243322, 1397243331, 1397243334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.545202016830444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:45:02.769275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/18/image_01122025_15_18_56_10581.jpg', '/home/pi/Desktop/images/01122025/15/18/image_01122025_15_19_06_9681.jpg', '/home/pi/Desktop/images/01122025/15/19/image_01122025_15_19_16_10678.jpg', '/home/pi/Desktop/images/01122025/15/19/image_01122025_15_19_26_9678.jpg', '/home/pi/Desktop/images/01122025/15/19/image_01122025_15_19_35_9626.jpg', '/home/pi/Desktop/images/01122025/15/19/image_01122025_15_19_46_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/18/image_01122025_15_18_56_10581.jpg
/home/pi/Desktop/images/01122025/15/18/image_01122025_15_19_06_9681.jpg
/home/pi/Desktop/images/01122025/15/19/image_01122025_15_19_16_10678.jpg
/home/pi/Desktop/images/01122025/15/19/image_01122025_15_19_26_9678.jpg
/home/pi/Desktop/images/01122025/15/19/image_01122025_15_19_35_9626.jpg
/home/pi/Desktop/images/01122025/15/19/image_01122025_15_19_46_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":["1397243380","1397243365","1397243410","1397243368","1397243367","1397243366"],"photo_ids_order":["1397243365","1397243366","1397243367","1397243368","1397243380","1397243410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e9435a157221ebcfae6ce6991a664760.jpg","text":"TemporaryFile(/tmp/multipartBody2697011227962630819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607563517,"filename":"image_01122025_15_19_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/1/933190b0505d50c3fa0928089a423e9b.jpg","text":"TemporaryFile(/tmp/multipartBody2701244712155858657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607563517,"filename":"image_01122025_15_18_56_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/1/4090b87e50ba491d1a2acc63049e615a.jpg","text":"TemporaryFile(/tmp/multipartBody2955257261202607167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607563517,"filename":"image_01122025_15_19_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/1/246bac6d591a00cc8e710f5cf8f2c618.jpg","text":"TemporaryFile(/tmp/multipartBody3600753035140884244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607563517,"filename":"image_01122025_15_19_26_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/1/4680fc729181dbb9575ecd1964616474.jpg","text":"TemporaryFile(/tmp/multipartBody8984944286477435813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607563517,"filename":"image_01122025_15_19_16_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/1/e8ab33495e3dbca865370189b46b7400.jpg","text":"TemporaryFile(/tmp/multipartBody508980675317302892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607563517,"filename":"image_01122025_15_19_06_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243367","file1":"1397243366","file0":"1397243365","file4":"1397243380","file5":"1397243410","file3":"1397243368"},"map_files_photo_id_array":[{"photo_id":"1397243410","filename":"file5"},{"photo_id":"1397243367","filename":"file2"},{"photo_id":"1397243380","filename":"file4"},{"photo_id":"1397243366","filename":"file1"},{"photo_id":"1397243365","filename":"file0"},{"photo_id":"1397243368","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397243380":["hashtag1","hashtag2"]},{"1397243365":["hashtag1","hashtag2"]},{"1397243410":["hashtag1","hashtag2"]},{"1397243368":["hashtag1","hashtag2"]},{"1397243367":["hashtag1","hashtag2"]},{"1397243366":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397243380, 1397243365, 1397243410, 1397243368, 1397243367, 1397243366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33864402770996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 17:45:41.982283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_58_3439.jpg', '/home/pi/Desktop/images/31102025/14/45/image_31102025_14_46_00_1657.jpg', '/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_05_5090.jpg', '/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_08_3133.jpg', '/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_10_1731.jpg', '/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_14_4060.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/45/image_31102025_14_45_58_3439.jpg
/home/pi/Desktop/images/31102025/14/45/image_31102025_14_46_00_1657.jpg
/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_05_5090.jpg
/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_08_3133.jpg
/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_10_1731.jpg
/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_14_4060.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397243423","1397243476","1397243425","1397243472","1397243475","1397243477"],"photo_ids_order":["1397243423","1397243425","1397243472","1397243475","1397243476","1397243477"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/437f4900030b99e03a345e1fbbfa93df.jpg","text":"TemporaryFile(/tmp/multipartBody2293799295172519719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607604505,"filename":"image_31102025_14_45_58_3439.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1b77e73e19fe48f2fe6c11ccec1dcbaa.jpg","text":"TemporaryFile(/tmp/multipartBody2339783793727500981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607604505,"filename":"image_31102025_14_46_10_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/1/69a33f807276fadc879aee694c982f1b.jpg","text":"TemporaryFile(/tmp/multipartBody436862003054735155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607604505,"filename":"image_31102025_14_46_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/1/b778af31edfbb207c95498010918f164.jpg","text":"TemporaryFile(/tmp/multipartBody3238177846692307454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607604505,"filename":"image_31102025_14_46_05_5090.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9df6d811a741ead4a0d3d08e55c059d5.jpg","text":"TemporaryFile(/tmp/multipartBody8669509420377660186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607604505,"filename":"image_31102025_14_46_08_3133.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d1cb699685acc70e6e2c8541f623448e.jpg","text":"TemporaryFile(/tmp/multipartBody4396463471010127737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607604505,"filename":"image_31102025_14_46_14_4060.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243472","file1":"1397243425","file0":"1397243423","file4":"1397243476","file5":"1397243477","file3":"1397243475"},"map_files_photo_id_array":[{"photo_id":"1397243477","filename":"file5"},{"photo_id":"1397243472","filename":"file2"},{"photo_id":"1397243476","filename":"file4"},{"photo_id":"1397243425","filename":"file1"},{"photo_id":"1397243423","filename":"file0"},{"photo_id":"1397243475","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397243423":["hashtag1","hashtag2"]},{"1397243476":["hashtag1","hashtag2"]},{"1397243425":["hashtag1","hashtag2"]},{"1397243472":["hashtag1","hashtag2"]},{"1397243475":["hashtag1","hashtag2"]},{"1397243477":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397243423, 1397243476, 1397243425, 1397243472, 1397243475, 1397243477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.868775367736816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 17:46:22.145750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/19/image_01122025_15_19_56_9683.jpg', '/home/pi/Desktop/images/01122025/15/19/image_01122025_15_20_06_9680.jpg', '/home/pi/Desktop/images/01122025/15/20/image_01122025_15_20_15_9787.jpg', '/home/pi/Desktop/images/01122025/15/20/image_01122025_15_20_26_10656.jpg', '/home/pi/Desktop/images/01122025/15/20/image_01122025_15_20_36_9720.jpg', '/home/pi/Desktop/images/01122025/15/20/image_01122025_15_20_46_9831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/19/image_01122025_15_19_56_9683.jpg
/home/pi/Desktop/images/01122025/15/19/image_01122025_15_20_06_9680.jpg
/home/pi/Desktop/images/01122025/15/20/image_01122025_15_20_15_9787.jpg
/home/pi/Desktop/images/01122025/15/20/image_01122025_15_20_26_10656.jpg
/home/pi/Desktop/images/01122025/15/20/image_01122025_15_20_36_9720.jpg
/home/pi/Desktop/images/01122025/15/20/image_01122025_15_20_46_9831.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397243522","1397243518","1397243512","1397243515","1397243505","1397243525"],"photo_ids_order":["1397243505","1397243512","1397243515","1397243518","1397243522","1397243525"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/88a7f7edd096784140d8079538cd146c.jpg","text":"TemporaryFile(/tmp/multipartBody2121204310005722555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607642816,"filename":"image_01122025_15_20_36_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/43a1aabee346b6c92ab00a26d8fea82d.jpg","text":"TemporaryFile(/tmp/multipartBody6157662669658958227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607642816,"filename":"image_01122025_15_20_26_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/18312de75aa0cdb727b44a9374f409a5.jpg","text":"TemporaryFile(/tmp/multipartBody8321228073055796195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607642816,"filename":"image_01122025_15_20_06_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/1/3e6e5b7947e99a1c65930705923b8ce6.jpg","text":"TemporaryFile(/tmp/multipartBody4868619714874058035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607642816,"filename":"image_01122025_15_20_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/1/36dfbaeffc75b117bd8adc76c97ddc8a.jpg","text":"TemporaryFile(/tmp/multipartBody4597369341871141504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607642816,"filename":"image_01122025_15_19_56_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/1/7843ced66db07e6a6a39b0e1c6d68a3d.jpg","text":"TemporaryFile(/tmp/multipartBody2255702420486196776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607642816,"filename":"image_01122025_15_20_46_9831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243515","file1":"1397243512","file0":"1397243505","file4":"1397243522","file5":"1397243525","file3":"1397243518"},"map_files_photo_id_array":[{"photo_id":"1397243525","filename":"file5"},{"photo_id":"1397243515","filename":"file2"},{"photo_id":"1397243522","filename":"file4"},{"photo_id":"1397243512","filename":"file1"},{"photo_id":"1397243505","filename":"file0"},{"photo_id":"1397243518","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397243522":["hashtag1","hashtag2"]},{"1397243518":["hashtag1","hashtag2"]},{"1397243512":["hashtag1","hashtag2"]},{"1397243515":["hashtag1","hashtag2"]},{"1397243505":["hashtag1","hashtag2"]},{"1397243525":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397243522, 1397243518, 1397243512, 1397243515, 1397243505, 1397243525)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.436192989349365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 17:47:17.518538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_53_2572.jpg', '/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_56_2861.jpg', '/home/pi/Desktop/images/25112025/23/07/image_25112025_23_08_00_3473.jpg', '/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_02_2520.jpg', '/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_06_3636.jpg', '/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_08_2547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_53_2572.jpg
/home/pi/Desktop/images/25112025/23/07/image_25112025_23_07_56_2861.jpg
/home/pi/Desktop/images/25112025/23/07/image_25112025_23_08_00_3473.jpg
/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_02_2520.jpg
/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_06_3636.jpg
/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_08_2547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397243540","1397243534","1397243528","1397243537","1397243544","1397243531"],"photo_ids_order":["1397243528","1397243531","1397243534","1397243537","1397243540","1397243544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cc3ca4f3e135f93cc437070d645957c0.jpg","text":"TemporaryFile(/tmp/multipartBody5478967860348431949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607699244,"filename":"image_25112025_23_08_06_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/1/955210d8aee3d6991e42126ba95afbf9.jpg","text":"TemporaryFile(/tmp/multipartBody429379275392196997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607699244,"filename":"image_25112025_23_08_00_3473.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dd9a058c40a5842b446772ea52336276.jpg","text":"TemporaryFile(/tmp/multipartBody5130173681847265224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607699244,"filename":"image_25112025_23_07_53_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/1/8b6c98d6c55c3d7db08be5cfbb182439.jpg","text":"TemporaryFile(/tmp/multipartBody3152046883363767148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607699244,"filename":"image_25112025_23_08_02_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5a1c3f399e9c4c6d7618b9e0bda4804f.jpg","text":"TemporaryFile(/tmp/multipartBody3259423605998922942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607699244,"filename":"image_25112025_23_08_08_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0822aee4388825520485287e7a736860.jpg","text":"TemporaryFile(/tmp/multipartBody9156306868053180995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607699244,"filename":"image_25112025_23_07_56_2861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243534","file1":"1397243531","file0":"1397243528","file4":"1397243540","file5":"1397243544","file3":"1397243537"},"map_files_photo_id_array":[{"photo_id":"1397243544","filename":"file5"},{"photo_id":"1397243534","filename":"file2"},{"photo_id":"1397243540","filename":"file4"},{"photo_id":"1397243531","filename":"file1"},{"photo_id":"1397243528","filename":"file0"},{"photo_id":"1397243537","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397243540":["hashtag1","hashtag2"]},{"1397243534":["hashtag1","hashtag2"]},{"1397243528":["hashtag1","hashtag2"]},{"1397243537":["hashtag1","hashtag2"]},{"1397243544":["hashtag1","hashtag2"]},{"1397243531":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397243540, 1397243534, 1397243528, 1397243537, 1397243544, 1397243531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.22172522544861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:48:03.044220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 17:48:12.644139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_12_3748.jpg', '/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_15_2728.jpg', '/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_18_2590.jpg', '/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_21_3647.jpg', '/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_24_2812.jpg', '/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_27_2721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_12_3748.jpg
/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_15_2728.jpg
/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_18_2590.jpg
/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_21_3647.jpg
/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_24_2812.jpg
/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_27_2721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397243555","1397243549","1397243559","1397243547","1397243561","1397243552"],"photo_ids_order":["1397243547","1397243549","1397243552","1397243555","1397243559","1397243561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7bead5bf9b531eca44532f2460b9f279.jpg","text":"TemporaryFile(/tmp/multipartBody6604320135973760298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607756268,"filename":"image_25112025_23_08_21_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e5147e7f6cf4d088ee4e19bd5274f1d4.jpg","text":"TemporaryFile(/tmp/multipartBody5048346002500466081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607756268,"filename":"image_25112025_23_08_15_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2566f0734a7ae42fe142e3f29f35ed40.jpg","text":"TemporaryFile(/tmp/multipartBody7356134948050196666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607756268,"filename":"image_25112025_23_08_24_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/1/15aab9c3df6856a0a63dc64f47b5bc1a.jpg","text":"TemporaryFile(/tmp/multipartBody7868134383077426998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607756268,"filename":"image_25112025_23_08_12_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8002abe1746b4978739c02226c1d54e9.jpg","text":"TemporaryFile(/tmp/multipartBody7217895923046299089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607756268,"filename":"image_25112025_23_08_27_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/1/55cee053e9d20a29a69cc61c54ab7b72.jpg","text":"TemporaryFile(/tmp/multipartBody5871226561287377873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607756268,"filename":"image_25112025_23_08_18_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243552","file1":"1397243549","file0":"1397243547","file4":"1397243559","file5":"1397243561","file3":"1397243555"},"map_files_photo_id_array":[{"photo_id":"1397243561","filename":"file5"},{"photo_id":"1397243552","filename":"file2"},{"photo_id":"1397243559","filename":"file4"},{"photo_id":"1397243549","filename":"file1"},{"photo_id":"1397243547","filename":"file0"},{"photo_id":"1397243555","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397243555":["hashtag1","hashtag2"]},{"1397243549":["hashtag1","hashtag2"]},{"1397243559":["hashtag1","hashtag2"]},{"1397243547":["hashtag1","hashtag2"]},{"1397243561":["hashtag1","hashtag2"]},{"1397243552":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397243555, 1397243549, 1397243559, 1397243547, 1397243561, 1397243552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.3538658618927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:49:03.738159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 17:49:13.151011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_29_2525.jpg', '/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_33_3573.jpg', '/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_36_2777.jpg', '/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_42_2558.jpg', '/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_44_2605.jpg', '/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_48_3568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_29_2525.jpg
/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_33_3573.jpg
/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_36_2777.jpg
/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_42_2558.jpg
/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_44_2605.jpg
/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_48_3568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397243577","1397243565","1397243580","1397243570","1397243573","1397243567"],"photo_ids_order":["1397243565","1397243567","1397243570","1397243573","1397243577","1397243580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fd920530113a25cbaaebe096694a0610.jpg","text":"TemporaryFile(/tmp/multipartBody5541857195373850733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607815936,"filename":"image_25112025_23_08_44_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6c1a669f35b69f3262886dd9f1f48c8b.jpg","text":"TemporaryFile(/tmp/multipartBody3824196789173093724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607815936,"filename":"image_25112025_23_08_29_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/1/06af2c3ca4c1d307e5f759c6ed5f855e.jpg","text":"TemporaryFile(/tmp/multipartBody7571401321646413140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607815936,"filename":"image_25112025_23_08_48_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/1/071ad4da1bf97e8110711ffc9a910188.jpg","text":"TemporaryFile(/tmp/multipartBody7970135400962198041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607815936,"filename":"image_25112025_23_08_36_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f89c5e4f7c2e6c40b29c0f81f34b6338.jpg","text":"TemporaryFile(/tmp/multipartBody1806903913423814779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607815936,"filename":"image_25112025_23_08_42_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/1/fb8b36ffda9a1e3eb918e84d14182db7.jpg","text":"TemporaryFile(/tmp/multipartBody5290198905547593190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607815936,"filename":"image_25112025_23_08_33_3573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243570","file1":"1397243567","file0":"1397243565","file4":"1397243577","file5":"1397243580","file3":"1397243573"},"map_files_photo_id_array":[{"photo_id":"1397243580","filename":"file5"},{"photo_id":"1397243570","filename":"file2"},{"photo_id":"1397243577","filename":"file4"},{"photo_id":"1397243567","filename":"file1"},{"photo_id":"1397243565","filename":"file0"},{"photo_id":"1397243573","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397243577":["hashtag1","hashtag2"]},{"1397243565":["hashtag1","hashtag2"]},{"1397243580":["hashtag1","hashtag2"]},{"1397243570":["hashtag1","hashtag2"]},{"1397243573":["hashtag1","hashtag2"]},{"1397243567":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397243577, 1397243565, 1397243580, 1397243570, 1397243573, 1397243567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.324971437454224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:50:04.754933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 17:50:14.141607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_51_2726.jpg', '/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_53_2682.jpg', '/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_57_3596.jpg', '/home/pi/Desktop/images/25112025/23/08/image_25112025_23_09_00_2602.jpg', '/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_03_3062.jpg', '/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_05_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_51_2726.jpg
/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_53_2682.jpg
/home/pi/Desktop/images/25112025/23/08/image_25112025_23_08_57_3596.jpg
/home/pi/Desktop/images/25112025/23/08/image_25112025_23_09_00_2602.jpg
/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_03_3062.jpg
/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_05_2572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397243590","1397243592","1397243601","1397243604","1397243588","1397243607"],"photo_ids_order":["1397243588","1397243590","1397243592","1397243601","1397243604","1397243607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f1fd43e84c392d45b0a385e0f779ccfd.jpg","text":"TemporaryFile(/tmp/multipartBody1261211545433231538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607875813,"filename":"image_25112025_23_08_53_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b372bbbce66a2a8a2af14bce466648de.jpg","text":"TemporaryFile(/tmp/multipartBody1336162752488400246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607875813,"filename":"image_25112025_23_08_57_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/1/9d25b3161e755193dc4240ace5365f2e.jpg","text":"TemporaryFile(/tmp/multipartBody3526867059521754045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607875813,"filename":"image_25112025_23_09_00_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/1/42bf360310e5a352db5ed5d284c3cb55.jpg","text":"TemporaryFile(/tmp/multipartBody8472119509666953091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607875813,"filename":"image_25112025_23_09_03_3062.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/26a11f43f0f15bd6cb0ece1e32f2b68f.jpg","text":"TemporaryFile(/tmp/multipartBody1362730845628554878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607875813,"filename":"image_25112025_23_08_51_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/1/3f21fcd00d67c74813abf0a2e39c22af.jpg","text":"TemporaryFile(/tmp/multipartBody7706590965192315791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607875813,"filename":"image_25112025_23_09_05_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243592","file1":"1397243590","file0":"1397243588","file4":"1397243604","file5":"1397243607","file3":"1397243601"},"map_files_photo_id_array":[{"photo_id":"1397243607","filename":"file5"},{"photo_id":"1397243592","filename":"file2"},{"photo_id":"1397243604","filename":"file4"},{"photo_id":"1397243590","filename":"file1"},{"photo_id":"1397243588","filename":"file0"},{"photo_id":"1397243601","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397243590":["hashtag1","hashtag2"]},{"1397243592":["hashtag1","hashtag2"]},{"1397243601":["hashtag1","hashtag2"]},{"1397243604":["hashtag1","hashtag2"]},{"1397243588":["hashtag1","hashtag2"]},{"1397243607":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397243590, 1397243592, 1397243601, 1397243604, 1397243588, 1397243607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70936942100525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:51:02.936492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 17:51:12.389594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_12_2666.jpg', '/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_15_3584.jpg', '/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_18_2549.jpg', '/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_20_2596.jpg', '/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_24_3792.jpg', '/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_30_2809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_12_2666.jpg
/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_15_3584.jpg
/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_18_2549.jpg
/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_20_2596.jpg
/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_24_3792.jpg
/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_30_2809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397243650","1397243638","1397243664","1397243646","1397243661","1397243639"],"photo_ids_order":["1397243638","1397243639","1397243646","1397243650","1397243661","1397243664"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/823a80a16b2ea119b8050ee42d9e9ed6.jpg","text":"TemporaryFile(/tmp/multipartBody7909546744747770984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607934056,"filename":"image_25112025_23_09_20_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/1/a1b6b3d5441b15778a24a751c732bcb9.jpg","text":"TemporaryFile(/tmp/multipartBody3221390965119971750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607934056,"filename":"image_25112025_23_09_12_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/1/1f272134000d020d8770eadca73057b3.jpg","text":"TemporaryFile(/tmp/multipartBody3419552476750101680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607934056,"filename":"image_25112025_23_09_30_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/1/0a5af63f68928b97cbd9f6b440e72c0b.jpg","text":"TemporaryFile(/tmp/multipartBody7114900926184605998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607934056,"filename":"image_25112025_23_09_18_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/1/e3811e4299c8341c77819b2d5e391b65.jpg","text":"TemporaryFile(/tmp/multipartBody4102586700099703632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607934056,"filename":"image_25112025_23_09_24_3792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/21ad774d0543b7854efe590c84ad84eb.jpg","text":"TemporaryFile(/tmp/multipartBody7326696214623664399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607934056,"filename":"image_25112025_23_09_15_3584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243646","file1":"1397243639","file0":"1397243638","file4":"1397243661","file5":"1397243664","file3":"1397243650"},"map_files_photo_id_array":[{"photo_id":"1397243664","filename":"file5"},{"photo_id":"1397243646","filename":"file2"},{"photo_id":"1397243661","filename":"file4"},{"photo_id":"1397243639","filename":"file1"},{"photo_id":"1397243638","filename":"file0"},{"photo_id":"1397243650","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397243650":["hashtag1","hashtag2"]},{"1397243638":["hashtag1","hashtag2"]},{"1397243664":["hashtag1","hashtag2"]},{"1397243646":["hashtag1","hashtag2"]},{"1397243661":["hashtag1","hashtag2"]},{"1397243639":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397243650, 1397243638, 1397243664, 1397243646, 1397243661, 1397243639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.733766078948975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:52:03.339741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/20/image_01122025_15_20_55_9738.jpg', '/home/pi/Desktop/images/01122025/15/20/image_01122025_15_21_06_10689.jpg', '/home/pi/Desktop/images/01122025/15/21/image_01122025_15_21_16_9601.jpg', '/home/pi/Desktop/images/01122025/15/21/image_01122025_15_21_26_10556.jpg', '/home/pi/Desktop/images/01122025/15/21/image_01122025_15_21_36_9843.jpg', '/home/pi/Desktop/images/01122025/15/21/image_01122025_15_21_46_9868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/20/image_01122025_15_20_55_9738.jpg
/home/pi/Desktop/images/01122025/15/20/image_01122025_15_21_06_10689.jpg
/home/pi/Desktop/images/01122025/15/21/image_01122025_15_21_16_9601.jpg
/home/pi/Desktop/images/01122025/15/21/image_01122025_15_21_26_10556.jpg
/home/pi/Desktop/images/01122025/15/21/image_01122025_15_21_36_9843.jpg
/home/pi/Desktop/images/01122025/15/21/image_01122025_15_21_46_9868.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397243698","1397243697","1397243700","1397243699","1397243703","1397243706"],"photo_ids_order":["1397243697","1397243698","1397243699","1397243700","1397243703","1397243706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f02ebe1f3e998c11181fdf9a8f15a85a.jpg","text":"TemporaryFile(/tmp/multipartBody6404630357069462915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607984098,"filename":"image_01122025_15_21_06_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/1/893a4a43a1db6df9abe4f1369ce84157.jpg","text":"TemporaryFile(/tmp/multipartBody8052359289170503984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607984098,"filename":"image_01122025_15_20_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/1/0920f6cd6997a1aad6e299e32ec54969.jpg","text":"TemporaryFile(/tmp/multipartBody405792961179333459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607984098,"filename":"image_01122025_15_21_26_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/1/a69a9de5cebc94fb0f2f246b5b7c1798.jpg","text":"TemporaryFile(/tmp/multipartBody9023517333153312901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607984098,"filename":"image_01122025_15_21_16_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/1/db122165a37992e0be0194c7eb3d3057.jpg","text":"TemporaryFile(/tmp/multipartBody6786551654699197929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607984098,"filename":"image_01122025_15_21_36_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/1/03f7956b0fc279be011c57aca049432a.jpg","text":"TemporaryFile(/tmp/multipartBody1222506851991488955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764607984098,"filename":"image_01122025_15_21_46_9868.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243699","file1":"1397243698","file0":"1397243697","file4":"1397243703","file5":"1397243706","file3":"1397243700"},"map_files_photo_id_array":[{"photo_id":"1397243706","filename":"file5"},{"photo_id":"1397243699","filename":"file2"},{"photo_id":"1397243703","filename":"file4"},{"photo_id":"1397243698","filename":"file1"},{"photo_id":"1397243697","filename":"file0"},{"photo_id":"1397243700","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397243698":["hashtag1","hashtag2"]},{"1397243697":["hashtag1","hashtag2"]},{"1397243700":["hashtag1","hashtag2"]},{"1397243699":["hashtag1","hashtag2"]},{"1397243703":["hashtag1","hashtag2"]},{"1397243706":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397243698, 1397243697, 1397243700, 1397243699, 1397243703, 1397243706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04345989227295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 17:52:42.843010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_15_1604.jpg', '/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_17_1614.jpg', '/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_19_1659.jpg', '/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_23_4489.jpg', '/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_25_1689.jpg', '/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_27_1768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_15_1604.jpg
/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_17_1614.jpg
/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_19_1659.jpg
/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_23_4489.jpg
/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_25_1689.jpg
/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_27_1768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397243720","1397243717","1397243716","1397243719","1397243715","1397243718"],"photo_ids_order":["1397243715","1397243716","1397243717","1397243718","1397243719","1397243720"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d23e60324fcd1f45d082e80c4b5858b9.jpg","text":"TemporaryFile(/tmp/multipartBody6442506505997100223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608025259,"filename":"image_31102025_14_46_27_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/1/d601c85a68ae4be31a00e85d0129f4cf.jpg","text":"TemporaryFile(/tmp/multipartBody6444887717630831936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608025259,"filename":"image_31102025_14_46_19_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/1/2a0aabb078e3b4bcc115a81c6c2baf43.jpg","text":"TemporaryFile(/tmp/multipartBody5345949751367092975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608025259,"filename":"image_31102025_14_46_17_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/1/19f82eaf5522014c4bee323fb67ee506.jpg","text":"TemporaryFile(/tmp/multipartBody3170165224610689141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608025259,"filename":"image_31102025_14_46_25_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/1/5784c8bb0ae6824ac9354c4c4624b33c.jpg","text":"TemporaryFile(/tmp/multipartBody2653730378962973086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608025259,"filename":"image_31102025_14_46_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/1/ab8b1b4a7a16a366e764380d1b481a0e.jpg","text":"TemporaryFile(/tmp/multipartBody3134663490753676797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608025259,"filename":"image_31102025_14_46_23_4489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243717","file1":"1397243716","file0":"1397243715","file4":"1397243719","file5":"1397243720","file3":"1397243718"},"map_files_photo_id_array":[{"photo_id":"1397243720","filename":"file5"},{"photo_id":"1397243717","filename":"file2"},{"photo_id":"1397243719","filename":"file4"},{"photo_id":"1397243716","filename":"file1"},{"photo_id":"1397243715","filename":"file0"},{"photo_id":"1397243718","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397243720":["hashtag1","hashtag2"]},{"1397243717":["hashtag1","hashtag2"]},{"1397243716":["hashtag1","hashtag2"]},{"1397243719":["hashtag1","hashtag2"]},{"1397243715":["hashtag1","hashtag2"]},{"1397243718":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397243720, 1397243717, 1397243716, 1397243719, 1397243715, 1397243718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84669780731201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 17:53:22.202687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/21/image_01122025_15_21_56_9846.jpg', '/home/pi/Desktop/images/01122025/15/21/image_01122025_15_22_05_9566.jpg', '/home/pi/Desktop/images/01122025/15/22/image_01122025_15_22_16_10659.jpg', '/home/pi/Desktop/images/01122025/15/22/image_01122025_15_22_26_9751.jpg', '/home/pi/Desktop/images/01122025/15/22/image_01122025_15_22_35_9775.jpg', '/home/pi/Desktop/images/01122025/15/22/image_01122025_15_22_46_10721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/21/image_01122025_15_21_56_9846.jpg
/home/pi/Desktop/images/01122025/15/21/image_01122025_15_22_05_9566.jpg
/home/pi/Desktop/images/01122025/15/22/image_01122025_15_22_16_10659.jpg
/home/pi/Desktop/images/01122025/15/22/image_01122025_15_22_26_9751.jpg
/home/pi/Desktop/images/01122025/15/22/image_01122025_15_22_35_9775.jpg
/home/pi/Desktop/images/01122025/15/22/image_01122025_15_22_46_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":["1397243732","1397243726","1397243729","1397243739","1397243736","1397243723"],"photo_ids_order":["1397243723","1397243726","1397243729","1397243732","1397243736","1397243739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0a94369ef777de15ca31b13e0fdcdd38.jpg","text":"TemporaryFile(/tmp/multipartBody1752173067078015348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608062873,"filename":"image_01122025_15_22_26_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/1/1c2fb390777fb26e68f75c161b8b6850.jpg","text":"TemporaryFile(/tmp/multipartBody8423049761724309540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608062873,"filename":"image_01122025_15_22_05_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9a9b48f69a973e8be540363170c88ffc.jpg","text":"TemporaryFile(/tmp/multipartBody7270086740833129003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608062873,"filename":"image_01122025_15_22_16_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/1/e10b69dd35d020aaa8bd674a51df14be.jpg","text":"TemporaryFile(/tmp/multipartBody7729881941364544857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608062873,"filename":"image_01122025_15_22_46_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/1/ffb4e78a99c5036a4749e638682ef859.jpg","text":"TemporaryFile(/tmp/multipartBody945802723748085014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608062873,"filename":"image_01122025_15_22_35_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ac3c607613bf69d12e92c36d25737775.jpg","text":"TemporaryFile(/tmp/multipartBody2177990390090535341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608062873,"filename":"image_01122025_15_21_56_9846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243729","file1":"1397243726","file0":"1397243723","file4":"1397243736","file5":"1397243739","file3":"1397243732"},"map_files_photo_id_array":[{"photo_id":"1397243739","filename":"file5"},{"photo_id":"1397243729","filename":"file2"},{"photo_id":"1397243736","filename":"file4"},{"photo_id":"1397243726","filename":"file1"},{"photo_id":"1397243723","filename":"file0"},{"photo_id":"1397243732","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397243732":["hashtag1","hashtag2"]},{"1397243726":["hashtag1","hashtag2"]},{"1397243729":["hashtag1","hashtag2"]},{"1397243739":["hashtag1","hashtag2"]},{"1397243736":["hashtag1","hashtag2"]},{"1397243723":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397243732, 1397243726, 1397243729, 1397243739, 1397243736, 1397243723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.098435163497925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:54:02.988672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/22/image_01122025_15_22_56_9846.jpg', '/home/pi/Desktop/images/01122025/15/22/image_01122025_15_23_06_9799.jpg', '/home/pi/Desktop/images/01122025/15/23/image_01122025_15_23_16_9735.jpg', '/home/pi/Desktop/images/01122025/15/23/image_01122025_15_23_26_10620.jpg', '/home/pi/Desktop/images/01122025/15/23/image_01122025_15_23_36_9620.jpg', '/home/pi/Desktop/images/01122025/15/23/image_01122025_15_23_45_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/22/image_01122025_15_22_56_9846.jpg
/home/pi/Desktop/images/01122025/15/22/image_01122025_15_23_06_9799.jpg
/home/pi/Desktop/images/01122025/15/23/image_01122025_15_23_16_9735.jpg
/home/pi/Desktop/images/01122025/15/23/image_01122025_15_23_26_10620.jpg
/home/pi/Desktop/images/01122025/15/23/image_01122025_15_23_36_9620.jpg
/home/pi/Desktop/images/01122025/15/23/image_01122025_15_23_45_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":["1397243749","1397243740","1397243743","1397243745","1397243742","1397243741"],"photo_ids_order":["1397243740","1397243741","1397243742","1397243743","1397243745","1397243749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/90ed614615c998bc55cda46d69955802.jpg","text":"TemporaryFile(/tmp/multipartBody426868829862850301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608103704,"filename":"image_01122025_15_23_45_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/633f68d52eb1a5fbcecb3e8765f6a618.jpg","text":"TemporaryFile(/tmp/multipartBody2755614438694895098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608103704,"filename":"image_01122025_15_22_56_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/1/d22cf9e08f8a60ee89539e2944568015.jpg","text":"TemporaryFile(/tmp/multipartBody3691456748175712510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608103704,"filename":"image_01122025_15_23_26_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/1/202046626bcadc93ebaee60e8a633688.jpg","text":"TemporaryFile(/tmp/multipartBody8339029071484848136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608103704,"filename":"image_01122025_15_23_36_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/1/3f8ab5eef3d10cd92864563d3ddc9e8b.jpg","text":"TemporaryFile(/tmp/multipartBody7578412209977554632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608103704,"filename":"image_01122025_15_23_16_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/1/7bdb4f92858abce4d8c141577743d954.jpg","text":"TemporaryFile(/tmp/multipartBody1709789208939038608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608103704,"filename":"image_01122025_15_23_06_9799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243742","file1":"1397243741","file0":"1397243740","file4":"1397243745","file5":"1397243749","file3":"1397243743"},"map_files_photo_id_array":[{"photo_id":"1397243749","filename":"file5"},{"photo_id":"1397243742","filename":"file2"},{"photo_id":"1397243745","filename":"file4"},{"photo_id":"1397243741","filename":"file1"},{"photo_id":"1397243740","filename":"file0"},{"photo_id":"1397243743","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397243749":["hashtag1","hashtag2"]},{"1397243740":["hashtag1","hashtag2"]},{"1397243743":["hashtag1","hashtag2"]},{"1397243745":["hashtag1","hashtag2"]},{"1397243742":["hashtag1","hashtag2"]},{"1397243741":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397243749, 1397243740, 1397243743, 1397243745, 1397243742, 1397243741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12016153335571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 17:54:42.186805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_28_1752.jpg', '/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_32_1692.jpg', '/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_33_1628.jpg', '/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_37_3686.jpg', '/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_40_2792.jpg', '/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_44_4499.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_28_1752.jpg
/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_32_1692.jpg
/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_33_1628.jpg
/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_37_3686.jpg
/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_40_2792.jpg
/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_44_4499.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397243764","1397243761","1397243763","1397243757","1397243760","1397243759"],"photo_ids_order":["1397243757","1397243759","1397243760","1397243761","1397243763","1397243764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fc0c6987b1d9c009c551c7e2c27452d8.jpg","text":"TemporaryFile(/tmp/multipartBody2743827821364160586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608144849,"filename":"image_31102025_14_46_44_4499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1c957185d15e60fad8103b497a3b713c.jpg","text":"TemporaryFile(/tmp/multipartBody2787894306682595740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608144849,"filename":"image_31102025_14_46_37_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ea78067fd1fab313c535158d14f84ebe.jpg","text":"TemporaryFile(/tmp/multipartBody1036644147458924660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608144849,"filename":"image_31102025_14_46_40_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/1/0db30688778c106a49b42c3896cb3761.jpg","text":"TemporaryFile(/tmp/multipartBody8940422066447833342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608144849,"filename":"image_31102025_14_46_28_1752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/73350f13dfcd223e4a904308d23906d2.jpg","text":"TemporaryFile(/tmp/multipartBody7895533292517774166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608144849,"filename":"image_31102025_14_46_33_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/1/2d498c50a752ce4b69c9076e2529eddb.jpg","text":"TemporaryFile(/tmp/multipartBody4588357444174944272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608144849,"filename":"image_31102025_14_46_32_1692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243760","file1":"1397243759","file0":"1397243757","file4":"1397243763","file5":"1397243764","file3":"1397243761"},"map_files_photo_id_array":[{"photo_id":"1397243764","filename":"file5"},{"photo_id":"1397243760","filename":"file2"},{"photo_id":"1397243763","filename":"file4"},{"photo_id":"1397243759","filename":"file1"},{"photo_id":"1397243757","filename":"file0"},{"photo_id":"1397243761","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397243764":["hashtag1","hashtag2"]},{"1397243761":["hashtag1","hashtag2"]},{"1397243763":["hashtag1","hashtag2"]},{"1397243757":["hashtag1","hashtag2"]},{"1397243760":["hashtag1","hashtag2"]},{"1397243759":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397243764, 1397243761, 1397243763, 1397243757, 1397243760, 1397243759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.896225690841675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 17:55:32.464790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_32_2535.jpg', '/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_36_3691.jpg', '/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_38_2646.jpg', '/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_41_2734.jpg', '/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_45_3590.jpg', '/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_47_2511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_32_2535.jpg
/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_36_3691.jpg
/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_38_2646.jpg
/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_41_2734.jpg
/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_45_3590.jpg
/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_47_2511.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397243782","1397243779","1397243775","1397243784","1397243772","1397243783"],"photo_ids_order":["1397243772","1397243775","1397243779","1397243782","1397243783","1397243784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7bdc1bfe4ff28a610439e0c822522868.jpg","text":"TemporaryFile(/tmp/multipartBody3914251678334631348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608194339,"filename":"image_25112025_23_09_41_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/1/96079533de52460a2bdfbf22ac4bc47b.jpg","text":"TemporaryFile(/tmp/multipartBody5072964232827680415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608194339,"filename":"image_25112025_23_09_38_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fd97d821a1f74540254092c664c7d3dd.jpg","text":"TemporaryFile(/tmp/multipartBody3216036376836812016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608194339,"filename":"image_25112025_23_09_36_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/1/2e77db08b92911a4274a2a11ee3e1091.jpg","text":"TemporaryFile(/tmp/multipartBody3253967706353443069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608194339,"filename":"image_25112025_23_09_47_2511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a1eba6c1db11288fc1eab278d91f1bab.jpg","text":"TemporaryFile(/tmp/multipartBody1041216542710301030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608194339,"filename":"image_25112025_23_09_32_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/1/08031ce940517b48bab837d9a0923da9.jpg","text":"TemporaryFile(/tmp/multipartBody3035513607914164447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608194339,"filename":"image_25112025_23_09_45_3590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243779","file1":"1397243775","file0":"1397243772","file4":"1397243783","file5":"1397243784","file3":"1397243782"},"map_files_photo_id_array":[{"photo_id":"1397243784","filename":"file5"},{"photo_id":"1397243779","filename":"file2"},{"photo_id":"1397243783","filename":"file4"},{"photo_id":"1397243775","filename":"file1"},{"photo_id":"1397243772","filename":"file0"},{"photo_id":"1397243782","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397243782":["hashtag1","hashtag2"]},{"1397243779":["hashtag1","hashtag2"]},{"1397243775":["hashtag1","hashtag2"]},{"1397243784":["hashtag1","hashtag2"]},{"1397243772":["hashtag1","hashtag2"]},{"1397243783":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397243782, 1397243779, 1397243775, 1397243784, 1397243772, 1397243783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.395166873931885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 17:56:12.534052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_51_3563.jpg', '/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_53_2499.jpg', '/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_57_3609.jpg', '/home/pi/Desktop/images/25112025/23/09/image_25112025_23_10_00_2614.jpg', '/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_02_2566.jpg', '/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_06_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_51_3563.jpg
/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_53_2499.jpg
/home/pi/Desktop/images/25112025/23/09/image_25112025_23_09_57_3609.jpg
/home/pi/Desktop/images/25112025/23/09/image_25112025_23_10_00_2614.jpg
/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_02_2566.jpg
/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_06_3651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397243785","1397243796","1397243799","1397243790","1397243787","1397243792"],"photo_ids_order":["1397243785","1397243787","1397243790","1397243792","1397243796","1397243799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/646311991673d6f207c3c923355f8903.jpg","text":"TemporaryFile(/tmp/multipartBody2478105285580772846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608234129,"filename":"image_25112025_23_09_51_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/1/d14f4a4cd87dd5239866aa72a85521f9.jpg","text":"TemporaryFile(/tmp/multipartBody7511105903499168310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608234129,"filename":"image_25112025_23_10_02_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/1/1a735d725a13b37cf4392bbefe55c68d.jpg","text":"TemporaryFile(/tmp/multipartBody6198405854964421842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608234129,"filename":"image_25112025_23_10_06_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/1/83e757dea0540de819ed20e6893e58ca.jpg","text":"TemporaryFile(/tmp/multipartBody1390691147750479541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608234129,"filename":"image_25112025_23_09_57_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/1/bba3f1b08b98daa9ccdf1bee721c4ecb.jpg","text":"TemporaryFile(/tmp/multipartBody6439509321247086304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608234129,"filename":"image_25112025_23_09_53_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/1/8d4b4af2e82e71713bef6a70f26ff678.jpg","text":"TemporaryFile(/tmp/multipartBody9115989830757708437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608234129,"filename":"image_25112025_23_10_00_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243790","file1":"1397243787","file0":"1397243785","file4":"1397243796","file5":"1397243799","file3":"1397243792"},"map_files_photo_id_array":[{"photo_id":"1397243799","filename":"file5"},{"photo_id":"1397243790","filename":"file2"},{"photo_id":"1397243796","filename":"file4"},{"photo_id":"1397243787","filename":"file1"},{"photo_id":"1397243785","filename":"file0"},{"photo_id":"1397243792","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397243785":["hashtag1","hashtag2"]},{"1397243796":["hashtag1","hashtag2"]},{"1397243799":["hashtag1","hashtag2"]},{"1397243790":["hashtag1","hashtag2"]},{"1397243787":["hashtag1","hashtag2"]},{"1397243792":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397243785, 1397243796, 1397243799, 1397243790, 1397243787, 1397243792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43205285072327 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:57:03.207619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/23/image_01122025_15_23_56_10020.jpg', '/home/pi/Desktop/images/01122025/15/23/image_01122025_15_24_05_9813.jpg', '/home/pi/Desktop/images/01122025/15/24/image_01122025_15_24_16_10558.jpg', '/home/pi/Desktop/images/01122025/15/24/image_01122025_15_24_26_9635.jpg', '/home/pi/Desktop/images/01122025/15/24/image_01122025_15_24_36_10554.jpg', '/home/pi/Desktop/images/01122025/15/24/image_01122025_15_24_46_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/23/image_01122025_15_23_56_10020.jpg
/home/pi/Desktop/images/01122025/15/23/image_01122025_15_24_05_9813.jpg
/home/pi/Desktop/images/01122025/15/24/image_01122025_15_24_16_10558.jpg
/home/pi/Desktop/images/01122025/15/24/image_01122025_15_24_26_9635.jpg
/home/pi/Desktop/images/01122025/15/24/image_01122025_15_24_36_10554.jpg
/home/pi/Desktop/images/01122025/15/24/image_01122025_15_24_46_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":["1397243819","1397243827","1397243824","1397243818","1397243820","1397243817"],"photo_ids_order":["1397243817","1397243818","1397243819","1397243820","1397243824","1397243827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6ce9c75293a10d9696617d6965e53dc1.jpg","text":"TemporaryFile(/tmp/multipartBody5465298437398273736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608283938,"filename":"image_01122025_15_24_16_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/1/10b048b9f077dbd70aba92f209a61d3b.jpg","text":"TemporaryFile(/tmp/multipartBody7761122381137176833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608283938,"filename":"image_01122025_15_24_46_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/1/d425e0656fabe6c71c55459dc8a9679d.jpg","text":"TemporaryFile(/tmp/multipartBody767234211486640111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608283938,"filename":"image_01122025_15_24_36_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/1/42b8a82f2b827dc94dae98043290a565.jpg","text":"TemporaryFile(/tmp/multipartBody1781764052009685787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608283938,"filename":"image_01122025_15_24_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/1/970f24ef08a6a2cfcab0fead76b3b25c.jpg","text":"TemporaryFile(/tmp/multipartBody2643483614841012443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608283938,"filename":"image_01122025_15_24_26_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/1/98029d4286c8007405bd8dcc16304ee5.jpg","text":"TemporaryFile(/tmp/multipartBody8128683113340495638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608283938,"filename":"image_01122025_15_23_56_10020.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243819","file1":"1397243818","file0":"1397243817","file4":"1397243824","file5":"1397243827","file3":"1397243820"},"map_files_photo_id_array":[{"photo_id":"1397243827","filename":"file5"},{"photo_id":"1397243819","filename":"file2"},{"photo_id":"1397243824","filename":"file4"},{"photo_id":"1397243818","filename":"file1"},{"photo_id":"1397243817","filename":"file0"},{"photo_id":"1397243820","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397243819":["hashtag1","hashtag2"]},{"1397243827":["hashtag1","hashtag2"]},{"1397243824":["hashtag1","hashtag2"]},{"1397243818":["hashtag1","hashtag2"]},{"1397243820":["hashtag1","hashtag2"]},{"1397243817":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397243819, 1397243827, 1397243824, 1397243818, 1397243820, 1397243817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43459153175354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 17:57:42.683320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_46_1593.jpg', '/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_50_3892.jpg', '/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_51_1717.jpg', '/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_55_4140.jpg', '/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_57_1682.jpg', '/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_01_3787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_46_1593.jpg
/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_50_3892.jpg
/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_51_1717.jpg
/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_55_4140.jpg
/home/pi/Desktop/images/31102025/14/46/image_31102025_14_46_57_1682.jpg
/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_01_3787.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397243863","1397243868","1397243862","1397243861","1397243864","1397243858"],"photo_ids_order":["1397243858","1397243861","1397243862","1397243863","1397243864","1397243868"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/577bc6661e9ae63ed4788f6b4e3e62ac.jpg","text":"TemporaryFile(/tmp/multipartBody8434049203211158214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608325231,"filename":"image_31102025_14_46_55_4140.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d29296de0133f39513c0c4c2645b04b6.jpg","text":"TemporaryFile(/tmp/multipartBody6007207275073774060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608325231,"filename":"image_31102025_14_47_01_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/1/b5d7d11c3c956313e5895f646e2bae10.jpg","text":"TemporaryFile(/tmp/multipartBody8997556044650880461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608325231,"filename":"image_31102025_14_46_51_1717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/543a98e93710e892e332e2a7d9add178.jpg","text":"TemporaryFile(/tmp/multipartBody3961209724418962343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608325231,"filename":"image_31102025_14_46_50_3892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/52c4b2a1fe7f503ea970ea438a949e19.jpg","text":"TemporaryFile(/tmp/multipartBody3605853274391631150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608325231,"filename":"image_31102025_14_46_57_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/1/f7fba1f37889d912c84790bca4e088fa.jpg","text":"TemporaryFile(/tmp/multipartBody2287937905599337827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608325231,"filename":"image_31102025_14_46_46_1593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243862","file1":"1397243861","file0":"1397243858","file4":"1397243864","file5":"1397243868","file3":"1397243863"},"map_files_photo_id_array":[{"photo_id":"1397243868","filename":"file5"},{"photo_id":"1397243862","filename":"file2"},{"photo_id":"1397243864","filename":"file4"},{"photo_id":"1397243861","filename":"file1"},{"photo_id":"1397243858","filename":"file0"},{"photo_id":"1397243863","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397243863":["hashtag1","hashtag2"]},{"1397243868":["hashtag1","hashtag2"]},{"1397243862":["hashtag1","hashtag2"]},{"1397243861":["hashtag1","hashtag2"]},{"1397243864":["hashtag1","hashtag2"]},{"1397243858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397243863, 1397243868, 1397243862, 1397243861, 1397243864, 1397243858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.42492055892944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 17:59:03.063339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/24/image_01122025_15_24_56_9802.jpg', '/home/pi/Desktop/images/01122025/15/24/image_01122025_15_25_06_10628.jpg', '/home/pi/Desktop/images/01122025/15/25/image_01122025_15_25_16_9685.jpg', '/home/pi/Desktop/images/01122025/15/25/image_01122025_15_25_26_9826.jpg', '/home/pi/Desktop/images/01122025/15/25/image_01122025_15_25_36_10501.jpg', '/home/pi/Desktop/images/01122025/15/25/image_01122025_15_25_46_9538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/24/image_01122025_15_24_56_9802.jpg
/home/pi/Desktop/images/01122025/15/24/image_01122025_15_25_06_10628.jpg
/home/pi/Desktop/images/01122025/15/25/image_01122025_15_25_16_9685.jpg
/home/pi/Desktop/images/01122025/15/25/image_01122025_15_25_26_9826.jpg
/home/pi/Desktop/images/01122025/15/25/image_01122025_15_25_36_10501.jpg
/home/pi/Desktop/images/01122025/15/25/image_01122025_15_25_46_9538.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397243918","1397243912","1397243926","1397243910","1397243916","1397243921"],"photo_ids_order":["1397243910","1397243912","1397243916","1397243918","1397243921","1397243926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dbe353b1d42912a1f70a6232784c54ac.jpg","text":"TemporaryFile(/tmp/multipartBody965165318136547208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608403849,"filename":"image_01122025_15_25_26_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/1/a5a4122f1cbde9893b468dad0e2d09eb.jpg","text":"TemporaryFile(/tmp/multipartBody48200909248752351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608403849,"filename":"image_01122025_15_25_06_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/989b9b727f1b1cc259b1864ea9889cad.jpg","text":"TemporaryFile(/tmp/multipartBody939968445840205224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608403849,"filename":"image_01122025_15_25_46_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/1/b2f9a79d805ce0ca24b50dc60ea24f4f.jpg","text":"TemporaryFile(/tmp/multipartBody6274169765552065189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608403849,"filename":"image_01122025_15_24_56_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/1/8709c66ab06f91c3554de040b8e1e283.jpg","text":"TemporaryFile(/tmp/multipartBody2638991806984634541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608403849,"filename":"image_01122025_15_25_16_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/1/7e820c92b9ce55c3723f2b1775dfbc23.jpg","text":"TemporaryFile(/tmp/multipartBody4218592156834348698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608403849,"filename":"image_01122025_15_25_36_10501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243916","file1":"1397243912","file0":"1397243910","file4":"1397243921","file5":"1397243926","file3":"1397243918"},"map_files_photo_id_array":[{"photo_id":"1397243926","filename":"file5"},{"photo_id":"1397243916","filename":"file2"},{"photo_id":"1397243921","filename":"file4"},{"photo_id":"1397243912","filename":"file1"},{"photo_id":"1397243910","filename":"file0"},{"photo_id":"1397243918","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397243918":["hashtag1","hashtag2"]},{"1397243912":["hashtag1","hashtag2"]},{"1397243926":["hashtag1","hashtag2"]},{"1397243910":["hashtag1","hashtag2"]},{"1397243916":["hashtag1","hashtag2"]},{"1397243921":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397243918, 1397243912, 1397243926, 1397243910, 1397243916, 1397243921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.201884031295776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 18:00:02.609010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/25/image_01122025_15_25_55_9572.jpg', '/home/pi/Desktop/images/01122025/15/25/image_01122025_15_26_06_10768.jpg', '/home/pi/Desktop/images/01122025/15/26/image_01122025_15_26_16_9715.jpg', '/home/pi/Desktop/images/01122025/15/26/image_01122025_15_26_25_9691.jpg', '/home/pi/Desktop/images/01122025/15/26/image_01122025_15_26_36_10726.jpg', '/home/pi/Desktop/images/01122025/15/26/image_01122025_15_26_46_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/25/image_01122025_15_25_55_9572.jpg
/home/pi/Desktop/images/01122025/15/25/image_01122025_15_26_06_10768.jpg
/home/pi/Desktop/images/01122025/15/26/image_01122025_15_26_16_9715.jpg
/home/pi/Desktop/images/01122025/15/26/image_01122025_15_26_25_9691.jpg
/home/pi/Desktop/images/01122025/15/26/image_01122025_15_26_36_10726.jpg
/home/pi/Desktop/images/01122025/15/26/image_01122025_15_26_46_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397243944","1397243947","1397243937","1397243952","1397243940","1397243942"],"photo_ids_order":["1397243937","1397243940","1397243942","1397243944","1397243947","1397243952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0851cc73b9c584d15def02c6eb92afe7.jpg","text":"TemporaryFile(/tmp/multipartBody1539669121799314226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608463331,"filename":"image_01122025_15_26_25_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/1/4fbe0edfc2ba541a5e6ab811be579e42.jpg","text":"TemporaryFile(/tmp/multipartBody2411994522436647341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608463331,"filename":"image_01122025_15_26_36_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/1/2463e7a165e2b7f34267a7a59091fb07.jpg","text":"TemporaryFile(/tmp/multipartBody4348325303237121478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608463331,"filename":"image_01122025_15_25_55_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/05e6f67f3ce5576b0875b41e62e06c65.jpg","text":"TemporaryFile(/tmp/multipartBody2534860093926936113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608463331,"filename":"image_01122025_15_26_46_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/1/1d3ff3c05b625adc8393b184a2eded76.jpg","text":"TemporaryFile(/tmp/multipartBody7290482332339119553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608463331,"filename":"image_01122025_15_26_06_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/1/b4e1eff49809a50677e1b41fd07ea8d0.jpg","text":"TemporaryFile(/tmp/multipartBody9132428734161090113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608463331,"filename":"image_01122025_15_26_16_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243942","file1":"1397243940","file0":"1397243937","file4":"1397243947","file5":"1397243952","file3":"1397243944"},"map_files_photo_id_array":[{"photo_id":"1397243952","filename":"file5"},{"photo_id":"1397243942","filename":"file2"},{"photo_id":"1397243947","filename":"file4"},{"photo_id":"1397243940","filename":"file1"},{"photo_id":"1397243937","filename":"file0"},{"photo_id":"1397243944","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397243944":["hashtag1","hashtag2"]},{"1397243947":["hashtag1","hashtag2"]},{"1397243937":["hashtag1","hashtag2"]},{"1397243952":["hashtag1","hashtag2"]},{"1397243940":["hashtag1","hashtag2"]},{"1397243942":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397243944, 1397243947, 1397243937, 1397243952, 1397243940, 1397243942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5916428565979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 18:00:42.117815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_04_2740.jpg', '/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_07_2885.jpg', '/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_09_2724.jpg', '/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_13_3554.jpg', '/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_16_2784.jpg', '/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_18_2747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_04_2740.jpg
/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_07_2885.jpg
/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_09_2724.jpg
/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_13_3554.jpg
/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_16_2784.jpg
/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_18_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":["1397243962","1397243965","1397243968","1397243964","1397243960","1397243963"],"photo_ids_order":["1397243960","1397243962","1397243963","1397243964","1397243965","1397243968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0eae383836c8ca13e22fc718c99576e1.jpg","text":"TemporaryFile(/tmp/multipartBody1513487267931131698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608504700,"filename":"image_31102025_14_47_07_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/1/ee8fb5a6ba3bfefc332bfafc3f8f0d57.jpg","text":"TemporaryFile(/tmp/multipartBody8997089447403012835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608504700,"filename":"image_31102025_14_47_16_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f2d17120a8dda4ca049bd659aa0ad8b8.jpg","text":"TemporaryFile(/tmp/multipartBody6430033413891838738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608504700,"filename":"image_31102025_14_47_18_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/1/47d6399e23a129c7a2b09ca8bf2ab1b2.jpg","text":"TemporaryFile(/tmp/multipartBody6093398150241271608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608504700,"filename":"image_31102025_14_47_13_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/1/3d8d722a101ccd024e87a006225f9c6f.jpg","text":"TemporaryFile(/tmp/multipartBody322515973553212938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608504700,"filename":"image_31102025_14_47_04_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dc2bf0607610330c171d860ff5417828.jpg","text":"TemporaryFile(/tmp/multipartBody5424851190592775993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608504700,"filename":"image_31102025_14_47_09_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243963","file1":"1397243962","file0":"1397243960","file4":"1397243965","file5":"1397243968","file3":"1397243964"},"map_files_photo_id_array":[{"photo_id":"1397243968","filename":"file5"},{"photo_id":"1397243963","filename":"file2"},{"photo_id":"1397243965","filename":"file4"},{"photo_id":"1397243962","filename":"file1"},{"photo_id":"1397243960","filename":"file0"},{"photo_id":"1397243964","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397243962":["hashtag1","hashtag2"]},{"1397243965":["hashtag1","hashtag2"]},{"1397243968":["hashtag1","hashtag2"]},{"1397243964":["hashtag1","hashtag2"]},{"1397243960":["hashtag1","hashtag2"]},{"1397243963":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397243962, 1397243965, 1397243968, 1397243964, 1397243960, 1397243963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.41040539741516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 18:01:32.312987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_09_2765.jpg', '/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_13_4617.jpg', '/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_18_2834.jpg', '/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_20_2516.jpg', '/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_24_3645.jpg', '/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_26_2563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_09_2765.jpg
/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_13_4617.jpg
/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_18_2834.jpg
/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_20_2516.jpg
/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_24_3645.jpg
/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_26_2563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397243983","1397243977","1397243986","1397243979","1397243984","1397243981"],"photo_ids_order":["1397243977","1397243979","1397243981","1397243983","1397243984","1397243986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0563f78267c94765de5217230c5eccf7.jpg","text":"TemporaryFile(/tmp/multipartBody2992570404558161373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608553977,"filename":"image_25112025_23_10_20_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/1/f0fcf763b8cd7f9c846944c670c4b421.jpg","text":"TemporaryFile(/tmp/multipartBody8265955123934683343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608553977,"filename":"image_25112025_23_10_09_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/1/4cb1d2efd68bef3ea71cf6d1c73cb93f.jpg","text":"TemporaryFile(/tmp/multipartBody5538717428851501926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608553977,"filename":"image_25112025_23_10_26_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/1/66587a03b81180c77264c5709afc1522.jpg","text":"TemporaryFile(/tmp/multipartBody676015192381711543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608553977,"filename":"image_25112025_23_10_13_4617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/80dbce9f13a90bab7699515e91f5c90b.jpg","text":"TemporaryFile(/tmp/multipartBody368860602796519788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608553977,"filename":"image_25112025_23_10_24_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/1/49a54e37cca149052cf7ee55a7525438.jpg","text":"TemporaryFile(/tmp/multipartBody5924670986738118235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608553977,"filename":"image_25112025_23_10_18_2834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397243981","file1":"1397243979","file0":"1397243977","file4":"1397243984","file5":"1397243986","file3":"1397243983"},"map_files_photo_id_array":[{"photo_id":"1397243986","filename":"file5"},{"photo_id":"1397243981","filename":"file2"},{"photo_id":"1397243984","filename":"file4"},{"photo_id":"1397243979","filename":"file1"},{"photo_id":"1397243977","filename":"file0"},{"photo_id":"1397243983","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397243983":["hashtag1","hashtag2"]},{"1397243977":["hashtag1","hashtag2"]},{"1397243986":["hashtag1","hashtag2"]},{"1397243979":["hashtag1","hashtag2"]},{"1397243984":["hashtag1","hashtag2"]},{"1397243981":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397243983, 1397243977, 1397243986, 1397243979, 1397243984, 1397243981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.76074028015137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 18:02:22.485663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/26/image_01122025_15_26_55_9606.jpg', '/home/pi/Desktop/images/01122025/15/26/image_01122025_15_27_06_10667.jpg', '/home/pi/Desktop/images/01122025/15/27/image_01122025_15_27_16_9605.jpg', '/home/pi/Desktop/images/01122025/15/27/image_01122025_15_27_25_9676.jpg', '/home/pi/Desktop/images/01122025/15/27/image_01122025_15_27_35_9966.jpg', '/home/pi/Desktop/images/01122025/15/27/image_01122025_15_27_46_10594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/26/image_01122025_15_26_55_9606.jpg
/home/pi/Desktop/images/01122025/15/26/image_01122025_15_27_06_10667.jpg
/home/pi/Desktop/images/01122025/15/27/image_01122025_15_27_16_9605.jpg
/home/pi/Desktop/images/01122025/15/27/image_01122025_15_27_25_9676.jpg
/home/pi/Desktop/images/01122025/15/27/image_01122025_15_27_35_9966.jpg
/home/pi/Desktop/images/01122025/15/27/image_01122025_15_27_46_10594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397244009","1397243996","1397243999","1397244002","1397244011","1397244005"],"photo_ids_order":["1397243996","1397243999","1397244002","1397244005","1397244009","1397244011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5f3e7836a8e93c4517d39bceb438a651.jpg","text":"TemporaryFile(/tmp/multipartBody9209499668743983691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608603176,"filename":"image_01122025_15_27_35_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/1/e7e1ddcac732afdf658f11eeba8daaa7.jpg","text":"TemporaryFile(/tmp/multipartBody7900784297009928090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608603176,"filename":"image_01122025_15_26_55_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a3f4b5c766f3e37ba9789b1fbd547cae.jpg","text":"TemporaryFile(/tmp/multipartBody6043696746544782146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608603176,"filename":"image_01122025_15_27_06_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/1/deff25d9b496e92d7f0ce9f1eda5e2a4.jpg","text":"TemporaryFile(/tmp/multipartBody1517752025201075073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608603176,"filename":"image_01122025_15_27_16_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/1/f9271feed4bfa3719fcd91ebcaee9e12.jpg","text":"TemporaryFile(/tmp/multipartBody7391121786404636796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608603176,"filename":"image_01122025_15_27_46_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/1/ac30e521b606ca5668fa78ab56a05722.jpg","text":"TemporaryFile(/tmp/multipartBody4342249626086508790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608603176,"filename":"image_01122025_15_27_25_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397244002","file1":"1397243999","file0":"1397243996","file4":"1397244009","file5":"1397244011","file3":"1397244005"},"map_files_photo_id_array":[{"photo_id":"1397244011","filename":"file5"},{"photo_id":"1397244002","filename":"file2"},{"photo_id":"1397244009","filename":"file4"},{"photo_id":"1397243999","filename":"file1"},{"photo_id":"1397243996","filename":"file0"},{"photo_id":"1397244005","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397244009":["hashtag1","hashtag2"]},{"1397243996":["hashtag1","hashtag2"]},{"1397243999":["hashtag1","hashtag2"]},{"1397244002":["hashtag1","hashtag2"]},{"1397244011":["hashtag1","hashtag2"]},{"1397244005":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397244009, 1397243996, 1397243999, 1397244002, 1397244011, 1397244005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32110595703125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 18:03:03.458582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/27/image_01122025_15_27_56_9544.jpg', '/home/pi/Desktop/images/01122025/15/27/image_01122025_15_28_05_9749.jpg', '/home/pi/Desktop/images/01122025/15/28/image_01122025_15_28_16_10667.jpg', '/home/pi/Desktop/images/01122025/15/28/image_01122025_15_28_26_9691.jpg', '/home/pi/Desktop/images/01122025/15/28/image_01122025_15_28_35_9801.jpg', '/home/pi/Desktop/images/01122025/15/28/image_01122025_15_28_46_10744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/27/image_01122025_15_27_56_9544.jpg
/home/pi/Desktop/images/01122025/15/27/image_01122025_15_28_05_9749.jpg
/home/pi/Desktop/images/01122025/15/28/image_01122025_15_28_16_10667.jpg
/home/pi/Desktop/images/01122025/15/28/image_01122025_15_28_26_9691.jpg
/home/pi/Desktop/images/01122025/15/28/image_01122025_15_28_35_9801.jpg
/home/pi/Desktop/images/01122025/15/28/image_01122025_15_28_46_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":["1397244025","1397244028","1397244016","1397244018","1397244021","1397244014"],"photo_ids_order":["1397244014","1397244016","1397244018","1397244021","1397244025","1397244028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ff67f1a68d7d260bdc07b09463a282a0.jpg","text":"TemporaryFile(/tmp/multipartBody6063750315100813935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608644322,"filename":"image_01122025_15_28_35_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/1/9dc3082c052f13bc2a82678ebf7d7b74.jpg","text":"TemporaryFile(/tmp/multipartBody6547081500447072521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608644322,"filename":"image_01122025_15_28_46_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6f80ea4105f4b655a154f77352ddf3fd.jpg","text":"TemporaryFile(/tmp/multipartBody3882741197497751424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608644322,"filename":"image_01122025_15_28_05_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/81363cbb1264b39086e3cab0d835caa6.jpg","text":"TemporaryFile(/tmp/multipartBody7251789966392837158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608644322,"filename":"image_01122025_15_28_16_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/1/37ea7c6166978d60d2bee341b0f37cec.jpg","text":"TemporaryFile(/tmp/multipartBody4465420687940595937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608644322,"filename":"image_01122025_15_28_26_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/1/7c0399d47ad176bb2ee481c88e2e8ce5.jpg","text":"TemporaryFile(/tmp/multipartBody2470262861922471005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608644322,"filename":"image_01122025_15_27_56_9544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397244018","file1":"1397244016","file0":"1397244014","file4":"1397244025","file5":"1397244028","file3":"1397244021"},"map_files_photo_id_array":[{"photo_id":"1397244028","filename":"file5"},{"photo_id":"1397244018","filename":"file2"},{"photo_id":"1397244025","filename":"file4"},{"photo_id":"1397244016","filename":"file1"},{"photo_id":"1397244014","filename":"file0"},{"photo_id":"1397244021","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397244025":["hashtag1","hashtag2"]},{"1397244028":["hashtag1","hashtag2"]},{"1397244016":["hashtag1","hashtag2"]},{"1397244018":["hashtag1","hashtag2"]},{"1397244021":["hashtag1","hashtag2"]},{"1397244014":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397244025, 1397244028, 1397244016, 1397244018, 1397244021, 1397244014)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.789794921875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 18:04:02.787284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/28/image_01122025_15_28_56_9716.jpg', '/home/pi/Desktop/images/01122025/15/28/image_01122025_15_29_05_9551.jpg', '/home/pi/Desktop/images/01122025/15/29/image_01122025_15_29_16_10684.jpg', '/home/pi/Desktop/images/01122025/15/29/image_01122025_15_29_26_9568.jpg', '/home/pi/Desktop/images/01122025/15/29/image_01122025_15_29_35_9618.jpg', '/home/pi/Desktop/images/01122025/15/29/image_01122025_15_29_46_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/28/image_01122025_15_28_56_9716.jpg
/home/pi/Desktop/images/01122025/15/28/image_01122025_15_29_05_9551.jpg
/home/pi/Desktop/images/01122025/15/29/image_01122025_15_29_16_10684.jpg
/home/pi/Desktop/images/01122025/15/29/image_01122025_15_29_26_9568.jpg
/home/pi/Desktop/images/01122025/15/29/image_01122025_15_29_35_9618.jpg
/home/pi/Desktop/images/01122025/15/29/image_01122025_15_29_46_10599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397244157","1397244145","1397244124","1397244127","1397244037","1397244118"],"photo_ids_order":["1397244037","1397244118","1397244124","1397244127","1397244145","1397244157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/954b97e4c46ec43f69dc12ff059a4f66.jpg","text":"TemporaryFile(/tmp/multipartBody3382706318825251654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608703597,"filename":"image_01122025_15_29_46_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9fe88c945578894712415dc6c21a8152.jpg","text":"TemporaryFile(/tmp/multipartBody6038616271002671427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608703597,"filename":"image_01122025_15_29_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/1/41fc20a7fd501ce5bfaf2c15151a61a4.jpg","text":"TemporaryFile(/tmp/multipartBody8369482326594414738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608703597,"filename":"image_01122025_15_29_16_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/1/8a6322500f5fb34781d8d2d004b62ecd.jpg","text":"TemporaryFile(/tmp/multipartBody2012888513750160672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608703597,"filename":"image_01122025_15_29_26_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/1/2fc9cb54cfdb704e6ae74c70bdbe663e.jpg","text":"TemporaryFile(/tmp/multipartBody5805190643498362238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608703597,"filename":"image_01122025_15_28_56_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/1/314896d31c6cdc3fe3bd7c4b18b49449.jpg","text":"TemporaryFile(/tmp/multipartBody9168212517623672811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608703597,"filename":"image_01122025_15_29_05_9551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397244124","file1":"1397244118","file0":"1397244037","file4":"1397244145","file5":"1397244157","file3":"1397244127"},"map_files_photo_id_array":[{"photo_id":"1397244157","filename":"file5"},{"photo_id":"1397244124","filename":"file2"},{"photo_id":"1397244145","filename":"file4"},{"photo_id":"1397244118","filename":"file1"},{"photo_id":"1397244037","filename":"file0"},{"photo_id":"1397244127","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397244157":["hashtag1","hashtag2"]},{"1397244145":["hashtag1","hashtag2"]},{"1397244124":["hashtag1","hashtag2"]},{"1397244127":["hashtag1","hashtag2"]},{"1397244037":["hashtag1","hashtag2"]},{"1397244118":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397244157, 1397244145, 1397244124, 1397244127, 1397244037, 1397244118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01012849807739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 18:04:42.065401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_21_2625.jpg', '/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_24_3041.jpg', '/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_27_3009.jpg', '/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_31_3702.jpg', '/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_34_2720.jpg', '/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_36_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_21_2625.jpg
/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_24_3041.jpg
/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_27_3009.jpg
/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_31_3702.jpg
/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_34_2720.jpg
/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_36_2580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397244234","1397244222","1397244204","1397244230","1397244218","1397244203"],"photo_ids_order":["1397244203","1397244204","1397244218","1397244222","1397244230","1397244234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1af7ccc8e61733ea15c05b2b5c3ebdc5.jpg","text":"TemporaryFile(/tmp/multipartBody7279458575500071149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608744588,"filename":"image_31102025_14_47_36_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/1/cc981098859f99f896b088ef4f19ae06.jpg","text":"TemporaryFile(/tmp/multipartBody5093730082572470430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608744588,"filename":"image_31102025_14_47_31_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/1/7e5e9f691cc86495147e821096e613a7.jpg","text":"TemporaryFile(/tmp/multipartBody4776453657134563498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608744588,"filename":"image_31102025_14_47_24_3041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e6ed97bc51907bcd22d39381b116cc14.jpg","text":"TemporaryFile(/tmp/multipartBody5494982863169904601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608744588,"filename":"image_31102025_14_47_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/1/e21800975319a28d8d275753d6e2c5a4.jpg","text":"TemporaryFile(/tmp/multipartBody5128874968843920706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608744588,"filename":"image_31102025_14_47_27_3009.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e323ef3248ea7671e98d144cbd77737e.jpg","text":"TemporaryFile(/tmp/multipartBody2859912723666103957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608744588,"filename":"image_31102025_14_47_21_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397244218","file1":"1397244204","file0":"1397244203","file4":"1397244230","file5":"1397244234","file3":"1397244222"},"map_files_photo_id_array":[{"photo_id":"1397244234","filename":"file5"},{"photo_id":"1397244218","filename":"file2"},{"photo_id":"1397244230","filename":"file4"},{"photo_id":"1397244204","filename":"file1"},{"photo_id":"1397244203","filename":"file0"},{"photo_id":"1397244222","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397244234":["hashtag1","hashtag2"]},{"1397244222":["hashtag1","hashtag2"]},{"1397244204":["hashtag1","hashtag2"]},{"1397244230":["hashtag1","hashtag2"]},{"1397244218":["hashtag1","hashtag2"]},{"1397244203":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397244234, 1397244222, 1397244204, 1397244230, 1397244218, 1397244203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.98673439025879 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 18:05:32.258900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_29_2754.jpg', '/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_33_3650.jpg', '/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_35_2596.jpg', '/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_38_2594.jpg', '/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_42_3607.jpg', '/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_44_2574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_29_2754.jpg
/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_33_3650.jpg
/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_35_2596.jpg
/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_38_2594.jpg
/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_42_3607.jpg
/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_44_2574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397244274","1397244277","1397244285","1397244357","1397244281","1397244284"],"photo_ids_order":["1397244274","1397244277","1397244281","1397244284","1397244285","1397244357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6ac18d4421975f100c5eee2613083244.jpg","text":"TemporaryFile(/tmp/multipartBody3000877854985934129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608795378,"filename":"image_25112025_23_10_29_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7d856603e78dbc7c4862bc4cf4fbb565.jpg","text":"TemporaryFile(/tmp/multipartBody174419681465928646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608795378,"filename":"image_25112025_23_10_33_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/1/387ee38cdd587049bdeb197396316b3a.jpg","text":"TemporaryFile(/tmp/multipartBody6242382928414382155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608795378,"filename":"image_25112025_23_10_42_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b4031111db12535d2dc6f9696329a7b9.jpg","text":"TemporaryFile(/tmp/multipartBody448791670480264436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608795378,"filename":"image_25112025_23_10_44_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/1/4d97c19e065e2575fc7aff2ee80596c0.jpg","text":"TemporaryFile(/tmp/multipartBody594817943461212896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608795378,"filename":"image_25112025_23_10_35_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/1/3a691549d40eceacc701653eaca6c417.jpg","text":"TemporaryFile(/tmp/multipartBody3607414563226142714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608795378,"filename":"image_25112025_23_10_38_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397244281","file1":"1397244277","file0":"1397244274","file4":"1397244285","file5":"1397244357","file3":"1397244284"},"map_files_photo_id_array":[{"photo_id":"1397244357","filename":"file5"},{"photo_id":"1397244281","filename":"file2"},{"photo_id":"1397244285","filename":"file4"},{"photo_id":"1397244277","filename":"file1"},{"photo_id":"1397244274","filename":"file0"},{"photo_id":"1397244284","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397244274":["hashtag1","hashtag2"]},{"1397244277":["hashtag1","hashtag2"]},{"1397244285":["hashtag1","hashtag2"]},{"1397244357":["hashtag1","hashtag2"]},{"1397244281":["hashtag1","hashtag2"]},{"1397244284":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397244274, 1397244277, 1397244285, 1397244357, 1397244281, 1397244284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.98877000808716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 18:06:22.589728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/29/image_01122025_15_29_56_9617.jpg', '/home/pi/Desktop/images/01122025/15/30/image_01122025_15_30_15_10054.jpg', '/home/pi/Desktop/images/01122025/15/30/image_01122025_15_30_25_10627.jpg', '/home/pi/Desktop/images/01122025/15/30/image_01122025_15_30_35_9671.jpg', '/home/pi/Desktop/images/01122025/15/30/image_01122025_15_30_45_9771.jpg', '/home/pi/Desktop/images/01122025/15/31/image_01122025_15_31_19_33838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/29/image_01122025_15_29_56_9617.jpg
/home/pi/Desktop/images/01122025/15/30/image_01122025_15_30_15_10054.jpg
/home/pi/Desktop/images/01122025/15/30/image_01122025_15_30_25_10627.jpg
/home/pi/Desktop/images/01122025/15/30/image_01122025_15_30_35_9671.jpg
/home/pi/Desktop/images/01122025/15/30/image_01122025_15_30_45_9771.jpg
/home/pi/Desktop/images/01122025/15/31/image_01122025_15_31_19_33838.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397244373","1397244381","1397244366","1397244375","1397244379","1397244370"],"photo_ids_order":["1397244366","1397244370","1397244373","1397244375","1397244379","1397244381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f940fa3316ea8be1b77cd83a860b3115.jpg","text":"TemporaryFile(/tmp/multipartBody8773937192517082051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608843380,"filename":"image_01122025_15_30_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/1/c21d003c1e8ef7351cc04549afa2a5a7.jpg","text":"TemporaryFile(/tmp/multipartBody6722435010286254455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608843380,"filename":"image_01122025_15_31_19_33838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d0e5717836267f3959a82118a3280ad9.jpg","text":"TemporaryFile(/tmp/multipartBody8886770968473481557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608843380,"filename":"image_01122025_15_29_56_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/1/abd8168259d672ced55be342a5ad7f10.jpg","text":"TemporaryFile(/tmp/multipartBody4799815821648108334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608843380,"filename":"image_01122025_15_30_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/1/b822a3115412ddfce469f799a8e1651c.jpg","text":"TemporaryFile(/tmp/multipartBody8608201783118700191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608843380,"filename":"image_01122025_15_30_45_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3345775a4434628b569c7f60cfc1b061.jpg","text":"TemporaryFile(/tmp/multipartBody5613922170235126162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608843380,"filename":"image_01122025_15_30_15_10054.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397244373","file1":"1397244370","file0":"1397244366","file4":"1397244379","file5":"1397244381","file3":"1397244375"},"map_files_photo_id_array":[{"photo_id":"1397244381","filename":"file5"},{"photo_id":"1397244373","filename":"file2"},{"photo_id":"1397244379","filename":"file4"},{"photo_id":"1397244370","filename":"file1"},{"photo_id":"1397244366","filename":"file0"},{"photo_id":"1397244375","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397244373":["hashtag1","hashtag2"]},{"1397244381":["hashtag1","hashtag2"]},{"1397244366":["hashtag1","hashtag2"]},{"1397244375":["hashtag1","hashtag2"]},{"1397244379":["hashtag1","hashtag2"]},{"1397244370":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397244373, 1397244381, 1397244366, 1397244375, 1397244379, 1397244370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.00042152404785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 18:07:12.555706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_48_3502.jpg', '/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_50_2689.jpg', '/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_53_2792.jpg', '/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_57_3584.jpg', '/home/pi/Desktop/images/25112025/23/10/image_25112025_23_11_00_2773.jpg', '/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_02_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_48_3502.jpg
/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_50_2689.jpg
/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_53_2792.jpg
/home/pi/Desktop/images/25112025/23/10/image_25112025_23_10_57_3584.jpg
/home/pi/Desktop/images/25112025/23/10/image_25112025_23_11_00_2773.jpg
/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_02_2699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397244394","1397244388","1397244400","1397244397","1397244391","1397244385"],"photo_ids_order":["1397244385","1397244388","1397244391","1397244394","1397244397","1397244400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6e50d31384a5b2409bd3d196a9fb7d87.jpg","text":"TemporaryFile(/tmp/multipartBody7113229865576030677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608894186,"filename":"image_25112025_23_10_57_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/1/ecc8426b3527203087b8212ef4b14fe0.jpg","text":"TemporaryFile(/tmp/multipartBody7976846160777312205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608894186,"filename":"image_25112025_23_10_50_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/1/6fd0b42661dbbf50492bac7263bb30e6.jpg","text":"TemporaryFile(/tmp/multipartBody4052503836978341070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608894186,"filename":"image_25112025_23_11_02_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/1/bedaef5e78f3d7439297d808b82b1c4b.jpg","text":"TemporaryFile(/tmp/multipartBody4519570524086044783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608894186,"filename":"image_25112025_23_11_00_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/1/2d7751870115d0a51c041a688449f39b.jpg","text":"TemporaryFile(/tmp/multipartBody5000904597318035107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608894186,"filename":"image_25112025_23_10_53_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/1/faca784f32595138ca4a28538e83e202.jpg","text":"TemporaryFile(/tmp/multipartBody8367447995972011381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608894186,"filename":"image_25112025_23_10_48_3502.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397244391","file1":"1397244388","file0":"1397244385","file4":"1397244397","file5":"1397244400","file3":"1397244394"},"map_files_photo_id_array":[{"photo_id":"1397244400","filename":"file5"},{"photo_id":"1397244391","filename":"file2"},{"photo_id":"1397244397","filename":"file4"},{"photo_id":"1397244388","filename":"file1"},{"photo_id":"1397244385","filename":"file0"},{"photo_id":"1397244394","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397244394":["hashtag1","hashtag2"]},{"1397244388":["hashtag1","hashtag2"]},{"1397244400":["hashtag1","hashtag2"]},{"1397244397":["hashtag1","hashtag2"]},{"1397244391":["hashtag1","hashtag2"]},{"1397244385":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397244394, 1397244388, 1397244400, 1397244397, 1397244391, 1397244385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29033374786377 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 18:08:03.219248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/31/image_01122025_15_31_20_1589.jpg', '/home/pi/Desktop/images/01122025/15/31/image_01122025_15_31_22_1673.jpg', '/home/pi/Desktop/images/01122025/15/31/image_01122025_15_31_26_3665.jpg', '/home/pi/Desktop/images/01122025/15/31/image_01122025_15_31_35_9569.jpg', '/home/pi/Desktop/images/01122025/15/31/image_01122025_15_31_45_9876.jpg', '/home/pi/Desktop/images/01122025/15/31/image_01122025_15_31_55_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/31/image_01122025_15_31_20_1589.jpg
/home/pi/Desktop/images/01122025/15/31/image_01122025_15_31_22_1673.jpg
/home/pi/Desktop/images/01122025/15/31/image_01122025_15_31_26_3665.jpg
/home/pi/Desktop/images/01122025/15/31/image_01122025_15_31_35_9569.jpg
/home/pi/Desktop/images/01122025/15/31/image_01122025_15_31_45_9876.jpg
/home/pi/Desktop/images/01122025/15/31/image_01122025_15_31_55_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":["1397244415","1397244424","1397244420","1397244417","1397244411","1397244413"],"photo_ids_order":["1397244411","1397244413","1397244415","1397244417","1397244420","1397244424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a1951cb1e9abf6f86932c67e60e46ec6.jpg","text":"TemporaryFile(/tmp/multipartBody4872126747260968236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608943908,"filename":"image_01122025_15_31_26_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/1/dbe6212ddb3453cc3f47907d67c53678.jpg","text":"TemporaryFile(/tmp/multipartBody6688685027040416432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608943908,"filename":"image_01122025_15_31_55_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0ee688ae620d7418831021c788f0396c.jpg","text":"TemporaryFile(/tmp/multipartBody2679598493414124951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608943908,"filename":"image_01122025_15_31_45_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/1/a4cb4229136bfa62dc314384b70d8b3c.jpg","text":"TemporaryFile(/tmp/multipartBody3504374352517377951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608943908,"filename":"image_01122025_15_31_35_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5374d9d373623cb17831adc4656b65b0.jpg","text":"TemporaryFile(/tmp/multipartBody2401457221492032843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608943908,"filename":"image_01122025_15_31_20_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/1/afdb94ec1366267cb7fac325729edfb0.jpg","text":"TemporaryFile(/tmp/multipartBody1809747360986932904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608943908,"filename":"image_01122025_15_31_22_1673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397244415","file1":"1397244413","file0":"1397244411","file4":"1397244420","file5":"1397244424","file3":"1397244417"},"map_files_photo_id_array":[{"photo_id":"1397244424","filename":"file5"},{"photo_id":"1397244415","filename":"file2"},{"photo_id":"1397244420","filename":"file4"},{"photo_id":"1397244413","filename":"file1"},{"photo_id":"1397244411","filename":"file0"},{"photo_id":"1397244417","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397244415":["hashtag1","hashtag2"]},{"1397244424":["hashtag1","hashtag2"]},{"1397244420":["hashtag1","hashtag2"]},{"1397244417":["hashtag1","hashtag2"]},{"1397244411":["hashtag1","hashtag2"]},{"1397244413":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397244415, 1397244424, 1397244420, 1397244417, 1397244411, 1397244413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47434973716736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 18:08:42.852316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_39_3178.jpg', '/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_52_3832.jpg', '/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_56_3955.jpg', '/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_57_1690.jpg', '/home/pi/Desktop/images/31102025/14/47/image_31102025_14_48_00_2764.jpg', '/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_03_2763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_39_3178.jpg
/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_52_3832.jpg
/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_56_3955.jpg
/home/pi/Desktop/images/31102025/14/47/image_31102025_14_47_57_1690.jpg
/home/pi/Desktop/images/31102025/14/47/image_31102025_14_48_00_2764.jpg
/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_03_2763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397244433","1397244436","1397244435","1397244438","1397244437","1397244440"],"photo_ids_order":["1397244433","1397244435","1397244436","1397244437","1397244438","1397244440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6d64c7c18236c4ec6835be1c1714a552.jpg","text":"TemporaryFile(/tmp/multipartBody2719333504758593971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608986248,"filename":"image_31102025_14_47_39_3178.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/88104fda297b2553997f1c4a9718761b.jpg","text":"TemporaryFile(/tmp/multipartBody4314292241671450674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608986248,"filename":"image_31102025_14_47_56_3955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4f8639a221f1e9bf3ee2132abe70f5dc.jpg","text":"TemporaryFile(/tmp/multipartBody6383489595388950629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608986248,"filename":"image_31102025_14_47_52_3832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/529383967640833ff6ae9d6742ccbecb.jpg","text":"TemporaryFile(/tmp/multipartBody6308149185004934412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608986248,"filename":"image_31102025_14_48_00_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/1/b681583ef3d95a26a69596617bebd4d3.jpg","text":"TemporaryFile(/tmp/multipartBody6352889895590961007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608986248,"filename":"image_31102025_14_47_57_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/1/67d9b8b5404b453b4388afbf27a1dcf5.jpg","text":"TemporaryFile(/tmp/multipartBody8809042704776097011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764608986248,"filename":"image_31102025_14_48_03_2763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397244436","file1":"1397244435","file0":"1397244433","file4":"1397244438","file5":"1397244440","file3":"1397244437"},"map_files_photo_id_array":[{"photo_id":"1397244440","filename":"file5"},{"photo_id":"1397244436","filename":"file2"},{"photo_id":"1397244438","filename":"file4"},{"photo_id":"1397244435","filename":"file1"},{"photo_id":"1397244433","filename":"file0"},{"photo_id":"1397244437","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397244433":["hashtag1","hashtag2"]},{"1397244436":["hashtag1","hashtag2"]},{"1397244435":["hashtag1","hashtag2"]},{"1397244438":["hashtag1","hashtag2"]},{"1397244437":["hashtag1","hashtag2"]},{"1397244440":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397244433, 1397244436, 1397244435, 1397244438, 1397244437, 1397244440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.55738949775696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 18:09:32.176456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_05_2752.jpg', '/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_09_3653.jpg', '/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_11_2725.jpg', '/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_14_2646.jpg', '/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_18_3697.jpg', '/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_20_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_05_2752.jpg
/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_09_3653.jpg
/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_11_2725.jpg
/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_14_2646.jpg
/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_18_3697.jpg
/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_20_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":["1397244460","1397244463","1397244462","1397244455","1397244458","1397244452"],"photo_ids_order":["1397244452","1397244455","1397244458","1397244460","1397244462","1397244463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ecb98408b92c4d50368dc8d8e8f622f5.jpg","text":"TemporaryFile(/tmp/multipartBody1385095915823700293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609033858,"filename":"image_25112025_23_11_14_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/1/3c8348e50a05fc7e41d8e5a337bd0f71.jpg","text":"TemporaryFile(/tmp/multipartBody4624104616547176656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609033858,"filename":"image_25112025_23_11_20_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f12a7e40b8257498146b4aa861b96d2e.jpg","text":"TemporaryFile(/tmp/multipartBody857001137763132419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609033858,"filename":"image_25112025_23_11_18_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/1/90a69015db88cf2da0809e31516d76bf.jpg","text":"TemporaryFile(/tmp/multipartBody7220213686215929272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609033858,"filename":"image_25112025_23_11_09_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/1/b40ae728c3e7bffcf8840414867c442b.jpg","text":"TemporaryFile(/tmp/multipartBody5207700003830150025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609033858,"filename":"image_25112025_23_11_11_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/1/1000e504bad9894f3754d2325bfc2174.jpg","text":"TemporaryFile(/tmp/multipartBody7100833947201118528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609033858,"filename":"image_25112025_23_11_05_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397244458","file1":"1397244455","file0":"1397244452","file4":"1397244462","file5":"1397244463","file3":"1397244460"},"map_files_photo_id_array":[{"photo_id":"1397244463","filename":"file5"},{"photo_id":"1397244458","filename":"file2"},{"photo_id":"1397244462","filename":"file4"},{"photo_id":"1397244455","filename":"file1"},{"photo_id":"1397244452","filename":"file0"},{"photo_id":"1397244460","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397244460":["hashtag1","hashtag2"]},{"1397244463":["hashtag1","hashtag2"]},{"1397244462":["hashtag1","hashtag2"]},{"1397244455":["hashtag1","hashtag2"]},{"1397244458":["hashtag1","hashtag2"]},{"1397244452":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397244460, 1397244463, 1397244462, 1397244455, 1397244458, 1397244452)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.207042932510376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 18:10:22.299016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/31/image_01122025_15_32_06_10766.jpg', '/home/pi/Desktop/images/01122025/15/32/image_01122025_15_32_15_9574.jpg', '/home/pi/Desktop/images/01122025/15/32/image_01122025_15_32_25_9642.jpg', '/home/pi/Desktop/images/01122025/15/32/image_01122025_15_32_35_10618.jpg', '/home/pi/Desktop/images/01122025/15/32/image_01122025_15_32_45_9661.jpg', '/home/pi/Desktop/images/01122025/15/32/image_01122025_15_32_55_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/31/image_01122025_15_32_06_10766.jpg
/home/pi/Desktop/images/01122025/15/32/image_01122025_15_32_15_9574.jpg
/home/pi/Desktop/images/01122025/15/32/image_01122025_15_32_25_9642.jpg
/home/pi/Desktop/images/01122025/15/32/image_01122025_15_32_35_10618.jpg
/home/pi/Desktop/images/01122025/15/32/image_01122025_15_32_45_9661.jpg
/home/pi/Desktop/images/01122025/15/32/image_01122025_15_32_55_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":["1397244480","1397244477","1397244471","1397244474","1397244513","1397244516"],"photo_ids_order":["1397244471","1397244474","1397244477","1397244480","1397244513","1397244516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3902ad416e5b8fb30ed768f71c53cb98.jpg","text":"TemporaryFile(/tmp/multipartBody586306841404225886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609083191,"filename":"image_01122025_15_32_35_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fafd9b4d69c503f07ac6379ccc5ef60f.jpg","text":"TemporaryFile(/tmp/multipartBody1693864427537052781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609083191,"filename":"image_01122025_15_32_25_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d462600ef0f1e762e4a9918d193529a4.jpg","text":"TemporaryFile(/tmp/multipartBody6547517291012904993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609083191,"filename":"image_01122025_15_32_06_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/1/29755cb9014611beb4a0d7d60f8d78f8.jpg","text":"TemporaryFile(/tmp/multipartBody5617841570852150858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609083191,"filename":"image_01122025_15_32_15_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/94c417692e5630e0cac963bf9db5ca4d.jpg","text":"TemporaryFile(/tmp/multipartBody5399580175085812894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609083191,"filename":"image_01122025_15_32_45_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/959617fa0012db9428f6fcbb0a57d3a7.jpg","text":"TemporaryFile(/tmp/multipartBody645120489097704786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609083191,"filename":"image_01122025_15_32_55_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397244477","file1":"1397244474","file0":"1397244471","file4":"1397244513","file5":"1397244516","file3":"1397244480"},"map_files_photo_id_array":[{"photo_id":"1397244516","filename":"file5"},{"photo_id":"1397244477","filename":"file2"},{"photo_id":"1397244513","filename":"file4"},{"photo_id":"1397244474","filename":"file1"},{"photo_id":"1397244471","filename":"file0"},{"photo_id":"1397244480","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397244480":["hashtag1","hashtag2"]},{"1397244477":["hashtag1","hashtag2"]},{"1397244471":["hashtag1","hashtag2"]},{"1397244474":["hashtag1","hashtag2"]},{"1397244513":["hashtag1","hashtag2"]},{"1397244516":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397244480, 1397244477, 1397244471, 1397244474, 1397244513, 1397244516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26738095283508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 18:11:03.170234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/32/image_01122025_15_33_06_10671.jpg', '/home/pi/Desktop/images/01122025/15/33/image_01122025_15_33_15_9723.jpg', '/home/pi/Desktop/images/01122025/15/33/image_01122025_15_33_25_9742.jpg', '/home/pi/Desktop/images/01122025/15/33/image_01122025_15_33_36_10713.jpg', '/home/pi/Desktop/images/01122025/15/33/image_01122025_15_33_45_9554.jpg', '/home/pi/Desktop/images/01122025/15/33/image_01122025_15_33_55_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/32/image_01122025_15_33_06_10671.jpg
/home/pi/Desktop/images/01122025/15/33/image_01122025_15_33_15_9723.jpg
/home/pi/Desktop/images/01122025/15/33/image_01122025_15_33_25_9742.jpg
/home/pi/Desktop/images/01122025/15/33/image_01122025_15_33_36_10713.jpg
/home/pi/Desktop/images/01122025/15/33/image_01122025_15_33_45_9554.jpg
/home/pi/Desktop/images/01122025/15/33/image_01122025_15_33_55_9577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397244520","1397244531","1397244522","1397244524","1397244518","1397244527"],"photo_ids_order":["1397244518","1397244520","1397244522","1397244524","1397244527","1397244531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2304bb85af2ae92a2b57b2ba3509d42f.jpg","text":"TemporaryFile(/tmp/multipartBody838958991866092502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609123939,"filename":"image_01122025_15_33_15_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/1/d6822aea87aaeb9a9ee801af09bba7b7.jpg","text":"TemporaryFile(/tmp/multipartBody801358281177660261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609123939,"filename":"image_01122025_15_33_55_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/1/2b469290969a7d15811e3380d4384712.jpg","text":"TemporaryFile(/tmp/multipartBody9041165722794354222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609123939,"filename":"image_01122025_15_33_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/1/12d7f987f2408e45db9aa45fc352173f.jpg","text":"TemporaryFile(/tmp/multipartBody1659465524825308135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609123939,"filename":"image_01122025_15_33_36_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/1/badc39e376d16bc734390df5fe398888.jpg","text":"TemporaryFile(/tmp/multipartBody8708231577608672507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609123939,"filename":"image_01122025_15_33_06_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6f38f6051f2766cc6a26d1cae7e007d7.jpg","text":"TemporaryFile(/tmp/multipartBody518522168826574697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609123939,"filename":"image_01122025_15_33_45_9554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397244522","file1":"1397244520","file0":"1397244518","file4":"1397244527","file5":"1397244531","file3":"1397244524"},"map_files_photo_id_array":[{"photo_id":"1397244531","filename":"file5"},{"photo_id":"1397244522","filename":"file2"},{"photo_id":"1397244527","filename":"file4"},{"photo_id":"1397244520","filename":"file1"},{"photo_id":"1397244518","filename":"file0"},{"photo_id":"1397244524","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397244520":["hashtag1","hashtag2"]},{"1397244531":["hashtag1","hashtag2"]},{"1397244522":["hashtag1","hashtag2"]},{"1397244524":["hashtag1","hashtag2"]},{"1397244518":["hashtag1","hashtag2"]},{"1397244527":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397244520, 1397244531, 1397244522, 1397244524, 1397244518, 1397244527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.055561780929565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 18:11:42.541844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_09_6162.jpg', '/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_11_1770.jpg', '/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_13_1767.jpg', '/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_15_2523.jpg', '/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_19_3512.jpg', '/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_23_4224.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_09_6162.jpg
/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_11_1770.jpg
/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_13_1767.jpg
/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_15_2523.jpg
/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_19_3512.jpg
/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_23_4224.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397244658","1397244586","1397244622","1397244618","1397244621","1397244623"],"photo_ids_order":["1397244586","1397244618","1397244621","1397244622","1397244623","1397244658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/23d318f5eb1e11a99f08c1d73e3e9ea2.jpg","text":"TemporaryFile(/tmp/multipartBody2974623344669319388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609165061,"filename":"image_31102025_14_48_23_4224.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2954b4f7bfbf5ced10a83aab6bfa16f4.jpg","text":"TemporaryFile(/tmp/multipartBody4301861767051033342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609165061,"filename":"image_31102025_14_48_09_6162.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d31b4b8965952e0e83390dcbf49f6c26.jpg","text":"TemporaryFile(/tmp/multipartBody2097714234062953153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609165061,"filename":"image_31102025_14_48_15_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c725d33580896e29add949251424bdaa.jpg","text":"TemporaryFile(/tmp/multipartBody7023591904005795407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609165061,"filename":"image_31102025_14_48_11_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/1/b5a49565791b283eccf94b3cb9dfc595.jpg","text":"TemporaryFile(/tmp/multipartBody1209338675496750834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609165061,"filename":"image_31102025_14_48_13_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/1/c22d1e017030180dbe7e0f9082777a0a.jpg","text":"TemporaryFile(/tmp/multipartBody3385253138904718375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609165061,"filename":"image_31102025_14_48_19_3512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397244621","file1":"1397244618","file0":"1397244586","file4":"1397244623","file5":"1397244658","file3":"1397244622"},"map_files_photo_id_array":[{"photo_id":"1397244658","filename":"file5"},{"photo_id":"1397244621","filename":"file2"},{"photo_id":"1397244623","filename":"file4"},{"photo_id":"1397244618","filename":"file1"},{"photo_id":"1397244586","filename":"file0"},{"photo_id":"1397244622","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397244658":["hashtag1","hashtag2"]},{"1397244586":["hashtag1","hashtag2"]},{"1397244622":["hashtag1","hashtag2"]},{"1397244618":["hashtag1","hashtag2"]},{"1397244621":["hashtag1","hashtag2"]},{"1397244623":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397244658, 1397244586, 1397244622, 1397244618, 1397244621, 1397244623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.985841274261475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 18:12:32.746498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_23_2680.jpg', '/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_27_3691.jpg', '/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_30_2726.jpg', '/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_32_2753.jpg', '/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_35_2675.jpg', '/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_39_3657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_23_2680.jpg
/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_27_3691.jpg
/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_30_2726.jpg
/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_32_2753.jpg
/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_35_2675.jpg
/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_39_3657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397244712","1397244715","1397244714","1397244695","1397244716","1397244697"],"photo_ids_order":["1397244695","1397244697","1397244712","1397244714","1397244715","1397244716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e02e8c8f792dd040811c6302a72b7fba.jpg","text":"TemporaryFile(/tmp/multipartBody5540491078658512281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609214433,"filename":"image_25112025_23_11_30_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/1/ff6d67ceaf1a7b066cf4b1ea3a20ac68.jpg","text":"TemporaryFile(/tmp/multipartBody4238392734990239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609214433,"filename":"image_25112025_23_11_35_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/1/31c22891c56b40cdd8df663099122cab.jpg","text":"TemporaryFile(/tmp/multipartBody4273276621856836580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609214433,"filename":"image_25112025_23_11_32_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/1/b047adbafaaaf20408b7d1864d9a34da.jpg","text":"TemporaryFile(/tmp/multipartBody1427047464462023148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609214433,"filename":"image_25112025_23_11_23_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/1/6da4bae2345922e5640462e3d0f98bcc.jpg","text":"TemporaryFile(/tmp/multipartBody655450965777642887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609214433,"filename":"image_25112025_23_11_39_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a31a06c326446e4557cadb7ade2f1a5f.jpg","text":"TemporaryFile(/tmp/multipartBody2519767231333897319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609214433,"filename":"image_25112025_23_11_27_3691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397244712","file1":"1397244697","file0":"1397244695","file4":"1397244715","file5":"1397244716","file3":"1397244714"},"map_files_photo_id_array":[{"photo_id":"1397244716","filename":"file5"},{"photo_id":"1397244712","filename":"file2"},{"photo_id":"1397244715","filename":"file4"},{"photo_id":"1397244697","filename":"file1"},{"photo_id":"1397244695","filename":"file0"},{"photo_id":"1397244714","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397244712":["hashtag1","hashtag2"]},{"1397244715":["hashtag1","hashtag2"]},{"1397244714":["hashtag1","hashtag2"]},{"1397244695":["hashtag1","hashtag2"]},{"1397244716":["hashtag1","hashtag2"]},{"1397244697":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397244712, 1397244715, 1397244714, 1397244695, 1397244716, 1397244697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17412757873535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 18:13:12.602151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_42_2977.jpg', '/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_44_2640.jpg', '/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_51_3684.jpg', '/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_53_2666.jpg', '/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_01_7882.jpg', '/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_03_1591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_42_2977.jpg
/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_44_2640.jpg
/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_51_3684.jpg
/home/pi/Desktop/images/25112025/23/11/image_25112025_23_11_53_2666.jpg
/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_01_7882.jpg
/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_03_1591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397244733","1397244727","1397244736","1397244722","1397244731","1397244719"],"photo_ids_order":["1397244719","1397244722","1397244727","1397244731","1397244733","1397244736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e02b33866ecf7ac80e49f350a97cf0f0.jpg","text":"TemporaryFile(/tmp/multipartBody2156278434314913593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609254206,"filename":"image_25112025_23_12_01_7882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0e0cbd9fbc764627e404b4ffe86d7d5b.jpg","text":"TemporaryFile(/tmp/multipartBody4334469422235539438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609254206,"filename":"image_25112025_23_11_51_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/1/bcce095368e70a4dbc8fa0447a0e803d.jpg","text":"TemporaryFile(/tmp/multipartBody2484286493750288853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609254206,"filename":"image_25112025_23_12_03_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/1/f8c56efad3f01f10c0aea2b5bae8b3d4.jpg","text":"TemporaryFile(/tmp/multipartBody4676675088268100995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609254206,"filename":"image_25112025_23_11_44_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/1/33d2c4c3b1fead9f1bcbb01267d11329.jpg","text":"TemporaryFile(/tmp/multipartBody5624564750224517622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609254206,"filename":"image_25112025_23_11_53_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ca93d2ed4c04a503c6675b5463c7e5f5.jpg","text":"TemporaryFile(/tmp/multipartBody4263802558067276066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609254206,"filename":"image_25112025_23_11_42_2977.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397244727","file1":"1397244722","file0":"1397244719","file4":"1397244733","file5":"1397244736","file3":"1397244731"},"map_files_photo_id_array":[{"photo_id":"1397244736","filename":"file5"},{"photo_id":"1397244727","filename":"file2"},{"photo_id":"1397244733","filename":"file4"},{"photo_id":"1397244722","filename":"file1"},{"photo_id":"1397244719","filename":"file0"},{"photo_id":"1397244731","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397244733":["hashtag1","hashtag2"]},{"1397244727":["hashtag1","hashtag2"]},{"1397244736":["hashtag1","hashtag2"]},{"1397244722":["hashtag1","hashtag2"]},{"1397244731":["hashtag1","hashtag2"]},{"1397244719":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397244733, 1397244727, 1397244736, 1397244722, 1397244731, 1397244719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.06140971183777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 18:14:03.371086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/33/image_01122025_15_34_06_10760.jpg', '/home/pi/Desktop/images/01122025/15/34/image_01122025_15_34_15_9692.jpg', '/home/pi/Desktop/images/01122025/15/34/image_01122025_15_34_25_9692.jpg', '/home/pi/Desktop/images/01122025/15/34/image_01122025_15_34_36_10655.jpg', '/home/pi/Desktop/images/01122025/15/34/image_01122025_15_34_45_9646.jpg', '/home/pi/Desktop/images/01122025/15/34/image_01122025_15_34_55_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/33/image_01122025_15_34_06_10760.jpg
/home/pi/Desktop/images/01122025/15/34/image_01122025_15_34_15_9692.jpg
/home/pi/Desktop/images/01122025/15/34/image_01122025_15_34_25_9692.jpg
/home/pi/Desktop/images/01122025/15/34/image_01122025_15_34_36_10655.jpg
/home/pi/Desktop/images/01122025/15/34/image_01122025_15_34_45_9646.jpg
/home/pi/Desktop/images/01122025/15/34/image_01122025_15_34_55_9672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397244757","1397244751","1397244748","1397244744","1397244761","1397244743"],"photo_ids_order":["1397244743","1397244744","1397244748","1397244751","1397244757","1397244761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5db45962c2249b8e211b9db5534c170d.jpg","text":"TemporaryFile(/tmp/multipartBody7511415634661817302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609304137,"filename":"image_01122025_15_34_45_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/048ddf8190247fc9b0025f90497b0e36.jpg","text":"TemporaryFile(/tmp/multipartBody2996699136414167240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609304137,"filename":"image_01122025_15_34_36_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bbae839a4deaf4e5c020639efcae787e.jpg","text":"TemporaryFile(/tmp/multipartBody3084644831672125740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609304137,"filename":"image_01122025_15_34_25_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/1/4778018b68a719e1babeaeb13182b587.jpg","text":"TemporaryFile(/tmp/multipartBody6043198293696946440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609304137,"filename":"image_01122025_15_34_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/1/0dc526d6a4393d4fb922e3e00577a145.jpg","text":"TemporaryFile(/tmp/multipartBody1183283146574733478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609304137,"filename":"image_01122025_15_34_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/1/6e036dd5c6b76fdd85fff980be99c914.jpg","text":"TemporaryFile(/tmp/multipartBody599516885043308336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609304137,"filename":"image_01122025_15_34_06_10760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397244748","file1":"1397244744","file0":"1397244743","file4":"1397244757","file5":"1397244761","file3":"1397244751"},"map_files_photo_id_array":[{"photo_id":"1397244761","filename":"file5"},{"photo_id":"1397244748","filename":"file2"},{"photo_id":"1397244757","filename":"file4"},{"photo_id":"1397244744","filename":"file1"},{"photo_id":"1397244743","filename":"file0"},{"photo_id":"1397244751","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397244757":["hashtag1","hashtag2"]},{"1397244751":["hashtag1","hashtag2"]},{"1397244748":["hashtag1","hashtag2"]},{"1397244744":["hashtag1","hashtag2"]},{"1397244761":["hashtag1","hashtag2"]},{"1397244743":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397244757, 1397244751, 1397244748, 1397244744, 1397244761, 1397244743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.783973932266235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 18:14:42.700717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_25_1551.jpg', '/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_27_2445.jpg', '/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_31_3705.jpg', '/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_33_2669.jpg', '/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_36_2736.jpg', '/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_40_4321.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_25_1551.jpg
/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_27_2445.jpg
/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_31_3705.jpg
/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_33_2669.jpg
/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_36_2736.jpg
/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_40_4321.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397244778","1397244772","1397244774","1397244770","1397244773","1397244776"],"photo_ids_order":["1397244770","1397244772","1397244773","1397244774","1397244776","1397244778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9ebb856bffbc62116460dbab871b6c23.jpg","text":"TemporaryFile(/tmp/multipartBody679474419198207630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609345228,"filename":"image_31102025_14_48_40_4321.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/288936e1f64bd9cf40aec4bdac6ba334.jpg","text":"TemporaryFile(/tmp/multipartBody8951455674402835536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609345228,"filename":"image_31102025_14_48_27_2445.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7e1503181a907a60894da83a9fefb764.jpg","text":"TemporaryFile(/tmp/multipartBody4092628843927817228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609345228,"filename":"image_31102025_14_48_33_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/1/5394f5a9f25982f5fd8639d21f260e03.jpg","text":"TemporaryFile(/tmp/multipartBody4995592613662134788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609345228,"filename":"image_31102025_14_48_25_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/1/afa4778bb72f71d0fb8510c02af6e421.jpg","text":"TemporaryFile(/tmp/multipartBody5883230120741523595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609345228,"filename":"image_31102025_14_48_31_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9cb017613b8ee6ead9a1cc182c015eb9.jpg","text":"TemporaryFile(/tmp/multipartBody4971870637048492257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609345228,"filename":"image_31102025_14_48_36_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397244773","file1":"1397244772","file0":"1397244770","file4":"1397244776","file5":"1397244778","file3":"1397244774"},"map_files_photo_id_array":[{"photo_id":"1397244778","filename":"file5"},{"photo_id":"1397244773","filename":"file2"},{"photo_id":"1397244776","filename":"file4"},{"photo_id":"1397244772","filename":"file1"},{"photo_id":"1397244770","filename":"file0"},{"photo_id":"1397244774","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397244778":["hashtag1","hashtag2"]},{"1397244772":["hashtag1","hashtag2"]},{"1397244774":["hashtag1","hashtag2"]},{"1397244770":["hashtag1","hashtag2"]},{"1397244773":["hashtag1","hashtag2"]},{"1397244776":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397244778, 1397244772, 1397244774, 1397244770, 1397244773, 1397244776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.634385108947754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 18:15:31.849572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_04_1584.jpg', '/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_06_1546.jpg', '/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_09_2683.jpg', '/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_11_2642.jpg', '/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_15_3581.jpg', '/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_17_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_04_1584.jpg
/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_06_1546.jpg
/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_09_2683.jpg
/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_11_2642.jpg
/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_15_3581.jpg
/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_17_2673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397244799","1397244790","1397244801","1397244800","1397244793","1397244796"],"photo_ids_order":["1397244790","1397244793","1397244796","1397244799","1397244800","1397244801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ff08380a6d878fcaeb5e43b7ba11aea9.jpg","text":"TemporaryFile(/tmp/multipartBody7150934687650633377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609393512,"filename":"image_25112025_23_12_11_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/1/4388b899c17829a1645899c05a113294.jpg","text":"TemporaryFile(/tmp/multipartBody5997938173716802894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609393512,"filename":"image_25112025_23_12_04_1584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/72084059145154d47fe230adfaeccc15.jpg","text":"TemporaryFile(/tmp/multipartBody581710982707998029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609393512,"filename":"image_25112025_23_12_17_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0ba570ce6fddd9542fd79936bfa39737.jpg","text":"TemporaryFile(/tmp/multipartBody293637907500456181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609393512,"filename":"image_25112025_23_12_15_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2f9d8d724a44eb25ef9556c2bbda0f05.jpg","text":"TemporaryFile(/tmp/multipartBody7561776691223397474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609393512,"filename":"image_25112025_23_12_06_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/1/4debf6fd2904f983348765738c27a47d.jpg","text":"TemporaryFile(/tmp/multipartBody9154633141776944883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609393512,"filename":"image_25112025_23_12_09_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397244796","file1":"1397244793","file0":"1397244790","file4":"1397244800","file5":"1397244801","file3":"1397244799"},"map_files_photo_id_array":[{"photo_id":"1397244801","filename":"file5"},{"photo_id":"1397244796","filename":"file2"},{"photo_id":"1397244800","filename":"file4"},{"photo_id":"1397244793","filename":"file1"},{"photo_id":"1397244790","filename":"file0"},{"photo_id":"1397244799","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397244799":["hashtag1","hashtag2"]},{"1397244790":["hashtag1","hashtag2"]},{"1397244801":["hashtag1","hashtag2"]},{"1397244800":["hashtag1","hashtag2"]},{"1397244793":["hashtag1","hashtag2"]},{"1397244796":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397244799, 1397244790, 1397244801, 1397244800, 1397244793, 1397244796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.895981550216675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 18:16:12.011446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_21_3213.jpg', '/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_23_2542.jpg', '/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_26_2613.jpg', '/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_29_3566.jpg', '/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_32_2675.jpg', '/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_36_3654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_21_3213.jpg
/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_23_2542.jpg
/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_26_2613.jpg
/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_29_3566.jpg
/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_32_2675.jpg
/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_36_3654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397244805","1397244810","1397244815","1397244818","1397244812","1397244806"],"photo_ids_order":["1397244805","1397244806","1397244810","1397244812","1397244815","1397244818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c735b8be13e2f51a9f99f5159bb3008d.jpg","text":"TemporaryFile(/tmp/multipartBody3146795812174792907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609433599,"filename":"image_25112025_23_12_21_3213.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1d211e30ea77b9890c2f825510f213ce.jpg","text":"TemporaryFile(/tmp/multipartBody4583727917194477554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609433599,"filename":"image_25112025_23_12_26_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fd2d271c6da824fd114d6e144d8ae6f5.jpg","text":"TemporaryFile(/tmp/multipartBody4856964434478557491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609433599,"filename":"image_25112025_23_12_32_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/1/6a861a6c94f802da75fe2ea95b670bcb.jpg","text":"TemporaryFile(/tmp/multipartBody6642538201341511187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609433599,"filename":"image_25112025_23_12_36_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7504bc9b37bfaf3fcdc7806937a6bb1c.jpg","text":"TemporaryFile(/tmp/multipartBody8886820443432627680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609433599,"filename":"image_25112025_23_12_29_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/1/54c047d3631b4d6cb66f4f50c430f67a.jpg","text":"TemporaryFile(/tmp/multipartBody1903192626137659128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609433599,"filename":"image_25112025_23_12_23_2542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397244810","file1":"1397244806","file0":"1397244805","file4":"1397244815","file5":"1397244818","file3":"1397244812"},"map_files_photo_id_array":[{"photo_id":"1397244818","filename":"file5"},{"photo_id":"1397244810","filename":"file2"},{"photo_id":"1397244815","filename":"file4"},{"photo_id":"1397244806","filename":"file1"},{"photo_id":"1397244805","filename":"file0"},{"photo_id":"1397244812","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397244805":["hashtag1","hashtag2"]},{"1397244810":["hashtag1","hashtag2"]},{"1397244815":["hashtag1","hashtag2"]},{"1397244818":["hashtag1","hashtag2"]},{"1397244812":["hashtag1","hashtag2"]},{"1397244806":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397244805, 1397244810, 1397244815, 1397244818, 1397244812, 1397244806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.11118221282959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 18:17:02.945005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/34/image_01122025_15_35_05_9840.jpg', '/home/pi/Desktop/images/01122025/15/35/image_01122025_15_35_16_10770.jpg', '/home/pi/Desktop/images/01122025/15/35/image_01122025_15_35_25_9684.jpg', '/home/pi/Desktop/images/01122025/15/35/image_01122025_15_35_35_9681.jpg', '/home/pi/Desktop/images/01122025/15/35/image_01122025_15_35_45_9851.jpg', '/home/pi/Desktop/images/01122025/15/35/image_01122025_15_35_56_10716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/34/image_01122025_15_35_05_9840.jpg
/home/pi/Desktop/images/01122025/15/35/image_01122025_15_35_16_10770.jpg
/home/pi/Desktop/images/01122025/15/35/image_01122025_15_35_25_9684.jpg
/home/pi/Desktop/images/01122025/15/35/image_01122025_15_35_35_9681.jpg
/home/pi/Desktop/images/01122025/15/35/image_01122025_15_35_45_9851.jpg
/home/pi/Desktop/images/01122025/15/35/image_01122025_15_35_56_10716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397244844","1397244853","1397244849","1397244840","1397244846","1397244825"],"photo_ids_order":["1397244825","1397244840","1397244844","1397244846","1397244849","1397244853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ce045472db6dc771921b53de81ed6c58.jpg","text":"TemporaryFile(/tmp/multipartBody6023803923415797294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609483704,"filename":"image_01122025_15_35_25_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/03edbb30cf73edd8be5a4b912822810a.jpg","text":"TemporaryFile(/tmp/multipartBody5984471284578897874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609483704,"filename":"image_01122025_15_35_56_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/1/899ebef51bbd60795366f8667084495b.jpg","text":"TemporaryFile(/tmp/multipartBody3637913150953278094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609483704,"filename":"image_01122025_15_35_45_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/432a91c9b8686565b0332088f742a7fc.jpg","text":"TemporaryFile(/tmp/multipartBody5291195793361638100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609483704,"filename":"image_01122025_15_35_16_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/1/821d34497627ba67c8081f8ec7ccd2a9.jpg","text":"TemporaryFile(/tmp/multipartBody492816625093148685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609483704,"filename":"image_01122025_15_35_35_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/faad8c4b5fb015c1ca9d5fbe32d6ad21.jpg","text":"TemporaryFile(/tmp/multipartBody3496845828979193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609483704,"filename":"image_01122025_15_35_05_9840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397244844","file1":"1397244840","file0":"1397244825","file4":"1397244849","file5":"1397244853","file3":"1397244846"},"map_files_photo_id_array":[{"photo_id":"1397244853","filename":"file5"},{"photo_id":"1397244844","filename":"file2"},{"photo_id":"1397244849","filename":"file4"},{"photo_id":"1397244840","filename":"file1"},{"photo_id":"1397244825","filename":"file0"},{"photo_id":"1397244846","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397244844":["hashtag1","hashtag2"]},{"1397244853":["hashtag1","hashtag2"]},{"1397244849":["hashtag1","hashtag2"]},{"1397244840":["hashtag1","hashtag2"]},{"1397244846":["hashtag1","hashtag2"]},{"1397244825":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397244844, 1397244853, 1397244849, 1397244840, 1397244846, 1397244825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.204254388809204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 18:17:42.203117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_42_1677.jpg', '/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_46_3566.jpg', '/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_48_2793.jpg', '/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_51_2676.jpg', '/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_55_3717.jpg', '/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_59_4239.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_42_1677.jpg
/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_46_3566.jpg
/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_48_2793.jpg
/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_51_2676.jpg
/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_55_3717.jpg
/home/pi/Desktop/images/31102025/14/48/image_31102025_14_48_59_4239.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397244862","1397244865","1397244870","1397244867","1397244866","1397244868"],"photo_ids_order":["1397244862","1397244865","1397244866","1397244867","1397244868","1397244870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/233d148b26c3b5fb0ade4601a9944879.jpg","text":"TemporaryFile(/tmp/multipartBody3027352494226975422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609524738,"filename":"image_31102025_14_48_42_1677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/eba507d66e90b10ad7a28efa10a352ef.jpg","text":"TemporaryFile(/tmp/multipartBody5489326700773092611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609524738,"filename":"image_31102025_14_48_46_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b01203c6b24c8bc1dde6627ed8279373.jpg","text":"TemporaryFile(/tmp/multipartBody3426962613162150968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609524738,"filename":"image_31102025_14_48_59_4239.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e245955dd219598e2ea5b088954b2d2a.jpg","text":"TemporaryFile(/tmp/multipartBody8638655670078772982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609524738,"filename":"image_31102025_14_48_51_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/1/108d68bbdfe7b8456d248009245eb687.jpg","text":"TemporaryFile(/tmp/multipartBody6251106523841452662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609524738,"filename":"image_31102025_14_48_48_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/1/6cdfa0590f9d32488bb2ced21a6e487f.jpg","text":"TemporaryFile(/tmp/multipartBody7289429323155164610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609524738,"filename":"image_31102025_14_48_55_3717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397244866","file1":"1397244865","file0":"1397244862","file4":"1397244868","file5":"1397244870","file3":"1397244867"},"map_files_photo_id_array":[{"photo_id":"1397244870","filename":"file5"},{"photo_id":"1397244866","filename":"file2"},{"photo_id":"1397244868","filename":"file4"},{"photo_id":"1397244865","filename":"file1"},{"photo_id":"1397244862","filename":"file0"},{"photo_id":"1397244867","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397244862":["hashtag1","hashtag2"]},{"1397244865":["hashtag1","hashtag2"]},{"1397244870":["hashtag1","hashtag2"]},{"1397244867":["hashtag1","hashtag2"]},{"1397244866":["hashtag1","hashtag2"]},{"1397244868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397244862, 1397244865, 1397244870, 1397244867, 1397244866, 1397244868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.391010999679565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 18:18:32.369728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_38_2660.jpg', '/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_41_2603.jpg', '/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_45_3622.jpg', '/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_47_2528.jpg', '/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_50_2625.jpg', '/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_53_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_38_2660.jpg
/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_41_2603.jpg
/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_45_3622.jpg
/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_47_2528.jpg
/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_50_2625.jpg
/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_53_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397244877","1397244894","1397244882","1397244890","1397244887","1397244892"],"photo_ids_order":["1397244877","1397244882","1397244887","1397244890","1397244892","1397244894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/656839d28c2dc3c1677d9fa71df30b90.jpg","text":"TemporaryFile(/tmp/multipartBody1043613758868597123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609574081,"filename":"image_25112025_23_12_38_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/81ebd87404f2a7696d18cf7dc1018203.jpg","text":"TemporaryFile(/tmp/multipartBody4178193316304024018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609574081,"filename":"image_25112025_23_12_53_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/1/6cc45eabf26a534b7b8ed34cc4428345.jpg","text":"TemporaryFile(/tmp/multipartBody7332304842402218443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609574081,"filename":"image_25112025_23_12_41_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0afd422e06e81a421b5b4e1eef3a1422.jpg","text":"TemporaryFile(/tmp/multipartBody4063146409059058416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609574081,"filename":"image_25112025_23_12_47_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/1/6a9c81ec55331d6b9b2a61e71a81b632.jpg","text":"TemporaryFile(/tmp/multipartBody7656129405240917861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609574081,"filename":"image_25112025_23_12_45_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/1/ac57d22d2f5648ae8192f12c1ecb2c86.jpg","text":"TemporaryFile(/tmp/multipartBody2018051558440291226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609574081,"filename":"image_25112025_23_12_50_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397244887","file1":"1397244882","file0":"1397244877","file4":"1397244892","file5":"1397244894","file3":"1397244890"},"map_files_photo_id_array":[{"photo_id":"1397244894","filename":"file5"},{"photo_id":"1397244887","filename":"file2"},{"photo_id":"1397244892","filename":"file4"},{"photo_id":"1397244882","filename":"file1"},{"photo_id":"1397244877","filename":"file0"},{"photo_id":"1397244890","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397244877":["hashtag1","hashtag2"]},{"1397244894":["hashtag1","hashtag2"]},{"1397244882":["hashtag1","hashtag2"]},{"1397244890":["hashtag1","hashtag2"]},{"1397244887":["hashtag1","hashtag2"]},{"1397244892":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397244877, 1397244894, 1397244882, 1397244890, 1397244887, 1397244892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.08571696281433 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 18:19:12.507973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_56_2578.jpg', '/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_59_3509.jpg', '/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_02_2705.jpg', '/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_05_2729.jpg', '/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_08_3574.jpg', '/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_11_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_56_2578.jpg
/home/pi/Desktop/images/25112025/23/12/image_25112025_23_12_59_3509.jpg
/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_02_2705.jpg
/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_05_2729.jpg
/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_08_3574.jpg
/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_11_2580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397244903","1397244906","1397244896","1397244899","1397244908","1397244895"],"photo_ids_order":["1397244895","1397244896","1397244899","1397244903","1397244906","1397244908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0281cb69143a55baea8dcd7753a178a5.jpg","text":"TemporaryFile(/tmp/multipartBody8431928390323686133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609614086,"filename":"image_25112025_23_13_05_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/1/1a2dfe9817e16b58e2cefa7682fab9b6.jpg","text":"TemporaryFile(/tmp/multipartBody6621152932868439024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609614086,"filename":"image_25112025_23_13_08_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/1/3f65d4014364dba86a7b6c311e5cef8c.jpg","text":"TemporaryFile(/tmp/multipartBody3050114044326738607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609614086,"filename":"image_25112025_23_12_59_3509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7254d928ba9c4a09086f2faa5d1f0550.jpg","text":"TemporaryFile(/tmp/multipartBody3574386684204500898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609614086,"filename":"image_25112025_23_13_02_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7ceb7e03dce6314380a63ee3440096d7.jpg","text":"TemporaryFile(/tmp/multipartBody3628131002740534182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609614086,"filename":"image_25112025_23_13_11_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0c8f8aee4b374b01fd31547fddc8ac2e.jpg","text":"TemporaryFile(/tmp/multipartBody2087247831185555246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609614086,"filename":"image_25112025_23_12_56_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397244899","file1":"1397244896","file0":"1397244895","file4":"1397244906","file5":"1397244908","file3":"1397244903"},"map_files_photo_id_array":[{"photo_id":"1397244908","filename":"file5"},{"photo_id":"1397244899","filename":"file2"},{"photo_id":"1397244906","filename":"file4"},{"photo_id":"1397244896","filename":"file1"},{"photo_id":"1397244895","filename":"file0"},{"photo_id":"1397244903","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397244903":["hashtag1","hashtag2"]},{"1397244906":["hashtag1","hashtag2"]},{"1397244896":["hashtag1","hashtag2"]},{"1397244899":["hashtag1","hashtag2"]},{"1397244908":["hashtag1","hashtag2"]},{"1397244895":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397244903, 1397244906, 1397244896, 1397244899, 1397244908, 1397244895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.86238121986389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 18:20:03.085876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/35/image_01122025_15_36_05_9571.jpg', '/home/pi/Desktop/images/01122025/15/36/image_01122025_15_36_15_9747.jpg', '/home/pi/Desktop/images/01122025/15/36/image_01122025_15_36_26_10668.jpg', '/home/pi/Desktop/images/01122025/15/36/image_01122025_15_36_35_9570.jpg', '/home/pi/Desktop/images/01122025/15/36/image_01122025_15_36_45_9709.jpg', '/home/pi/Desktop/images/01122025/15/36/image_01122025_15_36_56_10739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/35/image_01122025_15_36_05_9571.jpg
/home/pi/Desktop/images/01122025/15/36/image_01122025_15_36_15_9747.jpg
/home/pi/Desktop/images/01122025/15/36/image_01122025_15_36_26_10668.jpg
/home/pi/Desktop/images/01122025/15/36/image_01122025_15_36_35_9570.jpg
/home/pi/Desktop/images/01122025/15/36/image_01122025_15_36_45_9709.jpg
/home/pi/Desktop/images/01122025/15/36/image_01122025_15_36_56_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":["1397244916","1397244912","1397244920","1397244914","1397244923","1397244917"],"photo_ids_order":["1397244912","1397244914","1397244916","1397244917","1397244920","1397244923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1a8ed0f2cd2da81f96c4be01753ed088.jpg","text":"TemporaryFile(/tmp/multipartBody1520811026894285322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609663774,"filename":"image_01122025_15_36_26_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ed6d1234f253b16c94bf0aa35a9bb70a.jpg","text":"TemporaryFile(/tmp/multipartBody925965898521495511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609663774,"filename":"image_01122025_15_36_05_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7eafc74202f3fba8a56e978fc2e0434b.jpg","text":"TemporaryFile(/tmp/multipartBody1207050481822461525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609663774,"filename":"image_01122025_15_36_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/1/a016bf7293392330ccd76e9acb8f1e75.jpg","text":"TemporaryFile(/tmp/multipartBody5356378586962360674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609663774,"filename":"image_01122025_15_36_15_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7665f2b21c8dfd46493d15a04f231e5f.jpg","text":"TemporaryFile(/tmp/multipartBody2610677208846740166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609663774,"filename":"image_01122025_15_36_56_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2a9df43344eb21b1970bef91967ecc5d.jpg","text":"TemporaryFile(/tmp/multipartBody1191299566468813373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609663774,"filename":"image_01122025_15_36_35_9570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397244916","file1":"1397244914","file0":"1397244912","file4":"1397244920","file5":"1397244923","file3":"1397244917"},"map_files_photo_id_array":[{"photo_id":"1397244923","filename":"file5"},{"photo_id":"1397244916","filename":"file2"},{"photo_id":"1397244920","filename":"file4"},{"photo_id":"1397244914","filename":"file1"},{"photo_id":"1397244912","filename":"file0"},{"photo_id":"1397244917","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397244916":["hashtag1","hashtag2"]},{"1397244912":["hashtag1","hashtag2"]},{"1397244920":["hashtag1","hashtag2"]},{"1397244914":["hashtag1","hashtag2"]},{"1397244923":["hashtag1","hashtag2"]},{"1397244917":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397244916, 1397244912, 1397244920, 1397244914, 1397244923, 1397244917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.666990518569946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 18:20:42.649935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_01_1624.jpg', '/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_04_3596.jpg', '/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_06_1670.jpg', '/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_10_3707.jpg', '/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_12_2778.jpg', '/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_15_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_01_1624.jpg
/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_04_3596.jpg
/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_06_1670.jpg
/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_10_3707.jpg
/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_12_2778.jpg
/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_15_2705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397244955","1397244949","1397244952","1397244954","1397244944","1397244953"],"photo_ids_order":["1397244944","1397244949","1397244952","1397244953","1397244954","1397244955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/da1f15c0e1543304c0afb13c35541174.jpg","text":"TemporaryFile(/tmp/multipartBody1958276942219309760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609705200,"filename":"image_31102025_14_49_15_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/1/50b291705fe3c784f9bcfaeb86408be2.jpg","text":"TemporaryFile(/tmp/multipartBody8304105083818125229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609705200,"filename":"image_31102025_14_49_04_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cf9634198cd0b1ca5ba11cfa20dabe25.jpg","text":"TemporaryFile(/tmp/multipartBody7693852264764968896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609705200,"filename":"image_31102025_14_49_06_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/1/bd4d629e4425e846732b369347fb6edd.jpg","text":"TemporaryFile(/tmp/multipartBody7902169524188270577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609705200,"filename":"image_31102025_14_49_12_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/1/251819fb07f8e72e1448977229bc0bbd.jpg","text":"TemporaryFile(/tmp/multipartBody1874369990273122466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609705200,"filename":"image_31102025_14_49_01_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/1/e2bd077430383d1a570ca21866893527.jpg","text":"TemporaryFile(/tmp/multipartBody6690784989623243740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609705200,"filename":"image_31102025_14_49_10_3707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397244952","file1":"1397244949","file0":"1397244944","file4":"1397244954","file5":"1397244955","file3":"1397244953"},"map_files_photo_id_array":[{"photo_id":"1397244955","filename":"file5"},{"photo_id":"1397244952","filename":"file2"},{"photo_id":"1397244954","filename":"file4"},{"photo_id":"1397244949","filename":"file1"},{"photo_id":"1397244944","filename":"file0"},{"photo_id":"1397244953","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397244955":["hashtag1","hashtag2"]},{"1397244949":["hashtag1","hashtag2"]},{"1397244952":["hashtag1","hashtag2"]},{"1397244954":["hashtag1","hashtag2"]},{"1397244944":["hashtag1","hashtag2"]},{"1397244953":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397244955, 1397244949, 1397244952, 1397244954, 1397244944, 1397244953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.08491897583008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 18:21:32.861772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_14_2734.jpg', '/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_18_3753.jpg', '/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_20_2601.jpg', '/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_23_2744.jpg', '/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_27_3651.jpg', '/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_29_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_14_2734.jpg
/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_18_3753.jpg
/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_20_2601.jpg
/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_23_2744.jpg
/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_27_3651.jpg
/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_29_2714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397245003","1397245027","1397244987","1397245028","1397245007","1397245010"],"photo_ids_order":["1397244987","1397245003","1397245007","1397245010","1397245027","1397245028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f63383be93dfde945169a396d107aa0d.jpg","text":"TemporaryFile(/tmp/multipartBody6097109065365306043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609754534,"filename":"image_25112025_23_13_18_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/1/69a3b488546ea69f0707a9dc6eaf9342.jpg","text":"TemporaryFile(/tmp/multipartBody9159740333352533870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609754534,"filename":"image_25112025_23_13_27_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/1/60d1979dcf38beb408865e4e5652f025.jpg","text":"TemporaryFile(/tmp/multipartBody3444915987827261332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609754534,"filename":"image_25112025_23_13_14_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2c3ddcf278c160f6c8b826e67267724d.jpg","text":"TemporaryFile(/tmp/multipartBody6271733516729736097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609754534,"filename":"image_25112025_23_13_29_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/1/4772b36e332684cb38bfbfb456e717c6.jpg","text":"TemporaryFile(/tmp/multipartBody661115377619288912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609754534,"filename":"image_25112025_23_13_20_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/1/98836428701ad547453a139816af8b7f.jpg","text":"TemporaryFile(/tmp/multipartBody3824864816514877355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609754534,"filename":"image_25112025_23_13_23_2744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245007","file1":"1397245003","file0":"1397244987","file4":"1397245027","file5":"1397245028","file3":"1397245010"},"map_files_photo_id_array":[{"photo_id":"1397245028","filename":"file5"},{"photo_id":"1397245007","filename":"file2"},{"photo_id":"1397245027","filename":"file4"},{"photo_id":"1397245003","filename":"file1"},{"photo_id":"1397244987","filename":"file0"},{"photo_id":"1397245010","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397245003":["hashtag1","hashtag2"]},{"1397245027":["hashtag1","hashtag2"]},{"1397244987":["hashtag1","hashtag2"]},{"1397245028":["hashtag1","hashtag2"]},{"1397245007":["hashtag1","hashtag2"]},{"1397245010":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397245003, 1397245027, 1397244987, 1397245028, 1397245007, 1397245010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.97786521911621 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 18:22:22.010014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/36/image_01122025_15_37_05_9771.jpg', '/home/pi/Desktop/images/01122025/15/37/image_01122025_15_37_15_9776.jpg', '/home/pi/Desktop/images/01122025/15/37/image_01122025_15_37_26_10581.jpg', '/home/pi/Desktop/images/01122025/15/37/image_01122025_15_37_36_9852.jpg', '/home/pi/Desktop/images/01122025/15/37/image_01122025_15_37_45_9726.jpg', '/home/pi/Desktop/images/01122025/15/37/image_01122025_15_37_55_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/36/image_01122025_15_37_05_9771.jpg
/home/pi/Desktop/images/01122025/15/37/image_01122025_15_37_15_9776.jpg
/home/pi/Desktop/images/01122025/15/37/image_01122025_15_37_26_10581.jpg
/home/pi/Desktop/images/01122025/15/37/image_01122025_15_37_36_9852.jpg
/home/pi/Desktop/images/01122025/15/37/image_01122025_15_37_45_9726.jpg
/home/pi/Desktop/images/01122025/15/37/image_01122025_15_37_55_9671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397245061","1397245070","1397245064","1397245058","1397245067","1397245054"],"photo_ids_order":["1397245054","1397245058","1397245061","1397245064","1397245067","1397245070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d821dba44c0466026853acc0c43ce99d.jpg","text":"TemporaryFile(/tmp/multipartBody3473281707378597148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609802669,"filename":"image_01122025_15_37_26_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/1/aca03e2d2b5eb2889dd22d5f25a2f4d2.jpg","text":"TemporaryFile(/tmp/multipartBody1537820679166940474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609802669,"filename":"image_01122025_15_37_55_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e2e646c8dec7790dfd6ffc555b8d6c8d.jpg","text":"TemporaryFile(/tmp/multipartBody3420207614648609007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609802669,"filename":"image_01122025_15_37_36_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/1/761c7979ff1ceb8877bde000395781bf.jpg","text":"TemporaryFile(/tmp/multipartBody3622835502312716876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609802669,"filename":"image_01122025_15_37_15_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1c8505a1b787aabdb3b3c2ec2804fd39.jpg","text":"TemporaryFile(/tmp/multipartBody6900996561026609533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609802669,"filename":"image_01122025_15_37_45_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/afe26b0ba66b6d4c0ecbc05feb0e02d4.jpg","text":"TemporaryFile(/tmp/multipartBody4076062312800300430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609802669,"filename":"image_01122025_15_37_05_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245061","file1":"1397245058","file0":"1397245054","file4":"1397245067","file5":"1397245070","file3":"1397245064"},"map_files_photo_id_array":[{"photo_id":"1397245070","filename":"file5"},{"photo_id":"1397245061","filename":"file2"},{"photo_id":"1397245067","filename":"file4"},{"photo_id":"1397245058","filename":"file1"},{"photo_id":"1397245054","filename":"file0"},{"photo_id":"1397245064","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397245061":["hashtag1","hashtag2"]},{"1397245070":["hashtag1","hashtag2"]},{"1397245064":["hashtag1","hashtag2"]},{"1397245058":["hashtag1","hashtag2"]},{"1397245067":["hashtag1","hashtag2"]},{"1397245054":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397245061, 1397245070, 1397245064, 1397245058, 1397245067, 1397245054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76355290412903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 18:23:02.744173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/37/image_01122025_15_38_05_9962.jpg', '/home/pi/Desktop/images/01122025/15/38/image_01122025_15_38_16_10724.jpg', '/home/pi/Desktop/images/01122025/15/38/image_01122025_15_38_25_9723.jpg', '/home/pi/Desktop/images/01122025/15/38/image_01122025_15_38_35_9637.jpg', '/home/pi/Desktop/images/01122025/15/38/image_01122025_15_38_46_10767.jpg', '/home/pi/Desktop/images/01122025/15/38/image_01122025_15_39_05_9578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/37/image_01122025_15_38_05_9962.jpg
/home/pi/Desktop/images/01122025/15/38/image_01122025_15_38_16_10724.jpg
/home/pi/Desktop/images/01122025/15/38/image_01122025_15_38_25_9723.jpg
/home/pi/Desktop/images/01122025/15/38/image_01122025_15_38_35_9637.jpg
/home/pi/Desktop/images/01122025/15/38/image_01122025_15_38_46_10767.jpg
/home/pi/Desktop/images/01122025/15/38/image_01122025_15_39_05_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":["1397245086","1397245074","1397245082","1397245076","1397245072","1397245078"],"photo_ids_order":["1397245072","1397245074","1397245076","1397245078","1397245082","1397245086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b7990561beb4f5bc213a55e95daccf87.jpg","text":"TemporaryFile(/tmp/multipartBody8908252819246884053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609843540,"filename":"image_01122025_15_39_05_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/85c62dfc22b0ea0056a11a2fbce13fbd.jpg","text":"TemporaryFile(/tmp/multipartBody3944630671018133386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609843540,"filename":"image_01122025_15_38_16_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/1/e5bad37df28f81676ac183135731bc3c.jpg","text":"TemporaryFile(/tmp/multipartBody7328342605115382075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609843540,"filename":"image_01122025_15_38_46_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/1/f7247074f0546c448732eb6f61e73e99.jpg","text":"TemporaryFile(/tmp/multipartBody1238194155333925950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609843540,"filename":"image_01122025_15_38_25_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3c95aabfcb8a591b607b2e2900b75239.jpg","text":"TemporaryFile(/tmp/multipartBody870799712558991992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609843540,"filename":"image_01122025_15_38_05_9962.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9d5b96443aa5886b28a8a02d0dcaa384.jpg","text":"TemporaryFile(/tmp/multipartBody5438766975002951591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609843540,"filename":"image_01122025_15_38_35_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245076","file1":"1397245074","file0":"1397245072","file4":"1397245082","file5":"1397245086","file3":"1397245078"},"map_files_photo_id_array":[{"photo_id":"1397245086","filename":"file5"},{"photo_id":"1397245076","filename":"file2"},{"photo_id":"1397245082","filename":"file4"},{"photo_id":"1397245074","filename":"file1"},{"photo_id":"1397245072","filename":"file0"},{"photo_id":"1397245078","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397245086":["hashtag1","hashtag2"]},{"1397245074":["hashtag1","hashtag2"]},{"1397245082":["hashtag1","hashtag2"]},{"1397245076":["hashtag1","hashtag2"]},{"1397245072":["hashtag1","hashtag2"]},{"1397245078":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397245086, 1397245074, 1397245082, 1397245076, 1397245072, 1397245078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87116098403931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 18:23:42.107216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_19_3623.jpg', '/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_22_2771.jpg', '/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_27_2563.jpg', '/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_31_3711.jpg', '/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_33_2653.jpg', '/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_36_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_19_3623.jpg
/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_22_2771.jpg
/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_27_2563.jpg
/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_31_3711.jpg
/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_33_2653.jpg
/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_36_2655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397245102","1397245095","1397245097","1397245099","1397245093","1397245096"],"photo_ids_order":["1397245093","1397245095","1397245096","1397245097","1397245099","1397245102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f78ff0cd4f7b24a40d90e3df2016d61b.jpg","text":"TemporaryFile(/tmp/multipartBody9124359097577196108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609884707,"filename":"image_31102025_14_49_36_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/1/bcadb39000687b01d0e1220a73c23af9.jpg","text":"TemporaryFile(/tmp/multipartBody446294479373332437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609884707,"filename":"image_31102025_14_49_22_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5dd2c8b68809685206b793117eb95040.jpg","text":"TemporaryFile(/tmp/multipartBody8556139617299765056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609884707,"filename":"image_31102025_14_49_31_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/1/74479791c4d14c4039a755910c0cc4de.jpg","text":"TemporaryFile(/tmp/multipartBody9073313883890424080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609884707,"filename":"image_31102025_14_49_33_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/1/a94d737ae444ddab3543ae45d19d82d4.jpg","text":"TemporaryFile(/tmp/multipartBody76386376945608795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609884707,"filename":"image_31102025_14_49_19_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/1/d5093776d8954fa43e40fbea4a91fa7d.jpg","text":"TemporaryFile(/tmp/multipartBody3612995777587907282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609884707,"filename":"image_31102025_14_49_27_2563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245096","file1":"1397245095","file0":"1397245093","file4":"1397245099","file5":"1397245102","file3":"1397245097"},"map_files_photo_id_array":[{"photo_id":"1397245102","filename":"file5"},{"photo_id":"1397245096","filename":"file2"},{"photo_id":"1397245099","filename":"file4"},{"photo_id":"1397245095","filename":"file1"},{"photo_id":"1397245093","filename":"file0"},{"photo_id":"1397245097","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397245102":["hashtag1","hashtag2"]},{"1397245095":["hashtag1","hashtag2"]},{"1397245097":["hashtag1","hashtag2"]},{"1397245099":["hashtag1","hashtag2"]},{"1397245093":["hashtag1","hashtag2"]},{"1397245096":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397245102, 1397245095, 1397245097, 1397245099, 1397245093, 1397245096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.6581826210022 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 18:24:32.276927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_32_2585.jpg', '/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_36_3672.jpg', '/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_38_2470.jpg', '/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_42_3545.jpg', '/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_44_2658.jpg', '/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_50_3344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_32_2585.jpg
/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_36_3672.jpg
/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_38_2470.jpg
/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_42_3545.jpg
/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_44_2658.jpg
/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_50_3344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397245123","1397245117","1397245114","1397245125","1397245124","1397245121"],"photo_ids_order":["1397245114","1397245117","1397245121","1397245123","1397245124","1397245125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e59de9b47c48514917e06dd15e3ac1da.jpg","text":"TemporaryFile(/tmp/multipartBody1906081439987463448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609933935,"filename":"image_25112025_23_13_42_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/1/47b1bd21f6cc9f1555440aaf5d06e4a8.jpg","text":"TemporaryFile(/tmp/multipartBody3751457033005079551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609933935,"filename":"image_25112025_23_13_36_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/1/46a86469edfc2f9726f32e805ddf70d9.jpg","text":"TemporaryFile(/tmp/multipartBody3049588332059474073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609933935,"filename":"image_25112025_23_13_32_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/1/b58c1ef842d303074bc8749a1d631c77.jpg","text":"TemporaryFile(/tmp/multipartBody5676300961183716086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609933935,"filename":"image_25112025_23_13_50_3344.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d4893775dd7b83178d461e017413c032.jpg","text":"TemporaryFile(/tmp/multipartBody4428379104146909930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609933935,"filename":"image_25112025_23_13_44_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/1/06b8d2718545721a9f2edccde8c22aa3.jpg","text":"TemporaryFile(/tmp/multipartBody5955665227968466782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609933935,"filename":"image_25112025_23_13_38_2470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245121","file1":"1397245117","file0":"1397245114","file4":"1397245124","file5":"1397245125","file3":"1397245123"},"map_files_photo_id_array":[{"photo_id":"1397245125","filename":"file5"},{"photo_id":"1397245121","filename":"file2"},{"photo_id":"1397245124","filename":"file4"},{"photo_id":"1397245117","filename":"file1"},{"photo_id":"1397245114","filename":"file0"},{"photo_id":"1397245123","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397245123":["hashtag1","hashtag2"]},{"1397245117":["hashtag1","hashtag2"]},{"1397245114":["hashtag1","hashtag2"]},{"1397245125":["hashtag1","hashtag2"]},{"1397245124":["hashtag1","hashtag2"]},{"1397245121":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397245123, 1397245117, 1397245114, 1397245125, 1397245124, 1397245121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.72100114822388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 18:25:22.424369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/39/image_01122025_15_39_16_10581.jpg', '/home/pi/Desktop/images/01122025/15/39/image_01122025_15_39_26_9764.jpg', '/home/pi/Desktop/images/01122025/15/39/image_01122025_15_39_35_9826.jpg', '/home/pi/Desktop/images/01122025/15/39/image_01122025_15_39_45_9621.jpg', '/home/pi/Desktop/images/01122025/15/39/image_01122025_15_39_56_10605.jpg', '/home/pi/Desktop/images/01122025/15/39/image_01122025_15_40_06_9939.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/39/image_01122025_15_39_16_10581.jpg
/home/pi/Desktop/images/01122025/15/39/image_01122025_15_39_26_9764.jpg
/home/pi/Desktop/images/01122025/15/39/image_01122025_15_39_35_9826.jpg
/home/pi/Desktop/images/01122025/15/39/image_01122025_15_39_45_9621.jpg
/home/pi/Desktop/images/01122025/15/39/image_01122025_15_39_56_10605.jpg
/home/pi/Desktop/images/01122025/15/39/image_01122025_15_40_06_9939.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397245144","1397245132","1397245134","1397245137","1397245148","1397245141"],"photo_ids_order":["1397245132","1397245134","1397245137","1397245141","1397245144","1397245148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8a0f4bd1731f88429d8c4c5d85f71872.jpg","text":"TemporaryFile(/tmp/multipartBody4024033097756729402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609983127,"filename":"image_01122025_15_39_56_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c6e58eebbf92da6a0dd1d138e48e3ad7.jpg","text":"TemporaryFile(/tmp/multipartBody3728819798884112803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609983127,"filename":"image_01122025_15_39_16_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/1/09ca088efc14ece41749113c548e5340.jpg","text":"TemporaryFile(/tmp/multipartBody7063919248335896839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609983127,"filename":"image_01122025_15_39_26_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/1/28d49f16d88f702865f41c508a98335a.jpg","text":"TemporaryFile(/tmp/multipartBody3158287708827549550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609983127,"filename":"image_01122025_15_39_35_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/1/19ce1fbc74812543ef98bc1915d1525f.jpg","text":"TemporaryFile(/tmp/multipartBody4151277113830572097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609983127,"filename":"image_01122025_15_40_06_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/1/f296511c2f825d98e830d5dd6b45ce19.jpg","text":"TemporaryFile(/tmp/multipartBody9171938637956161562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764609983127,"filename":"image_01122025_15_39_45_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245137","file1":"1397245134","file0":"1397245132","file4":"1397245144","file5":"1397245148","file3":"1397245141"},"map_files_photo_id_array":[{"photo_id":"1397245148","filename":"file5"},{"photo_id":"1397245137","filename":"file2"},{"photo_id":"1397245144","filename":"file4"},{"photo_id":"1397245134","filename":"file1"},{"photo_id":"1397245132","filename":"file0"},{"photo_id":"1397245141","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397245144":["hashtag1","hashtag2"]},{"1397245132":["hashtag1","hashtag2"]},{"1397245134":["hashtag1","hashtag2"]},{"1397245137":["hashtag1","hashtag2"]},{"1397245148":["hashtag1","hashtag2"]},{"1397245141":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397245144, 1397245132, 1397245134, 1397245137, 1397245148, 1397245141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.85963201522827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 18:26:02.978691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/40/image_01122025_15_40_25_9639.jpg', '/home/pi/Desktop/images/01122025/15/40/image_01122025_15_40_36_10767.jpg', '/home/pi/Desktop/images/01122025/15/40/image_01122025_15_40_45_9693.jpg', '/home/pi/Desktop/images/01122025/15/40/image_01122025_15_40_55_9578.jpg', '/home/pi/Desktop/images/01122025/15/40/image_01122025_15_41_06_10676.jpg', '/home/pi/Desktop/images/01122025/15/41/image_01122025_15_41_15_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/40/image_01122025_15_40_25_9639.jpg
/home/pi/Desktop/images/01122025/15/40/image_01122025_15_40_36_10767.jpg
/home/pi/Desktop/images/01122025/15/40/image_01122025_15_40_45_9693.jpg
/home/pi/Desktop/images/01122025/15/40/image_01122025_15_40_55_9578.jpg
/home/pi/Desktop/images/01122025/15/40/image_01122025_15_41_06_10676.jpg
/home/pi/Desktop/images/01122025/15/41/image_01122025_15_41_15_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397245150","1397245152","1397245160","1397245154","1397245163","1397245156"],"photo_ids_order":["1397245150","1397245152","1397245154","1397245156","1397245160","1397245163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9037c994c3da56b4c233f137084f9b9e.jpg","text":"TemporaryFile(/tmp/multipartBody2533800402208571057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610023700,"filename":"image_01122025_15_40_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/1/55e9226f8aa5a443ca8e7366e7fb78ff.jpg","text":"TemporaryFile(/tmp/multipartBody4826605086668573379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610023700,"filename":"image_01122025_15_40_36_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/1/d00ef2e6fd8517d28eb42977b41c3661.jpg","text":"TemporaryFile(/tmp/multipartBody7714978575851154327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610023700,"filename":"image_01122025_15_41_06_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/1/0c3c77680ae68213a433ad5fbfa48f53.jpg","text":"TemporaryFile(/tmp/multipartBody7757125804951620777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610023700,"filename":"image_01122025_15_40_45_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fa266e276f4972e7a39ab48e1f1edd0a.jpg","text":"TemporaryFile(/tmp/multipartBody368528759615483797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610023700,"filename":"image_01122025_15_41_15_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a6d3cc7be77ffcda262b7e8b699029a8.jpg","text":"TemporaryFile(/tmp/multipartBody7621742806022649214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610023700,"filename":"image_01122025_15_40_55_9578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245154","file1":"1397245152","file0":"1397245150","file4":"1397245160","file5":"1397245163","file3":"1397245156"},"map_files_photo_id_array":[{"photo_id":"1397245163","filename":"file5"},{"photo_id":"1397245154","filename":"file2"},{"photo_id":"1397245160","filename":"file4"},{"photo_id":"1397245152","filename":"file1"},{"photo_id":"1397245150","filename":"file0"},{"photo_id":"1397245156","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397245150":["hashtag1","hashtag2"]},{"1397245152":["hashtag1","hashtag2"]},{"1397245160":["hashtag1","hashtag2"]},{"1397245154":["hashtag1","hashtag2"]},{"1397245163":["hashtag1","hashtag2"]},{"1397245156":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397245150, 1397245152, 1397245160, 1397245154, 1397245163, 1397245156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.873992919921875 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-01 18:27:03.403431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/41/image_01122025_15_41_25_9591.jpg', '/home/pi/Desktop/images/01122025/15/41/image_01122025_15_41_36_10836.jpg', '/home/pi/Desktop/images/01122025/15/41/image_01122025_15_41_45_9692.jpg', '/home/pi/Desktop/images/01122025/15/41/image_01122025_15_41_55_9793.jpg', '/home/pi/Desktop/images/01122025/15/42/image_01122025_15_42_16_10855.jpg', '/home/pi/Desktop/images/01122025/15/42/image_01122025_15_42_25_9525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/41/image_01122025_15_41_25_9591.jpg
/home/pi/Desktop/images/01122025/15/41/image_01122025_15_41_36_10836.jpg
/home/pi/Desktop/images/01122025/15/41/image_01122025_15_41_45_9692.jpg
/home/pi/Desktop/images/01122025/15/41/image_01122025_15_41_55_9793.jpg
/home/pi/Desktop/images/01122025/15/42/image_01122025_15_42_16_10855.jpg
/home/pi/Desktop/images/01122025/15/42/image_01122025_15_42_25_9525.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397245182","1397245179","1397245173","1397245187","1397245175","1397245177"],"photo_ids_order":["1397245173","1397245175","1397245177","1397245179","1397245182","1397245187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e7821360133769b1f0712daea6bd00b4.jpg","text":"TemporaryFile(/tmp/multipartBody6806505485464719638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610084193,"filename":"image_01122025_15_42_16_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/1/d7f138b9d13bc71871beb36f75291065.jpg","text":"TemporaryFile(/tmp/multipartBody9191782075644614721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610084193,"filename":"image_01122025_15_41_55_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/226a6fcde66e7efa8280b8d325b5c008.jpg","text":"TemporaryFile(/tmp/multipartBody6928851923981388518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610084193,"filename":"image_01122025_15_41_25_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cc99d2faa5af72d80aa03b77e7ef248d.jpg","text":"TemporaryFile(/tmp/multipartBody3411600861238973246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610084193,"filename":"image_01122025_15_42_25_9525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3e24a573e308a036cd32332071f26115.jpg","text":"TemporaryFile(/tmp/multipartBody3590476219672491600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610084193,"filename":"image_01122025_15_41_36_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/1/11238a3693879308e15091872d62fd53.jpg","text":"TemporaryFile(/tmp/multipartBody1531392236983687296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610084193,"filename":"image_01122025_15_41_45_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245177","file1":"1397245175","file0":"1397245173","file4":"1397245182","file5":"1397245187","file3":"1397245179"},"map_files_photo_id_array":[{"photo_id":"1397245187","filename":"file5"},{"photo_id":"1397245177","filename":"file2"},{"photo_id":"1397245182","filename":"file4"},{"photo_id":"1397245175","filename":"file1"},{"photo_id":"1397245173","filename":"file0"},{"photo_id":"1397245179","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397245182":["hashtag1","hashtag2"]},{"1397245179":["hashtag1","hashtag2"]},{"1397245173":["hashtag1","hashtag2"]},{"1397245187":["hashtag1","hashtag2"]},{"1397245175":["hashtag1","hashtag2"]},{"1397245177":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397245182, 1397245179, 1397245173, 1397245187, 1397245175, 1397245177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.87867283821106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 18:28:02.376562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/42/image_01122025_15_42_36_10552.jpg', '/home/pi/Desktop/images/01122025/15/42/image_01122025_15_42_45_9600.jpg', '/home/pi/Desktop/images/01122025/15/42/image_01122025_15_42_55_9809.jpg', '/home/pi/Desktop/images/01122025/15/42/image_01122025_15_43_05_9759.jpg', '/home/pi/Desktop/images/01122025/15/43/image_01122025_15_43_16_10805.jpg', '/home/pi/Desktop/images/01122025/15/43/image_01122025_15_43_25_9576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/42/image_01122025_15_42_36_10552.jpg
/home/pi/Desktop/images/01122025/15/42/image_01122025_15_42_45_9600.jpg
/home/pi/Desktop/images/01122025/15/42/image_01122025_15_42_55_9809.jpg
/home/pi/Desktop/images/01122025/15/42/image_01122025_15_43_05_9759.jpg
/home/pi/Desktop/images/01122025/15/43/image_01122025_15_43_16_10805.jpg
/home/pi/Desktop/images/01122025/15/43/image_01122025_15_43_25_9576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397245314","1397245200","1397245319","1397245198","1397245202","1397245288"],"photo_ids_order":["1397245198","1397245200","1397245202","1397245288","1397245314","1397245319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8b93df20348b9dc883a30ec1e2d322fe.jpg","text":"TemporaryFile(/tmp/multipartBody4997475403123724127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610143067,"filename":"image_01122025_15_43_16_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/1/f6e7fb6453863caa3af03309510a544c.jpg","text":"TemporaryFile(/tmp/multipartBody8598268894270671201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610143067,"filename":"image_01122025_15_42_45_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/43476fc29ecd20fc3542722fb8e6f4e3.jpg","text":"TemporaryFile(/tmp/multipartBody4632208825849883886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610143067,"filename":"image_01122025_15_43_25_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a10ef5b33ba93069a0cc0501a118076a.jpg","text":"TemporaryFile(/tmp/multipartBody595805821950680670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610143067,"filename":"image_01122025_15_42_36_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/1/16cc8c0ff25efa2830746a7913c027c2.jpg","text":"TemporaryFile(/tmp/multipartBody3165490208852630293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610143067,"filename":"image_01122025_15_42_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/1/0c75987574d1ddd8b872fe15ccac909e.jpg","text":"TemporaryFile(/tmp/multipartBody6273224335365320416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610143067,"filename":"image_01122025_15_43_05_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245202","file1":"1397245200","file0":"1397245198","file4":"1397245314","file5":"1397245319","file3":"1397245288"},"map_files_photo_id_array":[{"photo_id":"1397245319","filename":"file5"},{"photo_id":"1397245202","filename":"file2"},{"photo_id":"1397245314","filename":"file4"},{"photo_id":"1397245200","filename":"file1"},{"photo_id":"1397245198","filename":"file0"},{"photo_id":"1397245288","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397245314":["hashtag1","hashtag2"]},{"1397245200":["hashtag1","hashtag2"]},{"1397245319":["hashtag1","hashtag2"]},{"1397245198":["hashtag1","hashtag2"]},{"1397245202":["hashtag1","hashtag2"]},{"1397245288":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397245314, 1397245200, 1397245319, 1397245198, 1397245202, 1397245288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.512802600860596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 18:28:41.876841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_40_3779.jpg', '/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_42_2637.jpg', '/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_45_2722.jpg', '/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_48_2992.jpg', '/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_52_3689.jpg', '/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_54_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_40_3779.jpg
/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_42_2637.jpg
/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_45_2722.jpg
/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_48_2992.jpg
/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_52_3689.jpg
/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_54_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":["1397245408","1397245398","1397245377","1397245379","1397245400","1397245363"],"photo_ids_order":["1397245363","1397245377","1397245379","1397245398","1397245400","1397245408"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/157bd5352b66e6bd7b270b09596b2870.jpg","text":"TemporaryFile(/tmp/multipartBody6379315031494929044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610184719,"filename":"image_31102025_14_49_54_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/1/8b83e6586ef3008fc2c7c1285a105f66.jpg","text":"TemporaryFile(/tmp/multipartBody9189951312774352214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610184719,"filename":"image_31102025_14_49_48_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/1/8a59b541711303829a4fc2fbcf9da635.jpg","text":"TemporaryFile(/tmp/multipartBody1394135998456934268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610184719,"filename":"image_31102025_14_49_42_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a33982e1089691ba420d1465e1d21381.jpg","text":"TemporaryFile(/tmp/multipartBody5647059283646161412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610184719,"filename":"image_31102025_14_49_45_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/1/194b873f418bda84538f4fc8226facd5.jpg","text":"TemporaryFile(/tmp/multipartBody9051216443192592704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610184719,"filename":"image_31102025_14_49_52_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/1/4625d53a15c6ff5348d3bf912a9d7138.jpg","text":"TemporaryFile(/tmp/multipartBody962431607009615859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610184719,"filename":"image_31102025_14_49_40_3779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245379","file1":"1397245377","file0":"1397245363","file4":"1397245400","file5":"1397245408","file3":"1397245398"},"map_files_photo_id_array":[{"photo_id":"1397245408","filename":"file5"},{"photo_id":"1397245379","filename":"file2"},{"photo_id":"1397245400","filename":"file4"},{"photo_id":"1397245377","filename":"file1"},{"photo_id":"1397245363","filename":"file0"},{"photo_id":"1397245398","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397245408":["hashtag1","hashtag2"]},{"1397245398":["hashtag1","hashtag2"]},{"1397245377":["hashtag1","hashtag2"]},{"1397245379":["hashtag1","hashtag2"]},{"1397245400":["hashtag1","hashtag2"]},{"1397245363":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397245408, 1397245398, 1397245377, 1397245379, 1397245400, 1397245363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.27316212654114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 18:29:22.235792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/43/image_01122025_15_43_35_9777.jpg', '/home/pi/Desktop/images/01122025/15/43/image_01122025_15_43_46_10608.jpg', '/home/pi/Desktop/images/01122025/15/43/image_01122025_15_43_55_9686.jpg', '/home/pi/Desktop/images/01122025/15/43/image_01122025_15_44_05_9649.jpg', '/home/pi/Desktop/images/01122025/15/44/image_01122025_15_44_16_10739.jpg', '/home/pi/Desktop/images/01122025/15/44/image_01122025_15_44_25_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/43/image_01122025_15_43_35_9777.jpg
/home/pi/Desktop/images/01122025/15/43/image_01122025_15_43_46_10608.jpg
/home/pi/Desktop/images/01122025/15/43/image_01122025_15_43_55_9686.jpg
/home/pi/Desktop/images/01122025/15/43/image_01122025_15_44_05_9649.jpg
/home/pi/Desktop/images/01122025/15/44/image_01122025_15_44_16_10739.jpg
/home/pi/Desktop/images/01122025/15/44/image_01122025_15_44_25_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":["1397245435","1397245429","1397245440","1397245470","1397245444","1397245447"],"photo_ids_order":["1397245429","1397245435","1397245440","1397245444","1397245447","1397245470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/68e562afa10db1bc1290c66e3c6ec541.jpg","text":"TemporaryFile(/tmp/multipartBody7206636380623718328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610222911,"filename":"image_01122025_15_43_46_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3b2ac9e45c3bb3df4d43c0052904028d.jpg","text":"TemporaryFile(/tmp/multipartBody8258418843334741711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610222911,"filename":"image_01122025_15_43_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/1/6597fce1f36bbecaec1c2baf7eaacc01.jpg","text":"TemporaryFile(/tmp/multipartBody4946152624310947030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610222911,"filename":"image_01122025_15_43_55_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/24294ba0dee707a95ff282187eaec035.jpg","text":"TemporaryFile(/tmp/multipartBody4550240904364374082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610222911,"filename":"image_01122025_15_44_25_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a5ac58530e698f0ab60104e0d629b347.jpg","text":"TemporaryFile(/tmp/multipartBody6197724027801028699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610222911,"filename":"image_01122025_15_44_05_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a70d09dbae4405cf11b26c0cd9427181.jpg","text":"TemporaryFile(/tmp/multipartBody5281777113802119358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610222911,"filename":"image_01122025_15_44_16_10739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245440","file1":"1397245435","file0":"1397245429","file4":"1397245447","file5":"1397245470","file3":"1397245444"},"map_files_photo_id_array":[{"photo_id":"1397245470","filename":"file5"},{"photo_id":"1397245440","filename":"file2"},{"photo_id":"1397245447","filename":"file4"},{"photo_id":"1397245435","filename":"file1"},{"photo_id":"1397245429","filename":"file0"},{"photo_id":"1397245444","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397245435":["hashtag1","hashtag2"]},{"1397245429":["hashtag1","hashtag2"]},{"1397245440":["hashtag1","hashtag2"]},{"1397245470":["hashtag1","hashtag2"]},{"1397245444":["hashtag1","hashtag2"]},{"1397245447":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397245435, 1397245429, 1397245440, 1397245470, 1397245444, 1397245447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12716007232666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 18:30:02.772221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/44/image_01122025_15_44_35_9759.jpg', '/home/pi/Desktop/images/01122025/15/44/image_01122025_15_44_46_10555.jpg', '/home/pi/Desktop/images/01122025/15/44/image_01122025_15_44_56_9892.jpg', '/home/pi/Desktop/images/01122025/15/44/image_01122025_15_45_05_9661.jpg', '/home/pi/Desktop/images/01122025/15/45/image_01122025_15_45_15_9718.jpg', '/home/pi/Desktop/images/01122025/15/45/image_01122025_15_45_26_10688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/44/image_01122025_15_44_35_9759.jpg
/home/pi/Desktop/images/01122025/15/44/image_01122025_15_44_46_10555.jpg
/home/pi/Desktop/images/01122025/15/44/image_01122025_15_44_56_9892.jpg
/home/pi/Desktop/images/01122025/15/44/image_01122025_15_45_05_9661.jpg
/home/pi/Desktop/images/01122025/15/45/image_01122025_15_45_15_9718.jpg
/home/pi/Desktop/images/01122025/15/45/image_01122025_15_45_26_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":["1397245549","1397245554","1397245551","1397245547","1397245561","1397245558"],"photo_ids_order":["1397245547","1397245549","1397245551","1397245554","1397245558","1397245561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/46d31fd2f627ee3ffcc57c6938ce5f47.jpg","text":"TemporaryFile(/tmp/multipartBody1009966317330713393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610263482,"filename":"image_01122025_15_44_46_10555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/096ab87f842420b8bf06e1c7845d600e.jpg","text":"TemporaryFile(/tmp/multipartBody950533579999770423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610263482,"filename":"image_01122025_15_45_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/1/58bd1c7d2a616b0db3d8f9916d17dc7a.jpg","text":"TemporaryFile(/tmp/multipartBody6753168439545736891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610263482,"filename":"image_01122025_15_44_56_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/1/cbe8a7c7a7db546ccacec288688c12d9.jpg","text":"TemporaryFile(/tmp/multipartBody3020561887087634400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610263482,"filename":"image_01122025_15_44_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/1/c7acc3a518f9674d867441a852ea7c13.jpg","text":"TemporaryFile(/tmp/multipartBody2751406992042272474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610263482,"filename":"image_01122025_15_45_26_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/1/551ff7d8a1da371420bfeb79796f7162.jpg","text":"TemporaryFile(/tmp/multipartBody6489650015016834900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610263482,"filename":"image_01122025_15_45_15_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245551","file1":"1397245549","file0":"1397245547","file4":"1397245558","file5":"1397245561","file3":"1397245554"},"map_files_photo_id_array":[{"photo_id":"1397245561","filename":"file5"},{"photo_id":"1397245551","filename":"file2"},{"photo_id":"1397245558","filename":"file4"},{"photo_id":"1397245549","filename":"file1"},{"photo_id":"1397245547","filename":"file0"},{"photo_id":"1397245554","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397245549":["hashtag1","hashtag2"]},{"1397245554":["hashtag1","hashtag2"]},{"1397245551":["hashtag1","hashtag2"]},{"1397245547":["hashtag1","hashtag2"]},{"1397245561":["hashtag1","hashtag2"]},{"1397245558":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397245549, 1397245554, 1397245551, 1397245547, 1397245561, 1397245558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.41824173927307 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 18:31:03.075896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/45/image_01122025_15_45_35_9781.jpg', '/home/pi/Desktop/images/01122025/15/45/image_01122025_15_45_45_9652.jpg', '/home/pi/Desktop/images/01122025/15/45/image_01122025_15_45_55_9700.jpg', '/home/pi/Desktop/images/01122025/15/45/image_01122025_15_46_05_10667.jpg', '/home/pi/Desktop/images/01122025/15/46/image_01122025_15_46_15_9677.jpg', '/home/pi/Desktop/images/01122025/15/46/image_01122025_15_46_25_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/45/image_01122025_15_45_35_9781.jpg
/home/pi/Desktop/images/01122025/15/45/image_01122025_15_45_45_9652.jpg
/home/pi/Desktop/images/01122025/15/45/image_01122025_15_45_55_9700.jpg
/home/pi/Desktop/images/01122025/15/45/image_01122025_15_46_05_10667.jpg
/home/pi/Desktop/images/01122025/15/46/image_01122025_15_46_15_9677.jpg
/home/pi/Desktop/images/01122025/15/46/image_01122025_15_46_25_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":["1397245575","1397245569","1397245578","1397245573","1397245570","1397245624"],"photo_ids_order":["1397245569","1397245570","1397245573","1397245575","1397245578","1397245624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8d4f36784400eb72e506d5b6345a5d37.jpg","text":"TemporaryFile(/tmp/multipartBody5247834354717119589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610323828,"filename":"image_01122025_15_46_05_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0241e61e6abe1c5d773266a01f5771df.jpg","text":"TemporaryFile(/tmp/multipartBody7972095619091933781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610323828,"filename":"image_01122025_15_45_35_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/1/8b8347de72bca1a8d9a616a96de4615b.jpg","text":"TemporaryFile(/tmp/multipartBody5830856348221201219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610323828,"filename":"image_01122025_15_46_15_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7dc9add56aca3d21e3573856ddf2d8aa.jpg","text":"TemporaryFile(/tmp/multipartBody6300298542816648559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610323828,"filename":"image_01122025_15_45_55_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5da33397bd09fa501bcab77050a8fcd2.jpg","text":"TemporaryFile(/tmp/multipartBody20150776450366193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610323828,"filename":"image_01122025_15_45_45_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a0d50aa34a33b4ea6bf4717543299691.jpg","text":"TemporaryFile(/tmp/multipartBody421623532849690946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610323828,"filename":"image_01122025_15_46_25_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245573","file1":"1397245570","file0":"1397245569","file4":"1397245578","file5":"1397245624","file3":"1397245575"},"map_files_photo_id_array":[{"photo_id":"1397245624","filename":"file5"},{"photo_id":"1397245573","filename":"file2"},{"photo_id":"1397245578","filename":"file4"},{"photo_id":"1397245570","filename":"file1"},{"photo_id":"1397245569","filename":"file0"},{"photo_id":"1397245575","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397245575":["hashtag1","hashtag2"]},{"1397245569":["hashtag1","hashtag2"]},{"1397245578":["hashtag1","hashtag2"]},{"1397245573":["hashtag1","hashtag2"]},{"1397245570":["hashtag1","hashtag2"]},{"1397245624":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397245575, 1397245569, 1397245578, 1397245573, 1397245570, 1397245624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64823007583618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 18:31:42.484503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_57_2653.jpg', '/home/pi/Desktop/images/31102025/14/49/image_31102025_14_50_01_3621.jpg', '/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_03_2809.jpg', '/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_07_3194.jpg', '/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_12_2799.jpg', '/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_15_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/49/image_31102025_14_49_57_2653.jpg
/home/pi/Desktop/images/31102025/14/49/image_31102025_14_50_01_3621.jpg
/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_03_2809.jpg
/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_07_3194.jpg
/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_12_2799.jpg
/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_15_2767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397245641","1397245635","1397245638","1397245640","1397245643","1397245639"],"photo_ids_order":["1397245635","1397245638","1397245639","1397245640","1397245641","1397245643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6ea1df2504a13a2dec2ef8bfc0b60ca9.jpg","text":"TemporaryFile(/tmp/multipartBody8733693151990960673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610365017,"filename":"image_31102025_14_50_12_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4f3a762829fb503a9f9654cb64f44698.jpg","text":"TemporaryFile(/tmp/multipartBody2947591630339447669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610365017,"filename":"image_31102025_14_49_57_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/1/4ea4cab0a410d10762922a94b8463f53.jpg","text":"TemporaryFile(/tmp/multipartBody243867453667490722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610365017,"filename":"image_31102025_14_50_01_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/1/5f58ada115c8691847fc76f1eac52051.jpg","text":"TemporaryFile(/tmp/multipartBody8887191356062734366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610365017,"filename":"image_31102025_14_50_07_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/1/490819ef4f33e44f38a0eb80886e6f33.jpg","text":"TemporaryFile(/tmp/multipartBody1342736821892491754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610365017,"filename":"image_31102025_14_50_15_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3b4fe43cbbf025ca2b4197838bcd9b04.jpg","text":"TemporaryFile(/tmp/multipartBody5337536270534335721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610365017,"filename":"image_31102025_14_50_03_2809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245639","file1":"1397245638","file0":"1397245635","file4":"1397245641","file5":"1397245643","file3":"1397245640"},"map_files_photo_id_array":[{"photo_id":"1397245643","filename":"file5"},{"photo_id":"1397245639","filename":"file2"},{"photo_id":"1397245641","filename":"file4"},{"photo_id":"1397245638","filename":"file1"},{"photo_id":"1397245635","filename":"file0"},{"photo_id":"1397245640","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397245641":["hashtag1","hashtag2"]},{"1397245635":["hashtag1","hashtag2"]},{"1397245638":["hashtag1","hashtag2"]},{"1397245640":["hashtag1","hashtag2"]},{"1397245643":["hashtag1","hashtag2"]},{"1397245639":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397245641, 1397245635, 1397245638, 1397245640, 1397245643, 1397245639)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.602782249450684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 18:32:32.703780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_53_2648.jpg', '/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_57_3749.jpg', '/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_59_2599.jpg', '/home/pi/Desktop/images/25112025/23/14/image_25112025_23_14_02_2715.jpg', '/home/pi/Desktop/images/25112025/23/14/image_25112025_23_14_08_2597.jpg', '/home/pi/Desktop/images/25112025/23/14/image_25112025_23_14_15_3774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_53_2648.jpg
/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_57_3749.jpg
/home/pi/Desktop/images/25112025/23/13/image_25112025_23_13_59_2599.jpg
/home/pi/Desktop/images/25112025/23/14/image_25112025_23_14_02_2715.jpg
/home/pi/Desktop/images/25112025/23/14/image_25112025_23_14_08_2597.jpg
/home/pi/Desktop/images/25112025/23/14/image_25112025_23_14_15_3774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397245665","1397245664","1397245658","1397245661","1397245655","1397245663"],"photo_ids_order":["1397245655","1397245658","1397245661","1397245663","1397245664","1397245665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1483ea36773e6d8677bedda1d7bb5ba3.jpg","text":"TemporaryFile(/tmp/multipartBody7580302693652293151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610414372,"filename":"image_25112025_23_14_15_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/1/849e40dab79d237cf25c025c43ca1246.jpg","text":"TemporaryFile(/tmp/multipartBody4249776085709370712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610414372,"filename":"image_25112025_23_14_08_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/1/15078788102a5370fdc2e0e33efaf624.jpg","text":"TemporaryFile(/tmp/multipartBody666710366190059418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610414372,"filename":"image_25112025_23_13_57_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/179a1e8bc9bd1c51501042d889204cb6.jpg","text":"TemporaryFile(/tmp/multipartBody4655554441625459464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610414372,"filename":"image_25112025_23_13_59_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/1/0619a803c050eae04d32095dbc393c3c.jpg","text":"TemporaryFile(/tmp/multipartBody1623634044439313939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610414372,"filename":"image_25112025_23_13_53_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fa727e25433ccc70ac9b3f3a665abdb2.jpg","text":"TemporaryFile(/tmp/multipartBody4356413800700656870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610414372,"filename":"image_25112025_23_14_02_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245661","file1":"1397245658","file0":"1397245655","file4":"1397245664","file5":"1397245665","file3":"1397245663"},"map_files_photo_id_array":[{"photo_id":"1397245665","filename":"file5"},{"photo_id":"1397245661","filename":"file2"},{"photo_id":"1397245664","filename":"file4"},{"photo_id":"1397245658","filename":"file1"},{"photo_id":"1397245655","filename":"file0"},{"photo_id":"1397245663","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397245665":["hashtag1","hashtag2"]},{"1397245664":["hashtag1","hashtag2"]},{"1397245658":["hashtag1","hashtag2"]},{"1397245661":["hashtag1","hashtag2"]},{"1397245655":["hashtag1","hashtag2"]},{"1397245663":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397245665, 1397245664, 1397245658, 1397245661, 1397245655, 1397245663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.49578285217285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 18:33:21.853334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/46/image_01122025_15_46_36_10608.jpg', '/home/pi/Desktop/images/01122025/15/46/image_01122025_15_46_45_9799.jpg', '/home/pi/Desktop/images/01122025/15/46/image_01122025_15_46_55_9527.jpg', '/home/pi/Desktop/images/01122025/15/46/image_01122025_15_47_06_10767.jpg', '/home/pi/Desktop/images/01122025/15/47/image_01122025_15_47_15_9859.jpg', '/home/pi/Desktop/images/01122025/15/47/image_01122025_15_47_25_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/46/image_01122025_15_46_36_10608.jpg
/home/pi/Desktop/images/01122025/15/46/image_01122025_15_46_45_9799.jpg
/home/pi/Desktop/images/01122025/15/46/image_01122025_15_46_55_9527.jpg
/home/pi/Desktop/images/01122025/15/46/image_01122025_15_47_06_10767.jpg
/home/pi/Desktop/images/01122025/15/47/image_01122025_15_47_15_9859.jpg
/home/pi/Desktop/images/01122025/15/47/image_01122025_15_47_25_9596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397245683","1397245686","1397245671","1397245689","1397245680","1397245675"],"photo_ids_order":["1397245671","1397245675","1397245680","1397245683","1397245686","1397245689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d3a767311e2b3337429d107975539485.jpg","text":"TemporaryFile(/tmp/multipartBody3131661333198808161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610462559,"filename":"image_01122025_15_47_06_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/1/9781a6c684fa7ce35235328755e1bd39.jpg","text":"TemporaryFile(/tmp/multipartBody786278511107911572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610462559,"filename":"image_01122025_15_47_15_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5877557231a3625397c8b62713a4271f.jpg","text":"TemporaryFile(/tmp/multipartBody6009680673877714499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610462559,"filename":"image_01122025_15_46_36_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/1/819545db2cd22da29753cd9af68f7977.jpg","text":"TemporaryFile(/tmp/multipartBody2214383794033953853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610462559,"filename":"image_01122025_15_47_25_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9dab0e2c331565b2cd01b498062fd2ee.jpg","text":"TemporaryFile(/tmp/multipartBody8612378207553380600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610462559,"filename":"image_01122025_15_46_55_9527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fdede71854b524abfed67c887c148a26.jpg","text":"TemporaryFile(/tmp/multipartBody6805187231433293283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610462559,"filename":"image_01122025_15_46_45_9799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245680","file1":"1397245675","file0":"1397245671","file4":"1397245686","file5":"1397245689","file3":"1397245683"},"map_files_photo_id_array":[{"photo_id":"1397245689","filename":"file5"},{"photo_id":"1397245680","filename":"file2"},{"photo_id":"1397245686","filename":"file4"},{"photo_id":"1397245675","filename":"file1"},{"photo_id":"1397245671","filename":"file0"},{"photo_id":"1397245683","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397245683":["hashtag1","hashtag2"]},{"1397245686":["hashtag1","hashtag2"]},{"1397245671":["hashtag1","hashtag2"]},{"1397245689":["hashtag1","hashtag2"]},{"1397245680":["hashtag1","hashtag2"]},{"1397245675":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397245683, 1397245686, 1397245671, 1397245689, 1397245680, 1397245675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.097864866256714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 18:34:02.803691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/47/image_01122025_15_47_36_10660.jpg', '/home/pi/Desktop/images/01122025/15/47/image_01122025_15_47_45_9649.jpg', '/home/pi/Desktop/images/01122025/15/47/image_01122025_15_47_55_9703.jpg', '/home/pi/Desktop/images/01122025/15/47/image_01122025_15_48_05_9780.jpg', '/home/pi/Desktop/images/01122025/15/48/image_01122025_15_48_16_10755.jpg', '/home/pi/Desktop/images/01122025/15/48/image_01122025_15_48_25_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/47/image_01122025_15_47_36_10660.jpg
/home/pi/Desktop/images/01122025/15/47/image_01122025_15_47_45_9649.jpg
/home/pi/Desktop/images/01122025/15/47/image_01122025_15_47_55_9703.jpg
/home/pi/Desktop/images/01122025/15/47/image_01122025_15_48_05_9780.jpg
/home/pi/Desktop/images/01122025/15/48/image_01122025_15_48_16_10755.jpg
/home/pi/Desktop/images/01122025/15/48/image_01122025_15_48_25_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":["1397245704","1397245694","1397245697","1397245691","1397245700","1397245693"],"photo_ids_order":["1397245691","1397245693","1397245694","1397245697","1397245700","1397245704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a07b1a192def92c17cefffd14ae3e04f.jpg","text":"TemporaryFile(/tmp/multipartBody4450689802076240745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610503583,"filename":"image_01122025_15_48_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/1/40be5f0b9a8c0cbb67d758baa00334ac.jpg","text":"TemporaryFile(/tmp/multipartBody3647910884937585054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610503583,"filename":"image_01122025_15_47_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/1/13dc3de1ca66f31b130312b9a3397fdf.jpg","text":"TemporaryFile(/tmp/multipartBody1128892504606324415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610503583,"filename":"image_01122025_15_48_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/1/947c2735523d6569c75c9c675ef56713.jpg","text":"TemporaryFile(/tmp/multipartBody114869127637635510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610503583,"filename":"image_01122025_15_47_36_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f2bd37d1e1b9096677065ad2c447fbd0.jpg","text":"TemporaryFile(/tmp/multipartBody8201813987806486477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610503583,"filename":"image_01122025_15_48_16_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/1/9f0cf78bf3bea9c94528885eb2dd3f9e.jpg","text":"TemporaryFile(/tmp/multipartBody2468140742947005875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610503583,"filename":"image_01122025_15_47_45_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245694","file1":"1397245693","file0":"1397245691","file4":"1397245700","file5":"1397245704","file3":"1397245697"},"map_files_photo_id_array":[{"photo_id":"1397245704","filename":"file5"},{"photo_id":"1397245694","filename":"file2"},{"photo_id":"1397245700","filename":"file4"},{"photo_id":"1397245693","filename":"file1"},{"photo_id":"1397245691","filename":"file0"},{"photo_id":"1397245697","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397245704":["hashtag1","hashtag2"]},{"1397245694":["hashtag1","hashtag2"]},{"1397245697":["hashtag1","hashtag2"]},{"1397245691":["hashtag1","hashtag2"]},{"1397245700":["hashtag1","hashtag2"]},{"1397245693":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397245704, 1397245694, 1397245697, 1397245691, 1397245700, 1397245693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.328075647354126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 18:34:42.123567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_18_3700.jpg', '/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_21_2636.jpg', '/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_25_3580.jpg', '/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_27_2611.jpg', '/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_30_2679.jpg', '/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_33_2802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_18_3700.jpg
/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_21_2636.jpg
/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_25_3580.jpg
/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_27_2611.jpg
/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_30_2679.jpg
/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_33_2802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397245720","1397245722","1397245719","1397245715","1397245718","1397245717"],"photo_ids_order":["1397245715","1397245717","1397245718","1397245719","1397245720","1397245722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fadf489d5307c025daff7c2f6b2b42a6.jpg","text":"TemporaryFile(/tmp/multipartBody8199029916732675075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610544680,"filename":"image_31102025_14_50_30_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/1/d80a31321a84a3650a6240f4ca3b413c.jpg","text":"TemporaryFile(/tmp/multipartBody1294751785525278361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610544680,"filename":"image_31102025_14_50_33_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b18b4aa8d393b7ab310896820d6a9645.jpg","text":"TemporaryFile(/tmp/multipartBody1290498485716914599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610544680,"filename":"image_31102025_14_50_27_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/1/1cf33d72925fb3660304df1d7176f4ac.jpg","text":"TemporaryFile(/tmp/multipartBody2414835126413390801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610544680,"filename":"image_31102025_14_50_18_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/1/217abf82ed21031e661cd7b322227f3d.jpg","text":"TemporaryFile(/tmp/multipartBody8482039678185600153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610544680,"filename":"image_31102025_14_50_25_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/1/f19940cb27b10ec53c032371ad532c53.jpg","text":"TemporaryFile(/tmp/multipartBody879364067923358677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610544680,"filename":"image_31102025_14_50_21_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245718","file1":"1397245717","file0":"1397245715","file4":"1397245720","file5":"1397245722","file3":"1397245719"},"map_files_photo_id_array":[{"photo_id":"1397245722","filename":"file5"},{"photo_id":"1397245718","filename":"file2"},{"photo_id":"1397245720","filename":"file4"},{"photo_id":"1397245717","filename":"file1"},{"photo_id":"1397245715","filename":"file0"},{"photo_id":"1397245719","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397245720":["hashtag1","hashtag2"]},{"1397245722":["hashtag1","hashtag2"]},{"1397245719":["hashtag1","hashtag2"]},{"1397245715":["hashtag1","hashtag2"]},{"1397245718":["hashtag1","hashtag2"]},{"1397245717":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397245720, 1397245722, 1397245719, 1397245715, 1397245718, 1397245717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.64704465866089 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 18:35:32.355016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/14/image_25112025_23_14_17_2574.jpg', '/home/pi/Desktop/images/25112025/23/14/image_25112025_23_14_20_2654.jpg', '/home/pi/Desktop/images/25112025/23/14/image_25112025_23_14_23_3670.jpg', '/home/pi/Desktop/images/25112025/23/14/image_25112025_23_14_26_2571.jpg', '/home/pi/Desktop/images/25112025/23/14/image_25112025_23_14_29_2792.jpg', '/home/pi/Desktop/images/25112025/23/14/image_25112025_23_14_32_3588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/14/image_25112025_23_14_17_2574.jpg
/home/pi/Desktop/images/25112025/23/14/image_25112025_23_14_20_2654.jpg
/home/pi/Desktop/images/25112025/23/14/image_25112025_23_14_23_3670.jpg
/home/pi/Desktop/images/25112025/23/14/image_25112025_23_14_26_2571.jpg
/home/pi/Desktop/images/25112025/23/14/image_25112025_23_14_29_2792.jpg
/home/pi/Desktop/images/25112025/23/14/image_25112025_23_14_32_3588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397245742","1397245745","1397245739","1397245733","1397245736","1397245744"],"photo_ids_order":["1397245733","1397245736","1397245739","1397245742","1397245744","1397245745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fab572f4ee8f42e1ace44bf1d5f7c0d7.jpg","text":"TemporaryFile(/tmp/multipartBody7698459530664683000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610594016,"filename":"image_25112025_23_14_26_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/26d24d2d975794826a1f0b9cd9e394b2.jpg","text":"TemporaryFile(/tmp/multipartBody3340967503902730249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610594016,"filename":"image_25112025_23_14_32_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/1/85af563341bfd8221e9c62cb7a0786af.jpg","text":"TemporaryFile(/tmp/multipartBody6066573175441462313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610594016,"filename":"image_25112025_23_14_23_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7e5b4a7687f198487c7f8e1b21352440.jpg","text":"TemporaryFile(/tmp/multipartBody6861559882363321459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610594016,"filename":"image_25112025_23_14_17_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2c42ec04ed21c35e993d84a2fe35fa8a.jpg","text":"TemporaryFile(/tmp/multipartBody5585536531599102788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610594016,"filename":"image_25112025_23_14_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/1/6485ddbe6f920f9bf12dc4e552524783.jpg","text":"TemporaryFile(/tmp/multipartBody2760416338625374398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610594016,"filename":"image_25112025_23_14_29_2792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245739","file1":"1397245736","file0":"1397245733","file4":"1397245744","file5":"1397245745","file3":"1397245742"},"map_files_photo_id_array":[{"photo_id":"1397245745","filename":"file5"},{"photo_id":"1397245739","filename":"file2"},{"photo_id":"1397245744","filename":"file4"},{"photo_id":"1397245736","filename":"file1"},{"photo_id":"1397245733","filename":"file0"},{"photo_id":"1397245742","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397245742":["hashtag1","hashtag2"]},{"1397245745":["hashtag1","hashtag2"]},{"1397245739":["hashtag1","hashtag2"]},{"1397245733":["hashtag1","hashtag2"]},{"1397245736":["hashtag1","hashtag2"]},{"1397245744":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397245742, 1397245745, 1397245739, 1397245733, 1397245736, 1397245744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35971975326538 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 18:36:12.514608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/14/image_25112025_23_14_35_2591.jpg', '/home/pi/Desktop/images/25112025/23/14/image_25112025_23_14_42_3759.jpg', '/home/pi/Desktop/images/25112025/23/14/image_25112025_23_14_44_2698.jpg', '/home/pi/Desktop/images/25112025/23/14/image_25112025_23_14_47_2578.jpg', '/home/pi/Desktop/images/25112025/23/14/image_25112025_23_14_51_3741.jpg', '/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_04_13095.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/14/image_25112025_23_14_35_2591.jpg
/home/pi/Desktop/images/25112025/23/14/image_25112025_23_14_42_3759.jpg
/home/pi/Desktop/images/25112025/23/14/image_25112025_23_14_44_2698.jpg
/home/pi/Desktop/images/25112025/23/14/image_25112025_23_14_47_2578.jpg
/home/pi/Desktop/images/25112025/23/14/image_25112025_23_14_51_3741.jpg
/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_04_13095.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397245764","1397245761","1397245758","1397245754","1397245748","1397245750"],"photo_ids_order":["1397245748","1397245750","1397245754","1397245758","1397245761","1397245764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3e2c88b1f57eb412cedc969091c2189d.jpg","text":"TemporaryFile(/tmp/multipartBody3965102352504179031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610634144,"filename":"image_25112025_23_15_04_13095.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/33bbe6ca16109eeb45cb38dfa412b2a5.jpg","text":"TemporaryFile(/tmp/multipartBody7847936323118670501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610634144,"filename":"image_25112025_23_14_51_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/1/371e2f5637c841165cba18b173849b89.jpg","text":"TemporaryFile(/tmp/multipartBody4764673250871363663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610634144,"filename":"image_25112025_23_14_47_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/1/c039ae015881b76a686a1ad8ae0bdc5a.jpg","text":"TemporaryFile(/tmp/multipartBody3809400917973863317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610634144,"filename":"image_25112025_23_14_44_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/1/114dd1a3496e543d636ab5d1bbc36705.jpg","text":"TemporaryFile(/tmp/multipartBody3947747151650927165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610634144,"filename":"image_25112025_23_14_35_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/1/b0c0e68def71a1fb413c54a99feb95f6.jpg","text":"TemporaryFile(/tmp/multipartBody1250761262625336702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610634144,"filename":"image_25112025_23_14_42_3759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245754","file1":"1397245750","file0":"1397245748","file4":"1397245761","file5":"1397245764","file3":"1397245758"},"map_files_photo_id_array":[{"photo_id":"1397245764","filename":"file5"},{"photo_id":"1397245754","filename":"file2"},{"photo_id":"1397245761","filename":"file4"},{"photo_id":"1397245750","filename":"file1"},{"photo_id":"1397245748","filename":"file0"},{"photo_id":"1397245758","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397245764":["hashtag1","hashtag2"]},{"1397245761":["hashtag1","hashtag2"]},{"1397245758":["hashtag1","hashtag2"]},{"1397245754":["hashtag1","hashtag2"]},{"1397245748":["hashtag1","hashtag2"]},{"1397245750":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397245764, 1397245761, 1397245758, 1397245754, 1397245748, 1397245750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.93634796142578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 18:37:03.305231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/48/image_01122025_15_48_35_9774.jpg', '/home/pi/Desktop/images/01122025/15/48/image_01122025_15_48_45_9746.jpg', '/home/pi/Desktop/images/01122025/15/48/image_01122025_15_48_56_10658.jpg', '/home/pi/Desktop/images/01122025/15/48/image_01122025_15_49_05_9761.jpg', '/home/pi/Desktop/images/01122025/15/49/image_01122025_15_49_15_9866.jpg', '/home/pi/Desktop/images/01122025/15/49/image_01122025_15_49_26_10604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/48/image_01122025_15_48_35_9774.jpg
/home/pi/Desktop/images/01122025/15/48/image_01122025_15_48_45_9746.jpg
/home/pi/Desktop/images/01122025/15/48/image_01122025_15_48_56_10658.jpg
/home/pi/Desktop/images/01122025/15/48/image_01122025_15_49_05_9761.jpg
/home/pi/Desktop/images/01122025/15/49/image_01122025_15_49_15_9866.jpg
/home/pi/Desktop/images/01122025/15/49/image_01122025_15_49_26_10604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397245773","1397245775","1397245769","1397245784","1397245771","1397245780"],"photo_ids_order":["1397245769","1397245771","1397245773","1397245775","1397245780","1397245784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/69c9e16d8f25919fd36e04c20fcba8df.jpg","text":"TemporaryFile(/tmp/multipartBody443223386453816964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610684109,"filename":"image_01122025_15_48_56_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6f26347ddc14b92f7038de0c8de67e77.jpg","text":"TemporaryFile(/tmp/multipartBody1444263595541160119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610684109,"filename":"image_01122025_15_49_05_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b311a56dca9eee5a09e30f00f4991e26.jpg","text":"TemporaryFile(/tmp/multipartBody5854285617280659061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610684109,"filename":"image_01122025_15_48_35_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/1/23a6347991013d3bac1617a0ba95e7ff.jpg","text":"TemporaryFile(/tmp/multipartBody2133376303856389729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610684109,"filename":"image_01122025_15_49_26_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/1/29a80017d3fc9676645a43af4111f086.jpg","text":"TemporaryFile(/tmp/multipartBody426025928943415950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610684109,"filename":"image_01122025_15_48_45_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5309363965736e2fe5db384a0a22d004.jpg","text":"TemporaryFile(/tmp/multipartBody4943126999620420636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610684109,"filename":"image_01122025_15_49_15_9866.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245773","file1":"1397245771","file0":"1397245769","file4":"1397245780","file5":"1397245784","file3":"1397245775"},"map_files_photo_id_array":[{"photo_id":"1397245784","filename":"file5"},{"photo_id":"1397245773","filename":"file2"},{"photo_id":"1397245780","filename":"file4"},{"photo_id":"1397245771","filename":"file1"},{"photo_id":"1397245769","filename":"file0"},{"photo_id":"1397245775","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397245773":["hashtag1","hashtag2"]},{"1397245775":["hashtag1","hashtag2"]},{"1397245769":["hashtag1","hashtag2"]},{"1397245784":["hashtag1","hashtag2"]},{"1397245771":["hashtag1","hashtag2"]},{"1397245780":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397245773, 1397245775, 1397245769, 1397245784, 1397245771, 1397245780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.91327238082886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 18:38:02.370244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/49/image_01122025_15_49_36_9868.jpg', '/home/pi/Desktop/images/01122025/15/49/image_01122025_15_49_45_9632.jpg', '/home/pi/Desktop/images/01122025/15/49/image_01122025_15_49_55_9677.jpg', '/home/pi/Desktop/images/01122025/15/49/image_01122025_15_50_06_10673.jpg', '/home/pi/Desktop/images/01122025/15/50/image_01122025_15_50_15_9645.jpg', '/home/pi/Desktop/images/01122025/15/50/image_01122025_15_50_25_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/49/image_01122025_15_49_36_9868.jpg
/home/pi/Desktop/images/01122025/15/49/image_01122025_15_49_45_9632.jpg
/home/pi/Desktop/images/01122025/15/49/image_01122025_15_49_55_9677.jpg
/home/pi/Desktop/images/01122025/15/49/image_01122025_15_50_06_10673.jpg
/home/pi/Desktop/images/01122025/15/50/image_01122025_15_50_15_9645.jpg
/home/pi/Desktop/images/01122025/15/50/image_01122025_15_50_25_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":["1397245804","1397245801","1397245796","1397245799","1397245808","1397245795"],"photo_ids_order":["1397245795","1397245796","1397245799","1397245801","1397245804","1397245808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4fa317d292a551007c324980945ea22d.jpg","text":"TemporaryFile(/tmp/multipartBody9066639569175111715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610743122,"filename":"image_01122025_15_50_15_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ef94e1e125c6ec7810eb17d9c3085224.jpg","text":"TemporaryFile(/tmp/multipartBody8543339913701557588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610743122,"filename":"image_01122025_15_50_06_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/824a596d77cc0e714a6f4f83def3c4e4.jpg","text":"TemporaryFile(/tmp/multipartBody2099371825003481090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610743122,"filename":"image_01122025_15_49_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/1/d4d7c089f84eeee605a80ca80e5895ae.jpg","text":"TemporaryFile(/tmp/multipartBody6571792940148445417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610743122,"filename":"image_01122025_15_49_55_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4194abbea5e29cb8395219d33479e644.jpg","text":"TemporaryFile(/tmp/multipartBody55067180546311863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610743122,"filename":"image_01122025_15_50_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/1/068e123c2daddbcb894c84fc03a46851.jpg","text":"TemporaryFile(/tmp/multipartBody2239713304864614288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610743122,"filename":"image_01122025_15_49_36_9868.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245799","file1":"1397245796","file0":"1397245795","file4":"1397245804","file5":"1397245808","file3":"1397245801"},"map_files_photo_id_array":[{"photo_id":"1397245808","filename":"file5"},{"photo_id":"1397245799","filename":"file2"},{"photo_id":"1397245804","filename":"file4"},{"photo_id":"1397245796","filename":"file1"},{"photo_id":"1397245795","filename":"file0"},{"photo_id":"1397245801","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397245804":["hashtag1","hashtag2"]},{"1397245801":["hashtag1","hashtag2"]},{"1397245796":["hashtag1","hashtag2"]},{"1397245799":["hashtag1","hashtag2"]},{"1397245808":["hashtag1","hashtag2"]},{"1397245795":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397245804, 1397245801, 1397245796, 1397245799, 1397245808, 1397245795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65329360961914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 18:38:41.988073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_36_2927.jpg', '/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_39_3745.jpg', '/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_42_2757.jpg', '/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_45_2693.jpg', '/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_49_3598.jpg', '/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_51_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_36_2927.jpg
/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_39_3745.jpg
/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_42_2757.jpg
/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_45_2693.jpg
/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_49_3598.jpg
/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_51_2591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397245825","1397245821","1397245818","1397245823","1397245820","1397245822"],"photo_ids_order":["1397245818","1397245820","1397245821","1397245822","1397245823","1397245825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b01793d69787642b7781a89dc044ddb9.jpg","text":"TemporaryFile(/tmp/multipartBody1830518030676243355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610784545,"filename":"image_31102025_14_50_51_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/1/a4b42e4adc0d3c53ed20ceaf282f9d76.jpg","text":"TemporaryFile(/tmp/multipartBody1744633702231823974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610784545,"filename":"image_31102025_14_50_42_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b7356a34b00e6faab78ed5b3b3f82ebb.jpg","text":"TemporaryFile(/tmp/multipartBody8279815735512147745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610784545,"filename":"image_31102025_14_50_36_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/1/514f0f4a3267d7b7f06b1071bcd8790e.jpg","text":"TemporaryFile(/tmp/multipartBody1098504956583036279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610784545,"filename":"image_31102025_14_50_49_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/1/18e25ea187259e65e57f01927784d02c.jpg","text":"TemporaryFile(/tmp/multipartBody8053066331908114672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610784545,"filename":"image_31102025_14_50_39_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/1/3ad710368603c81a567b013d21f8ca09.jpg","text":"TemporaryFile(/tmp/multipartBody449964459225436813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610784545,"filename":"image_31102025_14_50_45_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245821","file1":"1397245820","file0":"1397245818","file4":"1397245823","file5":"1397245825","file3":"1397245822"},"map_files_photo_id_array":[{"photo_id":"1397245825","filename":"file5"},{"photo_id":"1397245821","filename":"file2"},{"photo_id":"1397245823","filename":"file4"},{"photo_id":"1397245820","filename":"file1"},{"photo_id":"1397245818","filename":"file0"},{"photo_id":"1397245822","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397245825":["hashtag1","hashtag2"]},{"1397245821":["hashtag1","hashtag2"]},{"1397245818":["hashtag1","hashtag2"]},{"1397245823":["hashtag1","hashtag2"]},{"1397245820":["hashtag1","hashtag2"]},{"1397245822":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397245825, 1397245821, 1397245818, 1397245823, 1397245820, 1397245822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.94718289375305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 18:39:32.129484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_05_1531.jpg', '/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_07_1747.jpg', '/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_10_1689.jpg', '/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_12_1594.jpg', '/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_13_1563.jpg', '/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_15_1635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_05_1531.jpg
/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_07_1747.jpg
/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_10_1689.jpg
/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_12_1594.jpg
/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_13_1563.jpg
/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_15_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":["1397245851","1397245845","1397245848","1397245842","1397245838","1397245847"],"photo_ids_order":["1397245838","1397245842","1397245845","1397245847","1397245848","1397245851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/147c0cc6f4545c13a840935f42c07323.jpg","text":"TemporaryFile(/tmp/multipartBody7727626878193023551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610833814,"filename":"image_25112025_23_15_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/1/62b4276e6645e83c65b4c299bd7a9057.jpg","text":"TemporaryFile(/tmp/multipartBody1604186553960123229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610833814,"filename":"image_25112025_23_15_10_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/1/3d329c9519f558f77a390fe8dbc798f2.jpg","text":"TemporaryFile(/tmp/multipartBody195610940984656990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610833814,"filename":"image_25112025_23_15_13_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/1/e20d90f9fd2c13843ac5769188192aa7.jpg","text":"TemporaryFile(/tmp/multipartBody6947523574814893926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610833814,"filename":"image_25112025_23_15_07_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/1/d418b0ecef9f17c23a5ea4dc9cfe7bc7.jpg","text":"TemporaryFile(/tmp/multipartBody7785238324636958223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610833814,"filename":"image_25112025_23_15_05_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/1/d37405665aba5effc2def028202c0970.jpg","text":"TemporaryFile(/tmp/multipartBody368100001267617034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610833814,"filename":"image_25112025_23_15_12_1594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245845","file1":"1397245842","file0":"1397245838","file4":"1397245848","file5":"1397245851","file3":"1397245847"},"map_files_photo_id_array":[{"photo_id":"1397245851","filename":"file5"},{"photo_id":"1397245845","filename":"file2"},{"photo_id":"1397245848","filename":"file4"},{"photo_id":"1397245842","filename":"file1"},{"photo_id":"1397245838","filename":"file0"},{"photo_id":"1397245847","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397245851":["hashtag1","hashtag2"]},{"1397245845":["hashtag1","hashtag2"]},{"1397245848":["hashtag1","hashtag2"]},{"1397245842":["hashtag1","hashtag2"]},{"1397245838":["hashtag1","hashtag2"]},{"1397245847":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397245851, 1397245845, 1397245848, 1397245842, 1397245838, 1397245847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06782007217407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 18:40:12.273676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_17_1704.jpg', '/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_20_2752.jpg', '/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_26_2588.jpg', '/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_29_3532.jpg', '/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_32_2565.jpg', '/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_35_2781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_17_1704.jpg
/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_20_2752.jpg
/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_26_2588.jpg
/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_29_3532.jpg
/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_32_2565.jpg
/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_35_2781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397245872","1397245854","1397245868","1397245859","1397245855","1397245864"],"photo_ids_order":["1397245854","1397245855","1397245859","1397245864","1397245868","1397245872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2f24900cfdabb5dc8b72404a56299e59.jpg","text":"TemporaryFile(/tmp/multipartBody3922187467895693182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610873857,"filename":"image_25112025_23_15_35_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/1/f3a1bd13cda13a032e1a3218d8ccb07c.jpg","text":"TemporaryFile(/tmp/multipartBody6214076803869874275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610873857,"filename":"image_25112025_23_15_17_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/1/d3d690c40de9317b136046e3c9983c19.jpg","text":"TemporaryFile(/tmp/multipartBody2415466102392263121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610873857,"filename":"image_25112025_23_15_32_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/1/74709bed88e6e7855b75d0f0c0b6fb7b.jpg","text":"TemporaryFile(/tmp/multipartBody2917838412779888669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610873857,"filename":"image_25112025_23_15_26_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d5257827b49e4d34cbf60c3f9f21e935.jpg","text":"TemporaryFile(/tmp/multipartBody665990769650424001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610873857,"filename":"image_25112025_23_15_20_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bf7e84a6b07e675546a5d3e2bb8dc7e5.jpg","text":"TemporaryFile(/tmp/multipartBody6674111915317761232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610873857,"filename":"image_25112025_23_15_29_3532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245859","file1":"1397245855","file0":"1397245854","file4":"1397245868","file5":"1397245872","file3":"1397245864"},"map_files_photo_id_array":[{"photo_id":"1397245872","filename":"file5"},{"photo_id":"1397245859","filename":"file2"},{"photo_id":"1397245868","filename":"file4"},{"photo_id":"1397245855","filename":"file1"},{"photo_id":"1397245854","filename":"file0"},{"photo_id":"1397245864","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397245872":["hashtag1","hashtag2"]},{"1397245854":["hashtag1","hashtag2"]},{"1397245868":["hashtag1","hashtag2"]},{"1397245859":["hashtag1","hashtag2"]},{"1397245855":["hashtag1","hashtag2"]},{"1397245864":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397245872, 1397245854, 1397245868, 1397245859, 1397245855, 1397245864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.418599128723145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 18:41:02.933619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/50/image_01122025_15_50_36_10700.jpg', '/home/pi/Desktop/images/01122025/15/50/image_01122025_15_50_45_9551.jpg', '/home/pi/Desktop/images/01122025/15/50/image_01122025_15_50_55_9689.jpg', '/home/pi/Desktop/images/01122025/15/50/image_01122025_15_51_06_10692.jpg', '/home/pi/Desktop/images/01122025/15/51/image_01122025_15_51_15_9687.jpg', '/home/pi/Desktop/images/01122025/15/51/image_01122025_15_51_25_9825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/50/image_01122025_15_50_36_10700.jpg
/home/pi/Desktop/images/01122025/15/50/image_01122025_15_50_45_9551.jpg
/home/pi/Desktop/images/01122025/15/50/image_01122025_15_50_55_9689.jpg
/home/pi/Desktop/images/01122025/15/50/image_01122025_15_51_06_10692.jpg
/home/pi/Desktop/images/01122025/15/51/image_01122025_15_51_15_9687.jpg
/home/pi/Desktop/images/01122025/15/51/image_01122025_15_51_25_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":["1397245893","1397245884","1397245878","1397245880","1397245888","1397245882"],"photo_ids_order":["1397245878","1397245880","1397245882","1397245884","1397245888","1397245893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/41f45f86a48063798f8b13ac5af8e0c5.jpg","text":"TemporaryFile(/tmp/multipartBody447354939048602079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610923685,"filename":"image_01122025_15_51_25_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d27405943d51d0fde0e91f0915488402.jpg","text":"TemporaryFile(/tmp/multipartBody8388110559074459017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610923685,"filename":"image_01122025_15_51_06_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/1/031125486dcbeca8fde15089c04d5676.jpg","text":"TemporaryFile(/tmp/multipartBody6172289178389645287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610923685,"filename":"image_01122025_15_50_36_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f6018488da70fe1f2f04606a7af62ed0.jpg","text":"TemporaryFile(/tmp/multipartBody3005159313039956454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610923685,"filename":"image_01122025_15_50_45_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/1/e523cbc91e75481866d18dce0f587a4f.jpg","text":"TemporaryFile(/tmp/multipartBody4815120598890355626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610923685,"filename":"image_01122025_15_51_15_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/11d3a8fbbca5887f5b0d630c76197aa7.jpg","text":"TemporaryFile(/tmp/multipartBody1044268277419852007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610923685,"filename":"image_01122025_15_50_55_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245882","file1":"1397245880","file0":"1397245878","file4":"1397245888","file5":"1397245893","file3":"1397245884"},"map_files_photo_id_array":[{"photo_id":"1397245893","filename":"file5"},{"photo_id":"1397245882","filename":"file2"},{"photo_id":"1397245888","filename":"file4"},{"photo_id":"1397245880","filename":"file1"},{"photo_id":"1397245878","filename":"file0"},{"photo_id":"1397245884","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397245893":["hashtag1","hashtag2"]},{"1397245884":["hashtag1","hashtag2"]},{"1397245878":["hashtag1","hashtag2"]},{"1397245880":["hashtag1","hashtag2"]},{"1397245888":["hashtag1","hashtag2"]},{"1397245882":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397245893, 1397245884, 1397245878, 1397245880, 1397245888, 1397245882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.72146129608154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 18:42:03.075685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/51/image_01122025_15_51_36_10624.jpg', '/home/pi/Desktop/images/01122025/15/51/image_01122025_15_51_45_9636.jpg', '/home/pi/Desktop/images/01122025/15/51/image_01122025_15_51_55_9537.jpg', '/home/pi/Desktop/images/01122025/15/51/image_01122025_15_52_05_10615.jpg', '/home/pi/Desktop/images/01122025/15/52/image_01122025_15_52_15_9571.jpg', '/home/pi/Desktop/images/01122025/15/52/image_01122025_15_52_26_10754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/51/image_01122025_15_51_36_10624.jpg
/home/pi/Desktop/images/01122025/15/51/image_01122025_15_51_45_9636.jpg
/home/pi/Desktop/images/01122025/15/51/image_01122025_15_51_55_9537.jpg
/home/pi/Desktop/images/01122025/15/51/image_01122025_15_52_05_10615.jpg
/home/pi/Desktop/images/01122025/15/52/image_01122025_15_52_15_9571.jpg
/home/pi/Desktop/images/01122025/15/52/image_01122025_15_52_26_10754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397245909","1397245908","1397245917","1397245910","1397245913","1397245921"],"photo_ids_order":["1397245908","1397245909","1397245910","1397245913","1397245917","1397245921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/905645df1d4a9be37c74d00580d08f0a.jpg","text":"TemporaryFile(/tmp/multipartBody3147634531503879341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610984453,"filename":"image_01122025_15_51_45_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/40f8bab59bdc642fb017a2ca002ba148.jpg","text":"TemporaryFile(/tmp/multipartBody6527789495841955409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610984453,"filename":"image_01122025_15_51_36_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/917fdbe454aaa49b2dde1ee364080755.jpg","text":"TemporaryFile(/tmp/multipartBody3287349809214322692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610984453,"filename":"image_01122025_15_52_15_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/30bb82bdcaff0a9b250ac17bc87f795f.jpg","text":"TemporaryFile(/tmp/multipartBody6468028139791900722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610984453,"filename":"image_01122025_15_51_55_9537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/635ac6589397d3f87729206f56eb7c72.jpg","text":"TemporaryFile(/tmp/multipartBody8913563660075619764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610984453,"filename":"image_01122025_15_52_05_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f307d64bc9c53c447cd2413fb528a859.jpg","text":"TemporaryFile(/tmp/multipartBody7502877452101589644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764610984453,"filename":"image_01122025_15_52_26_10754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245910","file1":"1397245909","file0":"1397245908","file4":"1397245917","file5":"1397245921","file3":"1397245913"},"map_files_photo_id_array":[{"photo_id":"1397245921","filename":"file5"},{"photo_id":"1397245910","filename":"file2"},{"photo_id":"1397245917","filename":"file4"},{"photo_id":"1397245909","filename":"file1"},{"photo_id":"1397245908","filename":"file0"},{"photo_id":"1397245913","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397245909":["hashtag1","hashtag2"]},{"1397245908":["hashtag1","hashtag2"]},{"1397245917":["hashtag1","hashtag2"]},{"1397245910":["hashtag1","hashtag2"]},{"1397245913":["hashtag1","hashtag2"]},{"1397245921":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397245909, 1397245908, 1397245917, 1397245910, 1397245913, 1397245921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56266927719116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 18:42:42.656138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_54_2674.jpg', '/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_58_3786.jpg', '/home/pi/Desktop/images/31102025/14/50/image_31102025_14_51_00_2555.jpg', '/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_03_2685.jpg', '/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_06_3587.jpg', '/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_09_2770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_54_2674.jpg
/home/pi/Desktop/images/31102025/14/50/image_31102025_14_50_58_3786.jpg
/home/pi/Desktop/images/31102025/14/50/image_31102025_14_51_00_2555.jpg
/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_03_2685.jpg
/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_06_3587.jpg
/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_09_2770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397245932","1397245935","1397245929","1397245931","1397245934","1397245933"],"photo_ids_order":["1397245929","1397245931","1397245932","1397245933","1397245934","1397245935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/10906f70abd219b71e9e964f935cf0ca.jpg","text":"TemporaryFile(/tmp/multipartBody6045323396611571281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611025169,"filename":"image_31102025_14_51_00_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/99f212843606bf337cb2be96536759b9.jpg","text":"TemporaryFile(/tmp/multipartBody8909804823048246709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611025169,"filename":"image_31102025_14_51_09_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/1/9c0a23b213d92e1afdc695100636cbe5.jpg","text":"TemporaryFile(/tmp/multipartBody37869657670579671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611025169,"filename":"image_31102025_14_50_54_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/1/2e7b754eb956e9be7064c96672702d49.jpg","text":"TemporaryFile(/tmp/multipartBody386254329600880243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611025169,"filename":"image_31102025_14_50_58_3786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/47ae9248ad5744301691b8c6819648b9.jpg","text":"TemporaryFile(/tmp/multipartBody7729965165853261620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611025169,"filename":"image_31102025_14_51_06_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/1/6599433cb832deea2f8e98ac90377859.jpg","text":"TemporaryFile(/tmp/multipartBody4328046769852720966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611025169,"filename":"image_31102025_14_51_03_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245932","file1":"1397245931","file0":"1397245929","file4":"1397245934","file5":"1397245935","file3":"1397245933"},"map_files_photo_id_array":[{"photo_id":"1397245935","filename":"file5"},{"photo_id":"1397245932","filename":"file2"},{"photo_id":"1397245934","filename":"file4"},{"photo_id":"1397245931","filename":"file1"},{"photo_id":"1397245929","filename":"file0"},{"photo_id":"1397245933","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397245932":["hashtag1","hashtag2"]},{"1397245935":["hashtag1","hashtag2"]},{"1397245929":["hashtag1","hashtag2"]},{"1397245931":["hashtag1","hashtag2"]},{"1397245934":["hashtag1","hashtag2"]},{"1397245933":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397245932, 1397245935, 1397245929, 1397245931, 1397245934, 1397245933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24117922782898 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 18:43:21.856949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/52/image_01122025_15_52_35_9622.jpg', '/home/pi/Desktop/images/01122025/15/52/image_01122025_15_52_45_9709.jpg', '/home/pi/Desktop/images/01122025/15/52/image_01122025_15_52_56_10665.jpg', '/home/pi/Desktop/images/01122025/15/52/image_01122025_15_53_05_9674.jpg', '/home/pi/Desktop/images/01122025/15/53/image_01122025_15_53_15_9815.jpg', '/home/pi/Desktop/images/01122025/15/53/image_01122025_15_53_25_9846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/52/image_01122025_15_52_35_9622.jpg
/home/pi/Desktop/images/01122025/15/52/image_01122025_15_52_45_9709.jpg
/home/pi/Desktop/images/01122025/15/52/image_01122025_15_52_56_10665.jpg
/home/pi/Desktop/images/01122025/15/52/image_01122025_15_53_05_9674.jpg
/home/pi/Desktop/images/01122025/15/53/image_01122025_15_53_15_9815.jpg
/home/pi/Desktop/images/01122025/15/53/image_01122025_15_53_25_9846.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397245945","1397245941","1397245961","1397245949","1397245952","1397245957"],"photo_ids_order":["1397245941","1397245945","1397245949","1397245952","1397245957","1397245961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b5080685dd5f9bd5e030ecd0d0fd098f.jpg","text":"TemporaryFile(/tmp/multipartBody5429497597673850282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611062553,"filename":"image_01122025_15_52_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/1/a671c30647700cf4c96f83f30de57211.jpg","text":"TemporaryFile(/tmp/multipartBody8152314909473307720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611062553,"filename":"image_01122025_15_52_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/1/8af851fcb278be1b6e247dfad4709abd.jpg","text":"TemporaryFile(/tmp/multipartBody8840671988229601707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611062553,"filename":"image_01122025_15_53_25_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/118c67c74e1308f4b676e4fa90c964ff.jpg","text":"TemporaryFile(/tmp/multipartBody2972370203549273978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611062553,"filename":"image_01122025_15_52_56_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d493cbdcb8a6703798edbd8a635f851d.jpg","text":"TemporaryFile(/tmp/multipartBody8394442028304756320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611062553,"filename":"image_01122025_15_53_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/1/baef11bcd5cefa099a61033a7e019d73.jpg","text":"TemporaryFile(/tmp/multipartBody8175633488557557383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611062553,"filename":"image_01122025_15_53_15_9815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245949","file1":"1397245945","file0":"1397245941","file4":"1397245957","file5":"1397245961","file3":"1397245952"},"map_files_photo_id_array":[{"photo_id":"1397245961","filename":"file5"},{"photo_id":"1397245949","filename":"file2"},{"photo_id":"1397245957","filename":"file4"},{"photo_id":"1397245945","filename":"file1"},{"photo_id":"1397245941","filename":"file0"},{"photo_id":"1397245952","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397245945":["hashtag1","hashtag2"]},{"1397245941":["hashtag1","hashtag2"]},{"1397245961":["hashtag1","hashtag2"]},{"1397245949":["hashtag1","hashtag2"]},{"1397245952":["hashtag1","hashtag2"]},{"1397245957":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397245945, 1397245941, 1397245961, 1397245949, 1397245952, 1397245957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.60663414001465 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-01 18:44:12.023617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_38_3705.jpg', '/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_41_2640.jpg', '/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_54_12567.jpg', '/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_55_1604.jpg', '/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_57_1732.jpg', '/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_59_1677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_38_3705.jpg
/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_41_2640.jpg
/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_54_12567.jpg
/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_55_1604.jpg
/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_57_1732.jpg
/home/pi/Desktop/images/25112025/23/15/image_25112025_23_15_59_1677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397245980","1397245974","1397245983","1397245968","1397245970","1397245987"],"photo_ids_order":["1397245968","1397245970","1397245974","1397245980","1397245983","1397245987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/36ff26869c670b11718b62105fb4e7da.jpg","text":"TemporaryFile(/tmp/multipartBody5748881318025173194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611113614,"filename":"image_25112025_23_15_55_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/1/fb6fd8dfc40c439e59a5cc7165d76784.jpg","text":"TemporaryFile(/tmp/multipartBody6973306343335370372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611113614,"filename":"image_25112025_23_15_54_12567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/12ee74294a412c3a688ca918c598c4be.jpg","text":"TemporaryFile(/tmp/multipartBody5010711154707779540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611113614,"filename":"image_25112025_23_15_57_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/1/fe6e9ce647d05642ea18da201bc3c546.jpg","text":"TemporaryFile(/tmp/multipartBody2053329312984416869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611113614,"filename":"image_25112025_23_15_38_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3faf84e11f2c5e75ad906035907ffab5.jpg","text":"TemporaryFile(/tmp/multipartBody7889948966939313794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611113614,"filename":"image_25112025_23_15_41_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3e26b656809c1cdab2e98e095b8f4585.jpg","text":"TemporaryFile(/tmp/multipartBody3813056737756163721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611113614,"filename":"image_25112025_23_15_59_1677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245974","file1":"1397245970","file0":"1397245968","file4":"1397245983","file5":"1397245987","file3":"1397245980"},"map_files_photo_id_array":[{"photo_id":"1397245987","filename":"file5"},{"photo_id":"1397245974","filename":"file2"},{"photo_id":"1397245983","filename":"file4"},{"photo_id":"1397245970","filename":"file1"},{"photo_id":"1397245968","filename":"file0"},{"photo_id":"1397245980","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397245980":["hashtag1","hashtag2"]},{"1397245974":["hashtag1","hashtag2"]},{"1397245983":["hashtag1","hashtag2"]},{"1397245968":["hashtag1","hashtag2"]},{"1397245970":["hashtag1","hashtag2"]},{"1397245987":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397245980, 1397245974, 1397245983, 1397245968, 1397245970, 1397245987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.833313941955566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 18:45:02.972885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/53/image_01122025_15_53_35_9765.jpg', '/home/pi/Desktop/images/01122025/15/53/image_01122025_15_53_46_10716.jpg', '/home/pi/Desktop/images/01122025/15/53/image_01122025_15_53_55_9839.jpg', '/home/pi/Desktop/images/01122025/15/53/image_01122025_15_54_05_9818.jpg', '/home/pi/Desktop/images/01122025/15/54/image_01122025_15_54_15_9690.jpg', '/home/pi/Desktop/images/01122025/15/54/image_01122025_15_54_26_10705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/53/image_01122025_15_53_35_9765.jpg
/home/pi/Desktop/images/01122025/15/53/image_01122025_15_53_46_10716.jpg
/home/pi/Desktop/images/01122025/15/53/image_01122025_15_53_55_9839.jpg
/home/pi/Desktop/images/01122025/15/53/image_01122025_15_54_05_9818.jpg
/home/pi/Desktop/images/01122025/15/54/image_01122025_15_54_15_9690.jpg
/home/pi/Desktop/images/01122025/15/54/image_01122025_15_54_26_10705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397245992","1397245995","1397246007","1397245997","1397245999","1397246002"],"photo_ids_order":["1397245992","1397245995","1397245997","1397245999","1397246002","1397246007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7db18a9fbe43c50cd1314ed4d162d6fe.jpg","text":"TemporaryFile(/tmp/multipartBody6321071579854327909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611163720,"filename":"image_01122025_15_53_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/1/fa28d0be1bb17d44dd9b2da8f0394a32.jpg","text":"TemporaryFile(/tmp/multipartBody6376414115161939957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611163720,"filename":"image_01122025_15_53_46_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/1/b6d9ffe0c406e7273f1a91c260409583.jpg","text":"TemporaryFile(/tmp/multipartBody6707540599155305080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611163720,"filename":"image_01122025_15_54_26_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/1/2fbb950f141bbe55e6fde6cd8255ce1a.jpg","text":"TemporaryFile(/tmp/multipartBody5461430378881479052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611163720,"filename":"image_01122025_15_53_55_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3312d1f4cc43dd627e12e0b60af00ea3.jpg","text":"TemporaryFile(/tmp/multipartBody552280889115385263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611163720,"filename":"image_01122025_15_54_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/1/0a324d94c8a11debe5008b6f133e275e.jpg","text":"TemporaryFile(/tmp/multipartBody7651090776540475740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611163720,"filename":"image_01122025_15_54_15_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397245997","file1":"1397245995","file0":"1397245992","file4":"1397246002","file5":"1397246007","file3":"1397245999"},"map_files_photo_id_array":[{"photo_id":"1397246007","filename":"file5"},{"photo_id":"1397245997","filename":"file2"},{"photo_id":"1397246002","filename":"file4"},{"photo_id":"1397245995","filename":"file1"},{"photo_id":"1397245992","filename":"file0"},{"photo_id":"1397245999","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397245992":["hashtag1","hashtag2"]},{"1397245995":["hashtag1","hashtag2"]},{"1397246007":["hashtag1","hashtag2"]},{"1397245997":["hashtag1","hashtag2"]},{"1397245999":["hashtag1","hashtag2"]},{"1397246002":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397245992, 1397245995, 1397246007, 1397245997, 1397245999, 1397246002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29764270782471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 18:45:42.325209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_12_2910.jpg', '/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_15_2647.jpg', '/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_18_3539.jpg', '/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_21_2659.jpg', '/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_25_3672.jpg', '/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_30_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_12_2910.jpg
/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_15_2647.jpg
/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_18_3539.jpg
/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_21_2659.jpg
/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_25_3672.jpg
/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_30_2659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397246019","1397246016","1397246021","1397246018","1397246020","1397246023"],"photo_ids_order":["1397246016","1397246018","1397246019","1397246020","1397246021","1397246023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cdf41f703d3c631030e91f385f71d864.jpg","text":"TemporaryFile(/tmp/multipartBody179716718989892725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611204914,"filename":"image_31102025_14_51_18_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5f3e66627dc9dced2d21b8bda8c9bc12.jpg","text":"TemporaryFile(/tmp/multipartBody5403351314967259221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611204914,"filename":"image_31102025_14_51_12_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/1/99aa59b7a1f985cb55dcc03ccd7da1a6.jpg","text":"TemporaryFile(/tmp/multipartBody4873090522721516410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611204914,"filename":"image_31102025_14_51_25_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/1/ee215308522f554281e1c4dec66b238b.jpg","text":"TemporaryFile(/tmp/multipartBody5407360845555700178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611204914,"filename":"image_31102025_14_51_15_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/1/6e9d3c94ccc152411b179164edff834f.jpg","text":"TemporaryFile(/tmp/multipartBody7570591814640792303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611204914,"filename":"image_31102025_14_51_21_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/1/525130a5a6e8b5e7dbee9f71caf6b248.jpg","text":"TemporaryFile(/tmp/multipartBody2665976268704185144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611204914,"filename":"image_31102025_14_51_30_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246019","file1":"1397246018","file0":"1397246016","file4":"1397246021","file5":"1397246023","file3":"1397246020"},"map_files_photo_id_array":[{"photo_id":"1397246023","filename":"file5"},{"photo_id":"1397246019","filename":"file2"},{"photo_id":"1397246021","filename":"file4"},{"photo_id":"1397246018","filename":"file1"},{"photo_id":"1397246016","filename":"file0"},{"photo_id":"1397246020","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397246019":["hashtag1","hashtag2"]},{"1397246016":["hashtag1","hashtag2"]},{"1397246021":["hashtag1","hashtag2"]},{"1397246018":["hashtag1","hashtag2"]},{"1397246020":["hashtag1","hashtag2"]},{"1397246023":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397246019, 1397246016, 1397246021, 1397246018, 1397246020, 1397246023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.31918692588806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 18:46:32.541230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/15/image_25112025_23_16_00_1625.jpg', '/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_02_1687.jpg', '/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_04_1609.jpg', '/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_06_1952.jpg', '/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_08_2506.jpg', '/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_11_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/15/image_25112025_23_16_00_1625.jpg
/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_02_1687.jpg
/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_04_1609.jpg
/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_06_1952.jpg
/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_08_2506.jpg
/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_11_2702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397246043","1397246037","1397246045","1397246041","1397246035","1397246044"],"photo_ids_order":["1397246035","1397246037","1397246041","1397246043","1397246044","1397246045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f0a98860ecc62bda710d20325aa10293.jpg","text":"TemporaryFile(/tmp/multipartBody4784280130685937077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611254200,"filename":"image_25112025_23_16_06_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/1/0255dd1b2a1ba7dfe24c501863c6ffe0.jpg","text":"TemporaryFile(/tmp/multipartBody4559678764306782987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611254200,"filename":"image_25112025_23_16_02_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f4f4aca533524b739afc92a59efa8911.jpg","text":"TemporaryFile(/tmp/multipartBody7483711439428073938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611254200,"filename":"image_25112025_23_16_11_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6e4580a6b811a7210224fcb837b5a9d1.jpg","text":"TemporaryFile(/tmp/multipartBody7528080998689408368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611254200,"filename":"image_25112025_23_16_04_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/1/1dff87ee5a43f2fd5c828a912fb677f9.jpg","text":"TemporaryFile(/tmp/multipartBody5509056281279098516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611254200,"filename":"image_25112025_23_16_00_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/1/9b8f8b84c5edfb16098db1be005618c4.jpg","text":"TemporaryFile(/tmp/multipartBody3870651489606161346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611254200,"filename":"image_25112025_23_16_08_2506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246041","file1":"1397246037","file0":"1397246035","file4":"1397246044","file5":"1397246045","file3":"1397246043"},"map_files_photo_id_array":[{"photo_id":"1397246045","filename":"file5"},{"photo_id":"1397246041","filename":"file2"},{"photo_id":"1397246044","filename":"file4"},{"photo_id":"1397246037","filename":"file1"},{"photo_id":"1397246035","filename":"file0"},{"photo_id":"1397246043","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397246043":["hashtag1","hashtag2"]},{"1397246037":["hashtag1","hashtag2"]},{"1397246045":["hashtag1","hashtag2"]},{"1397246041":["hashtag1","hashtag2"]},{"1397246035":["hashtag1","hashtag2"]},{"1397246044":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397246043, 1397246037, 1397246045, 1397246041, 1397246035, 1397246044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58783411979675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 18:47:12.673012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_14_2749.jpg', '/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_17_3673.jpg', '/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_20_2603.jpg', '/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_23_2758.jpg', '/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_26_3774.jpg', '/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_29_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_14_2749.jpg
/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_17_3673.jpg
/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_20_2603.jpg
/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_23_2758.jpg
/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_26_3774.jpg
/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_29_2601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397246066","1397246060","1397246048","1397246063","1397246051","1397246056"],"photo_ids_order":["1397246048","1397246051","1397246056","1397246060","1397246063","1397246066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8e72b3b8d67299f0124b244afc109966.jpg","text":"TemporaryFile(/tmp/multipartBody2386202912549899705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611295862,"filename":"image_25112025_23_16_29_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/1/75e58575d321a67a2cb2b360693a34ae.jpg","text":"TemporaryFile(/tmp/multipartBody486835215737937993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611295862,"filename":"image_25112025_23_16_23_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/444ba981efaee6f4415d606e9bed870f.jpg","text":"TemporaryFile(/tmp/multipartBody628735473760635269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611295862,"filename":"image_25112025_23_16_14_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4d817d28221fd7ed3ada046c188e798f.jpg","text":"TemporaryFile(/tmp/multipartBody636410174363877902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611295862,"filename":"image_25112025_23_16_26_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/1/23a07090098d55379cdfd6a79135f640.jpg","text":"TemporaryFile(/tmp/multipartBody4620988356946662417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611295862,"filename":"image_25112025_23_16_17_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/1/a78cee7b00e0f6eb7054fba97e44bb44.jpg","text":"TemporaryFile(/tmp/multipartBody3360045292215891639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611295862,"filename":"image_25112025_23_16_20_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246056","file1":"1397246051","file0":"1397246048","file4":"1397246063","file5":"1397246066","file3":"1397246060"},"map_files_photo_id_array":[{"photo_id":"1397246066","filename":"file5"},{"photo_id":"1397246056","filename":"file2"},{"photo_id":"1397246063","filename":"file4"},{"photo_id":"1397246051","filename":"file1"},{"photo_id":"1397246048","filename":"file0"},{"photo_id":"1397246060","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397246066":["hashtag1","hashtag2"]},{"1397246060":["hashtag1","hashtag2"]},{"1397246048":["hashtag1","hashtag2"]},{"1397246063":["hashtag1","hashtag2"]},{"1397246051":["hashtag1","hashtag2"]},{"1397246056":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397246066, 1397246060, 1397246048, 1397246063, 1397246051, 1397246056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.04501533508301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 18:48:02.371011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/54/image_01122025_15_54_35_9651.jpg', '/home/pi/Desktop/images/01122025/15/54/image_01122025_15_54_45_9695.jpg', '/home/pi/Desktop/images/01122025/15/54/image_01122025_15_54_56_10759.jpg', '/home/pi/Desktop/images/01122025/15/54/image_01122025_15_55_06_9845.jpg', '/home/pi/Desktop/images/01122025/15/55/image_01122025_15_55_15_9703.jpg', '/home/pi/Desktop/images/01122025/15/55/image_01122025_15_55_25_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/54/image_01122025_15_54_35_9651.jpg
/home/pi/Desktop/images/01122025/15/54/image_01122025_15_54_45_9695.jpg
/home/pi/Desktop/images/01122025/15/54/image_01122025_15_54_56_10759.jpg
/home/pi/Desktop/images/01122025/15/54/image_01122025_15_55_06_9845.jpg
/home/pi/Desktop/images/01122025/15/55/image_01122025_15_55_15_9703.jpg
/home/pi/Desktop/images/01122025/15/55/image_01122025_15_55_25_9750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397246070","1397246075","1397246069","1397246083","1397246080","1397246073"],"photo_ids_order":["1397246069","1397246070","1397246073","1397246075","1397246080","1397246083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fb555c21315f90c6bf08772d5ee6b60c.jpg","text":"TemporaryFile(/tmp/multipartBody5806435469316136854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611343084,"filename":"image_01122025_15_54_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/1/58785557ec9be2215ca616efcdddd8b1.jpg","text":"TemporaryFile(/tmp/multipartBody2753839587851646125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611343084,"filename":"image_01122025_15_55_06_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/1/a6854a0db5a7cccac2cea34e38b61f2f.jpg","text":"TemporaryFile(/tmp/multipartBody1463130714542984340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611343084,"filename":"image_01122025_15_54_35_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5d45055d2d5ae760c705d62c128a9388.jpg","text":"TemporaryFile(/tmp/multipartBody6142899043643529044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611343084,"filename":"image_01122025_15_55_25_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/36ed93fb112ca9886bf78f22a606001d.jpg","text":"TemporaryFile(/tmp/multipartBody6610004776634961111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611343084,"filename":"image_01122025_15_55_15_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ca33242dfdc31593900cfa61d6a85021.jpg","text":"TemporaryFile(/tmp/multipartBody1792467405281759575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611343084,"filename":"image_01122025_15_54_56_10759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246073","file1":"1397246070","file0":"1397246069","file4":"1397246080","file5":"1397246083","file3":"1397246075"},"map_files_photo_id_array":[{"photo_id":"1397246083","filename":"file5"},{"photo_id":"1397246073","filename":"file2"},{"photo_id":"1397246080","filename":"file4"},{"photo_id":"1397246070","filename":"file1"},{"photo_id":"1397246069","filename":"file0"},{"photo_id":"1397246075","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397246070":["hashtag1","hashtag2"]},{"1397246075":["hashtag1","hashtag2"]},{"1397246069":["hashtag1","hashtag2"]},{"1397246083":["hashtag1","hashtag2"]},{"1397246080":["hashtag1","hashtag2"]},{"1397246073":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397246070, 1397246075, 1397246069, 1397246083, 1397246080, 1397246073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.10085654258728 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 18:49:02.922913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/55/image_01122025_15_55_36_10598.jpg', '/home/pi/Desktop/images/01122025/15/55/image_01122025_15_55_45_9172.jpg', '/home/pi/Desktop/images/01122025/15/55/image_01122025_15_55_56_10725.jpg', '/home/pi/Desktop/images/01122025/15/55/image_01122025_15_56_05_9688.jpg', '/home/pi/Desktop/images/01122025/15/56/image_01122025_15_56_15_9605.jpg', '/home/pi/Desktop/images/01122025/15/56/image_01122025_15_56_25_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/55/image_01122025_15_55_36_10598.jpg
/home/pi/Desktop/images/01122025/15/55/image_01122025_15_55_45_9172.jpg
/home/pi/Desktop/images/01122025/15/55/image_01122025_15_55_56_10725.jpg
/home/pi/Desktop/images/01122025/15/55/image_01122025_15_56_05_9688.jpg
/home/pi/Desktop/images/01122025/15/56/image_01122025_15_56_15_9605.jpg
/home/pi/Desktop/images/01122025/15/56/image_01122025_15_56_25_10677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397246097","1397246090","1397246093","1397246095","1397246101","1397246104"],"photo_ids_order":["1397246090","1397246093","1397246095","1397246097","1397246101","1397246104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a9ee9b1f5c38e384bb9c5c2b47e360e5.jpg","text":"TemporaryFile(/tmp/multipartBody8218301215446465694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611403828,"filename":"image_01122025_15_56_05_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5543377885be51f4b84da27233577730.jpg","text":"TemporaryFile(/tmp/multipartBody4543278288899053027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611403828,"filename":"image_01122025_15_55_36_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/1/a1f53c711f189d8e4ecb21f468b18cab.jpg","text":"TemporaryFile(/tmp/multipartBody2104515810996347555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611403828,"filename":"image_01122025_15_55_45_9172.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bbccf7033224349ba6c9e8f487b79c2c.jpg","text":"TemporaryFile(/tmp/multipartBody4093965493482438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611403828,"filename":"image_01122025_15_55_56_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dcc73ccfc51642321e67437b6aca3c2f.jpg","text":"TemporaryFile(/tmp/multipartBody2839708195845836381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611403828,"filename":"image_01122025_15_56_15_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2b9b8a5db3457041f10a37ab2f79c4b1.jpg","text":"TemporaryFile(/tmp/multipartBody7893911570013409358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611403828,"filename":"image_01122025_15_56_25_10677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246095","file1":"1397246093","file0":"1397246090","file4":"1397246101","file5":"1397246104","file3":"1397246097"},"map_files_photo_id_array":[{"photo_id":"1397246104","filename":"file5"},{"photo_id":"1397246095","filename":"file2"},{"photo_id":"1397246101","filename":"file4"},{"photo_id":"1397246093","filename":"file1"},{"photo_id":"1397246090","filename":"file0"},{"photo_id":"1397246097","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397246097":["hashtag1","hashtag2"]},{"1397246090":["hashtag1","hashtag2"]},{"1397246093":["hashtag1","hashtag2"]},{"1397246095":["hashtag1","hashtag2"]},{"1397246101":["hashtag1","hashtag2"]},{"1397246104":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397246097, 1397246090, 1397246093, 1397246095, 1397246101, 1397246104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.50555968284607 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 18:50:02.685068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/56/image_01122025_15_56_35_10000.jpg', '/home/pi/Desktop/images/01122025/15/56/image_01122025_15_56_45_9573.jpg', '/home/pi/Desktop/images/01122025/15/56/image_01122025_15_57_05_9633.jpg', '/home/pi/Desktop/images/01122025/15/57/image_01122025_15_57_15_9664.jpg', '/home/pi/Desktop/images/01122025/15/57/image_01122025_15_57_25_9765.jpg', '/home/pi/Desktop/images/01122025/15/57/image_01122025_15_57_35_10532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/56/image_01122025_15_56_35_10000.jpg
/home/pi/Desktop/images/01122025/15/56/image_01122025_15_56_45_9573.jpg
/home/pi/Desktop/images/01122025/15/56/image_01122025_15_57_05_9633.jpg
/home/pi/Desktop/images/01122025/15/57/image_01122025_15_57_15_9664.jpg
/home/pi/Desktop/images/01122025/15/57/image_01122025_15_57_25_9765.jpg
/home/pi/Desktop/images/01122025/15/57/image_01122025_15_57_35_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":["1397246121","1397246115","1397246117","1397246126","1397246113","1397246137"],"photo_ids_order":["1397246113","1397246115","1397246117","1397246121","1397246126","1397246137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/761af71ce7ba729ce2ac2db7f7c74052.jpg","text":"TemporaryFile(/tmp/multipartBody4256929675986208868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611463400,"filename":"image_01122025_15_57_15_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7cea74139015a3f8faa3c9f658917b9e.jpg","text":"TemporaryFile(/tmp/multipartBody7767840001571807352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611463400,"filename":"image_01122025_15_56_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/1/ac54cf141ed4654572844b4ffdec498f.jpg","text":"TemporaryFile(/tmp/multipartBody1573395074706796442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611463400,"filename":"image_01122025_15_57_05_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6fe699e5d545850451617d571094e6b7.jpg","text":"TemporaryFile(/tmp/multipartBody5473475446633645028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611463400,"filename":"image_01122025_15_57_25_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fd1b763cb72387fcc51c32d731cd29f8.jpg","text":"TemporaryFile(/tmp/multipartBody4944977706463665707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611463400,"filename":"image_01122025_15_56_35_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/1/0478979aa7d689f8f5bda72c23fbcb40.jpg","text":"TemporaryFile(/tmp/multipartBody7927118932526269441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611463400,"filename":"image_01122025_15_57_35_10532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246117","file1":"1397246115","file0":"1397246113","file4":"1397246126","file5":"1397246137","file3":"1397246121"},"map_files_photo_id_array":[{"photo_id":"1397246137","filename":"file5"},{"photo_id":"1397246117","filename":"file2"},{"photo_id":"1397246126","filename":"file4"},{"photo_id":"1397246115","filename":"file1"},{"photo_id":"1397246113","filename":"file0"},{"photo_id":"1397246121","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397246121":["hashtag1","hashtag2"]},{"1397246115":["hashtag1","hashtag2"]},{"1397246117":["hashtag1","hashtag2"]},{"1397246126":["hashtag1","hashtag2"]},{"1397246113":["hashtag1","hashtag2"]},{"1397246137":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397246121, 1397246115, 1397246117, 1397246126, 1397246113, 1397246137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43623113632202 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 18:50:42.213636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_34_3696.jpg', '/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_36_2639.jpg', '/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_39_2851.jpg', '/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_42_2549.jpg', '/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_45_3830.jpg', '/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_48_2858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_34_3696.jpg
/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_36_2639.jpg
/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_39_2851.jpg
/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_42_2549.jpg
/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_45_3830.jpg
/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_48_2858.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397246211","1397246148","1397246210","1397246213","1397246146","1397246149"],"photo_ids_order":["1397246146","1397246148","1397246149","1397246210","1397246211","1397246213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b476731f00831f8d5a2c9df467ac95f2.jpg","text":"TemporaryFile(/tmp/multipartBody6997143236024530477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611504739,"filename":"image_31102025_14_51_45_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/1/da1b0880477f4375d49962b41fb46f6d.jpg","text":"TemporaryFile(/tmp/multipartBody4689792037872590117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611504739,"filename":"image_31102025_14_51_36_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e6c2c44990bef13d95f2e2e2ab3ea43c.jpg","text":"TemporaryFile(/tmp/multipartBody649603957234436446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611504739,"filename":"image_31102025_14_51_42_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/1/32fa4a59f10425a0852de610b3274338.jpg","text":"TemporaryFile(/tmp/multipartBody3724751159324404223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611504739,"filename":"image_31102025_14_51_48_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/1/299c2739a7fade9112e8371624db8931.jpg","text":"TemporaryFile(/tmp/multipartBody6706288101610486104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611504739,"filename":"image_31102025_14_51_34_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/1/19c150ef50a9a31505ccd0f5cf8bb0c0.jpg","text":"TemporaryFile(/tmp/multipartBody4948087254368286782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611504739,"filename":"image_31102025_14_51_39_2851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246149","file1":"1397246148","file0":"1397246146","file4":"1397246211","file5":"1397246213","file3":"1397246210"},"map_files_photo_id_array":[{"photo_id":"1397246213","filename":"file5"},{"photo_id":"1397246149","filename":"file2"},{"photo_id":"1397246211","filename":"file4"},{"photo_id":"1397246148","filename":"file1"},{"photo_id":"1397246146","filename":"file0"},{"photo_id":"1397246210","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397246211":["hashtag1","hashtag2"]},{"1397246148":["hashtag1","hashtag2"]},{"1397246210":["hashtag1","hashtag2"]},{"1397246213":["hashtag1","hashtag2"]},{"1397246146":["hashtag1","hashtag2"]},{"1397246149":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397246211, 1397246148, 1397246210, 1397246213, 1397246146, 1397246149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.66873574256897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 18:51:32.444845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_32_2739.jpg', '/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_35_3570.jpg', '/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_38_2595.jpg', '/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_41_2664.jpg', '/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_44_3643.jpg', '/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_47_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_32_2739.jpg
/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_35_3570.jpg
/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_38_2595.jpg
/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_41_2664.jpg
/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_44_3643.jpg
/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_47_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":["1397246235","1397246232","1397246228","1397246237","1397246225","1397246236"],"photo_ids_order":["1397246225","1397246228","1397246232","1397246235","1397246236","1397246237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9208c8df07ab355880eaff83fa37a4e7.jpg","text":"TemporaryFile(/tmp/multipartBody4600798808109580401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611554965,"filename":"image_25112025_23_16_41_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/1/4221610c5244133975fea97c08bde9f9.jpg","text":"TemporaryFile(/tmp/multipartBody282892381297806294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611554965,"filename":"image_25112025_23_16_38_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e5025a535f9e581cae10ba050057599a.jpg","text":"TemporaryFile(/tmp/multipartBody4397362297950882818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611554965,"filename":"image_25112025_23_16_35_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/1/cf60e95539b5f63b18d02b09b41f2de6.jpg","text":"TemporaryFile(/tmp/multipartBody7020920530333890072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611554965,"filename":"image_25112025_23_16_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/1/89058af8ee76e3276d1123917161e7ff.jpg","text":"TemporaryFile(/tmp/multipartBody7556255928475484618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611554965,"filename":"image_25112025_23_16_32_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/1/8b8299eb8d8561c841e3eac652976a5f.jpg","text":"TemporaryFile(/tmp/multipartBody5922363381453032774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611554965,"filename":"image_25112025_23_16_44_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246232","file1":"1397246228","file0":"1397246225","file4":"1397246236","file5":"1397246237","file3":"1397246235"},"map_files_photo_id_array":[{"photo_id":"1397246237","filename":"file5"},{"photo_id":"1397246232","filename":"file2"},{"photo_id":"1397246236","filename":"file4"},{"photo_id":"1397246228","filename":"file1"},{"photo_id":"1397246225","filename":"file0"},{"photo_id":"1397246235","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397246235":["hashtag1","hashtag2"]},{"1397246232":["hashtag1","hashtag2"]},{"1397246228":["hashtag1","hashtag2"]},{"1397246237":["hashtag1","hashtag2"]},{"1397246225":["hashtag1","hashtag2"]},{"1397246236":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397246235, 1397246232, 1397246228, 1397246237, 1397246225, 1397246236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.013859033584595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 18:52:12.614511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_53_2538.jpg', '/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_56_2674.jpg', '/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_58_2867.jpg', '/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_02_3699.jpg', '/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_05_2777.jpg', '/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_07_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_53_2538.jpg
/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_56_2674.jpg
/home/pi/Desktop/images/25112025/23/16/image_25112025_23_16_58_2867.jpg
/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_02_3699.jpg
/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_05_2777.jpg
/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_07_2562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397246253","1397246256","1397246250","1397246247","1397246240","1397246243"],"photo_ids_order":["1397246240","1397246243","1397246247","1397246250","1397246253","1397246256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4d6101c3525c50e37d5414d448313a46.jpg","text":"TemporaryFile(/tmp/multipartBody89088500934739883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611594237,"filename":"image_25112025_23_17_05_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/1/b525530f4f7013e4a29228926a5c48b7.jpg","text":"TemporaryFile(/tmp/multipartBody3088754536160103979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611594237,"filename":"image_25112025_23_17_07_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/1/58999f282001d6ec9c552645d9f7a418.jpg","text":"TemporaryFile(/tmp/multipartBody258394151777680246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611594237,"filename":"image_25112025_23_17_02_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2cb967b13040600194af6bb073c95700.jpg","text":"TemporaryFile(/tmp/multipartBody2284416454744727478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611594237,"filename":"image_25112025_23_16_58_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/925b145207ea3f25cc8f21769bef06af.jpg","text":"TemporaryFile(/tmp/multipartBody4570051416131220434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611594237,"filename":"image_25112025_23_16_53_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/1/7a244d927809eff6d2415185185b8e1a.jpg","text":"TemporaryFile(/tmp/multipartBody3997786360882645288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611594237,"filename":"image_25112025_23_16_56_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246247","file1":"1397246243","file0":"1397246240","file4":"1397246253","file5":"1397246256","file3":"1397246250"},"map_files_photo_id_array":[{"photo_id":"1397246256","filename":"file5"},{"photo_id":"1397246247","filename":"file2"},{"photo_id":"1397246253","filename":"file4"},{"photo_id":"1397246243","filename":"file1"},{"photo_id":"1397246240","filename":"file0"},{"photo_id":"1397246250","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397246253":["hashtag1","hashtag2"]},{"1397246256":["hashtag1","hashtag2"]},{"1397246250":["hashtag1","hashtag2"]},{"1397246247":["hashtag1","hashtag2"]},{"1397246240":["hashtag1","hashtag2"]},{"1397246243":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397246253, 1397246256, 1397246250, 1397246247, 1397246240, 1397246243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.60538172721863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 18:53:04.426228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/57/image_01122025_15_57_45_9806.jpg', '/home/pi/Desktop/images/01122025/15/57/image_01122025_15_57_55_9610.jpg', '/home/pi/Desktop/images/01122025/15/57/image_01122025_15_58_06_10712.jpg', '/home/pi/Desktop/images/01122025/15/58/image_01122025_15_58_15_9733.jpg', '/home/pi/Desktop/images/01122025/15/58/image_01122025_15_58_25_9911.jpg', '/home/pi/Desktop/images/01122025/15/58/image_01122025_15_58_35_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/57/image_01122025_15_57_45_9806.jpg
/home/pi/Desktop/images/01122025/15/57/image_01122025_15_57_55_9610.jpg
/home/pi/Desktop/images/01122025/15/57/image_01122025_15_58_06_10712.jpg
/home/pi/Desktop/images/01122025/15/58/image_01122025_15_58_15_9733.jpg
/home/pi/Desktop/images/01122025/15/58/image_01122025_15_58_25_9911.jpg
/home/pi/Desktop/images/01122025/15/58/image_01122025_15_58_35_9803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397246268","1397246265","1397246276","1397246261","1397246263","1397246272"],"photo_ids_order":["1397246261","1397246263","1397246265","1397246268","1397246272","1397246276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c84f3280dd1ae6440ea33c0226e0d4e3.jpg","text":"TemporaryFile(/tmp/multipartBody4141945680429154732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611645151,"filename":"image_01122025_15_58_15_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/16d9ff7f7dff2339aea0db6d05b1c014.jpg","text":"TemporaryFile(/tmp/multipartBody4954630347816424477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611645151,"filename":"image_01122025_15_58_06_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/1/eaddeaf83b35e6e95757a01b0fc1cd67.jpg","text":"TemporaryFile(/tmp/multipartBody6486914292723406265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611645151,"filename":"image_01122025_15_58_35_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/84b3dc6a7ec98ca651a4555144312347.jpg","text":"TemporaryFile(/tmp/multipartBody5550852169789098880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611645151,"filename":"image_01122025_15_57_45_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/86faa08fc4b47017cbade2b22720b346.jpg","text":"TemporaryFile(/tmp/multipartBody7942233241540048477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611645151,"filename":"image_01122025_15_57_55_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/63d599ef79b2f7ce6f3b9e024e5a81f4.jpg","text":"TemporaryFile(/tmp/multipartBody1326992996292486141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611645151,"filename":"image_01122025_15_58_25_9911.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246265","file1":"1397246263","file0":"1397246261","file4":"1397246272","file5":"1397246276","file3":"1397246268"},"map_files_photo_id_array":[{"photo_id":"1397246276","filename":"file5"},{"photo_id":"1397246265","filename":"file2"},{"photo_id":"1397246272","filename":"file4"},{"photo_id":"1397246263","filename":"file1"},{"photo_id":"1397246261","filename":"file0"},{"photo_id":"1397246268","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397246268":["hashtag1","hashtag2"]},{"1397246265":["hashtag1","hashtag2"]},{"1397246276":["hashtag1","hashtag2"]},{"1397246261":["hashtag1","hashtag2"]},{"1397246263":["hashtag1","hashtag2"]},{"1397246272":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397246268, 1397246265, 1397246276, 1397246261, 1397246263, 1397246272)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.746755599975586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 18:54:02.519879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/58/image_01122025_15_58_46_10642.jpg', '/home/pi/Desktop/images/01122025/15/58/image_01122025_15_58_55_9596.jpg', '/home/pi/Desktop/images/01122025/15/58/image_01122025_15_59_05_9839.jpg', '/home/pi/Desktop/images/01122025/15/59/image_01122025_15_59_16_10690.jpg', '/home/pi/Desktop/images/01122025/15/59/image_01122025_15_59_25_9638.jpg', '/home/pi/Desktop/images/01122025/15/59/image_01122025_15_59_35_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/58/image_01122025_15_58_46_10642.jpg
/home/pi/Desktop/images/01122025/15/58/image_01122025_15_58_55_9596.jpg
/home/pi/Desktop/images/01122025/15/58/image_01122025_15_59_05_9839.jpg
/home/pi/Desktop/images/01122025/15/59/image_01122025_15_59_16_10690.jpg
/home/pi/Desktop/images/01122025/15/59/image_01122025_15_59_25_9638.jpg
/home/pi/Desktop/images/01122025/15/59/image_01122025_15_59_35_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":["1397246288","1397246293","1397246287","1397246296","1397246299","1397246290"],"photo_ids_order":["1397246287","1397246288","1397246290","1397246293","1397246296","1397246299"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/52d539e03b8326f46fcc0a908c5ec2c6.jpg","text":"TemporaryFile(/tmp/multipartBody6555538314226032337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611703364,"filename":"image_01122025_15_58_55_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a5c44111c1ed34505eb9f429d35279fa.jpg","text":"TemporaryFile(/tmp/multipartBody8888832790490250244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611703364,"filename":"image_01122025_15_59_16_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/1/413de4cf5e0cb192b84424c8e25f1d4a.jpg","text":"TemporaryFile(/tmp/multipartBody4614742729131092733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611703364,"filename":"image_01122025_15_58_46_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/40ecc08c0dee231df80861e0359dad55.jpg","text":"TemporaryFile(/tmp/multipartBody87677627579526224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611703364,"filename":"image_01122025_15_59_25_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f6d52bd6a2f71401a60b94aa528ba9f4.jpg","text":"TemporaryFile(/tmp/multipartBody7674286961400382165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611703364,"filename":"image_01122025_15_59_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/1/cc881cd982ff23f0c91c78ca40b6131b.jpg","text":"TemporaryFile(/tmp/multipartBody4258674493089705713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611703364,"filename":"image_01122025_15_59_05_9839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246290","file1":"1397246288","file0":"1397246287","file4":"1397246296","file5":"1397246299","file3":"1397246293"},"map_files_photo_id_array":[{"photo_id":"1397246299","filename":"file5"},{"photo_id":"1397246290","filename":"file2"},{"photo_id":"1397246296","filename":"file4"},{"photo_id":"1397246288","filename":"file1"},{"photo_id":"1397246287","filename":"file0"},{"photo_id":"1397246293","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397246288":["hashtag1","hashtag2"]},{"1397246293":["hashtag1","hashtag2"]},{"1397246287":["hashtag1","hashtag2"]},{"1397246296":["hashtag1","hashtag2"]},{"1397246299":["hashtag1","hashtag2"]},{"1397246290":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397246288, 1397246293, 1397246287, 1397246296, 1397246299, 1397246290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.663063287734985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 18:54:41.856575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_51_2774.jpg', '/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_54_2659.jpg', '/home/pi/Desktop/images/31102025/14/51/image_31102025_14_52_00_2633.jpg', '/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_03_2812.jpg', '/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_06_2828.jpg', '/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_09_3636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_51_2774.jpg
/home/pi/Desktop/images/31102025/14/51/image_31102025_14_51_54_2659.jpg
/home/pi/Desktop/images/31102025/14/51/image_31102025_14_52_00_2633.jpg
/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_03_2812.jpg
/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_06_2828.jpg
/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_09_3636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397246310","1397246313","1397246315","1397246312","1397246311","1397246308"],"photo_ids_order":["1397246308","1397246310","1397246311","1397246312","1397246313","1397246315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ba6031dd4294b5b0ef83de7fe2883b2b.jpg","text":"TemporaryFile(/tmp/multipartBody5704745877549142865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611744385,"filename":"image_31102025_14_51_54_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1a280dc25d0307c18d9e06e6f1dfdb70.jpg","text":"TemporaryFile(/tmp/multipartBody2310997055087249081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611744385,"filename":"image_31102025_14_52_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/1/c8b0a70bc9bc1cbe204ae4c4a59a2dd3.jpg","text":"TemporaryFile(/tmp/multipartBody7454963752073986443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611744385,"filename":"image_31102025_14_52_09_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dd9a626556d5a5c7dfbebec7b29687c2.jpg","text":"TemporaryFile(/tmp/multipartBody8615858682688013921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611744385,"filename":"image_31102025_14_52_03_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/1/a263545be5185eeb53bf1750e4c3bf1b.jpg","text":"TemporaryFile(/tmp/multipartBody6245659805112852162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611744385,"filename":"image_31102025_14_52_00_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dfd6dff9cb87ce102fb37dd073420461.jpg","text":"TemporaryFile(/tmp/multipartBody9191469277513790114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611744385,"filename":"image_31102025_14_51_51_2774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246311","file1":"1397246310","file0":"1397246308","file4":"1397246313","file5":"1397246315","file3":"1397246312"},"map_files_photo_id_array":[{"photo_id":"1397246315","filename":"file5"},{"photo_id":"1397246311","filename":"file2"},{"photo_id":"1397246313","filename":"file4"},{"photo_id":"1397246310","filename":"file1"},{"photo_id":"1397246308","filename":"file0"},{"photo_id":"1397246312","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397246310":["hashtag1","hashtag2"]},{"1397246313":["hashtag1","hashtag2"]},{"1397246315":["hashtag1","hashtag2"]},{"1397246312":["hashtag1","hashtag2"]},{"1397246311":["hashtag1","hashtag2"]},{"1397246308":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397246310, 1397246313, 1397246315, 1397246312, 1397246311, 1397246308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.07087182998657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 18:55:32.013849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_11_3674.jpg', '/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_14_2636.jpg', '/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_16_2701.jpg', '/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_20_3744.jpg', '/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_23_2650.jpg', '/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_25_2517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_11_3674.jpg
/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_14_2636.jpg
/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_16_2701.jpg
/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_20_3744.jpg
/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_23_2650.jpg
/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_25_2517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397246340","1397246331","1397246328","1397246339","1397246338","1397246335"],"photo_ids_order":["1397246328","1397246331","1397246335","1397246338","1397246339","1397246340"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/217a4715978e734410cb13ab307172fd.jpg","text":"TemporaryFile(/tmp/multipartBody8932028814554783535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611794724,"filename":"image_25112025_23_17_25_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ce47cf27ea8363c9f24d3510e6f61c0e.jpg","text":"TemporaryFile(/tmp/multipartBody7242417147252088528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611794724,"filename":"image_25112025_23_17_14_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/db9b8760e1aad758ee689d58e2a5119a.jpg","text":"TemporaryFile(/tmp/multipartBody3725633918729734825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611794724,"filename":"image_25112025_23_17_11_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/1/6371396f43a9e9c7c47467f3f56bd8f8.jpg","text":"TemporaryFile(/tmp/multipartBody2392789080020091793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611794724,"filename":"image_25112025_23_17_23_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2a0d0e63e645e628da5da8886f82d548.jpg","text":"TemporaryFile(/tmp/multipartBody7809546127171062814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611794724,"filename":"image_25112025_23_17_20_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/1/ddcd6b1674ae0350edc27bc2822018ae.jpg","text":"TemporaryFile(/tmp/multipartBody6590975015819384759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611794724,"filename":"image_25112025_23_17_16_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246335","file1":"1397246331","file0":"1397246328","file4":"1397246339","file5":"1397246340","file3":"1397246338"},"map_files_photo_id_array":[{"photo_id":"1397246340","filename":"file5"},{"photo_id":"1397246335","filename":"file2"},{"photo_id":"1397246339","filename":"file4"},{"photo_id":"1397246331","filename":"file1"},{"photo_id":"1397246328","filename":"file0"},{"photo_id":"1397246338","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397246340":["hashtag1","hashtag2"]},{"1397246331":["hashtag1","hashtag2"]},{"1397246328":["hashtag1","hashtag2"]},{"1397246339":["hashtag1","hashtag2"]},{"1397246338":["hashtag1","hashtag2"]},{"1397246335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397246340, 1397246331, 1397246328, 1397246339, 1397246338, 1397246335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.80487632751465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 18:56:22.241234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/15/59/image_01122025_15_59_45_9759.jpg', '/home/pi/Desktop/images/01122025/15/59/image_01122025_15_59_55_10610.jpg', '/home/pi/Desktop/images/01122025/16/00/image_01122025_16_00_14_10056.jpg', '/home/pi/Desktop/images/01122025/16/00/image_01122025_16_00_25_10671.jpg', '/home/pi/Desktop/images/01122025/16/00/image_01122025_16_00_35_9656.jpg', '/home/pi/Desktop/images/01122025/16/00/image_01122025_16_00_45_10584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/15/59/image_01122025_15_59_45_9759.jpg
/home/pi/Desktop/images/01122025/15/59/image_01122025_15_59_55_10610.jpg
/home/pi/Desktop/images/01122025/16/00/image_01122025_16_00_14_10056.jpg
/home/pi/Desktop/images/01122025/16/00/image_01122025_16_00_25_10671.jpg
/home/pi/Desktop/images/01122025/16/00/image_01122025_16_00_35_9656.jpg
/home/pi/Desktop/images/01122025/16/00/image_01122025_16_00_45_10584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397246362","1397246356","1397246359","1397246350","1397246353","1397246347"],"photo_ids_order":["1397246347","1397246350","1397246353","1397246356","1397246359","1397246362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f4b77d511e09dfb09d523cc863a51444.jpg","text":"TemporaryFile(/tmp/multipartBody2296052755501868009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611842896,"filename":"image_01122025_16_00_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/1/1ce59f9608874fcbc2d9212022858ef5.jpg","text":"TemporaryFile(/tmp/multipartBody4886323161239780366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611842896,"filename":"image_01122025_16_00_25_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/51b4434e271f76befa846b334bf8e216.jpg","text":"TemporaryFile(/tmp/multipartBody3694869971063827746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611842896,"filename":"image_01122025_16_00_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/1/141d5ccedbb0a0258a722aa09fef46d8.jpg","text":"TemporaryFile(/tmp/multipartBody2518088109778523912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611842896,"filename":"image_01122025_15_59_55_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/98b9074d21e9459cd9f673af4fddfa0b.jpg","text":"TemporaryFile(/tmp/multipartBody37624471466682554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611842896,"filename":"image_01122025_16_00_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/86cf253acdb7beea99335c7ca5ab6b06.jpg","text":"TemporaryFile(/tmp/multipartBody4072074360478824619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611842896,"filename":"image_01122025_15_59_45_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246353","file1":"1397246350","file0":"1397246347","file4":"1397246359","file5":"1397246362","file3":"1397246356"},"map_files_photo_id_array":[{"photo_id":"1397246362","filename":"file5"},{"photo_id":"1397246353","filename":"file2"},{"photo_id":"1397246359","filename":"file4"},{"photo_id":"1397246350","filename":"file1"},{"photo_id":"1397246347","filename":"file0"},{"photo_id":"1397246356","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397246362":["hashtag1","hashtag2"]},{"1397246356":["hashtag1","hashtag2"]},{"1397246359":["hashtag1","hashtag2"]},{"1397246350":["hashtag1","hashtag2"]},{"1397246353":["hashtag1","hashtag2"]},{"1397246347":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397246362, 1397246356, 1397246359, 1397246350, 1397246353, 1397246347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.99976873397827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 18:57:03.144792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/00/image_01122025_16_00_55_9795.jpg', '/home/pi/Desktop/images/01122025/16/00/image_01122025_16_01_05_9755.jpg', '/home/pi/Desktop/images/01122025/16/01/image_01122025_16_01_15_9791.jpg', '/home/pi/Desktop/images/01122025/16/01/image_01122025_16_01_25_10525.jpg', '/home/pi/Desktop/images/01122025/16/01/image_01122025_16_01_35_9732.jpg', '/home/pi/Desktop/images/01122025/16/01/image_01122025_16_01_45_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/00/image_01122025_16_00_55_9795.jpg
/home/pi/Desktop/images/01122025/16/00/image_01122025_16_01_05_9755.jpg
/home/pi/Desktop/images/01122025/16/01/image_01122025_16_01_15_9791.jpg
/home/pi/Desktop/images/01122025/16/01/image_01122025_16_01_25_10525.jpg
/home/pi/Desktop/images/01122025/16/01/image_01122025_16_01_35_9732.jpg
/home/pi/Desktop/images/01122025/16/01/image_01122025_16_01_45_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":["1397246373","1397246364","1397246378","1397246366","1397246368","1397246370"],"photo_ids_order":["1397246364","1397246366","1397246368","1397246370","1397246373","1397246378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d9e51fa0229dbcc6428b84774f31b459.jpg","text":"TemporaryFile(/tmp/multipartBody1430293663507363906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611883858,"filename":"image_01122025_16_01_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/1/0d05bbac44cd340ad9947aac569df46e.jpg","text":"TemporaryFile(/tmp/multipartBody2044950954642856756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611883858,"filename":"image_01122025_16_00_55_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a01dce7bdc9053163742e8b35b9c7eba.jpg","text":"TemporaryFile(/tmp/multipartBody6243948062568079594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611883858,"filename":"image_01122025_16_01_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/1/2edcca30ad152b749b10dd5905b89981.jpg","text":"TemporaryFile(/tmp/multipartBody841411453354469458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611883858,"filename":"image_01122025_16_01_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/1/820dd6f1dfb3fb185f51af0aa34f1fa4.jpg","text":"TemporaryFile(/tmp/multipartBody4675597778339761920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611883858,"filename":"image_01122025_16_01_15_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/1/ad0455630100dd66e6cb0fd13c50268c.jpg","text":"TemporaryFile(/tmp/multipartBody5044470774395106819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611883858,"filename":"image_01122025_16_01_25_10525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246368","file1":"1397246366","file0":"1397246364","file4":"1397246373","file5":"1397246378","file3":"1397246370"},"map_files_photo_id_array":[{"photo_id":"1397246378","filename":"file5"},{"photo_id":"1397246368","filename":"file2"},{"photo_id":"1397246373","filename":"file4"},{"photo_id":"1397246366","filename":"file1"},{"photo_id":"1397246364","filename":"file0"},{"photo_id":"1397246370","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397246373":["hashtag1","hashtag2"]},{"1397246364":["hashtag1","hashtag2"]},{"1397246378":["hashtag1","hashtag2"]},{"1397246366":["hashtag1","hashtag2"]},{"1397246368":["hashtag1","hashtag2"]},{"1397246370":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397246373, 1397246364, 1397246378, 1397246366, 1397246368, 1397246370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.012351274490356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 18:57:42.455801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_12_2647.jpg', '/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_15_2661.jpg', '/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_18_3581.jpg', '/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_21_2663.jpg', '/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_24_2766.jpg', '/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_27_3521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_12_2647.jpg
/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_15_2661.jpg
/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_18_3581.jpg
/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_21_2663.jpg
/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_24_2766.jpg
/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_27_3521.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397246394","1397246388","1397246393","1397246392","1397246395","1397246391"],"photo_ids_order":["1397246388","1397246391","1397246392","1397246393","1397246394","1397246395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9dd0aab7095e23fde473098e8e38fb70.jpg","text":"TemporaryFile(/tmp/multipartBody4432872064387088789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611924994,"filename":"image_31102025_14_52_24_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/1/934c848279f746f69fe95c00dbc84db5.jpg","text":"TemporaryFile(/tmp/multipartBody5713460280980296456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611924994,"filename":"image_31102025_14_52_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/1/9c90b31397b40c86ceb1cf3c1054ed39.jpg","text":"TemporaryFile(/tmp/multipartBody2909361857004760826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611924994,"filename":"image_31102025_14_52_21_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/da0c321250861b6cacba7a90e38f55f6.jpg","text":"TemporaryFile(/tmp/multipartBody6615453545671432417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611924994,"filename":"image_31102025_14_52_18_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3f727680a421b259c7f628b56c831e1e.jpg","text":"TemporaryFile(/tmp/multipartBody933618653843953501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611924994,"filename":"image_31102025_14_52_27_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/1/f71feb4aee4f978dc3a5ec3af91d4213.jpg","text":"TemporaryFile(/tmp/multipartBody198809201354997715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764611924994,"filename":"image_31102025_14_52_15_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246392","file1":"1397246391","file0":"1397246388","file4":"1397246394","file5":"1397246395","file3":"1397246393"},"map_files_photo_id_array":[{"photo_id":"1397246395","filename":"file5"},{"photo_id":"1397246392","filename":"file2"},{"photo_id":"1397246394","filename":"file4"},{"photo_id":"1397246391","filename":"file1"},{"photo_id":"1397246388","filename":"file0"},{"photo_id":"1397246393","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397246394":["hashtag1","hashtag2"]},{"1397246388":["hashtag1","hashtag2"]},{"1397246393":["hashtag1","hashtag2"]},{"1397246392":["hashtag1","hashtag2"]},{"1397246395":["hashtag1","hashtag2"]},{"1397246391":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397246394, 1397246388, 1397246393, 1397246392, 1397246395, 1397246391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.758787870407104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 18:59:02.550826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/01/image_01122025_16_01_55_10603.jpg', '/home/pi/Desktop/images/01122025/16/01/image_01122025_16_02_05_9906.jpg', '/home/pi/Desktop/images/01122025/16/02/image_01122025_16_02_15_9781.jpg', '/home/pi/Desktop/images/01122025/16/02/image_01122025_16_02_25_9865.jpg', '/home/pi/Desktop/images/01122025/16/02/image_01122025_16_02_34_9595.jpg', '/home/pi/Desktop/images/01122025/16/02/image_01122025_16_02_45_10826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/01/image_01122025_16_01_55_10603.jpg
/home/pi/Desktop/images/01122025/16/01/image_01122025_16_02_05_9906.jpg
/home/pi/Desktop/images/01122025/16/02/image_01122025_16_02_15_9781.jpg
/home/pi/Desktop/images/01122025/16/02/image_01122025_16_02_25_9865.jpg
/home/pi/Desktop/images/01122025/16/02/image_01122025_16_02_34_9595.jpg
/home/pi/Desktop/images/01122025/16/02/image_01122025_16_02_45_10826.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397246436","1397246432","1397246423","1397246417","1397246440","1397246428"],"photo_ids_order":["1397246417","1397246423","1397246428","1397246432","1397246436","1397246440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b086283b00f79538809f0fd56385c8cc.jpg","text":"TemporaryFile(/tmp/multipartBody1784625930932695366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612003328,"filename":"image_01122025_16_02_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/1/606569d295938f945c25a64711846878.jpg","text":"TemporaryFile(/tmp/multipartBody1426224519401742728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612003328,"filename":"image_01122025_16_02_25_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d00d7eaa59bf83f78e866c75e030e1a5.jpg","text":"TemporaryFile(/tmp/multipartBody7821581709873177456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612003328,"filename":"image_01122025_16_02_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/1/c7a1c353f6bebd835862b858e620e10c.jpg","text":"TemporaryFile(/tmp/multipartBody7062936155213878178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612003328,"filename":"image_01122025_16_01_55_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/93755d51220828f63e3b4f917de99b0e.jpg","text":"TemporaryFile(/tmp/multipartBody6451707934064428046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612003328,"filename":"image_01122025_16_02_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/1/e947917c43b8350942b17895f1b8be07.jpg","text":"TemporaryFile(/tmp/multipartBody6260067234785910555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612003328,"filename":"image_01122025_16_02_15_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246428","file1":"1397246423","file0":"1397246417","file4":"1397246436","file5":"1397246440","file3":"1397246432"},"map_files_photo_id_array":[{"photo_id":"1397246440","filename":"file5"},{"photo_id":"1397246428","filename":"file2"},{"photo_id":"1397246436","filename":"file4"},{"photo_id":"1397246423","filename":"file1"},{"photo_id":"1397246417","filename":"file0"},{"photo_id":"1397246432","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397246436":["hashtag1","hashtag2"]},{"1397246432":["hashtag1","hashtag2"]},{"1397246423":["hashtag1","hashtag2"]},{"1397246417":["hashtag1","hashtag2"]},{"1397246440":["hashtag1","hashtag2"]},{"1397246428":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397246436, 1397246432, 1397246423, 1397246417, 1397246440, 1397246428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25403428077698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:00:02.548427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/02/image_01122025_16_02_55_9674.jpg', '/home/pi/Desktop/images/01122025/16/02/image_01122025_16_03_05_9669.jpg', '/home/pi/Desktop/images/01122025/16/03/image_01122025_16_03_15_10625.jpg', '/home/pi/Desktop/images/01122025/16/03/image_01122025_16_03_25_9715.jpg', '/home/pi/Desktop/images/01122025/16/03/image_01122025_16_03_35_9652.jpg', '/home/pi/Desktop/images/01122025/16/03/image_01122025_16_03_45_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/02/image_01122025_16_02_55_9674.jpg
/home/pi/Desktop/images/01122025/16/02/image_01122025_16_03_05_9669.jpg
/home/pi/Desktop/images/01122025/16/03/image_01122025_16_03_15_10625.jpg
/home/pi/Desktop/images/01122025/16/03/image_01122025_16_03_25_9715.jpg
/home/pi/Desktop/images/01122025/16/03/image_01122025_16_03_35_9652.jpg
/home/pi/Desktop/images/01122025/16/03/image_01122025_16_03_45_10615.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5948276519775391 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 19:00:12.122831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_29_3674.jpg', '/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_32_2734.jpg', '/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_34_2570.jpg', '/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_41_2528.jpg', '/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_43_2635.jpg', '/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_47_3736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_29_3674.jpg
/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_32_2734.jpg
/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_34_2570.jpg
/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_41_2528.jpg
/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_43_2635.jpg
/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_47_3736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397246571","1397246576","1397246508","1397246585","1397246581","1397246578"],"photo_ids_order":["1397246508","1397246571","1397246576","1397246578","1397246581","1397246585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ef411d1e817939233293fdf0f4e2a098.jpg","text":"TemporaryFile(/tmp/multipartBody7548655752922747700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612073797,"filename":"image_25112025_23_17_32_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/1/669e1d39cbf0d2eee396c9d2bfbd99fc.jpg","text":"TemporaryFile(/tmp/multipartBody3958429701016366606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612073797,"filename":"image_25112025_23_17_34_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/1/f8b60e18ea5112c338d464d18b8ff9bf.jpg","text":"TemporaryFile(/tmp/multipartBody7620508685875520655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612073797,"filename":"image_25112025_23_17_29_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9849dc4f4807f901eb85e54b0c73364c.jpg","text":"TemporaryFile(/tmp/multipartBody7186018450997487317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612073797,"filename":"image_25112025_23_17_47_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4b1008e859810de5dee9a9a910bcdba9.jpg","text":"TemporaryFile(/tmp/multipartBody7740809297473682826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612073797,"filename":"image_25112025_23_17_43_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/06b43da6636c49c1bd857737166b20f5.jpg","text":"TemporaryFile(/tmp/multipartBody7264933946843954296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612073797,"filename":"image_25112025_23_17_41_2528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246576","file1":"1397246571","file0":"1397246508","file4":"1397246581","file5":"1397246585","file3":"1397246578"},"map_files_photo_id_array":[{"photo_id":"1397246585","filename":"file5"},{"photo_id":"1397246576","filename":"file2"},{"photo_id":"1397246581","filename":"file4"},{"photo_id":"1397246571","filename":"file1"},{"photo_id":"1397246508","filename":"file0"},{"photo_id":"1397246578","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397246571":["hashtag1","hashtag2"]},{"1397246576":["hashtag1","hashtag2"]},{"1397246508":["hashtag1","hashtag2"]},{"1397246585":["hashtag1","hashtag2"]},{"1397246581":["hashtag1","hashtag2"]},{"1397246578":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397246571, 1397246576, 1397246508, 1397246585, 1397246581, 1397246578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.06026005744934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:01:03.078104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/02/image_01122025_16_02_55_9674.jpg', '/home/pi/Desktop/images/01122025/16/02/image_01122025_16_03_05_9669.jpg', '/home/pi/Desktop/images/01122025/16/03/image_01122025_16_03_15_10625.jpg', '/home/pi/Desktop/images/01122025/16/03/image_01122025_16_03_25_9715.jpg', '/home/pi/Desktop/images/01122025/16/03/image_01122025_16_03_35_9652.jpg', '/home/pi/Desktop/images/01122025/16/03/image_01122025_16_03_45_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/02/image_01122025_16_02_55_9674.jpg
/home/pi/Desktop/images/01122025/16/02/image_01122025_16_03_05_9669.jpg
/home/pi/Desktop/images/01122025/16/03/image_01122025_16_03_15_10625.jpg
/home/pi/Desktop/images/01122025/16/03/image_01122025_16_03_25_9715.jpg
/home/pi/Desktop/images/01122025/16/03/image_01122025_16_03_35_9652.jpg
/home/pi/Desktop/images/01122025/16/03/image_01122025_16_03_45_10615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397246679","1397246672","1397246669","1397246683","1397246674","1397246676"],"photo_ids_order":["1397246669","1397246672","1397246674","1397246676","1397246679","1397246683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/633071700ead1eebb5934a6f34637c78.jpg","text":"TemporaryFile(/tmp/multipartBody2011500659973014407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612123801,"filename":"image_01122025_16_03_35_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bf36b1aaaf1bb0e95a89649103fc31cb.jpg","text":"TemporaryFile(/tmp/multipartBody8148555147656482800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612123801,"filename":"image_01122025_16_03_05_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/31e20e631370c0a7f7252d65774aa875.jpg","text":"TemporaryFile(/tmp/multipartBody8006159152069290717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612123801,"filename":"image_01122025_16_02_55_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5d94ebdfac787775948c775c20c5a5ad.jpg","text":"TemporaryFile(/tmp/multipartBody1529507175401166330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612123801,"filename":"image_01122025_16_03_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/1/150cf2134899717cd7e073179e06ad85.jpg","text":"TemporaryFile(/tmp/multipartBody691625558533686636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612123801,"filename":"image_01122025_16_03_15_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9401ebf5666b936de2f65d885f492d0a.jpg","text":"TemporaryFile(/tmp/multipartBody5501528493067388245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612123801,"filename":"image_01122025_16_03_25_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246674","file1":"1397246672","file0":"1397246669","file4":"1397246679","file5":"1397246683","file3":"1397246676"},"map_files_photo_id_array":[{"photo_id":"1397246683","filename":"file5"},{"photo_id":"1397246674","filename":"file2"},{"photo_id":"1397246679","filename":"file4"},{"photo_id":"1397246672","filename":"file1"},{"photo_id":"1397246669","filename":"file0"},{"photo_id":"1397246676","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397246679":["hashtag1","hashtag2"]},{"1397246672":["hashtag1","hashtag2"]},{"1397246669":["hashtag1","hashtag2"]},{"1397246683":["hashtag1","hashtag2"]},{"1397246674":["hashtag1","hashtag2"]},{"1397246676":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397246679, 1397246672, 1397246669, 1397246683, 1397246674, 1397246676)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.683449268341064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:02:03.055524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/03/image_01122025_16_03_55_9597.jpg', '/home/pi/Desktop/images/01122025/16/03/image_01122025_16_04_04_9711.jpg', '/home/pi/Desktop/images/01122025/16/04/image_01122025_16_04_14_9935.jpg', '/home/pi/Desktop/images/01122025/16/04/image_01122025_16_04_25_10541.jpg', '/home/pi/Desktop/images/01122025/16/04/image_01122025_16_04_35_9770.jpg', '/home/pi/Desktop/images/01122025/16/04/image_01122025_16_04_44_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/03/image_01122025_16_03_55_9597.jpg
/home/pi/Desktop/images/01122025/16/03/image_01122025_16_04_04_9711.jpg
/home/pi/Desktop/images/01122025/16/04/image_01122025_16_04_14_9935.jpg
/home/pi/Desktop/images/01122025/16/04/image_01122025_16_04_25_10541.jpg
/home/pi/Desktop/images/01122025/16/04/image_01122025_16_04_35_9770.jpg
/home/pi/Desktop/images/01122025/16/04/image_01122025_16_04_44_9688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397246699","1397246705","1397246708","1397246701","1397246694","1397246697"],"photo_ids_order":["1397246694","1397246697","1397246699","1397246701","1397246705","1397246708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/611e3a23e5d9aa6e7e3e8417ae775f2f.jpg","text":"TemporaryFile(/tmp/multipartBody6811277858463814591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612183753,"filename":"image_01122025_16_04_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/1/e54486ed2685e23df47da541731f0966.jpg","text":"TemporaryFile(/tmp/multipartBody3112789815315180549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612183753,"filename":"image_01122025_16_04_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/1/5c0857ccfe5ef6028f7e7bba82b51b45.jpg","text":"TemporaryFile(/tmp/multipartBody1752155540749686517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612183753,"filename":"image_01122025_16_04_44_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ca92de47b7101104b6ba1681052a54b8.jpg","text":"TemporaryFile(/tmp/multipartBody250173296652986764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612183753,"filename":"image_01122025_16_04_25_10541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0148f424fd35872266f8775338b1650c.jpg","text":"TemporaryFile(/tmp/multipartBody8465323843014479337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612183753,"filename":"image_01122025_16_03_55_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/74544054c4e9d45d3c857e5d6d5cd580.jpg","text":"TemporaryFile(/tmp/multipartBody1497434672557558493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612183753,"filename":"image_01122025_16_04_04_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246699","file1":"1397246697","file0":"1397246694","file4":"1397246705","file5":"1397246708","file3":"1397246701"},"map_files_photo_id_array":[{"photo_id":"1397246708","filename":"file5"},{"photo_id":"1397246699","filename":"file2"},{"photo_id":"1397246705","filename":"file4"},{"photo_id":"1397246697","filename":"file1"},{"photo_id":"1397246694","filename":"file0"},{"photo_id":"1397246701","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397246699":["hashtag1","hashtag2"]},{"1397246705":["hashtag1","hashtag2"]},{"1397246708":["hashtag1","hashtag2"]},{"1397246701":["hashtag1","hashtag2"]},{"1397246694":["hashtag1","hashtag2"]},{"1397246697":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397246699, 1397246705, 1397246708, 1397246701, 1397246694, 1397246697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.16973280906677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:03:03.435081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/04/image_01122025_16_04_55_10747.jpg', '/home/pi/Desktop/images/01122025/16/05/image_01122025_16_05_14_10058.jpg', '/home/pi/Desktop/images/01122025/16/05/image_01122025_16_05_25_10686.jpg', '/home/pi/Desktop/images/01122025/16/05/image_01122025_16_05_34_9727.jpg', '/home/pi/Desktop/images/01122025/16/05/image_01122025_16_05_44_9674.jpg', '/home/pi/Desktop/images/01122025/16/05/image_01122025_16_05_55_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/04/image_01122025_16_04_55_10747.jpg
/home/pi/Desktop/images/01122025/16/05/image_01122025_16_05_14_10058.jpg
/home/pi/Desktop/images/01122025/16/05/image_01122025_16_05_25_10686.jpg
/home/pi/Desktop/images/01122025/16/05/image_01122025_16_05_34_9727.jpg
/home/pi/Desktop/images/01122025/16/05/image_01122025_16_05_44_9674.jpg
/home/pi/Desktop/images/01122025/16/05/image_01122025_16_05_55_10661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397246724","1397246721","1397246734","1397246728","1397246731","1397246719"],"photo_ids_order":["1397246719","1397246721","1397246724","1397246728","1397246731","1397246734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a619e769fcf40185d81c4cee4a758554.jpg","text":"TemporaryFile(/tmp/multipartBody510971351049913788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612244171,"filename":"image_01122025_16_05_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/1/4b5db5b07834bac00fcb17ffda1ba79d.jpg","text":"TemporaryFile(/tmp/multipartBody8466691880535292134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612244171,"filename":"image_01122025_16_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/1/e43c5298bf07ef0cfe7d914bd2b37829.jpg","text":"TemporaryFile(/tmp/multipartBody4850929654738777389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612244171,"filename":"image_01122025_16_05_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/1/3253a872c659ee48358db9c353216a2d.jpg","text":"TemporaryFile(/tmp/multipartBody1159331579079923941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612244171,"filename":"image_01122025_16_05_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/1/326c334d1662ae554fd0070bc848dfb7.jpg","text":"TemporaryFile(/tmp/multipartBody8530212892605634354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612244171,"filename":"image_01122025_16_05_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/1/d323af995d48361fac5fb6a59025355a.jpg","text":"TemporaryFile(/tmp/multipartBody5733117753502765416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612244171,"filename":"image_01122025_16_04_55_10747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246724","file1":"1397246721","file0":"1397246719","file4":"1397246731","file5":"1397246734","file3":"1397246728"},"map_files_photo_id_array":[{"photo_id":"1397246734","filename":"file5"},{"photo_id":"1397246724","filename":"file2"},{"photo_id":"1397246731","filename":"file4"},{"photo_id":"1397246721","filename":"file1"},{"photo_id":"1397246719","filename":"file0"},{"photo_id":"1397246728","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397246724":["hashtag1","hashtag2"]},{"1397246721":["hashtag1","hashtag2"]},{"1397246734":["hashtag1","hashtag2"]},{"1397246728":["hashtag1","hashtag2"]},{"1397246731":["hashtag1","hashtag2"]},{"1397246719":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397246724, 1397246721, 1397246734, 1397246728, 1397246731, 1397246719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.16207504272461 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:04:02.705636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/05/image_01122025_16_06_04_9621.jpg', '/home/pi/Desktop/images/01122025/16/06/image_01122025_16_06_14_9674.jpg', '/home/pi/Desktop/images/01122025/16/06/image_01122025_16_06_25_10680.jpg', '/home/pi/Desktop/images/01122025/16/06/image_01122025_16_06_34_9654.jpg', '/home/pi/Desktop/images/01122025/16/06/image_01122025_16_06_44_9601.jpg', '/home/pi/Desktop/images/01122025/16/06/image_01122025_16_06_55_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/05/image_01122025_16_06_04_9621.jpg
/home/pi/Desktop/images/01122025/16/06/image_01122025_16_06_14_9674.jpg
/home/pi/Desktop/images/01122025/16/06/image_01122025_16_06_25_10680.jpg
/home/pi/Desktop/images/01122025/16/06/image_01122025_16_06_34_9654.jpg
/home/pi/Desktop/images/01122025/16/06/image_01122025_16_06_44_9601.jpg
/home/pi/Desktop/images/01122025/16/06/image_01122025_16_06_55_10625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397246751","1397246748","1397246744","1397246758","1397246746","1397246755"],"photo_ids_order":["1397246744","1397246746","1397246748","1397246751","1397246755","1397246758"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/da1ed152b14daca9285f2a93e2aae96d.jpg","text":"TemporaryFile(/tmp/multipartBody3158195219122203112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612303433,"filename":"image_01122025_16_06_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/1/d4544a7be40870bbaf1a9509fbed3606.jpg","text":"TemporaryFile(/tmp/multipartBody5924335288464655451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612303433,"filename":"image_01122025_16_06_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/1/883c1d3c614caacc601a88e4641916dd.jpg","text":"TemporaryFile(/tmp/multipartBody5701600152721337191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612303433,"filename":"image_01122025_16_06_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/1/4c149c8be6eaf46caa2e50de7646a594.jpg","text":"TemporaryFile(/tmp/multipartBody4809971082736854174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612303433,"filename":"image_01122025_16_06_55_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ed4c522024cb766c9a8f0088bcc7f6c8.jpg","text":"TemporaryFile(/tmp/multipartBody5563759923668810646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612303433,"filename":"image_01122025_16_06_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/1/d75e63ec61fb7336d90c98c52b55d704.jpg","text":"TemporaryFile(/tmp/multipartBody6703370076445396536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612303433,"filename":"image_01122025_16_06_44_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246748","file1":"1397246746","file0":"1397246744","file4":"1397246755","file5":"1397246758","file3":"1397246751"},"map_files_photo_id_array":[{"photo_id":"1397246758","filename":"file5"},{"photo_id":"1397246748","filename":"file2"},{"photo_id":"1397246755","filename":"file4"},{"photo_id":"1397246746","filename":"file1"},{"photo_id":"1397246744","filename":"file0"},{"photo_id":"1397246751","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397246751":["hashtag1","hashtag2"]},{"1397246748":["hashtag1","hashtag2"]},{"1397246744":["hashtag1","hashtag2"]},{"1397246758":["hashtag1","hashtag2"]},{"1397246746":["hashtag1","hashtag2"]},{"1397246755":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397246751, 1397246748, 1397246744, 1397246758, 1397246746, 1397246755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84884738922119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:05:02.840667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/06/image_01122025_16_07_04_9786.jpg', '/home/pi/Desktop/images/01122025/16/07/image_01122025_16_07_14_9796.jpg', '/home/pi/Desktop/images/01122025/16/07/image_01122025_16_07_24_9896.jpg', '/home/pi/Desktop/images/01122025/16/07/image_01122025_16_07_35_10823.jpg', '/home/pi/Desktop/images/01122025/16/07/image_01122025_16_07_45_9666.jpg', '/home/pi/Desktop/images/01122025/16/07/image_01122025_16_07_54_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/06/image_01122025_16_07_04_9786.jpg
/home/pi/Desktop/images/01122025/16/07/image_01122025_16_07_14_9796.jpg
/home/pi/Desktop/images/01122025/16/07/image_01122025_16_07_24_9896.jpg
/home/pi/Desktop/images/01122025/16/07/image_01122025_16_07_35_10823.jpg
/home/pi/Desktop/images/01122025/16/07/image_01122025_16_07_45_9666.jpg
/home/pi/Desktop/images/01122025/16/07/image_01122025_16_07_54_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":["1397246771","1397246780","1397246776","1397246773","1397246767","1397246769"],"photo_ids_order":["1397246767","1397246769","1397246771","1397246773","1397246776","1397246780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fd6195800c3af6618710f9fff45951d4.jpg","text":"TemporaryFile(/tmp/multipartBody9019966339557079619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612363568,"filename":"image_01122025_16_07_24_9896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/10e3c7a98aee9d3d224558b941806c68.jpg","text":"TemporaryFile(/tmp/multipartBody5838061596691619610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612363568,"filename":"image_01122025_16_07_54_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/64ce0ee7d5a6718e0dab2e22ee179665.jpg","text":"TemporaryFile(/tmp/multipartBody7847552950492873932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612363568,"filename":"image_01122025_16_07_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/1/882334062da95dd8277d8067097db507.jpg","text":"TemporaryFile(/tmp/multipartBody7828691861207513160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612363568,"filename":"image_01122025_16_07_35_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/1/26a2ef83990d6038638fc4bac069924f.jpg","text":"TemporaryFile(/tmp/multipartBody6308099453798497011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612363568,"filename":"image_01122025_16_07_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/1/87224f2d2a129be3d8d0461a7855d0b9.jpg","text":"TemporaryFile(/tmp/multipartBody3717680654440947176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612363568,"filename":"image_01122025_16_07_14_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246771","file1":"1397246769","file0":"1397246767","file4":"1397246776","file5":"1397246780","file3":"1397246773"},"map_files_photo_id_array":[{"photo_id":"1397246780","filename":"file5"},{"photo_id":"1397246771","filename":"file2"},{"photo_id":"1397246776","filename":"file4"},{"photo_id":"1397246769","filename":"file1"},{"photo_id":"1397246767","filename":"file0"},{"photo_id":"1397246773","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397246771":["hashtag1","hashtag2"]},{"1397246780":["hashtag1","hashtag2"]},{"1397246776":["hashtag1","hashtag2"]},{"1397246773":["hashtag1","hashtag2"]},{"1397246767":["hashtag1","hashtag2"]},{"1397246769":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397246771, 1397246780, 1397246776, 1397246773, 1397246767, 1397246769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51661920547485 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-01 19:06:02.708561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/07/image_01122025_16_08_05_10678.jpg', '/home/pi/Desktop/images/01122025/16/08/image_01122025_16_08_14_9570.jpg', '/home/pi/Desktop/images/01122025/16/08/image_01122025_16_08_35_10587.jpg', '/home/pi/Desktop/images/01122025/16/08/image_01122025_16_08_44_9760.jpg', '/home/pi/Desktop/images/01122025/16/08/image_01122025_16_08_54_9578.jpg', '/home/pi/Desktop/images/01122025/16/08/image_01122025_16_09_05_10679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/07/image_01122025_16_08_05_10678.jpg
/home/pi/Desktop/images/01122025/16/08/image_01122025_16_08_14_9570.jpg
/home/pi/Desktop/images/01122025/16/08/image_01122025_16_08_35_10587.jpg
/home/pi/Desktop/images/01122025/16/08/image_01122025_16_08_44_9760.jpg
/home/pi/Desktop/images/01122025/16/08/image_01122025_16_08_54_9578.jpg
/home/pi/Desktop/images/01122025/16/08/image_01122025_16_09_05_10679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397246795","1397246797","1397246801","1397246791","1397246793","1397246806"],"photo_ids_order":["1397246791","1397246793","1397246795","1397246797","1397246801","1397246806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ab41ed31988400b2d84bcdfeb79e7ecc.jpg","text":"TemporaryFile(/tmp/multipartBody8986314888137380019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612423412,"filename":"image_01122025_16_08_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/1/f6491e600cc16994051e130dfd3a87de.jpg","text":"TemporaryFile(/tmp/multipartBody759241368699205474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612423412,"filename":"image_01122025_16_08_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/1/b3c475d392cfe9531d3c34c4fa4b8038.jpg","text":"TemporaryFile(/tmp/multipartBody5411706282975342747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612423412,"filename":"image_01122025_16_08_54_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/794db2fbb869d907a722968072b258ea.jpg","text":"TemporaryFile(/tmp/multipartBody970790049635351454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612423412,"filename":"image_01122025_16_08_05_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/488204ca3b13e3eabaeddad7397a68da.jpg","text":"TemporaryFile(/tmp/multipartBody6968555946133398353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612423412,"filename":"image_01122025_16_08_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/1/f6839acaf7c173d63c1ae02917d9eefe.jpg","text":"TemporaryFile(/tmp/multipartBody6519963282417367427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612423412,"filename":"image_01122025_16_09_05_10679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246795","file1":"1397246793","file0":"1397246791","file4":"1397246801","file5":"1397246806","file3":"1397246797"},"map_files_photo_id_array":[{"photo_id":"1397246806","filename":"file5"},{"photo_id":"1397246795","filename":"file2"},{"photo_id":"1397246801","filename":"file4"},{"photo_id":"1397246793","filename":"file1"},{"photo_id":"1397246791","filename":"file0"},{"photo_id":"1397246797","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397246795":["hashtag1","hashtag2"]},{"1397246797":["hashtag1","hashtag2"]},{"1397246801":["hashtag1","hashtag2"]},{"1397246791":["hashtag1","hashtag2"]},{"1397246793":["hashtag1","hashtag2"]},{"1397246806":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397246795, 1397246797, 1397246801, 1397246791, 1397246793, 1397246806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.21512198448181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:07:03.104961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/09/image_01122025_16_09_15_9931.jpg', '/home/pi/Desktop/images/01122025/16/09/image_01122025_16_09_34_9684.jpg', '/home/pi/Desktop/images/01122025/16/09/image_01122025_16_09_45_10693.jpg', '/home/pi/Desktop/images/01122025/16/09/image_01122025_16_09_55_10166.jpg', '/home/pi/Desktop/images/01122025/16/11/image_01122025_16_11_15_10055.jpg', '/home/pi/Desktop/images/01122025/16/11/image_01122025_16_11_26_10854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/09/image_01122025_16_09_15_9931.jpg
/home/pi/Desktop/images/01122025/16/09/image_01122025_16_09_34_9684.jpg
/home/pi/Desktop/images/01122025/16/09/image_01122025_16_09_45_10693.jpg
/home/pi/Desktop/images/01122025/16/09/image_01122025_16_09_55_10166.jpg
/home/pi/Desktop/images/01122025/16/11/image_01122025_16_11_15_10055.jpg
/home/pi/Desktop/images/01122025/16/11/image_01122025_16_11_26_10854.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397246826","1397246829","1397246817","1397246822","1397246819","1397246815"],"photo_ids_order":["1397246815","1397246817","1397246819","1397246822","1397246826","1397246829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fe30f71b2996e3151f1f945f8262ae64.jpg","text":"TemporaryFile(/tmp/multipartBody8642082197807746855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612483848,"filename":"image_01122025_16_11_15_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0cceee981d6fa2dd8fe043e3d810387e.jpg","text":"TemporaryFile(/tmp/multipartBody9156010762805187070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612483848,"filename":"image_01122025_16_11_26_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/1/9fd56ce88bc6f55cd78c58528cb8ef36.jpg","text":"TemporaryFile(/tmp/multipartBody1536234709984329778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612483848,"filename":"image_01122025_16_09_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/1/7275229dfb941380e40bb1adb066c6ea.jpg","text":"TemporaryFile(/tmp/multipartBody252958159152517195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612483848,"filename":"image_01122025_16_09_55_10166.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0139fd0f80f47e893c4ebb68aebe5389.jpg","text":"TemporaryFile(/tmp/multipartBody3276524162193188291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612483848,"filename":"image_01122025_16_09_45_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9d185c249980433477d549ec8da23624.jpg","text":"TemporaryFile(/tmp/multipartBody4603447398411128928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612483848,"filename":"image_01122025_16_09_15_9931.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246819","file1":"1397246817","file0":"1397246815","file4":"1397246826","file5":"1397246829","file3":"1397246822"},"map_files_photo_id_array":[{"photo_id":"1397246829","filename":"file5"},{"photo_id":"1397246819","filename":"file2"},{"photo_id":"1397246826","filename":"file4"},{"photo_id":"1397246817","filename":"file1"},{"photo_id":"1397246815","filename":"file0"},{"photo_id":"1397246822","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397246826":["hashtag1","hashtag2"]},{"1397246829":["hashtag1","hashtag2"]},{"1397246817":["hashtag1","hashtag2"]},{"1397246822":["hashtag1","hashtag2"]},{"1397246819":["hashtag1","hashtag2"]},{"1397246815":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397246826, 1397246829, 1397246817, 1397246822, 1397246819, 1397246815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.427807092666626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:08:03.127553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/11/image_01122025_16_11_35_9583.jpg', '/home/pi/Desktop/images/01122025/16/11/image_01122025_16_11_50_14992.jpg', '/home/pi/Desktop/images/01122025/16/11/image_01122025_16_11_56_5072.jpg', '/home/pi/Desktop/images/01122025/16/11/image_01122025_16_12_05_9752.jpg', '/home/pi/Desktop/images/01122025/16/12/image_01122025_16_12_15_9707.jpg', '/home/pi/Desktop/images/01122025/16/12/image_01122025_16_12_26_10592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/11/image_01122025_16_11_35_9583.jpg
/home/pi/Desktop/images/01122025/16/11/image_01122025_16_11_50_14992.jpg
/home/pi/Desktop/images/01122025/16/11/image_01122025_16_11_56_5072.jpg
/home/pi/Desktop/images/01122025/16/11/image_01122025_16_12_05_9752.jpg
/home/pi/Desktop/images/01122025/16/12/image_01122025_16_12_15_9707.jpg
/home/pi/Desktop/images/01122025/16/12/image_01122025_16_12_26_10592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397246844","1397246838","1397246853","1397246840","1397246848","1397246842"],"photo_ids_order":["1397246838","1397246840","1397246842","1397246844","1397246848","1397246853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/85ffed27966c899c53b7441801a75855.jpg","text":"TemporaryFile(/tmp/multipartBody6404851729823485281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612543828,"filename":"image_01122025_16_12_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/1/321cac06da5d6130a3158cd8be1e2c99.jpg","text":"TemporaryFile(/tmp/multipartBody1160659508653525753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612543828,"filename":"image_01122025_16_11_35_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4b58cdc82f63a8bebfe833a661c933d8.jpg","text":"TemporaryFile(/tmp/multipartBody1644867269628589834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612543828,"filename":"image_01122025_16_12_26_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/1/9682ce3200de2e4f5c5a1f1d9eb3bb0f.jpg","text":"TemporaryFile(/tmp/multipartBody8035620211020057034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612543828,"filename":"image_01122025_16_11_50_14992.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/73ab4946e0cb89b4bf256d352a91728e.jpg","text":"TemporaryFile(/tmp/multipartBody5805091932168776917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612543828,"filename":"image_01122025_16_12_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/1/0fdbcd85af24707361b987bd8c0d4a59.jpg","text":"TemporaryFile(/tmp/multipartBody7152531306844634274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612543828,"filename":"image_01122025_16_11_56_5072.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246842","file1":"1397246840","file0":"1397246838","file4":"1397246848","file5":"1397246853","file3":"1397246844"},"map_files_photo_id_array":[{"photo_id":"1397246853","filename":"file5"},{"photo_id":"1397246842","filename":"file2"},{"photo_id":"1397246848","filename":"file4"},{"photo_id":"1397246840","filename":"file1"},{"photo_id":"1397246838","filename":"file0"},{"photo_id":"1397246844","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397246844":["hashtag1","hashtag2"]},{"1397246838":["hashtag1","hashtag2"]},{"1397246853":["hashtag1","hashtag2"]},{"1397246840":["hashtag1","hashtag2"]},{"1397246848":["hashtag1","hashtag2"]},{"1397246842":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397246844, 1397246838, 1397246853, 1397246840, 1397246848, 1397246842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50490212440491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 19:08:42.611179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_30_2527.jpg', '/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_33_3765.jpg', '/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_36_2587.jpg', '/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_39_2542.jpg', '/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_42_3713.jpg', '/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_45_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_30_2527.jpg
/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_33_3765.jpg
/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_36_2587.jpg
/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_39_2542.jpg
/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_42_3713.jpg
/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_45_2716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397246862","1397246865","1397246867","1397246864","1397246866","1397246869"],"photo_ids_order":["1397246862","1397246864","1397246865","1397246866","1397246867","1397246869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5772bcaf2f654cfc18e0f1f9bdc1130b.jpg","text":"TemporaryFile(/tmp/multipartBody2084132646958094154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612585119,"filename":"image_31102025_14_52_30_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/1/c8cd630cb331006e281b3e0f8a0c887e.jpg","text":"TemporaryFile(/tmp/multipartBody3463675409194521089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612585119,"filename":"image_31102025_14_52_36_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/1/18abd2614b9193c2a3a4e2bad4162827.jpg","text":"TemporaryFile(/tmp/multipartBody770825626790071690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612585119,"filename":"image_31102025_14_52_42_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ebbab54847f442de074906ef94413b9b.jpg","text":"TemporaryFile(/tmp/multipartBody402119773455726470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612585119,"filename":"image_31102025_14_52_33_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4ae72c27cfdf792ddee4ef868c712260.jpg","text":"TemporaryFile(/tmp/multipartBody2237225010484250470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612585119,"filename":"image_31102025_14_52_39_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/1/3b2b2b98ba830274454d46bd75eee75e.jpg","text":"TemporaryFile(/tmp/multipartBody4484599009402012011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612585119,"filename":"image_31102025_14_52_45_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246865","file1":"1397246864","file0":"1397246862","file4":"1397246867","file5":"1397246869","file3":"1397246866"},"map_files_photo_id_array":[{"photo_id":"1397246869","filename":"file5"},{"photo_id":"1397246865","filename":"file2"},{"photo_id":"1397246867","filename":"file4"},{"photo_id":"1397246864","filename":"file1"},{"photo_id":"1397246862","filename":"file0"},{"photo_id":"1397246866","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397246862":["hashtag1","hashtag2"]},{"1397246865":["hashtag1","hashtag2"]},{"1397246867":["hashtag1","hashtag2"]},{"1397246864":["hashtag1","hashtag2"]},{"1397246866":["hashtag1","hashtag2"]},{"1397246869":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397246862, 1397246865, 1397246867, 1397246864, 1397246866, 1397246869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.49453520774841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 19:09:32.833984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_50_2599.jpg', '/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_52_2694.jpg', '/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_56_3696.jpg', '/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_59_2720.jpg', '/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_01_2652.jpg', '/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_05_3667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_50_2599.jpg
/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_52_2694.jpg
/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_56_3696.jpg
/home/pi/Desktop/images/25112025/23/17/image_25112025_23_17_59_2720.jpg
/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_01_2652.jpg
/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_05_3667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397246910","1397246904","1397246901","1397246891","1397246881","1397246900"],"photo_ids_order":["1397246881","1397246891","1397246900","1397246901","1397246904","1397246910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d55f30db86ed3b5eb7e6cb235204b010.jpg","text":"TemporaryFile(/tmp/multipartBody4696070805988800595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612634532,"filename":"image_25112025_23_18_05_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/eb77d06f95318328e870f5d0024b752f.jpg","text":"TemporaryFile(/tmp/multipartBody9079617047241516472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612634532,"filename":"image_25112025_23_18_01_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/1/ebca10afb0971171b2d3347d8b1361bc.jpg","text":"TemporaryFile(/tmp/multipartBody3791172006894312964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612634532,"filename":"image_25112025_23_17_59_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8073423b603a98bea500288a8ad6c67b.jpg","text":"TemporaryFile(/tmp/multipartBody4464571161534208987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612634532,"filename":"image_25112025_23_17_52_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/1/0f9f907bc59b8b57702f71cb02a9e0e5.jpg","text":"TemporaryFile(/tmp/multipartBody3283579274119800215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612634532,"filename":"image_25112025_23_17_50_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/1/c9bd51dd5f7cf5d305124834fcab0405.jpg","text":"TemporaryFile(/tmp/multipartBody9082029217277853494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612634532,"filename":"image_25112025_23_17_56_3696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246900","file1":"1397246891","file0":"1397246881","file4":"1397246904","file5":"1397246910","file3":"1397246901"},"map_files_photo_id_array":[{"photo_id":"1397246910","filename":"file5"},{"photo_id":"1397246900","filename":"file2"},{"photo_id":"1397246904","filename":"file4"},{"photo_id":"1397246891","filename":"file1"},{"photo_id":"1397246881","filename":"file0"},{"photo_id":"1397246901","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397246910":["hashtag1","hashtag2"]},{"1397246904":["hashtag1","hashtag2"]},{"1397246901":["hashtag1","hashtag2"]},{"1397246891":["hashtag1","hashtag2"]},{"1397246881":["hashtag1","hashtag2"]},{"1397246900":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397246910, 1397246904, 1397246901, 1397246891, 1397246881, 1397246900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.16500282287598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 19:10:21.972656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/12/image_01122025_16_12_35_9806.jpg', '/home/pi/Desktop/images/01122025/16/12/image_01122025_16_12_45_9646.jpg', '/home/pi/Desktop/images/01122025/16/12/image_01122025_16_12_56_10743.jpg', '/home/pi/Desktop/images/01122025/16/12/image_01122025_16_13_06_9844.jpg', '/home/pi/Desktop/images/01122025/16/13/image_01122025_16_13_15_9687.jpg', '/home/pi/Desktop/images/01122025/16/13/image_01122025_16_13_26_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/12/image_01122025_16_12_35_9806.jpg
/home/pi/Desktop/images/01122025/16/12/image_01122025_16_12_45_9646.jpg
/home/pi/Desktop/images/01122025/16/12/image_01122025_16_12_56_10743.jpg
/home/pi/Desktop/images/01122025/16/12/image_01122025_16_13_06_9844.jpg
/home/pi/Desktop/images/01122025/16/13/image_01122025_16_13_15_9687.jpg
/home/pi/Desktop/images/01122025/16/13/image_01122025_16_13_26_10631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397246940","1397246943","1397246952","1397246950","1397246938","1397246947"],"photo_ids_order":["1397246938","1397246940","1397246943","1397246947","1397246950","1397246952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d6aa123627c28fcc4c82c2d3b56f0203.jpg","text":"TemporaryFile(/tmp/multipartBody6312043132245782576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612682688,"filename":"image_01122025_16_12_45_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c635ba0df28d1b45ffd978225f769662.jpg","text":"TemporaryFile(/tmp/multipartBody4270120549435400164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612682688,"filename":"image_01122025_16_12_56_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/1/01308e064ff46c4ba92044ae83333cb3.jpg","text":"TemporaryFile(/tmp/multipartBody8802827925602887834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612682688,"filename":"image_01122025_16_13_26_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/1/0c07aef83254f72f4309b0de351a60e3.jpg","text":"TemporaryFile(/tmp/multipartBody7256631809901667050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612682688,"filename":"image_01122025_16_13_15_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0eaa61fb681e5fc924241c6fc6a4076e.jpg","text":"TemporaryFile(/tmp/multipartBody6693813070465657315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612682688,"filename":"image_01122025_16_12_35_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/1/4fda5ac9f43b9bda12e6f5afb37b103d.jpg","text":"TemporaryFile(/tmp/multipartBody224548542232997760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612682688,"filename":"image_01122025_16_13_06_9844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246943","file1":"1397246940","file0":"1397246938","file4":"1397246950","file5":"1397246952","file3":"1397246947"},"map_files_photo_id_array":[{"photo_id":"1397246952","filename":"file5"},{"photo_id":"1397246943","filename":"file2"},{"photo_id":"1397246950","filename":"file4"},{"photo_id":"1397246940","filename":"file1"},{"photo_id":"1397246938","filename":"file0"},{"photo_id":"1397246947","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397246940":["hashtag1","hashtag2"]},{"1397246943":["hashtag1","hashtag2"]},{"1397246952":["hashtag1","hashtag2"]},{"1397246950":["hashtag1","hashtag2"]},{"1397246938":["hashtag1","hashtag2"]},{"1397246947":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397246940, 1397246943, 1397246952, 1397246950, 1397246938, 1397246947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31874656677246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:11:02.753924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/13/image_01122025_16_13_36_9726.jpg', '/home/pi/Desktop/images/01122025/16/13/image_01122025_16_13_45_9612.jpg', '/home/pi/Desktop/images/01122025/16/13/image_01122025_16_13_55_9705.jpg', '/home/pi/Desktop/images/01122025/16/13/image_01122025_16_14_06_10644.jpg', '/home/pi/Desktop/images/01122025/16/14/image_01122025_16_14_16_9868.jpg', '/home/pi/Desktop/images/01122025/16/14/image_01122025_16_14_25_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/13/image_01122025_16_13_36_9726.jpg
/home/pi/Desktop/images/01122025/16/13/image_01122025_16_13_45_9612.jpg
/home/pi/Desktop/images/01122025/16/13/image_01122025_16_13_55_9705.jpg
/home/pi/Desktop/images/01122025/16/13/image_01122025_16_14_06_10644.jpg
/home/pi/Desktop/images/01122025/16/14/image_01122025_16_14_16_9868.jpg
/home/pi/Desktop/images/01122025/16/14/image_01122025_16_14_25_9695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397246982","1397246955","1397246978","1397246969","1397246974","1397246971"],"photo_ids_order":["1397246955","1397246969","1397246971","1397246974","1397246978","1397246982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3e1add3ee2abb6b9a96e5e39faa91b80.jpg","text":"TemporaryFile(/tmp/multipartBody5069635042022759652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612723555,"filename":"image_01122025_16_14_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/1/182f8cb3c7f883e76ad8e2248ea993c7.jpg","text":"TemporaryFile(/tmp/multipartBody4366892683411252537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612723555,"filename":"image_01122025_16_13_36_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/1/6a190f39d22b677d158e9c354166c3ba.jpg","text":"TemporaryFile(/tmp/multipartBody1041310541928857051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612723555,"filename":"image_01122025_16_14_16_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/1/80145237be96359b8a2f8f3c1a948a7b.jpg","text":"TemporaryFile(/tmp/multipartBody8086449390426110926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612723555,"filename":"image_01122025_16_13_45_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/02d3dc1dd5ca6a7277b6e9c7c38bdaa8.jpg","text":"TemporaryFile(/tmp/multipartBody5307855533735906739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612723555,"filename":"image_01122025_16_14_06_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/1/3c7602c7dcf144c529bbb4367352a39f.jpg","text":"TemporaryFile(/tmp/multipartBody3290957616378683210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612723555,"filename":"image_01122025_16_13_55_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397246971","file1":"1397246969","file0":"1397246955","file4":"1397246978","file5":"1397246982","file3":"1397246974"},"map_files_photo_id_array":[{"photo_id":"1397246982","filename":"file5"},{"photo_id":"1397246971","filename":"file2"},{"photo_id":"1397246978","filename":"file4"},{"photo_id":"1397246969","filename":"file1"},{"photo_id":"1397246955","filename":"file0"},{"photo_id":"1397246974","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397246982":["hashtag1","hashtag2"]},{"1397246955":["hashtag1","hashtag2"]},{"1397246978":["hashtag1","hashtag2"]},{"1397246969":["hashtag1","hashtag2"]},{"1397246974":["hashtag1","hashtag2"]},{"1397246971":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397246982, 1397246955, 1397246978, 1397246969, 1397246974, 1397246971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.360572814941406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:12:02.878350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/14/image_01122025_16_14_36_10628.jpg', '/home/pi/Desktop/images/01122025/16/14/image_01122025_16_14_46_9682.jpg', '/home/pi/Desktop/images/01122025/16/14/image_01122025_16_14_55_9611.jpg', '/home/pi/Desktop/images/01122025/16/15/image_01122025_16_15_14_10053.jpg', '/home/pi/Desktop/images/01122025/16/15/image_01122025_16_15_24_10640.jpg', '/home/pi/Desktop/images/01122025/16/15/image_01122025_16_15_34_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/14/image_01122025_16_14_36_10628.jpg
/home/pi/Desktop/images/01122025/16/14/image_01122025_16_14_46_9682.jpg
/home/pi/Desktop/images/01122025/16/14/image_01122025_16_14_55_9611.jpg
/home/pi/Desktop/images/01122025/16/15/image_01122025_16_15_14_10053.jpg
/home/pi/Desktop/images/01122025/16/15/image_01122025_16_15_24_10640.jpg
/home/pi/Desktop/images/01122025/16/15/image_01122025_16_15_34_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397247102","1397247111","1397247114","1397247108","1397247104","1397247106"],"photo_ids_order":["1397247102","1397247104","1397247106","1397247108","1397247111","1397247114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/87058217547fcc83fbdde25d46a5b94e.jpg","text":"TemporaryFile(/tmp/multipartBody935701896430636387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612783581,"filename":"image_01122025_16_14_36_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/1/d88c41dbb11f8cc0adc42bc8500eb908.jpg","text":"TemporaryFile(/tmp/multipartBody3470305242476199094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612783581,"filename":"image_01122025_16_15_24_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/eaf3213ac6f635f834dfa69ae5b72177.jpg","text":"TemporaryFile(/tmp/multipartBody6598340175434015454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612783581,"filename":"image_01122025_16_15_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/1/144c3154e1c21db8bf1903d871154745.jpg","text":"TemporaryFile(/tmp/multipartBody8438338465052784941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612783581,"filename":"image_01122025_16_15_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/1/80ed25c464de9fdf835adf3d08fd60a5.jpg","text":"TemporaryFile(/tmp/multipartBody5679579416568044701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612783581,"filename":"image_01122025_16_14_46_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/1/a4747364b08084e7928416ee216604f2.jpg","text":"TemporaryFile(/tmp/multipartBody8273715692890934610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612783581,"filename":"image_01122025_16_14_55_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397247106","file1":"1397247104","file0":"1397247102","file4":"1397247111","file5":"1397247114","file3":"1397247108"},"map_files_photo_id_array":[{"photo_id":"1397247114","filename":"file5"},{"photo_id":"1397247106","filename":"file2"},{"photo_id":"1397247111","filename":"file4"},{"photo_id":"1397247104","filename":"file1"},{"photo_id":"1397247102","filename":"file0"},{"photo_id":"1397247108","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397247102":["hashtag1","hashtag2"]},{"1397247111":["hashtag1","hashtag2"]},{"1397247114":["hashtag1","hashtag2"]},{"1397247108":["hashtag1","hashtag2"]},{"1397247104":["hashtag1","hashtag2"]},{"1397247106":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397247102, 1397247111, 1397247114, 1397247108, 1397247104, 1397247106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.078349351882935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 19:12:42.423911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_48_2756.jpg', '/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_51_3625.jpg', '/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_54_2792.jpg', '/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_57_2709.jpg', '/home/pi/Desktop/images/31102025/14/52/image_31102025_14_53_00_3539.jpg', '/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_03_2929.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_48_2756.jpg
/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_51_3625.jpg
/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_54_2792.jpg
/home/pi/Desktop/images/31102025/14/52/image_31102025_14_52_57_2709.jpg
/home/pi/Desktop/images/31102025/14/52/image_31102025_14_53_00_3539.jpg
/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_03_2929.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397247126","1397247131","1397247128","1397247124","1397247127","1397247129"],"photo_ids_order":["1397247124","1397247126","1397247127","1397247128","1397247129","1397247131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cb204316184776d3cf431955f346debc.jpg","text":"TemporaryFile(/tmp/multipartBody2926749701687590732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612825026,"filename":"image_31102025_14_52_51_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/1/33b1a7a33e206b9c0f6e1a1a5400a607.jpg","text":"TemporaryFile(/tmp/multipartBody4889494727841118886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612825026,"filename":"image_31102025_14_53_03_2929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8022212844561337d58a9df8ef250126.jpg","text":"TemporaryFile(/tmp/multipartBody4743045943091411479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612825026,"filename":"image_31102025_14_52_57_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/1/8a365fdc06a0ed6daa51f36d3da6eff7.jpg","text":"TemporaryFile(/tmp/multipartBody1215701266707199979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612825026,"filename":"image_31102025_14_52_48_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/1/56a61a0f5fc9acd291e6f7d46808138a.jpg","text":"TemporaryFile(/tmp/multipartBody6654317022618784844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612825026,"filename":"image_31102025_14_52_54_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/1/1a0a13f73d102e5f27a581fbcba7aaca.jpg","text":"TemporaryFile(/tmp/multipartBody7428447102877538898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612825026,"filename":"image_31102025_14_53_00_3539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397247127","file1":"1397247126","file0":"1397247124","file4":"1397247129","file5":"1397247131","file3":"1397247128"},"map_files_photo_id_array":[{"photo_id":"1397247131","filename":"file5"},{"photo_id":"1397247127","filename":"file2"},{"photo_id":"1397247129","filename":"file4"},{"photo_id":"1397247126","filename":"file1"},{"photo_id":"1397247124","filename":"file0"},{"photo_id":"1397247128","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397247126":["hashtag1","hashtag2"]},{"1397247131":["hashtag1","hashtag2"]},{"1397247128":["hashtag1","hashtag2"]},{"1397247124":["hashtag1","hashtag2"]},{"1397247127":["hashtag1","hashtag2"]},{"1397247129":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397247126, 1397247131, 1397247128, 1397247124, 1397247127, 1397247129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33878517150879 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 19:13:22.605408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/15/image_01122025_16_15_44_9788.jpg', '/home/pi/Desktop/images/01122025/16/15/image_01122025_16_15_55_10746.jpg', '/home/pi/Desktop/images/01122025/16/15/image_01122025_16_16_04_9543.jpg', '/home/pi/Desktop/images/01122025/16/16/image_01122025_16_16_14_9666.jpg', '/home/pi/Desktop/images/01122025/16/16/image_01122025_16_16_25_10666.jpg', '/home/pi/Desktop/images/01122025/16/16/image_01122025_16_16_34_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/15/image_01122025_16_15_44_9788.jpg
/home/pi/Desktop/images/01122025/16/15/image_01122025_16_15_55_10746.jpg
/home/pi/Desktop/images/01122025/16/15/image_01122025_16_16_04_9543.jpg
/home/pi/Desktop/images/01122025/16/16/image_01122025_16_16_14_9666.jpg
/home/pi/Desktop/images/01122025/16/16/image_01122025_16_16_25_10666.jpg
/home/pi/Desktop/images/01122025/16/16/image_01122025_16_16_34_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":["1397247138","1397247275","1397247146","1397247149","1397247142","1397247168"],"photo_ids_order":["1397247138","1397247142","1397247146","1397247149","1397247168","1397247275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9e8fe5a2cfff916b4d0a0cfaf19551bb.jpg","text":"TemporaryFile(/tmp/multipartBody1557956259606665740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612863318,"filename":"image_01122025_16_15_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/1/9997c4a8457d516aff415c7da2ae4d6a.jpg","text":"TemporaryFile(/tmp/multipartBody4771387990690627857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612863318,"filename":"image_01122025_16_16_34_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4cdf44c82ffa3b1d175e835bf4178a35.jpg","text":"TemporaryFile(/tmp/multipartBody8895277563251364023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612863318,"filename":"image_01122025_16_16_04_9543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cd22744c5e54f13eb0ffa245dc8ba8a9.jpg","text":"TemporaryFile(/tmp/multipartBody2962230924742817438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612863318,"filename":"image_01122025_16_16_14_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1daeeb18e878ddef1a9c49024e286831.jpg","text":"TemporaryFile(/tmp/multipartBody440281946161041579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612863318,"filename":"image_01122025_16_15_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/1/873d6a372d0968dbb4bd27227944b9cc.jpg","text":"TemporaryFile(/tmp/multipartBody165399816649583591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612863318,"filename":"image_01122025_16_16_25_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397247146","file1":"1397247142","file0":"1397247138","file4":"1397247168","file5":"1397247275","file3":"1397247149"},"map_files_photo_id_array":[{"photo_id":"1397247275","filename":"file5"},{"photo_id":"1397247146","filename":"file2"},{"photo_id":"1397247168","filename":"file4"},{"photo_id":"1397247142","filename":"file1"},{"photo_id":"1397247138","filename":"file0"},{"photo_id":"1397247149","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397247138":["hashtag1","hashtag2"]},{"1397247275":["hashtag1","hashtag2"]},{"1397247146":["hashtag1","hashtag2"]},{"1397247149":["hashtag1","hashtag2"]},{"1397247142":["hashtag1","hashtag2"]},{"1397247168":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397247138, 1397247275, 1397247146, 1397247149, 1397247142, 1397247168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.60006022453308 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 19:14:12.750793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_08_2674.jpg', '/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_10_2649.jpg', '/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_14_3730.jpg', '/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_17_2587.jpg', '/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_19_2646.jpg', '/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_23_3589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_08_2674.jpg
/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_10_2649.jpg
/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_14_3730.jpg
/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_17_2587.jpg
/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_19_2646.jpg
/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_23_3589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397247476","1397247458","1397247452","1397247481","1397247448","1397247462"],"photo_ids_order":["1397247448","1397247452","1397247458","1397247462","1397247476","1397247481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a044d6e1249906a51ec7a019c88986fe.jpg","text":"TemporaryFile(/tmp/multipartBody3798166241542052340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612914336,"filename":"image_25112025_23_18_19_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/19966ec94022bb0aa344fd5d67817c23.jpg","text":"TemporaryFile(/tmp/multipartBody3154634825122730527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612914336,"filename":"image_25112025_23_18_14_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6c31ea08cba4e7c6ff166c7a53576f3d.jpg","text":"TemporaryFile(/tmp/multipartBody8441193371120202214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612914336,"filename":"image_25112025_23_18_10_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d3f5be2110c466f8ebd0fd103ab78e25.jpg","text":"TemporaryFile(/tmp/multipartBody5658393731726695592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612914336,"filename":"image_25112025_23_18_23_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/1/85331b3a99be942befc572fcbcb13fad.jpg","text":"TemporaryFile(/tmp/multipartBody2739135330077275445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612914336,"filename":"image_25112025_23_18_08_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/1/26fb9fd3bdae9d9c850ba1aff2b65d22.jpg","text":"TemporaryFile(/tmp/multipartBody5821707128405651475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612914336,"filename":"image_25112025_23_18_17_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397247458","file1":"1397247452","file0":"1397247448","file4":"1397247476","file5":"1397247481","file3":"1397247462"},"map_files_photo_id_array":[{"photo_id":"1397247481","filename":"file5"},{"photo_id":"1397247458","filename":"file2"},{"photo_id":"1397247476","filename":"file4"},{"photo_id":"1397247452","filename":"file1"},{"photo_id":"1397247448","filename":"file0"},{"photo_id":"1397247462","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397247476":["hashtag1","hashtag2"]},{"1397247458":["hashtag1","hashtag2"]},{"1397247452":["hashtag1","hashtag2"]},{"1397247481":["hashtag1","hashtag2"]},{"1397247448":["hashtag1","hashtag2"]},{"1397247462":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397247476, 1397247458, 1397247452, 1397247481, 1397247448, 1397247462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.88803482055664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:15:02.682593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/16/image_01122025_16_16_44_9745.jpg', '/home/pi/Desktop/images/01122025/16/16/image_01122025_16_16_55_10679.jpg', '/home/pi/Desktop/images/01122025/16/16/image_01122025_16_17_04_9578.jpg', '/home/pi/Desktop/images/01122025/16/17/image_01122025_16_17_14_9659.jpg', '/home/pi/Desktop/images/01122025/16/17/image_01122025_16_17_24_10605.jpg', '/home/pi/Desktop/images/01122025/16/17/image_01122025_16_17_34_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/16/image_01122025_16_16_44_9745.jpg
/home/pi/Desktop/images/01122025/16/16/image_01122025_16_16_55_10679.jpg
/home/pi/Desktop/images/01122025/16/16/image_01122025_16_17_04_9578.jpg
/home/pi/Desktop/images/01122025/16/17/image_01122025_16_17_14_9659.jpg
/home/pi/Desktop/images/01122025/16/17/image_01122025_16_17_24_10605.jpg
/home/pi/Desktop/images/01122025/16/17/image_01122025_16_17_34_9775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397247507","1397247516","1397247509","1397247520","1397247511","1397247505"],"photo_ids_order":["1397247505","1397247507","1397247509","1397247511","1397247516","1397247520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/06d5b4c3bbf1eacc115d97f38d5d74ae.jpg","text":"TemporaryFile(/tmp/multipartBody2467736552759006055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612963408,"filename":"image_01122025_16_16_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/1/56dab42ebb0d24b5641c677a2ca27447.jpg","text":"TemporaryFile(/tmp/multipartBody244997084133167555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612963408,"filename":"image_01122025_16_17_24_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7d40b751fb02b6e9f393f328b38d24f6.jpg","text":"TemporaryFile(/tmp/multipartBody3958121923116371943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612963408,"filename":"image_01122025_16_17_04_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2f38e01ae21975dad898cee69c8bf127.jpg","text":"TemporaryFile(/tmp/multipartBody5416764030044033174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612963408,"filename":"image_01122025_16_17_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/1/c4c829731a672bbc031e43512a6426ba.jpg","text":"TemporaryFile(/tmp/multipartBody636476651366355986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612963408,"filename":"image_01122025_16_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/1/4caec4d0cbcf4fef995103d55f75dc12.jpg","text":"TemporaryFile(/tmp/multipartBody4775920222652829925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764612963408,"filename":"image_01122025_16_16_44_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397247509","file1":"1397247507","file0":"1397247505","file4":"1397247516","file5":"1397247520","file3":"1397247511"},"map_files_photo_id_array":[{"photo_id":"1397247520","filename":"file5"},{"photo_id":"1397247509","filename":"file2"},{"photo_id":"1397247516","filename":"file4"},{"photo_id":"1397247507","filename":"file1"},{"photo_id":"1397247505","filename":"file0"},{"photo_id":"1397247511","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397247507":["hashtag1","hashtag2"]},{"1397247516":["hashtag1","hashtag2"]},{"1397247509":["hashtag1","hashtag2"]},{"1397247520":["hashtag1","hashtag2"]},{"1397247511":["hashtag1","hashtag2"]},{"1397247505":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397247507, 1397247516, 1397247509, 1397247520, 1397247511, 1397247505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.117719888687134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:16:02.627238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/17/image_01122025_16_17_44_9878.jpg', '/home/pi/Desktop/images/01122025/16/17/image_01122025_16_17_54_9643.jpg', '/home/pi/Desktop/images/01122025/16/17/image_01122025_16_18_04_10632.jpg', '/home/pi/Desktop/images/01122025/16/18/image_01122025_16_18_14_9660.jpg', '/home/pi/Desktop/images/01122025/16/18/image_01122025_16_18_24_9787.jpg', '/home/pi/Desktop/images/01122025/16/18/image_01122025_16_18_34_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/17/image_01122025_16_17_44_9878.jpg
/home/pi/Desktop/images/01122025/16/17/image_01122025_16_17_54_9643.jpg
/home/pi/Desktop/images/01122025/16/17/image_01122025_16_18_04_10632.jpg
/home/pi/Desktop/images/01122025/16/18/image_01122025_16_18_14_9660.jpg
/home/pi/Desktop/images/01122025/16/18/image_01122025_16_18_24_9787.jpg
/home/pi/Desktop/images/01122025/16/18/image_01122025_16_18_34_10611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397247542","1397247533","1397247535","1397247538","1397247546","1397247531"],"photo_ids_order":["1397247531","1397247533","1397247535","1397247538","1397247542","1397247546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/aaa3458ad2804f522d7bef7a8f1a2038.jpg","text":"TemporaryFile(/tmp/multipartBody778039579544475985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613023834,"filename":"image_01122025_16_18_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/1/10347123b0dae69fcf702fff5fde176f.jpg","text":"TemporaryFile(/tmp/multipartBody218239534637963393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613023834,"filename":"image_01122025_16_17_54_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6b87e7ad78b18c21bd0b840ab713537a.jpg","text":"TemporaryFile(/tmp/multipartBody4108152846958176508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613023834,"filename":"image_01122025_16_18_04_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a23c03a451eb4690374a71e5115c226f.jpg","text":"TemporaryFile(/tmp/multipartBody3287707500705736346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613023834,"filename":"image_01122025_16_18_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/1/572141d7a629fccb1937ec1b22daa704.jpg","text":"TemporaryFile(/tmp/multipartBody5812197044647052063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613023834,"filename":"image_01122025_16_18_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/1/1497cb8f7b1c3c11597872c8baf0aec6.jpg","text":"TemporaryFile(/tmp/multipartBody6938817390653943563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613023834,"filename":"image_01122025_16_17_44_9878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397247535","file1":"1397247533","file0":"1397247531","file4":"1397247542","file5":"1397247546","file3":"1397247538"},"map_files_photo_id_array":[{"photo_id":"1397247546","filename":"file5"},{"photo_id":"1397247535","filename":"file2"},{"photo_id":"1397247542","filename":"file4"},{"photo_id":"1397247533","filename":"file1"},{"photo_id":"1397247531","filename":"file0"},{"photo_id":"1397247538","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397247542":["hashtag1","hashtag2"]},{"1397247533":["hashtag1","hashtag2"]},{"1397247535":["hashtag1","hashtag2"]},{"1397247538":["hashtag1","hashtag2"]},{"1397247546":["hashtag1","hashtag2"]},{"1397247531":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397247542, 1397247533, 1397247535, 1397247538, 1397247546, 1397247531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.50042796134949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:17:02.953290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/18/image_01122025_16_18_44_9673.jpg', '/home/pi/Desktop/images/01122025/16/18/image_01122025_16_18_54_9588.jpg', '/home/pi/Desktop/images/01122025/16/18/image_01122025_16_19_04_10673.jpg', '/home/pi/Desktop/images/01122025/16/19/image_01122025_16_19_14_9606.jpg', '/home/pi/Desktop/images/01122025/16/19/image_01122025_16_19_24_9804.jpg', '/home/pi/Desktop/images/01122025/16/19/image_01122025_16_19_34_10727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/18/image_01122025_16_18_44_9673.jpg
/home/pi/Desktop/images/01122025/16/18/image_01122025_16_18_54_9588.jpg
/home/pi/Desktop/images/01122025/16/18/image_01122025_16_19_04_10673.jpg
/home/pi/Desktop/images/01122025/16/19/image_01122025_16_19_14_9606.jpg
/home/pi/Desktop/images/01122025/16/19/image_01122025_16_19_24_9804.jpg
/home/pi/Desktop/images/01122025/16/19/image_01122025_16_19_34_10727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397247566","1397247557","1397247559","1397247561","1397247555","1397247570"],"photo_ids_order":["1397247555","1397247557","1397247559","1397247561","1397247566","1397247570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/35fc7cb745b0908e7c28e75436c383ca.jpg","text":"TemporaryFile(/tmp/multipartBody6280433035045468767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613084626,"filename":"image_01122025_16_19_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/1/a4a1a1917393921cb79a46ea17a5bac7.jpg","text":"TemporaryFile(/tmp/multipartBody8357334977390513267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613084626,"filename":"image_01122025_16_18_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/1/45ebe1b661d0f37a016f268b7a3dd932.jpg","text":"TemporaryFile(/tmp/multipartBody1965257257058719507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613084626,"filename":"image_01122025_16_19_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/1/8665c452cf6a3e2ff7a0b4266df7ab09.jpg","text":"TemporaryFile(/tmp/multipartBody3967496701393643804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613084626,"filename":"image_01122025_16_19_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/1/3de83ece60db655d77d09c77c0a010a4.jpg","text":"TemporaryFile(/tmp/multipartBody1806460150928573699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613084626,"filename":"image_01122025_16_18_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/1/2cef1dde4bfb3a6988076d644b2e8569.jpg","text":"TemporaryFile(/tmp/multipartBody4879820864897294348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613084626,"filename":"image_01122025_16_19_34_10727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397247559","file1":"1397247557","file0":"1397247555","file4":"1397247566","file5":"1397247570","file3":"1397247561"},"map_files_photo_id_array":[{"photo_id":"1397247570","filename":"file5"},{"photo_id":"1397247559","filename":"file2"},{"photo_id":"1397247566","filename":"file4"},{"photo_id":"1397247557","filename":"file1"},{"photo_id":"1397247555","filename":"file0"},{"photo_id":"1397247561","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397247566":["hashtag1","hashtag2"]},{"1397247557":["hashtag1","hashtag2"]},{"1397247559":["hashtag1","hashtag2"]},{"1397247561":["hashtag1","hashtag2"]},{"1397247555":["hashtag1","hashtag2"]},{"1397247570":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397247566, 1397247557, 1397247559, 1397247561, 1397247555, 1397247570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.65651297569275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:18:02.888766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/19/image_01122025_16_19_44_9711.jpg', '/home/pi/Desktop/images/01122025/16/19/image_01122025_16_19_54_9565.jpg', '/home/pi/Desktop/images/01122025/16/20/image_01122025_16_20_14_10054.jpg', '/home/pi/Desktop/images/01122025/16/20/image_01122025_16_20_25_10687.jpg', '/home/pi/Desktop/images/01122025/16/20/image_01122025_16_20_35_9779.jpg', '/home/pi/Desktop/images/01122025/16/20/image_01122025_16_20_44_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/19/image_01122025_16_19_44_9711.jpg
/home/pi/Desktop/images/01122025/16/19/image_01122025_16_19_54_9565.jpg
/home/pi/Desktop/images/01122025/16/20/image_01122025_16_20_14_10054.jpg
/home/pi/Desktop/images/01122025/16/20/image_01122025_16_20_25_10687.jpg
/home/pi/Desktop/images/01122025/16/20/image_01122025_16_20_35_9779.jpg
/home/pi/Desktop/images/01122025/16/20/image_01122025_16_20_44_9678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397247581","1397247580","1397247592","1397247588","1397247582","1397247585"],"photo_ids_order":["1397247580","1397247581","1397247582","1397247585","1397247588","1397247592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e650b5d01f8ad0b7adb7dca5e6b48c98.jpg","text":"TemporaryFile(/tmp/multipartBody7505569031522099409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613143713,"filename":"image_01122025_16_19_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/1/5e96b6999af3fb1edac08444e8e6af6f.jpg","text":"TemporaryFile(/tmp/multipartBody1008171365416170020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613143713,"filename":"image_01122025_16_19_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/1/a73e07395eed48c69b573c6316fd772e.jpg","text":"TemporaryFile(/tmp/multipartBody8833461568524953183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613143713,"filename":"image_01122025_16_20_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/1/d75bcb6c21af16a270316239dc441bd1.jpg","text":"TemporaryFile(/tmp/multipartBody1902732522193702477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613143713,"filename":"image_01122025_16_20_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/1/68a83a83af12e55bd9902049cccd89ed.jpg","text":"TemporaryFile(/tmp/multipartBody285409848446734892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613143713,"filename":"image_01122025_16_20_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c6cbbe2edcafea41a12b87d8296ee86b.jpg","text":"TemporaryFile(/tmp/multipartBody7938666794356825562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613143713,"filename":"image_01122025_16_20_25_10687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397247582","file1":"1397247581","file0":"1397247580","file4":"1397247588","file5":"1397247592","file3":"1397247585"},"map_files_photo_id_array":[{"photo_id":"1397247592","filename":"file5"},{"photo_id":"1397247582","filename":"file2"},{"photo_id":"1397247588","filename":"file4"},{"photo_id":"1397247581","filename":"file1"},{"photo_id":"1397247580","filename":"file0"},{"photo_id":"1397247585","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397247581":["hashtag1","hashtag2"]},{"1397247580":["hashtag1","hashtag2"]},{"1397247592":["hashtag1","hashtag2"]},{"1397247588":["hashtag1","hashtag2"]},{"1397247582":["hashtag1","hashtag2"]},{"1397247585":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397247581, 1397247580, 1397247592, 1397247588, 1397247582, 1397247585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13192915916443 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:19:03.539042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/20/image_01122025_16_20_55_10622.jpg', '/home/pi/Desktop/images/01122025/16/20/image_01122025_16_21_05_9743.jpg', '/home/pi/Desktop/images/01122025/16/21/image_01122025_16_21_14_9573.jpg', '/home/pi/Desktop/images/01122025/16/21/image_01122025_16_21_25_10611.jpg', '/home/pi/Desktop/images/01122025/16/21/image_01122025_16_21_35_9835.jpg', '/home/pi/Desktop/images/01122025/16/21/image_01122025_16_21_44_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/20/image_01122025_16_20_55_10622.jpg
/home/pi/Desktop/images/01122025/16/20/image_01122025_16_21_05_9743.jpg
/home/pi/Desktop/images/01122025/16/21/image_01122025_16_21_14_9573.jpg
/home/pi/Desktop/images/01122025/16/21/image_01122025_16_21_25_10611.jpg
/home/pi/Desktop/images/01122025/16/21/image_01122025_16_21_35_9835.jpg
/home/pi/Desktop/images/01122025/16/21/image_01122025_16_21_44_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397247633","1397247627","1397247635","1397247629","1397247631","1397247640"],"photo_ids_order":["1397247627","1397247629","1397247631","1397247633","1397247635","1397247640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6c04a2a369d9f2c450b7be00d54e4a95.jpg","text":"TemporaryFile(/tmp/multipartBody1383356817733455316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613205077,"filename":"image_01122025_16_21_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/1/c5ab9848ced7102822e28a8446c39cbd.jpg","text":"TemporaryFile(/tmp/multipartBody2928721497207183026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613205077,"filename":"image_01122025_16_20_55_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b37219eab94dc91b8597c21ad0a22211.jpg","text":"TemporaryFile(/tmp/multipartBody3575464415704204721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613205077,"filename":"image_01122025_16_21_35_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c60f55f57eabff4de7ff9c771a92cc64.jpg","text":"TemporaryFile(/tmp/multipartBody6321365031349605593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613205077,"filename":"image_01122025_16_21_05_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6c4959379e8da630efbacb7070a84ee3.jpg","text":"TemporaryFile(/tmp/multipartBody6514355963216479223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613205077,"filename":"image_01122025_16_21_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/1/7363236015e87dcd89c72fcf16ceef7e.jpg","text":"TemporaryFile(/tmp/multipartBody7595557510294542131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613205077,"filename":"image_01122025_16_21_44_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397247631","file1":"1397247629","file0":"1397247627","file4":"1397247635","file5":"1397247640","file3":"1397247633"},"map_files_photo_id_array":[{"photo_id":"1397247640","filename":"file5"},{"photo_id":"1397247631","filename":"file2"},{"photo_id":"1397247635","filename":"file4"},{"photo_id":"1397247629","filename":"file1"},{"photo_id":"1397247627","filename":"file0"},{"photo_id":"1397247633","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397247633":["hashtag1","hashtag2"]},{"1397247627":["hashtag1","hashtag2"]},{"1397247635":["hashtag1","hashtag2"]},{"1397247629":["hashtag1","hashtag2"]},{"1397247631":["hashtag1","hashtag2"]},{"1397247640":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397247633, 1397247627, 1397247635, 1397247629, 1397247631, 1397247640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.33257746696472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:20:03.319524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/21/image_01122025_16_21_55_10734.jpg', '/home/pi/Desktop/images/01122025/16/21/image_01122025_16_22_05_9574.jpg', '/home/pi/Desktop/images/01122025/16/22/image_01122025_16_22_14_9744.jpg', '/home/pi/Desktop/images/01122025/16/22/image_01122025_16_22_25_10720.jpg', '/home/pi/Desktop/images/01122025/16/22/image_01122025_16_22_35_9763.jpg', '/home/pi/Desktop/images/01122025/16/22/image_01122025_16_22_44_9516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/21/image_01122025_16_21_55_10734.jpg
/home/pi/Desktop/images/01122025/16/21/image_01122025_16_22_05_9574.jpg
/home/pi/Desktop/images/01122025/16/22/image_01122025_16_22_14_9744.jpg
/home/pi/Desktop/images/01122025/16/22/image_01122025_16_22_25_10720.jpg
/home/pi/Desktop/images/01122025/16/22/image_01122025_16_22_35_9763.jpg
/home/pi/Desktop/images/01122025/16/22/image_01122025_16_22_44_9516.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397247695","1397247702","1397247697","1397247706","1397247690","1397247693"],"photo_ids_order":["1397247690","1397247693","1397247695","1397247697","1397247702","1397247706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b1c9fe8c23251c314a5a78ad80114c2e.jpg","text":"TemporaryFile(/tmp/multipartBody3245652768260537612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613264015,"filename":"image_01122025_16_22_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/1/3c5b1eeea21f5cd6a41d1c28febad728.jpg","text":"TemporaryFile(/tmp/multipartBody3176685344443186456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613264015,"filename":"image_01122025_16_22_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/1/1f5026c205ff18a7c5caaf0a1f12245d.jpg","text":"TemporaryFile(/tmp/multipartBody2673846567303055981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613264015,"filename":"image_01122025_16_22_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/1/61cfca320e5f2433a0ba7608306c45dc.jpg","text":"TemporaryFile(/tmp/multipartBody3502011573379151276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613264015,"filename":"image_01122025_16_22_44_9516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c744bb9eae003617d1487cbb439fd5aa.jpg","text":"TemporaryFile(/tmp/multipartBody3143456648960958752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613264015,"filename":"image_01122025_16_21_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/1/6d4b9fa87cf549b8301500081c383e35.jpg","text":"TemporaryFile(/tmp/multipartBody3450633774816465806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613264015,"filename":"image_01122025_16_22_05_9574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397247695","file1":"1397247693","file0":"1397247690","file4":"1397247702","file5":"1397247706","file3":"1397247697"},"map_files_photo_id_array":[{"photo_id":"1397247706","filename":"file5"},{"photo_id":"1397247695","filename":"file2"},{"photo_id":"1397247702","filename":"file4"},{"photo_id":"1397247693","filename":"file1"},{"photo_id":"1397247690","filename":"file0"},{"photo_id":"1397247697","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397247695":["hashtag1","hashtag2"]},{"1397247702":["hashtag1","hashtag2"]},{"1397247697":["hashtag1","hashtag2"]},{"1397247706":["hashtag1","hashtag2"]},{"1397247690":["hashtag1","hashtag2"]},{"1397247693":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397247695, 1397247702, 1397247697, 1397247706, 1397247690, 1397247693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82255983352661 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-01 19:21:02.675971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/22/image_01122025_16_22_55_10683.jpg', '/home/pi/Desktop/images/01122025/16/22/image_01122025_16_23_05_9712.jpg', '/home/pi/Desktop/images/01122025/16/23/image_01122025_16_23_14_9661.jpg', '/home/pi/Desktop/images/01122025/16/23/image_01122025_16_23_25_10638.jpg', '/home/pi/Desktop/images/01122025/16/23/image_01122025_16_23_35_9743.jpg', '/home/pi/Desktop/images/01122025/16/23/image_01122025_16_23_45_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/22/image_01122025_16_22_55_10683.jpg
/home/pi/Desktop/images/01122025/16/22/image_01122025_16_23_05_9712.jpg
/home/pi/Desktop/images/01122025/16/23/image_01122025_16_23_14_9661.jpg
/home/pi/Desktop/images/01122025/16/23/image_01122025_16_23_25_10638.jpg
/home/pi/Desktop/images/01122025/16/23/image_01122025_16_23_35_9743.jpg
/home/pi/Desktop/images/01122025/16/23/image_01122025_16_23_45_9702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397247725","1397247719","1397247721","1397247715","1397247729","1397247717"],"photo_ids_order":["1397247715","1397247717","1397247719","1397247721","1397247725","1397247729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8975e2ff89e2f49bb826af1f48eec5b1.jpg","text":"TemporaryFile(/tmp/multipartBody4715271836176569241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613323453,"filename":"image_01122025_16_23_35_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f584dbda5acc42bacc88e9e524c3867d.jpg","text":"TemporaryFile(/tmp/multipartBody5100953836345272019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613323453,"filename":"image_01122025_16_23_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/1/f66174eeb11d545b9e390be38010668a.jpg","text":"TemporaryFile(/tmp/multipartBody6975348444858826120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613323453,"filename":"image_01122025_16_23_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/1/aaa2e6e42d91b5e64f20b2937917f436.jpg","text":"TemporaryFile(/tmp/multipartBody2946380798407307661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613323453,"filename":"image_01122025_16_22_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/1/4eb6740029b2e33d1e78d272c78bea1d.jpg","text":"TemporaryFile(/tmp/multipartBody370025522893983737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613323453,"filename":"image_01122025_16_23_45_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/18b88dde05295394682b96b588caf8d8.jpg","text":"TemporaryFile(/tmp/multipartBody7771087194919589236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613323453,"filename":"image_01122025_16_23_05_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397247719","file1":"1397247717","file0":"1397247715","file4":"1397247725","file5":"1397247729","file3":"1397247721"},"map_files_photo_id_array":[{"photo_id":"1397247729","filename":"file5"},{"photo_id":"1397247719","filename":"file2"},{"photo_id":"1397247725","filename":"file4"},{"photo_id":"1397247717","filename":"file1"},{"photo_id":"1397247715","filename":"file0"},{"photo_id":"1397247721","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397247725":["hashtag1","hashtag2"]},{"1397247719":["hashtag1","hashtag2"]},{"1397247721":["hashtag1","hashtag2"]},{"1397247715":["hashtag1","hashtag2"]},{"1397247729":["hashtag1","hashtag2"]},{"1397247717":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397247725, 1397247719, 1397247721, 1397247715, 1397247729, 1397247717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21770477294922 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 19:21:42.028633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_06_2605.jpg', '/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_15_8758.jpg', '/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_17_1785.jpg', '/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_18_1799.jpg', '/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_22_3358.jpg', '/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_23_1780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_06_2605.jpg
/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_15_8758.jpg
/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_17_1785.jpg
/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_18_1799.jpg
/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_22_3358.jpg
/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_23_1780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397247746","1397247743","1397247742","1397247745","1397247739","1397247744"],"photo_ids_order":["1397247739","1397247742","1397247743","1397247744","1397247745","1397247746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ad865230f693985a2ffaf2d3b9564840.jpg","text":"TemporaryFile(/tmp/multipartBody7640408092691421174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613364588,"filename":"image_31102025_14_53_23_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/1/77d15f0cfc282fdd338178d1c3942d2c.jpg","text":"TemporaryFile(/tmp/multipartBody2392403610610361719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613364588,"filename":"image_31102025_14_53_17_1785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a6985c18d1abb0eab72591b8778394ee.jpg","text":"TemporaryFile(/tmp/multipartBody2972494891916698838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613364588,"filename":"image_31102025_14_53_15_8758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/379cd466b8f9c8329508cea10181cc49.jpg","text":"TemporaryFile(/tmp/multipartBody6920024940991557414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613364588,"filename":"image_31102025_14_53_22_3358.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2870684e763c37bf661052df2d66ba29.jpg","text":"TemporaryFile(/tmp/multipartBody2845752593269129596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613364588,"filename":"image_31102025_14_53_06_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5f04fb25d1258a1ad4583afa48975a23.jpg","text":"TemporaryFile(/tmp/multipartBody3084153373362556349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613364588,"filename":"image_31102025_14_53_18_1799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397247743","file1":"1397247742","file0":"1397247739","file4":"1397247745","file5":"1397247746","file3":"1397247744"},"map_files_photo_id_array":[{"photo_id":"1397247746","filename":"file5"},{"photo_id":"1397247743","filename":"file2"},{"photo_id":"1397247745","filename":"file4"},{"photo_id":"1397247742","filename":"file1"},{"photo_id":"1397247739","filename":"file0"},{"photo_id":"1397247744","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397247746":["hashtag1","hashtag2"]},{"1397247743":["hashtag1","hashtag2"]},{"1397247742":["hashtag1","hashtag2"]},{"1397247745":["hashtag1","hashtag2"]},{"1397247739":["hashtag1","hashtag2"]},{"1397247744":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397247746, 1397247743, 1397247742, 1397247745, 1397247739, 1397247744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.927536487579346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 19:22:22.185311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/23/image_01122025_16_23_54_9672.jpg', '/home/pi/Desktop/images/01122025/16/23/image_01122025_16_24_05_10716.jpg', '/home/pi/Desktop/images/01122025/16/24/image_01122025_16_24_15_9619.jpg', '/home/pi/Desktop/images/01122025/16/24/image_01122025_16_24_24_9686.jpg', '/home/pi/Desktop/images/01122025/16/24/image_01122025_16_24_35_10626.jpg', '/home/pi/Desktop/images/01122025/16/24/image_01122025_16_24_45_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/23/image_01122025_16_23_54_9672.jpg
/home/pi/Desktop/images/01122025/16/23/image_01122025_16_24_05_10716.jpg
/home/pi/Desktop/images/01122025/16/24/image_01122025_16_24_15_9619.jpg
/home/pi/Desktop/images/01122025/16/24/image_01122025_16_24_24_9686.jpg
/home/pi/Desktop/images/01122025/16/24/image_01122025_16_24_35_10626.jpg
/home/pi/Desktop/images/01122025/16/24/image_01122025_16_24_45_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397247767","1397247752","1397247757","1397247768","1397247762","1397247759"],"photo_ids_order":["1397247752","1397247757","1397247759","1397247762","1397247767","1397247768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4c81b589960b22df2022720510d5d511.jpg","text":"TemporaryFile(/tmp/multipartBody4237498506700026908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613402853,"filename":"image_01122025_16_24_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/1/726bebdd0386ee9bdaa37e89f898fab9.jpg","text":"TemporaryFile(/tmp/multipartBody652931013440531454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613402853,"filename":"image_01122025_16_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/1/be2c4c08fc85d80324ef57407654348a.jpg","text":"TemporaryFile(/tmp/multipartBody540325161000469358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613402853,"filename":"image_01122025_16_24_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/1/2bed01ed2312ca542a61c4c76c0502be.jpg","text":"TemporaryFile(/tmp/multipartBody6160487177669325419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613402853,"filename":"image_01122025_16_24_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/1/e65fca1c7f6820ae72c6ee232de62a8f.jpg","text":"TemporaryFile(/tmp/multipartBody8314981734889510998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613402853,"filename":"image_01122025_16_24_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/1/b1db4437eedc4087d2842672cc98f436.jpg","text":"TemporaryFile(/tmp/multipartBody834182302545808567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613402853,"filename":"image_01122025_16_24_15_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397247759","file1":"1397247757","file0":"1397247752","file4":"1397247767","file5":"1397247768","file3":"1397247762"},"map_files_photo_id_array":[{"photo_id":"1397247768","filename":"file5"},{"photo_id":"1397247759","filename":"file2"},{"photo_id":"1397247767","filename":"file4"},{"photo_id":"1397247757","filename":"file1"},{"photo_id":"1397247752","filename":"file0"},{"photo_id":"1397247762","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397247767":["hashtag1","hashtag2"]},{"1397247752":["hashtag1","hashtag2"]},{"1397247757":["hashtag1","hashtag2"]},{"1397247768":["hashtag1","hashtag2"]},{"1397247762":["hashtag1","hashtag2"]},{"1397247759":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397247767, 1397247752, 1397247757, 1397247768, 1397247762, 1397247759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82929730415344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:23:02.907874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/24/image_01122025_16_24_54_9624.jpg', '/home/pi/Desktop/images/01122025/16/26/image_01122025_16_26_14_10037.jpg', '/home/pi/Desktop/images/01122025/16/26/image_01122025_16_26_25_10749.jpg', '/home/pi/Desktop/images/01122025/16/26/image_01122025_16_26_35_9693.jpg', '/home/pi/Desktop/images/01122025/16/26/image_01122025_16_26_44_9756.jpg', '/home/pi/Desktop/images/01122025/16/26/image_01122025_16_26_55_10689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/24/image_01122025_16_24_54_9624.jpg
/home/pi/Desktop/images/01122025/16/26/image_01122025_16_26_14_10037.jpg
/home/pi/Desktop/images/01122025/16/26/image_01122025_16_26_25_10749.jpg
/home/pi/Desktop/images/01122025/16/26/image_01122025_16_26_35_9693.jpg
/home/pi/Desktop/images/01122025/16/26/image_01122025_16_26_44_9756.jpg
/home/pi/Desktop/images/01122025/16/26/image_01122025_16_26_55_10689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397247773","1397247775","1397247769","1397247778","1397247783","1397247771"],"photo_ids_order":["1397247769","1397247771","1397247773","1397247775","1397247778","1397247783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/19ab518b36b3eb98046c80ef5f7a1511.jpg","text":"TemporaryFile(/tmp/multipartBody1156298075630886449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613443667,"filename":"image_01122025_16_26_25_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c2e8f6a032f71122e7554ccb667c0371.jpg","text":"TemporaryFile(/tmp/multipartBody8590839828357671881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613443667,"filename":"image_01122025_16_26_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/1/3cc86db81d20ecdc6bd531d7bc5c1006.jpg","text":"TemporaryFile(/tmp/multipartBody8173713915180522507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613443667,"filename":"image_01122025_16_24_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/1/58177a8548edcd1eacba6384572a197d.jpg","text":"TemporaryFile(/tmp/multipartBody6258176275583113910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613443667,"filename":"image_01122025_16_26_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/1/22df73dec620fb6b7b280b81461a7e54.jpg","text":"TemporaryFile(/tmp/multipartBody3923871957469930697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613443667,"filename":"image_01122025_16_26_55_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/affb253d0c3bb74bd35df0a45fa4a559.jpg","text":"TemporaryFile(/tmp/multipartBody4723128556303644239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613443667,"filename":"image_01122025_16_26_14_10037.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397247773","file1":"1397247771","file0":"1397247769","file4":"1397247778","file5":"1397247783","file3":"1397247775"},"map_files_photo_id_array":[{"photo_id":"1397247783","filename":"file5"},{"photo_id":"1397247773","filename":"file2"},{"photo_id":"1397247778","filename":"file4"},{"photo_id":"1397247771","filename":"file1"},{"photo_id":"1397247769","filename":"file0"},{"photo_id":"1397247775","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397247773":["hashtag1","hashtag2"]},{"1397247775":["hashtag1","hashtag2"]},{"1397247769":["hashtag1","hashtag2"]},{"1397247778":["hashtag1","hashtag2"]},{"1397247783":["hashtag1","hashtag2"]},{"1397247771":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397247773, 1397247775, 1397247769, 1397247778, 1397247783, 1397247771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01311683654785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 19:23:42.303243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_27_3173.jpg', '/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_28_1786.jpg', '/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_30_1593.jpg', '/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_33_2901.jpg', '/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_36_2637.jpg', '/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_39_3345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_27_3173.jpg
/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_28_1786.jpg
/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_30_1593.jpg
/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_33_2901.jpg
/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_36_2637.jpg
/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_39_3345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397247797","1397247800","1397247796","1397247798","1397247792","1397247795"],"photo_ids_order":["1397247792","1397247795","1397247796","1397247797","1397247798","1397247800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/18a45e43a08c9d06401decf73f2f3008.jpg","text":"TemporaryFile(/tmp/multipartBody3098686936555434084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613484814,"filename":"image_31102025_14_53_33_2901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8f72965359c00fbd3a9bbe9e6316670b.jpg","text":"TemporaryFile(/tmp/multipartBody2876022869493414276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613484814,"filename":"image_31102025_14_53_39_3345.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2575bf94ba38ba583feef2e9de46e673.jpg","text":"TemporaryFile(/tmp/multipartBody8860077988037836724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613484814,"filename":"image_31102025_14_53_30_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/1/244cbff0477f2083d60ea298d0f908ae.jpg","text":"TemporaryFile(/tmp/multipartBody6580879904665101516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613484814,"filename":"image_31102025_14_53_36_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e77c52039d2403c2f7d2e64ed97a061a.jpg","text":"TemporaryFile(/tmp/multipartBody8647188868053991943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613484814,"filename":"image_31102025_14_53_27_3173.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/aed097ebfd8b7da5398a98df589597dd.jpg","text":"TemporaryFile(/tmp/multipartBody723552371125326759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613484814,"filename":"image_31102025_14_53_28_1786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397247796","file1":"1397247795","file0":"1397247792","file4":"1397247798","file5":"1397247800","file3":"1397247797"},"map_files_photo_id_array":[{"photo_id":"1397247800","filename":"file5"},{"photo_id":"1397247796","filename":"file2"},{"photo_id":"1397247798","filename":"file4"},{"photo_id":"1397247795","filename":"file1"},{"photo_id":"1397247792","filename":"file0"},{"photo_id":"1397247797","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397247797":["hashtag1","hashtag2"]},{"1397247800":["hashtag1","hashtag2"]},{"1397247796":["hashtag1","hashtag2"]},{"1397247798":["hashtag1","hashtag2"]},{"1397247792":["hashtag1","hashtag2"]},{"1397247795":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397247797, 1397247800, 1397247796, 1397247798, 1397247792, 1397247795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2339653968811 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 19:24:22.576388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/26/image_01122025_16_27_05_9598.jpg', '/home/pi/Desktop/images/01122025/16/27/image_01122025_16_27_14_9583.jpg', '/home/pi/Desktop/images/01122025/16/27/image_01122025_16_27_25_10756.jpg', '/home/pi/Desktop/images/01122025/16/27/image_01122025_16_27_35_9607.jpg', '/home/pi/Desktop/images/01122025/16/27/image_01122025_16_27_44_9553.jpg', '/home/pi/Desktop/images/01122025/16/27/image_01122025_16_27_55_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/26/image_01122025_16_27_05_9598.jpg
/home/pi/Desktop/images/01122025/16/27/image_01122025_16_27_14_9583.jpg
/home/pi/Desktop/images/01122025/16/27/image_01122025_16_27_25_10756.jpg
/home/pi/Desktop/images/01122025/16/27/image_01122025_16_27_35_9607.jpg
/home/pi/Desktop/images/01122025/16/27/image_01122025_16_27_44_9553.jpg
/home/pi/Desktop/images/01122025/16/27/image_01122025_16_27_55_10665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397247807","1397247824","1397247818","1397247811","1397247814","1397247822"],"photo_ids_order":["1397247807","1397247811","1397247814","1397247818","1397247822","1397247824"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9ab28aee865b11e46ac4d45a1b4058e9.jpg","text":"TemporaryFile(/tmp/multipartBody4242174622069208011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613523236,"filename":"image_01122025_16_27_05_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0e7f06be7c15a2ea6161f4982576a289.jpg","text":"TemporaryFile(/tmp/multipartBody7246586570915987246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613523236,"filename":"image_01122025_16_27_55_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9169a7fb94c87bbbb7f0343d75e2dbfc.jpg","text":"TemporaryFile(/tmp/multipartBody6175624743411055835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613523236,"filename":"image_01122025_16_27_35_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/76dc10a962e7824d7bacfdcb0fbb4f99.jpg","text":"TemporaryFile(/tmp/multipartBody8836518000938618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613523236,"filename":"image_01122025_16_27_14_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b574780f5154c62496781c6c779d8534.jpg","text":"TemporaryFile(/tmp/multipartBody7809183465351184935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613523236,"filename":"image_01122025_16_27_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/1/0ac83c1dfc3282121960a6a8f1300dfc.jpg","text":"TemporaryFile(/tmp/multipartBody3898874736978526430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613523236,"filename":"image_01122025_16_27_44_9553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397247814","file1":"1397247811","file0":"1397247807","file4":"1397247822","file5":"1397247824","file3":"1397247818"},"map_files_photo_id_array":[{"photo_id":"1397247824","filename":"file5"},{"photo_id":"1397247814","filename":"file2"},{"photo_id":"1397247822","filename":"file4"},{"photo_id":"1397247811","filename":"file1"},{"photo_id":"1397247807","filename":"file0"},{"photo_id":"1397247818","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397247807":["hashtag1","hashtag2"]},{"1397247824":["hashtag1","hashtag2"]},{"1397247818":["hashtag1","hashtag2"]},{"1397247811":["hashtag1","hashtag2"]},{"1397247814":["hashtag1","hashtag2"]},{"1397247822":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397247807, 1397247824, 1397247818, 1397247811, 1397247814, 1397247822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.304417848587036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:25:03.260702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/27/image_01122025_16_28_05_9678.jpg', '/home/pi/Desktop/images/01122025/16/28/image_01122025_16_28_15_10620.jpg', '/home/pi/Desktop/images/01122025/16/28/image_01122025_16_28_25_9616.jpg', '/home/pi/Desktop/images/01122025/16/28/image_01122025_16_28_34_9636.jpg', '/home/pi/Desktop/images/01122025/16/28/image_01122025_16_28_45_10659.jpg', '/home/pi/Desktop/images/01122025/16/28/image_01122025_16_28_55_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/27/image_01122025_16_28_05_9678.jpg
/home/pi/Desktop/images/01122025/16/28/image_01122025_16_28_15_10620.jpg
/home/pi/Desktop/images/01122025/16/28/image_01122025_16_28_25_9616.jpg
/home/pi/Desktop/images/01122025/16/28/image_01122025_16_28_34_9636.jpg
/home/pi/Desktop/images/01122025/16/28/image_01122025_16_28_45_10659.jpg
/home/pi/Desktop/images/01122025/16/28/image_01122025_16_28_55_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":["1397247831","1397247825","1397247827","1397247829","1397247840","1397247834"],"photo_ids_order":["1397247825","1397247827","1397247829","1397247831","1397247834","1397247840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/17de9243af70a58e4b6ef25d5eb1f5bf.jpg","text":"TemporaryFile(/tmp/multipartBody4083703818067217885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613563992,"filename":"image_01122025_16_28_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/1/ab6d558db36f86a9cab194e433cae583.jpg","text":"TemporaryFile(/tmp/multipartBody3698759949021046873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613563992,"filename":"image_01122025_16_28_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/1/7cfaaa8ed8535fedcd294b931ed90568.jpg","text":"TemporaryFile(/tmp/multipartBody4149891819628512580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613563992,"filename":"image_01122025_16_28_15_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/58dc5c91ab2a75c7c2025b209ce20e4e.jpg","text":"TemporaryFile(/tmp/multipartBody9035794285698008637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613563992,"filename":"image_01122025_16_28_25_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/57cd9d2162f6083f281eb8809ad5af4e.jpg","text":"TemporaryFile(/tmp/multipartBody3686065324197817709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613563992,"filename":"image_01122025_16_28_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/1/1a349b5a368fdbbad5be3da32e1e08af.jpg","text":"TemporaryFile(/tmp/multipartBody2827218363444027114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613563992,"filename":"image_01122025_16_28_45_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397247829","file1":"1397247827","file0":"1397247825","file4":"1397247834","file5":"1397247840","file3":"1397247831"},"map_files_photo_id_array":[{"photo_id":"1397247840","filename":"file5"},{"photo_id":"1397247829","filename":"file2"},{"photo_id":"1397247834","filename":"file4"},{"photo_id":"1397247827","filename":"file1"},{"photo_id":"1397247825","filename":"file0"},{"photo_id":"1397247831","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397247831":["hashtag1","hashtag2"]},{"1397247825":["hashtag1","hashtag2"]},{"1397247827":["hashtag1","hashtag2"]},{"1397247829":["hashtag1","hashtag2"]},{"1397247840":["hashtag1","hashtag2"]},{"1397247834":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397247831, 1397247825, 1397247827, 1397247829, 1397247840, 1397247834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8606321811676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 19:25:42.658992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_42_2702.jpg', '/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_46_4555.jpg', '/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_48_1808.jpg', '/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_51_2653.jpg', '/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_54_3742.jpg', '/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_57_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_42_2702.jpg
/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_46_4555.jpg
/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_48_1808.jpg
/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_51_2653.jpg
/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_54_3742.jpg
/home/pi/Desktop/images/31102025/14/53/image_31102025_14_53_57_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":["1397247851","1397247854","1397247848","1397247856","1397247853","1397247852"],"photo_ids_order":["1397247848","1397247851","1397247852","1397247853","1397247854","1397247856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6a78c819f564ec69eef07989deb50cc8.jpg","text":"TemporaryFile(/tmp/multipartBody4733150763320497351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613605206,"filename":"image_31102025_14_53_46_4555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e2d2aef4328f504818ca0389321c9140.jpg","text":"TemporaryFile(/tmp/multipartBody5515099778559413500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613605206,"filename":"image_31102025_14_53_54_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c999ded45585ac0382a751df3b845dea.jpg","text":"TemporaryFile(/tmp/multipartBody1184069584767391046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613605206,"filename":"image_31102025_14_53_42_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c38a837d379c9ef3d14389ddeb5004d6.jpg","text":"TemporaryFile(/tmp/multipartBody6372500752710886022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613605206,"filename":"image_31102025_14_53_57_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/1/7cff1a97dc409c10b3442a086e95eefb.jpg","text":"TemporaryFile(/tmp/multipartBody2891853304167734796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613605206,"filename":"image_31102025_14_53_51_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/1/1baab63b27c7f9c18a9ccf95d9769dca.jpg","text":"TemporaryFile(/tmp/multipartBody4250083435157712836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613605206,"filename":"image_31102025_14_53_48_1808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397247852","file1":"1397247851","file0":"1397247848","file4":"1397247854","file5":"1397247856","file3":"1397247853"},"map_files_photo_id_array":[{"photo_id":"1397247856","filename":"file5"},{"photo_id":"1397247852","filename":"file2"},{"photo_id":"1397247854","filename":"file4"},{"photo_id":"1397247851","filename":"file1"},{"photo_id":"1397247848","filename":"file0"},{"photo_id":"1397247853","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397247851":["hashtag1","hashtag2"]},{"1397247854":["hashtag1","hashtag2"]},{"1397247848":["hashtag1","hashtag2"]},{"1397247856":["hashtag1","hashtag2"]},{"1397247853":["hashtag1","hashtag2"]},{"1397247852":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397247851, 1397247854, 1397247848, 1397247856, 1397247853, 1397247852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.097851514816284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 19:26:22.813199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/28/image_01122025_16_29_04_9602.jpg', '/home/pi/Desktop/images/01122025/16/29/image_01122025_16_29_15_10806.jpg', '/home/pi/Desktop/images/01122025/16/29/image_01122025_16_29_25_9700.jpg', '/home/pi/Desktop/images/01122025/16/29/image_01122025_16_29_34_9548.jpg', '/home/pi/Desktop/images/01122025/16/29/image_01122025_16_29_45_10683.jpg', '/home/pi/Desktop/images/01122025/16/29/image_01122025_16_29_55_9851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/28/image_01122025_16_29_04_9602.jpg
/home/pi/Desktop/images/01122025/16/29/image_01122025_16_29_15_10806.jpg
/home/pi/Desktop/images/01122025/16/29/image_01122025_16_29_25_9700.jpg
/home/pi/Desktop/images/01122025/16/29/image_01122025_16_29_34_9548.jpg
/home/pi/Desktop/images/01122025/16/29/image_01122025_16_29_45_10683.jpg
/home/pi/Desktop/images/01122025/16/29/image_01122025_16_29_55_9851.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397247875","1397247872","1397247869","1397247880","1397247865","1397247861"],"photo_ids_order":["1397247861","1397247865","1397247869","1397247872","1397247875","1397247880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f62495dafe97bc52b68d04c2b02757ea.jpg","text":"TemporaryFile(/tmp/multipartBody4249575849859039994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613643456,"filename":"image_01122025_16_29_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/1/a40c969f98969457de9f0a2f15e12f16.jpg","text":"TemporaryFile(/tmp/multipartBody4193753615777710248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613643456,"filename":"image_01122025_16_29_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/1/b91d8a7137d919d937af0ee2ea92f778.jpg","text":"TemporaryFile(/tmp/multipartBody7594247131985453104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613643456,"filename":"image_01122025_16_29_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/1/1ef90a231cad293bb655afad1fee85fe.jpg","text":"TemporaryFile(/tmp/multipartBody4800635215806582725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613643456,"filename":"image_01122025_16_29_55_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/10f4690122410d37af54fa2417baaeea.jpg","text":"TemporaryFile(/tmp/multipartBody5031762027600958626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613643456,"filename":"image_01122025_16_29_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/1/624cd9fdf496156338cd49dd0367798f.jpg","text":"TemporaryFile(/tmp/multipartBody1659614658491510763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613643456,"filename":"image_01122025_16_29_04_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397247869","file1":"1397247865","file0":"1397247861","file4":"1397247875","file5":"1397247880","file3":"1397247872"},"map_files_photo_id_array":[{"photo_id":"1397247880","filename":"file5"},{"photo_id":"1397247869","filename":"file2"},{"photo_id":"1397247875","filename":"file4"},{"photo_id":"1397247865","filename":"file1"},{"photo_id":"1397247861","filename":"file0"},{"photo_id":"1397247872","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397247875":["hashtag1","hashtag2"]},{"1397247872":["hashtag1","hashtag2"]},{"1397247869":["hashtag1","hashtag2"]},{"1397247880":["hashtag1","hashtag2"]},{"1397247865":["hashtag1","hashtag2"]},{"1397247861":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397247875, 1397247872, 1397247869, 1397247880, 1397247865, 1397247861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.79866981506348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 19:27:11.994642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_26_2793.jpg', '/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_28_2645.jpg', '/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_31_2998.jpg', '/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_35_3518.jpg', '/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_37_2496.jpg', '/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_41_3645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_26_2793.jpg
/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_28_2645.jpg
/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_31_2998.jpg
/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_35_3518.jpg
/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_37_2496.jpg
/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_41_3645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397247893","1397247896","1397247899","1397247889","1397247883","1397247885"],"photo_ids_order":["1397247883","1397247885","1397247889","1397247893","1397247896","1397247899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d0c609df5ea19a43d374cf1e36db0ce0.jpg","text":"TemporaryFile(/tmp/multipartBody4493427563911833560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613693458,"filename":"image_25112025_23_18_35_3518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/62bd07d1779ca51e196769eb9396e2df.jpg","text":"TemporaryFile(/tmp/multipartBody7631997077492654444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613693458,"filename":"image_25112025_23_18_37_2496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bb707572886559b57a99f0bc91706657.jpg","text":"TemporaryFile(/tmp/multipartBody5110190036370423048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613693458,"filename":"image_25112025_23_18_41_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/1/ab44d3f964d8ed45f7757d1e54b73dbb.jpg","text":"TemporaryFile(/tmp/multipartBody2824691790855579280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613693458,"filename":"image_25112025_23_18_31_2998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f7ce11d074a72e4272d84b4285fc4873.jpg","text":"TemporaryFile(/tmp/multipartBody4486673060497859349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613693458,"filename":"image_25112025_23_18_26_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/1/e954deab9a53548e0297f323a0ff493a.jpg","text":"TemporaryFile(/tmp/multipartBody8750781655512448267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613693458,"filename":"image_25112025_23_18_28_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397247889","file1":"1397247885","file0":"1397247883","file4":"1397247896","file5":"1397247899","file3":"1397247893"},"map_files_photo_id_array":[{"photo_id":"1397247899","filename":"file5"},{"photo_id":"1397247889","filename":"file2"},{"photo_id":"1397247896","filename":"file4"},{"photo_id":"1397247885","filename":"file1"},{"photo_id":"1397247883","filename":"file0"},{"photo_id":"1397247893","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397247893":["hashtag1","hashtag2"]},{"1397247896":["hashtag1","hashtag2"]},{"1397247899":["hashtag1","hashtag2"]},{"1397247889":["hashtag1","hashtag2"]},{"1397247883":["hashtag1","hashtag2"]},{"1397247885":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397247893, 1397247896, 1397247899, 1397247889, 1397247883, 1397247885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86579394340515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:28:02.626711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/30/image_01122025_16_30_15_10057.jpg', '/home/pi/Desktop/images/01122025/16/30/image_01122025_16_30_25_10756.jpg', '/home/pi/Desktop/images/01122025/16/30/image_01122025_16_30_35_9634.jpg', '/home/pi/Desktop/images/01122025/16/30/image_01122025_16_30_45_9797.jpg', '/home/pi/Desktop/images/01122025/16/30/image_01122025_16_30_55_10655.jpg', '/home/pi/Desktop/images/01122025/16/30/image_01122025_16_31_05_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/30/image_01122025_16_30_15_10057.jpg
/home/pi/Desktop/images/01122025/16/30/image_01122025_16_30_25_10756.jpg
/home/pi/Desktop/images/01122025/16/30/image_01122025_16_30_35_9634.jpg
/home/pi/Desktop/images/01122025/16/30/image_01122025_16_30_45_9797.jpg
/home/pi/Desktop/images/01122025/16/30/image_01122025_16_30_55_10655.jpg
/home/pi/Desktop/images/01122025/16/30/image_01122025_16_31_05_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":["1397247912","1397247906","1397247911","1397247916","1397247921","1397247909"],"photo_ids_order":["1397247906","1397247909","1397247911","1397247912","1397247916","1397247921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8de22c9f2784caab91d87e1fb1b0a45f.jpg","text":"TemporaryFile(/tmp/multipartBody7354710257810586967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613743312,"filename":"image_01122025_16_30_45_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4f5f77b9c35ac49c1d9a37c235369f22.jpg","text":"TemporaryFile(/tmp/multipartBody2047505156212458381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613743312,"filename":"image_01122025_16_30_15_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ca03efb6e0516df28836e4daa4c455e4.jpg","text":"TemporaryFile(/tmp/multipartBody7171786364468732775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613743312,"filename":"image_01122025_16_30_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/1/f68254ffb37d214a1ff122ca88cc1768.jpg","text":"TemporaryFile(/tmp/multipartBody2459984023410926624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613743312,"filename":"image_01122025_16_30_55_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b5c73ad66634c537f9a7bbfcd6c6b225.jpg","text":"TemporaryFile(/tmp/multipartBody488013224883080723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613743312,"filename":"image_01122025_16_31_05_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/65136401af56d5a61a3e444106318a41.jpg","text":"TemporaryFile(/tmp/multipartBody3773322120627309124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613743312,"filename":"image_01122025_16_30_25_10756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397247911","file1":"1397247909","file0":"1397247906","file4":"1397247916","file5":"1397247921","file3":"1397247912"},"map_files_photo_id_array":[{"photo_id":"1397247921","filename":"file5"},{"photo_id":"1397247911","filename":"file2"},{"photo_id":"1397247916","filename":"file4"},{"photo_id":"1397247909","filename":"file1"},{"photo_id":"1397247906","filename":"file0"},{"photo_id":"1397247912","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397247912":["hashtag1","hashtag2"]},{"1397247906":["hashtag1","hashtag2"]},{"1397247911":["hashtag1","hashtag2"]},{"1397247916":["hashtag1","hashtag2"]},{"1397247921":["hashtag1","hashtag2"]},{"1397247909":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397247912, 1397247906, 1397247911, 1397247916, 1397247921, 1397247909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83867859840393 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 19:28:42.343729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/53/image_31102025_14_54_00_2743.jpg', '/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_03_3171.jpg', '/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_06_2948.jpg', '/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_27_21118.jpg', '/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_30_3068.jpg', '/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_32_1661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/53/image_31102025_14_54_00_2743.jpg
/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_03_3171.jpg
/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_06_2948.jpg
/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_27_21118.jpg
/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_30_3068.jpg
/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_32_1661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397247930","1397247932","1397247935","1397247931","1397247928","1397247933"],"photo_ids_order":["1397247928","1397247930","1397247931","1397247932","1397247933","1397247935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/acafeec2e1d2288a38485b4704557e41.jpg","text":"TemporaryFile(/tmp/multipartBody6767282290746470137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613784865,"filename":"image_31102025_14_54_03_3171.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c392a8c3c6810209bde1fce336d22507.jpg","text":"TemporaryFile(/tmp/multipartBody7397156723036494168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613784865,"filename":"image_31102025_14_54_27_21118.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/376c542027c324af7f01cea69767d3cb.jpg","text":"TemporaryFile(/tmp/multipartBody1788466508139968410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613784865,"filename":"image_31102025_14_54_32_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/1/3793f6da40da03f17e60094e12e79156.jpg","text":"TemporaryFile(/tmp/multipartBody3641233693481562952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613784865,"filename":"image_31102025_14_54_06_2948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/16191e396c4a63d4de8c65dd173ab942.jpg","text":"TemporaryFile(/tmp/multipartBody5680008863040782149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613784865,"filename":"image_31102025_14_54_00_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fc141218cd6b32acfbf7ace11e51a93e.jpg","text":"TemporaryFile(/tmp/multipartBody8664655380321702587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613784865,"filename":"image_31102025_14_54_30_3068.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397247931","file1":"1397247930","file0":"1397247928","file4":"1397247933","file5":"1397247935","file3":"1397247932"},"map_files_photo_id_array":[{"photo_id":"1397247935","filename":"file5"},{"photo_id":"1397247931","filename":"file2"},{"photo_id":"1397247933","filename":"file4"},{"photo_id":"1397247930","filename":"file1"},{"photo_id":"1397247928","filename":"file0"},{"photo_id":"1397247932","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397247930":["hashtag1","hashtag2"]},{"1397247932":["hashtag1","hashtag2"]},{"1397247935":["hashtag1","hashtag2"]},{"1397247931":["hashtag1","hashtag2"]},{"1397247928":["hashtag1","hashtag2"]},{"1397247933":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397247930, 1397247932, 1397247935, 1397247931, 1397247928, 1397247933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.83258128166199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 19:29:32.664797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_44_2629.jpg', '/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_46_2626.jpg', '/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_53_2619.jpg', '/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_56_3500.jpg', '/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_02_2747.jpg', '/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_04_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_44_2629.jpg
/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_46_2626.jpg
/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_53_2619.jpg
/home/pi/Desktop/images/25112025/23/18/image_25112025_23_18_56_3500.jpg
/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_02_2747.jpg
/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_04_2642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397247956","1397247944","1397247947","1397247955","1397247951","1397247954"],"photo_ids_order":["1397247944","1397247947","1397247951","1397247954","1397247955","1397247956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/854460428d4acd3eb849ff5c5a1c97e5.jpg","text":"TemporaryFile(/tmp/multipartBody7943667959151590970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613834336,"filename":"image_25112025_23_19_04_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/233550dda63fa2e02ab1cdedc4ffb96b.jpg","text":"TemporaryFile(/tmp/multipartBody3268279149540127405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613834336,"filename":"image_25112025_23_18_44_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/1/8ad149e00270d0e36a53938cd328d946.jpg","text":"TemporaryFile(/tmp/multipartBody4178175478924310653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613834336,"filename":"image_25112025_23_18_46_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/1/05f9f762c7b8d359c1946da35905abc8.jpg","text":"TemporaryFile(/tmp/multipartBody5984980656591574784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613834336,"filename":"image_25112025_23_19_02_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/1/91167d9e46d85ce340050c5c538d3ecf.jpg","text":"TemporaryFile(/tmp/multipartBody562118618996794917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613834336,"filename":"image_25112025_23_18_53_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/1/eef1d67ea6318771e141d0fcbad645ea.jpg","text":"TemporaryFile(/tmp/multipartBody3814372928841053780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613834336,"filename":"image_25112025_23_18_56_3500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397247951","file1":"1397247947","file0":"1397247944","file4":"1397247955","file5":"1397247956","file3":"1397247954"},"map_files_photo_id_array":[{"photo_id":"1397247956","filename":"file5"},{"photo_id":"1397247951","filename":"file2"},{"photo_id":"1397247955","filename":"file4"},{"photo_id":"1397247947","filename":"file1"},{"photo_id":"1397247944","filename":"file0"},{"photo_id":"1397247954","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397247956":["hashtag1","hashtag2"]},{"1397247944":["hashtag1","hashtag2"]},{"1397247947":["hashtag1","hashtag2"]},{"1397247955":["hashtag1","hashtag2"]},{"1397247951":["hashtag1","hashtag2"]},{"1397247954":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397247956, 1397247944, 1397247947, 1397247955, 1397247951, 1397247954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.052401304244995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 19:30:22.730176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/31/image_01122025_16_31_15_9915.jpg', '/home/pi/Desktop/images/01122025/16/31/image_01122025_16_31_25_9671.jpg', '/home/pi/Desktop/images/01122025/16/31/image_01122025_16_31_35_10743.jpg', '/home/pi/Desktop/images/01122025/16/31/image_01122025_16_31_45_9656.jpg', '/home/pi/Desktop/images/01122025/16/31/image_01122025_16_31_55_9751.jpg', '/home/pi/Desktop/images/01122025/16/31/image_01122025_16_32_05_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/31/image_01122025_16_31_15_9915.jpg
/home/pi/Desktop/images/01122025/16/31/image_01122025_16_31_25_9671.jpg
/home/pi/Desktop/images/01122025/16/31/image_01122025_16_31_35_10743.jpg
/home/pi/Desktop/images/01122025/16/31/image_01122025_16_31_45_9656.jpg
/home/pi/Desktop/images/01122025/16/31/image_01122025_16_31_55_9751.jpg
/home/pi/Desktop/images/01122025/16/31/image_01122025_16_32_05_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":["1397247959","1397247968","1397247970","1397247963","1397247972","1397247966"],"photo_ids_order":["1397247959","1397247963","1397247966","1397247968","1397247970","1397247972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dde2c58b7e19d5193cd4c33be921c72b.jpg","text":"TemporaryFile(/tmp/multipartBody6115033716512078449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613883406,"filename":"image_01122025_16_31_15_9915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2ced574191f639a31925f65c25bc600e.jpg","text":"TemporaryFile(/tmp/multipartBody8653574299395884205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613883406,"filename":"image_01122025_16_31_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/1/912df4a164ea71037e294cb94469a3e6.jpg","text":"TemporaryFile(/tmp/multipartBody2104046779533612578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613883406,"filename":"image_01122025_16_31_55_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/68ee1eacac309796524623cf68ccd6c3.jpg","text":"TemporaryFile(/tmp/multipartBody1944433460573693024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613883406,"filename":"image_01122025_16_31_25_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/52ed4e1bc6af95ad2a2bc373dfe91218.jpg","text":"TemporaryFile(/tmp/multipartBody5005921024833575735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613883406,"filename":"image_01122025_16_32_05_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/87d739585ab35fb7ac8c965c8ce16dab.jpg","text":"TemporaryFile(/tmp/multipartBody6598456336941365270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613883406,"filename":"image_01122025_16_31_35_10743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397247966","file1":"1397247963","file0":"1397247959","file4":"1397247970","file5":"1397247972","file3":"1397247968"},"map_files_photo_id_array":[{"photo_id":"1397247972","filename":"file5"},{"photo_id":"1397247966","filename":"file2"},{"photo_id":"1397247970","filename":"file4"},{"photo_id":"1397247963","filename":"file1"},{"photo_id":"1397247959","filename":"file0"},{"photo_id":"1397247968","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397247959":["hashtag1","hashtag2"]},{"1397247968":["hashtag1","hashtag2"]},{"1397247970":["hashtag1","hashtag2"]},{"1397247963":["hashtag1","hashtag2"]},{"1397247972":["hashtag1","hashtag2"]},{"1397247966":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397247959, 1397247968, 1397247970, 1397247963, 1397247972, 1397247966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70909786224365 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-01 19:31:11.803508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_08_3558.jpg', '/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_10_2577.jpg', '/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_14_3602.jpg', '/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_17_2784.jpg', '/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_19_2772.jpg', '/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_22_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_08_3558.jpg
/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_10_2577.jpg
/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_14_3602.jpg
/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_17_2784.jpg
/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_19_2772.jpg
/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_22_2668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397247980","1397247974","1397247983","1397247986","1397247973","1397247976"],"photo_ids_order":["1397247973","1397247974","1397247976","1397247980","1397247983","1397247986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0658927eab05f45ed2f13c169bed06ef.jpg","text":"TemporaryFile(/tmp/multipartBody8816085027293269606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613933222,"filename":"image_25112025_23_19_17_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0abc59e9b3788e4d1cf1f8208cea600e.jpg","text":"TemporaryFile(/tmp/multipartBody7516752442921675621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613933222,"filename":"image_25112025_23_19_10_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/1/9b30910cc785b1f706769cb1ba946102.jpg","text":"TemporaryFile(/tmp/multipartBody8865318271758493625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613933222,"filename":"image_25112025_23_19_19_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1649450a94bdf32ef3916b9a87e219cd.jpg","text":"TemporaryFile(/tmp/multipartBody5435407459810411148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613933222,"filename":"image_25112025_23_19_22_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/90fc03b78dc59a68ccf1fee13fc6fda9.jpg","text":"TemporaryFile(/tmp/multipartBody2253435382249074638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613933222,"filename":"image_25112025_23_19_08_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/de6247a3c8c3a981011a31be34656449.jpg","text":"TemporaryFile(/tmp/multipartBody2574533455304925938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613933222,"filename":"image_25112025_23_19_14_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397247976","file1":"1397247974","file0":"1397247973","file4":"1397247983","file5":"1397247986","file3":"1397247980"},"map_files_photo_id_array":[{"photo_id":"1397247986","filename":"file5"},{"photo_id":"1397247976","filename":"file2"},{"photo_id":"1397247983","filename":"file4"},{"photo_id":"1397247974","filename":"file1"},{"photo_id":"1397247973","filename":"file0"},{"photo_id":"1397247980","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397247980":["hashtag1","hashtag2"]},{"1397247974":["hashtag1","hashtag2"]},{"1397247983":["hashtag1","hashtag2"]},{"1397247986":["hashtag1","hashtag2"]},{"1397247973":["hashtag1","hashtag2"]},{"1397247976":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397247980, 1397247974, 1397247983, 1397247986, 1397247973, 1397247976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.57623767852783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:32:02.560649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/32/image_01122025_16_32_15_10784.jpg', '/home/pi/Desktop/images/01122025/16/32/image_01122025_16_32_25_9798.jpg', '/home/pi/Desktop/images/01122025/16/32/image_01122025_16_32_35_9575.jpg', '/home/pi/Desktop/images/01122025/16/32/image_01122025_16_32_45_10574.jpg', '/home/pi/Desktop/images/01122025/16/32/image_01122025_16_32_55_9605.jpg', '/home/pi/Desktop/images/01122025/16/32/image_01122025_16_33_05_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/32/image_01122025_16_32_15_10784.jpg
/home/pi/Desktop/images/01122025/16/32/image_01122025_16_32_25_9798.jpg
/home/pi/Desktop/images/01122025/16/32/image_01122025_16_32_35_9575.jpg
/home/pi/Desktop/images/01122025/16/32/image_01122025_16_32_45_10574.jpg
/home/pi/Desktop/images/01122025/16/32/image_01122025_16_32_55_9605.jpg
/home/pi/Desktop/images/01122025/16/32/image_01122025_16_33_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":["1397247992","1397247998","1397248001","1397247994","1397247996","1397248005"],"photo_ids_order":["1397247992","1397247994","1397247996","1397247998","1397248001","1397248005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e3b579453365589fd1e93986abc637f6.jpg","text":"TemporaryFile(/tmp/multipartBody6178093453505680589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613983248,"filename":"image_01122025_16_32_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/1/079b4cb9a6872de5b2903ab4fe865022.jpg","text":"TemporaryFile(/tmp/multipartBody4216256478285186006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613983248,"filename":"image_01122025_16_32_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/1/b965917353127b9dae37a8eea439dcb3.jpg","text":"TemporaryFile(/tmp/multipartBody2283600604083604962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613983248,"filename":"image_01122025_16_32_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/1/2332b30ebe30ce8186cdb206363e5280.jpg","text":"TemporaryFile(/tmp/multipartBody5793878968085724183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613983248,"filename":"image_01122025_16_32_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/1/8ac48acae0e086b945449ae9aaebe819.jpg","text":"TemporaryFile(/tmp/multipartBody6277280128536313622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613983248,"filename":"image_01122025_16_32_35_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5b1214db078e3928fee45780ea72276b.jpg","text":"TemporaryFile(/tmp/multipartBody3488358724638428500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764613983248,"filename":"image_01122025_16_33_05_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397247996","file1":"1397247994","file0":"1397247992","file4":"1397248001","file5":"1397248005","file3":"1397247998"},"map_files_photo_id_array":[{"photo_id":"1397248005","filename":"file5"},{"photo_id":"1397247996","filename":"file2"},{"photo_id":"1397248001","filename":"file4"},{"photo_id":"1397247994","filename":"file1"},{"photo_id":"1397247992","filename":"file0"},{"photo_id":"1397247998","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397247992":["hashtag1","hashtag2"]},{"1397247998":["hashtag1","hashtag2"]},{"1397248001":["hashtag1","hashtag2"]},{"1397247994":["hashtag1","hashtag2"]},{"1397247996":["hashtag1","hashtag2"]},{"1397248005":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397247992, 1397247998, 1397248001, 1397247994, 1397247996, 1397248005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.4576473236084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 19:32:42.111633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_33_1573.jpg', '/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_35_1715.jpg', '/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_37_1654.jpg', '/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_38_1637.jpg', '/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_40_1567.jpg', '/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_46_5993.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_33_1573.jpg
/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_35_1715.jpg
/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_37_1654.jpg
/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_38_1637.jpg
/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_40_1567.jpg
/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_46_5993.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397248019","1397248016","1397248021","1397248018","1397248020","1397248023"],"photo_ids_order":["1397248016","1397248018","1397248019","1397248020","1397248021","1397248023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/01ed7624fd1cff3deef8afdeaec15392.jpg","text":"TemporaryFile(/tmp/multipartBody2655908867557502004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614024631,"filename":"image_31102025_14_54_37_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/1/8889a351007e882a704f38325eebc823.jpg","text":"TemporaryFile(/tmp/multipartBody3634247028768213629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614024631,"filename":"image_31102025_14_54_33_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/1/6d3f03d8fb503d354d07f374c1b28423.jpg","text":"TemporaryFile(/tmp/multipartBody6313264199365438576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614024631,"filename":"image_31102025_14_54_40_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/1/ff9cfecb3b01a782c4a18f2a7ff1c1f8.jpg","text":"TemporaryFile(/tmp/multipartBody5393596470895106025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614024631,"filename":"image_31102025_14_54_35_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/1/411fa396c845b9885f765a1abbb5ab90.jpg","text":"TemporaryFile(/tmp/multipartBody5660326434513048928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614024631,"filename":"image_31102025_14_54_38_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/1/fa41d37198417dc2fb8a77cf45cc2a56.jpg","text":"TemporaryFile(/tmp/multipartBody4659074047176860941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614024631,"filename":"image_31102025_14_54_46_5993.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397248019","file1":"1397248018","file0":"1397248016","file4":"1397248021","file5":"1397248023","file3":"1397248020"},"map_files_photo_id_array":[{"photo_id":"1397248023","filename":"file5"},{"photo_id":"1397248019","filename":"file2"},{"photo_id":"1397248021","filename":"file4"},{"photo_id":"1397248018","filename":"file1"},{"photo_id":"1397248016","filename":"file0"},{"photo_id":"1397248020","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397248019":["hashtag1","hashtag2"]},{"1397248016":["hashtag1","hashtag2"]},{"1397248021":["hashtag1","hashtag2"]},{"1397248018":["hashtag1","hashtag2"]},{"1397248020":["hashtag1","hashtag2"]},{"1397248023":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397248019, 1397248016, 1397248021, 1397248018, 1397248020, 1397248023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.559839963912964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 19:33:32.454730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_26_3564.jpg', '/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_28_2546.jpg', '/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_32_3719.jpg', '/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_35_2562.jpg', '/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_37_2677.jpg', '/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_41_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_26_3564.jpg
/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_28_2546.jpg
/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_32_3719.jpg
/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_35_2562.jpg
/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_37_2677.jpg
/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_41_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":["1397248037","1397248046","1397248034","1397248045","1397248044","1397248041"],"photo_ids_order":["1397248034","1397248037","1397248041","1397248044","1397248045","1397248046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0c2a45e7072f635e044ecfcca28cf807.jpg","text":"TemporaryFile(/tmp/multipartBody5941763651787481700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614074112,"filename":"image_25112025_23_19_28_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/1/f612866b10a9fe5261681b4e11ae8679.jpg","text":"TemporaryFile(/tmp/multipartBody1623470221021503302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614074112,"filename":"image_25112025_23_19_41_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/1/99a76ce7869e42c5ce32bf5196067ab2.jpg","text":"TemporaryFile(/tmp/multipartBody5089621342562623487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614074112,"filename":"image_25112025_23_19_26_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/1/50a1acd09e78bd47ff42261f3df6a393.jpg","text":"TemporaryFile(/tmp/multipartBody3911314948179945466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614074112,"filename":"image_25112025_23_19_37_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f9ba44410676a4bbbfeec59c4183cf83.jpg","text":"TemporaryFile(/tmp/multipartBody150060114760561045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614074112,"filename":"image_25112025_23_19_35_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/1/47a9acb1483e4299a882a665e8cb299f.jpg","text":"TemporaryFile(/tmp/multipartBody6880385606624316982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614074112,"filename":"image_25112025_23_19_32_3719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397248041","file1":"1397248037","file0":"1397248034","file4":"1397248045","file5":"1397248046","file3":"1397248044"},"map_files_photo_id_array":[{"photo_id":"1397248046","filename":"file5"},{"photo_id":"1397248041","filename":"file2"},{"photo_id":"1397248045","filename":"file4"},{"photo_id":"1397248037","filename":"file1"},{"photo_id":"1397248034","filename":"file0"},{"photo_id":"1397248044","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397248037":["hashtag1","hashtag2"]},{"1397248046":["hashtag1","hashtag2"]},{"1397248034":["hashtag1","hashtag2"]},{"1397248045":["hashtag1","hashtag2"]},{"1397248044":["hashtag1","hashtag2"]},{"1397248041":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397248037, 1397248046, 1397248034, 1397248045, 1397248044, 1397248041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.982699155807495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 19:34:12.544298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_44_2703.jpg', '/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_46_2747.jpg', '/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_50_3601.jpg', '/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_52_2569.jpg', '/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_55_2738.jpg', '/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_59_3747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_44_2703.jpg
/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_46_2747.jpg
/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_50_3601.jpg
/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_52_2569.jpg
/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_55_2738.jpg
/home/pi/Desktop/images/25112025/23/19/image_25112025_23_19_59_3747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397248160","1397248163","1397248157","1397248133","1397248049","1397248143"],"photo_ids_order":["1397248049","1397248133","1397248143","1397248157","1397248160","1397248163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a62b995bee06474483863ea6bac3d1ad.jpg","text":"TemporaryFile(/tmp/multipartBody7725113847857520362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614114144,"filename":"image_25112025_23_19_55_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/1/be298129d77c4c17acaad9ebb3e0b517.jpg","text":"TemporaryFile(/tmp/multipartBody4990914759296709411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614114144,"filename":"image_25112025_23_19_59_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/1/d99c3848357bcf7d41be2c1c994b7129.jpg","text":"TemporaryFile(/tmp/multipartBody8401455780805568797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614114144,"filename":"image_25112025_23_19_52_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d3e582658570556049015d5a0f83f9be.jpg","text":"TemporaryFile(/tmp/multipartBody8548792761754555530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614114144,"filename":"image_25112025_23_19_46_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/1/381d0a77b55663482ff6f8817896c0e2.jpg","text":"TemporaryFile(/tmp/multipartBody4177856049939148200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614114144,"filename":"image_25112025_23_19_44_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/1/227e8cc8ea597fcc8a1e71e0a8585f01.jpg","text":"TemporaryFile(/tmp/multipartBody3612818717565534045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614114144,"filename":"image_25112025_23_19_50_3601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397248143","file1":"1397248133","file0":"1397248049","file4":"1397248160","file5":"1397248163","file3":"1397248157"},"map_files_photo_id_array":[{"photo_id":"1397248163","filename":"file5"},{"photo_id":"1397248143","filename":"file2"},{"photo_id":"1397248160","filename":"file4"},{"photo_id":"1397248133","filename":"file1"},{"photo_id":"1397248049","filename":"file0"},{"photo_id":"1397248157","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397248160":["hashtag1","hashtag2"]},{"1397248163":["hashtag1","hashtag2"]},{"1397248157":["hashtag1","hashtag2"]},{"1397248133":["hashtag1","hashtag2"]},{"1397248049":["hashtag1","hashtag2"]},{"1397248143":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397248160, 1397248163, 1397248157, 1397248133, 1397248049, 1397248143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.36191916465759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:35:03.321598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/33/image_01122025_16_33_16_10902.jpg', '/home/pi/Desktop/images/01122025/16/33/image_01122025_16_33_25_9680.jpg', '/home/pi/Desktop/images/01122025/16/33/image_01122025_16_33_35_9728.jpg', '/home/pi/Desktop/images/01122025/16/33/image_01122025_16_33_45_9759.jpg', '/home/pi/Desktop/images/01122025/16/33/image_01122025_16_33_55_10824.jpg', '/home/pi/Desktop/images/01122025/16/33/image_01122025_16_34_05_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/33/image_01122025_16_33_16_10902.jpg
/home/pi/Desktop/images/01122025/16/33/image_01122025_16_33_25_9680.jpg
/home/pi/Desktop/images/01122025/16/33/image_01122025_16_33_35_9728.jpg
/home/pi/Desktop/images/01122025/16/33/image_01122025_16_33_45_9759.jpg
/home/pi/Desktop/images/01122025/16/33/image_01122025_16_33_55_10824.jpg
/home/pi/Desktop/images/01122025/16/33/image_01122025_16_34_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":["1397248264","1397248260","1397248245","1397248224","1397248248","1397248218"],"photo_ids_order":["1397248218","1397248224","1397248245","1397248248","1397248260","1397248264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3db9314962589be069937fe340235c1f.jpg","text":"TemporaryFile(/tmp/multipartBody2508928441031611539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614164046,"filename":"image_01122025_16_34_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/1/aec486531e44e341c2f39b4def8a7f6f.jpg","text":"TemporaryFile(/tmp/multipartBody4925280696071850189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614164046,"filename":"image_01122025_16_33_55_10824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2bed6a5beca9ffa7a46b8a8a8782f243.jpg","text":"TemporaryFile(/tmp/multipartBody644425962580858551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614164046,"filename":"image_01122025_16_33_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/1/d274385d531055245054f5edaececedd.jpg","text":"TemporaryFile(/tmp/multipartBody6318146639916053244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614164046,"filename":"image_01122025_16_33_25_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/507dcbe5f9d75b9b4549d69659ef48e0.jpg","text":"TemporaryFile(/tmp/multipartBody6905984951109570852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614164046,"filename":"image_01122025_16_33_45_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c4d5ab437dae90bc7bce2a8416e0b59b.jpg","text":"TemporaryFile(/tmp/multipartBody8596060036980487927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614164046,"filename":"image_01122025_16_33_16_10902.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397248245","file1":"1397248224","file0":"1397248218","file4":"1397248260","file5":"1397248264","file3":"1397248248"},"map_files_photo_id_array":[{"photo_id":"1397248264","filename":"file5"},{"photo_id":"1397248245","filename":"file2"},{"photo_id":"1397248260","filename":"file4"},{"photo_id":"1397248224","filename":"file1"},{"photo_id":"1397248218","filename":"file0"},{"photo_id":"1397248248","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397248264":["hashtag1","hashtag2"]},{"1397248260":["hashtag1","hashtag2"]},{"1397248245":["hashtag1","hashtag2"]},{"1397248224":["hashtag1","hashtag2"]},{"1397248248":["hashtag1","hashtag2"]},{"1397248218":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397248264, 1397248260, 1397248245, 1397248224, 1397248248, 1397248218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.7518744468689 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:36:02.512980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/34/image_01122025_16_34_15_9972.jpg', '/home/pi/Desktop/images/01122025/16/34/image_01122025_16_34_25_9872.jpg', '/home/pi/Desktop/images/01122025/16/34/image_01122025_16_34_36_10518.jpg', '/home/pi/Desktop/images/01122025/16/34/image_01122025_16_34_45_9592.jpg', '/home/pi/Desktop/images/01122025/16/34/image_01122025_16_34_55_10269.jpg', '/home/pi/Desktop/images/01122025/16/35/image_01122025_16_35_14_10047.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/34/image_01122025_16_34_15_9972.jpg
/home/pi/Desktop/images/01122025/16/34/image_01122025_16_34_25_9872.jpg
/home/pi/Desktop/images/01122025/16/34/image_01122025_16_34_36_10518.jpg
/home/pi/Desktop/images/01122025/16/34/image_01122025_16_34_45_9592.jpg
/home/pi/Desktop/images/01122025/16/34/image_01122025_16_34_55_10269.jpg
/home/pi/Desktop/images/01122025/16/35/image_01122025_16_35_14_10047.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397248375","1397248372","1397248312","1397248368","1397248344","1397248308"],"photo_ids_order":["1397248308","1397248312","1397248344","1397248368","1397248372","1397248375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/eeb10c56960bbf9dc94d4b9a0df3d31b.jpg","text":"TemporaryFile(/tmp/multipartBody3092475254115773141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614223217,"filename":"image_01122025_16_35_14_10047.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c597b1d6c45f2bf983740470c7e6bc8b.jpg","text":"TemporaryFile(/tmp/multipartBody6926987758033715996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614223217,"filename":"image_01122025_16_34_55_10269.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4116613052be2e6eb922220f1d0cac86.jpg","text":"TemporaryFile(/tmp/multipartBody5842095305387868215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614223217,"filename":"image_01122025_16_34_25_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/1/e3a235b91df9c43d7f85af5c25c2e1b0.jpg","text":"TemporaryFile(/tmp/multipartBody2942538571227620228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614223217,"filename":"image_01122025_16_34_45_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/014bc02c87ef949ac4cf6d65b2137acf.jpg","text":"TemporaryFile(/tmp/multipartBody2280610442254229825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614223217,"filename":"image_01122025_16_34_36_10518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c4e276831d7372a36c85631ca8dbbbfc.jpg","text":"TemporaryFile(/tmp/multipartBody5714906031472677408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614223217,"filename":"image_01122025_16_34_15_9972.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397248344","file1":"1397248312","file0":"1397248308","file4":"1397248372","file5":"1397248375","file3":"1397248368"},"map_files_photo_id_array":[{"photo_id":"1397248375","filename":"file5"},{"photo_id":"1397248344","filename":"file2"},{"photo_id":"1397248372","filename":"file4"},{"photo_id":"1397248312","filename":"file1"},{"photo_id":"1397248308","filename":"file0"},{"photo_id":"1397248368","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397248375":["hashtag1","hashtag2"]},{"1397248372":["hashtag1","hashtag2"]},{"1397248312":["hashtag1","hashtag2"]},{"1397248368":["hashtag1","hashtag2"]},{"1397248344":["hashtag1","hashtag2"]},{"1397248308":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397248375, 1397248372, 1397248312, 1397248368, 1397248344, 1397248308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.38972282409668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:37:03.023650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/35/image_01122025_16_35_24_10693.jpg', '/home/pi/Desktop/images/01122025/16/35/image_01122025_16_35_34_9696.jpg', '/home/pi/Desktop/images/01122025/16/35/image_01122025_16_35_44_9763.jpg', '/home/pi/Desktop/images/01122025/16/35/image_01122025_16_35_54_9849.jpg', '/home/pi/Desktop/images/01122025/16/35/image_01122025_16_36_04_10520.jpg', '/home/pi/Desktop/images/01122025/16/36/image_01122025_16_36_14_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/35/image_01122025_16_35_24_10693.jpg
/home/pi/Desktop/images/01122025/16/35/image_01122025_16_35_34_9696.jpg
/home/pi/Desktop/images/01122025/16/35/image_01122025_16_35_44_9763.jpg
/home/pi/Desktop/images/01122025/16/35/image_01122025_16_35_54_9849.jpg
/home/pi/Desktop/images/01122025/16/35/image_01122025_16_36_04_10520.jpg
/home/pi/Desktop/images/01122025/16/36/image_01122025_16_36_14_9695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397248466","1397248451","1397248457","1397248462","1397248453","1397248455"],"photo_ids_order":["1397248451","1397248453","1397248455","1397248457","1397248462","1397248466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a10169920a463b2c17b3aec289def920.jpg","text":"TemporaryFile(/tmp/multipartBody25042851115550411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614283746,"filename":"image_01122025_16_36_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/1/324789e1b52b9ff7e06d5b8e9dfba4f8.jpg","text":"TemporaryFile(/tmp/multipartBody3039821807197944583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614283746,"filename":"image_01122025_16_35_24_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5d3969102fa2b2924fe4442cc6311a3e.jpg","text":"TemporaryFile(/tmp/multipartBody893906887326128155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614283746,"filename":"image_01122025_16_35_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/1/cdb371cb2d70b39f6967efc60d928c4d.jpg","text":"TemporaryFile(/tmp/multipartBody1920298773252755531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614283746,"filename":"image_01122025_16_36_04_10520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/385b45bb08dd5409eafd6d77187ccf4c.jpg","text":"TemporaryFile(/tmp/multipartBody803839673541917377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614283746,"filename":"image_01122025_16_35_34_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/af5b772f689938ba9f27ec914f43c717.jpg","text":"TemporaryFile(/tmp/multipartBody3982632007861015626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614283746,"filename":"image_01122025_16_35_44_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397248455","file1":"1397248453","file0":"1397248451","file4":"1397248462","file5":"1397248466","file3":"1397248457"},"map_files_photo_id_array":[{"photo_id":"1397248466","filename":"file5"},{"photo_id":"1397248455","filename":"file2"},{"photo_id":"1397248462","filename":"file4"},{"photo_id":"1397248453","filename":"file1"},{"photo_id":"1397248451","filename":"file0"},{"photo_id":"1397248457","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397248466":["hashtag1","hashtag2"]},{"1397248451":["hashtag1","hashtag2"]},{"1397248457":["hashtag1","hashtag2"]},{"1397248462":["hashtag1","hashtag2"]},{"1397248453":["hashtag1","hashtag2"]},{"1397248455":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397248466, 1397248451, 1397248457, 1397248462, 1397248453, 1397248455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.36412501335144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:38:02.888560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/36/image_01122025_16_36_25_10678.jpg', '/home/pi/Desktop/images/01122025/16/36/image_01122025_16_36_34_9699.jpg', '/home/pi/Desktop/images/01122025/16/36/image_01122025_16_36_44_9651.jpg', '/home/pi/Desktop/images/01122025/16/36/image_01122025_16_36_54_9737.jpg', '/home/pi/Desktop/images/01122025/16/36/image_01122025_16_37_04_10627.jpg', '/home/pi/Desktop/images/01122025/16/37/image_01122025_16_37_14_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/36/image_01122025_16_36_25_10678.jpg
/home/pi/Desktop/images/01122025/16/36/image_01122025_16_36_34_9699.jpg
/home/pi/Desktop/images/01122025/16/36/image_01122025_16_36_44_9651.jpg
/home/pi/Desktop/images/01122025/16/36/image_01122025_16_36_54_9737.jpg
/home/pi/Desktop/images/01122025/16/36/image_01122025_16_37_04_10627.jpg
/home/pi/Desktop/images/01122025/16/37/image_01122025_16_37_14_9657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397248492","1397248477","1397248479","1397248488","1397248481","1397248484"],"photo_ids_order":["1397248477","1397248479","1397248481","1397248484","1397248488","1397248492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7e6e3143f117c3922bf45da5cc575eda.jpg","text":"TemporaryFile(/tmp/multipartBody4722732163334158672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614343596,"filename":"image_01122025_16_37_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/1/a14d7763cea2afab8b09e3b7ce008f9d.jpg","text":"TemporaryFile(/tmp/multipartBody4378423273002795241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614343596,"filename":"image_01122025_16_36_25_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/997090bde75cfbc37dfc37020c1d66de.jpg","text":"TemporaryFile(/tmp/multipartBody298477524564650141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614343596,"filename":"image_01122025_16_36_34_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fa0fab6ba3fff6fe7794c0074ceff111.jpg","text":"TemporaryFile(/tmp/multipartBody961316866507868761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614343596,"filename":"image_01122025_16_37_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/1/30286921136b3c5dc2068208ec77ed7f.jpg","text":"TemporaryFile(/tmp/multipartBody7565287382503513884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614343596,"filename":"image_01122025_16_36_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/1/d1da48f552fb174c07e7b66a705c94ac.jpg","text":"TemporaryFile(/tmp/multipartBody940303622514098669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614343596,"filename":"image_01122025_16_36_54_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397248481","file1":"1397248479","file0":"1397248477","file4":"1397248488","file5":"1397248492","file3":"1397248484"},"map_files_photo_id_array":[{"photo_id":"1397248492","filename":"file5"},{"photo_id":"1397248481","filename":"file2"},{"photo_id":"1397248488","filename":"file4"},{"photo_id":"1397248479","filename":"file1"},{"photo_id":"1397248477","filename":"file0"},{"photo_id":"1397248484","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397248492":["hashtag1","hashtag2"]},{"1397248477":["hashtag1","hashtag2"]},{"1397248479":["hashtag1","hashtag2"]},{"1397248488":["hashtag1","hashtag2"]},{"1397248481":["hashtag1","hashtag2"]},{"1397248484":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397248492, 1397248477, 1397248479, 1397248488, 1397248481, 1397248484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.156901597976685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:39:03.671111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/37/image_01122025_16_37_24_9941.jpg', '/home/pi/Desktop/images/01122025/16/37/image_01122025_16_37_34_9863.jpg', '/home/pi/Desktop/images/01122025/16/37/image_01122025_16_37_44_10617.jpg', '/home/pi/Desktop/images/01122025/16/38/image_01122025_16_38_29_44153.jpg', '/home/pi/Desktop/images/01122025/16/38/image_01122025_16_38_30_1784.jpg', '/home/pi/Desktop/images/01122025/16/38/image_01122025_16_38_32_1517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/37/image_01122025_16_37_24_9941.jpg
/home/pi/Desktop/images/01122025/16/37/image_01122025_16_37_34_9863.jpg
/home/pi/Desktop/images/01122025/16/37/image_01122025_16_37_44_10617.jpg
/home/pi/Desktop/images/01122025/16/38/image_01122025_16_38_29_44153.jpg
/home/pi/Desktop/images/01122025/16/38/image_01122025_16_38_30_1784.jpg
/home/pi/Desktop/images/01122025/16/38/image_01122025_16_38_32_1517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397248502","1397248511","1397248504","1397248515","1397248506","1397248500"],"photo_ids_order":["1397248500","1397248502","1397248504","1397248506","1397248511","1397248515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cdfdfb9671c9f4d0d44bb1dab3be3061.jpg","text":"TemporaryFile(/tmp/multipartBody1816892634015883313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614404492,"filename":"image_01122025_16_37_34_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8bc3c0dc48ae4b1b8c584a901c55a6a4.jpg","text":"TemporaryFile(/tmp/multipartBody5176722134914185489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614404492,"filename":"image_01122025_16_38_30_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/1/240a4fb537779e752601fd5ddd9bdf66.jpg","text":"TemporaryFile(/tmp/multipartBody6377996987423847225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614404492,"filename":"image_01122025_16_37_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/1/c8fe680fcf21886f7ca8000cf94b37e0.jpg","text":"TemporaryFile(/tmp/multipartBody3882699918112555748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614404492,"filename":"image_01122025_16_38_32_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/1/650174a7789ea320486b8e006e9ba305.jpg","text":"TemporaryFile(/tmp/multipartBody5494843000033971012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614404492,"filename":"image_01122025_16_38_29_44153.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9b8a2026c1cbb5cda62e1219a5adc62a.jpg","text":"TemporaryFile(/tmp/multipartBody6885688085455849031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614404492,"filename":"image_01122025_16_37_24_9941.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397248504","file1":"1397248502","file0":"1397248500","file4":"1397248511","file5":"1397248515","file3":"1397248506"},"map_files_photo_id_array":[{"photo_id":"1397248515","filename":"file5"},{"photo_id":"1397248504","filename":"file2"},{"photo_id":"1397248511","filename":"file4"},{"photo_id":"1397248502","filename":"file1"},{"photo_id":"1397248500","filename":"file0"},{"photo_id":"1397248506","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397248502":["hashtag1","hashtag2"]},{"1397248511":["hashtag1","hashtag2"]},{"1397248504":["hashtag1","hashtag2"]},{"1397248515":["hashtag1","hashtag2"]},{"1397248506":["hashtag1","hashtag2"]},{"1397248500":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397248502, 1397248511, 1397248504, 1397248515, 1397248506, 1397248500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.55557036399841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:40:02.313132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/38/image_01122025_16_38_34_1781.jpg', '/home/pi/Desktop/images/01122025/16/38/image_01122025_16_38_35_1636.jpg', '/home/pi/Desktop/images/01122025/16/38/image_01122025_16_38_44_8540.jpg', '/home/pi/Desktop/images/01122025/16/38/image_01122025_16_38_55_10613.jpg', '/home/pi/Desktop/images/01122025/16/38/image_01122025_16_39_04_9794.jpg', '/home/pi/Desktop/images/01122025/16/39/image_01122025_16_39_15_10224.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/38/image_01122025_16_38_34_1781.jpg
/home/pi/Desktop/images/01122025/16/38/image_01122025_16_38_35_1636.jpg
/home/pi/Desktop/images/01122025/16/38/image_01122025_16_38_44_8540.jpg
/home/pi/Desktop/images/01122025/16/38/image_01122025_16_38_55_10613.jpg
/home/pi/Desktop/images/01122025/16/38/image_01122025_16_39_04_9794.jpg
/home/pi/Desktop/images/01122025/16/39/image_01122025_16_39_15_10224.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397248537","1397248525","1397248534","1397248530","1397248524","1397248527"],"photo_ids_order":["1397248524","1397248525","1397248527","1397248530","1397248534","1397248537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2a1bc0d02543516977078157cbb43495.jpg","text":"TemporaryFile(/tmp/multipartBody1894434294320772878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614462985,"filename":"image_01122025_16_39_15_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/1/422726a786091485a56b01f644f3b2bd.jpg","text":"TemporaryFile(/tmp/multipartBody3216375545090371633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614462985,"filename":"image_01122025_16_38_35_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/1/946cb0ac6c54ad38e48400a3a94eb7f7.jpg","text":"TemporaryFile(/tmp/multipartBody6927351239576642176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614462985,"filename":"image_01122025_16_39_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/1/9160defaeafc7a00fd801b8ddc0b5545.jpg","text":"TemporaryFile(/tmp/multipartBody7352106639624924207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614462985,"filename":"image_01122025_16_38_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/1/45aa7d020ffd6e0c6a0832ccf03784d1.jpg","text":"TemporaryFile(/tmp/multipartBody8589848802484513749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614462985,"filename":"image_01122025_16_38_34_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/1/0003f9643d0f0e891ecffa9da7c00b8a.jpg","text":"TemporaryFile(/tmp/multipartBody9072973872518674401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614462985,"filename":"image_01122025_16_38_44_8540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397248527","file1":"1397248525","file0":"1397248524","file4":"1397248534","file5":"1397248537","file3":"1397248530"},"map_files_photo_id_array":[{"photo_id":"1397248537","filename":"file5"},{"photo_id":"1397248527","filename":"file2"},{"photo_id":"1397248534","filename":"file4"},{"photo_id":"1397248525","filename":"file1"},{"photo_id":"1397248524","filename":"file0"},{"photo_id":"1397248530","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397248537":["hashtag1","hashtag2"]},{"1397248525":["hashtag1","hashtag2"]},{"1397248534":["hashtag1","hashtag2"]},{"1397248530":["hashtag1","hashtag2"]},{"1397248524":["hashtag1","hashtag2"]},{"1397248527":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397248537, 1397248525, 1397248534, 1397248530, 1397248524, 1397248527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.903968811035156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:41:02.661162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/39/image_01122025_16_39_24_9592.jpg', '/home/pi/Desktop/images/01122025/16/39/image_01122025_16_39_41_17239.jpg', '/home/pi/Desktop/images/01122025/16/39/image_01122025_16_39_44_2678.jpg', '/home/pi/Desktop/images/01122025/16/39/image_01122025_16_39_55_10693.jpg', '/home/pi/Desktop/images/01122025/16/39/image_01122025_16_40_05_9760.jpg', '/home/pi/Desktop/images/01122025/16/41/image_01122025_16_41_14_10049.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/39/image_01122025_16_39_24_9592.jpg
/home/pi/Desktop/images/01122025/16/39/image_01122025_16_39_41_17239.jpg
/home/pi/Desktop/images/01122025/16/39/image_01122025_16_39_44_2678.jpg
/home/pi/Desktop/images/01122025/16/39/image_01122025_16_39_55_10693.jpg
/home/pi/Desktop/images/01122025/16/39/image_01122025_16_40_05_9760.jpg
/home/pi/Desktop/images/01122025/16/41/image_01122025_16_41_14_10049.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397248550","1397248553","1397248547","1397248555","1397248564","1397248560"],"photo_ids_order":["1397248547","1397248550","1397248553","1397248555","1397248560","1397248564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b6c0c0223e303af49b53a53235234482.jpg","text":"TemporaryFile(/tmp/multipartBody6111499127282990359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614523526,"filename":"image_01122025_16_39_41_17239.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/38e8642a1b20c75603f02c74edf33949.jpg","text":"TemporaryFile(/tmp/multipartBody2483936537546144354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614523526,"filename":"image_01122025_16_39_44_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/1/f48986d866b8f133adc315377bba2052.jpg","text":"TemporaryFile(/tmp/multipartBody2408613898129759255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614523526,"filename":"image_01122025_16_39_24_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b948cedab86cafbbf4d4e5ab099da37d.jpg","text":"TemporaryFile(/tmp/multipartBody3241570305591408261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614523526,"filename":"image_01122025_16_39_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/1/5e77f928c4596831d2234441c31d6a57.jpg","text":"TemporaryFile(/tmp/multipartBody5414213530968649616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614523526,"filename":"image_01122025_16_41_14_10049.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4c035a1a896eb24be5f770840e0fac7e.jpg","text":"TemporaryFile(/tmp/multipartBody4355413606380897119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614523526,"filename":"image_01122025_16_40_05_9760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397248553","file1":"1397248550","file0":"1397248547","file4":"1397248560","file5":"1397248564","file3":"1397248555"},"map_files_photo_id_array":[{"photo_id":"1397248564","filename":"file5"},{"photo_id":"1397248553","filename":"file2"},{"photo_id":"1397248560","filename":"file4"},{"photo_id":"1397248550","filename":"file1"},{"photo_id":"1397248547","filename":"file0"},{"photo_id":"1397248555","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397248550":["hashtag1","hashtag2"]},{"1397248553":["hashtag1","hashtag2"]},{"1397248547":["hashtag1","hashtag2"]},{"1397248555":["hashtag1","hashtag2"]},{"1397248564":["hashtag1","hashtag2"]},{"1397248560":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397248550, 1397248553, 1397248547, 1397248555, 1397248564, 1397248560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.8082549571991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:42:02.629056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/41/image_01122025_16_41_25_10729.jpg', '/home/pi/Desktop/images/01122025/16/41/image_01122025_16_41_34_9640.jpg', '/home/pi/Desktop/images/01122025/16/41/image_01122025_16_41_44_9709.jpg', '/home/pi/Desktop/images/01122025/16/41/image_01122025_16_41_55_10702.jpg', '/home/pi/Desktop/images/01122025/16/41/image_01122025_16_42_05_9684.jpg', '/home/pi/Desktop/images/01122025/16/42/image_01122025_16_42_14_9843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/41/image_01122025_16_41_25_10729.jpg
/home/pi/Desktop/images/01122025/16/41/image_01122025_16_41_34_9640.jpg
/home/pi/Desktop/images/01122025/16/41/image_01122025_16_41_44_9709.jpg
/home/pi/Desktop/images/01122025/16/41/image_01122025_16_41_55_10702.jpg
/home/pi/Desktop/images/01122025/16/41/image_01122025_16_42_05_9684.jpg
/home/pi/Desktop/images/01122025/16/42/image_01122025_16_42_14_9843.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397248574","1397248585","1397248573","1397248582","1397248579","1397248577"],"photo_ids_order":["1397248573","1397248574","1397248577","1397248579","1397248582","1397248585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d6cb29da0c073c18e1fb9bad3fa90a90.jpg","text":"TemporaryFile(/tmp/multipartBody2101053330966096445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614583345,"filename":"image_01122025_16_41_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/1/7c709ff2cf685290da65eb8c8ed1e641.jpg","text":"TemporaryFile(/tmp/multipartBody4631189798554606322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614583345,"filename":"image_01122025_16_42_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/1/8f5251185857eade26aa0b2ede8ca02e.jpg","text":"TemporaryFile(/tmp/multipartBody3596038620997943205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614583345,"filename":"image_01122025_16_41_25_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fc0d445b03bb81f655b66059b8c64ba2.jpg","text":"TemporaryFile(/tmp/multipartBody1983290168032702129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614583345,"filename":"image_01122025_16_42_05_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/eb53651c5bee11649a598b2c680806cf.jpg","text":"TemporaryFile(/tmp/multipartBody862111185448130869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614583345,"filename":"image_01122025_16_41_55_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d38f3907d7e4aef6da535656af41e525.jpg","text":"TemporaryFile(/tmp/multipartBody1292055340529375748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614583345,"filename":"image_01122025_16_41_44_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397248577","file1":"1397248574","file0":"1397248573","file4":"1397248582","file5":"1397248585","file3":"1397248579"},"map_files_photo_id_array":[{"photo_id":"1397248585","filename":"file5"},{"photo_id":"1397248577","filename":"file2"},{"photo_id":"1397248582","filename":"file4"},{"photo_id":"1397248574","filename":"file1"},{"photo_id":"1397248573","filename":"file0"},{"photo_id":"1397248579","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397248574":["hashtag1","hashtag2"]},{"1397248585":["hashtag1","hashtag2"]},{"1397248573":["hashtag1","hashtag2"]},{"1397248582":["hashtag1","hashtag2"]},{"1397248579":["hashtag1","hashtag2"]},{"1397248577":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397248574, 1397248585, 1397248573, 1397248582, 1397248579, 1397248577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24252223968506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:43:03.038303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/42/image_01122025_16_42_24_9830.jpg', '/home/pi/Desktop/images/01122025/16/42/image_01122025_16_42_35_10773.jpg', '/home/pi/Desktop/images/01122025/16/42/image_01122025_16_42_45_9808.jpg', '/home/pi/Desktop/images/01122025/16/42/image_01122025_16_42_54_9627.jpg', '/home/pi/Desktop/images/01122025/16/42/image_01122025_16_43_04_9763.jpg', '/home/pi/Desktop/images/01122025/16/43/image_01122025_16_43_25_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/42/image_01122025_16_42_24_9830.jpg
/home/pi/Desktop/images/01122025/16/42/image_01122025_16_42_35_10773.jpg
/home/pi/Desktop/images/01122025/16/42/image_01122025_16_42_45_9808.jpg
/home/pi/Desktop/images/01122025/16/42/image_01122025_16_42_54_9627.jpg
/home/pi/Desktop/images/01122025/16/42/image_01122025_16_43_04_9763.jpg
/home/pi/Desktop/images/01122025/16/43/image_01122025_16_43_25_9806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397248646","1397248642","1397248636","1397248639","1397248596","1397248599"],"photo_ids_order":["1397248596","1397248599","1397248636","1397248639","1397248642","1397248646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/090db4e980b6a67b5a490427e01d9c00.jpg","text":"TemporaryFile(/tmp/multipartBody1202075174444590524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614643843,"filename":"image_01122025_16_43_25_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/08ccfa6cd4edb4cd0e8fcd3fb57d10cb.jpg","text":"TemporaryFile(/tmp/multipartBody5555817230778768252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614643843,"filename":"image_01122025_16_43_04_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d98f7d631f61871025b58c44013fdea5.jpg","text":"TemporaryFile(/tmp/multipartBody8264713072576972644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614643843,"filename":"image_01122025_16_42_45_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/28e7c63db47c600a5b91ec6b3d630a1f.jpg","text":"TemporaryFile(/tmp/multipartBody3294575851454179076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614643843,"filename":"image_01122025_16_42_54_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1cee6e6a13c40e551ebb7f6b05866242.jpg","text":"TemporaryFile(/tmp/multipartBody2384573410955452504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614643843,"filename":"image_01122025_16_42_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/1/288cf976433c802cc42e2a66f837d990.jpg","text":"TemporaryFile(/tmp/multipartBody5277716727190670044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614643843,"filename":"image_01122025_16_42_35_10773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397248636","file1":"1397248599","file0":"1397248596","file4":"1397248642","file5":"1397248646","file3":"1397248639"},"map_files_photo_id_array":[{"photo_id":"1397248646","filename":"file5"},{"photo_id":"1397248636","filename":"file2"},{"photo_id":"1397248642","filename":"file4"},{"photo_id":"1397248599","filename":"file1"},{"photo_id":"1397248596","filename":"file0"},{"photo_id":"1397248639","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397248646":["hashtag1","hashtag2"]},{"1397248642":["hashtag1","hashtag2"]},{"1397248636":["hashtag1","hashtag2"]},{"1397248639":["hashtag1","hashtag2"]},{"1397248596":["hashtag1","hashtag2"]},{"1397248599":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397248646, 1397248642, 1397248636, 1397248639, 1397248596, 1397248599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.470070123672485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 19:43:42.389666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_48_1708.jpg', '/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_49_1621.jpg', '/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_51_1716.jpg', '/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_58_7203.jpg', '/home/pi/Desktop/images/31102025/14/54/image_31102025_14_55_00_1651.jpg', '/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_04_4456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_48_1708.jpg
/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_49_1621.jpg
/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_51_1716.jpg
/home/pi/Desktop/images/31102025/14/54/image_31102025_14_54_58_7203.jpg
/home/pi/Desktop/images/31102025/14/54/image_31102025_14_55_00_1651.jpg
/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_04_4456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397248664","1397248660","1397248659","1397248662","1397248656","1397248661"],"photo_ids_order":["1397248656","1397248659","1397248660","1397248661","1397248662","1397248664"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f83fafc5cd77a203dd74f2d97d7bad74.jpg","text":"TemporaryFile(/tmp/multipartBody7802367597737452189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614684925,"filename":"image_31102025_14_55_04_4456.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0642a51cdcd80edc9cca115c5b94c9cf.jpg","text":"TemporaryFile(/tmp/multipartBody3700330767439865909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614684925,"filename":"image_31102025_14_54_51_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/1/f0f18ad1d1150bd3ae302156bed18055.jpg","text":"TemporaryFile(/tmp/multipartBody8812057132935975345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614684925,"filename":"image_31102025_14_54_49_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/1/e1af0d2eae8562c60be24597f69e0d2c.jpg","text":"TemporaryFile(/tmp/multipartBody5224765457993737952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614684925,"filename":"image_31102025_14_55_00_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/1/23d823966119e8036c0c6b09f58bb535.jpg","text":"TemporaryFile(/tmp/multipartBody1912810902027699629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614684925,"filename":"image_31102025_14_54_48_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/1/abc519ab25069f994a431a5a1635b979.jpg","text":"TemporaryFile(/tmp/multipartBody114188729071036124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614684925,"filename":"image_31102025_14_54_58_7203.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397248660","file1":"1397248659","file0":"1397248656","file4":"1397248662","file5":"1397248664","file3":"1397248661"},"map_files_photo_id_array":[{"photo_id":"1397248664","filename":"file5"},{"photo_id":"1397248660","filename":"file2"},{"photo_id":"1397248662","filename":"file4"},{"photo_id":"1397248659","filename":"file1"},{"photo_id":"1397248656","filename":"file0"},{"photo_id":"1397248661","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397248664":["hashtag1","hashtag2"]},{"1397248660":["hashtag1","hashtag2"]},{"1397248659":["hashtag1","hashtag2"]},{"1397248662":["hashtag1","hashtag2"]},{"1397248656":["hashtag1","hashtag2"]},{"1397248661":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397248664, 1397248660, 1397248659, 1397248662, 1397248656, 1397248661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.00798749923706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 19:44:32.594849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_08_3733.jpg', '/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_11_2726.jpg', '/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_13_2680.jpg', '/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_17_3569.jpg', '/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_20_2629.jpg', '/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_22_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_08_3733.jpg
/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_11_2726.jpg
/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_13_2680.jpg
/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_17_3569.jpg
/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_20_2629.jpg
/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_22_2564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397249083","1397249071","1397249085","1397249058","1397249075","1397248902"],"photo_ids_order":["1397248902","1397249058","1397249071","1397249075","1397249083","1397249085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bf1db1de11e6fb8941a5f157711e3e6b.jpg","text":"TemporaryFile(/tmp/multipartBody4322395933498770667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614734264,"filename":"image_25112025_23_20_20_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/1/3b56d8b5e98aae5968aed8d7523db309.jpg","text":"TemporaryFile(/tmp/multipartBody2069691790075915683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614734264,"filename":"image_25112025_23_20_13_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/1/fc44452b2fd2c52ef98cb030990c1fed.jpg","text":"TemporaryFile(/tmp/multipartBody8901814521571661861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614734264,"filename":"image_25112025_23_20_22_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f75abc0a266e22720674000dbd279657.jpg","text":"TemporaryFile(/tmp/multipartBody8741515831590270270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614734264,"filename":"image_25112025_23_20_11_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/1/c958657571e3f4d5854d8dd6f05a17fb.jpg","text":"TemporaryFile(/tmp/multipartBody6760478524485619405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614734264,"filename":"image_25112025_23_20_17_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fe62e3bf5619bb5916f5340f96534239.jpg","text":"TemporaryFile(/tmp/multipartBody9144892978627843427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614734264,"filename":"image_25112025_23_20_08_3733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397249071","file1":"1397249058","file0":"1397248902","file4":"1397249083","file5":"1397249085","file3":"1397249075"},"map_files_photo_id_array":[{"photo_id":"1397249085","filename":"file5"},{"photo_id":"1397249071","filename":"file2"},{"photo_id":"1397249083","filename":"file4"},{"photo_id":"1397249058","filename":"file1"},{"photo_id":"1397248902","filename":"file0"},{"photo_id":"1397249075","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397249083":["hashtag1","hashtag2"]},{"1397249071":["hashtag1","hashtag2"]},{"1397249085":["hashtag1","hashtag2"]},{"1397249058":["hashtag1","hashtag2"]},{"1397249075":["hashtag1","hashtag2"]},{"1397248902":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397249083, 1397249071, 1397249085, 1397249058, 1397249075, 1397248902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.464213848114014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 19:45:22.732130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/43/image_01122025_16_43_34_9647.jpg', '/home/pi/Desktop/images/01122025/16/43/image_01122025_16_43_45_10628.jpg', '/home/pi/Desktop/images/01122025/16/43/image_01122025_16_43_55_9707.jpg', '/home/pi/Desktop/images/01122025/16/43/image_01122025_16_44_04_9734.jpg', '/home/pi/Desktop/images/01122025/16/44/image_01122025_16_44_15_10506.jpg', '/home/pi/Desktop/images/01122025/16/44/image_01122025_16_44_25_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/43/image_01122025_16_43_34_9647.jpg
/home/pi/Desktop/images/01122025/16/43/image_01122025_16_43_45_10628.jpg
/home/pi/Desktop/images/01122025/16/43/image_01122025_16_43_55_9707.jpg
/home/pi/Desktop/images/01122025/16/43/image_01122025_16_44_04_9734.jpg
/home/pi/Desktop/images/01122025/16/44/image_01122025_16_44_15_10506.jpg
/home/pi/Desktop/images/01122025/16/44/image_01122025_16_44_25_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":["1397249204","1397249182","1397249239","1397249177","1397249171","1397249162"],"photo_ids_order":["1397249162","1397249171","1397249177","1397249182","1397249204","1397249239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1aefa08298e162d7d5f16d3ea042d704.jpg","text":"TemporaryFile(/tmp/multipartBody8638832197361334479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614783390,"filename":"image_01122025_16_44_15_10506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/efe99f425bf2aada2bc1d8c01def6c86.jpg","text":"TemporaryFile(/tmp/multipartBody571917344418667642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614783390,"filename":"image_01122025_16_44_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/1/22c271bf5e7f3c1ac2df9e06502f0627.jpg","text":"TemporaryFile(/tmp/multipartBody7135439139274953102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614783390,"filename":"image_01122025_16_44_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/1/9f35705de3ae542d26338ebf47ee6ba3.jpg","text":"TemporaryFile(/tmp/multipartBody2505019187379358645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614783390,"filename":"image_01122025_16_43_55_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/49bd8cccc8f25c7d6ad6e2bb996685ba.jpg","text":"TemporaryFile(/tmp/multipartBody3880088102968690987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614783390,"filename":"image_01122025_16_43_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/1/fba81b5f3e7240cb266e9cc58684b157.jpg","text":"TemporaryFile(/tmp/multipartBody285943043987583503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614783390,"filename":"image_01122025_16_43_34_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397249177","file1":"1397249171","file0":"1397249162","file4":"1397249204","file5":"1397249239","file3":"1397249182"},"map_files_photo_id_array":[{"photo_id":"1397249239","filename":"file5"},{"photo_id":"1397249177","filename":"file2"},{"photo_id":"1397249204","filename":"file4"},{"photo_id":"1397249171","filename":"file1"},{"photo_id":"1397249162","filename":"file0"},{"photo_id":"1397249182","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397249204":["hashtag1","hashtag2"]},{"1397249182":["hashtag1","hashtag2"]},{"1397249239":["hashtag1","hashtag2"]},{"1397249177":["hashtag1","hashtag2"]},{"1397249171":["hashtag1","hashtag2"]},{"1397249162":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397249204, 1397249182, 1397249239, 1397249177, 1397249171, 1397249162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2913453578949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 19:46:12.026779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_26_3628.jpg', '/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_28_2547.jpg', '/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_32_3579.jpg', '/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_41_3739.jpg', '/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_44_2657.jpg', '/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_46_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_26_3628.jpg
/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_28_2547.jpg
/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_32_3579.jpg
/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_41_3739.jpg
/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_44_2657.jpg
/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_46_2659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397249265","1397249259","1397249250","1397249252","1397249261","1397249255"],"photo_ids_order":["1397249250","1397249252","1397249255","1397249259","1397249261","1397249265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c0b5de46edc73941c805235f85360ca7.jpg","text":"TemporaryFile(/tmp/multipartBody2993446875523158553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614833503,"filename":"image_25112025_23_20_46_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ce9e0460f13be0699112aa8490da0568.jpg","text":"TemporaryFile(/tmp/multipartBody2176923328871529692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614833503,"filename":"image_25112025_23_20_41_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/1/338cf62d7a2188dc1ce19fcdeaa696c6.jpg","text":"TemporaryFile(/tmp/multipartBody8303623191761590853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614833503,"filename":"image_25112025_23_20_26_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/1/77b820f121d3070ada8cf2b35caa8e58.jpg","text":"TemporaryFile(/tmp/multipartBody371118743711540253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614833503,"filename":"image_25112025_23_20_28_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/1/838d4f280e22f0d1167c2b26bee31e6b.jpg","text":"TemporaryFile(/tmp/multipartBody8837914279967665803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614833503,"filename":"image_25112025_23_20_44_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/1/8ee29749bb31609f6dd7a40a23f76045.jpg","text":"TemporaryFile(/tmp/multipartBody4252621560973266661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614833503,"filename":"image_25112025_23_20_32_3579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397249255","file1":"1397249252","file0":"1397249250","file4":"1397249261","file5":"1397249265","file3":"1397249259"},"map_files_photo_id_array":[{"photo_id":"1397249265","filename":"file5"},{"photo_id":"1397249255","filename":"file2"},{"photo_id":"1397249261","filename":"file4"},{"photo_id":"1397249252","filename":"file1"},{"photo_id":"1397249250","filename":"file0"},{"photo_id":"1397249259","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397249265":["hashtag1","hashtag2"]},{"1397249259":["hashtag1","hashtag2"]},{"1397249250":["hashtag1","hashtag2"]},{"1397249252":["hashtag1","hashtag2"]},{"1397249261":["hashtag1","hashtag2"]},{"1397249255":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397249265, 1397249259, 1397249250, 1397249252, 1397249261, 1397249255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.50439524650574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:47:02.722754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/44/image_01122025_16_44_35_9963.jpg', '/home/pi/Desktop/images/01122025/16/44/image_01122025_16_44_44_9911.jpg', '/home/pi/Desktop/images/01122025/16/44/image_01122025_16_44_54_9675.jpg', '/home/pi/Desktop/images/01122025/16/45/image_01122025_16_45_14_10060.jpg', '/home/pi/Desktop/images/01122025/16/45/image_01122025_16_45_25_10791.jpg', '/home/pi/Desktop/images/01122025/16/45/image_01122025_16_45_35_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/44/image_01122025_16_44_35_9963.jpg
/home/pi/Desktop/images/01122025/16/44/image_01122025_16_44_44_9911.jpg
/home/pi/Desktop/images/01122025/16/44/image_01122025_16_44_54_9675.jpg
/home/pi/Desktop/images/01122025/16/45/image_01122025_16_45_14_10060.jpg
/home/pi/Desktop/images/01122025/16/45/image_01122025_16_45_25_10791.jpg
/home/pi/Desktop/images/01122025/16/45/image_01122025_16_45_35_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397249269","1397249271","1397249282","1397249276","1397249279","1397249273"],"photo_ids_order":["1397249269","1397249271","1397249273","1397249276","1397249279","1397249282"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/80956ace01fcbd4cbed13a96de3600bc.jpg","text":"TemporaryFile(/tmp/multipartBody7806781430750971838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614883448,"filename":"image_01122025_16_44_35_9963.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2f1683561cd3d1165f89e0ac8a637f9e.jpg","text":"TemporaryFile(/tmp/multipartBody2627264811637333878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614883448,"filename":"image_01122025_16_44_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/1/6beb29643ef8be2ec6c4b701f7c778c8.jpg","text":"TemporaryFile(/tmp/multipartBody8370260075841166419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614883448,"filename":"image_01122025_16_45_35_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9d011d4dc981ae68152b8ba47c952b0b.jpg","text":"TemporaryFile(/tmp/multipartBody6057833538421100402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614883448,"filename":"image_01122025_16_45_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/1/5870da139b103169e6b4059aec2b9257.jpg","text":"TemporaryFile(/tmp/multipartBody2625828238120258954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614883448,"filename":"image_01122025_16_45_25_10791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dbd97a0eea459306f183b9f723f8ff55.jpg","text":"TemporaryFile(/tmp/multipartBody9134509626184910253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614883448,"filename":"image_01122025_16_44_54_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397249273","file1":"1397249271","file0":"1397249269","file4":"1397249279","file5":"1397249282","file3":"1397249276"},"map_files_photo_id_array":[{"photo_id":"1397249282","filename":"file5"},{"photo_id":"1397249273","filename":"file2"},{"photo_id":"1397249279","filename":"file4"},{"photo_id":"1397249271","filename":"file1"},{"photo_id":"1397249269","filename":"file0"},{"photo_id":"1397249276","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397249269":["hashtag1","hashtag2"]},{"1397249271":["hashtag1","hashtag2"]},{"1397249282":["hashtag1","hashtag2"]},{"1397249276":["hashtag1","hashtag2"]},{"1397249279":["hashtag1","hashtag2"]},{"1397249273":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397249269, 1397249271, 1397249282, 1397249276, 1397249279, 1397249273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89635252952576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:48:02.832278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/45/image_01122025_16_45_44_9648.jpg', '/home/pi/Desktop/images/01122025/16/45/image_01122025_16_45_55_10579.jpg', '/home/pi/Desktop/images/01122025/16/45/image_01122025_16_46_04_9725.jpg', '/home/pi/Desktop/images/01122025/16/46/image_01122025_16_46_15_10527.jpg', '/home/pi/Desktop/images/01122025/16/46/image_01122025_16_46_25_9657.jpg', '/home/pi/Desktop/images/01122025/16/46/image_01122025_16_46_34_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/45/image_01122025_16_45_44_9648.jpg
/home/pi/Desktop/images/01122025/16/45/image_01122025_16_45_55_10579.jpg
/home/pi/Desktop/images/01122025/16/45/image_01122025_16_46_04_9725.jpg
/home/pi/Desktop/images/01122025/16/46/image_01122025_16_46_15_10527.jpg
/home/pi/Desktop/images/01122025/16/46/image_01122025_16_46_25_9657.jpg
/home/pi/Desktop/images/01122025/16/46/image_01122025_16_46_34_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":["1397249336","1397249383","1397249364","1397249375","1397249366","1397249339"],"photo_ids_order":["1397249336","1397249339","1397249364","1397249366","1397249375","1397249383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0fd5ab736cda5b7c311c0c601954b2b2.jpg","text":"TemporaryFile(/tmp/multipartBody2449291914308126121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614943491,"filename":"image_01122025_16_45_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/1/472f3866a2400630dd983cbaa3fad8c7.jpg","text":"TemporaryFile(/tmp/multipartBody6553020228313625225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614943491,"filename":"image_01122025_16_46_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/1/89a30097b0d504d7fcda0aa076a24c04.jpg","text":"TemporaryFile(/tmp/multipartBody6634050558271701574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614943491,"filename":"image_01122025_16_46_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/1/c3458b29b96c05a9bb1f11c8d5c2b9c8.jpg","text":"TemporaryFile(/tmp/multipartBody7061876874509500569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614943491,"filename":"image_01122025_16_46_25_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9798051e708622a5f4ef3e20d069e0db.jpg","text":"TemporaryFile(/tmp/multipartBody207300792193884017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614943491,"filename":"image_01122025_16_46_15_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/1/2fbc51256bb2cd94ac6d021af7405a60.jpg","text":"TemporaryFile(/tmp/multipartBody5063961665537915355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614943491,"filename":"image_01122025_16_45_55_10579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397249364","file1":"1397249339","file0":"1397249336","file4":"1397249375","file5":"1397249383","file3":"1397249366"},"map_files_photo_id_array":[{"photo_id":"1397249383","filename":"file5"},{"photo_id":"1397249364","filename":"file2"},{"photo_id":"1397249375","filename":"file4"},{"photo_id":"1397249339","filename":"file1"},{"photo_id":"1397249336","filename":"file0"},{"photo_id":"1397249366","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397249336":["hashtag1","hashtag2"]},{"1397249383":["hashtag1","hashtag2"]},{"1397249364":["hashtag1","hashtag2"]},{"1397249375":["hashtag1","hashtag2"]},{"1397249366":["hashtag1","hashtag2"]},{"1397249339":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397249336, 1397249383, 1397249364, 1397249375, 1397249366, 1397249339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52206587791443 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 19:48:42.423612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_11_6655.jpg', '/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_12_1532.jpg', '/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_20_7331.jpg', '/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_21_1559.jpg', '/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_26_4265.jpg', '/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_27_1553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_11_6655.jpg
/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_12_1532.jpg
/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_20_7331.jpg
/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_21_1559.jpg
/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_26_4265.jpg
/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_27_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":["1397249440","1397249443","1397249484","1397249442","1397249489","1397249447"],"photo_ids_order":["1397249440","1397249442","1397249443","1397249447","1397249484","1397249489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6a2dd103bb70eeb8b3f5da677cd71d06.jpg","text":"TemporaryFile(/tmp/multipartBody88087295623907698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614984931,"filename":"image_31102025_14_55_11_6655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0c61e68aaaf74282978a8d472ab495ae.jpg","text":"TemporaryFile(/tmp/multipartBody6084566618202241186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614984931,"filename":"image_31102025_14_55_20_7331.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7e903e69cca633a60d8f46f641b6462c.jpg","text":"TemporaryFile(/tmp/multipartBody4162772115127652652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614984931,"filename":"image_31102025_14_55_26_4265.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/27ad58b937f6246b2f33099a75eecc6e.jpg","text":"TemporaryFile(/tmp/multipartBody3037454749416428744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614984931,"filename":"image_31102025_14_55_12_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/1/b141c744f148f1e6f30fba8246958c8c.jpg","text":"TemporaryFile(/tmp/multipartBody5588322983624081101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614984931,"filename":"image_31102025_14_55_27_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/1/7556c796312fa52872fc412135af691c.jpg","text":"TemporaryFile(/tmp/multipartBody9454982479416393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764614984931,"filename":"image_31102025_14_55_21_1559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397249443","file1":"1397249442","file0":"1397249440","file4":"1397249484","file5":"1397249489","file3":"1397249447"},"map_files_photo_id_array":[{"photo_id":"1397249489","filename":"file5"},{"photo_id":"1397249443","filename":"file2"},{"photo_id":"1397249484","filename":"file4"},{"photo_id":"1397249442","filename":"file1"},{"photo_id":"1397249440","filename":"file0"},{"photo_id":"1397249447","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397249440":["hashtag1","hashtag2"]},{"1397249443":["hashtag1","hashtag2"]},{"1397249484":["hashtag1","hashtag2"]},{"1397249442":["hashtag1","hashtag2"]},{"1397249489":["hashtag1","hashtag2"]},{"1397249447":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397249440, 1397249443, 1397249484, 1397249442, 1397249489, 1397249447)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.64316487312317 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 19:49:32.641472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_50_3669.jpg', '/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_53_2733.jpg', '/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_55_2588.jpg', '/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_59_3686.jpg', '/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_01_2546.jpg', '/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_04_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_50_3669.jpg
/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_53_2733.jpg
/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_55_2588.jpg
/home/pi/Desktop/images/25112025/23/20/image_25112025_23_20_59_3686.jpg
/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_01_2546.jpg
/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_04_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":["1397249596","1397249600","1397249605","1397249523","1397249604","1397249603"],"photo_ids_order":["1397249523","1397249596","1397249600","1397249603","1397249604","1397249605"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/62c5a69f8b5c5675028537c7a5b9e54e.jpg","text":"TemporaryFile(/tmp/multipartBody1590080176932592238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615034386,"filename":"image_25112025_23_20_53_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dc3c2cfc6e22c1aad113490de8a31362.jpg","text":"TemporaryFile(/tmp/multipartBody6422346669002980587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615034386,"filename":"image_25112025_23_20_55_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/1/a642e47d53564cc01e83b327eac0a397.jpg","text":"TemporaryFile(/tmp/multipartBody1257020508590879475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615034386,"filename":"image_25112025_23_21_04_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/1/71cc4e73a0adce0b7e2765cf3eeed4e0.jpg","text":"TemporaryFile(/tmp/multipartBody1167579962940690592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615034386,"filename":"image_25112025_23_20_50_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bbce87b44e410f55c48e39e4c11530f2.jpg","text":"TemporaryFile(/tmp/multipartBody7466668537260201950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615034386,"filename":"image_25112025_23_21_01_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/1/8b1f2d32fff290142677d18b33cb0a7d.jpg","text":"TemporaryFile(/tmp/multipartBody1146811196647178971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615034386,"filename":"image_25112025_23_20_59_3686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397249600","file1":"1397249596","file0":"1397249523","file4":"1397249604","file5":"1397249605","file3":"1397249603"},"map_files_photo_id_array":[{"photo_id":"1397249605","filename":"file5"},{"photo_id":"1397249600","filename":"file2"},{"photo_id":"1397249604","filename":"file4"},{"photo_id":"1397249596","filename":"file1"},{"photo_id":"1397249523","filename":"file0"},{"photo_id":"1397249603","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397249596":["hashtag1","hashtag2"]},{"1397249600":["hashtag1","hashtag2"]},{"1397249605":["hashtag1","hashtag2"]},{"1397249523":["hashtag1","hashtag2"]},{"1397249604":["hashtag1","hashtag2"]},{"1397249603":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397249596, 1397249600, 1397249605, 1397249523, 1397249604, 1397249603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35840106010437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 19:50:12.794961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_08_3570.jpg', '/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_10_2586.jpg', '/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_16_2595.jpg', '/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_19_2639.jpg', '/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_23_3675.jpg', '/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_25_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_08_3570.jpg
/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_10_2586.jpg
/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_16_2595.jpg
/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_19_2639.jpg
/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_23_3675.jpg
/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_25_2590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397249615","1397249611","1397249608","1397249621","1397249624","1397249618"],"photo_ids_order":["1397249608","1397249611","1397249615","1397249618","1397249621","1397249624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/124b43825ff37fd25e44297e5ebcd519.jpg","text":"TemporaryFile(/tmp/multipartBody2911634287793302218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615074379,"filename":"image_25112025_23_21_16_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5a9f130733360e5c673fc57cde3b9d33.jpg","text":"TemporaryFile(/tmp/multipartBody6950100553381343985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615074379,"filename":"image_25112025_23_21_10_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/1/3e4e372afcd7c6c844f2610770627d33.jpg","text":"TemporaryFile(/tmp/multipartBody430485107317127110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615074379,"filename":"image_25112025_23_21_08_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/1/1317d43d6ce8ab0ba8433ecf2cdda1c9.jpg","text":"TemporaryFile(/tmp/multipartBody3166584608444773666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615074379,"filename":"image_25112025_23_21_23_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3e9750e7bb9b74edfb12f7199688e232.jpg","text":"TemporaryFile(/tmp/multipartBody140160885836082692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615074379,"filename":"image_25112025_23_21_25_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f5a771a3abbd56e021dc0a969845710e.jpg","text":"TemporaryFile(/tmp/multipartBody2394872520305658495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615074379,"filename":"image_25112025_23_21_19_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397249615","file1":"1397249611","file0":"1397249608","file4":"1397249621","file5":"1397249624","file3":"1397249618"},"map_files_photo_id_array":[{"photo_id":"1397249624","filename":"file5"},{"photo_id":"1397249615","filename":"file2"},{"photo_id":"1397249621","filename":"file4"},{"photo_id":"1397249611","filename":"file1"},{"photo_id":"1397249608","filename":"file0"},{"photo_id":"1397249618","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397249615":["hashtag1","hashtag2"]},{"1397249611":["hashtag1","hashtag2"]},{"1397249608":["hashtag1","hashtag2"]},{"1397249621":["hashtag1","hashtag2"]},{"1397249624":["hashtag1","hashtag2"]},{"1397249618":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397249615, 1397249611, 1397249608, 1397249621, 1397249624, 1397249618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.962180614471436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:51:02.713740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/46/image_01122025_16_46_45_10702.jpg', '/home/pi/Desktop/images/01122025/16/46/image_01122025_16_46_55_9632.jpg', '/home/pi/Desktop/images/01122025/16/46/image_01122025_16_47_04_9798.jpg', '/home/pi/Desktop/images/01122025/16/47/image_01122025_16_47_14_9651.jpg', '/home/pi/Desktop/images/01122025/16/47/image_01122025_16_47_25_10661.jpg', '/home/pi/Desktop/images/01122025/16/47/image_01122025_16_47_34_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/46/image_01122025_16_46_45_10702.jpg
/home/pi/Desktop/images/01122025/16/46/image_01122025_16_46_55_9632.jpg
/home/pi/Desktop/images/01122025/16/46/image_01122025_16_47_04_9798.jpg
/home/pi/Desktop/images/01122025/16/47/image_01122025_16_47_14_9651.jpg
/home/pi/Desktop/images/01122025/16/47/image_01122025_16_47_25_10661.jpg
/home/pi/Desktop/images/01122025/16/47/image_01122025_16_47_34_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":["1397249831","1397249632","1397249629","1397249853","1397249730","1397249630"],"photo_ids_order":["1397249629","1397249630","1397249632","1397249730","1397249831","1397249853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/62af793153ab4ababf9b4f76a2790022.jpg","text":"TemporaryFile(/tmp/multipartBody5055220746271175593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615123454,"filename":"image_01122025_16_47_25_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1b57c0279f994161805785de52be018f.jpg","text":"TemporaryFile(/tmp/multipartBody7848223866709775000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615123454,"filename":"image_01122025_16_47_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/1/e536fc1c0fad7acf1454058def158327.jpg","text":"TemporaryFile(/tmp/multipartBody8663903599841514314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615123454,"filename":"image_01122025_16_46_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/1/252c5cf6dff605627415b7b67be6ce58.jpg","text":"TemporaryFile(/tmp/multipartBody8230629390343283161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615123454,"filename":"image_01122025_16_47_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/1/cd94bb166c80fd9e5f8c940e7bd5bcd0.jpg","text":"TemporaryFile(/tmp/multipartBody8999061524587296354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615123454,"filename":"image_01122025_16_47_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/1/9ffaf132d6c5a6a4641f18b3de1e864b.jpg","text":"TemporaryFile(/tmp/multipartBody860826694969835736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615123454,"filename":"image_01122025_16_46_55_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397249632","file1":"1397249630","file0":"1397249629","file4":"1397249831","file5":"1397249853","file3":"1397249730"},"map_files_photo_id_array":[{"photo_id":"1397249853","filename":"file5"},{"photo_id":"1397249632","filename":"file2"},{"photo_id":"1397249831","filename":"file4"},{"photo_id":"1397249630","filename":"file1"},{"photo_id":"1397249629","filename":"file0"},{"photo_id":"1397249730","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397249831":["hashtag1","hashtag2"]},{"1397249632":["hashtag1","hashtag2"]},{"1397249629":["hashtag1","hashtag2"]},{"1397249853":["hashtag1","hashtag2"]},{"1397249730":["hashtag1","hashtag2"]},{"1397249630":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397249831, 1397249632, 1397249629, 1397249853, 1397249730, 1397249630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44797158241272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 19:51:42.016890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_29_1719.jpg', '/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_35_6399.jpg', '/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_37_1796.jpg', '/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_39_1827.jpg', '/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_40_1589.jpg', '/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_42_1701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_29_1719.jpg
/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_35_6399.jpg
/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_37_1796.jpg
/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_39_1827.jpg
/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_40_1589.jpg
/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_42_1701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397249872","1397249880","1397249862","1397249865","1397249864","1397249873"],"photo_ids_order":["1397249862","1397249864","1397249865","1397249872","1397249873","1397249880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dce0fa6e3e837a340c91c4171ace272c.jpg","text":"TemporaryFile(/tmp/multipartBody7262604625383454897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615164543,"filename":"image_31102025_14_55_39_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/1/07bde71716cd517e3460068a07728027.jpg","text":"TemporaryFile(/tmp/multipartBody1989368517165879696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615164543,"filename":"image_31102025_14_55_42_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/1/808a96ffa4cc143256fd5c9ed48dc5ba.jpg","text":"TemporaryFile(/tmp/multipartBody6218074377880872905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615164543,"filename":"image_31102025_14_55_29_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/1/42880e4c71076b1a987d1b293c6905aa.jpg","text":"TemporaryFile(/tmp/multipartBody597751932639585512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615164543,"filename":"image_31102025_14_55_37_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/1/aec5c0bafe0c9f82fdff1d9722922af0.jpg","text":"TemporaryFile(/tmp/multipartBody875425545482988814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615164543,"filename":"image_31102025_14_55_35_6399.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/415ca90e6a6c665bbe1400a28ec15827.jpg","text":"TemporaryFile(/tmp/multipartBody335650778958886161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615164543,"filename":"image_31102025_14_55_40_1589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397249865","file1":"1397249864","file0":"1397249862","file4":"1397249873","file5":"1397249880","file3":"1397249872"},"map_files_photo_id_array":[{"photo_id":"1397249880","filename":"file5"},{"photo_id":"1397249865","filename":"file2"},{"photo_id":"1397249873","filename":"file4"},{"photo_id":"1397249864","filename":"file1"},{"photo_id":"1397249862","filename":"file0"},{"photo_id":"1397249872","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397249872":["hashtag1","hashtag2"]},{"1397249880":["hashtag1","hashtag2"]},{"1397249862":["hashtag1","hashtag2"]},{"1397249865":["hashtag1","hashtag2"]},{"1397249864":["hashtag1","hashtag2"]},{"1397249873":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397249872, 1397249880, 1397249862, 1397249865, 1397249864, 1397249873)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.60946321487427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 19:52:32.248583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_28_2759.jpg', '/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_32_3561.jpg', '/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_34_2682.jpg', '/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_37_2577.jpg', '/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_41_3577.jpg', '/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_43_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_28_2759.jpg
/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_32_3561.jpg
/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_34_2682.jpg
/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_37_2577.jpg
/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_41_3577.jpg
/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_43_2577.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6168255805969238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 19:52:42.258636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_44_1528.jpg', '/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_45_1644.jpg', '/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_47_1635.jpg', '/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_49_1642.jpg', '/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_50_1799.jpg', '/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_52_1607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_44_1528.jpg
/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_45_1644.jpg
/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_47_1635.jpg
/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_49_1642.jpg
/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_50_1799.jpg
/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_52_1607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397249939","1397249941","1397249940","1397249934","1397249943","1397249937"],"photo_ids_order":["1397249934","1397249937","1397249939","1397249940","1397249941","1397249943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3cc5decbd5ea0bf8d9e8593586837cb0.jpg","text":"TemporaryFile(/tmp/multipartBody2305688988360933779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615224732,"filename":"image_31102025_14_55_47_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/1/ebc8c7601f55ece801de08b3acfc036c.jpg","text":"TemporaryFile(/tmp/multipartBody1853382620169589453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615224732,"filename":"image_31102025_14_55_50_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/1/722f87e46aa69fd93f8480d0c415d7e0.jpg","text":"TemporaryFile(/tmp/multipartBody4032494917527125933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615224732,"filename":"image_31102025_14_55_49_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7b73d213892f88374c1cde695ef80ebd.jpg","text":"TemporaryFile(/tmp/multipartBody5802647852394665460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615224732,"filename":"image_31102025_14_55_44_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/1/36afef97570f87999bf995cf6842c09d.jpg","text":"TemporaryFile(/tmp/multipartBody4139309431395374812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615224732,"filename":"image_31102025_14_55_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/1/1ea411aeba8de1849fcdb152115cd68a.jpg","text":"TemporaryFile(/tmp/multipartBody8146245323861292513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615224732,"filename":"image_31102025_14_55_45_1644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397249939","file1":"1397249937","file0":"1397249934","file4":"1397249941","file5":"1397249943","file3":"1397249940"},"map_files_photo_id_array":[{"photo_id":"1397249943","filename":"file5"},{"photo_id":"1397249939","filename":"file2"},{"photo_id":"1397249941","filename":"file4"},{"photo_id":"1397249937","filename":"file1"},{"photo_id":"1397249934","filename":"file0"},{"photo_id":"1397249940","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397249939":["hashtag1","hashtag2"]},{"1397249941":["hashtag1","hashtag2"]},{"1397249940":["hashtag1","hashtag2"]},{"1397249934":["hashtag1","hashtag2"]},{"1397249943":["hashtag1","hashtag2"]},{"1397249937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397249939, 1397249941, 1397249940, 1397249934, 1397249943, 1397249937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.27380347251892 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 19:53:32.447754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_28_2759.jpg', '/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_32_3561.jpg', '/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_34_2682.jpg', '/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_37_2577.jpg', '/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_41_3577.jpg', '/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_43_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_28_2759.jpg
/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_32_3561.jpg
/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_34_2682.jpg
/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_37_2577.jpg
/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_41_3577.jpg
/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_43_2577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397249986","1397249980","1397249983","1397250011","1397249958","1397250012"],"photo_ids_order":["1397249958","1397249980","1397249983","1397249986","1397250011","1397250012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/83cabdd6c35aa43cbad292716e7cf3d6.jpg","text":"TemporaryFile(/tmp/multipartBody967910973260722275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615274083,"filename":"image_25112025_23_21_37_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9fdc1c7fab36c741660fbdfc6dacc60d.jpg","text":"TemporaryFile(/tmp/multipartBody7026874309829026600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615274083,"filename":"image_25112025_23_21_32_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/1/4ce39ed30e389cc524e0652375021df5.jpg","text":"TemporaryFile(/tmp/multipartBody3474165864569287799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615274083,"filename":"image_25112025_23_21_34_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/70469b8cf4714ce7f51db5fb519a906d.jpg","text":"TemporaryFile(/tmp/multipartBody4444272745560633687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615274083,"filename":"image_25112025_23_21_41_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/1/a9269c1929d10ebe625985fb8c26b295.jpg","text":"TemporaryFile(/tmp/multipartBody8261700630734709070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615274083,"filename":"image_25112025_23_21_28_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/1/4fcd24a1620f3c9228876ee2a21c30d7.jpg","text":"TemporaryFile(/tmp/multipartBody9087496082943350474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615274083,"filename":"image_25112025_23_21_43_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397249983","file1":"1397249980","file0":"1397249958","file4":"1397250011","file5":"1397250012","file3":"1397249986"},"map_files_photo_id_array":[{"photo_id":"1397250012","filename":"file5"},{"photo_id":"1397249983","filename":"file2"},{"photo_id":"1397250011","filename":"file4"},{"photo_id":"1397249980","filename":"file1"},{"photo_id":"1397249958","filename":"file0"},{"photo_id":"1397249986","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397249986":["hashtag1","hashtag2"]},{"1397249980":["hashtag1","hashtag2"]},{"1397249983":["hashtag1","hashtag2"]},{"1397250011":["hashtag1","hashtag2"]},{"1397249958":["hashtag1","hashtag2"]},{"1397250012":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397249986, 1397249980, 1397249983, 1397250011, 1397249958, 1397250012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47949528694153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 19:54:12.635379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_47_3662.jpg', '/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_49_2669.jpg', '/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_56_3631.jpg', '/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_58_2619.jpg', '/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_01_2700.jpg', '/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_05_3590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_47_3662.jpg
/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_49_2669.jpg
/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_56_3631.jpg
/home/pi/Desktop/images/25112025/23/21/image_25112025_23_21_58_2619.jpg
/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_01_2700.jpg
/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_05_3590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397250029","1397250023","1397250026","1397250016","1397250021","1397250018"],"photo_ids_order":["1397250016","1397250018","1397250021","1397250023","1397250026","1397250029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0ab838050db5a436ab4c79d7365a0d7b.jpg","text":"TemporaryFile(/tmp/multipartBody6136158584122433817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615314372,"filename":"image_25112025_23_22_05_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9595eb989ebed8bb38cc8b257ea16ff1.jpg","text":"TemporaryFile(/tmp/multipartBody7996407758428901016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615314372,"filename":"image_25112025_23_21_58_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/1/3a89eff57bba3ca68a3a695f227d612e.jpg","text":"TemporaryFile(/tmp/multipartBody2711297120879801964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615314372,"filename":"image_25112025_23_22_01_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/1/062b3f74f9bec6378b05f7c0c081daea.jpg","text":"TemporaryFile(/tmp/multipartBody3824920148680786855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615314372,"filename":"image_25112025_23_21_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/1/860bad049be5c3113b4535e05248fe52.jpg","text":"TemporaryFile(/tmp/multipartBody3674536340266667373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615314372,"filename":"image_25112025_23_21_56_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/1/b81212a7ca16851a3f130a586a1ccd46.jpg","text":"TemporaryFile(/tmp/multipartBody139846570346416310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615314372,"filename":"image_25112025_23_21_49_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397250021","file1":"1397250018","file0":"1397250016","file4":"1397250026","file5":"1397250029","file3":"1397250023"},"map_files_photo_id_array":[{"photo_id":"1397250029","filename":"file5"},{"photo_id":"1397250021","filename":"file2"},{"photo_id":"1397250026","filename":"file4"},{"photo_id":"1397250018","filename":"file1"},{"photo_id":"1397250016","filename":"file0"},{"photo_id":"1397250023","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397250029":["hashtag1","hashtag2"]},{"1397250023":["hashtag1","hashtag2"]},{"1397250026":["hashtag1","hashtag2"]},{"1397250016":["hashtag1","hashtag2"]},{"1397250021":["hashtag1","hashtag2"]},{"1397250018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397250029, 1397250023, 1397250026, 1397250016, 1397250021, 1397250018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.04201865196228 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:55:02.431283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/47/image_01122025_16_47_44_9705.jpg', '/home/pi/Desktop/images/01122025/16/47/image_01122025_16_47_55_10773.jpg', '/home/pi/Desktop/images/01122025/16/47/image_01122025_16_48_05_9839.jpg', '/home/pi/Desktop/images/01122025/16/48/image_01122025_16_48_14_9671.jpg', '/home/pi/Desktop/images/01122025/16/48/image_01122025_16_48_24_9750.jpg', '/home/pi/Desktop/images/01122025/16/48/image_01122025_16_48_40_15888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/47/image_01122025_16_47_44_9705.jpg
/home/pi/Desktop/images/01122025/16/47/image_01122025_16_47_55_10773.jpg
/home/pi/Desktop/images/01122025/16/47/image_01122025_16_48_05_9839.jpg
/home/pi/Desktop/images/01122025/16/48/image_01122025_16_48_14_9671.jpg
/home/pi/Desktop/images/01122025/16/48/image_01122025_16_48_24_9750.jpg
/home/pi/Desktop/images/01122025/16/48/image_01122025_16_48_40_15888.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397250044","1397250038","1397250040","1397250034","1397250048","1397250036"],"photo_ids_order":["1397250034","1397250036","1397250038","1397250040","1397250044","1397250048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fa60d56ba2584fc424ede9c3372e1321.jpg","text":"TemporaryFile(/tmp/multipartBody5629181551037245377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615363114,"filename":"image_01122025_16_48_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/1/ae927b8976eedc41055de30370c5d32a.jpg","text":"TemporaryFile(/tmp/multipartBody7362622033821081390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615363114,"filename":"image_01122025_16_48_05_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e08cc5f3c1f1b10c1432dedf51aaa2cc.jpg","text":"TemporaryFile(/tmp/multipartBody907735199439588141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615363114,"filename":"image_01122025_16_48_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dbc3ea1e8104d3c4daa9df48682d7749.jpg","text":"TemporaryFile(/tmp/multipartBody3473887870877341078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615363114,"filename":"image_01122025_16_47_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/1/def6fc96f75de4438d74ca1f4400bdc4.jpg","text":"TemporaryFile(/tmp/multipartBody8969032120726997395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615363114,"filename":"image_01122025_16_48_40_15888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cb189d2356407903bbe58bd440ae695a.jpg","text":"TemporaryFile(/tmp/multipartBody5380586062357279695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615363114,"filename":"image_01122025_16_47_55_10773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397250038","file1":"1397250036","file0":"1397250034","file4":"1397250044","file5":"1397250048","file3":"1397250040"},"map_files_photo_id_array":[{"photo_id":"1397250048","filename":"file5"},{"photo_id":"1397250038","filename":"file2"},{"photo_id":"1397250044","filename":"file4"},{"photo_id":"1397250036","filename":"file1"},{"photo_id":"1397250034","filename":"file0"},{"photo_id":"1397250040","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397250044":["hashtag1","hashtag2"]},{"1397250038":["hashtag1","hashtag2"]},{"1397250040":["hashtag1","hashtag2"]},{"1397250034":["hashtag1","hashtag2"]},{"1397250048":["hashtag1","hashtag2"]},{"1397250036":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397250044, 1397250038, 1397250040, 1397250034, 1397250048, 1397250036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29952931404114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:56:02.567917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/48/image_01122025_16_48_45_4754.jpg', '/home/pi/Desktop/images/01122025/16/48/image_01122025_16_48_54_9651.jpg', '/home/pi/Desktop/images/01122025/16/48/image_01122025_16_49_04_9822.jpg', '/home/pi/Desktop/images/01122025/16/49/image_01122025_16_49_15_10656.jpg', '/home/pi/Desktop/images/01122025/16/49/image_01122025_16_49_25_9904.jpg', '/home/pi/Desktop/images/01122025/16/49/image_01122025_16_49_35_9842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/48/image_01122025_16_48_45_4754.jpg
/home/pi/Desktop/images/01122025/16/48/image_01122025_16_48_54_9651.jpg
/home/pi/Desktop/images/01122025/16/48/image_01122025_16_49_04_9822.jpg
/home/pi/Desktop/images/01122025/16/49/image_01122025_16_49_15_10656.jpg
/home/pi/Desktop/images/01122025/16/49/image_01122025_16_49_25_9904.jpg
/home/pi/Desktop/images/01122025/16/49/image_01122025_16_49_35_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":["1397250071","1397250059","1397250068","1397250062","1397250064","1397250060"],"photo_ids_order":["1397250059","1397250060","1397250062","1397250064","1397250068","1397250071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a2794f13fdd9887d51db699978539035.jpg","text":"TemporaryFile(/tmp/multipartBody2680181450344099141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615423188,"filename":"image_01122025_16_49_35_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9300b3b0c4a3e203f34adeee45c0aa27.jpg","text":"TemporaryFile(/tmp/multipartBody4334622124855748704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615423188,"filename":"image_01122025_16_48_45_4754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1a0c9a1c966655883ea67b6a933f8acd.jpg","text":"TemporaryFile(/tmp/multipartBody7170018366814080912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615423188,"filename":"image_01122025_16_49_25_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/1/335bc880dc226d7ec6b0579d1ad83b4b.jpg","text":"TemporaryFile(/tmp/multipartBody2484195553688138689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615423188,"filename":"image_01122025_16_49_04_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4b0b3b214f49b24926c52fb5ecb0b9d3.jpg","text":"TemporaryFile(/tmp/multipartBody4653056472235684093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615423188,"filename":"image_01122025_16_49_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/1/36d6b19be90645d4c84b48a82b4d3d05.jpg","text":"TemporaryFile(/tmp/multipartBody9094281984628360511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615423188,"filename":"image_01122025_16_48_54_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397250062","file1":"1397250060","file0":"1397250059","file4":"1397250068","file5":"1397250071","file3":"1397250064"},"map_files_photo_id_array":[{"photo_id":"1397250071","filename":"file5"},{"photo_id":"1397250062","filename":"file2"},{"photo_id":"1397250068","filename":"file4"},{"photo_id":"1397250060","filename":"file1"},{"photo_id":"1397250059","filename":"file0"},{"photo_id":"1397250064","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397250071":["hashtag1","hashtag2"]},{"1397250059":["hashtag1","hashtag2"]},{"1397250068":["hashtag1","hashtag2"]},{"1397250062":["hashtag1","hashtag2"]},{"1397250064":["hashtag1","hashtag2"]},{"1397250060":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397250071, 1397250059, 1397250068, 1397250062, 1397250064, 1397250060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15230107307434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 19:56:42.082334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_54_1806.jpg', '/home/pi/Desktop/images/31102025/14/55/image_31102025_14_56_00_6240.jpg', '/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_02_1794.jpg', '/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_04_1679.jpg', '/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_05_1589.jpg', '/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_07_1692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/55/image_31102025_14_55_54_1806.jpg
/home/pi/Desktop/images/31102025/14/55/image_31102025_14_56_00_6240.jpg
/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_02_1794.jpg
/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_04_1679.jpg
/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_05_1589.jpg
/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_07_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":["1397250086","1397250080","1397250082","1397250084","1397250081","1397250078"],"photo_ids_order":["1397250078","1397250080","1397250081","1397250082","1397250084","1397250086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0e60605045aaf20148b555ba04ba0e06.jpg","text":"TemporaryFile(/tmp/multipartBody7278310023014092344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615464588,"filename":"image_31102025_14_56_07_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/1/5e74551783856a7ce3513ded4785ed39.jpg","text":"TemporaryFile(/tmp/multipartBody3913993633638809191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615464588,"filename":"image_31102025_14_56_00_6240.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1f41e20ff8d2aab07e7874da1bfb4fd2.jpg","text":"TemporaryFile(/tmp/multipartBody1818697438801595964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615464588,"filename":"image_31102025_14_56_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/1/13056671d1289528e10c5061ee0df741.jpg","text":"TemporaryFile(/tmp/multipartBody1625089393919000118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615464588,"filename":"image_31102025_14_56_05_1589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f823e91bd1c4d6d144ce0895f0c57d0c.jpg","text":"TemporaryFile(/tmp/multipartBody5455779800819153227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615464588,"filename":"image_31102025_14_56_02_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/1/ee3c04da2f7970c4669403b60dd72ce2.jpg","text":"TemporaryFile(/tmp/multipartBody3753246192649826555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615464588,"filename":"image_31102025_14_55_54_1806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397250081","file1":"1397250080","file0":"1397250078","file4":"1397250084","file5":"1397250086","file3":"1397250082"},"map_files_photo_id_array":[{"photo_id":"1397250086","filename":"file5"},{"photo_id":"1397250081","filename":"file2"},{"photo_id":"1397250084","filename":"file4"},{"photo_id":"1397250080","filename":"file1"},{"photo_id":"1397250078","filename":"file0"},{"photo_id":"1397250082","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397250086":["hashtag1","hashtag2"]},{"1397250080":["hashtag1","hashtag2"]},{"1397250082":["hashtag1","hashtag2"]},{"1397250084":["hashtag1","hashtag2"]},{"1397250081":["hashtag1","hashtag2"]},{"1397250078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397250086, 1397250080, 1397250082, 1397250084, 1397250081, 1397250078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.80814266204834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 19:57:32.252546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_07_2607.jpg', '/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_11_3595.jpg', '/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_14_2798.jpg', '/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_16_2774.jpg', '/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_19_2624.jpg', '/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_23_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_07_2607.jpg
/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_11_3595.jpg
/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_14_2798.jpg
/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_16_2774.jpg
/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_19_2624.jpg
/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_23_3685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397250104","1397250106","1397250109","1397250100","1397250108","1397250098"],"photo_ids_order":["1397250098","1397250100","1397250104","1397250106","1397250108","1397250109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/048fc6ccafa6573f6cfb5a9befd66b06.jpg","text":"TemporaryFile(/tmp/multipartBody4726056967977713097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615513935,"filename":"image_25112025_23_22_14_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/1/1b125614e5eb7a5dac60b332c212105e.jpg","text":"TemporaryFile(/tmp/multipartBody3568210705455310623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615513935,"filename":"image_25112025_23_22_16_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/1/817105779b92b07d3179b203645b41d3.jpg","text":"TemporaryFile(/tmp/multipartBody4008726239992453274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615513935,"filename":"image_25112025_23_22_23_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fb4ad28ffd192602758e7a1b6827f5f9.jpg","text":"TemporaryFile(/tmp/multipartBody3184379385722188725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615513935,"filename":"image_25112025_23_22_11_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/1/d819ceae01fab86a03df6bbd6e413ea6.jpg","text":"TemporaryFile(/tmp/multipartBody8435627192282799462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615513935,"filename":"image_25112025_23_22_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/1/e243d9b7f7d9fcc71fa2e71bc74827e8.jpg","text":"TemporaryFile(/tmp/multipartBody456484802824479391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615513935,"filename":"image_25112025_23_22_07_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397250104","file1":"1397250100","file0":"1397250098","file4":"1397250108","file5":"1397250109","file3":"1397250106"},"map_files_photo_id_array":[{"photo_id":"1397250109","filename":"file5"},{"photo_id":"1397250104","filename":"file2"},{"photo_id":"1397250108","filename":"file4"},{"photo_id":"1397250100","filename":"file1"},{"photo_id":"1397250098","filename":"file0"},{"photo_id":"1397250106","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397250104":["hashtag1","hashtag2"]},{"1397250106":["hashtag1","hashtag2"]},{"1397250109":["hashtag1","hashtag2"]},{"1397250100":["hashtag1","hashtag2"]},{"1397250108":["hashtag1","hashtag2"]},{"1397250098":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397250104, 1397250106, 1397250109, 1397250100, 1397250108, 1397250098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.33454608917236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 19:59:03.642362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/49/image_01122025_16_49_44_9645.jpg', '/home/pi/Desktop/images/01122025/16/49/image_01122025_16_49_55_10591.jpg', '/home/pi/Desktop/images/01122025/16/50/image_01122025_16_50_14_10051.jpg', '/home/pi/Desktop/images/01122025/16/50/image_01122025_16_50_24_10697.jpg', '/home/pi/Desktop/images/01122025/16/50/image_01122025_16_50_34_9593.jpg', '/home/pi/Desktop/images/01122025/16/50/image_01122025_16_50_44_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/49/image_01122025_16_49_44_9645.jpg
/home/pi/Desktop/images/01122025/16/49/image_01122025_16_49_55_10591.jpg
/home/pi/Desktop/images/01122025/16/50/image_01122025_16_50_14_10051.jpg
/home/pi/Desktop/images/01122025/16/50/image_01122025_16_50_24_10697.jpg
/home/pi/Desktop/images/01122025/16/50/image_01122025_16_50_34_9593.jpg
/home/pi/Desktop/images/01122025/16/50/image_01122025_16_50_44_9686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397250122","1397250130","1397250118","1397250133","1397250127","1397250112"],"photo_ids_order":["1397250112","1397250118","1397250122","1397250127","1397250130","1397250133"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7f697579acc650c73e4fd337688282f2.jpg","text":"TemporaryFile(/tmp/multipartBody1369895530644186308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615604345,"filename":"image_01122025_16_50_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/1/0f0fe00876b54116efaae46abf892828.jpg","text":"TemporaryFile(/tmp/multipartBody1192967664004432904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615604345,"filename":"image_01122025_16_50_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/1/9a7bf8120bdf43e6e711142dff1ca4d9.jpg","text":"TemporaryFile(/tmp/multipartBody8741662368048537060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615604345,"filename":"image_01122025_16_49_55_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ff062e48538cea87672d8256c5b53f97.jpg","text":"TemporaryFile(/tmp/multipartBody1794466566189353219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615604345,"filename":"image_01122025_16_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/1/435879be86da0dcd7ab24c8b2bc9c9f2.jpg","text":"TemporaryFile(/tmp/multipartBody5911605337046128389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615604345,"filename":"image_01122025_16_50_24_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0e113c62caf6b610aa918ab6f9059e56.jpg","text":"TemporaryFile(/tmp/multipartBody2423182317534561880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615604345,"filename":"image_01122025_16_49_44_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397250122","file1":"1397250118","file0":"1397250112","file4":"1397250130","file5":"1397250133","file3":"1397250127"},"map_files_photo_id_array":[{"photo_id":"1397250133","filename":"file5"},{"photo_id":"1397250122","filename":"file2"},{"photo_id":"1397250130","filename":"file4"},{"photo_id":"1397250118","filename":"file1"},{"photo_id":"1397250112","filename":"file0"},{"photo_id":"1397250127","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397250122":["hashtag1","hashtag2"]},{"1397250130":["hashtag1","hashtag2"]},{"1397250118":["hashtag1","hashtag2"]},{"1397250133":["hashtag1","hashtag2"]},{"1397250127":["hashtag1","hashtag2"]},{"1397250112":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397250122, 1397250130, 1397250118, 1397250133, 1397250127, 1397250112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.74014973640442 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:00:02.315986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/50/image_01122025_16_50_54_10685.jpg', '/home/pi/Desktop/images/01122025/16/51/image_01122025_16_51_14_9653.jpg', '/home/pi/Desktop/images/01122025/16/51/image_01122025_16_51_24_10707.jpg', '/home/pi/Desktop/images/01122025/16/51/image_01122025_16_51_34_9779.jpg', '/home/pi/Desktop/images/01122025/16/51/image_01122025_16_51_44_9560.jpg', '/home/pi/Desktop/images/01122025/16/51/image_01122025_16_51_54_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/50/image_01122025_16_50_54_10685.jpg
/home/pi/Desktop/images/01122025/16/51/image_01122025_16_51_14_9653.jpg
/home/pi/Desktop/images/01122025/16/51/image_01122025_16_51_24_10707.jpg
/home/pi/Desktop/images/01122025/16/51/image_01122025_16_51_34_9779.jpg
/home/pi/Desktop/images/01122025/16/51/image_01122025_16_51_44_9560.jpg
/home/pi/Desktop/images/01122025/16/51/image_01122025_16_51_54_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397250164","1397250169","1397250157","1397250183","1397250180","1397250144"],"photo_ids_order":["1397250144","1397250157","1397250164","1397250169","1397250180","1397250183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6802558b5639ad9feb20fcd6ef3e8026.jpg","text":"TemporaryFile(/tmp/multipartBody8617872232732279484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615663004,"filename":"image_01122025_16_51_24_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/13ecf638a7915b5466863998585ffce8.jpg","text":"TemporaryFile(/tmp/multipartBody5394971885094008714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615663004,"filename":"image_01122025_16_51_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/1/5ab36e221faa7a542fdee62e860c65b2.jpg","text":"TemporaryFile(/tmp/multipartBody7555927780985206963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615663004,"filename":"image_01122025_16_51_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/1/7de0d5fb55c96a000d093e13d0454046.jpg","text":"TemporaryFile(/tmp/multipartBody8114341635403784862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615663004,"filename":"image_01122025_16_51_54_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9752b19b91090803f69d45cd5c0c0f09.jpg","text":"TemporaryFile(/tmp/multipartBody3340241848061579722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615663004,"filename":"image_01122025_16_51_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/1/6315ab28781c7c1a32ac6fe6df05f73c.jpg","text":"TemporaryFile(/tmp/multipartBody736510055855354902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615663004,"filename":"image_01122025_16_50_54_10685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397250164","file1":"1397250157","file0":"1397250144","file4":"1397250180","file5":"1397250183","file3":"1397250169"},"map_files_photo_id_array":[{"photo_id":"1397250183","filename":"file5"},{"photo_id":"1397250164","filename":"file2"},{"photo_id":"1397250180","filename":"file4"},{"photo_id":"1397250157","filename":"file1"},{"photo_id":"1397250144","filename":"file0"},{"photo_id":"1397250169","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397250164":["hashtag1","hashtag2"]},{"1397250169":["hashtag1","hashtag2"]},{"1397250157":["hashtag1","hashtag2"]},{"1397250183":["hashtag1","hashtag2"]},{"1397250180":["hashtag1","hashtag2"]},{"1397250144":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397250164, 1397250169, 1397250157, 1397250183, 1397250180, 1397250144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25957226753235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:01:02.679313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/51/image_01122025_16_52_04_9561.jpg', '/home/pi/Desktop/images/01122025/16/52/image_01122025_16_52_14_9733.jpg', '/home/pi/Desktop/images/01122025/16/52/image_01122025_16_52_24_10622.jpg', '/home/pi/Desktop/images/01122025/16/52/image_01122025_16_52_34_9670.jpg', '/home/pi/Desktop/images/01122025/16/52/image_01122025_16_52_44_9936.jpg', '/home/pi/Desktop/images/01122025/16/52/image_01122025_16_52_54_9844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/51/image_01122025_16_52_04_9561.jpg
/home/pi/Desktop/images/01122025/16/52/image_01122025_16_52_14_9733.jpg
/home/pi/Desktop/images/01122025/16/52/image_01122025_16_52_24_10622.jpg
/home/pi/Desktop/images/01122025/16/52/image_01122025_16_52_34_9670.jpg
/home/pi/Desktop/images/01122025/16/52/image_01122025_16_52_44_9936.jpg
/home/pi/Desktop/images/01122025/16/52/image_01122025_16_52_54_9844.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397250316","1397250223","1397250321","1397250237","1397250201","1397250312"],"photo_ids_order":["1397250201","1397250223","1397250237","1397250312","1397250316","1397250321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/567f7946ac5522b296bb10fe1fe9bb89.jpg","text":"TemporaryFile(/tmp/multipartBody2126907176564001559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615723411,"filename":"image_01122025_16_52_44_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/1/91a08f6e194e7ea1a19d064aa41190f9.jpg","text":"TemporaryFile(/tmp/multipartBody8704281789435950910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615723411,"filename":"image_01122025_16_52_14_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2eb8c7b2cd9ef82e413cf28098d00586.jpg","text":"TemporaryFile(/tmp/multipartBody5869561817943172810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615723411,"filename":"image_01122025_16_52_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/1/88047d5efc0a3a6453e57e02077d84b8.jpg","text":"TemporaryFile(/tmp/multipartBody5947982206663685781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615723411,"filename":"image_01122025_16_52_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/1/f0572bcb8766419d8e940048e33bdfe8.jpg","text":"TemporaryFile(/tmp/multipartBody3401177926555254239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615723411,"filename":"image_01122025_16_52_04_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ef9e88417552185a18c958d10e8def44.jpg","text":"TemporaryFile(/tmp/multipartBody2895112922194620290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615723411,"filename":"image_01122025_16_52_34_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397250237","file1":"1397250223","file0":"1397250201","file4":"1397250316","file5":"1397250321","file3":"1397250312"},"map_files_photo_id_array":[{"photo_id":"1397250321","filename":"file5"},{"photo_id":"1397250237","filename":"file2"},{"photo_id":"1397250316","filename":"file4"},{"photo_id":"1397250223","filename":"file1"},{"photo_id":"1397250201","filename":"file0"},{"photo_id":"1397250312","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397250316":["hashtag1","hashtag2"]},{"1397250223":["hashtag1","hashtag2"]},{"1397250321":["hashtag1","hashtag2"]},{"1397250237":["hashtag1","hashtag2"]},{"1397250201":["hashtag1","hashtag2"]},{"1397250312":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397250316, 1397250223, 1397250321, 1397250237, 1397250201, 1397250312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.913267850875854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:02:02.625535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/52/image_01122025_16_53_04_10683.jpg', '/home/pi/Desktop/images/01122025/16/53/image_01122025_16_53_14_10018.jpg', '/home/pi/Desktop/images/01122025/16/53/image_01122025_16_53_24_9781.jpg', '/home/pi/Desktop/images/01122025/16/53/image_01122025_16_53_38_13844.jpg', '/home/pi/Desktop/images/01122025/16/53/image_01122025_16_53_45_6568.jpg', '/home/pi/Desktop/images/01122025/16/53/image_01122025_16_53_54_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/52/image_01122025_16_53_04_10683.jpg
/home/pi/Desktop/images/01122025/16/53/image_01122025_16_53_14_10018.jpg
/home/pi/Desktop/images/01122025/16/53/image_01122025_16_53_24_9781.jpg
/home/pi/Desktop/images/01122025/16/53/image_01122025_16_53_38_13844.jpg
/home/pi/Desktop/images/01122025/16/53/image_01122025_16_53_45_6568.jpg
/home/pi/Desktop/images/01122025/16/53/image_01122025_16_53_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":["1397250362","1397250359","1397250373","1397250364","1397250358","1397250369"],"photo_ids_order":["1397250358","1397250359","1397250362","1397250364","1397250369","1397250373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6e7827f453e4324e25ac47e1c465873c.jpg","text":"TemporaryFile(/tmp/multipartBody4060738926458592283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615783296,"filename":"image_01122025_16_53_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/1/d0389acd0d94971ce9752fb3cbbddb43.jpg","text":"TemporaryFile(/tmp/multipartBody5490819762567623362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615783296,"filename":"image_01122025_16_53_14_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/1/fcb77a0b663c30a5416228001cdc460e.jpg","text":"TemporaryFile(/tmp/multipartBody7386342554395676758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615783296,"filename":"image_01122025_16_53_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/1/0d99a94039e853ef7a8d04e735b16af2.jpg","text":"TemporaryFile(/tmp/multipartBody1148299987780962221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615783296,"filename":"image_01122025_16_53_38_13844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1459a10d1fcf10e9d32250b1be387eec.jpg","text":"TemporaryFile(/tmp/multipartBody2202644297863112416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615783296,"filename":"image_01122025_16_53_04_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1a707daa85ee4873c803a77edbc57360.jpg","text":"TemporaryFile(/tmp/multipartBody1990939651246775089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615783296,"filename":"image_01122025_16_53_45_6568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397250362","file1":"1397250359","file0":"1397250358","file4":"1397250369","file5":"1397250373","file3":"1397250364"},"map_files_photo_id_array":[{"photo_id":"1397250373","filename":"file5"},{"photo_id":"1397250362","filename":"file2"},{"photo_id":"1397250369","filename":"file4"},{"photo_id":"1397250359","filename":"file1"},{"photo_id":"1397250358","filename":"file0"},{"photo_id":"1397250364","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397250362":["hashtag1","hashtag2"]},{"1397250359":["hashtag1","hashtag2"]},{"1397250373":["hashtag1","hashtag2"]},{"1397250364":["hashtag1","hashtag2"]},{"1397250358":["hashtag1","hashtag2"]},{"1397250369":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397250362, 1397250359, 1397250373, 1397250364, 1397250358, 1397250369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83137059211731 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 20:02:42.250384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_09_1739.jpg', '/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_10_1633.jpg', '/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_12_1673.jpg', '/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_14_2626.jpg', '/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_18_3637.jpg', '/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_21_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_09_1739.jpg
/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_10_1633.jpg
/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_12_1673.jpg
/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_14_2626.jpg
/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_18_3637.jpg
/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_21_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":["1397250385","1397250382","1397250384","1397250387","1397250386","1397250389"],"photo_ids_order":["1397250382","1397250384","1397250385","1397250386","1397250387","1397250389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a3b05bf95d2757c93f7324e479d1edcb.jpg","text":"TemporaryFile(/tmp/multipartBody912902426155919482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615824971,"filename":"image_31102025_14_56_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/1/45aed36bc9114cdd6f760ce6d6f17f14.jpg","text":"TemporaryFile(/tmp/multipartBody2367574007433701619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615824971,"filename":"image_31102025_14_56_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/1/9fd6163e76c979f1540352af69b6fabe.jpg","text":"TemporaryFile(/tmp/multipartBody1010401893810938113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615824971,"filename":"image_31102025_14_56_10_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/1/a42c237a8398473e7cacdcf37d900127.jpg","text":"TemporaryFile(/tmp/multipartBody5037804044519209657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615824971,"filename":"image_31102025_14_56_18_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/1/877bf1aa85b0fd8b4616c5c281213aaa.jpg","text":"TemporaryFile(/tmp/multipartBody5217423445458269881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615824971,"filename":"image_31102025_14_56_14_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/1/a03cbbf91b170b9915c4ebbaf1843188.jpg","text":"TemporaryFile(/tmp/multipartBody6737042200690330787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615824971,"filename":"image_31102025_14_56_21_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397250385","file1":"1397250384","file0":"1397250382","file4":"1397250387","file5":"1397250389","file3":"1397250386"},"map_files_photo_id_array":[{"photo_id":"1397250389","filename":"file5"},{"photo_id":"1397250385","filename":"file2"},{"photo_id":"1397250387","filename":"file4"},{"photo_id":"1397250384","filename":"file1"},{"photo_id":"1397250382","filename":"file0"},{"photo_id":"1397250386","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397250385":["hashtag1","hashtag2"]},{"1397250382":["hashtag1","hashtag2"]},{"1397250384":["hashtag1","hashtag2"]},{"1397250387":["hashtag1","hashtag2"]},{"1397250386":["hashtag1","hashtag2"]},{"1397250389":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397250385, 1397250382, 1397250384, 1397250387, 1397250386, 1397250389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38825249671936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 20:03:22.533000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/53/image_01122025_16_54_04_9795.jpg', '/home/pi/Desktop/images/01122025/16/54/image_01122025_16_54_14_9599.jpg', '/home/pi/Desktop/images/01122025/16/54/image_01122025_16_54_25_10798.jpg', '/home/pi/Desktop/images/01122025/16/54/image_01122025_16_54_34_9539.jpg', '/home/pi/Desktop/images/01122025/16/54/image_01122025_16_54_44_9951.jpg', '/home/pi/Desktop/images/01122025/16/54/image_01122025_16_54_54_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/53/image_01122025_16_54_04_9795.jpg
/home/pi/Desktop/images/01122025/16/54/image_01122025_16_54_14_9599.jpg
/home/pi/Desktop/images/01122025/16/54/image_01122025_16_54_25_10798.jpg
/home/pi/Desktop/images/01122025/16/54/image_01122025_16_54_34_9539.jpg
/home/pi/Desktop/images/01122025/16/54/image_01122025_16_54_44_9951.jpg
/home/pi/Desktop/images/01122025/16/54/image_01122025_16_54_54_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":["1397250404","1397250407","1397250401","1397250396","1397250399","1397250411"],"photo_ids_order":["1397250396","1397250399","1397250401","1397250404","1397250407","1397250411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/999ed5f07da0a7875914f37cac2042e6.jpg","text":"TemporaryFile(/tmp/multipartBody5146865282836224304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615863147,"filename":"image_01122025_16_54_34_9539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/33e768a8addb5c079cc4b29bbbcb8c8e.jpg","text":"TemporaryFile(/tmp/multipartBody133043742360559629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615863147,"filename":"image_01122025_16_54_44_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/1/9d16ac7491d6936d21566865bc263be2.jpg","text":"TemporaryFile(/tmp/multipartBody2575595118065815011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615863147,"filename":"image_01122025_16_54_25_10798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4bda13e752a76b17f56eb57afaca5bec.jpg","text":"TemporaryFile(/tmp/multipartBody3194273305517622433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615863147,"filename":"image_01122025_16_54_04_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/866b4ffa657bb90a7145fef321cbbd03.jpg","text":"TemporaryFile(/tmp/multipartBody4282426507355715800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615863147,"filename":"image_01122025_16_54_14_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ea7af5beacbc69e831797efa9682ce5e.jpg","text":"TemporaryFile(/tmp/multipartBody7369132127818356019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615863147,"filename":"image_01122025_16_54_54_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397250401","file1":"1397250399","file0":"1397250396","file4":"1397250407","file5":"1397250411","file3":"1397250404"},"map_files_photo_id_array":[{"photo_id":"1397250411","filename":"file5"},{"photo_id":"1397250401","filename":"file2"},{"photo_id":"1397250407","filename":"file4"},{"photo_id":"1397250399","filename":"file1"},{"photo_id":"1397250396","filename":"file0"},{"photo_id":"1397250404","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397250404":["hashtag1","hashtag2"]},{"1397250407":["hashtag1","hashtag2"]},{"1397250401":["hashtag1","hashtag2"]},{"1397250396":["hashtag1","hashtag2"]},{"1397250399":["hashtag1","hashtag2"]},{"1397250411":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397250404, 1397250407, 1397250401, 1397250396, 1397250399, 1397250411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35774803161621 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:04:03.177533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/55/image_01122025_16_55_14_10057.jpg', '/home/pi/Desktop/images/01122025/16/55/image_01122025_16_55_25_10774.jpg', '/home/pi/Desktop/images/01122025/16/55/image_01122025_16_55_35_9722.jpg', '/home/pi/Desktop/images/01122025/16/55/image_01122025_16_55_44_9788.jpg', '/home/pi/Desktop/images/01122025/16/55/image_01122025_16_55_55_10573.jpg', '/home/pi/Desktop/images/01122025/16/55/image_01122025_16_56_05_9865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/55/image_01122025_16_55_14_10057.jpg
/home/pi/Desktop/images/01122025/16/55/image_01122025_16_55_25_10774.jpg
/home/pi/Desktop/images/01122025/16/55/image_01122025_16_55_35_9722.jpg
/home/pi/Desktop/images/01122025/16/55/image_01122025_16_55_44_9788.jpg
/home/pi/Desktop/images/01122025/16/55/image_01122025_16_55_55_10573.jpg
/home/pi/Desktop/images/01122025/16/55/image_01122025_16_56_05_9865.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5824728012084961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 20:04:12.570581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_25_2566.jpg', '/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_29_3593.jpg', '/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_31_2593.jpg', '/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_34_2844.jpg', '/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_37_2691.jpg', '/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_40_2870.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_25_2566.jpg
/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_29_3593.jpg
/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_31_2593.jpg
/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_34_2844.jpg
/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_37_2691.jpg
/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_40_2870.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397250449","1397250452","1397250436","1397250445","1397250432","1397250441"],"photo_ids_order":["1397250432","1397250436","1397250441","1397250445","1397250449","1397250452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/74fdd553affdccae8560b8210f6935d2.jpg","text":"TemporaryFile(/tmp/multipartBody3909951374518518259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615914178,"filename":"image_25112025_23_22_37_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/1/13bca51bed6a353bfd2d452a0619930d.jpg","text":"TemporaryFile(/tmp/multipartBody1366756689652509310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615914178,"filename":"image_25112025_23_22_40_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/1/75a66b9de6a41929ee42700e572c8151.jpg","text":"TemporaryFile(/tmp/multipartBody7819550584021301061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615914178,"filename":"image_25112025_23_22_29_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c0d673325c83dcc88f10a9ec7bb7c7e4.jpg","text":"TemporaryFile(/tmp/multipartBody945266998020311099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615914178,"filename":"image_25112025_23_22_34_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d4fd1036d4ba9add0f1fa9212745640e.jpg","text":"TemporaryFile(/tmp/multipartBody7713964809455914282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615914178,"filename":"image_25112025_23_22_25_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/1/52101949717d5e3da1f9c950013ebb9d.jpg","text":"TemporaryFile(/tmp/multipartBody1538517138499203649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615914178,"filename":"image_25112025_23_22_31_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397250441","file1":"1397250436","file0":"1397250432","file4":"1397250449","file5":"1397250452","file3":"1397250445"},"map_files_photo_id_array":[{"photo_id":"1397250452","filename":"file5"},{"photo_id":"1397250441","filename":"file2"},{"photo_id":"1397250449","filename":"file4"},{"photo_id":"1397250436","filename":"file1"},{"photo_id":"1397250432","filename":"file0"},{"photo_id":"1397250445","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397250449":["hashtag1","hashtag2"]},{"1397250452":["hashtag1","hashtag2"]},{"1397250436":["hashtag1","hashtag2"]},{"1397250445":["hashtag1","hashtag2"]},{"1397250432":["hashtag1","hashtag2"]},{"1397250441":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397250449, 1397250452, 1397250436, 1397250445, 1397250432, 1397250441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.42374587059021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:05:03.290698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/55/image_01122025_16_55_14_10057.jpg', '/home/pi/Desktop/images/01122025/16/55/image_01122025_16_55_25_10774.jpg', '/home/pi/Desktop/images/01122025/16/55/image_01122025_16_55_35_9722.jpg', '/home/pi/Desktop/images/01122025/16/55/image_01122025_16_55_44_9788.jpg', '/home/pi/Desktop/images/01122025/16/55/image_01122025_16_55_55_10573.jpg', '/home/pi/Desktop/images/01122025/16/55/image_01122025_16_56_05_9865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/55/image_01122025_16_55_14_10057.jpg
/home/pi/Desktop/images/01122025/16/55/image_01122025_16_55_25_10774.jpg
/home/pi/Desktop/images/01122025/16/55/image_01122025_16_55_35_9722.jpg
/home/pi/Desktop/images/01122025/16/55/image_01122025_16_55_44_9788.jpg
/home/pi/Desktop/images/01122025/16/55/image_01122025_16_55_55_10573.jpg
/home/pi/Desktop/images/01122025/16/55/image_01122025_16_56_05_9865.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397250470","1397250466","1397250460","1397250463","1397250457","1397250474"],"photo_ids_order":["1397250457","1397250460","1397250463","1397250466","1397250470","1397250474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7629950a08bc9722edef1a32bd65fa71.jpg","text":"TemporaryFile(/tmp/multipartBody7675483669303925230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615963955,"filename":"image_01122025_16_55_55_10573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dbbd518199cc8e7614425a553e21dfc7.jpg","text":"TemporaryFile(/tmp/multipartBody6012966035582284142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615963955,"filename":"image_01122025_16_55_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/1/2896c04abcb93fe700642c056b5f5204.jpg","text":"TemporaryFile(/tmp/multipartBody4316516131825761554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615963955,"filename":"image_01122025_16_55_25_10774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2c0b5f0adca4ba0dde30f87e3ebd799b.jpg","text":"TemporaryFile(/tmp/multipartBody3529914865898844363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615963955,"filename":"image_01122025_16_55_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/1/b4533d5e9bdf2d7888f94b40095ef89c.jpg","text":"TemporaryFile(/tmp/multipartBody1358303001612133189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615963955,"filename":"image_01122025_16_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/1/79ac7264333d636eceaf9e7a0836b81d.jpg","text":"TemporaryFile(/tmp/multipartBody7990832752303678141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764615963955,"filename":"image_01122025_16_56_05_9865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397250463","file1":"1397250460","file0":"1397250457","file4":"1397250470","file5":"1397250474","file3":"1397250466"},"map_files_photo_id_array":[{"photo_id":"1397250474","filename":"file5"},{"photo_id":"1397250463","filename":"file2"},{"photo_id":"1397250470","filename":"file4"},{"photo_id":"1397250460","filename":"file1"},{"photo_id":"1397250457","filename":"file0"},{"photo_id":"1397250466","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397250470":["hashtag1","hashtag2"]},{"1397250466":["hashtag1","hashtag2"]},{"1397250460":["hashtag1","hashtag2"]},{"1397250463":["hashtag1","hashtag2"]},{"1397250457":["hashtag1","hashtag2"]},{"1397250474":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397250470, 1397250466, 1397250460, 1397250463, 1397250457, 1397250474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.78543305397034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:06:02.320827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/56/image_01122025_16_56_14_9693.jpg', '/home/pi/Desktop/images/01122025/16/56/image_01122025_16_56_24_9798.jpg', '/home/pi/Desktop/images/01122025/16/56/image_01122025_16_56_34_9764.jpg', '/home/pi/Desktop/images/01122025/16/56/image_01122025_16_56_45_10542.jpg', '/home/pi/Desktop/images/01122025/16/56/image_01122025_16_56_54_9692.jpg', '/home/pi/Desktop/images/01122025/16/56/image_01122025_16_57_05_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/56/image_01122025_16_56_14_9693.jpg
/home/pi/Desktop/images/01122025/16/56/image_01122025_16_56_24_9798.jpg
/home/pi/Desktop/images/01122025/16/56/image_01122025_16_56_34_9764.jpg
/home/pi/Desktop/images/01122025/16/56/image_01122025_16_56_45_10542.jpg
/home/pi/Desktop/images/01122025/16/56/image_01122025_16_56_54_9692.jpg
/home/pi/Desktop/images/01122025/16/56/image_01122025_16_57_05_10626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397250499","1397250484","1397250487","1397250489","1397250483","1397250494"],"photo_ids_order":["1397250483","1397250484","1397250487","1397250489","1397250494","1397250499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/46b6bd8d049cab48f693acb7c3b8c3bc.jpg","text":"TemporaryFile(/tmp/multipartBody3099407114126799826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616022955,"filename":"image_01122025_16_57_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/1/4c1853517b6ef881eb72066266836316.jpg","text":"TemporaryFile(/tmp/multipartBody5276751321566978691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616022955,"filename":"image_01122025_16_56_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/1/a4c4dc339891434cf8c7a7ff03b1c853.jpg","text":"TemporaryFile(/tmp/multipartBody6733747277607742102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616022955,"filename":"image_01122025_16_56_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/1/67f250bc9777917283c32c546c91385f.jpg","text":"TemporaryFile(/tmp/multipartBody5942614611182131605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616022955,"filename":"image_01122025_16_56_45_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/1/9c69a48a2ff1cda57e51837ebf168dc1.jpg","text":"TemporaryFile(/tmp/multipartBody197892169308358378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616022955,"filename":"image_01122025_16_56_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/1/0252dd28cecddc1ef7a1dace117b36aa.jpg","text":"TemporaryFile(/tmp/multipartBody3992622458630966209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616022955,"filename":"image_01122025_16_56_54_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397250487","file1":"1397250484","file0":"1397250483","file4":"1397250494","file5":"1397250499","file3":"1397250489"},"map_files_photo_id_array":[{"photo_id":"1397250499","filename":"file5"},{"photo_id":"1397250487","filename":"file2"},{"photo_id":"1397250494","filename":"file4"},{"photo_id":"1397250484","filename":"file1"},{"photo_id":"1397250483","filename":"file0"},{"photo_id":"1397250489","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397250499":["hashtag1","hashtag2"]},{"1397250484":["hashtag1","hashtag2"]},{"1397250487":["hashtag1","hashtag2"]},{"1397250489":["hashtag1","hashtag2"]},{"1397250483":["hashtag1","hashtag2"]},{"1397250494":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397250499, 1397250484, 1397250487, 1397250489, 1397250483, 1397250494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.442907094955444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:07:02.790233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/57/image_01122025_16_57_15_9863.jpg', '/home/pi/Desktop/images/01122025/16/57/image_01122025_16_57_24_9659.jpg', '/home/pi/Desktop/images/01122025/16/57/image_01122025_16_57_34_9660.jpg', '/home/pi/Desktop/images/01122025/16/57/image_01122025_16_57_45_10655.jpg', '/home/pi/Desktop/images/01122025/16/57/image_01122025_16_57_54_9697.jpg', '/home/pi/Desktop/images/01122025/16/57/image_01122025_16_58_04_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/57/image_01122025_16_57_15_9863.jpg
/home/pi/Desktop/images/01122025/16/57/image_01122025_16_57_24_9659.jpg
/home/pi/Desktop/images/01122025/16/57/image_01122025_16_57_34_9660.jpg
/home/pi/Desktop/images/01122025/16/57/image_01122025_16_57_45_10655.jpg
/home/pi/Desktop/images/01122025/16/57/image_01122025_16_57_54_9697.jpg
/home/pi/Desktop/images/01122025/16/57/image_01122025_16_58_04_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":["1397250521","1397250595","1397250532","1397250523","1397250519","1397250599"],"photo_ids_order":["1397250519","1397250521","1397250523","1397250532","1397250595","1397250599"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ed4d6e52d78e6d90590b576a0f3a6d6e.jpg","text":"TemporaryFile(/tmp/multipartBody2647627579801681581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616083475,"filename":"image_01122025_16_57_24_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3e68e7e005e9b82c24fb6994b51749ec.jpg","text":"TemporaryFile(/tmp/multipartBody2304816652382222179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616083475,"filename":"image_01122025_16_57_54_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bcbe50f49bdf9f15b70446098fba1050.jpg","text":"TemporaryFile(/tmp/multipartBody7281264703079781918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616083475,"filename":"image_01122025_16_57_45_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/221d4b59d61daa8e9fa7b73bb85bfeb3.jpg","text":"TemporaryFile(/tmp/multipartBody4457965056753931663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616083475,"filename":"image_01122025_16_57_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/1/675d0326d28d808e3f9a9b27a014b4bd.jpg","text":"TemporaryFile(/tmp/multipartBody3394802875383034817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616083475,"filename":"image_01122025_16_57_15_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/1/cafe4c066435af40a54d3941b7437758.jpg","text":"TemporaryFile(/tmp/multipartBody3724634407823254243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616083475,"filename":"image_01122025_16_58_04_9598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397250523","file1":"1397250521","file0":"1397250519","file4":"1397250595","file5":"1397250599","file3":"1397250532"},"map_files_photo_id_array":[{"photo_id":"1397250599","filename":"file5"},{"photo_id":"1397250523","filename":"file2"},{"photo_id":"1397250595","filename":"file4"},{"photo_id":"1397250521","filename":"file1"},{"photo_id":"1397250519","filename":"file0"},{"photo_id":"1397250532","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397250521":["hashtag1","hashtag2"]},{"1397250595":["hashtag1","hashtag2"]},{"1397250532":["hashtag1","hashtag2"]},{"1397250523":["hashtag1","hashtag2"]},{"1397250519":["hashtag1","hashtag2"]},{"1397250599":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397250521, 1397250595, 1397250532, 1397250523, 1397250519, 1397250599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56065106391907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 20:07:42.076658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_23_2515.jpg', '/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_27_3678.jpg', '/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_30_2690.jpg', '/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_32_2614.jpg', '/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_36_3589.jpg', '/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_39_2756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_23_2515.jpg
/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_27_3678.jpg
/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_30_2690.jpg
/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_32_2614.jpg
/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_36_3589.jpg
/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_39_2756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397250617","1397250614","1397250613","1397250612","1397250615","1397250609"],"photo_ids_order":["1397250609","1397250612","1397250613","1397250614","1397250615","1397250617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/04b1ce45e0f62a155e2755ee6cb26313.jpg","text":"TemporaryFile(/tmp/multipartBody4648220651081716434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616124580,"filename":"image_31102025_14_56_39_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/1/751a01779bb8c22f7e8736f7a8c653f5.jpg","text":"TemporaryFile(/tmp/multipartBody5842036391699095769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616124580,"filename":"image_31102025_14_56_32_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/1/2c0597fc89f2de56cdecb6ebaa790350.jpg","text":"TemporaryFile(/tmp/multipartBody3289730548354005019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616124580,"filename":"image_31102025_14_56_30_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5fc3ba9cad2530eed4acaf820a03ca20.jpg","text":"TemporaryFile(/tmp/multipartBody2783589941717003562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616124580,"filename":"image_31102025_14_56_27_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/1/a31ae8bb407b4a62d61ba0aaa9395948.jpg","text":"TemporaryFile(/tmp/multipartBody8711346495733069278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616124580,"filename":"image_31102025_14_56_36_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/1/3460079aa41c9a399553fcefca3faf86.jpg","text":"TemporaryFile(/tmp/multipartBody1623240053354402937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616124580,"filename":"image_31102025_14_56_23_2515.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397250613","file1":"1397250612","file0":"1397250609","file4":"1397250615","file5":"1397250617","file3":"1397250614"},"map_files_photo_id_array":[{"photo_id":"1397250617","filename":"file5"},{"photo_id":"1397250613","filename":"file2"},{"photo_id":"1397250615","filename":"file4"},{"photo_id":"1397250612","filename":"file1"},{"photo_id":"1397250609","filename":"file0"},{"photo_id":"1397250614","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397250617":["hashtag1","hashtag2"]},{"1397250614":["hashtag1","hashtag2"]},{"1397250613":["hashtag1","hashtag2"]},{"1397250612":["hashtag1","hashtag2"]},{"1397250615":["hashtag1","hashtag2"]},{"1397250609":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397250617, 1397250614, 1397250613, 1397250612, 1397250615, 1397250609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.47470569610596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 20:08:32.251092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_43_3605.jpg', '/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_50_3530.jpg', '/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_52_2581.jpg', '/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_55_2706.jpg', '/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_58_3603.jpg', '/home/pi/Desktop/images/25112025/23/23/image_25112025_23_23_01_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_43_3605.jpg
/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_50_3530.jpg
/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_52_2581.jpg
/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_55_2706.jpg
/home/pi/Desktop/images/25112025/23/22/image_25112025_23_22_58_3603.jpg
/home/pi/Desktop/images/25112025/23/23/image_25112025_23_23_01_2597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397250640","1397250634","1397250637","1397250639","1397250630","1397250627"],"photo_ids_order":["1397250627","1397250630","1397250634","1397250637","1397250639","1397250640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/06198ec91adefdafeed4d1c792f548a1.jpg","text":"TemporaryFile(/tmp/multipartBody8599951311596291396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616173956,"filename":"image_25112025_23_23_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/1/2eebcc1f803011f9cc5a8335ebd64603.jpg","text":"TemporaryFile(/tmp/multipartBody1146506350087126888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616173956,"filename":"image_25112025_23_22_52_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/1/73875a6237641e840832402d807d06b8.jpg","text":"TemporaryFile(/tmp/multipartBody5906748492275367038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616173956,"filename":"image_25112025_23_22_55_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/eb98ecc1c56a751f35671d01060c95e7.jpg","text":"TemporaryFile(/tmp/multipartBody6343024798936887859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616173956,"filename":"image_25112025_23_22_58_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/1/723b46a48adacbb9cce4100bb0e5a6ad.jpg","text":"TemporaryFile(/tmp/multipartBody6282295101834275360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616173956,"filename":"image_25112025_23_22_50_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/1/38ea0753a73d6b398599b326017318a9.jpg","text":"TemporaryFile(/tmp/multipartBody8170766695024862566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616173956,"filename":"image_25112025_23_22_43_3605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397250634","file1":"1397250630","file0":"1397250627","file4":"1397250639","file5":"1397250640","file3":"1397250637"},"map_files_photo_id_array":[{"photo_id":"1397250640","filename":"file5"},{"photo_id":"1397250634","filename":"file2"},{"photo_id":"1397250639","filename":"file4"},{"photo_id":"1397250630","filename":"file1"},{"photo_id":"1397250627","filename":"file0"},{"photo_id":"1397250637","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397250640":["hashtag1","hashtag2"]},{"1397250634":["hashtag1","hashtag2"]},{"1397250637":["hashtag1","hashtag2"]},{"1397250639":["hashtag1","hashtag2"]},{"1397250630":["hashtag1","hashtag2"]},{"1397250627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397250640, 1397250634, 1397250637, 1397250639, 1397250630, 1397250627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.209418535232544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 20:09:12.381015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/23/image_25112025_23_23_04_2791.jpg', '/home/pi/Desktop/images/25112025/23/23/image_25112025_23_23_08_3823.jpg', '/home/pi/Desktop/images/25112025/23/23/image_25112025_23_23_10_2621.jpg', '/home/pi/Desktop/images/25112025/23/23/image_25112025_23_23_13_2579.jpg', '/home/pi/Desktop/images/25112025/23/23/image_25112025_23_23_16_3565.jpg', '/home/pi/Desktop/images/25112025/23/23/image_25112025_23_23_25_2519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/23/image_25112025_23_23_04_2791.jpg
/home/pi/Desktop/images/25112025/23/23/image_25112025_23_23_08_3823.jpg
/home/pi/Desktop/images/25112025/23/23/image_25112025_23_23_10_2621.jpg
/home/pi/Desktop/images/25112025/23/23/image_25112025_23_23_13_2579.jpg
/home/pi/Desktop/images/25112025/23/23/image_25112025_23_23_16_3565.jpg
/home/pi/Desktop/images/25112025/23/23/image_25112025_23_23_25_2519.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397250647","1397250655","1397250660","1397250663","1397250651","1397250645"],"photo_ids_order":["1397250645","1397250647","1397250651","1397250655","1397250660","1397250663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/181335abeeec32b926cae809b9c61a21.jpg","text":"TemporaryFile(/tmp/multipartBody4918161900868623461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616213982,"filename":"image_25112025_23_23_08_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/1/86e2b1cccd4c67bfa162c6ab7738742f.jpg","text":"TemporaryFile(/tmp/multipartBody1088888556424747293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616213982,"filename":"image_25112025_23_23_13_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9122243d9bfedbe1aebdb4abe2169331.jpg","text":"TemporaryFile(/tmp/multipartBody3695521509034521419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616213982,"filename":"image_25112025_23_23_16_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a8703d956501373a49fdfb38e3140ed8.jpg","text":"TemporaryFile(/tmp/multipartBody1943741812841025783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616213982,"filename":"image_25112025_23_23_25_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/13340f6d7fc6414d62069beab2f60def.jpg","text":"TemporaryFile(/tmp/multipartBody5073035671814593257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616213982,"filename":"image_25112025_23_23_10_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fb901508eccc772707017a48ee0706a5.jpg","text":"TemporaryFile(/tmp/multipartBody7574680217522471023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616213982,"filename":"image_25112025_23_23_04_2791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397250651","file1":"1397250647","file0":"1397250645","file4":"1397250660","file5":"1397250663","file3":"1397250655"},"map_files_photo_id_array":[{"photo_id":"1397250663","filename":"file5"},{"photo_id":"1397250651","filename":"file2"},{"photo_id":"1397250660","filename":"file4"},{"photo_id":"1397250647","filename":"file1"},{"photo_id":"1397250645","filename":"file0"},{"photo_id":"1397250655","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397250647":["hashtag1","hashtag2"]},{"1397250655":["hashtag1","hashtag2"]},{"1397250660":["hashtag1","hashtag2"]},{"1397250663":["hashtag1","hashtag2"]},{"1397250651":["hashtag1","hashtag2"]},{"1397250645":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397250647, 1397250655, 1397250660, 1397250663, 1397250651, 1397250645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.16667866706848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:10:03.069225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/58/image_01122025_16_58_15_10674.jpg', '/home/pi/Desktop/images/01122025/16/58/image_01122025_16_58_24_9744.jpg', '/home/pi/Desktop/images/01122025/16/58/image_01122025_16_58_34_9691.jpg', '/home/pi/Desktop/images/01122025/16/58/image_01122025_16_58_45_10636.jpg', '/home/pi/Desktop/images/01122025/16/58/image_01122025_16_58_54_9683.jpg', '/home/pi/Desktop/images/01122025/16/58/image_01122025_16_59_04_9548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/58/image_01122025_16_58_15_10674.jpg
/home/pi/Desktop/images/01122025/16/58/image_01122025_16_58_24_9744.jpg
/home/pi/Desktop/images/01122025/16/58/image_01122025_16_58_34_9691.jpg
/home/pi/Desktop/images/01122025/16/58/image_01122025_16_58_45_10636.jpg
/home/pi/Desktop/images/01122025/16/58/image_01122025_16_58_54_9683.jpg
/home/pi/Desktop/images/01122025/16/58/image_01122025_16_59_04_9548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397250673","1397250667","1397250681","1397250669","1397250678","1397250671"],"photo_ids_order":["1397250667","1397250669","1397250671","1397250673","1397250678","1397250681"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3f09ebce12053e9b0f7430a3ca7cd280.jpg","text":"TemporaryFile(/tmp/multipartBody6863914655703757588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616263761,"filename":"image_01122025_16_58_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/1/77477e65ae7043c2858e1e292a793b61.jpg","text":"TemporaryFile(/tmp/multipartBody8677417721422685330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616263761,"filename":"image_01122025_16_58_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/1/151a29382c6a61a42bb6b6e99bbbfa03.jpg","text":"TemporaryFile(/tmp/multipartBody3617426021894661358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616263761,"filename":"image_01122025_16_59_04_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a10967c5d9b567d8a332615649344c10.jpg","text":"TemporaryFile(/tmp/multipartBody8376238485397493420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616263761,"filename":"image_01122025_16_58_24_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/67c8e15ebadc09ae54b4209568150698.jpg","text":"TemporaryFile(/tmp/multipartBody7302940746092910704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616263761,"filename":"image_01122025_16_58_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/1/ae82ce955973b7997ffd2244e8e83877.jpg","text":"TemporaryFile(/tmp/multipartBody4245465180369066352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616263761,"filename":"image_01122025_16_58_34_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397250671","file1":"1397250669","file0":"1397250667","file4":"1397250678","file5":"1397250681","file3":"1397250673"},"map_files_photo_id_array":[{"photo_id":"1397250681","filename":"file5"},{"photo_id":"1397250671","filename":"file2"},{"photo_id":"1397250678","filename":"file4"},{"photo_id":"1397250669","filename":"file1"},{"photo_id":"1397250667","filename":"file0"},{"photo_id":"1397250673","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397250673":["hashtag1","hashtag2"]},{"1397250667":["hashtag1","hashtag2"]},{"1397250681":["hashtag1","hashtag2"]},{"1397250669":["hashtag1","hashtag2"]},{"1397250678":["hashtag1","hashtag2"]},{"1397250671":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397250673, 1397250667, 1397250681, 1397250669, 1397250678, 1397250671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64046120643616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 20:10:42.683726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_41_2599.jpg', '/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_45_3617.jpg', '/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_48_2721.jpg', '/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_50_2647.jpg', '/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_54_3715.jpg', '/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_57_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_41_2599.jpg
/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_45_3617.jpg
/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_48_2721.jpg
/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_50_2647.jpg
/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_54_3715.jpg
/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_57_2661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397250689","1397250694","1397250697","1397250691","1397250693","1397250692"],"photo_ids_order":["1397250689","1397250691","1397250692","1397250693","1397250694","1397250697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/09ea20bbc2c9c07a8a68ac48ebfde138.jpg","text":"TemporaryFile(/tmp/multipartBody2258449980656847059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616305163,"filename":"image_31102025_14_56_41_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/1/8bdf1b9b0642ae9004a33e33d66c2379.jpg","text":"TemporaryFile(/tmp/multipartBody3511878122586930669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616305163,"filename":"image_31102025_14_56_54_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/1/48a3955cafc9c9ce63d0c829c63e2c89.jpg","text":"TemporaryFile(/tmp/multipartBody4013011542993232376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616305163,"filename":"image_31102025_14_56_57_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/1/8e1809bc37cffa34317742b2e7d4b197.jpg","text":"TemporaryFile(/tmp/multipartBody290380251376414101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616305163,"filename":"image_31102025_14_56_45_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/1/69cc2b8fdca0bbb10c63defbe1c4aa29.jpg","text":"TemporaryFile(/tmp/multipartBody3078644455683105423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616305163,"filename":"image_31102025_14_56_50_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f2d2bbdd00d9cf66f8cdfd551fc5d062.jpg","text":"TemporaryFile(/tmp/multipartBody4239213278757546369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616305163,"filename":"image_31102025_14_56_48_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397250692","file1":"1397250691","file0":"1397250689","file4":"1397250694","file5":"1397250697","file3":"1397250693"},"map_files_photo_id_array":[{"photo_id":"1397250697","filename":"file5"},{"photo_id":"1397250692","filename":"file2"},{"photo_id":"1397250694","filename":"file4"},{"photo_id":"1397250691","filename":"file1"},{"photo_id":"1397250689","filename":"file0"},{"photo_id":"1397250693","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397250689":["hashtag1","hashtag2"]},{"1397250694":["hashtag1","hashtag2"]},{"1397250697":["hashtag1","hashtag2"]},{"1397250691":["hashtag1","hashtag2"]},{"1397250693":["hashtag1","hashtag2"]},{"1397250692":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397250689, 1397250694, 1397250697, 1397250691, 1397250693, 1397250692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.29891276359558 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 20:11:31.934250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/23/image_25112025_23_23_28_2593.jpg', '/home/pi/Desktop/images/25112025/23/23/image_25112025_23_23_31_3666.jpg', '/home/pi/Desktop/images/25112025/23/23/image_25112025_23_23_34_2771.jpg', '/home/pi/Desktop/images/25112025/23/23/image_25112025_23_23_38_3593.jpg', '/home/pi/Desktop/images/25112025/23/23/image_25112025_23_23_40_2637.jpg', '/home/pi/Desktop/images/25112025/23/23/image_25112025_23_23_44_3207.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/23/image_25112025_23_23_28_2593.jpg
/home/pi/Desktop/images/25112025/23/23/image_25112025_23_23_31_3666.jpg
/home/pi/Desktop/images/25112025/23/23/image_25112025_23_23_34_2771.jpg
/home/pi/Desktop/images/25112025/23/23/image_25112025_23_23_38_3593.jpg
/home/pi/Desktop/images/25112025/23/23/image_25112025_23_23_40_2637.jpg
/home/pi/Desktop/images/25112025/23/23/image_25112025_23_23_44_3207.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397250781","1397250724","1397250721","1397250718","1397250714","1397250779"],"photo_ids_order":["1397250714","1397250718","1397250721","1397250724","1397250779","1397250781"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1a3217cbc1b29a7918f36f26bbdc2360.jpg","text":"TemporaryFile(/tmp/multipartBody1895133095803127924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616353611,"filename":"image_25112025_23_23_44_3207.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8a42ade79fe4bfe2fede7a18c79ea39e.jpg","text":"TemporaryFile(/tmp/multipartBody6330533643469312328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616353611,"filename":"image_25112025_23_23_38_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/1/96a0bb1cee171868b72dbc86f062d8dd.jpg","text":"TemporaryFile(/tmp/multipartBody6159852837031121608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616353611,"filename":"image_25112025_23_23_34_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/38378c7ff63b462bd9e1a8d663c62292.jpg","text":"TemporaryFile(/tmp/multipartBody8693120355759350018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616353611,"filename":"image_25112025_23_23_31_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/1/06342b0036c1ea0b7cfc0a2d0f3f2b97.jpg","text":"TemporaryFile(/tmp/multipartBody7213787987475766012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616353611,"filename":"image_25112025_23_23_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/1/dc2ea6edecf1d138f5424a8dbebbd726.jpg","text":"TemporaryFile(/tmp/multipartBody3033676221557584794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616353611,"filename":"image_25112025_23_23_40_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397250721","file1":"1397250718","file0":"1397250714","file4":"1397250779","file5":"1397250781","file3":"1397250724"},"map_files_photo_id_array":[{"photo_id":"1397250781","filename":"file5"},{"photo_id":"1397250721","filename":"file2"},{"photo_id":"1397250779","filename":"file4"},{"photo_id":"1397250718","filename":"file1"},{"photo_id":"1397250714","filename":"file0"},{"photo_id":"1397250724","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397250781":["hashtag1","hashtag2"]},{"1397250724":["hashtag1","hashtag2"]},{"1397250721":["hashtag1","hashtag2"]},{"1397250718":["hashtag1","hashtag2"]},{"1397250714":["hashtag1","hashtag2"]},{"1397250779":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397250781, 1397250724, 1397250721, 1397250718, 1397250714, 1397250779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.92966818809509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 20:12:22.049316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/16/59/image_01122025_16_59_15_10674.jpg', '/home/pi/Desktop/images/01122025/16/59/image_01122025_16_59_24_9572.jpg', '/home/pi/Desktop/images/01122025/16/59/image_01122025_16_59_35_10741.jpg', '/home/pi/Desktop/images/01122025/16/59/image_01122025_16_59_45_9641.jpg', '/home/pi/Desktop/images/01122025/16/59/image_01122025_16_59_54_9731.jpg', '/home/pi/Desktop/images/01122025/17/00/image_01122025_17_00_14_10056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/16/59/image_01122025_16_59_15_10674.jpg
/home/pi/Desktop/images/01122025/16/59/image_01122025_16_59_24_9572.jpg
/home/pi/Desktop/images/01122025/16/59/image_01122025_16_59_35_10741.jpg
/home/pi/Desktop/images/01122025/16/59/image_01122025_16_59_45_9641.jpg
/home/pi/Desktop/images/01122025/16/59/image_01122025_16_59_54_9731.jpg
/home/pi/Desktop/images/01122025/17/00/image_01122025_17_00_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":["1397250790","1397250805","1397250798","1397250786","1397250794","1397250801"],"photo_ids_order":["1397250786","1397250790","1397250794","1397250798","1397250801","1397250805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2fa7018fddb084683d135703c535cdba.jpg","text":"TemporaryFile(/tmp/multipartBody1278522445057757977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616402709,"filename":"image_01122025_16_59_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/1/5f5d01fe3ac3ab774a87cd601c6c6413.jpg","text":"TemporaryFile(/tmp/multipartBody4888771338453810845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616402709,"filename":"image_01122025_17_00_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2e8438a49f25dc7294163560efde120a.jpg","text":"TemporaryFile(/tmp/multipartBody636809023731062092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616402709,"filename":"image_01122025_16_59_45_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d8ccbc093742b54e4cde8b1db2dc7b84.jpg","text":"TemporaryFile(/tmp/multipartBody4756938822000455484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616402709,"filename":"image_01122025_16_59_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/1/20317a13f6cc280d47673787868c3f6d.jpg","text":"TemporaryFile(/tmp/multipartBody6307621105320046612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616402709,"filename":"image_01122025_16_59_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/1/9b43e3b86a4e7b20b3f534b8f08ae7c3.jpg","text":"TemporaryFile(/tmp/multipartBody3340234364803638132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616402709,"filename":"image_01122025_16_59_54_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397250794","file1":"1397250790","file0":"1397250786","file4":"1397250801","file5":"1397250805","file3":"1397250798"},"map_files_photo_id_array":[{"photo_id":"1397250805","filename":"file5"},{"photo_id":"1397250794","filename":"file2"},{"photo_id":"1397250801","filename":"file4"},{"photo_id":"1397250790","filename":"file1"},{"photo_id":"1397250786","filename":"file0"},{"photo_id":"1397250798","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397250790":["hashtag1","hashtag2"]},{"1397250805":["hashtag1","hashtag2"]},{"1397250798":["hashtag1","hashtag2"]},{"1397250786":["hashtag1","hashtag2"]},{"1397250794":["hashtag1","hashtag2"]},{"1397250801":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397250790, 1397250805, 1397250798, 1397250786, 1397250794, 1397250801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.49733853340149 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:13:02.930542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/00/image_01122025_17_00_25_10756.jpg', '/home/pi/Desktop/images/01122025/17/00/image_01122025_17_00_35_9586.jpg', '/home/pi/Desktop/images/01122025/17/00/image_01122025_17_00_45_10598.jpg', '/home/pi/Desktop/images/01122025/17/00/image_01122025_17_00_55_9821.jpg', '/home/pi/Desktop/images/01122025/17/00/image_01122025_17_01_05_9681.jpg', '/home/pi/Desktop/images/01122025/17/01/image_01122025_17_01_24_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/00/image_01122025_17_00_25_10756.jpg
/home/pi/Desktop/images/01122025/17/00/image_01122025_17_00_35_9586.jpg
/home/pi/Desktop/images/01122025/17/00/image_01122025_17_00_45_10598.jpg
/home/pi/Desktop/images/01122025/17/00/image_01122025_17_00_55_9821.jpg
/home/pi/Desktop/images/01122025/17/00/image_01122025_17_01_05_9681.jpg
/home/pi/Desktop/images/01122025/17/01/image_01122025_17_01_24_9716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397250821","1397250806","1397250808","1397250817","1397250810","1397250813"],"photo_ids_order":["1397250806","1397250808","1397250810","1397250813","1397250817","1397250821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f83127fdbc9b5314b10922d07a826a9f.jpg","text":"TemporaryFile(/tmp/multipartBody255540731298476933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616443687,"filename":"image_01122025_17_01_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/1/3f05651dcf90fcedf2dc6c2813fe2ad2.jpg","text":"TemporaryFile(/tmp/multipartBody675291414387752365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616443687,"filename":"image_01122025_17_00_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/1/048846122633d9fe1db4a4abfeaa5f46.jpg","text":"TemporaryFile(/tmp/multipartBody3372130946599844605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616443687,"filename":"image_01122025_17_00_35_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c5b472824ca3964c342dd6a7346ea64c.jpg","text":"TemporaryFile(/tmp/multipartBody6750707054138992212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616443687,"filename":"image_01122025_17_01_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/1/4bb4b86e83f348b812bb2627b12686d4.jpg","text":"TemporaryFile(/tmp/multipartBody6832350858018253719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616443687,"filename":"image_01122025_17_00_45_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f39408bb0777ece4dbb93fd0d1af1202.jpg","text":"TemporaryFile(/tmp/multipartBody6142701614446236652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616443687,"filename":"image_01122025_17_00_55_9821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397250810","file1":"1397250808","file0":"1397250806","file4":"1397250817","file5":"1397250821","file3":"1397250813"},"map_files_photo_id_array":[{"photo_id":"1397250821","filename":"file5"},{"photo_id":"1397250810","filename":"file2"},{"photo_id":"1397250817","filename":"file4"},{"photo_id":"1397250808","filename":"file1"},{"photo_id":"1397250806","filename":"file0"},{"photo_id":"1397250813","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397250821":["hashtag1","hashtag2"]},{"1397250806":["hashtag1","hashtag2"]},{"1397250808":["hashtag1","hashtag2"]},{"1397250817":["hashtag1","hashtag2"]},{"1397250810":["hashtag1","hashtag2"]},{"1397250813":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397250821, 1397250806, 1397250808, 1397250817, 1397250810, 1397250813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.15755295753479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:14:03.289212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/01/image_01122025_17_01_35_10580.jpg', '/home/pi/Desktop/images/01122025/17/01/image_01122025_17_01_45_9704.jpg', '/home/pi/Desktop/images/01122025/17/01/image_01122025_17_01_55_10542.jpg', '/home/pi/Desktop/images/01122025/17/01/image_01122025_17_02_05_9699.jpg', '/home/pi/Desktop/images/01122025/17/02/image_01122025_17_02_15_9660.jpg', '/home/pi/Desktop/images/01122025/17/02/image_01122025_17_02_25_10567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/01/image_01122025_17_01_35_10580.jpg
/home/pi/Desktop/images/01122025/17/01/image_01122025_17_01_45_9704.jpg
/home/pi/Desktop/images/01122025/17/01/image_01122025_17_01_55_10542.jpg
/home/pi/Desktop/images/01122025/17/01/image_01122025_17_02_05_9699.jpg
/home/pi/Desktop/images/01122025/17/02/image_01122025_17_02_15_9660.jpg
/home/pi/Desktop/images/01122025/17/02/image_01122025_17_02_25_10567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397250845","1397250833","1397250836","1397250841","1397250834","1397250831"],"photo_ids_order":["1397250831","1397250833","1397250834","1397250836","1397250841","1397250845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/427b4859abac38277d6bab1753265fe2.jpg","text":"TemporaryFile(/tmp/multipartBody80687251389854485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616504123,"filename":"image_01122025_17_02_25_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7e5a852ec5e96b0b1ea3f40cce9451f6.jpg","text":"TemporaryFile(/tmp/multipartBody2370749950536195919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616504123,"filename":"image_01122025_17_01_45_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fcd336d04db1429c70821e9e617ceb51.jpg","text":"TemporaryFile(/tmp/multipartBody7964090812101441837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616504123,"filename":"image_01122025_17_02_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/1/bcb73e9234c40fa2666cf21abdf2ba43.jpg","text":"TemporaryFile(/tmp/multipartBody1046959162186910122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616504123,"filename":"image_01122025_17_02_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/1/bf4007f4428e6c5553786829bec1ae02.jpg","text":"TemporaryFile(/tmp/multipartBody5647988617582573265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616504123,"filename":"image_01122025_17_01_55_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/1/407830e47e03c6e72129d3a020d6c7ae.jpg","text":"TemporaryFile(/tmp/multipartBody6408448638062193842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616504123,"filename":"image_01122025_17_01_35_10580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397250834","file1":"1397250833","file0":"1397250831","file4":"1397250841","file5":"1397250845","file3":"1397250836"},"map_files_photo_id_array":[{"photo_id":"1397250845","filename":"file5"},{"photo_id":"1397250834","filename":"file2"},{"photo_id":"1397250841","filename":"file4"},{"photo_id":"1397250833","filename":"file1"},{"photo_id":"1397250831","filename":"file0"},{"photo_id":"1397250836","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397250845":["hashtag1","hashtag2"]},{"1397250833":["hashtag1","hashtag2"]},{"1397250836":["hashtag1","hashtag2"]},{"1397250841":["hashtag1","hashtag2"]},{"1397250834":["hashtag1","hashtag2"]},{"1397250831":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397250845, 1397250833, 1397250836, 1397250841, 1397250834, 1397250831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.726099252700806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:15:03.178695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/02/image_01122025_17_02_35_9598.jpg', '/home/pi/Desktop/images/01122025/17/02/image_01122025_17_02_45_10583.jpg', '/home/pi/Desktop/images/01122025/17/02/image_01122025_17_02_55_9633.jpg', '/home/pi/Desktop/images/01122025/17/02/image_01122025_17_03_05_9679.jpg', '/home/pi/Desktop/images/01122025/17/03/image_01122025_17_03_14_9751.jpg', '/home/pi/Desktop/images/01122025/17/03/image_01122025_17_03_25_10560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/02/image_01122025_17_02_35_9598.jpg
/home/pi/Desktop/images/01122025/17/02/image_01122025_17_02_45_10583.jpg
/home/pi/Desktop/images/01122025/17/02/image_01122025_17_02_55_9633.jpg
/home/pi/Desktop/images/01122025/17/02/image_01122025_17_03_05_9679.jpg
/home/pi/Desktop/images/01122025/17/03/image_01122025_17_03_14_9751.jpg
/home/pi/Desktop/images/01122025/17/03/image_01122025_17_03_25_10560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397250889","1397250882","1397250885","1397250852","1397250876","1397250878"],"photo_ids_order":["1397250852","1397250876","1397250878","1397250882","1397250885","1397250889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/11661fa150a4dcb43f6991bdd161f740.jpg","text":"TemporaryFile(/tmp/multipartBody6018331000815524788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616563932,"filename":"image_01122025_17_03_25_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/27400c22f38a0dbc0cbb7750cd6bf5a4.jpg","text":"TemporaryFile(/tmp/multipartBody2991504013495511724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616563932,"filename":"image_01122025_17_03_05_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3d67482b402698c9942868a3bd7090f2.jpg","text":"TemporaryFile(/tmp/multipartBody767105112145803322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616563932,"filename":"image_01122025_17_03_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/1/c045c4aa59c913e151eb013c72cbe274.jpg","text":"TemporaryFile(/tmp/multipartBody7178667502050471600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616563932,"filename":"image_01122025_17_02_35_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c48441d2793f219481702bb2f4f54ef4.jpg","text":"TemporaryFile(/tmp/multipartBody1545401685610774709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616563932,"filename":"image_01122025_17_02_45_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4de043dcec6de8b062ae95a8658aa974.jpg","text":"TemporaryFile(/tmp/multipartBody7890347476014589730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616563932,"filename":"image_01122025_17_02_55_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397250878","file1":"1397250876","file0":"1397250852","file4":"1397250885","file5":"1397250889","file3":"1397250882"},"map_files_photo_id_array":[{"photo_id":"1397250889","filename":"file5"},{"photo_id":"1397250878","filename":"file2"},{"photo_id":"1397250885","filename":"file4"},{"photo_id":"1397250876","filename":"file1"},{"photo_id":"1397250852","filename":"file0"},{"photo_id":"1397250882","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397250889":["hashtag1","hashtag2"]},{"1397250882":["hashtag1","hashtag2"]},{"1397250885":["hashtag1","hashtag2"]},{"1397250852":["hashtag1","hashtag2"]},{"1397250876":["hashtag1","hashtag2"]},{"1397250878":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397250889, 1397250882, 1397250885, 1397250852, 1397250876, 1397250878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.932093143463135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:16:02.404273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/03/image_01122025_17_03_45_10591.jpg', '/home/pi/Desktop/images/01122025/17/03/image_01122025_17_03_55_9611.jpg', '/home/pi/Desktop/images/01122025/17/03/image_01122025_17_04_05_10539.jpg', '/home/pi/Desktop/images/01122025/17/04/image_01122025_17_04_15_9589.jpg', '/home/pi/Desktop/images/01122025/17/04/image_01122025_17_04_25_9641.jpg', '/home/pi/Desktop/images/01122025/17/04/image_01122025_17_04_35_10520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/03/image_01122025_17_03_45_10591.jpg
/home/pi/Desktop/images/01122025/17/03/image_01122025_17_03_55_9611.jpg
/home/pi/Desktop/images/01122025/17/03/image_01122025_17_04_05_10539.jpg
/home/pi/Desktop/images/01122025/17/04/image_01122025_17_04_15_9589.jpg
/home/pi/Desktop/images/01122025/17/04/image_01122025_17_04_25_9641.jpg
/home/pi/Desktop/images/01122025/17/04/image_01122025_17_04_35_10520.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397251013","1397250902","1397250905","1397250910","1397250907","1397250901"],"photo_ids_order":["1397250901","1397250902","1397250905","1397250907","1397250910","1397251013"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e6683d6fea5ec1b72298a494f01fb302.jpg","text":"TemporaryFile(/tmp/multipartBody7746389717391014976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616623086,"filename":"image_01122025_17_04_35_10520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/31814f441a2a3cddeeef0c8c384a58bc.jpg","text":"TemporaryFile(/tmp/multipartBody7833835731102260338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616623086,"filename":"image_01122025_17_03_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/1/06b03b9c18237503c7277a1205ff9039.jpg","text":"TemporaryFile(/tmp/multipartBody7874272329531450881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616623086,"filename":"image_01122025_17_04_05_10539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/94bdd0f19bf9e61af7460a6f457a04c7.jpg","text":"TemporaryFile(/tmp/multipartBody3914864386453763009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616623086,"filename":"image_01122025_17_04_25_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4c86b2f372cb01afe61c9506e90900be.jpg","text":"TemporaryFile(/tmp/multipartBody280404402099705581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616623086,"filename":"image_01122025_17_04_15_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b3e8a212d79d611376faf9a35128dab9.jpg","text":"TemporaryFile(/tmp/multipartBody3617148891928256588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616623086,"filename":"image_01122025_17_03_45_10591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397250905","file1":"1397250902","file0":"1397250901","file4":"1397250910","file5":"1397251013","file3":"1397250907"},"map_files_photo_id_array":[{"photo_id":"1397251013","filename":"file5"},{"photo_id":"1397250905","filename":"file2"},{"photo_id":"1397250910","filename":"file4"},{"photo_id":"1397250902","filename":"file1"},{"photo_id":"1397250901","filename":"file0"},{"photo_id":"1397250907","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397251013":["hashtag1","hashtag2"]},{"1397250902":["hashtag1","hashtag2"]},{"1397250905":["hashtag1","hashtag2"]},{"1397250910":["hashtag1","hashtag2"]},{"1397250907":["hashtag1","hashtag2"]},{"1397250901":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397251013, 1397250902, 1397250905, 1397250910, 1397250907, 1397250901)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.995370626449585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:17:02.857507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/04/image_01122025_17_04_45_9650.jpg', '/home/pi/Desktop/images/01122025/17/04/image_01122025_17_04_55_10614.jpg', '/home/pi/Desktop/images/01122025/17/06/image_01122025_17_06_14_10045.jpg', '/home/pi/Desktop/images/01122025/17/06/image_01122025_17_06_28_14223.jpg', '/home/pi/Desktop/images/01122025/17/06/image_01122025_17_06_35_6690.jpg', '/home/pi/Desktop/images/01122025/17/06/image_01122025_17_06_53_18290.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/04/image_01122025_17_04_45_9650.jpg
/home/pi/Desktop/images/01122025/17/04/image_01122025_17_04_55_10614.jpg
/home/pi/Desktop/images/01122025/17/06/image_01122025_17_06_14_10045.jpg
/home/pi/Desktop/images/01122025/17/06/image_01122025_17_06_28_14223.jpg
/home/pi/Desktop/images/01122025/17/06/image_01122025_17_06_35_6690.jpg
/home/pi/Desktop/images/01122025/17/06/image_01122025_17_06_53_18290.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397251024","1397251032","1397251026","1397251035","1397251029","1397251023"],"photo_ids_order":["1397251023","1397251024","1397251026","1397251029","1397251032","1397251035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/528cab531da9fd9341549e54180e041e.jpg","text":"TemporaryFile(/tmp/multipartBody1079618581942292257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616683554,"filename":"image_01122025_17_04_55_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1b7e3dea939465fe3943dd52cc9a7385.jpg","text":"TemporaryFile(/tmp/multipartBody9180773030436619220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616683554,"filename":"image_01122025_17_06_35_6690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f76c692bd0c3cc08d639f91cd6bb1531.jpg","text":"TemporaryFile(/tmp/multipartBody4738598671574626020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616683554,"filename":"image_01122025_17_06_14_10045.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7aed3bdddf14e76dfb953adca3271c3e.jpg","text":"TemporaryFile(/tmp/multipartBody1536770397596978875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616683554,"filename":"image_01122025_17_06_53_18290.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6ecdd5d965d3105573a4d6a7df536094.jpg","text":"TemporaryFile(/tmp/multipartBody4525416521464436276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616683554,"filename":"image_01122025_17_06_28_14223.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9816e9317b5ff6adbd26a0e9ec54834d.jpg","text":"TemporaryFile(/tmp/multipartBody2795276467907759424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616683554,"filename":"image_01122025_17_04_45_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397251026","file1":"1397251024","file0":"1397251023","file4":"1397251032","file5":"1397251035","file3":"1397251029"},"map_files_photo_id_array":[{"photo_id":"1397251035","filename":"file5"},{"photo_id":"1397251026","filename":"file2"},{"photo_id":"1397251032","filename":"file4"},{"photo_id":"1397251024","filename":"file1"},{"photo_id":"1397251023","filename":"file0"},{"photo_id":"1397251029","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397251024":["hashtag1","hashtag2"]},{"1397251032":["hashtag1","hashtag2"]},{"1397251026":["hashtag1","hashtag2"]},{"1397251035":["hashtag1","hashtag2"]},{"1397251029":["hashtag1","hashtag2"]},{"1397251023":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397251024, 1397251032, 1397251026, 1397251035, 1397251029, 1397251023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67088079452515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 20:17:42.159214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_59_2535.jpg', '/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_03_3676.jpg', '/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_06_2822.jpg', '/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_08_2744.jpg', '/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_11_2773.jpg', '/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_15_3740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/56/image_31102025_14_56_59_2535.jpg
/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_03_3676.jpg
/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_06_2822.jpg
/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_08_2744.jpg
/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_11_2773.jpg
/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_15_3740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397251049","1397251057","1397251051","1397251053","1397251055","1397251046"],"photo_ids_order":["1397251046","1397251049","1397251051","1397251053","1397251055","1397251057"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b5a988f803cb4b49e114c260205d763b.jpg","text":"TemporaryFile(/tmp/multipartBody7156294081574328423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616724676,"filename":"image_31102025_14_57_03_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/1/371b70163a3167bf05b35041e4f4c27c.jpg","text":"TemporaryFile(/tmp/multipartBody5903007827521263224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616724676,"filename":"image_31102025_14_57_15_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/1/3b2cf354c5c99d8cc1e36f5ffd8004db.jpg","text":"TemporaryFile(/tmp/multipartBody4849606737561564457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616724676,"filename":"image_31102025_14_57_06_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6d9d05700157de8b16ddb048c475ae93.jpg","text":"TemporaryFile(/tmp/multipartBody529249523102626973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616724676,"filename":"image_31102025_14_57_08_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/453ec77c3ba29ff4424fd6b5235a6f77.jpg","text":"TemporaryFile(/tmp/multipartBody3392508215847136649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616724676,"filename":"image_31102025_14_57_11_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/36e0526c8953dbcc7bb1f76268d0ecf3.jpg","text":"TemporaryFile(/tmp/multipartBody4851872787315440061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616724676,"filename":"image_31102025_14_56_59_2535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397251051","file1":"1397251049","file0":"1397251046","file4":"1397251055","file5":"1397251057","file3":"1397251053"},"map_files_photo_id_array":[{"photo_id":"1397251057","filename":"file5"},{"photo_id":"1397251051","filename":"file2"},{"photo_id":"1397251055","filename":"file4"},{"photo_id":"1397251049","filename":"file1"},{"photo_id":"1397251046","filename":"file0"},{"photo_id":"1397251053","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397251049":["hashtag1","hashtag2"]},{"1397251057":["hashtag1","hashtag2"]},{"1397251051":["hashtag1","hashtag2"]},{"1397251053":["hashtag1","hashtag2"]},{"1397251055":["hashtag1","hashtag2"]},{"1397251046":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397251049, 1397251057, 1397251051, 1397251053, 1397251055, 1397251046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.370277881622314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 20:18:22.368175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/06/image_01122025_17_06_55_1762.jpg', '/home/pi/Desktop/images/01122025/17/06/image_01122025_17_07_05_9679.jpg', '/home/pi/Desktop/images/01122025/17/07/image_01122025_17_07_14_9700.jpg', '/home/pi/Desktop/images/01122025/17/07/image_01122025_17_07_24_9619.jpg', '/home/pi/Desktop/images/01122025/17/07/image_01122025_17_07_35_10647.jpg', '/home/pi/Desktop/images/01122025/17/07/image_01122025_17_07_44_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/06/image_01122025_17_06_55_1762.jpg
/home/pi/Desktop/images/01122025/17/06/image_01122025_17_07_05_9679.jpg
/home/pi/Desktop/images/01122025/17/07/image_01122025_17_07_14_9700.jpg
/home/pi/Desktop/images/01122025/17/07/image_01122025_17_07_24_9619.jpg
/home/pi/Desktop/images/01122025/17/07/image_01122025_17_07_35_10647.jpg
/home/pi/Desktop/images/01122025/17/07/image_01122025_17_07_44_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":["1397251072","1397251080","1397251077","1397251074","1397251068","1397251064"],"photo_ids_order":["1397251064","1397251068","1397251072","1397251074","1397251077","1397251080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e7d0da57c6cf782d07776f0daf619406.jpg","text":"TemporaryFile(/tmp/multipartBody6005363659238192927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616762998,"filename":"image_01122025_17_07_14_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ce1a07021565f9ad31a6d8a45c260697.jpg","text":"TemporaryFile(/tmp/multipartBody9085208871322855274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616762998,"filename":"image_01122025_17_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/1/8d4180590ab8e85b077e3f8fa3adc48d.jpg","text":"TemporaryFile(/tmp/multipartBody4101182026149981949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616762998,"filename":"image_01122025_17_07_35_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9d5a7763949c0aae2afd1af694827a4b.jpg","text":"TemporaryFile(/tmp/multipartBody3140735170320377705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616762998,"filename":"image_01122025_17_07_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/1/157e2b8d7aba4f8aa86b06fb38c84c63.jpg","text":"TemporaryFile(/tmp/multipartBody8945391356435605462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616762998,"filename":"image_01122025_17_07_05_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8e2ba51d0a3d7b625889c4bc9d013c44.jpg","text":"TemporaryFile(/tmp/multipartBody1344931948973752966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616762998,"filename":"image_01122025_17_06_55_1762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397251072","file1":"1397251068","file0":"1397251064","file4":"1397251077","file5":"1397251080","file3":"1397251074"},"map_files_photo_id_array":[{"photo_id":"1397251080","filename":"file5"},{"photo_id":"1397251072","filename":"file2"},{"photo_id":"1397251077","filename":"file4"},{"photo_id":"1397251068","filename":"file1"},{"photo_id":"1397251064","filename":"file0"},{"photo_id":"1397251074","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397251072":["hashtag1","hashtag2"]},{"1397251080":["hashtag1","hashtag2"]},{"1397251077":["hashtag1","hashtag2"]},{"1397251074":["hashtag1","hashtag2"]},{"1397251068":["hashtag1","hashtag2"]},{"1397251064":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397251072, 1397251080, 1397251077, 1397251074, 1397251068, 1397251064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0149610042572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:19:03.257220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/07/image_01122025_17_07_55_10510.jpg', '/home/pi/Desktop/images/01122025/17/07/image_01122025_17_08_05_9702.jpg', '/home/pi/Desktop/images/01122025/17/08/image_01122025_17_08_15_10274.jpg', '/home/pi/Desktop/images/01122025/17/08/image_01122025_17_08_25_9621.jpg', '/home/pi/Desktop/images/01122025/17/08/image_01122025_17_08_34_9938.jpg', '/home/pi/Desktop/images/01122025/17/08/image_01122025_17_08_45_10536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/07/image_01122025_17_07_55_10510.jpg
/home/pi/Desktop/images/01122025/17/07/image_01122025_17_08_05_9702.jpg
/home/pi/Desktop/images/01122025/17/08/image_01122025_17_08_15_10274.jpg
/home/pi/Desktop/images/01122025/17/08/image_01122025_17_08_25_9621.jpg
/home/pi/Desktop/images/01122025/17/08/image_01122025_17_08_34_9938.jpg
/home/pi/Desktop/images/01122025/17/08/image_01122025_17_08_45_10536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397251084","1397251093","1397251089","1397251086","1397251097","1397251082"],"photo_ids_order":["1397251082","1397251084","1397251086","1397251089","1397251093","1397251097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c5d3497f475cfccd3430fb788102d85a.jpg","text":"TemporaryFile(/tmp/multipartBody2375925526280633976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616804050,"filename":"image_01122025_17_08_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/1/4ca3e21ce5678ee88e38da1cfe1c6001.jpg","text":"TemporaryFile(/tmp/multipartBody2560074034386692129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616804050,"filename":"image_01122025_17_08_34_9938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ed37e3eaf4e839f4d7229a7fd3d9b005.jpg","text":"TemporaryFile(/tmp/multipartBody8189859479681076504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616804050,"filename":"image_01122025_17_08_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/1/42ae5b73a4b950a78206e82325daacb7.jpg","text":"TemporaryFile(/tmp/multipartBody4988105343741711647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616804050,"filename":"image_01122025_17_08_15_10274.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/817abc586b76ceb8e45735ab333ae49f.jpg","text":"TemporaryFile(/tmp/multipartBody3535879466548177544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616804050,"filename":"image_01122025_17_08_45_10536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b3f4318bac8d8ce0fb3e3c93a6409d1c.jpg","text":"TemporaryFile(/tmp/multipartBody6121377254334756138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616804050,"filename":"image_01122025_17_07_55_10510.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397251086","file1":"1397251084","file0":"1397251082","file4":"1397251093","file5":"1397251097","file3":"1397251089"},"map_files_photo_id_array":[{"photo_id":"1397251097","filename":"file5"},{"photo_id":"1397251086","filename":"file2"},{"photo_id":"1397251093","filename":"file4"},{"photo_id":"1397251084","filename":"file1"},{"photo_id":"1397251082","filename":"file0"},{"photo_id":"1397251089","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397251084":["hashtag1","hashtag2"]},{"1397251093":["hashtag1","hashtag2"]},{"1397251089":["hashtag1","hashtag2"]},{"1397251086":["hashtag1","hashtag2"]},{"1397251097":["hashtag1","hashtag2"]},{"1397251082":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397251084, 1397251093, 1397251089, 1397251086, 1397251097, 1397251082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.926475286483765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 20:19:42.459050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_17_2583.jpg', '/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_20_2667.jpg', '/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_24_3655.jpg', '/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_26_2648.jpg', '/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_29_2861.jpg', '/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_32_2740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_17_2583.jpg
/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_20_2667.jpg
/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_24_3655.jpg
/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_26_2648.jpg
/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_29_2861.jpg
/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_32_2740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397251112","1397251106","1397251108","1397251107","1397251110","1397251104"],"photo_ids_order":["1397251104","1397251106","1397251107","1397251108","1397251110","1397251112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ae2e9f5edf86b5b7babc478f1de2655b.jpg","text":"TemporaryFile(/tmp/multipartBody7361596939711218733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616844964,"filename":"image_31102025_14_57_32_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/1/5973153e106a1774588f65c661799c92.jpg","text":"TemporaryFile(/tmp/multipartBody8046752101138893364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616844964,"filename":"image_31102025_14_57_20_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/68c3ea617c02f088360d4a6359b37bab.jpg","text":"TemporaryFile(/tmp/multipartBody638749263510244238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616844964,"filename":"image_31102025_14_57_26_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/1/f85b65fc1087bca2b565966d3116fd8d.jpg","text":"TemporaryFile(/tmp/multipartBody4990049595704228711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616844964,"filename":"image_31102025_14_57_24_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/1/1ddedd2cec225096fdbbed24bb174a73.jpg","text":"TemporaryFile(/tmp/multipartBody9180669408140287212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616844964,"filename":"image_31102025_14_57_29_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8b902a46ae10c10d9f7f0fa57b972b2a.jpg","text":"TemporaryFile(/tmp/multipartBody8204833800624360044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616844964,"filename":"image_31102025_14_57_17_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397251107","file1":"1397251106","file0":"1397251104","file4":"1397251110","file5":"1397251112","file3":"1397251108"},"map_files_photo_id_array":[{"photo_id":"1397251112","filename":"file5"},{"photo_id":"1397251107","filename":"file2"},{"photo_id":"1397251110","filename":"file4"},{"photo_id":"1397251106","filename":"file1"},{"photo_id":"1397251104","filename":"file0"},{"photo_id":"1397251108","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397251112":["hashtag1","hashtag2"]},{"1397251106":["hashtag1","hashtag2"]},{"1397251108":["hashtag1","hashtag2"]},{"1397251107":["hashtag1","hashtag2"]},{"1397251110":["hashtag1","hashtag2"]},{"1397251104":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397251112, 1397251106, 1397251108, 1397251107, 1397251110, 1397251104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.69443893432617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 20:20:32.630326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/23/image_25112025_23_23_46_2640.jpg', '/home/pi/Desktop/images/25112025/23/23/image_25112025_23_24_00_1676.jpg', '/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_04_4323.jpg', '/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_06_1664.jpg', '/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_07_1595.jpg', '/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_09_1584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/23/image_25112025_23_23_46_2640.jpg
/home/pi/Desktop/images/25112025/23/23/image_25112025_23_24_00_1676.jpg
/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_04_4323.jpg
/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_06_1664.jpg
/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_07_1595.jpg
/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_09_1584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397251133","1397251132","1397251131","1397251125","1397251134","1397251128"],"photo_ids_order":["1397251125","1397251128","1397251131","1397251132","1397251133","1397251134"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/88fd442043deab2ff4b0ef9248652d34.jpg","text":"TemporaryFile(/tmp/multipartBody374189838449541672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616894345,"filename":"image_25112025_23_24_07_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/1/dc5f7d3062eb4c72c41887213276ef3a.jpg","text":"TemporaryFile(/tmp/multipartBody5807711610213300777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616894345,"filename":"image_25112025_23_24_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/1/c1ce7d8becfdfb0528c04184b394c542.jpg","text":"TemporaryFile(/tmp/multipartBody8843378377162211927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616894345,"filename":"image_25112025_23_24_04_4323.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ff89f14b9864ae1a6255e7ef87de6292.jpg","text":"TemporaryFile(/tmp/multipartBody5258060386790933162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616894345,"filename":"image_25112025_23_23_46_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/1/be8603fcddc51a73427c130a47632107.jpg","text":"TemporaryFile(/tmp/multipartBody3246583809483396404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616894345,"filename":"image_25112025_23_24_09_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/1/5e47e7e5c7d2ba3680f969bf4f5dce1e.jpg","text":"TemporaryFile(/tmp/multipartBody4472965235260387331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616894345,"filename":"image_25112025_23_24_00_1676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397251131","file1":"1397251128","file0":"1397251125","file4":"1397251133","file5":"1397251134","file3":"1397251132"},"map_files_photo_id_array":[{"photo_id":"1397251134","filename":"file5"},{"photo_id":"1397251131","filename":"file2"},{"photo_id":"1397251133","filename":"file4"},{"photo_id":"1397251128","filename":"file1"},{"photo_id":"1397251125","filename":"file0"},{"photo_id":"1397251132","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397251133":["hashtag1","hashtag2"]},{"1397251132":["hashtag1","hashtag2"]},{"1397251131":["hashtag1","hashtag2"]},{"1397251125":["hashtag1","hashtag2"]},{"1397251134":["hashtag1","hashtag2"]},{"1397251128":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397251133, 1397251132, 1397251131, 1397251125, 1397251134, 1397251128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.610156774520874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 20:21:12.784210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_10_1539.jpg', '/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_12_1674.jpg', '/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_15_2615.jpg', '/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_19_2521.jpg', '/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_23_3682.jpg', '/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_25_2505.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_10_1539.jpg
/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_12_1674.jpg
/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_15_2615.jpg
/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_19_2521.jpg
/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_23_3682.jpg
/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_25_2505.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397251147","1397251141","1397251144","1397251138","1397251154","1397251151"],"photo_ids_order":["1397251138","1397251141","1397251144","1397251147","1397251151","1397251154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/398692cb6b3d3307e501948b58867e25.jpg","text":"TemporaryFile(/tmp/multipartBody4128564960243541340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616934373,"filename":"image_25112025_23_24_19_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/1/fac98095cd3de516f85fec923d9b9c8c.jpg","text":"TemporaryFile(/tmp/multipartBody7819593599866024289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616934373,"filename":"image_25112025_23_24_12_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/1/b53e661c0daf7a8845987f913c3749bb.jpg","text":"TemporaryFile(/tmp/multipartBody2610214668825697335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616934373,"filename":"image_25112025_23_24_15_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/1/d505813a991928893e7a817650675116.jpg","text":"TemporaryFile(/tmp/multipartBody7090656146996346227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616934373,"filename":"image_25112025_23_24_10_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/1/502b99660824cac246334e984d793b74.jpg","text":"TemporaryFile(/tmp/multipartBody8927213242902165304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616934373,"filename":"image_25112025_23_24_25_2505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c722ef11325e571cc6337486326615fa.jpg","text":"TemporaryFile(/tmp/multipartBody5131541118451884186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616934373,"filename":"image_25112025_23_24_23_3682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397251144","file1":"1397251141","file0":"1397251138","file4":"1397251151","file5":"1397251154","file3":"1397251147"},"map_files_photo_id_array":[{"photo_id":"1397251154","filename":"file5"},{"photo_id":"1397251144","filename":"file2"},{"photo_id":"1397251151","filename":"file4"},{"photo_id":"1397251141","filename":"file1"},{"photo_id":"1397251138","filename":"file0"},{"photo_id":"1397251147","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397251147":["hashtag1","hashtag2"]},{"1397251141":["hashtag1","hashtag2"]},{"1397251144":["hashtag1","hashtag2"]},{"1397251138":["hashtag1","hashtag2"]},{"1397251154":["hashtag1","hashtag2"]},{"1397251151":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397251147, 1397251141, 1397251144, 1397251138, 1397251154, 1397251151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88423728942871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:22:02.408343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/08/image_01122025_17_08_55_10156.jpg', '/home/pi/Desktop/images/01122025/17/08/image_01122025_17_09_05_9736.jpg', '/home/pi/Desktop/images/01122025/17/09/image_01122025_17_09_15_9672.jpg', '/home/pi/Desktop/images/01122025/17/09/image_01122025_17_09_25_10174.jpg', '/home/pi/Desktop/images/01122025/17/09/image_01122025_17_09_34_9704.jpg', '/home/pi/Desktop/images/01122025/17/09/image_01122025_17_09_44_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/08/image_01122025_17_08_55_10156.jpg
/home/pi/Desktop/images/01122025/17/08/image_01122025_17_09_05_9736.jpg
/home/pi/Desktop/images/01122025/17/09/image_01122025_17_09_15_9672.jpg
/home/pi/Desktop/images/01122025/17/09/image_01122025_17_09_25_10174.jpg
/home/pi/Desktop/images/01122025/17/09/image_01122025_17_09_34_9704.jpg
/home/pi/Desktop/images/01122025/17/09/image_01122025_17_09_44_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":["1397251162","1397251170","1397251164","1397251173","1397251160","1397251166"],"photo_ids_order":["1397251160","1397251162","1397251164","1397251166","1397251170","1397251173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bfdfd46020e63b127916e479bdb109f0.jpg","text":"TemporaryFile(/tmp/multipartBody1769212203986920975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616983054,"filename":"image_01122025_17_09_05_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1e04c1493e4dc7b619f4cb351cacd940.jpg","text":"TemporaryFile(/tmp/multipartBody85814204370148466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616983054,"filename":"image_01122025_17_09_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/1/52a09b7ee40dc26471dd742d89274895.jpg","text":"TemporaryFile(/tmp/multipartBody8382539714092917201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616983054,"filename":"image_01122025_17_09_15_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/58fd8a2a72728508926f3df96e2dab41.jpg","text":"TemporaryFile(/tmp/multipartBody9027137428305655772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616983054,"filename":"image_01122025_17_09_44_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/218cdfaf028b74d0772ece829052f51d.jpg","text":"TemporaryFile(/tmp/multipartBody7669487401187314723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616983054,"filename":"image_01122025_17_08_55_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/1/b2950862be828d7861b9a157664467d9.jpg","text":"TemporaryFile(/tmp/multipartBody7019671741346686482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764616983054,"filename":"image_01122025_17_09_25_10174.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397251164","file1":"1397251162","file0":"1397251160","file4":"1397251170","file5":"1397251173","file3":"1397251166"},"map_files_photo_id_array":[{"photo_id":"1397251173","filename":"file5"},{"photo_id":"1397251164","filename":"file2"},{"photo_id":"1397251170","filename":"file4"},{"photo_id":"1397251162","filename":"file1"},{"photo_id":"1397251160","filename":"file0"},{"photo_id":"1397251166","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397251162":["hashtag1","hashtag2"]},{"1397251170":["hashtag1","hashtag2"]},{"1397251164":["hashtag1","hashtag2"]},{"1397251173":["hashtag1","hashtag2"]},{"1397251160":["hashtag1","hashtag2"]},{"1397251166":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397251162, 1397251170, 1397251164, 1397251173, 1397251160, 1397251166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9145872592926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 20:22:41.921967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_36_3683.jpg', '/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_38_2620.jpg', '/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_42_3660.jpg', '/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_45_2711.jpg', '/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_47_2640.jpg', '/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_51_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_36_3683.jpg
/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_38_2620.jpg
/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_42_3660.jpg
/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_45_2711.jpg
/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_47_2640.jpg
/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_51_3610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397251186","1397251189","1397251188","1397251185","1397251187","1397251184"],"photo_ids_order":["1397251184","1397251185","1397251186","1397251187","1397251188","1397251189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ee3018af9fa3787404dbacfe5a1b3ada.jpg","text":"TemporaryFile(/tmp/multipartBody2968549232441047107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617024421,"filename":"image_31102025_14_57_42_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2cd5b9c3b8e8ae5b4d42d32fb28390e5.jpg","text":"TemporaryFile(/tmp/multipartBody8179670887243936830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617024421,"filename":"image_31102025_14_57_51_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b3f0a1d63cc8f70d6d920dbf5e2d6b90.jpg","text":"TemporaryFile(/tmp/multipartBody5911456471071007377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617024421,"filename":"image_31102025_14_57_47_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/1/eaa30aa6def5f0e40d2097681534d7d2.jpg","text":"TemporaryFile(/tmp/multipartBody5660097383568190940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617024421,"filename":"image_31102025_14_57_38_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1a534cb09fd9b80219a37f443ba3249b.jpg","text":"TemporaryFile(/tmp/multipartBody5680821638441294275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617024421,"filename":"image_31102025_14_57_45_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/1/4911d952d82c40d8d042887382f38bf8.jpg","text":"TemporaryFile(/tmp/multipartBody1612006693943169219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617024421,"filename":"image_31102025_14_57_36_3683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397251186","file1":"1397251185","file0":"1397251184","file4":"1397251188","file5":"1397251189","file3":"1397251187"},"map_files_photo_id_array":[{"photo_id":"1397251189","filename":"file5"},{"photo_id":"1397251186","filename":"file2"},{"photo_id":"1397251188","filename":"file4"},{"photo_id":"1397251185","filename":"file1"},{"photo_id":"1397251184","filename":"file0"},{"photo_id":"1397251187","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397251186":["hashtag1","hashtag2"]},{"1397251189":["hashtag1","hashtag2"]},{"1397251188":["hashtag1","hashtag2"]},{"1397251185":["hashtag1","hashtag2"]},{"1397251187":["hashtag1","hashtag2"]},{"1397251184":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397251186, 1397251189, 1397251188, 1397251185, 1397251187, 1397251184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.513163328170776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 20:23:22.084260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/09/image_01122025_17_09_55_10619.jpg', '/home/pi/Desktop/images/01122025/17/10/image_01122025_17_10_26_10923.jpg', '/home/pi/Desktop/images/01122025/17/10/image_01122025_17_10_35_9702.jpg', '/home/pi/Desktop/images/01122025/17/10/image_01122025_17_10_45_9717.jpg', '/home/pi/Desktop/images/01122025/17/10/image_01122025_17_10_55_10232.jpg', '/home/pi/Desktop/images/01122025/17/10/image_01122025_17_11_05_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/09/image_01122025_17_09_55_10619.jpg
/home/pi/Desktop/images/01122025/17/10/image_01122025_17_10_26_10923.jpg
/home/pi/Desktop/images/01122025/17/10/image_01122025_17_10_35_9702.jpg
/home/pi/Desktop/images/01122025/17/10/image_01122025_17_10_45_9717.jpg
/home/pi/Desktop/images/01122025/17/10/image_01122025_17_10_55_10232.jpg
/home/pi/Desktop/images/01122025/17/10/image_01122025_17_11_05_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397251205","1397251195","1397251212","1397251209","1397251199","1397251203"],"photo_ids_order":["1397251195","1397251199","1397251203","1397251205","1397251209","1397251212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cad687fad2e701cf2a33bfd3d935cd12.jpg","text":"TemporaryFile(/tmp/multipartBody2347446825597257752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617062739,"filename":"image_01122025_17_10_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/1/66a1fa27b7790f94dd12ce2be4253277.jpg","text":"TemporaryFile(/tmp/multipartBody1546525802152395089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617062739,"filename":"image_01122025_17_09_55_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a3d5a65e23aa857127470db6232776a9.jpg","text":"TemporaryFile(/tmp/multipartBody8245010236028514136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617062739,"filename":"image_01122025_17_11_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/1/4c723276b57e1a45625b8143f6e56b51.jpg","text":"TemporaryFile(/tmp/multipartBody5116337060928176483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617062739,"filename":"image_01122025_17_10_55_10232.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ddeb9433eb4b84ead91bf683b08e7894.jpg","text":"TemporaryFile(/tmp/multipartBody8715467985729545730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617062739,"filename":"image_01122025_17_10_26_10923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/93b12765221f19044405f637600b807c.jpg","text":"TemporaryFile(/tmp/multipartBody856999747141303991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617062739,"filename":"image_01122025_17_10_35_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397251203","file1":"1397251199","file0":"1397251195","file4":"1397251209","file5":"1397251212","file3":"1397251205"},"map_files_photo_id_array":[{"photo_id":"1397251212","filename":"file5"},{"photo_id":"1397251203","filename":"file2"},{"photo_id":"1397251209","filename":"file4"},{"photo_id":"1397251199","filename":"file1"},{"photo_id":"1397251195","filename":"file0"},{"photo_id":"1397251205","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397251205":["hashtag1","hashtag2"]},{"1397251195":["hashtag1","hashtag2"]},{"1397251212":["hashtag1","hashtag2"]},{"1397251209":["hashtag1","hashtag2"]},{"1397251199":["hashtag1","hashtag2"]},{"1397251203":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397251205, 1397251195, 1397251212, 1397251209, 1397251199, 1397251203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5745587348938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:24:02.960158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/11/image_01122025_17_11_16_10593.jpg', '/home/pi/Desktop/images/01122025/17/11/image_01122025_17_11_25_9536.jpg', '/home/pi/Desktop/images/01122025/17/11/image_01122025_17_11_35_10278.jpg', '/home/pi/Desktop/images/01122025/17/11/image_01122025_17_11_45_9672.jpg', '/home/pi/Desktop/images/01122025/17/11/image_01122025_17_11_56_10593.jpg', '/home/pi/Desktop/images/01122025/17/11/image_01122025_17_12_05_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/11/image_01122025_17_11_16_10593.jpg
/home/pi/Desktop/images/01122025/17/11/image_01122025_17_11_25_9536.jpg
/home/pi/Desktop/images/01122025/17/11/image_01122025_17_11_35_10278.jpg
/home/pi/Desktop/images/01122025/17/11/image_01122025_17_11_45_9672.jpg
/home/pi/Desktop/images/01122025/17/11/image_01122025_17_11_56_10593.jpg
/home/pi/Desktop/images/01122025/17/11/image_01122025_17_12_05_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":["1397251226","1397251219","1397251230","1397251221","1397251215","1397251217"],"photo_ids_order":["1397251215","1397251217","1397251219","1397251221","1397251226","1397251230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/70721e78ef1f1f5429e07ed227c877ac.jpg","text":"TemporaryFile(/tmp/multipartBody2893974093797089235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617103646,"filename":"image_01122025_17_11_56_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/1/32c9fa93a539a06f9bd51a2eaa996570.jpg","text":"TemporaryFile(/tmp/multipartBody6332621060225773713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617103646,"filename":"image_01122025_17_11_35_10278.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/10dec233aff44f9c98afcb19b9e3283e.jpg","text":"TemporaryFile(/tmp/multipartBody6633874419844535701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617103646,"filename":"image_01122025_17_12_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/1/a77f5c01c8b28a124038ed762e2bee18.jpg","text":"TemporaryFile(/tmp/multipartBody4146956341192228602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617103646,"filename":"image_01122025_17_11_45_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/69f73e2caa43234fc76926aeb9239dfe.jpg","text":"TemporaryFile(/tmp/multipartBody531968460204377809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617103646,"filename":"image_01122025_17_11_16_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/1/c8373f6e944b93dd32f7a7ddf041ca90.jpg","text":"TemporaryFile(/tmp/multipartBody293076294316073970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617103646,"filename":"image_01122025_17_11_25_9536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397251219","file1":"1397251217","file0":"1397251215","file4":"1397251226","file5":"1397251230","file3":"1397251221"},"map_files_photo_id_array":[{"photo_id":"1397251230","filename":"file5"},{"photo_id":"1397251219","filename":"file2"},{"photo_id":"1397251226","filename":"file4"},{"photo_id":"1397251217","filename":"file1"},{"photo_id":"1397251215","filename":"file0"},{"photo_id":"1397251221","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397251226":["hashtag1","hashtag2"]},{"1397251219":["hashtag1","hashtag2"]},{"1397251230":["hashtag1","hashtag2"]},{"1397251221":["hashtag1","hashtag2"]},{"1397251215":["hashtag1","hashtag2"]},{"1397251217":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397251226, 1397251219, 1397251230, 1397251221, 1397251215, 1397251217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.281736612319946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:25:03.166001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/12/image_01122025_17_12_15_9673.jpg', '/home/pi/Desktop/images/01122025/17/12/image_01122025_17_12_26_10645.jpg', '/home/pi/Desktop/images/01122025/17/12/image_01122025_17_12_35_9656.jpg', '/home/pi/Desktop/images/01122025/17/12/image_01122025_17_12_45_9602.jpg', '/home/pi/Desktop/images/01122025/17/12/image_01122025_17_12_56_10597.jpg', '/home/pi/Desktop/images/01122025/17/12/image_01122025_17_13_05_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/12/image_01122025_17_12_15_9673.jpg
/home/pi/Desktop/images/01122025/17/12/image_01122025_17_12_26_10645.jpg
/home/pi/Desktop/images/01122025/17/12/image_01122025_17_12_35_9656.jpg
/home/pi/Desktop/images/01122025/17/12/image_01122025_17_12_45_9602.jpg
/home/pi/Desktop/images/01122025/17/12/image_01122025_17_12_56_10597.jpg
/home/pi/Desktop/images/01122025/17/12/image_01122025_17_13_05_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397251619","1397251610","1397251624","1397251612","1397251429","1397251536"],"photo_ids_order":["1397251429","1397251536","1397251610","1397251612","1397251619","1397251624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ffe862a5e845b9017faae64659270745.jpg","text":"TemporaryFile(/tmp/multipartBody4529451114852408818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617163865,"filename":"image_01122025_17_12_56_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/1/a53db5f742355b72abddd7cc306b02a8.jpg","text":"TemporaryFile(/tmp/multipartBody5065826144630707899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617163865,"filename":"image_01122025_17_12_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/1/247719d291057bbcf65bfec0f9084d50.jpg","text":"TemporaryFile(/tmp/multipartBody9007463989562156128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617163865,"filename":"image_01122025_17_13_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/1/0f90eb1a92bfea16d580dbdd42efb9c0.jpg","text":"TemporaryFile(/tmp/multipartBody8973375136156604812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617163865,"filename":"image_01122025_17_12_45_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f3c7f100c491041f5e4104e8823a10af.jpg","text":"TemporaryFile(/tmp/multipartBody8240478146969529172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617163865,"filename":"image_01122025_17_12_15_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0318435f4adc037437b2c9d3f74d7d49.jpg","text":"TemporaryFile(/tmp/multipartBody3250619188504648433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617163865,"filename":"image_01122025_17_12_26_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397251610","file1":"1397251536","file0":"1397251429","file4":"1397251619","file5":"1397251624","file3":"1397251612"},"map_files_photo_id_array":[{"photo_id":"1397251624","filename":"file5"},{"photo_id":"1397251610","filename":"file2"},{"photo_id":"1397251619","filename":"file4"},{"photo_id":"1397251536","filename":"file1"},{"photo_id":"1397251429","filename":"file0"},{"photo_id":"1397251612","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397251619":["hashtag1","hashtag2"]},{"1397251610":["hashtag1","hashtag2"]},{"1397251624":["hashtag1","hashtag2"]},{"1397251612":["hashtag1","hashtag2"]},{"1397251429":["hashtag1","hashtag2"]},{"1397251536":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397251619, 1397251610, 1397251624, 1397251612, 1397251429, 1397251536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.98107647895813 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:26:03.275468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/13/image_01122025_17_13_15_9625.jpg', '/home/pi/Desktop/images/01122025/17/13/image_01122025_17_13_25_10593.jpg', '/home/pi/Desktop/images/01122025/17/13/image_01122025_17_13_35_9631.jpg', '/home/pi/Desktop/images/01122025/17/13/image_01122025_17_13_46_10637.jpg', '/home/pi/Desktop/images/01122025/17/13/image_01122025_17_13_55_9743.jpg', '/home/pi/Desktop/images/01122025/17/14/image_01122025_17_14_15_9793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/13/image_01122025_17_13_15_9625.jpg
/home/pi/Desktop/images/01122025/17/13/image_01122025_17_13_25_10593.jpg
/home/pi/Desktop/images/01122025/17/13/image_01122025_17_13_35_9631.jpg
/home/pi/Desktop/images/01122025/17/13/image_01122025_17_13_46_10637.jpg
/home/pi/Desktop/images/01122025/17/13/image_01122025_17_13_55_9743.jpg
/home/pi/Desktop/images/01122025/17/14/image_01122025_17_14_15_9793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397251672","1397251669","1397251657","1397251677","1397251680","1397251667"],"photo_ids_order":["1397251657","1397251667","1397251669","1397251672","1397251677","1397251680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4b889fbcc8f86180f5b02e4bb8a71334.jpg","text":"TemporaryFile(/tmp/multipartBody6118565422282273513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617223922,"filename":"image_01122025_17_13_46_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cfc7517df22fa6b830203955770ee942.jpg","text":"TemporaryFile(/tmp/multipartBody1133108280178337719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617223922,"filename":"image_01122025_17_13_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/1/edb1679a8eae90e20c0944e156c407a8.jpg","text":"TemporaryFile(/tmp/multipartBody4597335402647961260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617223922,"filename":"image_01122025_17_13_15_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/1/55fcb23dffa7ad6a28d5c15538e68349.jpg","text":"TemporaryFile(/tmp/multipartBody2578056009405149301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617223922,"filename":"image_01122025_17_13_55_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3e218ba09972b48d80c4d51275d9037f.jpg","text":"TemporaryFile(/tmp/multipartBody8491205820319179970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617223922,"filename":"image_01122025_17_14_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/1/03562e5e6e357597c74f8b4f85377253.jpg","text":"TemporaryFile(/tmp/multipartBody2600322560939913774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617223922,"filename":"image_01122025_17_13_25_10593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397251669","file1":"1397251667","file0":"1397251657","file4":"1397251677","file5":"1397251680","file3":"1397251672"},"map_files_photo_id_array":[{"photo_id":"1397251680","filename":"file5"},{"photo_id":"1397251669","filename":"file2"},{"photo_id":"1397251677","filename":"file4"},{"photo_id":"1397251667","filename":"file1"},{"photo_id":"1397251657","filename":"file0"},{"photo_id":"1397251672","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397251672":["hashtag1","hashtag2"]},{"1397251669":["hashtag1","hashtag2"]},{"1397251657":["hashtag1","hashtag2"]},{"1397251677":["hashtag1","hashtag2"]},{"1397251680":["hashtag1","hashtag2"]},{"1397251667":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397251672, 1397251669, 1397251657, 1397251677, 1397251680, 1397251667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.586694955825806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:27:02.608394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/14/image_01122025_17_14_26_10829.jpg', '/home/pi/Desktop/images/01122025/17/14/image_01122025_17_14_45_9560.jpg', '/home/pi/Desktop/images/01122025/17/14/image_01122025_17_14_55_10525.jpg', '/home/pi/Desktop/images/01122025/17/15/image_01122025_17_15_14_10058.jpg', '/home/pi/Desktop/images/01122025/17/15/image_01122025_17_15_25_10801.jpg', '/home/pi/Desktop/images/01122025/17/15/image_01122025_17_15_34_9555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/14/image_01122025_17_14_26_10829.jpg
/home/pi/Desktop/images/01122025/17/14/image_01122025_17_14_45_9560.jpg
/home/pi/Desktop/images/01122025/17/14/image_01122025_17_14_55_10525.jpg
/home/pi/Desktop/images/01122025/17/15/image_01122025_17_15_14_10058.jpg
/home/pi/Desktop/images/01122025/17/15/image_01122025_17_15_25_10801.jpg
/home/pi/Desktop/images/01122025/17/15/image_01122025_17_15_34_9555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397251723","1397251714","1397251716","1397251719","1397251727","1397251712"],"photo_ids_order":["1397251712","1397251714","1397251716","1397251719","1397251723","1397251727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9c3172344a1d8dc21064ae7dac71125a.jpg","text":"TemporaryFile(/tmp/multipartBody8867822351790982053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617283316,"filename":"image_01122025_17_15_25_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/1/6a077d06c0b0a901dd122c5aa3fcbae6.jpg","text":"TemporaryFile(/tmp/multipartBody29589494968652892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617283316,"filename":"image_01122025_17_14_45_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/1/53d86d932f00f65ad457b6c49b4f89a5.jpg","text":"TemporaryFile(/tmp/multipartBody6754702329441685214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617283316,"filename":"image_01122025_17_14_55_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/1/6a3badf3adeb59e0a8021f19c042981a.jpg","text":"TemporaryFile(/tmp/multipartBody6637799046827429051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617283316,"filename":"image_01122025_17_15_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/1/9179a402568b903b74081a7fd7cda09c.jpg","text":"TemporaryFile(/tmp/multipartBody6856184057866566771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617283316,"filename":"image_01122025_17_15_34_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/28760d2a8fb3efbf56901e572de9ae82.jpg","text":"TemporaryFile(/tmp/multipartBody2782220865814899693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617283316,"filename":"image_01122025_17_14_26_10829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397251716","file1":"1397251714","file0":"1397251712","file4":"1397251723","file5":"1397251727","file3":"1397251719"},"map_files_photo_id_array":[{"photo_id":"1397251727","filename":"file5"},{"photo_id":"1397251716","filename":"file2"},{"photo_id":"1397251723","filename":"file4"},{"photo_id":"1397251714","filename":"file1"},{"photo_id":"1397251712","filename":"file0"},{"photo_id":"1397251719","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397251723":["hashtag1","hashtag2"]},{"1397251714":["hashtag1","hashtag2"]},{"1397251716":["hashtag1","hashtag2"]},{"1397251719":["hashtag1","hashtag2"]},{"1397251727":["hashtag1","hashtag2"]},{"1397251712":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397251723, 1397251714, 1397251716, 1397251719, 1397251727, 1397251712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.200448989868164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:28:02.538639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/15/image_01122025_17_15_44_9802.jpg', '/home/pi/Desktop/images/01122025/17/15/image_01122025_17_15_55_10569.jpg', '/home/pi/Desktop/images/01122025/17/15/image_01122025_17_16_04_9698.jpg', '/home/pi/Desktop/images/01122025/17/16/image_01122025_17_16_14_9758.jpg', '/home/pi/Desktop/images/01122025/17/16/image_01122025_17_16_25_10638.jpg', '/home/pi/Desktop/images/01122025/17/16/image_01122025_17_16_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/15/image_01122025_17_15_44_9802.jpg
/home/pi/Desktop/images/01122025/17/15/image_01122025_17_15_55_10569.jpg
/home/pi/Desktop/images/01122025/17/15/image_01122025_17_16_04_9698.jpg
/home/pi/Desktop/images/01122025/17/16/image_01122025_17_16_14_9758.jpg
/home/pi/Desktop/images/01122025/17/16/image_01122025_17_16_25_10638.jpg
/home/pi/Desktop/images/01122025/17/16/image_01122025_17_16_34_9561.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5694503784179688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 20:28:12.126115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_28_2636.jpg', '/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_31_3622.jpg', '/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_34_2710.jpg', '/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_37_2722.jpg', '/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_40_3548.jpg', '/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_43_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_28_2636.jpg
/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_31_3622.jpg
/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_34_2710.jpg
/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_37_2722.jpg
/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_40_3548.jpg
/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_43_2608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397251762","1397251756","1397251758","1397251742","1397251751","1397251745"],"photo_ids_order":["1397251742","1397251745","1397251751","1397251756","1397251758","1397251762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4945237d9bf4da92f8540fb4c2078e2c.jpg","text":"TemporaryFile(/tmp/multipartBody597715496155558426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617353874,"filename":"image_25112025_23_24_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/1/9c3e592aedbffa118bcc431d69491b5d.jpg","text":"TemporaryFile(/tmp/multipartBody7533172986036993905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617353874,"filename":"image_25112025_23_24_37_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/1/79f113ec3f9a85496e503f66a3d54b11.jpg","text":"TemporaryFile(/tmp/multipartBody8089001366634218854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617353874,"filename":"image_25112025_23_24_40_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/1/09c571ad5cd77b5c06e27601248a466e.jpg","text":"TemporaryFile(/tmp/multipartBody3077036082973995768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617353874,"filename":"image_25112025_23_24_28_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/1/749b1b4ac5b8b67c8290369f89dd8bc0.jpg","text":"TemporaryFile(/tmp/multipartBody9062065314130441734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617353874,"filename":"image_25112025_23_24_34_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e4327f7daa28e5d20333492bcff8b32e.jpg","text":"TemporaryFile(/tmp/multipartBody2423988200451305553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617353874,"filename":"image_25112025_23_24_31_3622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397251751","file1":"1397251745","file0":"1397251742","file4":"1397251758","file5":"1397251762","file3":"1397251756"},"map_files_photo_id_array":[{"photo_id":"1397251762","filename":"file5"},{"photo_id":"1397251751","filename":"file2"},{"photo_id":"1397251758","filename":"file4"},{"photo_id":"1397251745","filename":"file1"},{"photo_id":"1397251742","filename":"file0"},{"photo_id":"1397251756","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397251762":["hashtag1","hashtag2"]},{"1397251756":["hashtag1","hashtag2"]},{"1397251758":["hashtag1","hashtag2"]},{"1397251742":["hashtag1","hashtag2"]},{"1397251751":["hashtag1","hashtag2"]},{"1397251745":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397251762, 1397251756, 1397251758, 1397251742, 1397251751, 1397251745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.470773696899414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:29:03.262672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/15/image_01122025_17_15_44_9802.jpg', '/home/pi/Desktop/images/01122025/17/15/image_01122025_17_15_55_10569.jpg', '/home/pi/Desktop/images/01122025/17/15/image_01122025_17_16_04_9698.jpg', '/home/pi/Desktop/images/01122025/17/16/image_01122025_17_16_14_9758.jpg', '/home/pi/Desktop/images/01122025/17/16/image_01122025_17_16_25_10638.jpg', '/home/pi/Desktop/images/01122025/17/16/image_01122025_17_16_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/15/image_01122025_17_15_44_9802.jpg
/home/pi/Desktop/images/01122025/17/15/image_01122025_17_15_55_10569.jpg
/home/pi/Desktop/images/01122025/17/15/image_01122025_17_16_04_9698.jpg
/home/pi/Desktop/images/01122025/17/16/image_01122025_17_16_14_9758.jpg
/home/pi/Desktop/images/01122025/17/16/image_01122025_17_16_25_10638.jpg
/home/pi/Desktop/images/01122025/17/16/image_01122025_17_16_34_9561.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.706395149230957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 20:29:12.396985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_46_2626.jpg', '/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_49_3558.jpg', '/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_57_7771.jpg', '/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_58_1531.jpg', '/home/pi/Desktop/images/25112025/23/24/image_25112025_23_25_00_1614.jpg', '/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_02_1651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_46_2626.jpg
/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_49_3558.jpg
/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_57_7771.jpg
/home/pi/Desktop/images/25112025/23/24/image_25112025_23_24_58_1531.jpg
/home/pi/Desktop/images/25112025/23/24/image_25112025_23_25_00_1614.jpg
/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_02_1651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397251791","1397251788","1397251773","1397251769","1397251784","1397251778"],"photo_ids_order":["1397251769","1397251773","1397251778","1397251784","1397251788","1397251791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0cd812768abecba5ae70ed7ced26dce0.jpg","text":"TemporaryFile(/tmp/multipartBody6135873391050971345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617413976,"filename":"image_25112025_23_25_02_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/1/3ed7a01c9cac56ce7f9df9a9681b0689.jpg","text":"TemporaryFile(/tmp/multipartBody2473485973437929723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617413976,"filename":"image_25112025_23_25_00_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/1/3bbc65625a54b28f3f4ed6b0ba02e194.jpg","text":"TemporaryFile(/tmp/multipartBody1953274842993887788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617413976,"filename":"image_25112025_23_24_49_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/21248cd32c92808d1c2f990a0f0931fe.jpg","text":"TemporaryFile(/tmp/multipartBody5827973934775886567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617413976,"filename":"image_25112025_23_24_46_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/1/1231a7a9d68a84a1f7ae260a2eff3ddf.jpg","text":"TemporaryFile(/tmp/multipartBody8850763717655158018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617413976,"filename":"image_25112025_23_24_58_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/1/0caac99e8bdc7d49d439c8f2fc07c722.jpg","text":"TemporaryFile(/tmp/multipartBody6553256427114462564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617413976,"filename":"image_25112025_23_24_57_7771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397251778","file1":"1397251773","file0":"1397251769","file4":"1397251788","file5":"1397251791","file3":"1397251784"},"map_files_photo_id_array":[{"photo_id":"1397251791","filename":"file5"},{"photo_id":"1397251778","filename":"file2"},{"photo_id":"1397251788","filename":"file4"},{"photo_id":"1397251773","filename":"file1"},{"photo_id":"1397251769","filename":"file0"},{"photo_id":"1397251784","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397251791":["hashtag1","hashtag2"]},{"1397251788":["hashtag1","hashtag2"]},{"1397251773":["hashtag1","hashtag2"]},{"1397251769":["hashtag1","hashtag2"]},{"1397251784":["hashtag1","hashtag2"]},{"1397251778":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397251791, 1397251788, 1397251773, 1397251769, 1397251784, 1397251778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.0968222618103 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:30:02.971392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/15/image_01122025_17_15_44_9802.jpg', '/home/pi/Desktop/images/01122025/17/15/image_01122025_17_15_55_10569.jpg', '/home/pi/Desktop/images/01122025/17/15/image_01122025_17_16_04_9698.jpg', '/home/pi/Desktop/images/01122025/17/16/image_01122025_17_16_14_9758.jpg', '/home/pi/Desktop/images/01122025/17/16/image_01122025_17_16_25_10638.jpg', '/home/pi/Desktop/images/01122025/17/16/image_01122025_17_16_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/15/image_01122025_17_15_44_9802.jpg
/home/pi/Desktop/images/01122025/17/15/image_01122025_17_15_55_10569.jpg
/home/pi/Desktop/images/01122025/17/15/image_01122025_17_16_04_9698.jpg
/home/pi/Desktop/images/01122025/17/16/image_01122025_17_16_14_9758.jpg
/home/pi/Desktop/images/01122025/17/16/image_01122025_17_16_25_10638.jpg
/home/pi/Desktop/images/01122025/17/16/image_01122025_17_16_34_9561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397251810","1397251807","1397251797","1397251801","1397251799","1397251803"],"photo_ids_order":["1397251797","1397251799","1397251801","1397251803","1397251807","1397251810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ee4a0b29b56e90511f0b190a6d40b85b.jpg","text":"TemporaryFile(/tmp/multipartBody7292763834884757853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617463812,"filename":"image_01122025_17_16_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/1/211c9a2b8b53be23f76212d21056cbd7.jpg","text":"TemporaryFile(/tmp/multipartBody4387335662893212054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617463812,"filename":"image_01122025_17_16_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/1/128e7ae332b5763b3d062c0711bdb365.jpg","text":"TemporaryFile(/tmp/multipartBody6054879359464288230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617463812,"filename":"image_01122025_17_15_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/1/98601590927e2acd008b64f8f3b5f97d.jpg","text":"TemporaryFile(/tmp/multipartBody4528952233487709000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617463812,"filename":"image_01122025_17_16_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/1/4f03194ec1d6fd3054ac3e5bf938bf5b.jpg","text":"TemporaryFile(/tmp/multipartBody162328689860937391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617463812,"filename":"image_01122025_17_15_55_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/16e1f70a6d771d144add7c78ad88d088.jpg","text":"TemporaryFile(/tmp/multipartBody8986216258199338628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617463812,"filename":"image_01122025_17_16_14_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397251801","file1":"1397251799","file0":"1397251797","file4":"1397251807","file5":"1397251810","file3":"1397251803"},"map_files_photo_id_array":[{"photo_id":"1397251810","filename":"file5"},{"photo_id":"1397251801","filename":"file2"},{"photo_id":"1397251807","filename":"file4"},{"photo_id":"1397251799","filename":"file1"},{"photo_id":"1397251797","filename":"file0"},{"photo_id":"1397251803","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397251810":["hashtag1","hashtag2"]},{"1397251807":["hashtag1","hashtag2"]},{"1397251797":["hashtag1","hashtag2"]},{"1397251801":["hashtag1","hashtag2"]},{"1397251799":["hashtag1","hashtag2"]},{"1397251803":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397251810, 1397251807, 1397251797, 1397251801, 1397251799, 1397251803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76577973365784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 20:30:42.624551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_54_2645.jpg', '/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_56_2611.jpg', '/home/pi/Desktop/images/31102025/14/57/image_31102025_14_58_00_3629.jpg', '/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_02_2655.jpg', '/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_05_2749.jpg', '/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_09_3644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_54_2645.jpg
/home/pi/Desktop/images/31102025/14/57/image_31102025_14_57_56_2611.jpg
/home/pi/Desktop/images/31102025/14/57/image_31102025_14_58_00_3629.jpg
/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_02_2655.jpg
/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_05_2749.jpg
/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_09_3644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397251901","1397251849","1397251918","1397251819","1397251902","1397251818"],"photo_ids_order":["1397251818","1397251819","1397251849","1397251901","1397251902","1397251918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2633467b6e18a3f0f955b8d88f16a7f8.jpg","text":"TemporaryFile(/tmp/multipartBody3091039017665045922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617506784,"filename":"image_31102025_14_58_02_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9102d65c3056bb9c39be6d3c7ee2ebd6.jpg","text":"TemporaryFile(/tmp/multipartBody1065747995851634693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617506784,"filename":"image_31102025_14_58_00_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/946325253f81a17685072b6e8a0826fc.jpg","text":"TemporaryFile(/tmp/multipartBody8681315694965833666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617506784,"filename":"image_31102025_14_58_09_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/1/5b15c8ceb6009ab63850d4e79acd2b5e.jpg","text":"TemporaryFile(/tmp/multipartBody5219493018746046859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617506784,"filename":"image_31102025_14_57_56_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/1/42075dd5dc9847fe9c884989e0218d4d.jpg","text":"TemporaryFile(/tmp/multipartBody8444720259444510191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617506784,"filename":"image_31102025_14_58_05_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/1/ef139fcfa270cc985d8947f074413610.jpg","text":"TemporaryFile(/tmp/multipartBody6563833690951101043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617506784,"filename":"image_31102025_14_57_54_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397251849","file1":"1397251819","file0":"1397251818","file4":"1397251902","file5":"1397251918","file3":"1397251901"},"map_files_photo_id_array":[{"photo_id":"1397251918","filename":"file5"},{"photo_id":"1397251849","filename":"file2"},{"photo_id":"1397251902","filename":"file4"},{"photo_id":"1397251819","filename":"file1"},{"photo_id":"1397251818","filename":"file0"},{"photo_id":"1397251901","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397251901":["hashtag1","hashtag2"]},{"1397251849":["hashtag1","hashtag2"]},{"1397251918":["hashtag1","hashtag2"]},{"1397251819":["hashtag1","hashtag2"]},{"1397251902":["hashtag1","hashtag2"]},{"1397251818":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397251901, 1397251849, 1397251918, 1397251819, 1397251902, 1397251818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.776811361312866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 20:31:32.798941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_04_2532.jpg', '/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_07_2700.jpg', '/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_10_2740.jpg', '/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_13_3754.jpg', '/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_16_2564.jpg', '/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_19_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_04_2532.jpg
/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_07_2700.jpg
/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_10_2740.jpg
/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_13_3754.jpg
/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_16_2564.jpg
/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_19_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":["1397251996","1397251987","1397252011","1397251983","1397252004","1397251952"],"photo_ids_order":["1397251952","1397251983","1397251987","1397251996","1397252004","1397252011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/938b5cd4db2617ff6fad73a91f11d284.jpg","text":"TemporaryFile(/tmp/multipartBody8371069586291300662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617554468,"filename":"image_25112025_23_25_13_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/1/bb02c6c3a1acbb245f4b36ab553fcee1.jpg","text":"TemporaryFile(/tmp/multipartBody2740133742122698101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617554468,"filename":"image_25112025_23_25_10_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/1/9c5ff2e10fc1e6695e79318588925d83.jpg","text":"TemporaryFile(/tmp/multipartBody5562704336862334610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617554468,"filename":"image_25112025_23_25_19_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/1/0c1177334bd03c94c972c018f60e2892.jpg","text":"TemporaryFile(/tmp/multipartBody1161759863806539273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617554468,"filename":"image_25112025_23_25_07_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a82c3887a1c73dada9c50aa5de6e65f1.jpg","text":"TemporaryFile(/tmp/multipartBody8416539898324754758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617554468,"filename":"image_25112025_23_25_16_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/74ca955190264fdeb3132c62f9d6a769.jpg","text":"TemporaryFile(/tmp/multipartBody7195303555226975804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617554468,"filename":"image_25112025_23_25_04_2532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397251987","file1":"1397251983","file0":"1397251952","file4":"1397252004","file5":"1397252011","file3":"1397251996"},"map_files_photo_id_array":[{"photo_id":"1397252011","filename":"file5"},{"photo_id":"1397251987","filename":"file2"},{"photo_id":"1397252004","filename":"file4"},{"photo_id":"1397251983","filename":"file1"},{"photo_id":"1397251952","filename":"file0"},{"photo_id":"1397251996","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397251996":["hashtag1","hashtag2"]},{"1397251987":["hashtag1","hashtag2"]},{"1397252011":["hashtag1","hashtag2"]},{"1397251983":["hashtag1","hashtag2"]},{"1397252004":["hashtag1","hashtag2"]},{"1397251952":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397251996, 1397251987, 1397252011, 1397251983, 1397252004, 1397251952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24939751625061 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 20:32:12.065066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_22_3605.jpg', '/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_25_2522.jpg', '/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_28_2727.jpg', '/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_31_3870.jpg', '/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_35_3569.jpg', '/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_37_1632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_22_3605.jpg
/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_25_2522.jpg
/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_28_2727.jpg
/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_31_3870.jpg
/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_35_3569.jpg
/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_37_1632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397252053","1397252056","1397252058","1397252043","1397252049","1397252018"],"photo_ids_order":["1397252018","1397252043","1397252049","1397252053","1397252056","1397252058"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/98a26679a2a029070fd4d6608d3b3029.jpg","text":"TemporaryFile(/tmp/multipartBody7874837133363730999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617593663,"filename":"image_25112025_23_25_31_3870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cfb54c18b8fadcbd1b7e096585b00cf0.jpg","text":"TemporaryFile(/tmp/multipartBody5483812132503910025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617593663,"filename":"image_25112025_23_25_35_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/1/fdfea3e82417687fb76a22ce68a5948e.jpg","text":"TemporaryFile(/tmp/multipartBody286096406638981813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617593663,"filename":"image_25112025_23_25_37_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6498620cb05c1e72660bc32e7040b11a.jpg","text":"TemporaryFile(/tmp/multipartBody6312199177183965362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617593663,"filename":"image_25112025_23_25_25_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a1174cfe72a7f95caf791bea355d15d8.jpg","text":"TemporaryFile(/tmp/multipartBody8773009015320362639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617593663,"filename":"image_25112025_23_25_28_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/1/0af819c2b9ea7c02e89c2882f670ee8f.jpg","text":"TemporaryFile(/tmp/multipartBody7612356971640242379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617593663,"filename":"image_25112025_23_25_22_3605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397252049","file1":"1397252043","file0":"1397252018","file4":"1397252056","file5":"1397252058","file3":"1397252053"},"map_files_photo_id_array":[{"photo_id":"1397252058","filename":"file5"},{"photo_id":"1397252049","filename":"file2"},{"photo_id":"1397252056","filename":"file4"},{"photo_id":"1397252043","filename":"file1"},{"photo_id":"1397252018","filename":"file0"},{"photo_id":"1397252053","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397252053":["hashtag1","hashtag2"]},{"1397252056":["hashtag1","hashtag2"]},{"1397252058":["hashtag1","hashtag2"]},{"1397252043":["hashtag1","hashtag2"]},{"1397252049":["hashtag1","hashtag2"]},{"1397252018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397252053, 1397252056, 1397252058, 1397252043, 1397252049, 1397252018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.700708627700806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:33:02.948622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/16/image_01122025_17_16_44_9637.jpg', '/home/pi/Desktop/images/01122025/17/16/image_01122025_17_16_55_10566.jpg', '/home/pi/Desktop/images/01122025/17/16/image_01122025_17_17_04_9699.jpg', '/home/pi/Desktop/images/01122025/17/17/image_01122025_17_17_14_9754.jpg', '/home/pi/Desktop/images/01122025/17/17/image_01122025_17_17_25_10802.jpg', '/home/pi/Desktop/images/01122025/17/17/image_01122025_17_17_35_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/16/image_01122025_17_16_44_9637.jpg
/home/pi/Desktop/images/01122025/17/16/image_01122025_17_16_55_10566.jpg
/home/pi/Desktop/images/01122025/17/16/image_01122025_17_17_04_9699.jpg
/home/pi/Desktop/images/01122025/17/17/image_01122025_17_17_14_9754.jpg
/home/pi/Desktop/images/01122025/17/17/image_01122025_17_17_25_10802.jpg
/home/pi/Desktop/images/01122025/17/17/image_01122025_17_17_35_9747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397252149","1397252134","1397252136","1397252145","1397252139","1397252141"],"photo_ids_order":["1397252134","1397252136","1397252139","1397252141","1397252145","1397252149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d62b8a26b807e6566a7d350f21a39d27.jpg","text":"TemporaryFile(/tmp/multipartBody3799725153153970709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617643702,"filename":"image_01122025_17_17_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/1/75a08ad598c80c28dfa3765bb268e007.jpg","text":"TemporaryFile(/tmp/multipartBody396063347749339331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617643702,"filename":"image_01122025_17_16_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/1/d5c599e6be0bfd9cb3ad127a8da5fcb6.jpg","text":"TemporaryFile(/tmp/multipartBody2096978486814581498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617643702,"filename":"image_01122025_17_16_55_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0c3aacd048f01a24dda23e71de9653ed.jpg","text":"TemporaryFile(/tmp/multipartBody3256786379216464483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617643702,"filename":"image_01122025_17_17_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/1/9b36a749a39662e40a37ff65585c24b3.jpg","text":"TemporaryFile(/tmp/multipartBody3781952471527518649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617643702,"filename":"image_01122025_17_17_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/1/8bce8b94321211d54a17180a3d8b10a7.jpg","text":"TemporaryFile(/tmp/multipartBody2690784902666584800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617643702,"filename":"image_01122025_17_17_14_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397252139","file1":"1397252136","file0":"1397252134","file4":"1397252145","file5":"1397252149","file3":"1397252141"},"map_files_photo_id_array":[{"photo_id":"1397252149","filename":"file5"},{"photo_id":"1397252139","filename":"file2"},{"photo_id":"1397252145","filename":"file4"},{"photo_id":"1397252136","filename":"file1"},{"photo_id":"1397252134","filename":"file0"},{"photo_id":"1397252141","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397252149":["hashtag1","hashtag2"]},{"1397252134":["hashtag1","hashtag2"]},{"1397252136":["hashtag1","hashtag2"]},{"1397252145":["hashtag1","hashtag2"]},{"1397252139":["hashtag1","hashtag2"]},{"1397252141":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397252149, 1397252134, 1397252136, 1397252145, 1397252139, 1397252141)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.820202112197876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:34:03.155327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/17/image_01122025_17_17_44_9748.jpg', '/home/pi/Desktop/images/01122025/17/17/image_01122025_17_17_55_10587.jpg', '/home/pi/Desktop/images/01122025/17/17/image_01122025_17_18_04_9602.jpg', '/home/pi/Desktop/images/01122025/17/18/image_01122025_17_18_14_9569.jpg', '/home/pi/Desktop/images/01122025/17/18/image_01122025_17_18_25_10728.jpg', '/home/pi/Desktop/images/01122025/17/18/image_01122025_17_18_34_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/17/image_01122025_17_17_44_9748.jpg
/home/pi/Desktop/images/01122025/17/17/image_01122025_17_17_55_10587.jpg
/home/pi/Desktop/images/01122025/17/17/image_01122025_17_18_04_9602.jpg
/home/pi/Desktop/images/01122025/17/18/image_01122025_17_18_14_9569.jpg
/home/pi/Desktop/images/01122025/17/18/image_01122025_17_18_25_10728.jpg
/home/pi/Desktop/images/01122025/17/18/image_01122025_17_18_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":["1397252170","1397252166","1397252163","1397252157","1397252159","1397252161"],"photo_ids_order":["1397252157","1397252159","1397252161","1397252163","1397252166","1397252170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1cb6f5516ebadcb5e1523f260d9c6b0b.jpg","text":"TemporaryFile(/tmp/multipartBody6981760610824839133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617704004,"filename":"image_01122025_17_18_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/1/b3cb2fab1831af2ac72d1c30076fe89b.jpg","text":"TemporaryFile(/tmp/multipartBody8887214774602748989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617704004,"filename":"image_01122025_17_18_25_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/837801d43dced7212b1a9919444da094.jpg","text":"TemporaryFile(/tmp/multipartBody422169876298820466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617704004,"filename":"image_01122025_17_18_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/1/55d676bb604f544a194bd69d25de1fc2.jpg","text":"TemporaryFile(/tmp/multipartBody4084800189426329001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617704004,"filename":"image_01122025_17_17_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/1/3b1fb46b00e1e23bbe8e0ae2f0b63cf3.jpg","text":"TemporaryFile(/tmp/multipartBody4285882484997944319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617704004,"filename":"image_01122025_17_17_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/1/d6c0dcef83b4d56cc0de59fff8cca8e7.jpg","text":"TemporaryFile(/tmp/multipartBody8430424910062760615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617704004,"filename":"image_01122025_17_18_04_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397252161","file1":"1397252159","file0":"1397252157","file4":"1397252166","file5":"1397252170","file3":"1397252163"},"map_files_photo_id_array":[{"photo_id":"1397252170","filename":"file5"},{"photo_id":"1397252161","filename":"file2"},{"photo_id":"1397252166","filename":"file4"},{"photo_id":"1397252159","filename":"file1"},{"photo_id":"1397252157","filename":"file0"},{"photo_id":"1397252163","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397252170":["hashtag1","hashtag2"]},{"1397252166":["hashtag1","hashtag2"]},{"1397252163":["hashtag1","hashtag2"]},{"1397252157":["hashtag1","hashtag2"]},{"1397252159":["hashtag1","hashtag2"]},{"1397252161":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397252170, 1397252166, 1397252163, 1397252157, 1397252159, 1397252161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53659772872925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 20:34:42.483745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_11_2567.jpg', '/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_14_2602.jpg', '/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_18_3714.jpg', '/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_21_2901.jpg', '/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_31_10437.jpg', '/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_33_1658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_11_2567.jpg
/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_14_2602.jpg
/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_18_3714.jpg
/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_21_2901.jpg
/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_31_10437.jpg
/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_33_1658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397252185","1397252181","1397252178","1397252183","1397252180","1397252182"],"photo_ids_order":["1397252178","1397252180","1397252181","1397252182","1397252183","1397252185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9a60cac108fdf857cff7677b63c0d986.jpg","text":"TemporaryFile(/tmp/multipartBody2577658822777985231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617745041,"filename":"image_31102025_14_58_33_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/1/89cc8b25a06313560799e7454155e57d.jpg","text":"TemporaryFile(/tmp/multipartBody5315886586634290319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617745041,"filename":"image_31102025_14_58_18_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3ea90060faf61a9865329ed7433e67e3.jpg","text":"TemporaryFile(/tmp/multipartBody6717707630481156304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617745041,"filename":"image_31102025_14_58_11_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/1/0fb6bde44228bdd9bf730ea324d4f408.jpg","text":"TemporaryFile(/tmp/multipartBody7890523765204574623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617745041,"filename":"image_31102025_14_58_31_10437.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d3e3651e28f895e1b25a3edb13abb9e2.jpg","text":"TemporaryFile(/tmp/multipartBody576784587903609744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617745041,"filename":"image_31102025_14_58_14_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f76c8840ba9b3de3d4bb46cd31e5b44e.jpg","text":"TemporaryFile(/tmp/multipartBody3711204228529910468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617745041,"filename":"image_31102025_14_58_21_2901.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397252181","file1":"1397252180","file0":"1397252178","file4":"1397252183","file5":"1397252185","file3":"1397252182"},"map_files_photo_id_array":[{"photo_id":"1397252185","filename":"file5"},{"photo_id":"1397252181","filename":"file2"},{"photo_id":"1397252183","filename":"file4"},{"photo_id":"1397252180","filename":"file1"},{"photo_id":"1397252178","filename":"file0"},{"photo_id":"1397252182","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397252185":["hashtag1","hashtag2"]},{"1397252181":["hashtag1","hashtag2"]},{"1397252178":["hashtag1","hashtag2"]},{"1397252183":["hashtag1","hashtag2"]},{"1397252180":["hashtag1","hashtag2"]},{"1397252182":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397252185, 1397252181, 1397252178, 1397252183, 1397252180, 1397252182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.37105107307434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 20:35:32.651400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_40_3822.jpg', '/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_43_2718.jpg', '/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_46_2567.jpg', '/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_49_3642.jpg', '/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_52_2782.jpg', '/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_55_2569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_40_3822.jpg
/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_43_2718.jpg
/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_46_2567.jpg
/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_49_3642.jpg
/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_52_2782.jpg
/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_55_2569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397252199","1397252203","1397252196","1397252202","1397252204","1397252194"],"photo_ids_order":["1397252194","1397252196","1397252199","1397252202","1397252203","1397252204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b56a81a82f46ed1044f21dfcd00c56ee.jpg","text":"TemporaryFile(/tmp/multipartBody4147354758364479996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617794364,"filename":"image_25112025_23_25_46_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/1/301d491548ddbcd8cc4a0c96e8a4653d.jpg","text":"TemporaryFile(/tmp/multipartBody4591099110933901415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617794364,"filename":"image_25112025_23_25_52_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/1/63f311b0a453509f688e8dff34391107.jpg","text":"TemporaryFile(/tmp/multipartBody440764664598426061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617794364,"filename":"image_25112025_23_25_43_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/1/a9034c28bd43593d7986ea6dd8ae3430.jpg","text":"TemporaryFile(/tmp/multipartBody7611695411048669109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617794364,"filename":"image_25112025_23_25_49_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/19da0a785a8ff0612b4aab24827577e0.jpg","text":"TemporaryFile(/tmp/multipartBody6866306272495354342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617794364,"filename":"image_25112025_23_25_55_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/1/fbcccf027cfc7e72007e81f0f8ac824a.jpg","text":"TemporaryFile(/tmp/multipartBody962427324204360327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617794364,"filename":"image_25112025_23_25_40_3822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397252199","file1":"1397252196","file0":"1397252194","file4":"1397252203","file5":"1397252204","file3":"1397252202"},"map_files_photo_id_array":[{"photo_id":"1397252204","filename":"file5"},{"photo_id":"1397252199","filename":"file2"},{"photo_id":"1397252203","filename":"file4"},{"photo_id":"1397252196","filename":"file1"},{"photo_id":"1397252194","filename":"file0"},{"photo_id":"1397252202","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397252199":["hashtag1","hashtag2"]},{"1397252203":["hashtag1","hashtag2"]},{"1397252196":["hashtag1","hashtag2"]},{"1397252202":["hashtag1","hashtag2"]},{"1397252204":["hashtag1","hashtag2"]},{"1397252194":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397252199, 1397252203, 1397252196, 1397252202, 1397252204, 1397252194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.946202516555786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 20:36:21.852520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/18/image_01122025_17_18_44_9710.jpg', '/home/pi/Desktop/images/01122025/17/18/image_01122025_17_18_54_9798.jpg', '/home/pi/Desktop/images/01122025/17/18/image_01122025_17_19_05_10811.jpg', '/home/pi/Desktop/images/01122025/17/19/image_01122025_17_19_15_9816.jpg', '/home/pi/Desktop/images/01122025/17/19/image_01122025_17_19_24_9608.jpg', '/home/pi/Desktop/images/01122025/17/19/image_01122025_17_19_34_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/18/image_01122025_17_18_44_9710.jpg
/home/pi/Desktop/images/01122025/17/18/image_01122025_17_18_54_9798.jpg
/home/pi/Desktop/images/01122025/17/18/image_01122025_17_19_05_10811.jpg
/home/pi/Desktop/images/01122025/17/19/image_01122025_17_19_15_9816.jpg
/home/pi/Desktop/images/01122025/17/19/image_01122025_17_19_24_9608.jpg
/home/pi/Desktop/images/01122025/17/19/image_01122025_17_19_34_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397252257","1397252251","1397252254","1397252211","1397252264","1397252260"],"photo_ids_order":["1397252211","1397252251","1397252254","1397252257","1397252260","1397252264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/917e519c7027297cc062ea3519962175.jpg","text":"TemporaryFile(/tmp/multipartBody8537151695247424303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617842620,"filename":"image_01122025_17_19_15_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/66b8f8e59ab9726e3dcc0ecbca3a85c1.jpg","text":"TemporaryFile(/tmp/multipartBody7238939572812862217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617842620,"filename":"image_01122025_17_18_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/1/32834d13efa7f4e703d9dacda956e390.jpg","text":"TemporaryFile(/tmp/multipartBody7292410098034882013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617842620,"filename":"image_01122025_17_19_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/1/a587f2d61520704923c017c970518cfc.jpg","text":"TemporaryFile(/tmp/multipartBody574135118578324308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617842620,"filename":"image_01122025_17_18_44_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0d62d4c8e8eadd225e9c88e49a2c352a.jpg","text":"TemporaryFile(/tmp/multipartBody7897161135749876613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617842620,"filename":"image_01122025_17_19_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/1/010d757d161c1fd6cad7303d91c49df2.jpg","text":"TemporaryFile(/tmp/multipartBody757294495127328704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617842620,"filename":"image_01122025_17_19_24_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397252254","file1":"1397252251","file0":"1397252211","file4":"1397252260","file5":"1397252264","file3":"1397252257"},"map_files_photo_id_array":[{"photo_id":"1397252264","filename":"file5"},{"photo_id":"1397252254","filename":"file2"},{"photo_id":"1397252260","filename":"file4"},{"photo_id":"1397252251","filename":"file1"},{"photo_id":"1397252211","filename":"file0"},{"photo_id":"1397252257","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397252257":["hashtag1","hashtag2"]},{"1397252251":["hashtag1","hashtag2"]},{"1397252254":["hashtag1","hashtag2"]},{"1397252211":["hashtag1","hashtag2"]},{"1397252264":["hashtag1","hashtag2"]},{"1397252260":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397252257, 1397252251, 1397252254, 1397252211, 1397252264, 1397252260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18802332878113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:37:02.740030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/19/image_01122025_17_19_45_10686.jpg', '/home/pi/Desktop/images/01122025/17/20/image_01122025_17_20_14_10058.jpg', '/home/pi/Desktop/images/01122025/17/20/image_01122025_17_20_24_9960.jpg', '/home/pi/Desktop/images/01122025/17/20/image_01122025_17_20_34_10051.jpg', '/home/pi/Desktop/images/01122025/17/20/image_01122025_17_20_45_10728.jpg', '/home/pi/Desktop/images/01122025/17/20/image_01122025_17_20_55_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/19/image_01122025_17_19_45_10686.jpg
/home/pi/Desktop/images/01122025/17/20/image_01122025_17_20_14_10058.jpg
/home/pi/Desktop/images/01122025/17/20/image_01122025_17_20_24_9960.jpg
/home/pi/Desktop/images/01122025/17/20/image_01122025_17_20_34_10051.jpg
/home/pi/Desktop/images/01122025/17/20/image_01122025_17_20_45_10728.jpg
/home/pi/Desktop/images/01122025/17/20/image_01122025_17_20_55_9809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397252271","1397252265","1397252274","1397252268","1397252277","1397252282"],"photo_ids_order":["1397252265","1397252268","1397252271","1397252274","1397252277","1397252282"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7a7bf28b846b36747582922c70f57399.jpg","text":"TemporaryFile(/tmp/multipartBody3748812971774985338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617883586,"filename":"image_01122025_17_20_24_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/1/0d8e74e30229527bb72c4fe9c838124c.jpg","text":"TemporaryFile(/tmp/multipartBody8606405025350940198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617883586,"filename":"image_01122025_17_19_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/1/864ff8f6cff3091d39db82186d261ec4.jpg","text":"TemporaryFile(/tmp/multipartBody4315734739695463458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617883586,"filename":"image_01122025_17_20_34_10051.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4fa9644ee6667684175dd51f47c2fd15.jpg","text":"TemporaryFile(/tmp/multipartBody4448236649407875223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617883586,"filename":"image_01122025_17_20_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/1/1689a5b1562865ffdbf7667bb32b8b32.jpg","text":"TemporaryFile(/tmp/multipartBody5738948285892114878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617883586,"filename":"image_01122025_17_20_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/1/4511bf398af42bb0e5f7053cb3ef51aa.jpg","text":"TemporaryFile(/tmp/multipartBody2037019557139783351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617883586,"filename":"image_01122025_17_20_55_9809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397252271","file1":"1397252268","file0":"1397252265","file4":"1397252277","file5":"1397252282","file3":"1397252274"},"map_files_photo_id_array":[{"photo_id":"1397252282","filename":"file5"},{"photo_id":"1397252271","filename":"file2"},{"photo_id":"1397252277","filename":"file4"},{"photo_id":"1397252268","filename":"file1"},{"photo_id":"1397252265","filename":"file0"},{"photo_id":"1397252274","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397252271":["hashtag1","hashtag2"]},{"1397252265":["hashtag1","hashtag2"]},{"1397252274":["hashtag1","hashtag2"]},{"1397252268":["hashtag1","hashtag2"]},{"1397252277":["hashtag1","hashtag2"]},{"1397252282":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397252271, 1397252265, 1397252274, 1397252268, 1397252277, 1397252282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.734562397003174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 20:37:42.017804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_34_1662.jpg', '/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_36_1601.jpg', '/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_38_1534.jpg', '/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_39_1629.jpg', '/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_42_2596.jpg', '/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_44_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_34_1662.jpg
/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_36_1601.jpg
/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_38_1534.jpg
/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_39_1629.jpg
/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_42_2596.jpg
/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_44_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":["1397252371","1397252373","1397252375","1397252307","1397252288","1397252369"],"photo_ids_order":["1397252288","1397252307","1397252369","1397252371","1397252373","1397252375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b64fe8b854ad5d19adee8eda42999c02.jpg","text":"TemporaryFile(/tmp/multipartBody4880433583819778974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617924527,"filename":"image_31102025_14_58_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/1/51ad7cd64c848fccbe6519618e6560bb.jpg","text":"TemporaryFile(/tmp/multipartBody358907320754347033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617924527,"filename":"image_31102025_14_58_42_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/005f5572d29023e957385b311e8df124.jpg","text":"TemporaryFile(/tmp/multipartBody9058782351533476472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617924527,"filename":"image_31102025_14_58_44_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4817a2c487ef8ab7286e2bb9134a9155.jpg","text":"TemporaryFile(/tmp/multipartBody6817933326366493781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617924527,"filename":"image_31102025_14_58_36_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/1/4820b086accd0617b1e307ebc7b8a746.jpg","text":"TemporaryFile(/tmp/multipartBody1219747645826137006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617924527,"filename":"image_31102025_14_58_34_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/1/5d9f33bbfec59fd07d1b27b3d4ab8734.jpg","text":"TemporaryFile(/tmp/multipartBody2370144387504583701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617924527,"filename":"image_31102025_14_58_38_1534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397252369","file1":"1397252307","file0":"1397252288","file4":"1397252373","file5":"1397252375","file3":"1397252371"},"map_files_photo_id_array":[{"photo_id":"1397252375","filename":"file5"},{"photo_id":"1397252369","filename":"file2"},{"photo_id":"1397252373","filename":"file4"},{"photo_id":"1397252307","filename":"file1"},{"photo_id":"1397252288","filename":"file0"},{"photo_id":"1397252371","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397252371":["hashtag1","hashtag2"]},{"1397252373":["hashtag1","hashtag2"]},{"1397252375":["hashtag1","hashtag2"]},{"1397252307":["hashtag1","hashtag2"]},{"1397252288":["hashtag1","hashtag2"]},{"1397252369":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397252371, 1397252373, 1397252375, 1397252307, 1397252288, 1397252369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.335408210754395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 20:38:22.295733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/20/image_01122025_17_21_05_9730.jpg', '/home/pi/Desktop/images/01122025/17/21/image_01122025_17_21_14_9669.jpg', '/home/pi/Desktop/images/01122025/17/21/image_01122025_17_21_25_10589.jpg', '/home/pi/Desktop/images/01122025/17/21/image_01122025_17_21_35_9729.jpg', '/home/pi/Desktop/images/01122025/17/21/image_01122025_17_21_45_10670.jpg', '/home/pi/Desktop/images/01122025/17/21/image_01122025_17_21_55_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/20/image_01122025_17_21_05_9730.jpg
/home/pi/Desktop/images/01122025/17/21/image_01122025_17_21_14_9669.jpg
/home/pi/Desktop/images/01122025/17/21/image_01122025_17_21_25_10589.jpg
/home/pi/Desktop/images/01122025/17/21/image_01122025_17_21_35_9729.jpg
/home/pi/Desktop/images/01122025/17/21/image_01122025_17_21_45_10670.jpg
/home/pi/Desktop/images/01122025/17/21/image_01122025_17_21_55_9688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397252382","1397252472","1397252454","1397252384","1397252386","1397252467"],"photo_ids_order":["1397252382","1397252384","1397252386","1397252454","1397252467","1397252472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9c0f221be47c059d33d3f1200e593757.jpg","text":"TemporaryFile(/tmp/multipartBody8325956452409489894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617963005,"filename":"image_01122025_17_21_05_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d193919ffd80fbefab53893c25b053d4.jpg","text":"TemporaryFile(/tmp/multipartBody6679337273800992177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617963005,"filename":"image_01122025_17_21_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/1/0451c15010a79321078c6ec7ef6a8732.jpg","text":"TemporaryFile(/tmp/multipartBody2420832568817902515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617963005,"filename":"image_01122025_17_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/1/6dbaf2ada0f16b1c439b1113028cb759.jpg","text":"TemporaryFile(/tmp/multipartBody923850897235652793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617963005,"filename":"image_01122025_17_21_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/1/5c5e87cfbd6a4ea9627d916d35d7044f.jpg","text":"TemporaryFile(/tmp/multipartBody5778449436847473173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617963005,"filename":"image_01122025_17_21_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/1/e57c23739c23c6a535caf97d9a8e52bc.jpg","text":"TemporaryFile(/tmp/multipartBody5664692780171896034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764617963005,"filename":"image_01122025_17_21_45_10670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397252386","file1":"1397252384","file0":"1397252382","file4":"1397252467","file5":"1397252472","file3":"1397252454"},"map_files_photo_id_array":[{"photo_id":"1397252472","filename":"file5"},{"photo_id":"1397252386","filename":"file2"},{"photo_id":"1397252467","filename":"file4"},{"photo_id":"1397252384","filename":"file1"},{"photo_id":"1397252382","filename":"file0"},{"photo_id":"1397252454","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397252382":["hashtag1","hashtag2"]},{"1397252472":["hashtag1","hashtag2"]},{"1397252454":["hashtag1","hashtag2"]},{"1397252384":["hashtag1","hashtag2"]},{"1397252386":["hashtag1","hashtag2"]},{"1397252467":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397252382, 1397252472, 1397252454, 1397252384, 1397252386, 1397252467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.393566608428955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:39:03.421991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/21/image_01122025_17_22_05_9669.jpg', '/home/pi/Desktop/images/01122025/17/22/image_01122025_17_22_14_9901.jpg', '/home/pi/Desktop/images/01122025/17/22/image_01122025_17_22_24_9764.jpg', '/home/pi/Desktop/images/01122025/17/22/image_01122025_17_22_35_10756.jpg', '/home/pi/Desktop/images/01122025/17/22/image_01122025_17_22_45_10157.jpg', '/home/pi/Desktop/images/01122025/17/22/image_01122025_17_22_55_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/21/image_01122025_17_22_05_9669.jpg
/home/pi/Desktop/images/01122025/17/22/image_01122025_17_22_14_9901.jpg
/home/pi/Desktop/images/01122025/17/22/image_01122025_17_22_24_9764.jpg
/home/pi/Desktop/images/01122025/17/22/image_01122025_17_22_35_10756.jpg
/home/pi/Desktop/images/01122025/17/22/image_01122025_17_22_45_10157.jpg
/home/pi/Desktop/images/01122025/17/22/image_01122025_17_22_55_9691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397252476","1397252542","1397252478","1397252526","1397252480","1397252522"],"photo_ids_order":["1397252476","1397252478","1397252480","1397252522","1397252526","1397252542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cf0fdc56697f734bed616c973ec4e192.jpg","text":"TemporaryFile(/tmp/multipartBody6488285399418959274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618004335,"filename":"image_01122025_17_22_05_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8c63dd39f4eec91c152f7a5ce14684c2.jpg","text":"TemporaryFile(/tmp/multipartBody5636659133863048615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618004335,"filename":"image_01122025_17_22_55_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d4ca0a72fc1a1d7e0a837065d3d0fc7a.jpg","text":"TemporaryFile(/tmp/multipartBody8957627508854286501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618004335,"filename":"image_01122025_17_22_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/1/1ae760efc347bed1e9bc8d2a8623af6b.jpg","text":"TemporaryFile(/tmp/multipartBody7169109413371049251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618004335,"filename":"image_01122025_17_22_45_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/1/5d4b1060ed4a08a567e26b10ceaa91ee.jpg","text":"TemporaryFile(/tmp/multipartBody5901305598992529177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618004335,"filename":"image_01122025_17_22_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/1/4f42f0483ce7a571271edd89516ac670.jpg","text":"TemporaryFile(/tmp/multipartBody1841657818982670937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618004335,"filename":"image_01122025_17_22_35_10756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397252480","file1":"1397252478","file0":"1397252476","file4":"1397252526","file5":"1397252542","file3":"1397252522"},"map_files_photo_id_array":[{"photo_id":"1397252542","filename":"file5"},{"photo_id":"1397252480","filename":"file2"},{"photo_id":"1397252526","filename":"file4"},{"photo_id":"1397252478","filename":"file1"},{"photo_id":"1397252476","filename":"file0"},{"photo_id":"1397252522","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397252476":["hashtag1","hashtag2"]},{"1397252542":["hashtag1","hashtag2"]},{"1397252478":["hashtag1","hashtag2"]},{"1397252526":["hashtag1","hashtag2"]},{"1397252480":["hashtag1","hashtag2"]},{"1397252522":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397252476, 1397252542, 1397252478, 1397252526, 1397252480, 1397252522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.88554382324219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:40:02.869655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/22/image_01122025_17_23_05_9695.jpg', '/home/pi/Desktop/images/01122025/17/23/image_01122025_17_23_15_10555.jpg', '/home/pi/Desktop/images/01122025/17/23/image_01122025_17_23_25_9855.jpg', '/home/pi/Desktop/images/01122025/17/23/image_01122025_17_23_35_9961.jpg', '/home/pi/Desktop/images/01122025/17/23/image_01122025_17_23_45_9686.jpg', '/home/pi/Desktop/images/01122025/17/23/image_01122025_17_23_55_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/22/image_01122025_17_23_05_9695.jpg
/home/pi/Desktop/images/01122025/17/23/image_01122025_17_23_15_10555.jpg
/home/pi/Desktop/images/01122025/17/23/image_01122025_17_23_25_9855.jpg
/home/pi/Desktop/images/01122025/17/23/image_01122025_17_23_35_9961.jpg
/home/pi/Desktop/images/01122025/17/23/image_01122025_17_23_45_9686.jpg
/home/pi/Desktop/images/01122025/17/23/image_01122025_17_23_55_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":["1397252560","1397252562","1397252567","1397252561","1397252555","1397252564"],"photo_ids_order":["1397252555","1397252560","1397252561","1397252562","1397252564","1397252567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8c709e355652dd67cd4d32d319b9d578.jpg","text":"TemporaryFile(/tmp/multipartBody4538100958375209826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618063631,"filename":"image_01122025_17_23_15_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/1/a1601b940a1ef750e4d53d97eb7c65e0.jpg","text":"TemporaryFile(/tmp/multipartBody3608762307143950489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618063631,"filename":"image_01122025_17_23_35_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/1/549458dbbfb78f74026e1d7ede9dc736.jpg","text":"TemporaryFile(/tmp/multipartBody2707619199514308124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618063631,"filename":"image_01122025_17_23_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/1/e9118e657c34752d26aa8d49f861b360.jpg","text":"TemporaryFile(/tmp/multipartBody5920809743978254844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618063631,"filename":"image_01122025_17_23_25_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/95cca64d51afe52f269a3e1aff5b57dd.jpg","text":"TemporaryFile(/tmp/multipartBody6929681808887841266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618063631,"filename":"image_01122025_17_23_05_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d2c91d7397e548faea59b4b5b000f3e7.jpg","text":"TemporaryFile(/tmp/multipartBody48812778744674741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618063631,"filename":"image_01122025_17_23_45_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397252561","file1":"1397252560","file0":"1397252555","file4":"1397252564","file5":"1397252567","file3":"1397252562"},"map_files_photo_id_array":[{"photo_id":"1397252567","filename":"file5"},{"photo_id":"1397252561","filename":"file2"},{"photo_id":"1397252564","filename":"file4"},{"photo_id":"1397252560","filename":"file1"},{"photo_id":"1397252555","filename":"file0"},{"photo_id":"1397252562","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397252560":["hashtag1","hashtag2"]},{"1397252562":["hashtag1","hashtag2"]},{"1397252567":["hashtag1","hashtag2"]},{"1397252561":["hashtag1","hashtag2"]},{"1397252555":["hashtag1","hashtag2"]},{"1397252564":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397252560, 1397252562, 1397252567, 1397252561, 1397252555, 1397252564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58212327957153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 20:40:42.600181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_47_2525.jpg', '/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_51_3720.jpg', '/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_53_2526.jpg', '/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_56_2641.jpg', '/home/pi/Desktop/images/31102025/14/58/image_31102025_14_59_00_3686.jpg', '/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_02_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_47_2525.jpg
/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_51_3720.jpg
/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_53_2526.jpg
/home/pi/Desktop/images/31102025/14/58/image_31102025_14_58_56_2641.jpg
/home/pi/Desktop/images/31102025/14/58/image_31102025_14_59_00_3686.jpg
/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_02_2611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397252647","1397252644","1397252643","1397252642","1397252645","1397252621"],"photo_ids_order":["1397252621","1397252642","1397252643","1397252644","1397252645","1397252647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9badd881c747feb96dba99c77811fda4.jpg","text":"TemporaryFile(/tmp/multipartBody4774828596059333143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618105088,"filename":"image_31102025_14_59_02_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/09b75b562997b5096334e80fdeceaede.jpg","text":"TemporaryFile(/tmp/multipartBody425462552886410523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618105088,"filename":"image_31102025_14_58_56_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c78435911db423ace9a6274c34e0012e.jpg","text":"TemporaryFile(/tmp/multipartBody3329524016766359641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618105088,"filename":"image_31102025_14_58_53_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3f2575a42b757a796373a5fd34b3603b.jpg","text":"TemporaryFile(/tmp/multipartBody4628945935658110876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618105088,"filename":"image_31102025_14_58_51_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/1/d1236636f346c5beb06612b9dc858b93.jpg","text":"TemporaryFile(/tmp/multipartBody9002014972989419592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618105088,"filename":"image_31102025_14_59_00_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/df5339f92b11782c99739fa73eca7e24.jpg","text":"TemporaryFile(/tmp/multipartBody5084707486179887243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618105088,"filename":"image_31102025_14_58_47_2525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397252643","file1":"1397252642","file0":"1397252621","file4":"1397252645","file5":"1397252647","file3":"1397252644"},"map_files_photo_id_array":[{"photo_id":"1397252647","filename":"file5"},{"photo_id":"1397252643","filename":"file2"},{"photo_id":"1397252645","filename":"file4"},{"photo_id":"1397252642","filename":"file1"},{"photo_id":"1397252621","filename":"file0"},{"photo_id":"1397252644","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397252647":["hashtag1","hashtag2"]},{"1397252644":["hashtag1","hashtag2"]},{"1397252643":["hashtag1","hashtag2"]},{"1397252642":["hashtag1","hashtag2"]},{"1397252645":["hashtag1","hashtag2"]},{"1397252621":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397252647, 1397252644, 1397252643, 1397252642, 1397252645, 1397252621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.83175468444824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 20:41:32.753636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_57_2727.jpg', '/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_04_2564.jpg', '/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_07_3771.jpg', '/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_10_2639.jpg', '/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_13_2560.jpg', '/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_16_3595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/25/image_25112025_23_25_57_2727.jpg
/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_04_2564.jpg
/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_07_3771.jpg
/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_10_2639.jpg
/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_13_2560.jpg
/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_16_3595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397252668","1397252653","1397252656","1397252661","1397252664","1397252666"],"photo_ids_order":["1397252653","1397252656","1397252661","1397252664","1397252666","1397252668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cdcb5c83c9efbd768c13a152728e6065.jpg","text":"TemporaryFile(/tmp/multipartBody3614688504612459388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618154423,"filename":"image_25112025_23_26_16_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/1/1ada441a2d21a9ce741a7469cf910f01.jpg","text":"TemporaryFile(/tmp/multipartBody973895218020643477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618154423,"filename":"image_25112025_23_25_57_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/1/4cf254038ac2e02656b23b1780a8fa0b.jpg","text":"TemporaryFile(/tmp/multipartBody2222472585549879484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618154423,"filename":"image_25112025_23_26_04_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/1/7fa8a0173ed513a739d3e0456aacdfbf.jpg","text":"TemporaryFile(/tmp/multipartBody2738188273674261527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618154423,"filename":"image_25112025_23_26_07_3771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1b7924c31601a099f4a9d85651802272.jpg","text":"TemporaryFile(/tmp/multipartBody1676901217010888223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618154423,"filename":"image_25112025_23_26_10_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7e010a273d45881643d566aa068d7115.jpg","text":"TemporaryFile(/tmp/multipartBody6084965567982213744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618154423,"filename":"image_25112025_23_26_13_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397252661","file1":"1397252656","file0":"1397252653","file4":"1397252666","file5":"1397252668","file3":"1397252664"},"map_files_photo_id_array":[{"photo_id":"1397252668","filename":"file5"},{"photo_id":"1397252661","filename":"file2"},{"photo_id":"1397252666","filename":"file4"},{"photo_id":"1397252656","filename":"file1"},{"photo_id":"1397252653","filename":"file0"},{"photo_id":"1397252664","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397252668":["hashtag1","hashtag2"]},{"1397252653":["hashtag1","hashtag2"]},{"1397252656":["hashtag1","hashtag2"]},{"1397252661":["hashtag1","hashtag2"]},{"1397252664":["hashtag1","hashtag2"]},{"1397252666":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397252668, 1397252653, 1397252656, 1397252661, 1397252664, 1397252666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.30680561065674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 20:42:21.953845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/23/image_01122025_17_24_05_9661.jpg', '/home/pi/Desktop/images/01122025/17/24/image_01122025_17_24_15_10110.jpg', '/home/pi/Desktop/images/01122025/17/24/image_01122025_17_24_25_9914.jpg', '/home/pi/Desktop/images/01122025/17/24/image_01122025_17_24_35_9710.jpg', '/home/pi/Desktop/images/01122025/17/24/image_01122025_17_24_45_10290.jpg', '/home/pi/Desktop/images/01122025/17/24/image_01122025_17_24_55_9890.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/23/image_01122025_17_24_05_9661.jpg
/home/pi/Desktop/images/01122025/17/24/image_01122025_17_24_15_10110.jpg
/home/pi/Desktop/images/01122025/17/24/image_01122025_17_24_25_9914.jpg
/home/pi/Desktop/images/01122025/17/24/image_01122025_17_24_35_9710.jpg
/home/pi/Desktop/images/01122025/17/24/image_01122025_17_24_45_10290.jpg
/home/pi/Desktop/images/01122025/17/24/image_01122025_17_24_55_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":["1397252680","1397252670","1397252673","1397252675","1397252669","1397252677"],"photo_ids_order":["1397252669","1397252670","1397252673","1397252675","1397252677","1397252680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ea419d98de0eb1efc5c20d4b2222ea6f.jpg","text":"TemporaryFile(/tmp/multipartBody449320724166855515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618202642,"filename":"image_01122025_17_24_55_9890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6cf1cc697f1a1671628247af5b8f7a31.jpg","text":"TemporaryFile(/tmp/multipartBody1096604435054007519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618202642,"filename":"image_01122025_17_24_15_10110.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/34eddb1da56c43582a2e729714a4a83d.jpg","text":"TemporaryFile(/tmp/multipartBody5130448966770529186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618202642,"filename":"image_01122025_17_24_25_9914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e877a8cb1ff01c87757b5a6b8940e889.jpg","text":"TemporaryFile(/tmp/multipartBody8505046619364726011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618202642,"filename":"image_01122025_17_24_35_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/97445d5b0d6dadc9e96989049f1913e1.jpg","text":"TemporaryFile(/tmp/multipartBody3117095023686342468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618202642,"filename":"image_01122025_17_24_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/1/ebb72cb2de7eab08232d7bfb31c96315.jpg","text":"TemporaryFile(/tmp/multipartBody6255059629349282622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618202642,"filename":"image_01122025_17_24_45_10290.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397252673","file1":"1397252670","file0":"1397252669","file4":"1397252677","file5":"1397252680","file3":"1397252675"},"map_files_photo_id_array":[{"photo_id":"1397252680","filename":"file5"},{"photo_id":"1397252673","filename":"file2"},{"photo_id":"1397252677","filename":"file4"},{"photo_id":"1397252670","filename":"file1"},{"photo_id":"1397252669","filename":"file0"},{"photo_id":"1397252675","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397252680":["hashtag1","hashtag2"]},{"1397252670":["hashtag1","hashtag2"]},{"1397252673":["hashtag1","hashtag2"]},{"1397252675":["hashtag1","hashtag2"]},{"1397252669":["hashtag1","hashtag2"]},{"1397252677":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397252680, 1397252670, 1397252673, 1397252675, 1397252669, 1397252677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.203420639038086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:43:02.904955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/25/image_01122025_17_25_14_10048.jpg', '/home/pi/Desktop/images/01122025/17/25/image_01122025_17_25_25_10808.jpg', '/home/pi/Desktop/images/01122025/17/25/image_01122025_17_25_35_9799.jpg', '/home/pi/Desktop/images/01122025/17/25/image_01122025_17_25_54_9691.jpg', '/home/pi/Desktop/images/01122025/17/25/image_01122025_17_26_04_10015.jpg', '/home/pi/Desktop/images/01122025/17/26/image_01122025_17_26_15_10200.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/25/image_01122025_17_25_14_10048.jpg
/home/pi/Desktop/images/01122025/17/25/image_01122025_17_25_25_10808.jpg
/home/pi/Desktop/images/01122025/17/25/image_01122025_17_25_35_9799.jpg
/home/pi/Desktop/images/01122025/17/25/image_01122025_17_25_54_9691.jpg
/home/pi/Desktop/images/01122025/17/25/image_01122025_17_26_04_10015.jpg
/home/pi/Desktop/images/01122025/17/26/image_01122025_17_26_15_10200.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397252689","1397252682","1397252685","1397252684","1397252687","1397252683"],"photo_ids_order":["1397252682","1397252683","1397252684","1397252685","1397252687","1397252689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ecea03bcd5f5bb634ddfde3122e36faa.jpg","text":"TemporaryFile(/tmp/multipartBody4383920647071643435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618243659,"filename":"image_01122025_17_26_15_10200.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3643d6dbe0f7e4a99d2d8cd15d144bb0.jpg","text":"TemporaryFile(/tmp/multipartBody4091440586436299427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618243659,"filename":"image_01122025_17_25_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/1/d9ca64737b04faa19fc4e69167d76c2b.jpg","text":"TemporaryFile(/tmp/multipartBody321506434764224325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618243659,"filename":"image_01122025_17_25_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/1/7340c5f70ea5607e3fa35caa7f5b92ef.jpg","text":"TemporaryFile(/tmp/multipartBody4299831456258950573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618243659,"filename":"image_01122025_17_25_35_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/67640898bd81234b0cf361ce1fdcecf0.jpg","text":"TemporaryFile(/tmp/multipartBody2232823429591159054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618243659,"filename":"image_01122025_17_26_04_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/1/d1d972e227687af7f224ce4153f2fd7f.jpg","text":"TemporaryFile(/tmp/multipartBody5150894338637033427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618243659,"filename":"image_01122025_17_25_25_10808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397252684","file1":"1397252683","file0":"1397252682","file4":"1397252687","file5":"1397252689","file3":"1397252685"},"map_files_photo_id_array":[{"photo_id":"1397252689","filename":"file5"},{"photo_id":"1397252684","filename":"file2"},{"photo_id":"1397252687","filename":"file4"},{"photo_id":"1397252683","filename":"file1"},{"photo_id":"1397252682","filename":"file0"},{"photo_id":"1397252685","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397252689":["hashtag1","hashtag2"]},{"1397252682":["hashtag1","hashtag2"]},{"1397252685":["hashtag1","hashtag2"]},{"1397252684":["hashtag1","hashtag2"]},{"1397252687":["hashtag1","hashtag2"]},{"1397252683":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397252689, 1397252682, 1397252685, 1397252684, 1397252687, 1397252683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.100897550582886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 20:43:42.186417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_05_2767.jpg', '/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_09_3637.jpg', '/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_11_2627.jpg', '/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_14_2775.jpg', '/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_17_2814.jpg', '/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_21_3699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_05_2767.jpg
/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_09_3637.jpg
/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_11_2627.jpg
/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_14_2775.jpg
/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_17_2814.jpg
/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_21_3699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397252701","1397252697","1397252700","1397252699","1397252695","1397252698"],"photo_ids_order":["1397252695","1397252697","1397252698","1397252699","1397252700","1397252701"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4bcd6db2562a21c5a836ea73fc8e438b.jpg","text":"TemporaryFile(/tmp/multipartBody4056650020495227494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618284699,"filename":"image_31102025_14_59_21_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/1/6126e2315847266801404ef8bbe098d5.jpg","text":"TemporaryFile(/tmp/multipartBody6516968308123700781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618284699,"filename":"image_31102025_14_59_09_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/1/95f47e6688601169db0d1390610899fe.jpg","text":"TemporaryFile(/tmp/multipartBody1481761438236015359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618284699,"filename":"image_31102025_14_59_17_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/1/d6017758d9fc0c2338664077aacbaa46.jpg","text":"TemporaryFile(/tmp/multipartBody8697703872259457254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618284699,"filename":"image_31102025_14_59_14_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a08361cd33c66db5aab39b4013610dec.jpg","text":"TemporaryFile(/tmp/multipartBody4520177856822908920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618284699,"filename":"image_31102025_14_59_05_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d33956d1a5536c0b5da652cbc5faa0d6.jpg","text":"TemporaryFile(/tmp/multipartBody3763455035820636703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618284699,"filename":"image_31102025_14_59_11_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397252698","file1":"1397252697","file0":"1397252695","file4":"1397252700","file5":"1397252701","file3":"1397252699"},"map_files_photo_id_array":[{"photo_id":"1397252701","filename":"file5"},{"photo_id":"1397252698","filename":"file2"},{"photo_id":"1397252700","filename":"file4"},{"photo_id":"1397252697","filename":"file1"},{"photo_id":"1397252695","filename":"file0"},{"photo_id":"1397252699","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397252701":["hashtag1","hashtag2"]},{"1397252697":["hashtag1","hashtag2"]},{"1397252700":["hashtag1","hashtag2"]},{"1397252699":["hashtag1","hashtag2"]},{"1397252695":["hashtag1","hashtag2"]},{"1397252698":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397252701, 1397252697, 1397252700, 1397252699, 1397252695, 1397252698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.15041494369507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 20:44:32.416021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_19_2683.jpg', '/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_22_2718.jpg', '/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_28_2644.jpg', '/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_31_2543.jpg', '/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_34_3643.jpg', '/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_37_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_19_2683.jpg
/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_22_2718.jpg
/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_28_2644.jpg
/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_31_2543.jpg
/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_34_3643.jpg
/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_37_2657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397252716","1397252710","1397252715","1397252717","1397252714","1397252708"],"photo_ids_order":["1397252708","1397252710","1397252714","1397252715","1397252716","1397252717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/860ecc29c5974d23b027f5fbb82af826.jpg","text":"TemporaryFile(/tmp/multipartBody3021167172677722007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618334093,"filename":"image_25112025_23_26_34_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/81eddb232e15ae70ffbcf1b89981d9b4.jpg","text":"TemporaryFile(/tmp/multipartBody98685817167822817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618334093,"filename":"image_25112025_23_26_22_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/1/0000d88512e18f6405b34f861e5d745c.jpg","text":"TemporaryFile(/tmp/multipartBody885345192495950100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618334093,"filename":"image_25112025_23_26_31_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e1000b93c2dc5f0ec0f899c77cc62fff.jpg","text":"TemporaryFile(/tmp/multipartBody2071695943392996287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618334093,"filename":"image_25112025_23_26_37_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/1/243a8354caafe208f4de95dc845ffd63.jpg","text":"TemporaryFile(/tmp/multipartBody4228015940411333902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618334093,"filename":"image_25112025_23_26_28_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/1/74884af781f4f0f89720379a27799d92.jpg","text":"TemporaryFile(/tmp/multipartBody8377696328811142343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618334093,"filename":"image_25112025_23_26_19_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397252714","file1":"1397252710","file0":"1397252708","file4":"1397252716","file5":"1397252717","file3":"1397252715"},"map_files_photo_id_array":[{"photo_id":"1397252717","filename":"file5"},{"photo_id":"1397252714","filename":"file2"},{"photo_id":"1397252716","filename":"file4"},{"photo_id":"1397252710","filename":"file1"},{"photo_id":"1397252708","filename":"file0"},{"photo_id":"1397252715","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397252716":["hashtag1","hashtag2"]},{"1397252710":["hashtag1","hashtag2"]},{"1397252715":["hashtag1","hashtag2"]},{"1397252717":["hashtag1","hashtag2"]},{"1397252714":["hashtag1","hashtag2"]},{"1397252708":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397252716, 1397252710, 1397252715, 1397252717, 1397252714, 1397252708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.584251403808594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 20:45:22.565136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/26/image_01122025_17_26_35_9649.jpg', '/home/pi/Desktop/images/01122025/17/26/image_01122025_17_26_45_9854.jpg', '/home/pi/Desktop/images/01122025/17/26/image_01122025_17_26_54_9709.jpg', '/home/pi/Desktop/images/01122025/17/26/image_01122025_17_27_05_10722.jpg', '/home/pi/Desktop/images/01122025/17/27/image_01122025_17_27_25_10125.jpg', '/home/pi/Desktop/images/01122025/17/27/image_01122025_17_27_35_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/26/image_01122025_17_26_35_9649.jpg
/home/pi/Desktop/images/01122025/17/26/image_01122025_17_26_45_9854.jpg
/home/pi/Desktop/images/01122025/17/26/image_01122025_17_26_54_9709.jpg
/home/pi/Desktop/images/01122025/17/26/image_01122025_17_27_05_10722.jpg
/home/pi/Desktop/images/01122025/17/27/image_01122025_17_27_25_10125.jpg
/home/pi/Desktop/images/01122025/17/27/image_01122025_17_27_35_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":["1397252731","1397252719","1397252724","1397252721","1397252729","1397252726"],"photo_ids_order":["1397252719","1397252721","1397252724","1397252726","1397252729","1397252731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/00ade693c20f55a26d90b6ed7c3b0c11.jpg","text":"TemporaryFile(/tmp/multipartBody4670573644715273552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618383294,"filename":"image_01122025_17_27_35_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/1/a85a4a2c1e231a06df9490cfa285e6a2.jpg","text":"TemporaryFile(/tmp/multipartBody3103345719871931366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618383294,"filename":"image_01122025_17_26_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/1/51c478831df9ecf2c40371651c45c9a7.jpg","text":"TemporaryFile(/tmp/multipartBody7392329444045011901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618383294,"filename":"image_01122025_17_26_54_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a587143cfb7d9ab17a2f47ccd2ec832a.jpg","text":"TemporaryFile(/tmp/multipartBody5583287094564948592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618383294,"filename":"image_01122025_17_26_45_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/1/c2059c903d346962aa8b9dc93426407c.jpg","text":"TemporaryFile(/tmp/multipartBody420824940463852541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618383294,"filename":"image_01122025_17_27_25_10125.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/00edde2823ac5494c000cf3f1fb5ce95.jpg","text":"TemporaryFile(/tmp/multipartBody1778741022591779247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618383294,"filename":"image_01122025_17_27_05_10722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397252724","file1":"1397252721","file0":"1397252719","file4":"1397252729","file5":"1397252731","file3":"1397252726"},"map_files_photo_id_array":[{"photo_id":"1397252731","filename":"file5"},{"photo_id":"1397252724","filename":"file2"},{"photo_id":"1397252729","filename":"file4"},{"photo_id":"1397252721","filename":"file1"},{"photo_id":"1397252719","filename":"file0"},{"photo_id":"1397252726","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397252731":["hashtag1","hashtag2"]},{"1397252719":["hashtag1","hashtag2"]},{"1397252724":["hashtag1","hashtag2"]},{"1397252721":["hashtag1","hashtag2"]},{"1397252729":["hashtag1","hashtag2"]},{"1397252726":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397252731, 1397252719, 1397252724, 1397252721, 1397252729, 1397252726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.86643934249878 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 20:46:12.851367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_40_2722.jpg', '/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_43_3755.jpg', '/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_46_2730.jpg', '/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_52_3665.jpg', '/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_55_2626.jpg', '/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_57_2527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_40_2722.jpg
/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_43_3755.jpg
/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_46_2730.jpg
/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_52_3665.jpg
/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_55_2626.jpg
/home/pi/Desktop/images/25112025/23/26/image_25112025_23_26_57_2527.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397252740","1397252734","1397252737","1397252742","1397252744","1397252732"],"photo_ids_order":["1397252732","1397252734","1397252737","1397252740","1397252742","1397252744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a5e16bbfb722c46c6b0eb4e44dfe77c7.jpg","text":"TemporaryFile(/tmp/multipartBody6702795332452766879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618434449,"filename":"image_25112025_23_26_52_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/1/97bb707ad9a16bf185ade279913281b2.jpg","text":"TemporaryFile(/tmp/multipartBody7799555983244849963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618434449,"filename":"image_25112025_23_26_43_3755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7ff37feb9a2ab4753cd21dfec39fc343.jpg","text":"TemporaryFile(/tmp/multipartBody8196093697635336097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618434449,"filename":"image_25112025_23_26_46_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/1/7d57490b4daa404f57a2b30736427135.jpg","text":"TemporaryFile(/tmp/multipartBody1458613030547519282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618434449,"filename":"image_25112025_23_26_55_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/1/f2f5a1f83723413ca2a9d6b6e526d828.jpg","text":"TemporaryFile(/tmp/multipartBody506738997097362366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618434449,"filename":"image_25112025_23_26_57_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/94f31d687e181c6c6d8b51a24220dbe1.jpg","text":"TemporaryFile(/tmp/multipartBody2415854605557232520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618434449,"filename":"image_25112025_23_26_40_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397252737","file1":"1397252734","file0":"1397252732","file4":"1397252742","file5":"1397252744","file3":"1397252740"},"map_files_photo_id_array":[{"photo_id":"1397252744","filename":"file5"},{"photo_id":"1397252737","filename":"file2"},{"photo_id":"1397252742","filename":"file4"},{"photo_id":"1397252734","filename":"file1"},{"photo_id":"1397252732","filename":"file0"},{"photo_id":"1397252740","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397252740":["hashtag1","hashtag2"]},{"1397252734":["hashtag1","hashtag2"]},{"1397252737":["hashtag1","hashtag2"]},{"1397252742":["hashtag1","hashtag2"]},{"1397252744":["hashtag1","hashtag2"]},{"1397252732":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397252740, 1397252734, 1397252737, 1397252742, 1397252744, 1397252732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.75840091705322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:47:02.682977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/27/image_01122025_17_27_45_10584.jpg', '/home/pi/Desktop/images/01122025/17/27/image_01122025_17_27_55_9727.jpg', '/home/pi/Desktop/images/01122025/17/27/image_01122025_17_28_05_9658.jpg', '/home/pi/Desktop/images/01122025/17/28/image_01122025_17_28_25_9724.jpg', '/home/pi/Desktop/images/01122025/17/28/image_01122025_17_28_35_9645.jpg', '/home/pi/Desktop/images/01122025/17/28/image_01122025_17_28_55_9891.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/27/image_01122025_17_27_45_10584.jpg
/home/pi/Desktop/images/01122025/17/27/image_01122025_17_27_55_9727.jpg
/home/pi/Desktop/images/01122025/17/27/image_01122025_17_28_05_9658.jpg
/home/pi/Desktop/images/01122025/17/28/image_01122025_17_28_25_9724.jpg
/home/pi/Desktop/images/01122025/17/28/image_01122025_17_28_35_9645.jpg
/home/pi/Desktop/images/01122025/17/28/image_01122025_17_28_55_9891.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397252752","1397252778","1397252763","1397252766","1397252753","1397252762"],"photo_ids_order":["1397252752","1397252753","1397252762","1397252763","1397252766","1397252778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6111932a54c719b963563c7b3a537b58.jpg","text":"TemporaryFile(/tmp/multipartBody6694924977942119373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618483433,"filename":"image_01122025_17_27_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/1/a724623ad0343d84e034760fbf9bd6cd.jpg","text":"TemporaryFile(/tmp/multipartBody8356968288018018145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618483433,"filename":"image_01122025_17_28_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/1/07871bae541c2671ed7f55935931802e.jpg","text":"TemporaryFile(/tmp/multipartBody6783812891095119461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618483433,"filename":"image_01122025_17_28_25_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e6cc7a8c1f144be45a254675855e53bc.jpg","text":"TemporaryFile(/tmp/multipartBody1883410114341953293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618483433,"filename":"image_01122025_17_28_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/1/d7e95a90a85ee6251894c851711fa50d.jpg","text":"TemporaryFile(/tmp/multipartBody2937932774031897070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618483433,"filename":"image_01122025_17_27_55_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/969237e8763479f059cfe34bb3d139fe.jpg","text":"TemporaryFile(/tmp/multipartBody3303913240963864270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618483433,"filename":"image_01122025_17_28_05_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397252762","file1":"1397252753","file0":"1397252752","file4":"1397252766","file5":"1397252778","file3":"1397252763"},"map_files_photo_id_array":[{"photo_id":"1397252778","filename":"file5"},{"photo_id":"1397252762","filename":"file2"},{"photo_id":"1397252766","filename":"file4"},{"photo_id":"1397252753","filename":"file1"},{"photo_id":"1397252752","filename":"file0"},{"photo_id":"1397252763","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397252752":["hashtag1","hashtag2"]},{"1397252778":["hashtag1","hashtag2"]},{"1397252763":["hashtag1","hashtag2"]},{"1397252766":["hashtag1","hashtag2"]},{"1397252753":["hashtag1","hashtag2"]},{"1397252762":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397252752, 1397252778, 1397252763, 1397252766, 1397252753, 1397252762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09071660041809 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:48:02.628168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/29/image_01122025_17_29_05_9970.jpg', '/home/pi/Desktop/images/01122025/17/29/image_01122025_17_29_15_9584.jpg', '/home/pi/Desktop/images/01122025/17/29/image_01122025_17_29_25_10702.jpg', '/home/pi/Desktop/images/01122025/17/29/image_01122025_17_29_35_9711.jpg', '/home/pi/Desktop/images/01122025/17/29/image_01122025_17_29_45_9633.jpg', '/home/pi/Desktop/images/01122025/17/29/image_01122025_17_29_55_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/29/image_01122025_17_29_05_9970.jpg
/home/pi/Desktop/images/01122025/17/29/image_01122025_17_29_15_9584.jpg
/home/pi/Desktop/images/01122025/17/29/image_01122025_17_29_25_10702.jpg
/home/pi/Desktop/images/01122025/17/29/image_01122025_17_29_35_9711.jpg
/home/pi/Desktop/images/01122025/17/29/image_01122025_17_29_45_9633.jpg
/home/pi/Desktop/images/01122025/17/29/image_01122025_17_29_55_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":["1397252845","1397252839","1397252842","1397252838","1397252808","1397252840"],"photo_ids_order":["1397252808","1397252838","1397252839","1397252840","1397252842","1397252845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/df16e0521fa66b20bf2e838188bb3bbf.jpg","text":"TemporaryFile(/tmp/multipartBody8161651051849990389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618543346,"filename":"image_01122025_17_29_55_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2ee7ff621336def55f9bc4a0d81d0d9d.jpg","text":"TemporaryFile(/tmp/multipartBody1837187375035531146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618543346,"filename":"image_01122025_17_29_25_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6bdbe28c36ee205a315f11fe71cb7ff1.jpg","text":"TemporaryFile(/tmp/multipartBody273864166939471526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618543346,"filename":"image_01122025_17_29_45_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/135c840ac5fca4842b16c91b5d2b38b8.jpg","text":"TemporaryFile(/tmp/multipartBody6874325038969019861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618543346,"filename":"image_01122025_17_29_15_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7c877fe4f295a2f60fae9b2eec4ffb8a.jpg","text":"TemporaryFile(/tmp/multipartBody8007907352858573437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618543346,"filename":"image_01122025_17_29_05_9970.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/470cf7937726bb185a06a7332d4a582d.jpg","text":"TemporaryFile(/tmp/multipartBody7210169439455657119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618543346,"filename":"image_01122025_17_29_35_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397252839","file1":"1397252838","file0":"1397252808","file4":"1397252842","file5":"1397252845","file3":"1397252840"},"map_files_photo_id_array":[{"photo_id":"1397252845","filename":"file5"},{"photo_id":"1397252839","filename":"file2"},{"photo_id":"1397252842","filename":"file4"},{"photo_id":"1397252838","filename":"file1"},{"photo_id":"1397252808","filename":"file0"},{"photo_id":"1397252840","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397252845":["hashtag1","hashtag2"]},{"1397252839":["hashtag1","hashtag2"]},{"1397252842":["hashtag1","hashtag2"]},{"1397252838":["hashtag1","hashtag2"]},{"1397252808":["hashtag1","hashtag2"]},{"1397252840":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397252845, 1397252839, 1397252842, 1397252838, 1397252808, 1397252840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.585004806518555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 20:48:42.241786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_23_2602.jpg', '/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_26_2805.jpg', '/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_30_3691.jpg', '/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_32_2696.jpg', '/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_35_2701.jpg', '/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_39_3692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_23_2602.jpg
/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_26_2805.jpg
/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_30_3691.jpg
/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_32_2696.jpg
/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_35_2701.jpg
/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_39_3692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397252877","1397252865","1397252867","1397252876","1397252875","1397252878"],"photo_ids_order":["1397252865","1397252867","1397252875","1397252876","1397252877","1397252878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/658c34a8ab19b87d77fbad63b89a6ec4.jpg","text":"TemporaryFile(/tmp/multipartBody8289897016148962104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618584778,"filename":"image_31102025_14_59_35_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/98555855c8d4ebb1878c0f02e6fb3d3d.jpg","text":"TemporaryFile(/tmp/multipartBody9219148236491303965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618584778,"filename":"image_31102025_14_59_23_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bfdb11f8d61888c5c229a765b2a8802a.jpg","text":"TemporaryFile(/tmp/multipartBody8972342484520555846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618584778,"filename":"image_31102025_14_59_26_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e4f9a03eaa850d77351207bd20af9b8f.jpg","text":"TemporaryFile(/tmp/multipartBody1006243979272252057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618584778,"filename":"image_31102025_14_59_32_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/1/6966e9c2cc81fac8db360644b20a0eaf.jpg","text":"TemporaryFile(/tmp/multipartBody2042592224410494413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618584778,"filename":"image_31102025_14_59_30_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/1/e86bfe27060dfd41295e0a9baadf0c30.jpg","text":"TemporaryFile(/tmp/multipartBody5740983493886534340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618584778,"filename":"image_31102025_14_59_39_3692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397252875","file1":"1397252867","file0":"1397252865","file4":"1397252877","file5":"1397252878","file3":"1397252876"},"map_files_photo_id_array":[{"photo_id":"1397252878","filename":"file5"},{"photo_id":"1397252875","filename":"file2"},{"photo_id":"1397252877","filename":"file4"},{"photo_id":"1397252867","filename":"file1"},{"photo_id":"1397252865","filename":"file0"},{"photo_id":"1397252876","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397252877":["hashtag1","hashtag2"]},{"1397252865":["hashtag1","hashtag2"]},{"1397252867":["hashtag1","hashtag2"]},{"1397252876":["hashtag1","hashtag2"]},{"1397252875":["hashtag1","hashtag2"]},{"1397252878":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397252877, 1397252865, 1397252867, 1397252876, 1397252875, 1397252878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.856412172317505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 20:49:32.417699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_07_3759.jpg', '/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_10_2701.jpg', '/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_13_2578.jpg', '/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_16_3667.jpg', '/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_19_2678.jpg', '/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_22_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_07_3759.jpg
/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_10_2701.jpg
/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_13_2578.jpg
/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_16_3667.jpg
/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_19_2678.jpg
/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_22_2779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397252929","1397252922","1397252931","1397252927","1397252930","1397252924"],"photo_ids_order":["1397252922","1397252924","1397252927","1397252929","1397252930","1397252931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a435d2a33353463f530ef30aa454b2b3.jpg","text":"TemporaryFile(/tmp/multipartBody8826569666662978317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618634091,"filename":"image_25112025_23_27_16_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f44066505f5b5be15b937260decb0bda.jpg","text":"TemporaryFile(/tmp/multipartBody5753137770180565147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618634091,"filename":"image_25112025_23_27_07_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4e45975b78ed92ecd012a6eaeef1cbd8.jpg","text":"TemporaryFile(/tmp/multipartBody4245912148736895754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618634091,"filename":"image_25112025_23_27_22_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/89df2f8952de9111e71eb3bbd5f0a880.jpg","text":"TemporaryFile(/tmp/multipartBody5235118928263500351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618634091,"filename":"image_25112025_23_27_13_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/619d756d8181ceda0ef391a18d5d3e4e.jpg","text":"TemporaryFile(/tmp/multipartBody8109442378549820276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618634091,"filename":"image_25112025_23_27_19_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/1/b2cb691d160d66dbd629fe19de42477e.jpg","text":"TemporaryFile(/tmp/multipartBody9134353675896768327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618634091,"filename":"image_25112025_23_27_10_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397252927","file1":"1397252924","file0":"1397252922","file4":"1397252930","file5":"1397252931","file3":"1397252929"},"map_files_photo_id_array":[{"photo_id":"1397252931","filename":"file5"},{"photo_id":"1397252927","filename":"file2"},{"photo_id":"1397252930","filename":"file4"},{"photo_id":"1397252924","filename":"file1"},{"photo_id":"1397252922","filename":"file0"},{"photo_id":"1397252929","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397252929":["hashtag1","hashtag2"]},{"1397252922":["hashtag1","hashtag2"]},{"1397252931":["hashtag1","hashtag2"]},{"1397252927":["hashtag1","hashtag2"]},{"1397252930":["hashtag1","hashtag2"]},{"1397252924":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397252929, 1397252922, 1397252931, 1397252927, 1397252930, 1397252924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.33433508872986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 20:50:12.582212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_24_2673.jpg', '/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_28_3645.jpg', '/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_31_2680.jpg', '/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_34_3562.jpg', '/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_37_2588.jpg', '/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_39_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_24_2673.jpg
/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_28_3645.jpg
/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_31_2680.jpg
/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_34_3562.jpg
/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_37_2588.jpg
/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_39_2614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397252932","1397252940","1397252934","1397252943","1397252937","1397252946"],"photo_ids_order":["1397252932","1397252934","1397252937","1397252940","1397252943","1397252946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3daa42ddd60ff667cc023b35b6a16007.jpg","text":"TemporaryFile(/tmp/multipartBody2893706261854351910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618674208,"filename":"image_25112025_23_27_24_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/1/26d1160b5a111bcc759813f1789f6c09.jpg","text":"TemporaryFile(/tmp/multipartBody8735307202504893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618674208,"filename":"image_25112025_23_27_34_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/1/9678207203e9af42ad2753e4eeea78a0.jpg","text":"TemporaryFile(/tmp/multipartBody8335185007097210685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618674208,"filename":"image_25112025_23_27_28_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4d897aa4c2aaedd9e6df432c83aa0094.jpg","text":"TemporaryFile(/tmp/multipartBody1037448436304155062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618674208,"filename":"image_25112025_23_27_37_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/1/8461a1b0b8a55cb9c46f336a659a8348.jpg","text":"TemporaryFile(/tmp/multipartBody7278594640697933944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618674208,"filename":"image_25112025_23_27_31_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/829ee173ed00e5503bc0803c9205f1e2.jpg","text":"TemporaryFile(/tmp/multipartBody8354263907968137726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618674208,"filename":"image_25112025_23_27_39_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397252937","file1":"1397252934","file0":"1397252932","file4":"1397252943","file5":"1397252946","file3":"1397252940"},"map_files_photo_id_array":[{"photo_id":"1397252946","filename":"file5"},{"photo_id":"1397252937","filename":"file2"},{"photo_id":"1397252943","filename":"file4"},{"photo_id":"1397252934","filename":"file1"},{"photo_id":"1397252932","filename":"file0"},{"photo_id":"1397252940","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397252932":["hashtag1","hashtag2"]},{"1397252940":["hashtag1","hashtag2"]},{"1397252934":["hashtag1","hashtag2"]},{"1397252943":["hashtag1","hashtag2"]},{"1397252937":["hashtag1","hashtag2"]},{"1397252946":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397252932, 1397252940, 1397252934, 1397252943, 1397252937, 1397252946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.794670820236206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:51:03.444485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/30/image_01122025_17_30_14_10039.jpg', '/home/pi/Desktop/images/01122025/17/30/image_01122025_17_30_35_9673.jpg', '/home/pi/Desktop/images/01122025/17/31/image_01122025_17_31_14_9651.jpg', '/home/pi/Desktop/images/01122025/17/31/image_01122025_17_31_35_9700.jpg', '/home/pi/Desktop/images/01122025/17/31/image_01122025_17_31_44_9705.jpg', '/home/pi/Desktop/images/01122025/17/31/image_01122025_17_31_55_10712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/30/image_01122025_17_30_14_10039.jpg
/home/pi/Desktop/images/01122025/17/30/image_01122025_17_30_35_9673.jpg
/home/pi/Desktop/images/01122025/17/31/image_01122025_17_31_14_9651.jpg
/home/pi/Desktop/images/01122025/17/31/image_01122025_17_31_35_9700.jpg
/home/pi/Desktop/images/01122025/17/31/image_01122025_17_31_44_9705.jpg
/home/pi/Desktop/images/01122025/17/31/image_01122025_17_31_55_10712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397252971","1397252953","1397252964","1397252966","1397252974","1397252968"],"photo_ids_order":["1397252953","1397252964","1397252966","1397252968","1397252971","1397252974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4bae5f9b538a5e756f8963f1483fae19.jpg","text":"TemporaryFile(/tmp/multipartBody3981229071205137244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618724184,"filename":"image_01122025_17_31_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/1/184642cf01c953b17e3164fe159f12ab.jpg","text":"TemporaryFile(/tmp/multipartBody876362877155867326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618724184,"filename":"image_01122025_17_30_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/1/5a75bf2565b4bb0d80f5f7dfc9f82a4f.jpg","text":"TemporaryFile(/tmp/multipartBody8444483896963250472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618724184,"filename":"image_01122025_17_30_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/1/880ff501a901720af8577a494ea721f8.jpg","text":"TemporaryFile(/tmp/multipartBody4653367874971532735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618724184,"filename":"image_01122025_17_31_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/1/7445654c63a97d2b96c7614d1edff93e.jpg","text":"TemporaryFile(/tmp/multipartBody8854003752263472647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618724184,"filename":"image_01122025_17_31_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/1/7d4a21e8900517c11891f54e288a53d5.jpg","text":"TemporaryFile(/tmp/multipartBody863773662129224858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618724184,"filename":"image_01122025_17_31_35_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397252966","file1":"1397252964","file0":"1397252953","file4":"1397252971","file5":"1397252974","file3":"1397252968"},"map_files_photo_id_array":[{"photo_id":"1397252974","filename":"file5"},{"photo_id":"1397252966","filename":"file2"},{"photo_id":"1397252971","filename":"file4"},{"photo_id":"1397252964","filename":"file1"},{"photo_id":"1397252953","filename":"file0"},{"photo_id":"1397252968","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397252971":["hashtag1","hashtag2"]},{"1397252953":["hashtag1","hashtag2"]},{"1397252964":["hashtag1","hashtag2"]},{"1397252966":["hashtag1","hashtag2"]},{"1397252974":["hashtag1","hashtag2"]},{"1397252968":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397252971, 1397252953, 1397252964, 1397252966, 1397252974, 1397252968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2751829624176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:52:02.457175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/31/image_01122025_17_32_05_9678.jpg', '/home/pi/Desktop/images/01122025/17/32/image_01122025_17_32_15_9689.jpg', '/home/pi/Desktop/images/01122025/17/32/image_01122025_17_32_25_10626.jpg', '/home/pi/Desktop/images/01122025/17/32/image_01122025_17_32_35_9591.jpg', '/home/pi/Desktop/images/01122025/17/32/image_01122025_17_32_45_10566.jpg', '/home/pi/Desktop/images/01122025/17/32/image_01122025_17_32_55_9560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/31/image_01122025_17_32_05_9678.jpg
/home/pi/Desktop/images/01122025/17/32/image_01122025_17_32_15_9689.jpg
/home/pi/Desktop/images/01122025/17/32/image_01122025_17_32_25_10626.jpg
/home/pi/Desktop/images/01122025/17/32/image_01122025_17_32_35_9591.jpg
/home/pi/Desktop/images/01122025/17/32/image_01122025_17_32_45_10566.jpg
/home/pi/Desktop/images/01122025/17/32/image_01122025_17_32_55_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":["1397253040","1397253036","1397253035","1397253038","1397253043","1397253037"],"photo_ids_order":["1397253035","1397253036","1397253037","1397253038","1397253040","1397253043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/eabc317b93a6f0ac69e577695f4ac43c.jpg","text":"TemporaryFile(/tmp/multipartBody318108573309444146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618783168,"filename":"image_01122025_17_32_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/1/44b017ec78f32ed4504fe768ab672d8d.jpg","text":"TemporaryFile(/tmp/multipartBody5480521604642527345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618783168,"filename":"image_01122025_17_32_15_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/99c916cc0f4d5f32919a4a4b5dad008f.jpg","text":"TemporaryFile(/tmp/multipartBody6425086066660422878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618783168,"filename":"image_01122025_17_32_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/1/6fbc38f67f61f11a4243c22cf0bb7b47.jpg","text":"TemporaryFile(/tmp/multipartBody6055995263237897675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618783168,"filename":"image_01122025_17_32_35_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/df812078ef5378d1d3891360d927d7bc.jpg","text":"TemporaryFile(/tmp/multipartBody720022047332006628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618783168,"filename":"image_01122025_17_32_55_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/1/b033022417e0147d537c3483e7c9c707.jpg","text":"TemporaryFile(/tmp/multipartBody8314266815021963048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618783168,"filename":"image_01122025_17_32_25_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397253037","file1":"1397253036","file0":"1397253035","file4":"1397253040","file5":"1397253043","file3":"1397253038"},"map_files_photo_id_array":[{"photo_id":"1397253043","filename":"file5"},{"photo_id":"1397253037","filename":"file2"},{"photo_id":"1397253040","filename":"file4"},{"photo_id":"1397253036","filename":"file1"},{"photo_id":"1397253035","filename":"file0"},{"photo_id":"1397253038","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397253040":["hashtag1","hashtag2"]},{"1397253036":["hashtag1","hashtag2"]},{"1397253035":["hashtag1","hashtag2"]},{"1397253038":["hashtag1","hashtag2"]},{"1397253043":["hashtag1","hashtag2"]},{"1397253037":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397253040, 1397253036, 1397253035, 1397253038, 1397253043, 1397253037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.85640287399292 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-01 20:53:02.900561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/32/image_01122025_17_33_05_9896.jpg', '/home/pi/Desktop/images/01122025/17/33/image_01122025_17_33_14_9681.jpg', '/home/pi/Desktop/images/01122025/17/33/image_01122025_17_33_25_10620.jpg', '/home/pi/Desktop/images/01122025/17/33/image_01122025_17_33_35_9649.jpg', '/home/pi/Desktop/images/01122025/17/33/image_01122025_17_33_45_9758.jpg', '/home/pi/Desktop/images/01122025/17/33/image_01122025_17_34_05_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/32/image_01122025_17_33_05_9896.jpg
/home/pi/Desktop/images/01122025/17/33/image_01122025_17_33_14_9681.jpg
/home/pi/Desktop/images/01122025/17/33/image_01122025_17_33_25_10620.jpg
/home/pi/Desktop/images/01122025/17/33/image_01122025_17_33_35_9649.jpg
/home/pi/Desktop/images/01122025/17/33/image_01122025_17_33_45_9758.jpg
/home/pi/Desktop/images/01122025/17/33/image_01122025_17_34_05_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":["1397253054","1397253056","1397253061","1397253055","1397253064","1397253058"],"photo_ids_order":["1397253054","1397253055","1397253056","1397253058","1397253061","1397253064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4196ed5fef4514cdd31106db7112abd0.jpg","text":"TemporaryFile(/tmp/multipartBody6882107996213980641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618844192,"filename":"image_01122025_17_33_05_9896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e37667ac3977e7eff51a1b8708ab7466.jpg","text":"TemporaryFile(/tmp/multipartBody5729991522617176123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618844192,"filename":"image_01122025_17_33_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/1/29d73c15e41c2c093521c03f2dde46eb.jpg","text":"TemporaryFile(/tmp/multipartBody521422536497288684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618844192,"filename":"image_01122025_17_33_45_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4d9d1931e550f3bd9a9b59d550e1bcf5.jpg","text":"TemporaryFile(/tmp/multipartBody554728111573522142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618844192,"filename":"image_01122025_17_33_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/1/b391a15604ca08ba4aa87791ed3be12c.jpg","text":"TemporaryFile(/tmp/multipartBody2597615344959779448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618844192,"filename":"image_01122025_17_34_05_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/193503c149b163f53338295db95a034d.jpg","text":"TemporaryFile(/tmp/multipartBody3925982010534022324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618844192,"filename":"image_01122025_17_33_35_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397253056","file1":"1397253055","file0":"1397253054","file4":"1397253061","file5":"1397253064","file3":"1397253058"},"map_files_photo_id_array":[{"photo_id":"1397253064","filename":"file5"},{"photo_id":"1397253056","filename":"file2"},{"photo_id":"1397253061","filename":"file4"},{"photo_id":"1397253055","filename":"file1"},{"photo_id":"1397253054","filename":"file0"},{"photo_id":"1397253058","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397253054":["hashtag1","hashtag2"]},{"1397253056":["hashtag1","hashtag2"]},{"1397253061":["hashtag1","hashtag2"]},{"1397253055":["hashtag1","hashtag2"]},{"1397253064":["hashtag1","hashtag2"]},{"1397253058":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397253054, 1397253056, 1397253061, 1397253055, 1397253064, 1397253058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.510741233825684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:54:03.146436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/34/image_01122025_17_34_14_9593.jpg', '/home/pi/Desktop/images/01122025/17/34/image_01122025_17_34_25_10752.jpg', '/home/pi/Desktop/images/01122025/17/34/image_01122025_17_34_44_9654.jpg', '/home/pi/Desktop/images/01122025/17/34/image_01122025_17_34_55_10780.jpg', '/home/pi/Desktop/images/01122025/17/35/image_01122025_17_35_14_10046.jpg', '/home/pi/Desktop/images/01122025/17/35/image_01122025_17_35_34_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/34/image_01122025_17_34_14_9593.jpg
/home/pi/Desktop/images/01122025/17/34/image_01122025_17_34_25_10752.jpg
/home/pi/Desktop/images/01122025/17/34/image_01122025_17_34_44_9654.jpg
/home/pi/Desktop/images/01122025/17/34/image_01122025_17_34_55_10780.jpg
/home/pi/Desktop/images/01122025/17/35/image_01122025_17_35_14_10046.jpg
/home/pi/Desktop/images/01122025/17/35/image_01122025_17_35_34_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397253078","1397253075","1397253083","1397253074","1397253073","1397253076"],"photo_ids_order":["1397253073","1397253074","1397253075","1397253076","1397253078","1397253083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0703c09abb698714a4f77715ab479fa8.jpg","text":"TemporaryFile(/tmp/multipartBody4661162411398175144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618904223,"filename":"image_01122025_17_35_14_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/1/ce9f2681cde7aa459b6b2d7129687e3b.jpg","text":"TemporaryFile(/tmp/multipartBody2487118321351431512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618904223,"filename":"image_01122025_17_34_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/1/0b53e4556cea774cdf88a84c1aa057ca.jpg","text":"TemporaryFile(/tmp/multipartBody438803288066424515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618904223,"filename":"image_01122025_17_35_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/1/da05d46d73f3d486621a7687ba46f86e.jpg","text":"TemporaryFile(/tmp/multipartBody9165627780536164806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618904223,"filename":"image_01122025_17_34_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/1/325d70662b01055cb4d640e66832d477.jpg","text":"TemporaryFile(/tmp/multipartBody2256246678900545028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618904223,"filename":"image_01122025_17_34_14_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1b3611ca75637c92eed4f0bba5eabcaa.jpg","text":"TemporaryFile(/tmp/multipartBody4957031305534196936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618904223,"filename":"image_01122025_17_34_55_10780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397253075","file1":"1397253074","file0":"1397253073","file4":"1397253078","file5":"1397253083","file3":"1397253076"},"map_files_photo_id_array":[{"photo_id":"1397253083","filename":"file5"},{"photo_id":"1397253075","filename":"file2"},{"photo_id":"1397253078","filename":"file4"},{"photo_id":"1397253074","filename":"file1"},{"photo_id":"1397253073","filename":"file0"},{"photo_id":"1397253076","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397253078":["hashtag1","hashtag2"]},{"1397253075":["hashtag1","hashtag2"]},{"1397253083":["hashtag1","hashtag2"]},{"1397253074":["hashtag1","hashtag2"]},{"1397253073":["hashtag1","hashtag2"]},{"1397253076":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397253078, 1397253075, 1397253083, 1397253074, 1397253073, 1397253076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.71135449409485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:55:03.288186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/35/image_01122025_17_35_45_10603.jpg', '/home/pi/Desktop/images/01122025/17/35/image_01122025_17_35_54_9610.jpg', '/home/pi/Desktop/images/01122025/17/36/image_01122025_17_36_25_10777.jpg', '/home/pi/Desktop/images/01122025/17/36/image_01122025_17_36_34_9593.jpg', '/home/pi/Desktop/images/01122025/17/36/image_01122025_17_36_44_9847.jpg', '/home/pi/Desktop/images/01122025/17/36/image_01122025_17_36_54_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/35/image_01122025_17_35_45_10603.jpg
/home/pi/Desktop/images/01122025/17/35/image_01122025_17_35_54_9610.jpg
/home/pi/Desktop/images/01122025/17/36/image_01122025_17_36_25_10777.jpg
/home/pi/Desktop/images/01122025/17/36/image_01122025_17_36_34_9593.jpg
/home/pi/Desktop/images/01122025/17/36/image_01122025_17_36_44_9847.jpg
/home/pi/Desktop/images/01122025/17/36/image_01122025_17_36_54_9683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397253093","1397253095","1397253098","1397253092","1397253101","1397253091"],"photo_ids_order":["1397253091","1397253092","1397253093","1397253095","1397253098","1397253101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f694f2c4b2f88f5c0b519fa0a5142fe7.jpg","text":"TemporaryFile(/tmp/multipartBody7045167572538618141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618965456,"filename":"image_01122025_17_36_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/1/706dde94bc79d39341dd75890ee76230.jpg","text":"TemporaryFile(/tmp/multipartBody6667485849900509083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618965456,"filename":"image_01122025_17_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/1/bd5092ea5d89d36f962b3e224219671a.jpg","text":"TemporaryFile(/tmp/multipartBody1799175420626475315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618965456,"filename":"image_01122025_17_36_44_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f6671f48a5a46eae28bdf219c9086cd7.jpg","text":"TemporaryFile(/tmp/multipartBody7182297150132152229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618965456,"filename":"image_01122025_17_35_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/1/b1f6fc16ddec58e601b207d8f9f70af3.jpg","text":"TemporaryFile(/tmp/multipartBody6051455908402962983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618965456,"filename":"image_01122025_17_36_54_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0df5389518b1a6cb7395e9fa9a7e72ed.jpg","text":"TemporaryFile(/tmp/multipartBody8244524956847994200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764618965456,"filename":"image_01122025_17_35_45_10603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397253093","file1":"1397253092","file0":"1397253091","file4":"1397253098","file5":"1397253101","file3":"1397253095"},"map_files_photo_id_array":[{"photo_id":"1397253101","filename":"file5"},{"photo_id":"1397253093","filename":"file2"},{"photo_id":"1397253098","filename":"file4"},{"photo_id":"1397253092","filename":"file1"},{"photo_id":"1397253091","filename":"file0"},{"photo_id":"1397253095","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397253093":["hashtag1","hashtag2"]},{"1397253095":["hashtag1","hashtag2"]},{"1397253098":["hashtag1","hashtag2"]},{"1397253092":["hashtag1","hashtag2"]},{"1397253101":["hashtag1","hashtag2"]},{"1397253091":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397253093, 1397253095, 1397253098, 1397253092, 1397253101, 1397253091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.53532361984253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:56:02.263612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/36/image_01122025_17_37_05_10862.jpg', '/home/pi/Desktop/images/01122025/17/37/image_01122025_17_37_14_9699.jpg', '/home/pi/Desktop/images/01122025/17/37/image_01122025_17_37_44_9638.jpg', '/home/pi/Desktop/images/01122025/17/37/image_01122025_17_37_54_9587.jpg', '/home/pi/Desktop/images/01122025/17/37/image_01122025_17_38_05_10604.jpg', '/home/pi/Desktop/images/01122025/17/38/image_01122025_17_38_14_9832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/36/image_01122025_17_37_05_10862.jpg
/home/pi/Desktop/images/01122025/17/37/image_01122025_17_37_14_9699.jpg
/home/pi/Desktop/images/01122025/17/37/image_01122025_17_37_44_9638.jpg
/home/pi/Desktop/images/01122025/17/37/image_01122025_17_37_54_9587.jpg
/home/pi/Desktop/images/01122025/17/37/image_01122025_17_38_05_10604.jpg
/home/pi/Desktop/images/01122025/17/38/image_01122025_17_38_14_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":["1397253112","1397253109","1397253114","1397253117","1397253111","1397253110"],"photo_ids_order":["1397253109","1397253110","1397253111","1397253112","1397253114","1397253117"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2f480f61c65ca682e550503cbc569122.jpg","text":"TemporaryFile(/tmp/multipartBody8414096620948568932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619022989,"filename":"image_01122025_17_37_54_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/00b911a7faf3a86094773d19da774d77.jpg","text":"TemporaryFile(/tmp/multipartBody6736296759979707792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619022989,"filename":"image_01122025_17_37_05_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/1/ae2de3e188b823292b5286b68ebf9cc9.jpg","text":"TemporaryFile(/tmp/multipartBody8479629764507976770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619022989,"filename":"image_01122025_17_38_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/1/19603abf266260c911f4f21d23921670.jpg","text":"TemporaryFile(/tmp/multipartBody2160584012511883163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619022989,"filename":"image_01122025_17_38_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/1/dfdc24bef650129560ea81eab649dae7.jpg","text":"TemporaryFile(/tmp/multipartBody1574962057221701385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619022989,"filename":"image_01122025_17_37_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6df772b836fc0b9835a9d6cc5f39f9ab.jpg","text":"TemporaryFile(/tmp/multipartBody5633408000645302520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619022989,"filename":"image_01122025_17_37_14_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397253111","file1":"1397253110","file0":"1397253109","file4":"1397253114","file5":"1397253117","file3":"1397253112"},"map_files_photo_id_array":[{"photo_id":"1397253117","filename":"file5"},{"photo_id":"1397253111","filename":"file2"},{"photo_id":"1397253114","filename":"file4"},{"photo_id":"1397253110","filename":"file1"},{"photo_id":"1397253109","filename":"file0"},{"photo_id":"1397253112","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397253112":["hashtag1","hashtag2"]},{"1397253109":["hashtag1","hashtag2"]},{"1397253114":["hashtag1","hashtag2"]},{"1397253117":["hashtag1","hashtag2"]},{"1397253111":["hashtag1","hashtag2"]},{"1397253110":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397253112, 1397253109, 1397253114, 1397253117, 1397253111, 1397253110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.73102068901062 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 20:56:41.886999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_41_2608.jpg', '/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_44_2832.jpg', '/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_47_2681.jpg', '/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_50_3664.jpg', '/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_53_2731.jpg', '/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_57_3518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_41_2608.jpg
/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_44_2832.jpg
/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_47_2681.jpg
/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_50_3664.jpg
/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_53_2731.jpg
/home/pi/Desktop/images/31102025/14/59/image_31102025_14_59_57_3518.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397253147","1397253144","1397253146","1397253149","1397253148","1397253145"],"photo_ids_order":["1397253144","1397253145","1397253146","1397253147","1397253148","1397253149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e0101e2325c58e32747868098382a2c1.jpg","text":"TemporaryFile(/tmp/multipartBody7713528466577666424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619064411,"filename":"image_31102025_14_59_50_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/1/2fc45571ac76723e770a6b443887b726.jpg","text":"TemporaryFile(/tmp/multipartBody6093409292237622951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619064411,"filename":"image_31102025_14_59_41_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1f51228db6f0b4a5845534643c5f9502.jpg","text":"TemporaryFile(/tmp/multipartBody3761599877517303241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619064411,"filename":"image_31102025_14_59_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/1/48f6ccc1e1d0aae839c5a5e3fa6e2319.jpg","text":"TemporaryFile(/tmp/multipartBody1978646370250155432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619064411,"filename":"image_31102025_14_59_57_3518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cced876c35fee8888afd04a794251098.jpg","text":"TemporaryFile(/tmp/multipartBody6343231895999150213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619064411,"filename":"image_31102025_14_59_53_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0c83892f38b072123c5cb3a98d2257c7.jpg","text":"TemporaryFile(/tmp/multipartBody5353863426342732454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619064411,"filename":"image_31102025_14_59_44_2832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397253146","file1":"1397253145","file0":"1397253144","file4":"1397253148","file5":"1397253149","file3":"1397253147"},"map_files_photo_id_array":[{"photo_id":"1397253149","filename":"file5"},{"photo_id":"1397253146","filename":"file2"},{"photo_id":"1397253148","filename":"file4"},{"photo_id":"1397253145","filename":"file1"},{"photo_id":"1397253144","filename":"file0"},{"photo_id":"1397253147","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397253147":["hashtag1","hashtag2"]},{"1397253144":["hashtag1","hashtag2"]},{"1397253146":["hashtag1","hashtag2"]},{"1397253149":["hashtag1","hashtag2"]},{"1397253148":["hashtag1","hashtag2"]},{"1397253145":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397253147, 1397253144, 1397253146, 1397253149, 1397253148, 1397253145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.325323820114136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 20:57:32.056166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_43_3579.jpg', '/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_46_2618.jpg', '/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_48_2608.jpg', '/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_52_3538.jpg', '/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_54_2656.jpg', '/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_57_2872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_43_3579.jpg
/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_46_2618.jpg
/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_48_2608.jpg
/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_52_3538.jpg
/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_54_2656.jpg
/home/pi/Desktop/images/25112025/23/27/image_25112025_23_27_57_2872.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397253208","1397253201","1397253207","1397253206","1397253209","1397253203"],"photo_ids_order":["1397253201","1397253203","1397253206","1397253207","1397253208","1397253209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fcc9975f43e62d99a5a3e2fd7eaa623e.jpg","text":"TemporaryFile(/tmp/multipartBody532166978950529510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619113740,"filename":"image_25112025_23_27_54_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/1/bb4db9d5221fd9e4b25756d2f913ca7f.jpg","text":"TemporaryFile(/tmp/multipartBody5379663412315660987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619113740,"filename":"image_25112025_23_27_43_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5d17e3ab190c22eac38195c770e14ae6.jpg","text":"TemporaryFile(/tmp/multipartBody1222832189851563568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619113740,"filename":"image_25112025_23_27_52_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/1/ec521f18b6558cdbab899f7cc86d749d.jpg","text":"TemporaryFile(/tmp/multipartBody8844447518464640409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619113740,"filename":"image_25112025_23_27_48_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4fc8acbc39194048b45d446b3cf2f1a3.jpg","text":"TemporaryFile(/tmp/multipartBody1511872594683047845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619113740,"filename":"image_25112025_23_27_57_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/1/a91b6e433c45762841f8fb0c10f2fe90.jpg","text":"TemporaryFile(/tmp/multipartBody2139078876977455756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619113740,"filename":"image_25112025_23_27_46_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397253206","file1":"1397253203","file0":"1397253201","file4":"1397253208","file5":"1397253209","file3":"1397253207"},"map_files_photo_id_array":[{"photo_id":"1397253209","filename":"file5"},{"photo_id":"1397253206","filename":"file2"},{"photo_id":"1397253208","filename":"file4"},{"photo_id":"1397253203","filename":"file1"},{"photo_id":"1397253201","filename":"file0"},{"photo_id":"1397253207","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397253208":["hashtag1","hashtag2"]},{"1397253201":["hashtag1","hashtag2"]},{"1397253207":["hashtag1","hashtag2"]},{"1397253206":["hashtag1","hashtag2"]},{"1397253209":["hashtag1","hashtag2"]},{"1397253203":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397253208, 1397253201, 1397253207, 1397253206, 1397253209, 1397253203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6387038230896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 20:59:03.192673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/38/image_01122025_17_38_35_10688.jpg', '/home/pi/Desktop/images/01122025/17/38/image_01122025_17_38_44_9552.jpg', '/home/pi/Desktop/images/01122025/17/38/image_01122025_17_38_54_9649.jpg', '/home/pi/Desktop/images/01122025/17/39/image_01122025_17_39_14_9644.jpg', '/home/pi/Desktop/images/01122025/17/39/image_01122025_17_39_34_9794.jpg', '/home/pi/Desktop/images/01122025/17/39/image_01122025_17_39_45_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/38/image_01122025_17_38_35_10688.jpg
/home/pi/Desktop/images/01122025/17/38/image_01122025_17_38_44_9552.jpg
/home/pi/Desktop/images/01122025/17/38/image_01122025_17_38_54_9649.jpg
/home/pi/Desktop/images/01122025/17/39/image_01122025_17_39_14_9644.jpg
/home/pi/Desktop/images/01122025/17/39/image_01122025_17_39_34_9794.jpg
/home/pi/Desktop/images/01122025/17/39/image_01122025_17_39_45_10644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397253231","1397253243","1397253239","1397253247","1397253235","1397253238"],"photo_ids_order":["1397253231","1397253235","1397253238","1397253239","1397253243","1397253247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/68b7bf08f191212e78189a78fa1dc06f.jpg","text":"TemporaryFile(/tmp/multipartBody1089075317048821675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619203997,"filename":"image_01122025_17_38_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/1/add58f9deae79487ef569911cc6bbd58.jpg","text":"TemporaryFile(/tmp/multipartBody4728735086228074599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619203997,"filename":"image_01122025_17_39_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/1/e9588583aac04a4fc75dc097d0c57153.jpg","text":"TemporaryFile(/tmp/multipartBody5225118437507296326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619203997,"filename":"image_01122025_17_39_14_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/858b6ca1f38282ce8d3c63e21d9247e9.jpg","text":"TemporaryFile(/tmp/multipartBody3236683789021781428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619203997,"filename":"image_01122025_17_39_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/1/0d726eaef6af25bf6b83475547250779.jpg","text":"TemporaryFile(/tmp/multipartBody5089083295895805279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619203997,"filename":"image_01122025_17_38_44_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/1/54bd2da3705ceb5458623f063310ed6b.jpg","text":"TemporaryFile(/tmp/multipartBody1225271170067609915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619203997,"filename":"image_01122025_17_38_54_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397253238","file1":"1397253235","file0":"1397253231","file4":"1397253243","file5":"1397253247","file3":"1397253239"},"map_files_photo_id_array":[{"photo_id":"1397253247","filename":"file5"},{"photo_id":"1397253238","filename":"file2"},{"photo_id":"1397253243","filename":"file4"},{"photo_id":"1397253235","filename":"file1"},{"photo_id":"1397253231","filename":"file0"},{"photo_id":"1397253239","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397253231":["hashtag1","hashtag2"]},{"1397253243":["hashtag1","hashtag2"]},{"1397253239":["hashtag1","hashtag2"]},{"1397253247":["hashtag1","hashtag2"]},{"1397253235":["hashtag1","hashtag2"]},{"1397253238":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397253231, 1397253243, 1397253239, 1397253247, 1397253235, 1397253238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.151418924331665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 20:59:42.469825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/14/59/image_31102025_15_00_00_2848.jpg', '/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_08_3013.jpg', '/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_12_3557.jpg', '/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_15_3241.jpg', '/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_18_2731.jpg', '/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_20_2764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/59/image_31102025_15_00_00_2848.jpg
/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_08_3013.jpg
/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_12_3557.jpg
/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_15_3241.jpg
/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_18_2731.jpg
/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_20_2764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397253252","1397253255","1397253342","1397253344","1397253346","1397253328"],"photo_ids_order":["1397253252","1397253255","1397253328","1397253342","1397253344","1397253346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2949add2412489d072c68e9248296d69.jpg","text":"TemporaryFile(/tmp/multipartBody3400828284335985168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619245045,"filename":"image_31102025_15_00_00_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/1/92778bef4bbd4ec218101072a1c487eb.jpg","text":"TemporaryFile(/tmp/multipartBody8110184528828449624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619245045,"filename":"image_31102025_15_00_08_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/75696b8e09ea1461493d5e7bf78ea877.jpg","text":"TemporaryFile(/tmp/multipartBody8859259765210951215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619245045,"filename":"image_31102025_15_00_15_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/1/c6be95aeef83bd6bdf2dcb96476011d7.jpg","text":"TemporaryFile(/tmp/multipartBody1527818690516879657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619245045,"filename":"image_31102025_15_00_18_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/1/738a8ef1a8bec0fbfec2682215f2ec64.jpg","text":"TemporaryFile(/tmp/multipartBody2510563397764993280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619245045,"filename":"image_31102025_15_00_20_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/1/6abc62f103acb7d48ed72f1d50814107.jpg","text":"TemporaryFile(/tmp/multipartBody1854113941426131963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619245045,"filename":"image_31102025_15_00_12_3557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397253328","file1":"1397253255","file0":"1397253252","file4":"1397253344","file5":"1397253346","file3":"1397253342"},"map_files_photo_id_array":[{"photo_id":"1397253346","filename":"file5"},{"photo_id":"1397253328","filename":"file2"},{"photo_id":"1397253344","filename":"file4"},{"photo_id":"1397253255","filename":"file1"},{"photo_id":"1397253252","filename":"file0"},{"photo_id":"1397253342","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397253252":["hashtag1","hashtag2"]},{"1397253255":["hashtag1","hashtag2"]},{"1397253342":["hashtag1","hashtag2"]},{"1397253344":["hashtag1","hashtag2"]},{"1397253346":["hashtag1","hashtag2"]},{"1397253328":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397253252, 1397253255, 1397253342, 1397253344, 1397253346, 1397253328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.47912883758545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 21:00:32.650588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/27/image_25112025_23_28_01_3568.jpg', '/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_04_2820.jpg', '/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_06_2634.jpg', '/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_10_3691.jpg', '/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_13_2751.jpg', '/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_15_2533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/27/image_25112025_23_28_01_3568.jpg
/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_04_2820.jpg
/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_06_2634.jpg
/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_10_3691.jpg
/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_13_2751.jpg
/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_15_2533.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397253351","1397253353","1397253356","1397253359","1397253361","1397253358"],"photo_ids_order":["1397253351","1397253353","1397253356","1397253358","1397253359","1397253361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1df10cf9502027078c50f054a00b3218.jpg","text":"TemporaryFile(/tmp/multipartBody2192928616904279241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619294339,"filename":"image_25112025_23_28_01_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/1/6b7d16fc673cc1f0b3721e8f646ece68.jpg","text":"TemporaryFile(/tmp/multipartBody201165208367196761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619294339,"filename":"image_25112025_23_28_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/1/56b663a6d0c35920077310be1ed3f75a.jpg","text":"TemporaryFile(/tmp/multipartBody7927524661279665804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619294339,"filename":"image_25112025_23_28_06_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/1/9dbd8dc326247fc10f234160b0afb3f8.jpg","text":"TemporaryFile(/tmp/multipartBody847957038220895338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619294339,"filename":"image_25112025_23_28_13_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/1/32bcae9599e4e68e6782c7e4e43d0c93.jpg","text":"TemporaryFile(/tmp/multipartBody4282132490482343291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619294339,"filename":"image_25112025_23_28_15_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3661e4958c126077f81a24980f3555b6.jpg","text":"TemporaryFile(/tmp/multipartBody5883587076083444979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619294339,"filename":"image_25112025_23_28_10_3691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397253356","file1":"1397253353","file0":"1397253351","file4":"1397253359","file5":"1397253361","file3":"1397253358"},"map_files_photo_id_array":[{"photo_id":"1397253361","filename":"file5"},{"photo_id":"1397253356","filename":"file2"},{"photo_id":"1397253359","filename":"file4"},{"photo_id":"1397253353","filename":"file1"},{"photo_id":"1397253351","filename":"file0"},{"photo_id":"1397253358","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397253351":["hashtag1","hashtag2"]},{"1397253353":["hashtag1","hashtag2"]},{"1397253356":["hashtag1","hashtag2"]},{"1397253359":["hashtag1","hashtag2"]},{"1397253361":["hashtag1","hashtag2"]},{"1397253358":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397253351, 1397253353, 1397253356, 1397253359, 1397253361, 1397253358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7780966758728 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 21:01:21.867743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/39/image_01122025_17_39_54_9740.jpg', '/home/pi/Desktop/images/01122025/17/41/image_01122025_17_41_19_10126.jpg', '/home/pi/Desktop/images/01122025/17/41/image_01122025_17_41_29_9950.jpg', '/home/pi/Desktop/images/01122025/17/41/image_01122025_17_41_41_12717.jpg', '/home/pi/Desktop/images/01122025/17/41/image_01122025_17_41_49_7693.jpg', '/home/pi/Desktop/images/01122025/17/41/image_01122025_17_41_59_10405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/39/image_01122025_17_39_54_9740.jpg
/home/pi/Desktop/images/01122025/17/41/image_01122025_17_41_19_10126.jpg
/home/pi/Desktop/images/01122025/17/41/image_01122025_17_41_29_9950.jpg
/home/pi/Desktop/images/01122025/17/41/image_01122025_17_41_41_12717.jpg
/home/pi/Desktop/images/01122025/17/41/image_01122025_17_41_49_7693.jpg
/home/pi/Desktop/images/01122025/17/41/image_01122025_17_41_59_10405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397253381","1397253375","1397253369","1397253378","1397253372","1397253364"],"photo_ids_order":["1397253364","1397253369","1397253372","1397253375","1397253378","1397253381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4048bfb1b7f548bbcb8794d3f5053845.jpg","text":"TemporaryFile(/tmp/multipartBody4507255654640296132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619342563,"filename":"image_01122025_17_41_59_10405.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6327e80b8b29ced36d071ab958a60a34.jpg","text":"TemporaryFile(/tmp/multipartBody4243853578702821490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619342563,"filename":"image_01122025_17_41_41_12717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/89bb8ec0bb786d50381e84fbe293e441.jpg","text":"TemporaryFile(/tmp/multipartBody660542402148802968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619342563,"filename":"image_01122025_17_41_19_10126.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/65a9c35a4e1168b1c8bea243986b22e0.jpg","text":"TemporaryFile(/tmp/multipartBody7913086788888057719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619342563,"filename":"image_01122025_17_41_49_7693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/382acb7e504f0d69cd5250e9fd102f6e.jpg","text":"TemporaryFile(/tmp/multipartBody796313238155870781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619342563,"filename":"image_01122025_17_41_29_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/1/cd27c6661dfd02e3407e8d35b6e5cb25.jpg","text":"TemporaryFile(/tmp/multipartBody5599093287432525021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619342563,"filename":"image_01122025_17_39_54_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397253372","file1":"1397253369","file0":"1397253364","file4":"1397253378","file5":"1397253381","file3":"1397253375"},"map_files_photo_id_array":[{"photo_id":"1397253381","filename":"file5"},{"photo_id":"1397253372","filename":"file2"},{"photo_id":"1397253378","filename":"file4"},{"photo_id":"1397253369","filename":"file1"},{"photo_id":"1397253364","filename":"file0"},{"photo_id":"1397253375","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397253381":["hashtag1","hashtag2"]},{"1397253375":["hashtag1","hashtag2"]},{"1397253369":["hashtag1","hashtag2"]},{"1397253378":["hashtag1","hashtag2"]},{"1397253372":["hashtag1","hashtag2"]},{"1397253364":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397253381, 1397253375, 1397253369, 1397253378, 1397253372, 1397253364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.525275468826294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:02:02.503474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/42/image_01122025_17_42_09_9844.jpg', '/home/pi/Desktop/images/01122025/17/42/image_01122025_17_42_19_9735.jpg', '/home/pi/Desktop/images/01122025/17/42/image_01122025_17_42_29_9724.jpg', '/home/pi/Desktop/images/01122025/17/42/image_01122025_17_42_39_10664.jpg', '/home/pi/Desktop/images/01122025/17/42/image_01122025_17_42_49_9316.jpg', '/home/pi/Desktop/images/01122025/17/42/image_01122025_17_42_59_10760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/42/image_01122025_17_42_09_9844.jpg
/home/pi/Desktop/images/01122025/17/42/image_01122025_17_42_19_9735.jpg
/home/pi/Desktop/images/01122025/17/42/image_01122025_17_42_29_9724.jpg
/home/pi/Desktop/images/01122025/17/42/image_01122025_17_42_39_10664.jpg
/home/pi/Desktop/images/01122025/17/42/image_01122025_17_42_49_9316.jpg
/home/pi/Desktop/images/01122025/17/42/image_01122025_17_42_59_10760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397253384","1397253386","1397253382","1397253391","1397253385","1397253388"],"photo_ids_order":["1397253382","1397253384","1397253385","1397253386","1397253388","1397253391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0418c0f2b87d87014c0ecd40115b0bfe.jpg","text":"TemporaryFile(/tmp/multipartBody6164740671306724083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619383221,"filename":"image_01122025_17_42_19_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/1/96a0790d9811a16c738bf89bcf32cec4.jpg","text":"TemporaryFile(/tmp/multipartBody5935926359222433746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619383221,"filename":"image_01122025_17_42_39_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/1/5655dd2b6aa7be7f399972ef5d708c82.jpg","text":"TemporaryFile(/tmp/multipartBody2287179298484451677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619383221,"filename":"image_01122025_17_42_09_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/1/7ad58ecceedd6245b76e4f8c69343b5f.jpg","text":"TemporaryFile(/tmp/multipartBody1053691955387424881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619383221,"filename":"image_01122025_17_42_59_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/1/557a2cff3b5e80744643fd912895c924.jpg","text":"TemporaryFile(/tmp/multipartBody3906741658643200967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619383221,"filename":"image_01122025_17_42_29_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/1/6f206e9443bdec0138030427a3ad5173.jpg","text":"TemporaryFile(/tmp/multipartBody2089727487142804927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619383221,"filename":"image_01122025_17_42_49_9316.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397253385","file1":"1397253384","file0":"1397253382","file4":"1397253388","file5":"1397253391","file3":"1397253386"},"map_files_photo_id_array":[{"photo_id":"1397253391","filename":"file5"},{"photo_id":"1397253385","filename":"file2"},{"photo_id":"1397253388","filename":"file4"},{"photo_id":"1397253384","filename":"file1"},{"photo_id":"1397253382","filename":"file0"},{"photo_id":"1397253386","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397253384":["hashtag1","hashtag2"]},{"1397253386":["hashtag1","hashtag2"]},{"1397253382":["hashtag1","hashtag2"]},{"1397253391":["hashtag1","hashtag2"]},{"1397253385":["hashtag1","hashtag2"]},{"1397253388":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397253384, 1397253386, 1397253382, 1397253391, 1397253385, 1397253388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40735960006714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 21:02:42.053373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_23_2696.jpg', '/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_27_3773.jpg', '/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_30_2708.jpg', '/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_32_2554.jpg', '/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_36_3747.jpg', '/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_39_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_23_2696.jpg
/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_27_3773.jpg
/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_30_2708.jpg
/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_32_2554.jpg
/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_36_3747.jpg
/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_39_2661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397253403","1397253406","1397253402","1397253404","1397253401","1397253400"],"photo_ids_order":["1397253400","1397253401","1397253402","1397253403","1397253404","1397253406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4e15e8f773673fefb5c348b4022b92a6.jpg","text":"TemporaryFile(/tmp/multipartBody2378550513591700563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619424612,"filename":"image_31102025_15_00_32_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2d7fddca9ca6f89f2a7836e6cdc58bd6.jpg","text":"TemporaryFile(/tmp/multipartBody6785651701739008670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619424612,"filename":"image_31102025_15_00_39_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/1/bbcece86b6d2b70cfc6924cd2d7a0444.jpg","text":"TemporaryFile(/tmp/multipartBody7020221762539274388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619424612,"filename":"image_31102025_15_00_30_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/1/cb1978fed0d92206edb0bc260215799b.jpg","text":"TemporaryFile(/tmp/multipartBody6018097067565428995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619424612,"filename":"image_31102025_15_00_36_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/1/3381c2f01faeef0478056bbdd216acd6.jpg","text":"TemporaryFile(/tmp/multipartBody6030638603404500760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619424612,"filename":"image_31102025_15_00_27_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/1/5298fc256b0fb21666772df1953afe11.jpg","text":"TemporaryFile(/tmp/multipartBody5121834858967244140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619424612,"filename":"image_31102025_15_00_23_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397253402","file1":"1397253401","file0":"1397253400","file4":"1397253404","file5":"1397253406","file3":"1397253403"},"map_files_photo_id_array":[{"photo_id":"1397253406","filename":"file5"},{"photo_id":"1397253402","filename":"file2"},{"photo_id":"1397253404","filename":"file4"},{"photo_id":"1397253401","filename":"file1"},{"photo_id":"1397253400","filename":"file0"},{"photo_id":"1397253403","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397253403":["hashtag1","hashtag2"]},{"1397253406":["hashtag1","hashtag2"]},{"1397253402":["hashtag1","hashtag2"]},{"1397253404":["hashtag1","hashtag2"]},{"1397253401":["hashtag1","hashtag2"]},{"1397253400":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397253403, 1397253406, 1397253402, 1397253404, 1397253401, 1397253400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.23753356933594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 21:03:32.223483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_19_3691.jpg', '/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_22_2636.jpg', '/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_24_2761.jpg', '/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_28_3552.jpg', '/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_31_2675.jpg', '/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_34_3519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_19_3691.jpg
/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_22_2636.jpg
/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_24_2761.jpg
/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_28_3552.jpg
/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_31_2675.jpg
/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_34_3519.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397253426","1397253423","1397253416","1397253425","1397253419","1397253427"],"photo_ids_order":["1397253416","1397253419","1397253423","1397253425","1397253426","1397253427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6384564d464d803f33298c2cf15bdb7a.jpg","text":"TemporaryFile(/tmp/multipartBody2923658572804494878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619473943,"filename":"image_25112025_23_28_31_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/1/97ae357716c87baefbb8d96c8e1c69a8.jpg","text":"TemporaryFile(/tmp/multipartBody799384344078443391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619473943,"filename":"image_25112025_23_28_24_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4c5d9f0f3d0b9cc41a20cb98ee590927.jpg","text":"TemporaryFile(/tmp/multipartBody5317749134445224071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619473943,"filename":"image_25112025_23_28_19_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/1/ecb564b34346905806ace76df1dc2669.jpg","text":"TemporaryFile(/tmp/multipartBody2623259183003301706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619473943,"filename":"image_25112025_23_28_28_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/1/685a24ffa8338963e9fbc18148972c8f.jpg","text":"TemporaryFile(/tmp/multipartBody571240918144061851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619473943,"filename":"image_25112025_23_28_22_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/1/253534173fdde861384376bf4ac97861.jpg","text":"TemporaryFile(/tmp/multipartBody6036458947136955905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619473943,"filename":"image_25112025_23_28_34_3519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397253423","file1":"1397253419","file0":"1397253416","file4":"1397253426","file5":"1397253427","file3":"1397253425"},"map_files_photo_id_array":[{"photo_id":"1397253427","filename":"file5"},{"photo_id":"1397253423","filename":"file2"},{"photo_id":"1397253426","filename":"file4"},{"photo_id":"1397253419","filename":"file1"},{"photo_id":"1397253416","filename":"file0"},{"photo_id":"1397253425","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397253426":["hashtag1","hashtag2"]},{"1397253423":["hashtag1","hashtag2"]},{"1397253416":["hashtag1","hashtag2"]},{"1397253425":["hashtag1","hashtag2"]},{"1397253419":["hashtag1","hashtag2"]},{"1397253427":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397253426, 1397253423, 1397253416, 1397253425, 1397253419, 1397253427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.917444467544556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 21:04:12.440913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_37_2642.jpg', '/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_39_2526.jpg', '/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_43_3542.jpg', '/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_45_2500.jpg', '/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_49_3694.jpg', '/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_52_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_37_2642.jpg
/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_39_2526.jpg
/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_43_3542.jpg
/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_45_2500.jpg
/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_49_3694.jpg
/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_52_2739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397253439","1397253430","1397253445","1397253433","1397253442","1397253436"],"photo_ids_order":["1397253430","1397253433","1397253436","1397253439","1397253442","1397253445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/503e2f4bdee4b1ce6e98fc41355a5806.jpg","text":"TemporaryFile(/tmp/multipartBody2415681625182480725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619514054,"filename":"image_25112025_23_28_45_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/1/6d1427ee03c0f8fb8f662b4b164f75c3.jpg","text":"TemporaryFile(/tmp/multipartBody3362945969875023651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619514054,"filename":"image_25112025_23_28_37_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/1/47022174a86778690164e9217ff963b4.jpg","text":"TemporaryFile(/tmp/multipartBody8638478419630396679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619514054,"filename":"image_25112025_23_28_52_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/1/71c297af1dd8a063adca78133fa18b92.jpg","text":"TemporaryFile(/tmp/multipartBody5088858913392304044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619514054,"filename":"image_25112025_23_28_39_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6b0cb699552e98a89e3f3c68893eee05.jpg","text":"TemporaryFile(/tmp/multipartBody8406963850391963437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619514054,"filename":"image_25112025_23_28_49_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b0c30b90a1299fc7d2c74fa5deb323b8.jpg","text":"TemporaryFile(/tmp/multipartBody7929562204543396159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619514054,"filename":"image_25112025_23_28_43_3542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397253436","file1":"1397253433","file0":"1397253430","file4":"1397253442","file5":"1397253445","file3":"1397253439"},"map_files_photo_id_array":[{"photo_id":"1397253445","filename":"file5"},{"photo_id":"1397253436","filename":"file2"},{"photo_id":"1397253442","filename":"file4"},{"photo_id":"1397253433","filename":"file1"},{"photo_id":"1397253430","filename":"file0"},{"photo_id":"1397253439","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397253439":["hashtag1","hashtag2"]},{"1397253430":["hashtag1","hashtag2"]},{"1397253445":["hashtag1","hashtag2"]},{"1397253433":["hashtag1","hashtag2"]},{"1397253442":["hashtag1","hashtag2"]},{"1397253436":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397253439, 1397253430, 1397253445, 1397253433, 1397253442, 1397253436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2913384437561 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:05:03.293421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/43/image_01122025_17_43_29_10649.jpg', '/home/pi/Desktop/images/01122025/17/43/image_01122025_17_43_39_9725.jpg', '/home/pi/Desktop/images/01122025/17/43/image_01122025_17_43_49_9809.jpg', '/home/pi/Desktop/images/01122025/17/43/image_01122025_17_43_59_9949.jpg', '/home/pi/Desktop/images/01122025/17/44/image_01122025_17_44_09_9931.jpg', '/home/pi/Desktop/images/01122025/17/44/image_01122025_17_44_29_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/43/image_01122025_17_43_29_10649.jpg
/home/pi/Desktop/images/01122025/17/43/image_01122025_17_43_39_9725.jpg
/home/pi/Desktop/images/01122025/17/43/image_01122025_17_43_49_9809.jpg
/home/pi/Desktop/images/01122025/17/43/image_01122025_17_43_59_9949.jpg
/home/pi/Desktop/images/01122025/17/44/image_01122025_17_44_09_9931.jpg
/home/pi/Desktop/images/01122025/17/44/image_01122025_17_44_29_9629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397253808","1397253798","1397253795","1397253691","1397253583","1397253811"],"photo_ids_order":["1397253583","1397253691","1397253795","1397253798","1397253808","1397253811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/66735ada1d6c8cbc5e73700bd887bb6c.jpg","text":"TemporaryFile(/tmp/multipartBody365244566661287297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619564108,"filename":"image_01122025_17_44_09_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/1/b2a76037d7d70475bf85adb1defba05e.jpg","text":"TemporaryFile(/tmp/multipartBody4976171927008150078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619564108,"filename":"image_01122025_17_43_59_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/1/26b5923ec00e879a09ab7482d15ff009.jpg","text":"TemporaryFile(/tmp/multipartBody1095174723402439934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619564108,"filename":"image_01122025_17_43_49_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/1/338ecf0b5cce9c5699a4a7fee4cbf4a4.jpg","text":"TemporaryFile(/tmp/multipartBody4838930846717004813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619564108,"filename":"image_01122025_17_43_39_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/1/02a55c312b283f8fbd82a94eabac3e7c.jpg","text":"TemporaryFile(/tmp/multipartBody4109383992217990471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619564108,"filename":"image_01122025_17_43_29_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/1/a6ec8a65a3e385d33dc4846bb925b4ec.jpg","text":"TemporaryFile(/tmp/multipartBody6203021882079129987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619564108,"filename":"image_01122025_17_44_29_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397253795","file1":"1397253691","file0":"1397253583","file4":"1397253808","file5":"1397253811","file3":"1397253798"},"map_files_photo_id_array":[{"photo_id":"1397253811","filename":"file5"},{"photo_id":"1397253795","filename":"file2"},{"photo_id":"1397253808","filename":"file4"},{"photo_id":"1397253691","filename":"file1"},{"photo_id":"1397253583","filename":"file0"},{"photo_id":"1397253798","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397253808":["hashtag1","hashtag2"]},{"1397253798":["hashtag1","hashtag2"]},{"1397253795":["hashtag1","hashtag2"]},{"1397253691":["hashtag1","hashtag2"]},{"1397253583":["hashtag1","hashtag2"]},{"1397253811":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397253808, 1397253798, 1397253795, 1397253691, 1397253583, 1397253811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.443968296051025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:06:02.276408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/44/image_01122025_17_44_39_9781.jpg', '/home/pi/Desktop/images/01122025/17/44/image_01122025_17_44_49_10582.jpg', '/home/pi/Desktop/images/01122025/17/44/image_01122025_17_44_59_9562.jpg', '/home/pi/Desktop/images/01122025/17/46/image_01122025_17_46_14_10058.jpg', '/home/pi/Desktop/images/01122025/17/46/image_01122025_17_46_25_10891.jpg', '/home/pi/Desktop/images/01122025/17/46/image_01122025_17_46_34_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/44/image_01122025_17_44_39_9781.jpg
/home/pi/Desktop/images/01122025/17/44/image_01122025_17_44_49_10582.jpg
/home/pi/Desktop/images/01122025/17/44/image_01122025_17_44_59_9562.jpg
/home/pi/Desktop/images/01122025/17/46/image_01122025_17_46_14_10058.jpg
/home/pi/Desktop/images/01122025/17/46/image_01122025_17_46_25_10891.jpg
/home/pi/Desktop/images/01122025/17/46/image_01122025_17_46_34_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397253909","1397253912","1397253886","1397253922","1397253925","1397253919"],"photo_ids_order":["1397253886","1397253909","1397253912","1397253919","1397253922","1397253925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/856a8ecbb0e11375793420c8326d6e62.jpg","text":"TemporaryFile(/tmp/multipartBody6069244662281659780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619622985,"filename":"image_01122025_17_44_49_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/1/e2993d10518b4a66ab44eb3cbecc97f3.jpg","text":"TemporaryFile(/tmp/multipartBody2934803662415673989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619622985,"filename":"image_01122025_17_44_59_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/1/cfc593f15085c938a271c2afb08e0b32.jpg","text":"TemporaryFile(/tmp/multipartBody2123591928292377953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619622985,"filename":"image_01122025_17_44_39_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/1/9cb0f647fa829fbce42be898f58b1196.jpg","text":"TemporaryFile(/tmp/multipartBody4648478222406874879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619622985,"filename":"image_01122025_17_46_25_10891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6a45ed1ea2dced9e16960eb67bb7c051.jpg","text":"TemporaryFile(/tmp/multipartBody6019838424990749205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619622985,"filename":"image_01122025_17_46_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/1/d78e795ef453af8e2652fa2ca9e9dfae.jpg","text":"TemporaryFile(/tmp/multipartBody5395939168220739434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619622985,"filename":"image_01122025_17_46_14_10058.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397253912","file1":"1397253909","file0":"1397253886","file4":"1397253922","file5":"1397253925","file3":"1397253919"},"map_files_photo_id_array":[{"photo_id":"1397253925","filename":"file5"},{"photo_id":"1397253912","filename":"file2"},{"photo_id":"1397253922","filename":"file4"},{"photo_id":"1397253909","filename":"file1"},{"photo_id":"1397253886","filename":"file0"},{"photo_id":"1397253919","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397253909":["hashtag1","hashtag2"]},{"1397253912":["hashtag1","hashtag2"]},{"1397253886":["hashtag1","hashtag2"]},{"1397253922":["hashtag1","hashtag2"]},{"1397253925":["hashtag1","hashtag2"]},{"1397253919":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397253909, 1397253912, 1397253886, 1397253922, 1397253925, 1397253919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.90858435630798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:07:02.902887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/46/image_01122025_17_46_44_9629.jpg', '/home/pi/Desktop/images/01122025/17/46/image_01122025_17_46_55_10660.jpg', '/home/pi/Desktop/images/01122025/17/46/image_01122025_17_47_04_9604.jpg', '/home/pi/Desktop/images/01122025/17/47/image_01122025_17_47_14_9678.jpg', '/home/pi/Desktop/images/01122025/17/47/image_01122025_17_47_54_10554.jpg', '/home/pi/Desktop/images/01122025/17/47/image_01122025_17_48_04_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/46/image_01122025_17_46_44_9629.jpg
/home/pi/Desktop/images/01122025/17/46/image_01122025_17_46_55_10660.jpg
/home/pi/Desktop/images/01122025/17/46/image_01122025_17_47_04_9604.jpg
/home/pi/Desktop/images/01122025/17/47/image_01122025_17_47_14_9678.jpg
/home/pi/Desktop/images/01122025/17/47/image_01122025_17_47_54_10554.jpg
/home/pi/Desktop/images/01122025/17/47/image_01122025_17_48_04_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397253957","1397253954","1397253948","1397253962","1397253950","1397253952"],"photo_ids_order":["1397253948","1397253950","1397253952","1397253954","1397253957","1397253962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/38a1c4ac0792c7b736c435b1f8a72cc0.jpg","text":"TemporaryFile(/tmp/multipartBody8231918989831965490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619683618,"filename":"image_01122025_17_47_54_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/1/50d77135cfd1ed8f66cd8fbda95b4ab4.jpg","text":"TemporaryFile(/tmp/multipartBody4191590706461209716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619683618,"filename":"image_01122025_17_47_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/1/ee45b1d8024960bcf2b6c8b487829a2e.jpg","text":"TemporaryFile(/tmp/multipartBody3166249842116058713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619683618,"filename":"image_01122025_17_46_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/1/ce4df7c0f77594889cf11022668c26f7.jpg","text":"TemporaryFile(/tmp/multipartBody1538142473761030712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619683618,"filename":"image_01122025_17_48_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/1/333c23921fa7c9ef19d62183e329824d.jpg","text":"TemporaryFile(/tmp/multipartBody2976174079316689249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619683618,"filename":"image_01122025_17_46_55_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/072842477a3b1bdac287b7b635bea642.jpg","text":"TemporaryFile(/tmp/multipartBody6114967913571939061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619683618,"filename":"image_01122025_17_47_04_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397253952","file1":"1397253950","file0":"1397253948","file4":"1397253957","file5":"1397253962","file3":"1397253954"},"map_files_photo_id_array":[{"photo_id":"1397253962","filename":"file5"},{"photo_id":"1397253952","filename":"file2"},{"photo_id":"1397253957","filename":"file4"},{"photo_id":"1397253950","filename":"file1"},{"photo_id":"1397253948","filename":"file0"},{"photo_id":"1397253954","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397253957":["hashtag1","hashtag2"]},{"1397253954":["hashtag1","hashtag2"]},{"1397253948":["hashtag1","hashtag2"]},{"1397253962":["hashtag1","hashtag2"]},{"1397253950":["hashtag1","hashtag2"]},{"1397253952":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397253957, 1397253954, 1397253948, 1397253962, 1397253950, 1397253952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.268474817276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:08:03.284491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/48/image_01122025_17_48_14_9958.jpg', '/home/pi/Desktop/images/01122025/17/48/image_01122025_17_48_24_9709.jpg', '/home/pi/Desktop/images/01122025/17/48/image_01122025_17_48_34_10583.jpg', '/home/pi/Desktop/images/01122025/17/48/image_01122025_17_48_44_9758.jpg', '/home/pi/Desktop/images/01122025/17/48/image_01122025_17_48_54_9673.jpg', '/home/pi/Desktop/images/01122025/17/48/image_01122025_17_49_04_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/48/image_01122025_17_48_14_9958.jpg
/home/pi/Desktop/images/01122025/17/48/image_01122025_17_48_24_9709.jpg
/home/pi/Desktop/images/01122025/17/48/image_01122025_17_48_34_10583.jpg
/home/pi/Desktop/images/01122025/17/48/image_01122025_17_48_44_9758.jpg
/home/pi/Desktop/images/01122025/17/48/image_01122025_17_48_54_9673.jpg
/home/pi/Desktop/images/01122025/17/48/image_01122025_17_49_04_10611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397253972","1397253980","1397253974","1397253983","1397253977","1397253970"],"photo_ids_order":["1397253970","1397253972","1397253974","1397253977","1397253980","1397253983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f9f5175b4ddd370e914a412ec23bb776.jpg","text":"TemporaryFile(/tmp/multipartBody8930042416048730330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619744224,"filename":"image_01122025_17_48_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/1/d4a40dd205ba1c16d9ec137a42155fc4.jpg","text":"TemporaryFile(/tmp/multipartBody2690086948179135549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619744224,"filename":"image_01122025_17_48_54_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/32d14e090233ac7d3cb5583fa022a685.jpg","text":"TemporaryFile(/tmp/multipartBody8482000600322339390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619744224,"filename":"image_01122025_17_48_34_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5c07cb894048daac93f42b057699d406.jpg","text":"TemporaryFile(/tmp/multipartBody4518503591661193734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619744224,"filename":"image_01122025_17_49_04_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1f5fa598bdfcbe859fe4b0d2036bd88a.jpg","text":"TemporaryFile(/tmp/multipartBody6424491548567746083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619744224,"filename":"image_01122025_17_48_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/1/93df57a98c6249eff13436e286b8f1db.jpg","text":"TemporaryFile(/tmp/multipartBody477356170810414847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619744224,"filename":"image_01122025_17_48_14_9958.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397253974","file1":"1397253972","file0":"1397253970","file4":"1397253980","file5":"1397253983","file3":"1397253977"},"map_files_photo_id_array":[{"photo_id":"1397253983","filename":"file5"},{"photo_id":"1397253974","filename":"file2"},{"photo_id":"1397253980","filename":"file4"},{"photo_id":"1397253972","filename":"file1"},{"photo_id":"1397253970","filename":"file0"},{"photo_id":"1397253977","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397253972":["hashtag1","hashtag2"]},{"1397253980":["hashtag1","hashtag2"]},{"1397253974":["hashtag1","hashtag2"]},{"1397253983":["hashtag1","hashtag2"]},{"1397253977":["hashtag1","hashtag2"]},{"1397253970":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397253972, 1397253980, 1397253974, 1397253983, 1397253977, 1397253970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.3202064037323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:09:02.793352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/49/image_01122025_17_49_34_9108.jpg', '/home/pi/Desktop/images/01122025/17/49/image_01122025_17_49_45_10898.jpg', '/home/pi/Desktop/images/01122025/17/49/image_01122025_17_49_54_9713.jpg', '/home/pi/Desktop/images/01122025/17/50/image_01122025_17_50_15_10047.jpg', '/home/pi/Desktop/images/01122025/17/50/image_01122025_17_50_26_10712.jpg', '/home/pi/Desktop/images/01122025/17/50/image_01122025_17_51_05_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/49/image_01122025_17_49_34_9108.jpg
/home/pi/Desktop/images/01122025/17/49/image_01122025_17_49_45_10898.jpg
/home/pi/Desktop/images/01122025/17/49/image_01122025_17_49_54_9713.jpg
/home/pi/Desktop/images/01122025/17/50/image_01122025_17_50_15_10047.jpg
/home/pi/Desktop/images/01122025/17/50/image_01122025_17_50_26_10712.jpg
/home/pi/Desktop/images/01122025/17/50/image_01122025_17_51_05_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":["1397253996","1397254002","1397253992","1397254004","1397253998","1397253994"],"photo_ids_order":["1397253992","1397253994","1397253996","1397253998","1397254002","1397254004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f197d99040c9d331e1864e05e0b05aca.jpg","text":"TemporaryFile(/tmp/multipartBody6463989653783211307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619803650,"filename":"image_01122025_17_49_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/1/5187037aaedfb97ecee6ee5398f799da.jpg","text":"TemporaryFile(/tmp/multipartBody363135190345539125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619803650,"filename":"image_01122025_17_50_26_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/1/4b6df9f232c14e435ed71fe569ebe93a.jpg","text":"TemporaryFile(/tmp/multipartBody839907449989955893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619803650,"filename":"image_01122025_17_49_34_9108.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/366f898ce2e5a40047458b6f96e3dd92.jpg","text":"TemporaryFile(/tmp/multipartBody821041476480743380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619803650,"filename":"image_01122025_17_51_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/1/bb9e71f8c25ebaf816e84c7ea86f5e0e.jpg","text":"TemporaryFile(/tmp/multipartBody8948219188050900907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619803650,"filename":"image_01122025_17_50_15_10047.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f15134b2067f1f12b0dc3a8e2db5cb32.jpg","text":"TemporaryFile(/tmp/multipartBody2499255560683572905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619803650,"filename":"image_01122025_17_49_45_10898.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397253996","file1":"1397253994","file0":"1397253992","file4":"1397254002","file5":"1397254004","file3":"1397253998"},"map_files_photo_id_array":[{"photo_id":"1397254004","filename":"file5"},{"photo_id":"1397253996","filename":"file2"},{"photo_id":"1397254002","filename":"file4"},{"photo_id":"1397253994","filename":"file1"},{"photo_id":"1397253992","filename":"file0"},{"photo_id":"1397253998","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397253996":["hashtag1","hashtag2"]},{"1397254002":["hashtag1","hashtag2"]},{"1397253992":["hashtag1","hashtag2"]},{"1397254004":["hashtag1","hashtag2"]},{"1397253998":["hashtag1","hashtag2"]},{"1397253994":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397253996, 1397254002, 1397253992, 1397254004, 1397253998, 1397253994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.91156363487244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:10:02.623481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/51/image_01122025_17_51_15_9732.jpg', '/home/pi/Desktop/images/01122025/17/51/image_01122025_17_51_36_9814.jpg', '/home/pi/Desktop/images/01122025/17/51/image_01122025_17_51_45_9317.jpg', '/home/pi/Desktop/images/01122025/17/51/image_01122025_17_51_55_10619.jpg', '/home/pi/Desktop/images/01122025/17/51/image_01122025_17_52_05_9653.jpg', '/home/pi/Desktop/images/01122025/17/52/image_01122025_17_52_15_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/51/image_01122025_17_51_15_9732.jpg
/home/pi/Desktop/images/01122025/17/51/image_01122025_17_51_36_9814.jpg
/home/pi/Desktop/images/01122025/17/51/image_01122025_17_51_45_9317.jpg
/home/pi/Desktop/images/01122025/17/51/image_01122025_17_51_55_10619.jpg
/home/pi/Desktop/images/01122025/17/51/image_01122025_17_52_05_9653.jpg
/home/pi/Desktop/images/01122025/17/52/image_01122025_17_52_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":["1397254128","1397254160","1397254157","1397254124","1397254132","1397254126"],"photo_ids_order":["1397254124","1397254126","1397254128","1397254132","1397254157","1397254160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/371a9d365b1ca3e64c3dcb6346d307c1.jpg","text":"TemporaryFile(/tmp/multipartBody6454837121574379686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619863325,"filename":"image_01122025_17_51_45_9317.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cb919060c9aeb2ea283a98841e3a28da.jpg","text":"TemporaryFile(/tmp/multipartBody1736625206958540037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619863325,"filename":"image_01122025_17_52_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/1/dc3b8ac126f3ccdbde52d3d9679b12f7.jpg","text":"TemporaryFile(/tmp/multipartBody7601638806091249770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619863325,"filename":"image_01122025_17_52_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/1/1df92578f35ac667571072a02462bdcd.jpg","text":"TemporaryFile(/tmp/multipartBody7816381514766030730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619863325,"filename":"image_01122025_17_51_15_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6077afecabe71a2963dcea8863c8af0f.jpg","text":"TemporaryFile(/tmp/multipartBody2242331549035961638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619863325,"filename":"image_01122025_17_51_55_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b9ab70b4b079959828757743221a7dde.jpg","text":"TemporaryFile(/tmp/multipartBody427601627485114025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619863325,"filename":"image_01122025_17_51_36_9814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397254128","file1":"1397254126","file0":"1397254124","file4":"1397254157","file5":"1397254160","file3":"1397254132"},"map_files_photo_id_array":[{"photo_id":"1397254160","filename":"file5"},{"photo_id":"1397254128","filename":"file2"},{"photo_id":"1397254157","filename":"file4"},{"photo_id":"1397254126","filename":"file1"},{"photo_id":"1397254124","filename":"file0"},{"photo_id":"1397254132","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397254128":["hashtag1","hashtag2"]},{"1397254160":["hashtag1","hashtag2"]},{"1397254157":["hashtag1","hashtag2"]},{"1397254124":["hashtag1","hashtag2"]},{"1397254132":["hashtag1","hashtag2"]},{"1397254126":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397254128, 1397254160, 1397254157, 1397254124, 1397254132, 1397254126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43620014190674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 21:10:42.217774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_41_2564.jpg', '/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_45_3620.jpg', '/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_47_2691.jpg', '/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_50_2646.jpg', '/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_54_3670.jpg', '/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_56_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_41_2564.jpg
/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_45_3620.jpg
/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_47_2691.jpg
/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_50_2646.jpg
/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_54_3670.jpg
/home/pi/Desktop/images/31102025/15/00/image_31102025_15_00_56_2590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397254224","1397254200","1397254190","1397254220","1397254195","1397254201"],"photo_ids_order":["1397254190","1397254195","1397254200","1397254201","1397254220","1397254224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8e170d3d745b4a6fb69b08213557efe0.jpg","text":"TemporaryFile(/tmp/multipartBody2796354581442994355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619904721,"filename":"image_31102025_15_00_56_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/1/16fed02df997e3502fd822c61918b80a.jpg","text":"TemporaryFile(/tmp/multipartBody8539397887649428104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619904721,"filename":"image_31102025_15_00_47_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/1/58c27b2e628877cc9befa61fc6221270.jpg","text":"TemporaryFile(/tmp/multipartBody7891573406407228605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619904721,"filename":"image_31102025_15_00_41_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/1/01339a024e939303e687870188076c12.jpg","text":"TemporaryFile(/tmp/multipartBody3180875330442100865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619904721,"filename":"image_31102025_15_00_54_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/1/760ce1278983064e46c8ab4ffbbdcb56.jpg","text":"TemporaryFile(/tmp/multipartBody7261998920898085175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619904721,"filename":"image_31102025_15_00_45_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/1/e869b023795ca61de850f9e0f60b7a04.jpg","text":"TemporaryFile(/tmp/multipartBody7330496096712984149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619904721,"filename":"image_31102025_15_00_50_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397254200","file1":"1397254195","file0":"1397254190","file4":"1397254220","file5":"1397254224","file3":"1397254201"},"map_files_photo_id_array":[{"photo_id":"1397254224","filename":"file5"},{"photo_id":"1397254200","filename":"file2"},{"photo_id":"1397254220","filename":"file4"},{"photo_id":"1397254195","filename":"file1"},{"photo_id":"1397254190","filename":"file0"},{"photo_id":"1397254201","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397254224":["hashtag1","hashtag2"]},{"1397254200":["hashtag1","hashtag2"]},{"1397254190":["hashtag1","hashtag2"]},{"1397254220":["hashtag1","hashtag2"]},{"1397254195":["hashtag1","hashtag2"]},{"1397254201":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397254224, 1397254200, 1397254190, 1397254220, 1397254195, 1397254201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.597108125686646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 21:11:32.374300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_54_2567.jpg', '/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_01_2549.jpg', '/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_03_2707.jpg', '/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_06_2930.jpg', '/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_10_3691.jpg', '/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_13_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/28/image_25112025_23_28_54_2567.jpg
/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_01_2549.jpg
/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_03_2707.jpg
/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_06_2930.jpg
/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_10_3691.jpg
/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_13_2565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397254302","1397254340","1397254304","1397254339","1397254234","1397254299"],"photo_ids_order":["1397254234","1397254299","1397254302","1397254304","1397254339","1397254340"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bcd435582f921a750f5ac290734659fd.jpg","text":"TemporaryFile(/tmp/multipartBody8678557392745828547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619954086,"filename":"image_25112025_23_29_03_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9d249378f3abcdd7ae7299d1303f4a3a.jpg","text":"TemporaryFile(/tmp/multipartBody3755960520250278747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619954086,"filename":"image_25112025_23_29_13_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/1/0dd0d5199695f33d5aa5943f0c169810.jpg","text":"TemporaryFile(/tmp/multipartBody4113813391406830943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619954086,"filename":"image_25112025_23_29_06_2930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fc4712e64cd7b7a4252ce985b532a9bb.jpg","text":"TemporaryFile(/tmp/multipartBody5387784954643218929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619954086,"filename":"image_25112025_23_29_10_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/1/6206a901f2ce4216992aad4ae05ca4b8.jpg","text":"TemporaryFile(/tmp/multipartBody2772371508381013764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619954086,"filename":"image_25112025_23_28_54_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/72baa963d635edf57cdb6a1701964fb7.jpg","text":"TemporaryFile(/tmp/multipartBody66761915194905354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619954086,"filename":"image_25112025_23_29_01_2549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397254302","file1":"1397254299","file0":"1397254234","file4":"1397254339","file5":"1397254340","file3":"1397254304"},"map_files_photo_id_array":[{"photo_id":"1397254340","filename":"file5"},{"photo_id":"1397254302","filename":"file2"},{"photo_id":"1397254339","filename":"file4"},{"photo_id":"1397254299","filename":"file1"},{"photo_id":"1397254234","filename":"file0"},{"photo_id":"1397254304","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397254302":["hashtag1","hashtag2"]},{"1397254340":["hashtag1","hashtag2"]},{"1397254304":["hashtag1","hashtag2"]},{"1397254339":["hashtag1","hashtag2"]},{"1397254234":["hashtag1","hashtag2"]},{"1397254299":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397254302, 1397254340, 1397254304, 1397254339, 1397254234, 1397254299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.676934003829956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 21:12:12.574663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_19_2854.jpg', '/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_22_2562.jpg', '/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_24_2573.jpg', '/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_28_3800.jpg', '/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_31_3189.jpg', '/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_34_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_19_2854.jpg
/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_22_2562.jpg
/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_24_2573.jpg
/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_28_3800.jpg
/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_31_3189.jpg
/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_34_2580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397254347","1397254352","1397254355","1397254358","1397254372","1397254345"],"photo_ids_order":["1397254345","1397254347","1397254352","1397254355","1397254358","1397254372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/801d6f21276c911437f3c36fd2de5a71.jpg","text":"TemporaryFile(/tmp/multipartBody4451073934876820758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619994175,"filename":"image_25112025_23_29_22_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/467b868dc0f2bf870b7f10f2603c6660.jpg","text":"TemporaryFile(/tmp/multipartBody5116057754276719373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619994175,"filename":"image_25112025_23_29_24_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/1/3ee09f032d48c32d3c16e37cddde6c11.jpg","text":"TemporaryFile(/tmp/multipartBody8401212900263209636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619994175,"filename":"image_25112025_23_29_28_3800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d342082520de5b7a7fd8ddc1677dd711.jpg","text":"TemporaryFile(/tmp/multipartBody67674099583613707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619994175,"filename":"image_25112025_23_29_31_3189.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e6e1ceb0e6aec29662fc289c91940349.jpg","text":"TemporaryFile(/tmp/multipartBody5634284991904938915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619994175,"filename":"image_25112025_23_29_34_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/1/9299edd93ac851365bd0604aaa0b7161.jpg","text":"TemporaryFile(/tmp/multipartBody1210353381067079711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764619994175,"filename":"image_25112025_23_29_19_2854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397254352","file1":"1397254347","file0":"1397254345","file4":"1397254358","file5":"1397254372","file3":"1397254355"},"map_files_photo_id_array":[{"photo_id":"1397254372","filename":"file5"},{"photo_id":"1397254352","filename":"file2"},{"photo_id":"1397254358","filename":"file4"},{"photo_id":"1397254347","filename":"file1"},{"photo_id":"1397254345","filename":"file0"},{"photo_id":"1397254355","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397254347":["hashtag1","hashtag2"]},{"1397254352":["hashtag1","hashtag2"]},{"1397254355":["hashtag1","hashtag2"]},{"1397254358":["hashtag1","hashtag2"]},{"1397254372":["hashtag1","hashtag2"]},{"1397254345":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397254347, 1397254352, 1397254355, 1397254358, 1397254372, 1397254345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23734164237976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:13:03.509614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/52/image_01122025_17_52_26_10708.jpg', '/home/pi/Desktop/images/01122025/17/52/image_01122025_17_52_46_10589.jpg', '/home/pi/Desktop/images/01122025/17/52/image_01122025_17_52_56_9759.jpg', '/home/pi/Desktop/images/01122025/17/53/image_01122025_17_53_06_10216.jpg', '/home/pi/Desktop/images/01122025/17/53/image_01122025_17_53_15_9568.jpg', '/home/pi/Desktop/images/01122025/17/53/image_01122025_17_53_25_9583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/52/image_01122025_17_52_26_10708.jpg
/home/pi/Desktop/images/01122025/17/52/image_01122025_17_52_46_10589.jpg
/home/pi/Desktop/images/01122025/17/52/image_01122025_17_52_56_9759.jpg
/home/pi/Desktop/images/01122025/17/53/image_01122025_17_53_06_10216.jpg
/home/pi/Desktop/images/01122025/17/53/image_01122025_17_53_15_9568.jpg
/home/pi/Desktop/images/01122025/17/53/image_01122025_17_53_25_9583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397254476","1397254416","1397254472","1397254414","1397254479","1397254470"],"photo_ids_order":["1397254414","1397254416","1397254470","1397254472","1397254476","1397254479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cba9305928c7029e3de8ec8445efd9f0.jpg","text":"TemporaryFile(/tmp/multipartBody7647079904310144361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620044251,"filename":"image_01122025_17_53_15_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e340df42cb7f614c6efc172ca0498bcd.jpg","text":"TemporaryFile(/tmp/multipartBody5584672727669818379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620044251,"filename":"image_01122025_17_52_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/1/cda573b1027e6fd34160ada677fff577.jpg","text":"TemporaryFile(/tmp/multipartBody8691547736754275514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620044251,"filename":"image_01122025_17_53_06_10216.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c4cd98bd958a0ab9040ea1776dbb5153.jpg","text":"TemporaryFile(/tmp/multipartBody5625199496778590780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620044251,"filename":"image_01122025_17_52_26_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/1/c249d1b658e48a78fdec82efbb339c43.jpg","text":"TemporaryFile(/tmp/multipartBody7741558114874702321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620044251,"filename":"image_01122025_17_53_25_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/91432a1d24a9475045a5699c2c057720.jpg","text":"TemporaryFile(/tmp/multipartBody629582478048481708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620044251,"filename":"image_01122025_17_52_56_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397254470","file1":"1397254416","file0":"1397254414","file4":"1397254476","file5":"1397254479","file3":"1397254472"},"map_files_photo_id_array":[{"photo_id":"1397254479","filename":"file5"},{"photo_id":"1397254470","filename":"file2"},{"photo_id":"1397254476","filename":"file4"},{"photo_id":"1397254416","filename":"file1"},{"photo_id":"1397254414","filename":"file0"},{"photo_id":"1397254472","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397254476":["hashtag1","hashtag2"]},{"1397254416":["hashtag1","hashtag2"]},{"1397254472":["hashtag1","hashtag2"]},{"1397254414":["hashtag1","hashtag2"]},{"1397254479":["hashtag1","hashtag2"]},{"1397254470":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397254476, 1397254416, 1397254472, 1397254414, 1397254479, 1397254470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16785264015198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 21:13:42.816163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_03_2608.jpg', '/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_05_2609.jpg', '/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_09_3708.jpg', '/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_12_2702.jpg', '/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_14_2627.jpg', '/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_17_2838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_03_2608.jpg
/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_05_2609.jpg
/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_09_3708.jpg
/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_12_2702.jpg
/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_14_2627.jpg
/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_17_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":["1397254521","1397254524","1397254527","1397254526","1397254529","1397254525"],"photo_ids_order":["1397254521","1397254524","1397254525","1397254526","1397254527","1397254529"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/76d2b5c8af8d7898b494ab87d7216486.jpg","text":"TemporaryFile(/tmp/multipartBody6104562249747042354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620085348,"filename":"image_31102025_15_01_03_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/1/cb6f5eec0f64798b195a1555a5a4e8f4.jpg","text":"TemporaryFile(/tmp/multipartBody8874167964070231797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620085348,"filename":"image_31102025_15_01_05_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ace260f9df2636d5f55a5a15161ea09b.jpg","text":"TemporaryFile(/tmp/multipartBody1870823802241525383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620085348,"filename":"image_31102025_15_01_14_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/267d3082bd7ed6269f335f4ba0983a5b.jpg","text":"TemporaryFile(/tmp/multipartBody8832236789454873959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620085348,"filename":"image_31102025_15_01_12_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/1/8956e0ed40eaa4afc8658beb345b3356.jpg","text":"TemporaryFile(/tmp/multipartBody4504966108562787863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620085348,"filename":"image_31102025_15_01_17_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/1/f25496c759ed13dd6feec168b6610d45.jpg","text":"TemporaryFile(/tmp/multipartBody3770789523866541499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620085348,"filename":"image_31102025_15_01_09_3708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397254525","file1":"1397254524","file0":"1397254521","file4":"1397254527","file5":"1397254529","file3":"1397254526"},"map_files_photo_id_array":[{"photo_id":"1397254529","filename":"file5"},{"photo_id":"1397254525","filename":"file2"},{"photo_id":"1397254527","filename":"file4"},{"photo_id":"1397254524","filename":"file1"},{"photo_id":"1397254521","filename":"file0"},{"photo_id":"1397254526","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397254521":["hashtag1","hashtag2"]},{"1397254524":["hashtag1","hashtag2"]},{"1397254527":["hashtag1","hashtag2"]},{"1397254526":["hashtag1","hashtag2"]},{"1397254529":["hashtag1","hashtag2"]},{"1397254525":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397254521, 1397254524, 1397254527, 1397254526, 1397254529, 1397254525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86786460876465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 21:14:32.008473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_39_5133.jpg', '/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_40_1531.jpg', '/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_46_2672.jpg', '/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_48_2694.jpg', '/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_52_3620.jpg', '/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_55_2529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_39_5133.jpg
/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_40_1531.jpg
/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_46_2672.jpg
/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_48_2694.jpg
/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_52_3620.jpg
/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_55_2529.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397254554","1397254556","1397254544","1397254547","1397254555","1397254552"],"photo_ids_order":["1397254544","1397254547","1397254552","1397254554","1397254555","1397254556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1049c206091fd085f4edc8a4c46d7c64.jpg","text":"TemporaryFile(/tmp/multipartBody2784160664902691099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620133682,"filename":"image_25112025_23_29_48_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f9019b7aa2a4b4f8e88cd6eeaa6cb00c.jpg","text":"TemporaryFile(/tmp/multipartBody2847685720307472162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620133682,"filename":"image_25112025_23_29_55_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f80a67d7ef7280efda8b13619aacb5fd.jpg","text":"TemporaryFile(/tmp/multipartBody8000603224052164219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620133682,"filename":"image_25112025_23_29_39_5133.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0ed2a4c0676ce6b2bbcbb7c141bc2b3a.jpg","text":"TemporaryFile(/tmp/multipartBody3082822982232622972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620133682,"filename":"image_25112025_23_29_40_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/1/79e6f4921727159a92f362b1fafd5ba3.jpg","text":"TemporaryFile(/tmp/multipartBody2472867161720161099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620133682,"filename":"image_25112025_23_29_52_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fb5b5d9251d7e3d9e0ba5f6ae610a384.jpg","text":"TemporaryFile(/tmp/multipartBody744928551871128869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620133682,"filename":"image_25112025_23_29_46_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397254552","file1":"1397254547","file0":"1397254544","file4":"1397254555","file5":"1397254556","file3":"1397254554"},"map_files_photo_id_array":[{"photo_id":"1397254556","filename":"file5"},{"photo_id":"1397254552","filename":"file2"},{"photo_id":"1397254555","filename":"file4"},{"photo_id":"1397254547","filename":"file1"},{"photo_id":"1397254544","filename":"file0"},{"photo_id":"1397254554","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397254554":["hashtag1","hashtag2"]},{"1397254556":["hashtag1","hashtag2"]},{"1397254544":["hashtag1","hashtag2"]},{"1397254547":["hashtag1","hashtag2"]},{"1397254555":["hashtag1","hashtag2"]},{"1397254552":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397254554, 1397254556, 1397254544, 1397254547, 1397254555, 1397254552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.91792917251587 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 21:15:22.180502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/53/image_01122025_17_53_36_10663.jpg', '/home/pi/Desktop/images/01122025/17/53/image_01122025_17_53_45_9638.jpg', '/home/pi/Desktop/images/01122025/17/53/image_01122025_17_53_55_9598.jpg', '/home/pi/Desktop/images/01122025/17/53/image_01122025_17_54_06_10708.jpg', '/home/pi/Desktop/images/01122025/17/54/image_01122025_17_54_15_9700.jpg', '/home/pi/Desktop/images/01122025/17/54/image_01122025_17_54_25_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/53/image_01122025_17_53_36_10663.jpg
/home/pi/Desktop/images/01122025/17/53/image_01122025_17_53_45_9638.jpg
/home/pi/Desktop/images/01122025/17/53/image_01122025_17_53_55_9598.jpg
/home/pi/Desktop/images/01122025/17/53/image_01122025_17_54_06_10708.jpg
/home/pi/Desktop/images/01122025/17/54/image_01122025_17_54_15_9700.jpg
/home/pi/Desktop/images/01122025/17/54/image_01122025_17_54_25_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":["1397254580","1397254574","1397254577","1397254562","1397254570","1397254566"],"photo_ids_order":["1397254562","1397254566","1397254570","1397254574","1397254577","1397254580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3ec32522282c4263d482fb8ef37db5a1.jpg","text":"TemporaryFile(/tmp/multipartBody4682546126119864183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620182883,"filename":"image_01122025_17_54_25_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5f1f61331ee47c725960e94745c7c3d6.jpg","text":"TemporaryFile(/tmp/multipartBody7050764781803845691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620182883,"filename":"image_01122025_17_54_06_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/1/b35395e51bf1b127c0d8a34de3e2b966.jpg","text":"TemporaryFile(/tmp/multipartBody4335195840249468400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620182883,"filename":"image_01122025_17_54_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/1/b0fdc1ef6d54b1c1c8e5f63e03fed361.jpg","text":"TemporaryFile(/tmp/multipartBody772528975597831059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620182883,"filename":"image_01122025_17_53_36_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/67a17309bbb0079831049f2b93f8684f.jpg","text":"TemporaryFile(/tmp/multipartBody1001468026092521688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620182883,"filename":"image_01122025_17_53_55_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/586434f087a951764d09828e59c504f5.jpg","text":"TemporaryFile(/tmp/multipartBody7254383630235327246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620182883,"filename":"image_01122025_17_53_45_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397254570","file1":"1397254566","file0":"1397254562","file4":"1397254577","file5":"1397254580","file3":"1397254574"},"map_files_photo_id_array":[{"photo_id":"1397254580","filename":"file5"},{"photo_id":"1397254570","filename":"file2"},{"photo_id":"1397254577","filename":"file4"},{"photo_id":"1397254566","filename":"file1"},{"photo_id":"1397254562","filename":"file0"},{"photo_id":"1397254574","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397254580":["hashtag1","hashtag2"]},{"1397254574":["hashtag1","hashtag2"]},{"1397254577":["hashtag1","hashtag2"]},{"1397254562":["hashtag1","hashtag2"]},{"1397254570":["hashtag1","hashtag2"]},{"1397254566":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397254580, 1397254574, 1397254577, 1397254562, 1397254570, 1397254566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.442267179489136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:16:02.824086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/54/image_01122025_17_54_36_10645.jpg', '/home/pi/Desktop/images/01122025/17/54/image_01122025_17_54_45_9733.jpg', '/home/pi/Desktop/images/01122025/17/54/image_01122025_17_54_55_9790.jpg', '/home/pi/Desktop/images/01122025/17/55/image_01122025_17_55_45_10529.jpg', '/home/pi/Desktop/images/01122025/17/55/image_01122025_17_56_04_9651.jpg', '/home/pi/Desktop/images/01122025/17/56/image_01122025_17_56_15_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/54/image_01122025_17_54_36_10645.jpg
/home/pi/Desktop/images/01122025/17/54/image_01122025_17_54_45_9733.jpg
/home/pi/Desktop/images/01122025/17/54/image_01122025_17_54_55_9790.jpg
/home/pi/Desktop/images/01122025/17/55/image_01122025_17_55_45_10529.jpg
/home/pi/Desktop/images/01122025/17/55/image_01122025_17_56_04_9651.jpg
/home/pi/Desktop/images/01122025/17/56/image_01122025_17_56_15_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":["1397254589","1397254583","1397254591","1397254594","1397254599","1397254587"],"photo_ids_order":["1397254583","1397254587","1397254589","1397254591","1397254594","1397254599"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/82411671b6fd160fcda44207956464ba.jpg","text":"TemporaryFile(/tmp/multipartBody4276653545502617426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620223528,"filename":"image_01122025_17_54_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/1/493fca564cbdf1e76c80bccd4270815c.jpg","text":"TemporaryFile(/tmp/multipartBody7108707804901998655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620223528,"filename":"image_01122025_17_54_36_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/1/70224cb782f9a8d269dba94495f911fd.jpg","text":"TemporaryFile(/tmp/multipartBody2546073321506039134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620223528,"filename":"image_01122025_17_55_45_10529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/85049d6d5866b0fcb1d307eea46279b8.jpg","text":"TemporaryFile(/tmp/multipartBody5032872576054116172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620223528,"filename":"image_01122025_17_56_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/1/c1f0acc00e458b7b041187ee40806a59.jpg","text":"TemporaryFile(/tmp/multipartBody6586517363197899140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620223528,"filename":"image_01122025_17_56_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/1/d8cbdbd2012c99c7beecff33d2cffc31.jpg","text":"TemporaryFile(/tmp/multipartBody806425884938197350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620223528,"filename":"image_01122025_17_54_45_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397254589","file1":"1397254587","file0":"1397254583","file4":"1397254594","file5":"1397254599","file3":"1397254591"},"map_files_photo_id_array":[{"photo_id":"1397254599","filename":"file5"},{"photo_id":"1397254589","filename":"file2"},{"photo_id":"1397254594","filename":"file4"},{"photo_id":"1397254587","filename":"file1"},{"photo_id":"1397254583","filename":"file0"},{"photo_id":"1397254591","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397254589":["hashtag1","hashtag2"]},{"1397254583":["hashtag1","hashtag2"]},{"1397254591":["hashtag1","hashtag2"]},{"1397254594":["hashtag1","hashtag2"]},{"1397254599":["hashtag1","hashtag2"]},{"1397254587":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397254589, 1397254583, 1397254591, 1397254594, 1397254599, 1397254587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01238417625427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 21:16:42.367556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_21_3524.jpg', '/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_23_2666.jpg', '/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_27_3595.jpg', '/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_30_2869.jpg', '/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_32_2688.jpg', '/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_35_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_21_3524.jpg
/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_23_2666.jpg
/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_27_3595.jpg
/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_30_2869.jpg
/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_32_2688.jpg
/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_35_2593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397254680","1397254679","1397254625","1397254610","1397254612","1397254677"],"photo_ids_order":["1397254610","1397254612","1397254625","1397254677","1397254679","1397254680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/919545178a1526d90a69e9ad88c43004.jpg","text":"TemporaryFile(/tmp/multipartBody5978759581093170343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620264902,"filename":"image_31102025_15_01_35_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ac48612514ae5ed0aa3d00b1bcf3a94d.jpg","text":"TemporaryFile(/tmp/multipartBody7907388872989183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620264902,"filename":"image_31102025_15_01_32_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1ae347c32468b075f9c16865d730de97.jpg","text":"TemporaryFile(/tmp/multipartBody8731633577834952219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620264902,"filename":"image_31102025_15_01_27_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/1/20d63735440307a0f34472380d9bc9e6.jpg","text":"TemporaryFile(/tmp/multipartBody2742972035815659917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620264902,"filename":"image_31102025_15_01_21_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/1/f96b54879a88e5aa2d2a4c3c9cba9e56.jpg","text":"TemporaryFile(/tmp/multipartBody4135352588764746466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620264902,"filename":"image_31102025_15_01_23_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/231efa7490f6e0d5567ea3d654268288.jpg","text":"TemporaryFile(/tmp/multipartBody7623858038446723341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620264902,"filename":"image_31102025_15_01_30_2869.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397254625","file1":"1397254612","file0":"1397254610","file4":"1397254679","file5":"1397254680","file3":"1397254677"},"map_files_photo_id_array":[{"photo_id":"1397254680","filename":"file5"},{"photo_id":"1397254625","filename":"file2"},{"photo_id":"1397254679","filename":"file4"},{"photo_id":"1397254612","filename":"file1"},{"photo_id":"1397254610","filename":"file0"},{"photo_id":"1397254677","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397254680":["hashtag1","hashtag2"]},{"1397254679":["hashtag1","hashtag2"]},{"1397254625":["hashtag1","hashtag2"]},{"1397254610":["hashtag1","hashtag2"]},{"1397254612":["hashtag1","hashtag2"]},{"1397254677":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397254680, 1397254679, 1397254625, 1397254610, 1397254612, 1397254677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.418053150177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 21:17:22.540413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/56/image_01122025_17_56_25_9607.jpg', '/home/pi/Desktop/images/01122025/17/56/image_01122025_17_56_34_9813.jpg', '/home/pi/Desktop/images/01122025/17/56/image_01122025_17_56_45_10622.jpg', '/home/pi/Desktop/images/01122025/17/56/image_01122025_17_56_55_9683.jpg', '/home/pi/Desktop/images/01122025/17/56/image_01122025_17_57_04_9706.jpg', '/home/pi/Desktop/images/01122025/17/57/image_01122025_17_57_15_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/56/image_01122025_17_56_25_9607.jpg
/home/pi/Desktop/images/01122025/17/56/image_01122025_17_56_34_9813.jpg
/home/pi/Desktop/images/01122025/17/56/image_01122025_17_56_45_10622.jpg
/home/pi/Desktop/images/01122025/17/56/image_01122025_17_56_55_9683.jpg
/home/pi/Desktop/images/01122025/17/56/image_01122025_17_57_04_9706.jpg
/home/pi/Desktop/images/01122025/17/57/image_01122025_17_57_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":["1397254699","1397254684","1397254693","1397254696","1397254702","1397254689"],"photo_ids_order":["1397254684","1397254689","1397254693","1397254696","1397254699","1397254702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e3877c9142ace1643dd61bdd3188bd4d.jpg","text":"TemporaryFile(/tmp/multipartBody9175373652348987742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620303206,"filename":"image_01122025_17_57_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/1/f6fc39f8389b10772cb2c7202fc18dae.jpg","text":"TemporaryFile(/tmp/multipartBody6113563975122722209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620303206,"filename":"image_01122025_17_56_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/1/4c1e39328ba8fd615b9ca6647ce0d4a3.jpg","text":"TemporaryFile(/tmp/multipartBody3271117649218613054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620303206,"filename":"image_01122025_17_56_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/1/e14863fb7c63babc510a6fa5b178b9bd.jpg","text":"TemporaryFile(/tmp/multipartBody5801728100916580943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620303206,"filename":"image_01122025_17_56_55_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ff8ada8007be4b4acae0f413232c452d.jpg","text":"TemporaryFile(/tmp/multipartBody4733681287051699604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620303206,"filename":"image_01122025_17_57_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/1/52fa3309bc24a100744ceb988f928ee3.jpg","text":"TemporaryFile(/tmp/multipartBody1552636215414429936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620303206,"filename":"image_01122025_17_56_34_9813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397254693","file1":"1397254689","file0":"1397254684","file4":"1397254699","file5":"1397254702","file3":"1397254696"},"map_files_photo_id_array":[{"photo_id":"1397254702","filename":"file5"},{"photo_id":"1397254693","filename":"file2"},{"photo_id":"1397254699","filename":"file4"},{"photo_id":"1397254689","filename":"file1"},{"photo_id":"1397254684","filename":"file0"},{"photo_id":"1397254696","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397254699":["hashtag1","hashtag2"]},{"1397254684":["hashtag1","hashtag2"]},{"1397254693":["hashtag1","hashtag2"]},{"1397254696":["hashtag1","hashtag2"]},{"1397254702":["hashtag1","hashtag2"]},{"1397254689":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397254699, 1397254684, 1397254693, 1397254696, 1397254702, 1397254689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40284752845764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:18:03.157651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/57/image_01122025_17_57_25_9659.jpg', '/home/pi/Desktop/images/01122025/17/57/image_01122025_17_57_34_9535.jpg', '/home/pi/Desktop/images/01122025/17/57/image_01122025_17_57_55_9677.jpg', '/home/pi/Desktop/images/01122025/17/57/image_01122025_17_58_04_9524.jpg', '/home/pi/Desktop/images/01122025/17/58/image_01122025_17_58_15_10634.jpg', '/home/pi/Desktop/images/01122025/17/58/image_01122025_17_58_24_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/57/image_01122025_17_57_25_9659.jpg
/home/pi/Desktop/images/01122025/17/57/image_01122025_17_57_34_9535.jpg
/home/pi/Desktop/images/01122025/17/57/image_01122025_17_57_55_9677.jpg
/home/pi/Desktop/images/01122025/17/57/image_01122025_17_58_04_9524.jpg
/home/pi/Desktop/images/01122025/17/58/image_01122025_17_58_15_10634.jpg
/home/pi/Desktop/images/01122025/17/58/image_01122025_17_58_24_9574.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6155812740325928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 21:18:12.664646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_57_2719.jpg', '/home/pi/Desktop/images/25112025/23/29/image_25112025_23_30_01_3735.jpg', '/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_04_2602.jpg', '/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_06_2554.jpg', '/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_10_3664.jpg', '/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_13_2787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/29/image_25112025_23_29_57_2719.jpg
/home/pi/Desktop/images/25112025/23/29/image_25112025_23_30_01_3735.jpg
/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_04_2602.jpg
/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_06_2554.jpg
/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_10_3664.jpg
/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_13_2787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397254713","1397254716","1397254736","1397254739","1397254748","1397254729"],"photo_ids_order":["1397254713","1397254716","1397254729","1397254736","1397254739","1397254748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f53e7f997d21193f649840887beb3ef7.jpg","text":"TemporaryFile(/tmp/multipartBody1712013415233352294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620354110,"filename":"image_25112025_23_29_57_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/1/062ffd8ac7cfbb3f5f37e71c9797f066.jpg","text":"TemporaryFile(/tmp/multipartBody84155050764428685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620354110,"filename":"image_25112025_23_30_01_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b83d28662e1fee390acece6bdd4dcc08.jpg","text":"TemporaryFile(/tmp/multipartBody7093724047161800627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620354110,"filename":"image_25112025_23_30_06_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/aa2dbed71eacf95959a03bc90d452149.jpg","text":"TemporaryFile(/tmp/multipartBody2859640159619484930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620354110,"filename":"image_25112025_23_30_10_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/1/13da16e93792670240c09f664f1ee1ef.jpg","text":"TemporaryFile(/tmp/multipartBody7847594203721601521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620354110,"filename":"image_25112025_23_30_13_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/47eb6de193708bafc7bb5922a5655a80.jpg","text":"TemporaryFile(/tmp/multipartBody5528399640180964875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620354110,"filename":"image_25112025_23_30_04_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397254729","file1":"1397254716","file0":"1397254713","file4":"1397254739","file5":"1397254748","file3":"1397254736"},"map_files_photo_id_array":[{"photo_id":"1397254748","filename":"file5"},{"photo_id":"1397254729","filename":"file2"},{"photo_id":"1397254739","filename":"file4"},{"photo_id":"1397254716","filename":"file1"},{"photo_id":"1397254713","filename":"file0"},{"photo_id":"1397254736","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397254713":["hashtag1","hashtag2"]},{"1397254716":["hashtag1","hashtag2"]},{"1397254736":["hashtag1","hashtag2"]},{"1397254739":["hashtag1","hashtag2"]},{"1397254748":["hashtag1","hashtag2"]},{"1397254729":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397254713, 1397254716, 1397254736, 1397254739, 1397254748, 1397254729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.42338752746582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:19:02.896657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/57/image_01122025_17_57_25_9659.jpg', '/home/pi/Desktop/images/01122025/17/57/image_01122025_17_57_34_9535.jpg', '/home/pi/Desktop/images/01122025/17/57/image_01122025_17_57_55_9677.jpg', '/home/pi/Desktop/images/01122025/17/57/image_01122025_17_58_04_9524.jpg', '/home/pi/Desktop/images/01122025/17/58/image_01122025_17_58_15_10634.jpg', '/home/pi/Desktop/images/01122025/17/58/image_01122025_17_58_24_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/57/image_01122025_17_57_25_9659.jpg
/home/pi/Desktop/images/01122025/17/57/image_01122025_17_57_34_9535.jpg
/home/pi/Desktop/images/01122025/17/57/image_01122025_17_57_55_9677.jpg
/home/pi/Desktop/images/01122025/17/57/image_01122025_17_58_04_9524.jpg
/home/pi/Desktop/images/01122025/17/58/image_01122025_17_58_15_10634.jpg
/home/pi/Desktop/images/01122025/17/58/image_01122025_17_58_24_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":["1397254773","1397254793","1397254781","1397254775","1397254777","1397254779"],"photo_ids_order":["1397254773","1397254775","1397254777","1397254779","1397254781","1397254793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d3a0a0e89ddbf13beb285fcbc272c24a.jpg","text":"TemporaryFile(/tmp/multipartBody3874228919764768459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620403800,"filename":"image_01122025_17_57_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/1/7dcd10ee15b627086b5a87096395b3c4.jpg","text":"TemporaryFile(/tmp/multipartBody2098224173723629257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620403800,"filename":"image_01122025_17_58_24_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d35640a45c51257b3b684e92ea2e055b.jpg","text":"TemporaryFile(/tmp/multipartBody5599570181036528498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620403800,"filename":"image_01122025_17_58_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/1/915e4f6f2886796aa9fd5760fa06a3a2.jpg","text":"TemporaryFile(/tmp/multipartBody2670641885149158531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620403800,"filename":"image_01122025_17_57_34_9535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4382628fd0184fb1db9aad23f3ecf1dc.jpg","text":"TemporaryFile(/tmp/multipartBody5587140706443776251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620403800,"filename":"image_01122025_17_57_55_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c280d1572b942698440ed52b9cb39773.jpg","text":"TemporaryFile(/tmp/multipartBody8994610257897421025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620403800,"filename":"image_01122025_17_58_04_9524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397254777","file1":"1397254775","file0":"1397254773","file4":"1397254781","file5":"1397254793","file3":"1397254779"},"map_files_photo_id_array":[{"photo_id":"1397254793","filename":"file5"},{"photo_id":"1397254777","filename":"file2"},{"photo_id":"1397254781","filename":"file4"},{"photo_id":"1397254775","filename":"file1"},{"photo_id":"1397254773","filename":"file0"},{"photo_id":"1397254779","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397254773":["hashtag1","hashtag2"]},{"1397254793":["hashtag1","hashtag2"]},{"1397254781":["hashtag1","hashtag2"]},{"1397254775":["hashtag1","hashtag2"]},{"1397254777":["hashtag1","hashtag2"]},{"1397254779":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397254773, 1397254793, 1397254781, 1397254775, 1397254777, 1397254779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74533987045288 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 21:19:41.878541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_39_3637.jpg', '/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_41_2716.jpg', '/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_44_2568.jpg', '/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_48_3691.jpg', '/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_50_2683.jpg', '/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_53_2740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_39_3637.jpg
/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_41_2716.jpg
/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_44_2568.jpg
/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_48_3691.jpg
/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_50_2683.jpg
/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_53_2740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397254845","1397254818","1397254841","1397254844","1397254843","1397254842"],"photo_ids_order":["1397254818","1397254841","1397254842","1397254843","1397254844","1397254845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d617506228ac554453f8026752c08cca.jpg","text":"TemporaryFile(/tmp/multipartBody2464305679054988334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620444374,"filename":"image_31102025_15_01_53_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/1/13cb85f72ebad2b78859818a92dff4d8.jpg","text":"TemporaryFile(/tmp/multipartBody4972219845306159738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620444374,"filename":"image_31102025_15_01_39_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/1/6940f3a7d17ddf7e4255a180c9cfcd51.jpg","text":"TemporaryFile(/tmp/multipartBody4123251921756572038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620444374,"filename":"image_31102025_15_01_41_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/1/45358f9e11c8d9f67ba3c45ad0e01fe7.jpg","text":"TemporaryFile(/tmp/multipartBody311595713937900200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620444374,"filename":"image_31102025_15_01_50_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/1/c2c75168b95b1c77368d07eb257a7c42.jpg","text":"TemporaryFile(/tmp/multipartBody9037834111838947913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620444374,"filename":"image_31102025_15_01_48_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/1/dee7fe33b4e091765caba03e76cf5b6e.jpg","text":"TemporaryFile(/tmp/multipartBody3153303830277179675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620444374,"filename":"image_31102025_15_01_44_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397254842","file1":"1397254841","file0":"1397254818","file4":"1397254844","file5":"1397254845","file3":"1397254843"},"map_files_photo_id_array":[{"photo_id":"1397254845","filename":"file5"},{"photo_id":"1397254842","filename":"file2"},{"photo_id":"1397254844","filename":"file4"},{"photo_id":"1397254841","filename":"file1"},{"photo_id":"1397254818","filename":"file0"},{"photo_id":"1397254843","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397254845":["hashtag1","hashtag2"]},{"1397254818":["hashtag1","hashtag2"]},{"1397254841":["hashtag1","hashtag2"]},{"1397254844":["hashtag1","hashtag2"]},{"1397254843":["hashtag1","hashtag2"]},{"1397254842":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397254845, 1397254818, 1397254841, 1397254844, 1397254843, 1397254842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.47555208206177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 21:20:32.083121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_15_2673.jpg', '/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_19_3648.jpg', '/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_22_2679.jpg', '/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_24_2636.jpg', '/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_28_3656.jpg', '/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_31_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_15_2673.jpg
/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_19_3648.jpg
/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_22_2679.jpg
/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_24_2636.jpg
/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_28_3656.jpg
/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_31_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":["1397254866","1397254862","1397254856","1397254864","1397254858","1397254867"],"photo_ids_order":["1397254856","1397254858","1397254862","1397254864","1397254866","1397254867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/107de20180fcb3cfedb0a11c8b3d6104.jpg","text":"TemporaryFile(/tmp/multipartBody6340548797860397782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620493848,"filename":"image_25112025_23_30_28_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/1/81d6b91a4bf5ee33ed5df0a1b6e23ccc.jpg","text":"TemporaryFile(/tmp/multipartBody1784376927974579075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620493848,"filename":"image_25112025_23_30_22_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/1/59ddb553bc843243be4ca4078f4d34b3.jpg","text":"TemporaryFile(/tmp/multipartBody1521762121075255857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620493848,"filename":"image_25112025_23_30_15_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/1/5e4615ea3b969fecde3715a562408ae9.jpg","text":"TemporaryFile(/tmp/multipartBody452298707315960615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620493848,"filename":"image_25112025_23_30_24_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/1/2d541a2d7c687ae6c54db81358046e23.jpg","text":"TemporaryFile(/tmp/multipartBody8655693372159505369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620493848,"filename":"image_25112025_23_30_19_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d9762ce6ba18c66b5a4803d093532e60.jpg","text":"TemporaryFile(/tmp/multipartBody3250920407955500088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620493848,"filename":"image_25112025_23_30_31_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397254862","file1":"1397254858","file0":"1397254856","file4":"1397254866","file5":"1397254867","file3":"1397254864"},"map_files_photo_id_array":[{"photo_id":"1397254867","filename":"file5"},{"photo_id":"1397254862","filename":"file2"},{"photo_id":"1397254866","filename":"file4"},{"photo_id":"1397254858","filename":"file1"},{"photo_id":"1397254856","filename":"file0"},{"photo_id":"1397254864","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397254866":["hashtag1","hashtag2"]},{"1397254862":["hashtag1","hashtag2"]},{"1397254856":["hashtag1","hashtag2"]},{"1397254864":["hashtag1","hashtag2"]},{"1397254858":["hashtag1","hashtag2"]},{"1397254867":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397254866, 1397254862, 1397254856, 1397254864, 1397254858, 1397254867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24059438705444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 21:21:12.082798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_33_2704.jpg', '/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_36_2844.jpg', '/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_40_3525.jpg', '/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_45_2546.jpg', '/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_49_3766.jpg', '/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_52_2825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_33_2704.jpg
/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_36_2844.jpg
/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_40_3525.jpg
/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_45_2546.jpg
/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_49_3766.jpg
/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_52_2825.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397254872","1397254889","1397254894","1397254879","1397254903","1397254899"],"photo_ids_order":["1397254872","1397254879","1397254889","1397254894","1397254899","1397254903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ce88b9974dc31b63bbd72ee6b345ea94.jpg","text":"TemporaryFile(/tmp/multipartBody2256757997289927242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620533667,"filename":"image_25112025_23_30_33_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/1/d0367e94f5d83f0e4d8150d544bc090e.jpg","text":"TemporaryFile(/tmp/multipartBody9135079499855386213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620533667,"filename":"image_25112025_23_30_40_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/1/5125888a59de939615b4e99bcc01bbc1.jpg","text":"TemporaryFile(/tmp/multipartBody3191867733028190820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620533667,"filename":"image_25112025_23_30_45_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/1/05ff9d5e4e474a4cd6bd171de23b3789.jpg","text":"TemporaryFile(/tmp/multipartBody4210298777710490170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620533667,"filename":"image_25112025_23_30_36_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/1/636850036c5261101b4556a2c00be2ef.jpg","text":"TemporaryFile(/tmp/multipartBody6849658952141061531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620533667,"filename":"image_25112025_23_30_52_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/40bc7b58bd4c6c45ab139f894ecf540a.jpg","text":"TemporaryFile(/tmp/multipartBody5043439043642440221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620533667,"filename":"image_25112025_23_30_49_3766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397254889","file1":"1397254879","file0":"1397254872","file4":"1397254899","file5":"1397254903","file3":"1397254894"},"map_files_photo_id_array":[{"photo_id":"1397254903","filename":"file5"},{"photo_id":"1397254889","filename":"file2"},{"photo_id":"1397254899","filename":"file4"},{"photo_id":"1397254879","filename":"file1"},{"photo_id":"1397254872","filename":"file0"},{"photo_id":"1397254894","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397254872":["hashtag1","hashtag2"]},{"1397254889":["hashtag1","hashtag2"]},{"1397254894":["hashtag1","hashtag2"]},{"1397254879":["hashtag1","hashtag2"]},{"1397254903":["hashtag1","hashtag2"]},{"1397254899":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397254872, 1397254889, 1397254894, 1397254879, 1397254903, 1397254899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.80709457397461 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:22:02.840001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/58/image_01122025_17_58_34_9743.jpg', '/home/pi/Desktop/images/01122025/17/58/image_01122025_17_58_45_10631.jpg', '/home/pi/Desktop/images/01122025/17/58/image_01122025_17_58_54_9680.jpg', '/home/pi/Desktop/images/01122025/17/58/image_01122025_17_59_04_9662.jpg', '/home/pi/Desktop/images/01122025/17/59/image_01122025_17_59_15_10747.jpg', '/home/pi/Desktop/images/01122025/17/59/image_01122025_17_59_25_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/58/image_01122025_17_58_34_9743.jpg
/home/pi/Desktop/images/01122025/17/58/image_01122025_17_58_45_10631.jpg
/home/pi/Desktop/images/01122025/17/58/image_01122025_17_58_54_9680.jpg
/home/pi/Desktop/images/01122025/17/58/image_01122025_17_59_04_9662.jpg
/home/pi/Desktop/images/01122025/17/59/image_01122025_17_59_15_10747.jpg
/home/pi/Desktop/images/01122025/17/59/image_01122025_17_59_25_9750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397254911","1397254991","1397254910","1397254999","1397254915","1397254995"],"photo_ids_order":["1397254910","1397254911","1397254915","1397254991","1397254995","1397254999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2a624c636d5ea1bf57e1e3f088d920cc.jpg","text":"TemporaryFile(/tmp/multipartBody8518681189879141641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620583573,"filename":"image_01122025_17_58_45_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dd4e0e923ca563004b772b2e4214d1b1.jpg","text":"TemporaryFile(/tmp/multipartBody759745178594481277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620583573,"filename":"image_01122025_17_59_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/1/c9842cdd27c9d168f0624d4038a4d91e.jpg","text":"TemporaryFile(/tmp/multipartBody5928634093646706661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620583573,"filename":"image_01122025_17_58_34_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f512692dfcf8fd4d137a4988227546dd.jpg","text":"TemporaryFile(/tmp/multipartBody8512171090306600380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620583573,"filename":"image_01122025_17_59_25_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/131cf6990a893b5a90af60fcae1b5923.jpg","text":"TemporaryFile(/tmp/multipartBody1247658356617446363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620583573,"filename":"image_01122025_17_58_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/1/5be9413b5da59c2a9dc70fb835d20791.jpg","text":"TemporaryFile(/tmp/multipartBody778633711009911863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620583573,"filename":"image_01122025_17_59_15_10747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397254915","file1":"1397254911","file0":"1397254910","file4":"1397254995","file5":"1397254999","file3":"1397254991"},"map_files_photo_id_array":[{"photo_id":"1397254999","filename":"file5"},{"photo_id":"1397254915","filename":"file2"},{"photo_id":"1397254995","filename":"file4"},{"photo_id":"1397254911","filename":"file1"},{"photo_id":"1397254910","filename":"file0"},{"photo_id":"1397254991","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397254911":["hashtag1","hashtag2"]},{"1397254991":["hashtag1","hashtag2"]},{"1397254910":["hashtag1","hashtag2"]},{"1397254999":["hashtag1","hashtag2"]},{"1397254915":["hashtag1","hashtag2"]},{"1397254995":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397254911, 1397254991, 1397254910, 1397254999, 1397254915, 1397254995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.5620379447937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:23:03.485943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/17/59/image_01122025_17_59_34_9690.jpg', '/home/pi/Desktop/images/01122025/17/59/image_01122025_17_59_54_9665.jpg', '/home/pi/Desktop/images/01122025/18/00/image_01122025_18_00_14_10056.jpg', '/home/pi/Desktop/images/01122025/18/00/image_01122025_18_00_25_10638.jpg', '/home/pi/Desktop/images/01122025/18/00/image_01122025_18_00_34_9610.jpg', '/home/pi/Desktop/images/01122025/18/00/image_01122025_18_00_45_10568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/17/59/image_01122025_17_59_34_9690.jpg
/home/pi/Desktop/images/01122025/17/59/image_01122025_17_59_54_9665.jpg
/home/pi/Desktop/images/01122025/18/00/image_01122025_18_00_14_10056.jpg
/home/pi/Desktop/images/01122025/18/00/image_01122025_18_00_25_10638.jpg
/home/pi/Desktop/images/01122025/18/00/image_01122025_18_00_34_9610.jpg
/home/pi/Desktop/images/01122025/18/00/image_01122025_18_00_45_10568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397255013","1397255016","1397255009","1397255011","1397255022","1397255019"],"photo_ids_order":["1397255009","1397255011","1397255013","1397255016","1397255019","1397255022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c735d32a35a1ab721945c6ac02753b03.jpg","text":"TemporaryFile(/tmp/multipartBody7895609751139254244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620644885,"filename":"image_01122025_18_00_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/de4ef1405907bbaf4aa29264090327b0.jpg","text":"TemporaryFile(/tmp/multipartBody2851834333817082547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620644885,"filename":"image_01122025_18_00_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/1/3ea092894b6d1cc047d0c983586d85a5.jpg","text":"TemporaryFile(/tmp/multipartBody6091272460011864810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620644885,"filename":"image_01122025_17_59_34_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/83b84bb421979543f3ef84a0a6927261.jpg","text":"TemporaryFile(/tmp/multipartBody7446161621444206430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620644885,"filename":"image_01122025_17_59_54_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/163a265a63ca1e02ca36b4a978079c89.jpg","text":"TemporaryFile(/tmp/multipartBody5363112460468649385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620644885,"filename":"image_01122025_18_00_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/1/49db65805cfcc550d4a309265ef22e71.jpg","text":"TemporaryFile(/tmp/multipartBody1942655364459120406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620644885,"filename":"image_01122025_18_00_34_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255013","file1":"1397255011","file0":"1397255009","file4":"1397255019","file5":"1397255022","file3":"1397255016"},"map_files_photo_id_array":[{"photo_id":"1397255022","filename":"file5"},{"photo_id":"1397255013","filename":"file2"},{"photo_id":"1397255019","filename":"file4"},{"photo_id":"1397255011","filename":"file1"},{"photo_id":"1397255009","filename":"file0"},{"photo_id":"1397255016","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397255013":["hashtag1","hashtag2"]},{"1397255016":["hashtag1","hashtag2"]},{"1397255009":["hashtag1","hashtag2"]},{"1397255011":["hashtag1","hashtag2"]},{"1397255022":["hashtag1","hashtag2"]},{"1397255019":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397255013, 1397255016, 1397255009, 1397255011, 1397255022, 1397255019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.081910371780396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:24:02.546241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/00/image_01122025_18_00_55_9604.jpg', '/home/pi/Desktop/images/01122025/18/00/image_01122025_18_01_04_9812.jpg', '/home/pi/Desktop/images/01122025/18/01/image_01122025_18_01_15_10596.jpg', '/home/pi/Desktop/images/01122025/18/01/image_01122025_18_01_25_9611.jpg', '/home/pi/Desktop/images/01122025/18/01/image_01122025_18_01_34_9550.jpg', '/home/pi/Desktop/images/01122025/18/01/image_01122025_18_01_45_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/00/image_01122025_18_00_55_9604.jpg
/home/pi/Desktop/images/01122025/18/00/image_01122025_18_01_04_9812.jpg
/home/pi/Desktop/images/01122025/18/01/image_01122025_18_01_15_10596.jpg
/home/pi/Desktop/images/01122025/18/01/image_01122025_18_01_25_9611.jpg
/home/pi/Desktop/images/01122025/18/01/image_01122025_18_01_34_9550.jpg
/home/pi/Desktop/images/01122025/18/01/image_01122025_18_01_45_10707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397255034","1397255036","1397255039","1397255030","1397255032","1397255043"],"photo_ids_order":["1397255030","1397255032","1397255034","1397255036","1397255039","1397255043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/abebfb3a5559a13df24c595df2e02dcf.jpg","text":"TemporaryFile(/tmp/multipartBody2206212955946721022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620703284,"filename":"image_01122025_18_01_15_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b18111d9120a1f3d91025e801625240e.jpg","text":"TemporaryFile(/tmp/multipartBody8488166678999970496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620703284,"filename":"image_01122025_18_01_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/1/1590f254fd4c071fe08f60055a1f50b4.jpg","text":"TemporaryFile(/tmp/multipartBody326268950051275961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620703284,"filename":"image_01122025_18_01_34_9550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2186de04aff7862f315c5939316c7248.jpg","text":"TemporaryFile(/tmp/multipartBody4543826116068585939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620703284,"filename":"image_01122025_18_00_55_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/576523640cbba9c83235bf5f85e31291.jpg","text":"TemporaryFile(/tmp/multipartBody696631860078556087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620703284,"filename":"image_01122025_18_01_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/1/c76483f5672c44598028924afaa583c8.jpg","text":"TemporaryFile(/tmp/multipartBody6140098059496820974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620703284,"filename":"image_01122025_18_01_45_10707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255034","file1":"1397255032","file0":"1397255030","file4":"1397255039","file5":"1397255043","file3":"1397255036"},"map_files_photo_id_array":[{"photo_id":"1397255043","filename":"file5"},{"photo_id":"1397255034","filename":"file2"},{"photo_id":"1397255039","filename":"file4"},{"photo_id":"1397255032","filename":"file1"},{"photo_id":"1397255030","filename":"file0"},{"photo_id":"1397255036","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397255034":["hashtag1","hashtag2"]},{"1397255036":["hashtag1","hashtag2"]},{"1397255039":["hashtag1","hashtag2"]},{"1397255030":["hashtag1","hashtag2"]},{"1397255032":["hashtag1","hashtag2"]},{"1397255043":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397255034, 1397255036, 1397255039, 1397255030, 1397255032, 1397255043)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.496731758117676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:25:02.460957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/01/image_01122025_18_01_55_9593.jpg', '/home/pi/Desktop/images/01122025/18/01/image_01122025_18_02_05_10638.jpg', '/home/pi/Desktop/images/01122025/18/02/image_01122025_18_02_15_9579.jpg', '/home/pi/Desktop/images/01122025/18/02/image_01122025_18_02_24_9703.jpg', '/home/pi/Desktop/images/01122025/18/02/image_01122025_18_02_35_10681.jpg', '/home/pi/Desktop/images/01122025/18/02/image_01122025_18_02_45_9558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/01/image_01122025_18_01_55_9593.jpg
/home/pi/Desktop/images/01122025/18/01/image_01122025_18_02_05_10638.jpg
/home/pi/Desktop/images/01122025/18/02/image_01122025_18_02_15_9579.jpg
/home/pi/Desktop/images/01122025/18/02/image_01122025_18_02_24_9703.jpg
/home/pi/Desktop/images/01122025/18/02/image_01122025_18_02_35_10681.jpg
/home/pi/Desktop/images/01122025/18/02/image_01122025_18_02_45_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":["1397255060","1397255054","1397255063","1397255068","1397255055","1397255058"],"photo_ids_order":["1397255054","1397255055","1397255058","1397255060","1397255063","1397255068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e832000f38ac3de8c2de96f73d2d5381.jpg","text":"TemporaryFile(/tmp/multipartBody980234058350675006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620763174,"filename":"image_01122025_18_02_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/1/7af32e823dc858a1d870b88337d04ec5.jpg","text":"TemporaryFile(/tmp/multipartBody7859388543838888546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620763174,"filename":"image_01122025_18_01_55_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0adc47858139c528df89d8574f1866da.jpg","text":"TemporaryFile(/tmp/multipartBody3602330929393941098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620763174,"filename":"image_01122025_18_02_35_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4e69585232ab2262041355c1bc89cc47.jpg","text":"TemporaryFile(/tmp/multipartBody1542256859190617741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620763174,"filename":"image_01122025_18_02_45_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/529f55de42d4c988138ec6e85dd83562.jpg","text":"TemporaryFile(/tmp/multipartBody8271856955502606303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620763174,"filename":"image_01122025_18_02_05_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2a380e0d00b17da4c3dbbf68abe069df.jpg","text":"TemporaryFile(/tmp/multipartBody3860840916780727409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620763174,"filename":"image_01122025_18_02_15_9579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255058","file1":"1397255055","file0":"1397255054","file4":"1397255063","file5":"1397255068","file3":"1397255060"},"map_files_photo_id_array":[{"photo_id":"1397255068","filename":"file5"},{"photo_id":"1397255058","filename":"file2"},{"photo_id":"1397255063","filename":"file4"},{"photo_id":"1397255055","filename":"file1"},{"photo_id":"1397255054","filename":"file0"},{"photo_id":"1397255060","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397255060":["hashtag1","hashtag2"]},{"1397255054":["hashtag1","hashtag2"]},{"1397255063":["hashtag1","hashtag2"]},{"1397255068":["hashtag1","hashtag2"]},{"1397255055":["hashtag1","hashtag2"]},{"1397255058":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397255060, 1397255054, 1397255063, 1397255068, 1397255055, 1397255058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.859200954437256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 21:25:41.838938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_57_3611.jpg', '/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_59_2749.jpg', '/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_02_2723.jpg', '/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_05_2866.jpg', '/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_09_3801.jpg', '/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_12_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_57_3611.jpg
/home/pi/Desktop/images/31102025/15/01/image_31102025_15_01_59_2749.jpg
/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_02_2723.jpg
/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_05_2866.jpg
/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_09_3801.jpg
/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_12_2782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397255096","1397255099","1397255080","1397255098","1397255076","1397255079"],"photo_ids_order":["1397255076","1397255079","1397255080","1397255096","1397255098","1397255099"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7db93fe71ef5560badc32a2c3387643e.jpg","text":"TemporaryFile(/tmp/multipartBody3580008590318213945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620804365,"filename":"image_31102025_15_02_05_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6f2d17aa05cf818a0fc28c56700dddad.jpg","text":"TemporaryFile(/tmp/multipartBody5656955639948049419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620804365,"filename":"image_31102025_15_02_12_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/1/bb3a8d0bc6377cef52a455abbe6b8023.jpg","text":"TemporaryFile(/tmp/multipartBody8061351436310312725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620804365,"filename":"image_31102025_15_02_02_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/1/9cf02bdb4bf4b957f930d368c70b261d.jpg","text":"TemporaryFile(/tmp/multipartBody6053271487934085938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620804365,"filename":"image_31102025_15_02_09_3801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1c0447d12004387f3d3ea327ffce5269.jpg","text":"TemporaryFile(/tmp/multipartBody6719830061937341954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620804365,"filename":"image_31102025_15_01_57_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/1/bab6094fb4e23d9307dde4a4880a5482.jpg","text":"TemporaryFile(/tmp/multipartBody64310938952378875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620804365,"filename":"image_31102025_15_01_59_2749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255080","file1":"1397255079","file0":"1397255076","file4":"1397255098","file5":"1397255099","file3":"1397255096"},"map_files_photo_id_array":[{"photo_id":"1397255099","filename":"file5"},{"photo_id":"1397255080","filename":"file2"},{"photo_id":"1397255098","filename":"file4"},{"photo_id":"1397255079","filename":"file1"},{"photo_id":"1397255076","filename":"file0"},{"photo_id":"1397255096","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397255096":["hashtag1","hashtag2"]},{"1397255099":["hashtag1","hashtag2"]},{"1397255080":["hashtag1","hashtag2"]},{"1397255098":["hashtag1","hashtag2"]},{"1397255076":["hashtag1","hashtag2"]},{"1397255079":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397255096, 1397255099, 1397255080, 1397255098, 1397255076, 1397255079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.11752009391785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 21:26:32.160489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_54_2556.jpg', '/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_58_3639.jpg', '/home/pi/Desktop/images/25112025/23/30/image_25112025_23_31_00_2655.jpg', '/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_03_2642.jpg', '/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_09_2624.jpg', '/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_12_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_54_2556.jpg
/home/pi/Desktop/images/25112025/23/30/image_25112025_23_30_58_3639.jpg
/home/pi/Desktop/images/25112025/23/30/image_25112025_23_31_00_2655.jpg
/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_03_2642.jpg
/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_09_2624.jpg
/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_12_2655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397255150","1397255156","1397255158","1397255146","1397255154","1397255157"],"photo_ids_order":["1397255146","1397255150","1397255154","1397255156","1397255157","1397255158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3ce1c5926ac9343c8af12d56f65fe570.jpg","text":"TemporaryFile(/tmp/multipartBody6347142971166240878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620853845,"filename":"image_25112025_23_30_58_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f685b61f59efc2e6996b1d6cde581066.jpg","text":"TemporaryFile(/tmp/multipartBody5708566471170832412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620853845,"filename":"image_25112025_23_31_03_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/1/9c334cc78172daf820c22af47d083222.jpg","text":"TemporaryFile(/tmp/multipartBody4861744250349517018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620853845,"filename":"image_25112025_23_31_12_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/1/e6344f61e8d5f77b3119f6617727d57e.jpg","text":"TemporaryFile(/tmp/multipartBody6664507732892681384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620853845,"filename":"image_25112025_23_30_54_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/43859dabe798b3b9d2ca17401dcdb755.jpg","text":"TemporaryFile(/tmp/multipartBody7565304566125918746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620853845,"filename":"image_25112025_23_31_00_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/1/314f5a92a23b13332e090b76960bda49.jpg","text":"TemporaryFile(/tmp/multipartBody4725315169371256461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620853845,"filename":"image_25112025_23_31_09_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255154","file1":"1397255150","file0":"1397255146","file4":"1397255157","file5":"1397255158","file3":"1397255156"},"map_files_photo_id_array":[{"photo_id":"1397255158","filename":"file5"},{"photo_id":"1397255154","filename":"file2"},{"photo_id":"1397255157","filename":"file4"},{"photo_id":"1397255150","filename":"file1"},{"photo_id":"1397255146","filename":"file0"},{"photo_id":"1397255156","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397255150":["hashtag1","hashtag2"]},{"1397255156":["hashtag1","hashtag2"]},{"1397255158":["hashtag1","hashtag2"]},{"1397255146":["hashtag1","hashtag2"]},{"1397255154":["hashtag1","hashtag2"]},{"1397255157":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397255150, 1397255156, 1397255158, 1397255146, 1397255154, 1397255157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.353217124938965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 21:27:12.105377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_18_2552.jpg', '/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_22_3510.jpg', '/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_24_2606.jpg', '/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_28_3509.jpg', '/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_31_2738.jpg', '/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_33_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_18_2552.jpg
/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_22_3510.jpg
/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_24_2606.jpg
/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_28_3509.jpg
/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_31_2738.jpg
/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_33_2659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397255168","1397255162","1397255176","1397255179","1397255164","1397255172"],"photo_ids_order":["1397255162","1397255164","1397255168","1397255172","1397255176","1397255179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/59f90ec107ed2c7b812c4d4e108062a5.jpg","text":"TemporaryFile(/tmp/multipartBody204973108385814783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620893697,"filename":"image_25112025_23_31_24_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/1/7658b4d70c7067670c722356787b2898.jpg","text":"TemporaryFile(/tmp/multipartBody9021242201101599394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620893697,"filename":"image_25112025_23_31_18_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4a944ffd1dec01844f89906884b130ea.jpg","text":"TemporaryFile(/tmp/multipartBody900282586293497068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620893697,"filename":"image_25112025_23_31_31_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9bbd18fa71896586872389d11938ff20.jpg","text":"TemporaryFile(/tmp/multipartBody9083153661256023042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620893697,"filename":"image_25112025_23_31_33_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/1/a1326092715798bf5e45bd6e6d923f3a.jpg","text":"TemporaryFile(/tmp/multipartBody3678894963259012439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620893697,"filename":"image_25112025_23_31_22_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/1/5681255b1afd0adcd8bcc5125e761bfb.jpg","text":"TemporaryFile(/tmp/multipartBody5115283331097140818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620893697,"filename":"image_25112025_23_31_28_3509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255168","file1":"1397255164","file0":"1397255162","file4":"1397255176","file5":"1397255179","file3":"1397255172"},"map_files_photo_id_array":[{"photo_id":"1397255179","filename":"file5"},{"photo_id":"1397255168","filename":"file2"},{"photo_id":"1397255176","filename":"file4"},{"photo_id":"1397255164","filename":"file1"},{"photo_id":"1397255162","filename":"file0"},{"photo_id":"1397255172","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397255168":["hashtag1","hashtag2"]},{"1397255162":["hashtag1","hashtag2"]},{"1397255176":["hashtag1","hashtag2"]},{"1397255179":["hashtag1","hashtag2"]},{"1397255164":["hashtag1","hashtag2"]},{"1397255172":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397255168, 1397255162, 1397255176, 1397255179, 1397255164, 1397255172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.73648285865784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:28:04.865896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 21:28:14.389584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_36_2669.jpg', '/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_40_3581.jpg', '/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_42_2712.jpg', '/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_45_2698.jpg', '/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_49_3567.jpg', '/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_51_2511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_36_2669.jpg
/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_40_3581.jpg
/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_42_2712.jpg
/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_45_2698.jpg
/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_49_3567.jpg
/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_51_2511.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7546851634979248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 21:28:24.421057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/02/image_01122025_18_02_54_9710.jpg', '/home/pi/Desktop/images/01122025/18/02/image_01122025_18_03_04_9844.jpg', '/home/pi/Desktop/images/01122025/18/03/image_01122025_18_03_25_9756.jpg', '/home/pi/Desktop/images/01122025/18/03/image_01122025_18_03_45_9713.jpg', '/home/pi/Desktop/images/01122025/18/03/image_01122025_18_03_55_9810.jpg', '/home/pi/Desktop/images/01122025/18/03/image_01122025_18_04_04_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/02/image_01122025_18_02_54_9710.jpg
/home/pi/Desktop/images/01122025/18/02/image_01122025_18_03_04_9844.jpg
/home/pi/Desktop/images/01122025/18/03/image_01122025_18_03_25_9756.jpg
/home/pi/Desktop/images/01122025/18/03/image_01122025_18_03_45_9713.jpg
/home/pi/Desktop/images/01122025/18/03/image_01122025_18_03_55_9810.jpg
/home/pi/Desktop/images/01122025/18/03/image_01122025_18_04_04_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":["1397255207","1397255210","1397255194","1397255212","1397255199","1397255203"],"photo_ids_order":["1397255194","1397255199","1397255203","1397255207","1397255210","1397255212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f5d4eb4dc5f2b50e939341666ec4d9fe.jpg","text":"TemporaryFile(/tmp/multipartBody6631032470216940144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620965033,"filename":"image_01122025_18_03_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/1/67313bd579373ea23359bca17df379bb.jpg","text":"TemporaryFile(/tmp/multipartBody8162317461396637022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620965033,"filename":"image_01122025_18_03_55_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a3183db5d30d4a56c0f7f6c4ba10ce8f.jpg","text":"TemporaryFile(/tmp/multipartBody7196093352717498747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620965033,"filename":"image_01122025_18_02_54_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b6159c264bca07cef647631d03853676.jpg","text":"TemporaryFile(/tmp/multipartBody1598301663641628908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620965033,"filename":"image_01122025_18_04_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/1/cb83ba5a7f327ca08005f1943cbf14e2.jpg","text":"TemporaryFile(/tmp/multipartBody5839356319084106320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620965033,"filename":"image_01122025_18_03_04_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1a930f90ce68b216cd2cb14c4327bdbf.jpg","text":"TemporaryFile(/tmp/multipartBody9125267722881934702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764620965033,"filename":"image_01122025_18_03_25_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255203","file1":"1397255199","file0":"1397255194","file4":"1397255210","file5":"1397255212","file3":"1397255207"},"map_files_photo_id_array":[{"photo_id":"1397255212","filename":"file5"},{"photo_id":"1397255203","filename":"file2"},{"photo_id":"1397255210","filename":"file4"},{"photo_id":"1397255199","filename":"file1"},{"photo_id":"1397255194","filename":"file0"},{"photo_id":"1397255207","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397255207":["hashtag1","hashtag2"]},{"1397255210":["hashtag1","hashtag2"]},{"1397255194":["hashtag1","hashtag2"]},{"1397255212":["hashtag1","hashtag2"]},{"1397255199":["hashtag1","hashtag2"]},{"1397255203":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397255207, 1397255210, 1397255194, 1397255212, 1397255199, 1397255203)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 37.900421380996704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 21:29:12.463999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_36_2669.jpg', '/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_40_3581.jpg', '/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_42_2712.jpg', '/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_45_2698.jpg', '/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_49_3567.jpg', '/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_51_2511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_36_2669.jpg
/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_40_3581.jpg
/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_42_2712.jpg
/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_45_2698.jpg
/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_49_3567.jpg
/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_51_2511.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397255225","1397255216","1397255230","1397255218","1397255227","1397255221"],"photo_ids_order":["1397255216","1397255218","1397255221","1397255225","1397255227","1397255230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/900aafb49e1c6ea52142b80ba07c8619.jpg","text":"TemporaryFile(/tmp/multipartBody4825884820050727120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621013974,"filename":"image_25112025_23_31_45_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/1/a3940360e7d2aca4d27ff73ceed6e3d4.jpg","text":"TemporaryFile(/tmp/multipartBody3435615758357326102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621013974,"filename":"image_25112025_23_31_36_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/1/bdd175df6a2455128806b6fff23a990c.jpg","text":"TemporaryFile(/tmp/multipartBody3823652090231942926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621013974,"filename":"image_25112025_23_31_51_2511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/712d52314baaf78ba69c8fafeede04e6.jpg","text":"TemporaryFile(/tmp/multipartBody8127154213787676449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621013974,"filename":"image_25112025_23_31_40_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0b92361ad30129ef6962bf72b5e3beb5.jpg","text":"TemporaryFile(/tmp/multipartBody2471068718390732174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621013974,"filename":"image_25112025_23_31_49_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/1/6f1764c565e936a083a43a4a7935904b.jpg","text":"TemporaryFile(/tmp/multipartBody138912231504138682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621013974,"filename":"image_25112025_23_31_42_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255221","file1":"1397255218","file0":"1397255216","file4":"1397255227","file5":"1397255230","file3":"1397255225"},"map_files_photo_id_array":[{"photo_id":"1397255230","filename":"file5"},{"photo_id":"1397255221","filename":"file2"},{"photo_id":"1397255227","filename":"file4"},{"photo_id":"1397255218","filename":"file1"},{"photo_id":"1397255216","filename":"file0"},{"photo_id":"1397255225","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397255225":["hashtag1","hashtag2"]},{"1397255216":["hashtag1","hashtag2"]},{"1397255230":["hashtag1","hashtag2"]},{"1397255218":["hashtag1","hashtag2"]},{"1397255227":["hashtag1","hashtag2"]},{"1397255221":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397255225, 1397255216, 1397255230, 1397255218, 1397255227, 1397255221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.450074911117554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:30:03.152005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/04/image_01122025_18_04_14_9884.jpg', '/home/pi/Desktop/images/01122025/18/04/image_01122025_18_04_25_10636.jpg', '/home/pi/Desktop/images/01122025/18/04/image_01122025_18_04_35_9748.jpg', '/home/pi/Desktop/images/01122025/18/04/image_01122025_18_04_44_9716.jpg', '/home/pi/Desktop/images/01122025/18/04/image_01122025_18_04_55_10673.jpg', '/home/pi/Desktop/images/01122025/18/04/image_01122025_18_05_05_9867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/04/image_01122025_18_04_14_9884.jpg
/home/pi/Desktop/images/01122025/18/04/image_01122025_18_04_25_10636.jpg
/home/pi/Desktop/images/01122025/18/04/image_01122025_18_04_35_9748.jpg
/home/pi/Desktop/images/01122025/18/04/image_01122025_18_04_44_9716.jpg
/home/pi/Desktop/images/01122025/18/04/image_01122025_18_04_55_10673.jpg
/home/pi/Desktop/images/01122025/18/04/image_01122025_18_05_05_9867.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397255243","1397255237","1397255245","1397255239","1397255247","1397255241"],"photo_ids_order":["1397255237","1397255239","1397255241","1397255243","1397255245","1397255247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fe3718b9a3da0c2b5120697b24ebf327.jpg","text":"TemporaryFile(/tmp/multipartBody4869518701037109142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621063877,"filename":"image_01122025_18_04_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/1/8f1d23ade73fd44d5681514fe4ce0013.jpg","text":"TemporaryFile(/tmp/multipartBody1053463076965980338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621063877,"filename":"image_01122025_18_04_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/1/15c553024732b1acf23b1ca307de73e0.jpg","text":"TemporaryFile(/tmp/multipartBody5448531057675276102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621063877,"filename":"image_01122025_18_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/1/7410481443fa1200120ecc5d179f8b22.jpg","text":"TemporaryFile(/tmp/multipartBody1285212218664050844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621063877,"filename":"image_01122025_18_04_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/1/0fb980c039b6789c4c9630948fbb63bf.jpg","text":"TemporaryFile(/tmp/multipartBody5891245986755169583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621063877,"filename":"image_01122025_18_05_05_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e79c999ab2d585e5787c53e1d9bcef0f.jpg","text":"TemporaryFile(/tmp/multipartBody5388740623584291904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621063877,"filename":"image_01122025_18_04_35_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255241","file1":"1397255239","file0":"1397255237","file4":"1397255245","file5":"1397255247","file3":"1397255243"},"map_files_photo_id_array":[{"photo_id":"1397255247","filename":"file5"},{"photo_id":"1397255241","filename":"file2"},{"photo_id":"1397255245","filename":"file4"},{"photo_id":"1397255239","filename":"file1"},{"photo_id":"1397255237","filename":"file0"},{"photo_id":"1397255243","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397255243":["hashtag1","hashtag2"]},{"1397255237":["hashtag1","hashtag2"]},{"1397255245":["hashtag1","hashtag2"]},{"1397255239":["hashtag1","hashtag2"]},{"1397255247":["hashtag1","hashtag2"]},{"1397255241":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397255243, 1397255237, 1397255245, 1397255239, 1397255247, 1397255241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.123650789260864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 21:30:42.717597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_14_2642.jpg', '/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_18_3645.jpg', '/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_21_2741.jpg', '/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_23_2824.jpg', '/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_26_2601.jpg', '/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_30_3623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_14_2642.jpg
/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_18_3645.jpg
/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_21_2741.jpg
/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_23_2824.jpg
/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_26_2601.jpg
/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_30_3623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397255261","1397255270","1397255258","1397255267","1397255263","1397255265"],"photo_ids_order":["1397255258","1397255261","1397255263","1397255265","1397255267","1397255270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c1b781300927136329bb9c95cdfda52c.jpg","text":"TemporaryFile(/tmp/multipartBody5269893124070271499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621105122,"filename":"image_31102025_15_02_18_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/1/95a8131cefbeb17e8ee615fdad0d7985.jpg","text":"TemporaryFile(/tmp/multipartBody7691920310964268024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621105122,"filename":"image_31102025_15_02_30_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/1/9e835e484dc11aee84dc017e5952b8ef.jpg","text":"TemporaryFile(/tmp/multipartBody5563332392397201531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621105122,"filename":"image_31102025_15_02_14_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/1/8474e650e1b9f1658d4f5ae6df1fae14.jpg","text":"TemporaryFile(/tmp/multipartBody8942687696088296557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621105122,"filename":"image_31102025_15_02_26_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/1/46837ab2336dc53b4963faaf7a347354.jpg","text":"TemporaryFile(/tmp/multipartBody5814794700412121360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621105122,"filename":"image_31102025_15_02_21_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/1/e452d71e80bbb9d70a7ce44194615b7f.jpg","text":"TemporaryFile(/tmp/multipartBody2915032365561243304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621105122,"filename":"image_31102025_15_02_23_2824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255263","file1":"1397255261","file0":"1397255258","file4":"1397255267","file5":"1397255270","file3":"1397255265"},"map_files_photo_id_array":[{"photo_id":"1397255270","filename":"file5"},{"photo_id":"1397255263","filename":"file2"},{"photo_id":"1397255267","filename":"file4"},{"photo_id":"1397255261","filename":"file1"},{"photo_id":"1397255258","filename":"file0"},{"photo_id":"1397255265","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397255261":["hashtag1","hashtag2"]},{"1397255270":["hashtag1","hashtag2"]},{"1397255258":["hashtag1","hashtag2"]},{"1397255267":["hashtag1","hashtag2"]},{"1397255263":["hashtag1","hashtag2"]},{"1397255265":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397255261, 1397255270, 1397255258, 1397255267, 1397255263, 1397255265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.63053822517395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 21:31:32.078027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_55_3805.jpg', '/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_58_2743.jpg', '/home/pi/Desktop/images/25112025/23/31/image_25112025_23_32_00_2696.jpg', '/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_03_2589.jpg', '/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_07_3641.jpg', '/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_09_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_55_3805.jpg
/home/pi/Desktop/images/25112025/23/31/image_25112025_23_31_58_2743.jpg
/home/pi/Desktop/images/25112025/23/31/image_25112025_23_32_00_2696.jpg
/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_03_2589.jpg
/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_07_3641.jpg
/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_09_2668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397255288","1397255285","1397255279","1397255290","1397255281","1397255292"],"photo_ids_order":["1397255279","1397255281","1397255285","1397255288","1397255290","1397255292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b2e45c73caeb0011ff97c1f1ceb70bb0.jpg","text":"TemporaryFile(/tmp/multipartBody9189740254510889122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621153753,"filename":"image_25112025_23_32_03_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4f9a0aaf98d595f87fd02888a2bf5f9f.jpg","text":"TemporaryFile(/tmp/multipartBody7638072361235951922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621153753,"filename":"image_25112025_23_32_00_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/1/8626f52573c1cafedd48baf651eab673.jpg","text":"TemporaryFile(/tmp/multipartBody5880803654873253365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621153753,"filename":"image_25112025_23_31_55_3805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8a35d57bbbab6a8ebaf51b9f20a6983c.jpg","text":"TemporaryFile(/tmp/multipartBody1652357933685775335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621153753,"filename":"image_25112025_23_32_07_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/1/e62ea1e6fed56543d074d47e95b0df08.jpg","text":"TemporaryFile(/tmp/multipartBody2962666078152181350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621153753,"filename":"image_25112025_23_31_58_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/1/32464bfc9e8a1b698b863ce653871d50.jpg","text":"TemporaryFile(/tmp/multipartBody2356578014048537473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621153753,"filename":"image_25112025_23_32_09_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255285","file1":"1397255281","file0":"1397255279","file4":"1397255290","file5":"1397255292","file3":"1397255288"},"map_files_photo_id_array":[{"photo_id":"1397255292","filename":"file5"},{"photo_id":"1397255285","filename":"file2"},{"photo_id":"1397255290","filename":"file4"},{"photo_id":"1397255281","filename":"file1"},{"photo_id":"1397255279","filename":"file0"},{"photo_id":"1397255288","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397255288":["hashtag1","hashtag2"]},{"1397255285":["hashtag1","hashtag2"]},{"1397255279":["hashtag1","hashtag2"]},{"1397255290":["hashtag1","hashtag2"]},{"1397255281":["hashtag1","hashtag2"]},{"1397255292":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397255288, 1397255285, 1397255279, 1397255290, 1397255281, 1397255292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.86336588859558 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 21:32:22.300131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/05/image_01122025_18_05_15_9665.jpg', '/home/pi/Desktop/images/01122025/18/05/image_01122025_18_05_24_9763.jpg', '/home/pi/Desktop/images/01122025/18/05/image_01122025_18_05_35_10611.jpg', '/home/pi/Desktop/images/01122025/18/05/image_01122025_18_05_55_10571.jpg', '/home/pi/Desktop/images/01122025/18/05/image_01122025_18_06_05_9570.jpg', '/home/pi/Desktop/images/01122025/18/06/image_01122025_18_06_14_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/05/image_01122025_18_05_15_9665.jpg
/home/pi/Desktop/images/01122025/18/05/image_01122025_18_05_24_9763.jpg
/home/pi/Desktop/images/01122025/18/05/image_01122025_18_05_35_10611.jpg
/home/pi/Desktop/images/01122025/18/05/image_01122025_18_05_55_10571.jpg
/home/pi/Desktop/images/01122025/18/05/image_01122025_18_06_05_9570.jpg
/home/pi/Desktop/images/01122025/18/06/image_01122025_18_06_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":["1397255315","1397255300","1397255317","1397255311","1397255305","1397255308"],"photo_ids_order":["1397255300","1397255305","1397255308","1397255311","1397255315","1397255317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b7a2f856c4fff8934295f5d25fa6ead7.jpg","text":"TemporaryFile(/tmp/multipartBody4625036870203659956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621202948,"filename":"image_01122025_18_06_05_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/1/085dd9c8164161b51053d95673843e3a.jpg","text":"TemporaryFile(/tmp/multipartBody4094884638284539043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621202948,"filename":"image_01122025_18_05_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/1/639246f4a11fb71e3f6cb0bfa35b2a93.jpg","text":"TemporaryFile(/tmp/multipartBody2340566042057825480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621202948,"filename":"image_01122025_18_06_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/1/1c4831a1f6c554508e244d348c630c46.jpg","text":"TemporaryFile(/tmp/multipartBody6324949452892987230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621202948,"filename":"image_01122025_18_05_55_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b83b54b3f7436c58d03f40cde84eda53.jpg","text":"TemporaryFile(/tmp/multipartBody2079924862556335609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621202948,"filename":"image_01122025_18_05_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/1/2b613fdf92d32d017df9ebcef5da62fd.jpg","text":"TemporaryFile(/tmp/multipartBody549457406903577962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621202948,"filename":"image_01122025_18_05_35_10611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255308","file1":"1397255305","file0":"1397255300","file4":"1397255315","file5":"1397255317","file3":"1397255311"},"map_files_photo_id_array":[{"photo_id":"1397255317","filename":"file5"},{"photo_id":"1397255308","filename":"file2"},{"photo_id":"1397255315","filename":"file4"},{"photo_id":"1397255305","filename":"file1"},{"photo_id":"1397255300","filename":"file0"},{"photo_id":"1397255311","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397255315":["hashtag1","hashtag2"]},{"1397255300":["hashtag1","hashtag2"]},{"1397255317":["hashtag1","hashtag2"]},{"1397255311":["hashtag1","hashtag2"]},{"1397255305":["hashtag1","hashtag2"]},{"1397255308":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397255315, 1397255300, 1397255317, 1397255311, 1397255305, 1397255308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.810917139053345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 21:33:12.369887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_13_3652.jpg', '/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_15_2491.jpg', '/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_18_2815.jpg', '/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_22_3641.jpg', '/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_24_2661.jpg', '/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_28_3450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_13_3652.jpg
/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_15_2491.jpg
/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_18_2815.jpg
/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_22_3641.jpg
/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_24_2661.jpg
/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_28_3450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397255331","1397255326","1397255320","1397255334","1397255337","1397255322"],"photo_ids_order":["1397255320","1397255322","1397255326","1397255331","1397255334","1397255337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/812f3e7b3f1d80ff7b2b88181214fff1.jpg","text":"TemporaryFile(/tmp/multipartBody4014173807767350804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621253799,"filename":"image_25112025_23_32_22_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/1/3d1e6a471fd6bc661cb47582ec4d9c8e.jpg","text":"TemporaryFile(/tmp/multipartBody5650237071564147169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621253799,"filename":"image_25112025_23_32_18_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/722f73a85db1f7a6c51fb33ee36b20e1.jpg","text":"TemporaryFile(/tmp/multipartBody2582277063552206599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621253799,"filename":"image_25112025_23_32_13_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/88ad9a827027c47209d69aad5ea501d1.jpg","text":"TemporaryFile(/tmp/multipartBody2716852871262862915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621253799,"filename":"image_25112025_23_32_24_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/1/45aacf4864766644751d5124269e1a13.jpg","text":"TemporaryFile(/tmp/multipartBody1589682673265211276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621253799,"filename":"image_25112025_23_32_28_3450.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b9a0cac4bae27d083b1642ec3e10de8a.jpg","text":"TemporaryFile(/tmp/multipartBody6259118292840646732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621253799,"filename":"image_25112025_23_32_15_2491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255326","file1":"1397255322","file0":"1397255320","file4":"1397255334","file5":"1397255337","file3":"1397255331"},"map_files_photo_id_array":[{"photo_id":"1397255337","filename":"file5"},{"photo_id":"1397255326","filename":"file2"},{"photo_id":"1397255334","filename":"file4"},{"photo_id":"1397255322","filename":"file1"},{"photo_id":"1397255320","filename":"file0"},{"photo_id":"1397255331","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397255331":["hashtag1","hashtag2"]},{"1397255326":["hashtag1","hashtag2"]},{"1397255320":["hashtag1","hashtag2"]},{"1397255334":["hashtag1","hashtag2"]},{"1397255337":["hashtag1","hashtag2"]},{"1397255322":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397255331, 1397255326, 1397255320, 1397255334, 1397255337, 1397255322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.273722410202026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:34:03.283892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/06/image_01122025_18_06_25_10682.jpg', '/home/pi/Desktop/images/01122025/18/06/image_01122025_18_06_34_9499.jpg', '/home/pi/Desktop/images/01122025/18/06/image_01122025_18_06_45_10670.jpg', '/home/pi/Desktop/images/01122025/18/06/image_01122025_18_06_55_9598.jpg', '/home/pi/Desktop/images/01122025/18/06/image_01122025_18_07_05_9761.jpg', '/home/pi/Desktop/images/01122025/18/07/image_01122025_18_07_14_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/06/image_01122025_18_06_25_10682.jpg
/home/pi/Desktop/images/01122025/18/06/image_01122025_18_06_34_9499.jpg
/home/pi/Desktop/images/01122025/18/06/image_01122025_18_06_45_10670.jpg
/home/pi/Desktop/images/01122025/18/06/image_01122025_18_06_55_9598.jpg
/home/pi/Desktop/images/01122025/18/06/image_01122025_18_07_05_9761.jpg
/home/pi/Desktop/images/01122025/18/07/image_01122025_18_07_14_9687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397255342","1397255351","1397255354","1397255348","1397255344","1397255346"],"photo_ids_order":["1397255342","1397255344","1397255346","1397255348","1397255351","1397255354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a905938ed23b071dc8874f3c0ab84fed.jpg","text":"TemporaryFile(/tmp/multipartBody7375204038364253618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621304026,"filename":"image_01122025_18_06_25_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/207d3baa23800695000275183fb68ade.jpg","text":"TemporaryFile(/tmp/multipartBody2457349433989774965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621304026,"filename":"image_01122025_18_07_05_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c2b392c7af0f0500e230d2c85659258f.jpg","text":"TemporaryFile(/tmp/multipartBody2345714704755324731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621304026,"filename":"image_01122025_18_07_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/1/781cb2f44df13937833d02aaeb75c06f.jpg","text":"TemporaryFile(/tmp/multipartBody6945960496495841365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621304026,"filename":"image_01122025_18_06_55_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/51d1fa376f29726809f3ecdda42e3278.jpg","text":"TemporaryFile(/tmp/multipartBody2880811073140273219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621304026,"filename":"image_01122025_18_06_34_9499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/92df98d79c67d7f897ae1af67cb3a46b.jpg","text":"TemporaryFile(/tmp/multipartBody1321948168608713788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621304026,"filename":"image_01122025_18_06_45_10670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255346","file1":"1397255344","file0":"1397255342","file4":"1397255351","file5":"1397255354","file3":"1397255348"},"map_files_photo_id_array":[{"photo_id":"1397255354","filename":"file5"},{"photo_id":"1397255346","filename":"file2"},{"photo_id":"1397255351","filename":"file4"},{"photo_id":"1397255344","filename":"file1"},{"photo_id":"1397255342","filename":"file0"},{"photo_id":"1397255348","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397255342":["hashtag1","hashtag2"]},{"1397255351":["hashtag1","hashtag2"]},{"1397255354":["hashtag1","hashtag2"]},{"1397255348":["hashtag1","hashtag2"]},{"1397255344":["hashtag1","hashtag2"]},{"1397255346":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397255342, 1397255351, 1397255354, 1397255348, 1397255344, 1397255346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.793129205703735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:35:03.512837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/07/image_01122025_18_07_25_10580.jpg', '/home/pi/Desktop/images/01122025/18/07/image_01122025_18_08_04_9798.jpg', '/home/pi/Desktop/images/01122025/18/08/image_01122025_18_08_25_9694.jpg', '/home/pi/Desktop/images/01122025/18/08/image_01122025_18_08_45_10562.jpg', '/home/pi/Desktop/images/01122025/18/09/image_01122025_18_09_55_9632.jpg', '/home/pi/Desktop/images/01122025/18/10/image_01122025_18_10_14_9827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/07/image_01122025_18_07_25_10580.jpg
/home/pi/Desktop/images/01122025/18/07/image_01122025_18_08_04_9798.jpg
/home/pi/Desktop/images/01122025/18/08/image_01122025_18_08_25_9694.jpg
/home/pi/Desktop/images/01122025/18/08/image_01122025_18_08_45_10562.jpg
/home/pi/Desktop/images/01122025/18/09/image_01122025_18_09_55_9632.jpg
/home/pi/Desktop/images/01122025/18/10/image_01122025_18_10_14_9827.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397255369","1397255363","1397255372","1397255365","1397255376","1397255367"],"photo_ids_order":["1397255363","1397255365","1397255367","1397255369","1397255372","1397255376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a18e7e44969b6cd1dd3a200c867f2a39.jpg","text":"TemporaryFile(/tmp/multipartBody8079138107743548789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621364169,"filename":"image_01122025_18_08_45_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/623e6ccdbea7f1731ee52f175dc22203.jpg","text":"TemporaryFile(/tmp/multipartBody1179930099673777303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621364169,"filename":"image_01122025_18_07_25_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/342caa83ada91a6b579270595675dabc.jpg","text":"TemporaryFile(/tmp/multipartBody220941335430404805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621364169,"filename":"image_01122025_18_09_55_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f104c9ec33829d422c4f855bbc341cc1.jpg","text":"TemporaryFile(/tmp/multipartBody7755361183665251572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621364169,"filename":"image_01122025_18_08_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/1/e32d9cbc810951f58f2291309e691b8d.jpg","text":"TemporaryFile(/tmp/multipartBody138123180154904075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621364169,"filename":"image_01122025_18_10_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/1/3075e7bbc81c9503be78c9c06b45905e.jpg","text":"TemporaryFile(/tmp/multipartBody996254643130580000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621364169,"filename":"image_01122025_18_08_25_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255367","file1":"1397255365","file0":"1397255363","file4":"1397255372","file5":"1397255376","file3":"1397255369"},"map_files_photo_id_array":[{"photo_id":"1397255376","filename":"file5"},{"photo_id":"1397255367","filename":"file2"},{"photo_id":"1397255372","filename":"file4"},{"photo_id":"1397255365","filename":"file1"},{"photo_id":"1397255363","filename":"file0"},{"photo_id":"1397255369","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397255369":["hashtag1","hashtag2"]},{"1397255363":["hashtag1","hashtag2"]},{"1397255372":["hashtag1","hashtag2"]},{"1397255365":["hashtag1","hashtag2"]},{"1397255376":["hashtag1","hashtag2"]},{"1397255367":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397255369, 1397255363, 1397255372, 1397255365, 1397255376, 1397255367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59888744354248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 21:35:42.876914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_33_2870.jpg', '/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_35_2673.jpg', '/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_39_3568.jpg', '/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_42_2797.jpg', '/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_44_2548.jpg', '/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_48_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_33_2870.jpg
/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_35_2673.jpg
/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_39_3568.jpg
/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_42_2797.jpg
/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_44_2548.jpg
/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_48_3630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397255390","1397255384","1397255386","1397255382","1397255385","1397255388"],"photo_ids_order":["1397255382","1397255384","1397255385","1397255386","1397255388","1397255390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6eb51610846eb53e521db40ac5ae8c42.jpg","text":"TemporaryFile(/tmp/multipartBody444221085080481583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621405441,"filename":"image_31102025_15_02_48_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/1/a9ede988aee02c5d2ab71e29b7cdc57a.jpg","text":"TemporaryFile(/tmp/multipartBody2111814106172448100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621405441,"filename":"image_31102025_15_02_35_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/1/140ee4616ad2b7056b6edae8a858d73f.jpg","text":"TemporaryFile(/tmp/multipartBody8612536097029652807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621405441,"filename":"image_31102025_15_02_42_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/1/f98fbaf3b11ef9368951cbd1f3cbe6df.jpg","text":"TemporaryFile(/tmp/multipartBody4827027934677462460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621405441,"filename":"image_31102025_15_02_33_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/1/944dffa64cb299da15d5640264522075.jpg","text":"TemporaryFile(/tmp/multipartBody3612697227812632694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621405441,"filename":"image_31102025_15_02_39_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/1/a149844ccb56d5d9322eaaaf90053990.jpg","text":"TemporaryFile(/tmp/multipartBody6140855699499726409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621405441,"filename":"image_31102025_15_02_44_2548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255385","file1":"1397255384","file0":"1397255382","file4":"1397255388","file5":"1397255390","file3":"1397255386"},"map_files_photo_id_array":[{"photo_id":"1397255390","filename":"file5"},{"photo_id":"1397255385","filename":"file2"},{"photo_id":"1397255388","filename":"file4"},{"photo_id":"1397255384","filename":"file1"},{"photo_id":"1397255382","filename":"file0"},{"photo_id":"1397255386","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397255390":["hashtag1","hashtag2"]},{"1397255384":["hashtag1","hashtag2"]},{"1397255386":["hashtag1","hashtag2"]},{"1397255382":["hashtag1","hashtag2"]},{"1397255385":["hashtag1","hashtag2"]},{"1397255388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397255390, 1397255384, 1397255386, 1397255382, 1397255385, 1397255388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.353018045425415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 21:36:32.128132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_31_2633.jpg', '/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_33_2600.jpg', '/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_37_3549.jpg', '/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_40_3120.jpg', '/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_43_2863.jpg', '/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_45_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_31_2633.jpg
/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_33_2600.jpg
/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_37_3549.jpg
/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_40_3120.jpg
/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_43_2863.jpg
/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_45_2779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397255424","1397255403","1397255406","1397255404","1397255481","1397255407"],"photo_ids_order":["1397255403","1397255404","1397255406","1397255407","1397255424","1397255481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/15f68054b6eea185ecc31d1ca566f470.jpg","text":"TemporaryFile(/tmp/multipartBody2211995758069672465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621453794,"filename":"image_25112025_23_32_43_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cf377962825d5c9d5a46263a27ce1690.jpg","text":"TemporaryFile(/tmp/multipartBody2017960267646236861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621453794,"filename":"image_25112025_23_32_31_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/1/95d0d92fae65f038b58cb7c1a1ec92b6.jpg","text":"TemporaryFile(/tmp/multipartBody757159636526209320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621453794,"filename":"image_25112025_23_32_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/1/30d4923da07eb38983ef696faba43508.jpg","text":"TemporaryFile(/tmp/multipartBody88500867099015730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621453794,"filename":"image_25112025_23_32_33_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/1/ec4bc0b1f192ed429762376097a909e2.jpg","text":"TemporaryFile(/tmp/multipartBody3477775856977936576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621453794,"filename":"image_25112025_23_32_45_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b5f94809e5e13670995e285223f4fc97.jpg","text":"TemporaryFile(/tmp/multipartBody859784495745322826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621453794,"filename":"image_25112025_23_32_40_3120.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255406","file1":"1397255404","file0":"1397255403","file4":"1397255424","file5":"1397255481","file3":"1397255407"},"map_files_photo_id_array":[{"photo_id":"1397255481","filename":"file5"},{"photo_id":"1397255406","filename":"file2"},{"photo_id":"1397255424","filename":"file4"},{"photo_id":"1397255404","filename":"file1"},{"photo_id":"1397255403","filename":"file0"},{"photo_id":"1397255407","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397255424":["hashtag1","hashtag2"]},{"1397255403":["hashtag1","hashtag2"]},{"1397255406":["hashtag1","hashtag2"]},{"1397255404":["hashtag1","hashtag2"]},{"1397255481":["hashtag1","hashtag2"]},{"1397255407":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397255424, 1397255403, 1397255406, 1397255404, 1397255481, 1397255407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.42536020278931 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 21:37:22.219048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/10/image_01122025_18_10_35_9636.jpg', '/home/pi/Desktop/images/01122025/18/10/image_01122025_18_10_44_9684.jpg', '/home/pi/Desktop/images/01122025/18/10/image_01122025_18_10_55_10666.jpg', '/home/pi/Desktop/images/01122025/18/10/image_01122025_18_11_05_9710.jpg', '/home/pi/Desktop/images/01122025/18/12/image_01122025_18_12_24_9740.jpg', '/home/pi/Desktop/images/01122025/18/13/image_01122025_18_13_35_10576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/10/image_01122025_18_10_35_9636.jpg
/home/pi/Desktop/images/01122025/18/10/image_01122025_18_10_44_9684.jpg
/home/pi/Desktop/images/01122025/18/10/image_01122025_18_10_55_10666.jpg
/home/pi/Desktop/images/01122025/18/10/image_01122025_18_11_05_9710.jpg
/home/pi/Desktop/images/01122025/18/12/image_01122025_18_12_24_9740.jpg
/home/pi/Desktop/images/01122025/18/13/image_01122025_18_13_35_10576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397255561","1397255522","1397255556","1397255559","1397255553","1397255526"],"photo_ids_order":["1397255522","1397255526","1397255553","1397255556","1397255559","1397255561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/89e9ce739eb98e6c73481b489a63eaef.jpg","text":"TemporaryFile(/tmp/multipartBody8712076939926779246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621502828,"filename":"image_01122025_18_13_35_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/84175771548ef68379c56c7da8aa3578.jpg","text":"TemporaryFile(/tmp/multipartBody6877720828742126641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621502828,"filename":"image_01122025_18_10_35_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6186ee4fd6967803e7440cde8f1a5dda.jpg","text":"TemporaryFile(/tmp/multipartBody1351045526215988922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621502828,"filename":"image_01122025_18_11_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/1/6dc0e3488a5ddb217327cbb53c1d683c.jpg","text":"TemporaryFile(/tmp/multipartBody5438526579917381342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621502828,"filename":"image_01122025_18_12_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/1/506b8fc2e20338c677a37b12e65824a5.jpg","text":"TemporaryFile(/tmp/multipartBody1146919341495107192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621502828,"filename":"image_01122025_18_10_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/1/b8773e4f11593359649d9d3b1d0cfa8f.jpg","text":"TemporaryFile(/tmp/multipartBody7107398422630143793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621502828,"filename":"image_01122025_18_10_44_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255553","file1":"1397255526","file0":"1397255522","file4":"1397255559","file5":"1397255561","file3":"1397255556"},"map_files_photo_id_array":[{"photo_id":"1397255561","filename":"file5"},{"photo_id":"1397255553","filename":"file2"},{"photo_id":"1397255559","filename":"file4"},{"photo_id":"1397255526","filename":"file1"},{"photo_id":"1397255522","filename":"file0"},{"photo_id":"1397255556","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397255561":["hashtag1","hashtag2"]},{"1397255522":["hashtag1","hashtag2"]},{"1397255556":["hashtag1","hashtag2"]},{"1397255559":["hashtag1","hashtag2"]},{"1397255553":["hashtag1","hashtag2"]},{"1397255526":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397255561, 1397255522, 1397255556, 1397255559, 1397255553, 1397255526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17094111442566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:38:02.704880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/14/image_01122025_18_14_55_10720.jpg', '/home/pi/Desktop/images/01122025/18/26/image_01122025_18_26_55_10761.jpg', '/home/pi/Desktop/images/01122025/18/26/image_01122025_18_27_05_9865.jpg', '/home/pi/Desktop/images/01122025/18/27/image_01122025_18_27_14_9528.jpg', '/home/pi/Desktop/images/01122025/18/27/image_01122025_18_27_25_10661.jpg', '/home/pi/Desktop/images/01122025/18/27/image_01122025_18_27_35_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/14/image_01122025_18_14_55_10720.jpg
/home/pi/Desktop/images/01122025/18/26/image_01122025_18_26_55_10761.jpg
/home/pi/Desktop/images/01122025/18/26/image_01122025_18_27_05_9865.jpg
/home/pi/Desktop/images/01122025/18/27/image_01122025_18_27_14_9528.jpg
/home/pi/Desktop/images/01122025/18/27/image_01122025_18_27_25_10661.jpg
/home/pi/Desktop/images/01122025/18/27/image_01122025_18_27_35_9588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397255622","1397255604","1397255624","1397255627","1397255606","1397255598"],"photo_ids_order":["1397255598","1397255604","1397255606","1397255622","1397255624","1397255627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/87f3c2adba8e76e08d63e037d3dd1f82.jpg","text":"TemporaryFile(/tmp/multipartBody5500451615946795598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621543327,"filename":"image_01122025_18_27_14_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/1/f127a8c0e1289564edc461a47598fa4e.jpg","text":"TemporaryFile(/tmp/multipartBody5034991331615312403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621543327,"filename":"image_01122025_18_26_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/1/1cbd12b9afbea18b5c749c7014757e3a.jpg","text":"TemporaryFile(/tmp/multipartBody3052092623149334803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621543327,"filename":"image_01122025_18_27_25_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d4a78ddd526ffd77f8d02c6a84b93876.jpg","text":"TemporaryFile(/tmp/multipartBody5923521127802524653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621543327,"filename":"image_01122025_18_27_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/1/d8d18ec6fe63eb7a559cc0d8357cbc94.jpg","text":"TemporaryFile(/tmp/multipartBody7287720529794916333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621543327,"filename":"image_01122025_18_27_05_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/72f2d7fa8628ddfa8c9e132c5dc86be2.jpg","text":"TemporaryFile(/tmp/multipartBody384212048162253913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621543327,"filename":"image_01122025_18_14_55_10720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255606","file1":"1397255604","file0":"1397255598","file4":"1397255624","file5":"1397255627","file3":"1397255622"},"map_files_photo_id_array":[{"photo_id":"1397255627","filename":"file5"},{"photo_id":"1397255606","filename":"file2"},{"photo_id":"1397255624","filename":"file4"},{"photo_id":"1397255604","filename":"file1"},{"photo_id":"1397255598","filename":"file0"},{"photo_id":"1397255622","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397255622":["hashtag1","hashtag2"]},{"1397255604":["hashtag1","hashtag2"]},{"1397255624":["hashtag1","hashtag2"]},{"1397255627":["hashtag1","hashtag2"]},{"1397255606":["hashtag1","hashtag2"]},{"1397255598":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397255622, 1397255604, 1397255624, 1397255627, 1397255606, 1397255598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57454872131348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 21:38:42.279292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_50_2684.jpg', '/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_53_2780.jpg', '/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_59_3629.jpg', '/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_02_2646.jpg', '/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_05_2710.jpg', '/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_09_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_50_2684.jpg
/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_53_2780.jpg
/home/pi/Desktop/images/31102025/15/02/image_31102025_15_02_59_3629.jpg
/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_02_2646.jpg
/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_05_2710.jpg
/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_09_3676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397255699","1397255695","1397255698","1397255701","1397255697","1397255696"],"photo_ids_order":["1397255695","1397255696","1397255697","1397255698","1397255699","1397255701"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/72960a50751a65580ce086548652b152.jpg","text":"TemporaryFile(/tmp/multipartBody4903637442733390858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621584823,"filename":"image_31102025_15_03_05_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/1/f102249f262424eb1c099f27fe4bc09a.jpg","text":"TemporaryFile(/tmp/multipartBody5045069478604248880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621584823,"filename":"image_31102025_15_02_50_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/1/1aa11d45eef7d2a99b899bc2dd8a370c.jpg","text":"TemporaryFile(/tmp/multipartBody1066219041363062747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621584823,"filename":"image_31102025_15_03_02_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/1/c6135cb7d38782540a175a1620777359.jpg","text":"TemporaryFile(/tmp/multipartBody3981891252268202002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621584823,"filename":"image_31102025_15_03_09_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/39a2729bf20dfb678352429834c08e82.jpg","text":"TemporaryFile(/tmp/multipartBody8974713760646335717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621584823,"filename":"image_31102025_15_02_59_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/829c167fb1b71fa11009e5f7c21a313b.jpg","text":"TemporaryFile(/tmp/multipartBody8430920185760886103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621584823,"filename":"image_31102025_15_02_53_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255697","file1":"1397255696","file0":"1397255695","file4":"1397255699","file5":"1397255701","file3":"1397255698"},"map_files_photo_id_array":[{"photo_id":"1397255701","filename":"file5"},{"photo_id":"1397255697","filename":"file2"},{"photo_id":"1397255699","filename":"file4"},{"photo_id":"1397255696","filename":"file1"},{"photo_id":"1397255695","filename":"file0"},{"photo_id":"1397255698","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397255699":["hashtag1","hashtag2"]},{"1397255695":["hashtag1","hashtag2"]},{"1397255698":["hashtag1","hashtag2"]},{"1397255701":["hashtag1","hashtag2"]},{"1397255697":["hashtag1","hashtag2"]},{"1397255696":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397255699, 1397255695, 1397255698, 1397255701, 1397255697, 1397255696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.63635993003845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 21:39:32.468806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_48_2704.jpg', '/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_52_3619.jpg', '/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_55_2819.jpg', '/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_57_2617.jpg', '/home/pi/Desktop/images/25112025/23/32/image_25112025_23_33_00_2575.jpg', '/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_04_3750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_48_2704.jpg
/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_52_3619.jpg
/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_55_2819.jpg
/home/pi/Desktop/images/25112025/23/32/image_25112025_23_32_57_2617.jpg
/home/pi/Desktop/images/25112025/23/32/image_25112025_23_33_00_2575.jpg
/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_04_3750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397255721","1397255715","1397255720","1397255722","1397255718","1397255712"],"photo_ids_order":["1397255712","1397255715","1397255718","1397255720","1397255721","1397255722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6efa9404d95bd40adb2b5c8e92457ecf.jpg","text":"TemporaryFile(/tmp/multipartBody5975295268996309266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621634146,"filename":"image_25112025_23_33_00_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/1/392a274164697a236d26dd33cac7f801.jpg","text":"TemporaryFile(/tmp/multipartBody5749876025508669668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621634146,"filename":"image_25112025_23_32_52_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/1/7a0f1107b0a26e7be89b14200d20efa1.jpg","text":"TemporaryFile(/tmp/multipartBody5953056231136592413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621634146,"filename":"image_25112025_23_32_57_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/1/b1acb593e8705f64877e889a111349b8.jpg","text":"TemporaryFile(/tmp/multipartBody471145917729196157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621634146,"filename":"image_25112025_23_33_04_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/98eb0bdb0acc1aa23e9609d4c433b1ef.jpg","text":"TemporaryFile(/tmp/multipartBody8745941211647268592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621634146,"filename":"image_25112025_23_32_55_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bf4534e66cb74c9e1fd7bf2860dee785.jpg","text":"TemporaryFile(/tmp/multipartBody9066915236801557660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621634146,"filename":"image_25112025_23_32_48_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255718","file1":"1397255715","file0":"1397255712","file4":"1397255721","file5":"1397255722","file3":"1397255720"},"map_files_photo_id_array":[{"photo_id":"1397255722","filename":"file5"},{"photo_id":"1397255718","filename":"file2"},{"photo_id":"1397255721","filename":"file4"},{"photo_id":"1397255715","filename":"file1"},{"photo_id":"1397255712","filename":"file0"},{"photo_id":"1397255720","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397255721":["hashtag1","hashtag2"]},{"1397255715":["hashtag1","hashtag2"]},{"1397255720":["hashtag1","hashtag2"]},{"1397255722":["hashtag1","hashtag2"]},{"1397255718":["hashtag1","hashtag2"]},{"1397255712":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397255721, 1397255715, 1397255720, 1397255722, 1397255718, 1397255712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16930103302002 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 21:40:12.559095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_06_2804.jpg', '/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_09_2634.jpg', '/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_13_3689.jpg', '/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_15_2586.jpg', '/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_19_3480.jpg', '/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_21_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_06_2804.jpg
/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_09_2634.jpg
/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_13_3689.jpg
/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_15_2586.jpg
/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_19_3480.jpg
/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_21_2612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397255738","1397255725","1397255736","1397255730","1397255733","1397255727"],"photo_ids_order":["1397255725","1397255727","1397255730","1397255733","1397255736","1397255738"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/332757abdefdb9b01feff91ff987dced.jpg","text":"TemporaryFile(/tmp/multipartBody9041757236174524456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621674140,"filename":"image_25112025_23_33_21_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/1/e5aba2684d900c460ebfa2cdadbcad6c.jpg","text":"TemporaryFile(/tmp/multipartBody3486091909389946802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621674140,"filename":"image_25112025_23_33_06_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/16839d03dd16136911762dcbce770c60.jpg","text":"TemporaryFile(/tmp/multipartBody1982257841695234633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621674140,"filename":"image_25112025_23_33_19_3480.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5bf054c2c4236884bd151766f11088ae.jpg","text":"TemporaryFile(/tmp/multipartBody7840345857278957133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621674140,"filename":"image_25112025_23_33_13_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/1/0a2296f588d8b3e0c21fe5d487003f4f.jpg","text":"TemporaryFile(/tmp/multipartBody3952676486049172979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621674140,"filename":"image_25112025_23_33_15_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/1/17f92206dd3fa902b2683302e076e0ef.jpg","text":"TemporaryFile(/tmp/multipartBody4047570420112198247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621674140,"filename":"image_25112025_23_33_09_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255730","file1":"1397255727","file0":"1397255725","file4":"1397255736","file5":"1397255738","file3":"1397255733"},"map_files_photo_id_array":[{"photo_id":"1397255738","filename":"file5"},{"photo_id":"1397255730","filename":"file2"},{"photo_id":"1397255736","filename":"file4"},{"photo_id":"1397255727","filename":"file1"},{"photo_id":"1397255725","filename":"file0"},{"photo_id":"1397255733","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397255738":["hashtag1","hashtag2"]},{"1397255725":["hashtag1","hashtag2"]},{"1397255736":["hashtag1","hashtag2"]},{"1397255730":["hashtag1","hashtag2"]},{"1397255733":["hashtag1","hashtag2"]},{"1397255727":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397255738, 1397255725, 1397255736, 1397255730, 1397255733, 1397255727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.28413724899292 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:41:03.240086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/27/image_01122025_18_28_05_9683.jpg', '/home/pi/Desktop/images/01122025/18/28/image_01122025_18_28_14_9647.jpg', '/home/pi/Desktop/images/01122025/18/28/image_01122025_18_28_25_10698.jpg', '/home/pi/Desktop/images/01122025/18/28/image_01122025_18_28_45_9872.jpg', '/home/pi/Desktop/images/01122025/18/28/image_01122025_18_28_54_9621.jpg', '/home/pi/Desktop/images/01122025/18/28/image_01122025_18_29_05_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/27/image_01122025_18_28_05_9683.jpg
/home/pi/Desktop/images/01122025/18/28/image_01122025_18_28_14_9647.jpg
/home/pi/Desktop/images/01122025/18/28/image_01122025_18_28_25_10698.jpg
/home/pi/Desktop/images/01122025/18/28/image_01122025_18_28_45_9872.jpg
/home/pi/Desktop/images/01122025/18/28/image_01122025_18_28_54_9621.jpg
/home/pi/Desktop/images/01122025/18/28/image_01122025_18_29_05_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":["1397255756","1397255741","1397255743","1397255752","1397255745","1397255748"],"photo_ids_order":["1397255741","1397255743","1397255745","1397255748","1397255752","1397255756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e0725b8b71879b735fe8a738813095b1.jpg","text":"TemporaryFile(/tmp/multipartBody7602944668090248881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621723870,"filename":"image_01122025_18_29_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/1/1ddf59cd87e75c21b8eeab72205c629a.jpg","text":"TemporaryFile(/tmp/multipartBody534417174569468785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621723870,"filename":"image_01122025_18_28_05_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bed1eeefb00f8d8090bd1ad058a68aaa.jpg","text":"TemporaryFile(/tmp/multipartBody2169560463651164106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621723870,"filename":"image_01122025_18_28_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/1/b19b7edb80adee2729658a20db1b448a.jpg","text":"TemporaryFile(/tmp/multipartBody8608356840649709172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621723870,"filename":"image_01122025_18_28_54_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d48ac5011ccfb586589d37ba7cdf0b17.jpg","text":"TemporaryFile(/tmp/multipartBody8423421763585110512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621723870,"filename":"image_01122025_18_28_25_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fa66d29371366d48dab850b67b30f876.jpg","text":"TemporaryFile(/tmp/multipartBody1509383828637855033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621723870,"filename":"image_01122025_18_28_45_9872.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255745","file1":"1397255743","file0":"1397255741","file4":"1397255752","file5":"1397255756","file3":"1397255748"},"map_files_photo_id_array":[{"photo_id":"1397255756","filename":"file5"},{"photo_id":"1397255745","filename":"file2"},{"photo_id":"1397255752","filename":"file4"},{"photo_id":"1397255743","filename":"file1"},{"photo_id":"1397255741","filename":"file0"},{"photo_id":"1397255748","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397255756":["hashtag1","hashtag2"]},{"1397255741":["hashtag1","hashtag2"]},{"1397255743":["hashtag1","hashtag2"]},{"1397255752":["hashtag1","hashtag2"]},{"1397255745":["hashtag1","hashtag2"]},{"1397255748":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397255756, 1397255741, 1397255743, 1397255752, 1397255745, 1397255748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60723900794983 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 21:41:42.902804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_11_2703.jpg', '/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_14_2584.jpg', '/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_18_3684.jpg', '/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_20_2547.jpg', '/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_24_3593.jpg', '/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_26_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_11_2703.jpg
/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_14_2584.jpg
/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_18_3684.jpg
/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_20_2547.jpg
/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_24_3593.jpg
/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_26_2660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397255765","1397255762","1397255839","1397255833","1397255766","1397255795"],"photo_ids_order":["1397255762","1397255765","1397255766","1397255795","1397255833","1397255839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0acc36e07547d267d0f025ee7cb97d41.jpg","text":"TemporaryFile(/tmp/multipartBody8698012157940458229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621765453,"filename":"image_31102025_15_03_14_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/1/5baab755ecd65d0787031af5b9a5bf47.jpg","text":"TemporaryFile(/tmp/multipartBody6903014864782240174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621765453,"filename":"image_31102025_15_03_11_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ed951c17145e56606faa7546af8206b1.jpg","text":"TemporaryFile(/tmp/multipartBody7269753748612395255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621765453,"filename":"image_31102025_15_03_26_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/37bbc64e98cec710b20b7ffa7207cea7.jpg","text":"TemporaryFile(/tmp/multipartBody3990777513786200242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621765453,"filename":"image_31102025_15_03_24_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/1/be78b5ea47ca92c8711b11c1c2a2d511.jpg","text":"TemporaryFile(/tmp/multipartBody8028570823136812091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621765453,"filename":"image_31102025_15_03_18_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/1/38ff95770390e290d40075d224e859ae.jpg","text":"TemporaryFile(/tmp/multipartBody3220055555866702841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621765453,"filename":"image_31102025_15_03_20_2547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255766","file1":"1397255765","file0":"1397255762","file4":"1397255833","file5":"1397255839","file3":"1397255795"},"map_files_photo_id_array":[{"photo_id":"1397255839","filename":"file5"},{"photo_id":"1397255766","filename":"file2"},{"photo_id":"1397255833","filename":"file4"},{"photo_id":"1397255765","filename":"file1"},{"photo_id":"1397255762","filename":"file0"},{"photo_id":"1397255795","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397255765":["hashtag1","hashtag2"]},{"1397255762":["hashtag1","hashtag2"]},{"1397255839":["hashtag1","hashtag2"]},{"1397255833":["hashtag1","hashtag2"]},{"1397255766":["hashtag1","hashtag2"]},{"1397255795":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397255765, 1397255762, 1397255839, 1397255833, 1397255766, 1397255795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.796454668045044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 21:42:32.148342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_24_2758.jpg', '/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_27_2689.jpg', '/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_30_3639.jpg', '/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_33_2616.jpg', '/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_37_3577.jpg', '/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_42_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_24_2758.jpg
/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_27_2689.jpg
/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_30_3639.jpg
/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_33_2616.jpg
/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_37_3577.jpg
/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_42_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":["1397255870","1397255873","1397255863","1397255872","1397255866","1397255874"],"photo_ids_order":["1397255863","1397255866","1397255870","1397255872","1397255873","1397255874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0985785ed659ad50dd062167f7054036.jpg","text":"TemporaryFile(/tmp/multipartBody1378279018370762613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621813859,"filename":"image_25112025_23_33_30_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8b1b7e476b2b3ff4d944364afa67ecef.jpg","text":"TemporaryFile(/tmp/multipartBody8201562100375531820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621813859,"filename":"image_25112025_23_33_37_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7f668616aa61520994639afe9bb2e6f1.jpg","text":"TemporaryFile(/tmp/multipartBody2120630920355049278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621813859,"filename":"image_25112025_23_33_24_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/1/2f7afa365e499e9565a483668d25416e.jpg","text":"TemporaryFile(/tmp/multipartBody4611103334329159509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621813859,"filename":"image_25112025_23_33_33_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/1/3475bc8abdfd6235636f5be744637c35.jpg","text":"TemporaryFile(/tmp/multipartBody5206097506843024340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621813859,"filename":"image_25112025_23_33_27_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/93ef0f1afac4681c52bef088c31c3519.jpg","text":"TemporaryFile(/tmp/multipartBody7662276923646323469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621813859,"filename":"image_25112025_23_33_42_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255870","file1":"1397255866","file0":"1397255863","file4":"1397255873","file5":"1397255874","file3":"1397255872"},"map_files_photo_id_array":[{"photo_id":"1397255874","filename":"file5"},{"photo_id":"1397255870","filename":"file2"},{"photo_id":"1397255873","filename":"file4"},{"photo_id":"1397255866","filename":"file1"},{"photo_id":"1397255863","filename":"file0"},{"photo_id":"1397255872","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397255870":["hashtag1","hashtag2"]},{"1397255873":["hashtag1","hashtag2"]},{"1397255863":["hashtag1","hashtag2"]},{"1397255872":["hashtag1","hashtag2"]},{"1397255866":["hashtag1","hashtag2"]},{"1397255874":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397255870, 1397255873, 1397255863, 1397255872, 1397255866, 1397255874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.08446192741394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 21:43:12.303484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_46_3539.jpg', '/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_48_2608.jpg', '/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_52_3719.jpg', '/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_54_2591.jpg', '/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_58_3212.jpg', '/home/pi/Desktop/images/25112025/23/33/image_25112025_23_34_00_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_46_3539.jpg
/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_48_2608.jpg
/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_52_3719.jpg
/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_54_2591.jpg
/home/pi/Desktop/images/25112025/23/33/image_25112025_23_33_58_3212.jpg
/home/pi/Desktop/images/25112025/23/33/image_25112025_23_34_00_2627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397255879","1397255893","1397255884","1397255892","1397255889","1397255877"],"photo_ids_order":["1397255877","1397255879","1397255884","1397255889","1397255892","1397255893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dc755bb9f5b6f1edc757ed0bbfb603ed.jpg","text":"TemporaryFile(/tmp/multipartBody3031840969698556902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621853863,"filename":"image_25112025_23_33_48_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dfea1237b4e0ea5b480418c515c587b2.jpg","text":"TemporaryFile(/tmp/multipartBody6669085431996223235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621853863,"filename":"image_25112025_23_34_00_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/1/d5745a19e0ee13f5aff8e972687b8f52.jpg","text":"TemporaryFile(/tmp/multipartBody2104154074416670607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621853863,"filename":"image_25112025_23_33_52_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/928f2441533f65542c9b4cdeb0f6f4ed.jpg","text":"TemporaryFile(/tmp/multipartBody2305058785364150608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621853863,"filename":"image_25112025_23_33_58_3212.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/210d9714fafb929abe7792204d0cbebe.jpg","text":"TemporaryFile(/tmp/multipartBody1054162821236024986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621853863,"filename":"image_25112025_23_33_54_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d309b587662c38dcc094ae2b34cb933d.jpg","text":"TemporaryFile(/tmp/multipartBody6293939015648272370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621853863,"filename":"image_25112025_23_33_46_3539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255884","file1":"1397255879","file0":"1397255877","file4":"1397255892","file5":"1397255893","file3":"1397255889"},"map_files_photo_id_array":[{"photo_id":"1397255893","filename":"file5"},{"photo_id":"1397255884","filename":"file2"},{"photo_id":"1397255892","filename":"file4"},{"photo_id":"1397255879","filename":"file1"},{"photo_id":"1397255877","filename":"file0"},{"photo_id":"1397255889","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397255879":["hashtag1","hashtag2"]},{"1397255893":["hashtag1","hashtag2"]},{"1397255884":["hashtag1","hashtag2"]},{"1397255892":["hashtag1","hashtag2"]},{"1397255889":["hashtag1","hashtag2"]},{"1397255877":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397255879, 1397255893, 1397255884, 1397255892, 1397255889, 1397255877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.690606117248535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:44:03.465870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/29/image_01122025_18_29_15_9693.jpg', '/home/pi/Desktop/images/01122025/18/29/image_01122025_18_29_25_10606.jpg', '/home/pi/Desktop/images/01122025/18/29/image_01122025_18_29_35_9640.jpg', '/home/pi/Desktop/images/01122025/18/29/image_01122025_18_29_44_9656.jpg', '/home/pi/Desktop/images/01122025/18/29/image_01122025_18_29_55_10709.jpg', '/home/pi/Desktop/images/01122025/18/30/image_01122025_18_30_14_10054.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/29/image_01122025_18_29_15_9693.jpg
/home/pi/Desktop/images/01122025/18/29/image_01122025_18_29_25_10606.jpg
/home/pi/Desktop/images/01122025/18/29/image_01122025_18_29_35_9640.jpg
/home/pi/Desktop/images/01122025/18/29/image_01122025_18_29_44_9656.jpg
/home/pi/Desktop/images/01122025/18/29/image_01122025_18_29_55_10709.jpg
/home/pi/Desktop/images/01122025/18/30/image_01122025_18_30_14_10054.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397255913","1397255897","1397255900","1397255908","1397255902","1397255904"],"photo_ids_order":["1397255897","1397255900","1397255902","1397255904","1397255908","1397255913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/636a9efa4a114d5b394b91522541bdd1.jpg","text":"TemporaryFile(/tmp/multipartBody7763554909103932670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621904062,"filename":"image_01122025_18_30_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/860dd90310d74a3526c164d49b711608.jpg","text":"TemporaryFile(/tmp/multipartBody269301060890993009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621904062,"filename":"image_01122025_18_29_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/1/55fc0f0130e8d5a5d4ee3ef289c2f23d.jpg","text":"TemporaryFile(/tmp/multipartBody3705183348509603472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621904062,"filename":"image_01122025_18_29_25_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3ab1426e43a7ae1e7034b0278dbc9551.jpg","text":"TemporaryFile(/tmp/multipartBody3472510357159954357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621904062,"filename":"image_01122025_18_29_55_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0ec76b3bb77feb380193bb91b84b36f9.jpg","text":"TemporaryFile(/tmp/multipartBody6859690304834557943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621904062,"filename":"image_01122025_18_29_35_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3a4b7f7c843ff984e59fb3d760c4d349.jpg","text":"TemporaryFile(/tmp/multipartBody5774111445046059069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621904062,"filename":"image_01122025_18_29_44_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255902","file1":"1397255900","file0":"1397255897","file4":"1397255908","file5":"1397255913","file3":"1397255904"},"map_files_photo_id_array":[{"photo_id":"1397255913","filename":"file5"},{"photo_id":"1397255902","filename":"file2"},{"photo_id":"1397255908","filename":"file4"},{"photo_id":"1397255900","filename":"file1"},{"photo_id":"1397255897","filename":"file0"},{"photo_id":"1397255904","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397255913":["hashtag1","hashtag2"]},{"1397255897":["hashtag1","hashtag2"]},{"1397255900":["hashtag1","hashtag2"]},{"1397255908":["hashtag1","hashtag2"]},{"1397255902":["hashtag1","hashtag2"]},{"1397255904":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397255913, 1397255897, 1397255900, 1397255908, 1397255902, 1397255904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88720393180847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 21:44:42.716260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_29_2587.jpg', '/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_33_3665.jpg', '/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_42_3834.jpg', '/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_44_2568.jpg', '/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_47_2687.jpg', '/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_51_3654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_29_2587.jpg
/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_33_3665.jpg
/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_42_3834.jpg
/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_44_2568.jpg
/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_47_2687.jpg
/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_51_3654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397255921","1397255924","1397255923","1397255926","1397255922","1397255919"],"photo_ids_order":["1397255919","1397255921","1397255922","1397255923","1397255924","1397255926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a2f3785b22f771ed317296eb7249d49a.jpg","text":"TemporaryFile(/tmp/multipartBody249766360063277943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621945338,"filename":"image_31102025_15_03_33_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/1/5c59a6d262480f5a4ba3c83bc28d043a.jpg","text":"TemporaryFile(/tmp/multipartBody7927016000294641628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621945338,"filename":"image_31102025_15_03_47_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ae357fd1dadf4e04a2e8f6a722d5625c.jpg","text":"TemporaryFile(/tmp/multipartBody8457504307536812695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621945338,"filename":"image_31102025_15_03_44_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/1/7e98a91580d0f887e6185a4ca6d5cb37.jpg","text":"TemporaryFile(/tmp/multipartBody2536996402455239939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621945338,"filename":"image_31102025_15_03_51_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/77df0269aec7504c2c28baa24d94d8b2.jpg","text":"TemporaryFile(/tmp/multipartBody2467079245713448552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621945338,"filename":"image_31102025_15_03_42_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/1/57f5185c60c3750652cb4a0f54e4408f.jpg","text":"TemporaryFile(/tmp/multipartBody6681718426505393702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621945338,"filename":"image_31102025_15_03_29_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255922","file1":"1397255921","file0":"1397255919","file4":"1397255924","file5":"1397255926","file3":"1397255923"},"map_files_photo_id_array":[{"photo_id":"1397255926","filename":"file5"},{"photo_id":"1397255922","filename":"file2"},{"photo_id":"1397255924","filename":"file4"},{"photo_id":"1397255921","filename":"file1"},{"photo_id":"1397255919","filename":"file0"},{"photo_id":"1397255923","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397255921":["hashtag1","hashtag2"]},{"1397255924":["hashtag1","hashtag2"]},{"1397255923":["hashtag1","hashtag2"]},{"1397255926":["hashtag1","hashtag2"]},{"1397255922":["hashtag1","hashtag2"]},{"1397255919":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397255921, 1397255924, 1397255923, 1397255926, 1397255922, 1397255919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.00689148902893 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 21:45:31.978962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_07_6796.jpg', '/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_16_8866.jpg', '/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_19_2999.jpg', '/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_21_1601.jpg', '/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_22_1737.jpg', '/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_25_2465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_07_6796.jpg
/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_16_8866.jpg
/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_19_2999.jpg
/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_21_1601.jpg
/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_22_1737.jpg
/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_25_2465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397255945","1397255936","1397255941","1397255944","1397255938","1397255943"],"photo_ids_order":["1397255936","1397255938","1397255941","1397255943","1397255944","1397255945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a02c23c8a20fc0563abb1a0927baca24.jpg","text":"TemporaryFile(/tmp/multipartBody2110850924421902972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621993677,"filename":"image_25112025_23_34_25_2465.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2c8ba786111b27f64ebdb1d1c209387c.jpg","text":"TemporaryFile(/tmp/multipartBody888651133728255790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621993677,"filename":"image_25112025_23_34_07_6796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/de820edd7ae464c3ab0b098df6e58954.jpg","text":"TemporaryFile(/tmp/multipartBody8595123616296844405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621993677,"filename":"image_25112025_23_34_19_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/1/a88999e9cf61bd3eba970ead5b3fb870.jpg","text":"TemporaryFile(/tmp/multipartBody5298360303055440475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621993677,"filename":"image_25112025_23_34_22_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/1/9d7942b0f0209928629eb1a4436d8efc.jpg","text":"TemporaryFile(/tmp/multipartBody6848099421729051048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621993677,"filename":"image_25112025_23_34_16_8866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bd808cc91e0527fdd7e9daa1d2a96041.jpg","text":"TemporaryFile(/tmp/multipartBody5841350029488759882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764621993677,"filename":"image_25112025_23_34_21_1601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255941","file1":"1397255938","file0":"1397255936","file4":"1397255944","file5":"1397255945","file3":"1397255943"},"map_files_photo_id_array":[{"photo_id":"1397255945","filename":"file5"},{"photo_id":"1397255941","filename":"file2"},{"photo_id":"1397255944","filename":"file4"},{"photo_id":"1397255938","filename":"file1"},{"photo_id":"1397255936","filename":"file0"},{"photo_id":"1397255943","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397255945":["hashtag1","hashtag2"]},{"1397255936":["hashtag1","hashtag2"]},{"1397255941":["hashtag1","hashtag2"]},{"1397255944":["hashtag1","hashtag2"]},{"1397255938":["hashtag1","hashtag2"]},{"1397255943":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397255945, 1397255936, 1397255941, 1397255944, 1397255938, 1397255943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.787527084350586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 21:46:12.070138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_26_1568.jpg', '/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_28_1730.jpg', '/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_30_1593.jpg', '/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_31_1730.jpg', '/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_36_4362.jpg', '/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_37_1647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_26_1568.jpg
/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_28_1730.jpg
/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_30_1593.jpg
/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_31_1730.jpg
/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_36_4362.jpg
/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_37_1647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397255963","1397255954","1397255948","1397255950","1397255967","1397255958"],"photo_ids_order":["1397255948","1397255950","1397255954","1397255958","1397255963","1397255967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5439892e9e8d23028280fdb4a083a374.jpg","text":"TemporaryFile(/tmp/multipartBody8982771823617327456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622033647,"filename":"image_25112025_23_34_36_4362.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e07f285bd98b44a2a82d187e266bc5a5.jpg","text":"TemporaryFile(/tmp/multipartBody7341560036308350765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622033647,"filename":"image_25112025_23_34_30_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/1/edc4016862547536c9ef2ae0ab088137.jpg","text":"TemporaryFile(/tmp/multipartBody6328910951237495335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622033647,"filename":"image_25112025_23_34_26_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/1/c7319eabd6d6c767b071d004dd92e5bc.jpg","text":"TemporaryFile(/tmp/multipartBody856123023903840644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622033647,"filename":"image_25112025_23_34_28_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/1/dcfa8c52f8228d4d269e6a7adde4dfe3.jpg","text":"TemporaryFile(/tmp/multipartBody6852807015390368235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622033647,"filename":"image_25112025_23_34_37_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/1/82c458ea032fdc566ef271761a01ef4b.jpg","text":"TemporaryFile(/tmp/multipartBody1112382382128650540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622033647,"filename":"image_25112025_23_34_31_1730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255954","file1":"1397255950","file0":"1397255948","file4":"1397255963","file5":"1397255967","file3":"1397255958"},"map_files_photo_id_array":[{"photo_id":"1397255967","filename":"file5"},{"photo_id":"1397255954","filename":"file2"},{"photo_id":"1397255963","filename":"file4"},{"photo_id":"1397255950","filename":"file1"},{"photo_id":"1397255948","filename":"file0"},{"photo_id":"1397255958","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397255963":["hashtag1","hashtag2"]},{"1397255954":["hashtag1","hashtag2"]},{"1397255948":["hashtag1","hashtag2"]},{"1397255950":["hashtag1","hashtag2"]},{"1397255967":["hashtag1","hashtag2"]},{"1397255958":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397255963, 1397255954, 1397255948, 1397255950, 1397255967, 1397255958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.012593030929565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:47:03.008955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/30/image_01122025_18_30_24_10544.jpg', '/home/pi/Desktop/images/01122025/18/30/image_01122025_18_30_34_9741.jpg', '/home/pi/Desktop/images/01122025/18/30/image_01122025_18_30_45_10561.jpg', '/home/pi/Desktop/images/01122025/18/30/image_01122025_18_31_04_9655.jpg', '/home/pi/Desktop/images/01122025/18/31/image_01122025_18_31_15_10826.jpg', '/home/pi/Desktop/images/01122025/18/31/image_01122025_18_31_25_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/30/image_01122025_18_30_24_10544.jpg
/home/pi/Desktop/images/01122025/18/30/image_01122025_18_30_34_9741.jpg
/home/pi/Desktop/images/01122025/18/30/image_01122025_18_30_45_10561.jpg
/home/pi/Desktop/images/01122025/18/30/image_01122025_18_31_04_9655.jpg
/home/pi/Desktop/images/01122025/18/31/image_01122025_18_31_15_10826.jpg
/home/pi/Desktop/images/01122025/18/31/image_01122025_18_31_25_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":["1397255975","1397255978","1397255980","1397255974","1397255971","1397255973"],"photo_ids_order":["1397255971","1397255973","1397255974","1397255975","1397255978","1397255980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ff1c0f3dd0c611a899c50544cdc3f825.jpg","text":"TemporaryFile(/tmp/multipartBody4606122357462832534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622084587,"filename":"image_01122025_18_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/1/99f937c9213e9c1277e875a06abc0798.jpg","text":"TemporaryFile(/tmp/multipartBody3302517927959132853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622084587,"filename":"image_01122025_18_31_15_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/1/d1961cc24582536687859d5ed51746aa.jpg","text":"TemporaryFile(/tmp/multipartBody1790398271605660632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622084587,"filename":"image_01122025_18_31_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/1/f8e3f3d0a74a87b6f12b638ed348a11f.jpg","text":"TemporaryFile(/tmp/multipartBody813740163662373897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622084587,"filename":"image_01122025_18_30_45_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/1/d3fa135963a2530c42beaef8a61c3e22.jpg","text":"TemporaryFile(/tmp/multipartBody1410855461317748989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622084587,"filename":"image_01122025_18_30_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/1/d656e1de3f46e0fef26e10f72506fe20.jpg","text":"TemporaryFile(/tmp/multipartBody4390953449321950280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622084587,"filename":"image_01122025_18_30_34_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255974","file1":"1397255973","file0":"1397255971","file4":"1397255978","file5":"1397255980","file3":"1397255975"},"map_files_photo_id_array":[{"photo_id":"1397255980","filename":"file5"},{"photo_id":"1397255974","filename":"file2"},{"photo_id":"1397255978","filename":"file4"},{"photo_id":"1397255973","filename":"file1"},{"photo_id":"1397255971","filename":"file0"},{"photo_id":"1397255975","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397255975":["hashtag1","hashtag2"]},{"1397255978":["hashtag1","hashtag2"]},{"1397255980":["hashtag1","hashtag2"]},{"1397255974":["hashtag1","hashtag2"]},{"1397255971":["hashtag1","hashtag2"]},{"1397255973":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397255975, 1397255978, 1397255980, 1397255974, 1397255971, 1397255973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45384073257446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 21:47:42.333164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_53_2821.jpg', '/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_56_2793.jpg', '/home/pi/Desktop/images/31102025/15/04/image_31102025_15_04_14_3646.jpg', '/home/pi/Desktop/images/31102025/15/04/image_31102025_15_04_17_2729.jpg', '/home/pi/Desktop/images/31102025/15/04/image_31102025_15_04_26_2686.jpg', '/home/pi/Desktop/images/31102025/15/04/image_31102025_15_04_32_2895.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_53_2821.jpg
/home/pi/Desktop/images/31102025/15/03/image_31102025_15_03_56_2793.jpg
/home/pi/Desktop/images/31102025/15/04/image_31102025_15_04_14_3646.jpg
/home/pi/Desktop/images/31102025/15/04/image_31102025_15_04_17_2729.jpg
/home/pi/Desktop/images/31102025/15/04/image_31102025_15_04_26_2686.jpg
/home/pi/Desktop/images/31102025/15/04/image_31102025_15_04_32_2895.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397255990","1397255987","1397255986","1397255989","1397255991","1397255988"],"photo_ids_order":["1397255986","1397255987","1397255988","1397255989","1397255990","1397255991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/066b00ab4cf9ea30ea68da6969cbbd52.jpg","text":"TemporaryFile(/tmp/multipartBody3286825981211493775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622124877,"filename":"image_31102025_15_04_26_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a205b7defb27861512b055ce7f0bce1a.jpg","text":"TemporaryFile(/tmp/multipartBody9173729177752182923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622124877,"filename":"image_31102025_15_03_56_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/1/0b970344f0082e80b4a23d6b06b91ea3.jpg","text":"TemporaryFile(/tmp/multipartBody3626016251018284889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622124877,"filename":"image_31102025_15_03_53_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/1/29cd0dd4ba02404a68e2d5f6097e00d0.jpg","text":"TemporaryFile(/tmp/multipartBody7727177090662943309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622124877,"filename":"image_31102025_15_04_17_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/1/7eb75341b7dc4709f4087c8d68281731.jpg","text":"TemporaryFile(/tmp/multipartBody9147614068393341741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622124877,"filename":"image_31102025_15_04_32_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/1/d5a1f034d6a0f9a7620dc00c41b45298.jpg","text":"TemporaryFile(/tmp/multipartBody6177844478856056530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622124877,"filename":"image_31102025_15_04_14_3646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397255988","file1":"1397255987","file0":"1397255986","file4":"1397255990","file5":"1397255991","file3":"1397255989"},"map_files_photo_id_array":[{"photo_id":"1397255991","filename":"file5"},{"photo_id":"1397255988","filename":"file2"},{"photo_id":"1397255990","filename":"file4"},{"photo_id":"1397255987","filename":"file1"},{"photo_id":"1397255986","filename":"file0"},{"photo_id":"1397255989","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397255990":["hashtag1","hashtag2"]},{"1397255987":["hashtag1","hashtag2"]},{"1397255986":["hashtag1","hashtag2"]},{"1397255989":["hashtag1","hashtag2"]},{"1397255991":["hashtag1","hashtag2"]},{"1397255988":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397255990, 1397255987, 1397255986, 1397255989, 1397255991, 1397255988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33179569244385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 21:48:22.490907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/31/image_01122025_18_31_34_9589.jpg', '/home/pi/Desktop/images/01122025/18/31/image_01122025_18_31_44_9819.jpg', '/home/pi/Desktop/images/01122025/18/31/image_01122025_18_31_55_10704.jpg', '/home/pi/Desktop/images/01122025/18/31/image_01122025_18_32_04_9702.jpg', '/home/pi/Desktop/images/01122025/18/32/image_01122025_18_32_14_9613.jpg', '/home/pi/Desktop/images/01122025/18/32/image_01122025_18_32_25_10723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/31/image_01122025_18_31_34_9589.jpg
/home/pi/Desktop/images/01122025/18/31/image_01122025_18_31_44_9819.jpg
/home/pi/Desktop/images/01122025/18/31/image_01122025_18_31_55_10704.jpg
/home/pi/Desktop/images/01122025/18/31/image_01122025_18_32_04_9702.jpg
/home/pi/Desktop/images/01122025/18/32/image_01122025_18_32_14_9613.jpg
/home/pi/Desktop/images/01122025/18/32/image_01122025_18_32_25_10723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397256011","1397255999","1397256008","1397256004","1397256001","1397256006"],"photo_ids_order":["1397255999","1397256001","1397256004","1397256006","1397256008","1397256011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3c6e1a41cc3d99ed0e9799ca5857f2a8.jpg","text":"TemporaryFile(/tmp/multipartBody961118682168638660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622163169,"filename":"image_01122025_18_32_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/1/374c7c8d9cda659ad95935327af08686.jpg","text":"TemporaryFile(/tmp/multipartBody4055313767479680076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622163169,"filename":"image_01122025_18_31_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/1/8cc4ca0f8c4b1abaf69c78a0f62b287a.jpg","text":"TemporaryFile(/tmp/multipartBody7455107900749661658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622163169,"filename":"image_01122025_18_32_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/1/420956eacdc18e7832779655b8be4f8f.jpg","text":"TemporaryFile(/tmp/multipartBody6117936943333573563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622163169,"filename":"image_01122025_18_31_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/1/853308b8d6a7cc4cc3bfbb49dba8b466.jpg","text":"TemporaryFile(/tmp/multipartBody6320770674804099129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622163169,"filename":"image_01122025_18_31_44_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/320643a8bd58dc74e62dcd46830a33f5.jpg","text":"TemporaryFile(/tmp/multipartBody6749765863514654190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622163169,"filename":"image_01122025_18_32_04_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397256004","file1":"1397256001","file0":"1397255999","file4":"1397256008","file5":"1397256011","file3":"1397256006"},"map_files_photo_id_array":[{"photo_id":"1397256011","filename":"file5"},{"photo_id":"1397256004","filename":"file2"},{"photo_id":"1397256008","filename":"file4"},{"photo_id":"1397256001","filename":"file1"},{"photo_id":"1397255999","filename":"file0"},{"photo_id":"1397256006","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397256011":["hashtag1","hashtag2"]},{"1397255999":["hashtag1","hashtag2"]},{"1397256008":["hashtag1","hashtag2"]},{"1397256004":["hashtag1","hashtag2"]},{"1397256001":["hashtag1","hashtag2"]},{"1397256006":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397256011, 1397255999, 1397256008, 1397256004, 1397256001, 1397256006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.462302923202515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:49:03.599952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/32/image_01122025_18_32_34_9600.jpg', '/home/pi/Desktop/images/01122025/18/32/image_01122025_18_32_44_9620.jpg', '/home/pi/Desktop/images/01122025/18/32/image_01122025_18_32_55_10855.jpg', '/home/pi/Desktop/images/01122025/18/32/image_01122025_18_33_04_9608.jpg', '/home/pi/Desktop/images/01122025/18/33/image_01122025_18_33_14_9830.jpg', '/home/pi/Desktop/images/01122025/18/33/image_01122025_18_33_25_10578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/32/image_01122025_18_32_34_9600.jpg
/home/pi/Desktop/images/01122025/18/32/image_01122025_18_32_44_9620.jpg
/home/pi/Desktop/images/01122025/18/32/image_01122025_18_32_55_10855.jpg
/home/pi/Desktop/images/01122025/18/32/image_01122025_18_33_04_9608.jpg
/home/pi/Desktop/images/01122025/18/33/image_01122025_18_33_14_9830.jpg
/home/pi/Desktop/images/01122025/18/33/image_01122025_18_33_25_10578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397256029","1397256020","1397256017","1397256013","1397256015","1397256024"],"photo_ids_order":["1397256013","1397256015","1397256017","1397256020","1397256024","1397256029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1cbbaea6161fca41e60a1f3e65930e2d.jpg","text":"TemporaryFile(/tmp/multipartBody1844575471117394814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622205991,"filename":"image_01122025_18_33_25_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/718568d840d3b9e36862bf34efd8f4af.jpg","text":"TemporaryFile(/tmp/multipartBody6345742274354417201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622205991,"filename":"image_01122025_18_33_04_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f468f158b1ccfa84c9475873c2302a44.jpg","text":"TemporaryFile(/tmp/multipartBody6988671465535618846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622205991,"filename":"image_01122025_18_32_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/1/7e44c1dad67c50d8e34a030d87a4c338.jpg","text":"TemporaryFile(/tmp/multipartBody3608093723481240210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622205991,"filename":"image_01122025_18_32_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/1/82b54b6970cc49d6d4f32b668381a6b1.jpg","text":"TemporaryFile(/tmp/multipartBody8067399870922433569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622205991,"filename":"image_01122025_18_32_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/1/7e362b16d42f879d2102c002c56d4b8c.jpg","text":"TemporaryFile(/tmp/multipartBody4057903197152150912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622205991,"filename":"image_01122025_18_33_14_9830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397256017","file1":"1397256015","file0":"1397256013","file4":"1397256024","file5":"1397256029","file3":"1397256020"},"map_files_photo_id_array":[{"photo_id":"1397256029","filename":"file5"},{"photo_id":"1397256017","filename":"file2"},{"photo_id":"1397256024","filename":"file4"},{"photo_id":"1397256015","filename":"file1"},{"photo_id":"1397256013","filename":"file0"},{"photo_id":"1397256020","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397256029":["hashtag1","hashtag2"]},{"1397256020":["hashtag1","hashtag2"]},{"1397256017":["hashtag1","hashtag2"]},{"1397256013":["hashtag1","hashtag2"]},{"1397256015":["hashtag1","hashtag2"]},{"1397256024":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397256029, 1397256020, 1397256017, 1397256013, 1397256015, 1397256024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.36673665046692 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:50:02.425876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/33/image_01122025_18_33_35_9778.jpg', '/home/pi/Desktop/images/01122025/18/33/image_01122025_18_33_44_9722.jpg', '/home/pi/Desktop/images/01122025/18/33/image_01122025_18_33_54_9627.jpg', '/home/pi/Desktop/images/01122025/18/33/image_01122025_18_34_05_10698.jpg', '/home/pi/Desktop/images/01122025/18/34/image_01122025_18_34_14_9765.jpg', '/home/pi/Desktop/images/01122025/18/34/image_01122025_18_34_24_9556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/33/image_01122025_18_33_35_9778.jpg
/home/pi/Desktop/images/01122025/18/33/image_01122025_18_33_44_9722.jpg
/home/pi/Desktop/images/01122025/18/33/image_01122025_18_33_54_9627.jpg
/home/pi/Desktop/images/01122025/18/33/image_01122025_18_34_05_10698.jpg
/home/pi/Desktop/images/01122025/18/34/image_01122025_18_34_14_9765.jpg
/home/pi/Desktop/images/01122025/18/34/image_01122025_18_34_24_9556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397256050","1397256053","1397256041","1397256043","1397256046","1397256039"],"photo_ids_order":["1397256039","1397256041","1397256043","1397256046","1397256050","1397256053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/50659398d1e6009d6fe672496dcab243.jpg","text":"TemporaryFile(/tmp/multipartBody2707547643873467626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622263105,"filename":"image_01122025_18_34_14_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b90fc655d41dbdb86c3d64be879f1cb1.jpg","text":"TemporaryFile(/tmp/multipartBody1906295576961378780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622263105,"filename":"image_01122025_18_34_24_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/1/6f637eefa0a3351b2225937c6951f9ec.jpg","text":"TemporaryFile(/tmp/multipartBody6154944742302877942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622263105,"filename":"image_01122025_18_33_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/1/caf42149e9778497445d94e0f7e26d35.jpg","text":"TemporaryFile(/tmp/multipartBody6706437339121869615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622263105,"filename":"image_01122025_18_33_54_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/609e2f00f2e00e559e4b6af808ea52a7.jpg","text":"TemporaryFile(/tmp/multipartBody9194128440153188287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622263105,"filename":"image_01122025_18_34_05_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/42ba7a90c7dd04786ac54e8bffc1d7e1.jpg","text":"TemporaryFile(/tmp/multipartBody2331750768517805531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622263105,"filename":"image_01122025_18_33_35_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397256043","file1":"1397256041","file0":"1397256039","file4":"1397256050","file5":"1397256053","file3":"1397256046"},"map_files_photo_id_array":[{"photo_id":"1397256053","filename":"file5"},{"photo_id":"1397256043","filename":"file2"},{"photo_id":"1397256050","filename":"file4"},{"photo_id":"1397256041","filename":"file1"},{"photo_id":"1397256039","filename":"file0"},{"photo_id":"1397256046","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397256050":["hashtag1","hashtag2"]},{"1397256053":["hashtag1","hashtag2"]},{"1397256041":["hashtag1","hashtag2"]},{"1397256043":["hashtag1","hashtag2"]},{"1397256046":["hashtag1","hashtag2"]},{"1397256039":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397256050, 1397256053, 1397256041, 1397256043, 1397256046, 1397256039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.56189179420471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:51:03.004284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/34/image_01122025_18_34_35_10689.jpg', '/home/pi/Desktop/images/01122025/18/34/image_01122025_18_34_44_9632.jpg', '/home/pi/Desktop/images/01122025/18/35/image_01122025_18_35_05_10542.jpg', '/home/pi/Desktop/images/01122025/18/35/image_01122025_18_35_14_9722.jpg', '/home/pi/Desktop/images/01122025/18/35/image_01122025_18_35_25_10643.jpg', '/home/pi/Desktop/images/01122025/18/35/image_01122025_18_35_35_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/34/image_01122025_18_34_35_10689.jpg
/home/pi/Desktop/images/01122025/18/34/image_01122025_18_34_44_9632.jpg
/home/pi/Desktop/images/01122025/18/35/image_01122025_18_35_05_10542.jpg
/home/pi/Desktop/images/01122025/18/35/image_01122025_18_35_14_9722.jpg
/home/pi/Desktop/images/01122025/18/35/image_01122025_18_35_25_10643.jpg
/home/pi/Desktop/images/01122025/18/35/image_01122025_18_35_35_9673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397256073","1397256067","1397256070","1397256081","1397256078","1397256075"],"photo_ids_order":["1397256067","1397256070","1397256073","1397256075","1397256078","1397256081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6859ab552a0c7c7074b2dfa6742d3370.jpg","text":"TemporaryFile(/tmp/multipartBody4795148838185167028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622323681,"filename":"image_01122025_18_35_05_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/1/558aae173f2612b2866696cc93241f04.jpg","text":"TemporaryFile(/tmp/multipartBody4975379179391641321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622323681,"filename":"image_01122025_18_34_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/1/954e74f50b8de1a57541d76eede1572e.jpg","text":"TemporaryFile(/tmp/multipartBody574378438201409048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622323681,"filename":"image_01122025_18_34_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/1/cb9a64006ee555c3e1691dbde11e1446.jpg","text":"TemporaryFile(/tmp/multipartBody3021097923012531535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622323681,"filename":"image_01122025_18_35_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/1/dd85b181955fd39ab92115b18ea946e4.jpg","text":"TemporaryFile(/tmp/multipartBody4404464362048913529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622323681,"filename":"image_01122025_18_35_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/1/d1dfaef015d3f959d55050fe91a075c1.jpg","text":"TemporaryFile(/tmp/multipartBody97760910475606499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622323681,"filename":"image_01122025_18_35_14_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397256073","file1":"1397256070","file0":"1397256067","file4":"1397256078","file5":"1397256081","file3":"1397256075"},"map_files_photo_id_array":[{"photo_id":"1397256081","filename":"file5"},{"photo_id":"1397256073","filename":"file2"},{"photo_id":"1397256078","filename":"file4"},{"photo_id":"1397256070","filename":"file1"},{"photo_id":"1397256067","filename":"file0"},{"photo_id":"1397256075","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397256073":["hashtag1","hashtag2"]},{"1397256067":["hashtag1","hashtag2"]},{"1397256070":["hashtag1","hashtag2"]},{"1397256081":["hashtag1","hashtag2"]},{"1397256078":["hashtag1","hashtag2"]},{"1397256075":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397256073, 1397256067, 1397256070, 1397256081, 1397256078, 1397256075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91723322868347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 21:51:42.262214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/04/image_31102025_15_04_35_3583.jpg', '/home/pi/Desktop/images/31102025/15/04/image_31102025_15_04_42_3578.jpg', '/home/pi/Desktop/images/31102025/15/04/image_31102025_15_04_44_2586.jpg', '/home/pi/Desktop/images/31102025/15/04/image_31102025_15_04_47_2530.jpg', '/home/pi/Desktop/images/31102025/15/04/image_31102025_15_04_50_3717.jpg', '/home/pi/Desktop/images/31102025/15/04/image_31102025_15_04_56_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/04/image_31102025_15_04_35_3583.jpg
/home/pi/Desktop/images/31102025/15/04/image_31102025_15_04_42_3578.jpg
/home/pi/Desktop/images/31102025/15/04/image_31102025_15_04_44_2586.jpg
/home/pi/Desktop/images/31102025/15/04/image_31102025_15_04_47_2530.jpg
/home/pi/Desktop/images/31102025/15/04/image_31102025_15_04_50_3717.jpg
/home/pi/Desktop/images/31102025/15/04/image_31102025_15_04_56_2703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397256164","1397256094","1397256163","1397256162","1397256090","1397256165"],"photo_ids_order":["1397256090","1397256094","1397256162","1397256163","1397256164","1397256165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1d84f47b028721c1d9b1f4cd69c040ac.jpg","text":"TemporaryFile(/tmp/multipartBody5537675360669449144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622364782,"filename":"image_31102025_15_04_50_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/1/d290c4a4d15bb9e5fd8ca242da6fd97a.jpg","text":"TemporaryFile(/tmp/multipartBody830096464262653480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622364782,"filename":"image_31102025_15_04_42_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/1/a20de939fc594bf54d306d1eef6b5a93.jpg","text":"TemporaryFile(/tmp/multipartBody3225314381992392611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622364782,"filename":"image_31102025_15_04_47_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2215502f04bf559264d9da8727816dbf.jpg","text":"TemporaryFile(/tmp/multipartBody5360637292345402864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622364782,"filename":"image_31102025_15_04_44_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b4610c7ac6e219c4dc608c84d2e94db9.jpg","text":"TemporaryFile(/tmp/multipartBody5521068626446741964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622364782,"filename":"image_31102025_15_04_35_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d540069196812f2ff0a9c683a8caf6a9.jpg","text":"TemporaryFile(/tmp/multipartBody3550133094928206884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622364782,"filename":"image_31102025_15_04_56_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397256162","file1":"1397256094","file0":"1397256090","file4":"1397256164","file5":"1397256165","file3":"1397256163"},"map_files_photo_id_array":[{"photo_id":"1397256165","filename":"file5"},{"photo_id":"1397256162","filename":"file2"},{"photo_id":"1397256164","filename":"file4"},{"photo_id":"1397256094","filename":"file1"},{"photo_id":"1397256090","filename":"file0"},{"photo_id":"1397256163","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397256164":["hashtag1","hashtag2"]},{"1397256094":["hashtag1","hashtag2"]},{"1397256163":["hashtag1","hashtag2"]},{"1397256162":["hashtag1","hashtag2"]},{"1397256090":["hashtag1","hashtag2"]},{"1397256165":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397256164, 1397256094, 1397256163, 1397256162, 1397256090, 1397256165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.86715245246887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 21:52:32.451489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_39_1630.jpg', '/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_42_2659.jpg', '/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_45_3651.jpg', '/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_48_2743.jpg', '/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_51_2946.jpg', '/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_54_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_39_1630.jpg
/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_42_2659.jpg
/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_45_3651.jpg
/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_48_2743.jpg
/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_51_2946.jpg
/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_54_2616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397256185","1397256178","1397256181","1397256191","1397256194","1397256188"],"photo_ids_order":["1397256178","1397256181","1397256185","1397256188","1397256191","1397256194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/29c50df6c60a72ca3cb5de3a99340dd6.jpg","text":"TemporaryFile(/tmp/multipartBody6337020928947787323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622414386,"filename":"image_25112025_23_34_45_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/1/1a537f13d8fb3cde63829ef039f2841b.jpg","text":"TemporaryFile(/tmp/multipartBody4745417287573809336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622414386,"filename":"image_25112025_23_34_39_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/1/f505f2f2d7150ba5e338a059ae1c46c5.jpg","text":"TemporaryFile(/tmp/multipartBody2102165995192170632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622414386,"filename":"image_25112025_23_34_42_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a1d86d5d9eb3b49995a576a29e38767c.jpg","text":"TemporaryFile(/tmp/multipartBody3248586579991410911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622414386,"filename":"image_25112025_23_34_51_2946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b663eb4226864a0e2f3d833a1327a590.jpg","text":"TemporaryFile(/tmp/multipartBody4020294551982015969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622414386,"filename":"image_25112025_23_34_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/1/5c619a09499ed0344ddf8e1ed8d5b5b8.jpg","text":"TemporaryFile(/tmp/multipartBody161113324739404658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622414386,"filename":"image_25112025_23_34_48_2743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397256185","file1":"1397256181","file0":"1397256178","file4":"1397256191","file5":"1397256194","file3":"1397256188"},"map_files_photo_id_array":[{"photo_id":"1397256194","filename":"file5"},{"photo_id":"1397256185","filename":"file2"},{"photo_id":"1397256191","filename":"file4"},{"photo_id":"1397256181","filename":"file1"},{"photo_id":"1397256178","filename":"file0"},{"photo_id":"1397256188","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397256185":["hashtag1","hashtag2"]},{"1397256178":["hashtag1","hashtag2"]},{"1397256181":["hashtag1","hashtag2"]},{"1397256191":["hashtag1","hashtag2"]},{"1397256194":["hashtag1","hashtag2"]},{"1397256188":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397256185, 1397256178, 1397256181, 1397256191, 1397256194, 1397256188)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 51.03994011878967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 21:53:32.682046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_57_3725.jpg', '/home/pi/Desktop/images/25112025/23/34/image_25112025_23_35_00_2601.jpg', '/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_13_13224.jpg', '/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_29_1622.jpg', '/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_31_1548.jpg', '/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_33_1744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/34/image_25112025_23_34_57_3725.jpg
/home/pi/Desktop/images/25112025/23/34/image_25112025_23_35_00_2601.jpg
/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_13_13224.jpg
/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_29_1622.jpg
/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_31_1548.jpg
/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_33_1744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397256212","1397256221","1397256215","1397256209","1397256217","1397256219"],"photo_ids_order":["1397256209","1397256212","1397256215","1397256217","1397256219","1397256221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9d6ef262e3c2e1af92f82e70f2adb8a4.jpg","text":"TemporaryFile(/tmp/multipartBody2798797885457732936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622474355,"filename":"image_25112025_23_35_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/1/37d2c2efb30370984aa59c1d75f06433.jpg","text":"TemporaryFile(/tmp/multipartBody6826282304437928780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622474355,"filename":"image_25112025_23_35_33_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/1/6a52634d3086770f44ed50bed244c455.jpg","text":"TemporaryFile(/tmp/multipartBody8374561658681814139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622474355,"filename":"image_25112025_23_35_13_13224.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dfe7ffc905861c653e0e48b53d51a883.jpg","text":"TemporaryFile(/tmp/multipartBody653492192043266140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622474355,"filename":"image_25112025_23_34_57_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/1/070c5796f88c5fca959f201609ec6805.jpg","text":"TemporaryFile(/tmp/multipartBody2983459428975998122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622474355,"filename":"image_25112025_23_35_29_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/1/05ab94c270ee77c313f31e94e28e55c1.jpg","text":"TemporaryFile(/tmp/multipartBody4981128309793236256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622474355,"filename":"image_25112025_23_35_31_1548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397256215","file1":"1397256212","file0":"1397256209","file4":"1397256219","file5":"1397256221","file3":"1397256217"},"map_files_photo_id_array":[{"photo_id":"1397256221","filename":"file5"},{"photo_id":"1397256215","filename":"file2"},{"photo_id":"1397256219","filename":"file4"},{"photo_id":"1397256212","filename":"file1"},{"photo_id":"1397256209","filename":"file0"},{"photo_id":"1397256217","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397256212":["hashtag1","hashtag2"]},{"1397256221":["hashtag1","hashtag2"]},{"1397256215":["hashtag1","hashtag2"]},{"1397256209":["hashtag1","hashtag2"]},{"1397256217":["hashtag1","hashtag2"]},{"1397256219":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397256212, 1397256221, 1397256215, 1397256209, 1397256217, 1397256219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.980794191360474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 21:54:12.739970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_35_2355.jpg', '/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_37_1715.jpg', '/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_40_1639.jpg', '/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_42_1764.jpg', '/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_46_4109.jpg', '/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_47_1574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_35_2355.jpg
/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_37_1715.jpg
/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_40_1639.jpg
/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_42_1764.jpg
/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_46_4109.jpg
/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_47_1574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397256242","1397256235","1397256229","1397256238","1397256231","1397256240"],"photo_ids_order":["1397256229","1397256231","1397256235","1397256238","1397256240","1397256242"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1f847182e46b49054f7c71076ccb2b3e.jpg","text":"TemporaryFile(/tmp/multipartBody2949320868451895950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622514316,"filename":"image_25112025_23_35_47_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/1/8f1f95a864182e012f248e0a5a3f4d59.jpg","text":"TemporaryFile(/tmp/multipartBody7143159032720362423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622514316,"filename":"image_25112025_23_35_40_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/90efe58682fc3d9eae993b5311f0f0fe.jpg","text":"TemporaryFile(/tmp/multipartBody4617304731498064628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622514316,"filename":"image_25112025_23_35_35_2355.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7b2931900a18a48cf3da406fb665889f.jpg","text":"TemporaryFile(/tmp/multipartBody5278128099727882829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622514316,"filename":"image_25112025_23_35_42_1764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6ea167b2c0ecdc6f2bdce32ebe2141c4.jpg","text":"TemporaryFile(/tmp/multipartBody4219919179645791765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622514316,"filename":"image_25112025_23_35_37_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/1/0ffd39cf536319b37e0e041aabc86865.jpg","text":"TemporaryFile(/tmp/multipartBody8504796337573495956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622514316,"filename":"image_25112025_23_35_46_4109.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397256235","file1":"1397256231","file0":"1397256229","file4":"1397256240","file5":"1397256242","file3":"1397256238"},"map_files_photo_id_array":[{"photo_id":"1397256242","filename":"file5"},{"photo_id":"1397256235","filename":"file2"},{"photo_id":"1397256240","filename":"file4"},{"photo_id":"1397256231","filename":"file1"},{"photo_id":"1397256229","filename":"file0"},{"photo_id":"1397256238","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397256242":["hashtag1","hashtag2"]},{"1397256235":["hashtag1","hashtag2"]},{"1397256229":["hashtag1","hashtag2"]},{"1397256238":["hashtag1","hashtag2"]},{"1397256231":["hashtag1","hashtag2"]},{"1397256240":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397256242, 1397256235, 1397256229, 1397256238, 1397256231, 1397256240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.322431802749634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:55:02.609856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/35/image_01122025_18_35_44_9661.jpg', '/home/pi/Desktop/images/01122025/18/35/image_01122025_18_35_54_9765.jpg', '/home/pi/Desktop/images/01122025/18/35/image_01122025_18_36_05_10689.jpg', '/home/pi/Desktop/images/01122025/18/36/image_01122025_18_36_14_9584.jpg', '/home/pi/Desktop/images/01122025/18/36/image_01122025_18_36_25_10622.jpg', '/home/pi/Desktop/images/01122025/18/36/image_01122025_18_36_34_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/35/image_01122025_18_35_44_9661.jpg
/home/pi/Desktop/images/01122025/18/35/image_01122025_18_35_54_9765.jpg
/home/pi/Desktop/images/01122025/18/35/image_01122025_18_36_05_10689.jpg
/home/pi/Desktop/images/01122025/18/36/image_01122025_18_36_14_9584.jpg
/home/pi/Desktop/images/01122025/18/36/image_01122025_18_36_25_10622.jpg
/home/pi/Desktop/images/01122025/18/36/image_01122025_18_36_34_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397256251","1397256250","1397256261","1397256258","1397256255","1397256254"],"photo_ids_order":["1397256250","1397256251","1397256254","1397256255","1397256258","1397256261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/88835208cdf4520eed7acba0e32edf16.jpg","text":"TemporaryFile(/tmp/multipartBody2091207292494938724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622563325,"filename":"image_01122025_18_35_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/1/ec7d01d28c4030893854ccc858c46621.jpg","text":"TemporaryFile(/tmp/multipartBody7569811243048655381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622563325,"filename":"image_01122025_18_35_44_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6deb67b59fa4edca57448f72fef74730.jpg","text":"TemporaryFile(/tmp/multipartBody8189769037595685554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622563325,"filename":"image_01122025_18_36_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/1/15d520f5c92d02cd3d64c692f3790d00.jpg","text":"TemporaryFile(/tmp/multipartBody8291592850260901064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622563325,"filename":"image_01122025_18_36_25_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/eb390b7e38185f8f99a5c0ef9b2caba6.jpg","text":"TemporaryFile(/tmp/multipartBody8654988897597168989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622563325,"filename":"image_01122025_18_36_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/1/0818da882b5de7fb5b4207d8c036174a.jpg","text":"TemporaryFile(/tmp/multipartBody4033106237511236776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622563325,"filename":"image_01122025_18_36_05_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397256254","file1":"1397256251","file0":"1397256250","file4":"1397256258","file5":"1397256261","file3":"1397256255"},"map_files_photo_id_array":[{"photo_id":"1397256261","filename":"file5"},{"photo_id":"1397256254","filename":"file2"},{"photo_id":"1397256258","filename":"file4"},{"photo_id":"1397256251","filename":"file1"},{"photo_id":"1397256250","filename":"file0"},{"photo_id":"1397256255","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397256251":["hashtag1","hashtag2"]},{"1397256250":["hashtag1","hashtag2"]},{"1397256261":["hashtag1","hashtag2"]},{"1397256258":["hashtag1","hashtag2"]},{"1397256255":["hashtag1","hashtag2"]},{"1397256254":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397256251, 1397256250, 1397256261, 1397256258, 1397256255, 1397256254)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.97633218765259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:56:02.854501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/36/image_01122025_18_36_44_9737.jpg', '/home/pi/Desktop/images/01122025/18/36/image_01122025_18_36_55_10658.jpg', '/home/pi/Desktop/images/01122025/18/36/image_01122025_18_37_05_9775.jpg', '/home/pi/Desktop/images/01122025/18/37/image_01122025_18_37_14_9674.jpg', '/home/pi/Desktop/images/01122025/18/37/image_01122025_18_37_24_9623.jpg', '/home/pi/Desktop/images/01122025/18/37/image_01122025_18_37_45_9846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/36/image_01122025_18_36_44_9737.jpg
/home/pi/Desktop/images/01122025/18/36/image_01122025_18_36_55_10658.jpg
/home/pi/Desktop/images/01122025/18/36/image_01122025_18_37_05_9775.jpg
/home/pi/Desktop/images/01122025/18/37/image_01122025_18_37_14_9674.jpg
/home/pi/Desktop/images/01122025/18/37/image_01122025_18_37_24_9623.jpg
/home/pi/Desktop/images/01122025/18/37/image_01122025_18_37_45_9846.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397256283","1397256271","1397256276","1397256279","1397256273","1397256275"],"photo_ids_order":["1397256271","1397256273","1397256275","1397256276","1397256279","1397256283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6ca7309aff178cb28a4db204c11e022e.jpg","text":"TemporaryFile(/tmp/multipartBody7525741265847968794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622623502,"filename":"image_01122025_18_37_45_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0630bcc50c760ffe4313a64dfa5ccc4c.jpg","text":"TemporaryFile(/tmp/multipartBody1265136597558265285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622623502,"filename":"image_01122025_18_36_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/1/840db56997d174e30c1588ec52eff421.jpg","text":"TemporaryFile(/tmp/multipartBody3192919296889383657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622623502,"filename":"image_01122025_18_37_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/1/b668f5fcbb4c054476660b3a5283210b.jpg","text":"TemporaryFile(/tmp/multipartBody7171261157532089088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622623502,"filename":"image_01122025_18_37_24_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0daf0cf0073cd08d021df43db246f7f0.jpg","text":"TemporaryFile(/tmp/multipartBody2692357663863832650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622623502,"filename":"image_01122025_18_36_55_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fe56f7b443dfd8af98915648ad66160f.jpg","text":"TemporaryFile(/tmp/multipartBody710984465095242769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622623502,"filename":"image_01122025_18_37_05_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397256275","file1":"1397256273","file0":"1397256271","file4":"1397256279","file5":"1397256283","file3":"1397256276"},"map_files_photo_id_array":[{"photo_id":"1397256283","filename":"file5"},{"photo_id":"1397256275","filename":"file2"},{"photo_id":"1397256279","filename":"file4"},{"photo_id":"1397256273","filename":"file1"},{"photo_id":"1397256271","filename":"file0"},{"photo_id":"1397256276","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397256283":["hashtag1","hashtag2"]},{"1397256271":["hashtag1","hashtag2"]},{"1397256276":["hashtag1","hashtag2"]},{"1397256279":["hashtag1","hashtag2"]},{"1397256273":["hashtag1","hashtag2"]},{"1397256275":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397256283, 1397256271, 1397256276, 1397256279, 1397256273, 1397256275)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.18714213371277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:57:02.548867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/37/image_01122025_18_37_54_9735.jpg', '/home/pi/Desktop/images/01122025/18/38/image_01122025_18_38_24_9613.jpg', '/home/pi/Desktop/images/01122025/18/38/image_01122025_18_38_34_9803.jpg', '/home/pi/Desktop/images/01122025/18/38/image_01122025_18_38_44_9774.jpg', '/home/pi/Desktop/images/01122025/18/38/image_01122025_18_39_04_9672.jpg', '/home/pi/Desktop/images/01122025/18/39/image_01122025_18_39_44_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/37/image_01122025_18_37_54_9735.jpg
/home/pi/Desktop/images/01122025/18/38/image_01122025_18_38_24_9613.jpg
/home/pi/Desktop/images/01122025/18/38/image_01122025_18_38_34_9803.jpg
/home/pi/Desktop/images/01122025/18/38/image_01122025_18_38_44_9774.jpg
/home/pi/Desktop/images/01122025/18/38/image_01122025_18_39_04_9672.jpg
/home/pi/Desktop/images/01122025/18/39/image_01122025_18_39_44_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":["1397256292","1397256294","1397256291","1397256300","1397256293","1397256296"],"photo_ids_order":["1397256291","1397256292","1397256293","1397256294","1397256296","1397256300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/00793890807b2ec790851dc39dfcd250.jpg","text":"TemporaryFile(/tmp/multipartBody5429822646958497274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622683259,"filename":"image_01122025_18_38_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/1/f83c7f34bfc9240e56d299a62b0ce6cb.jpg","text":"TemporaryFile(/tmp/multipartBody3937280163519020436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622683259,"filename":"image_01122025_18_38_44_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/18b745a18265fac0e3edbdd917edfa92.jpg","text":"TemporaryFile(/tmp/multipartBody7866306666943096787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622683259,"filename":"image_01122025_18_37_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/1/8a52c6b27552dd56f83183139079a391.jpg","text":"TemporaryFile(/tmp/multipartBody5731666317070520957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622683259,"filename":"image_01122025_18_39_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/1/55ab14d6ca7b3c35cf82c2d9dfd27148.jpg","text":"TemporaryFile(/tmp/multipartBody4155456507019866334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622683259,"filename":"image_01122025_18_38_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/1/fe4c1560ee5b149502a2d6ec0a0e4582.jpg","text":"TemporaryFile(/tmp/multipartBody6804057404311817602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622683259,"filename":"image_01122025_18_39_04_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397256293","file1":"1397256292","file0":"1397256291","file4":"1397256296","file5":"1397256300","file3":"1397256294"},"map_files_photo_id_array":[{"photo_id":"1397256300","filename":"file5"},{"photo_id":"1397256293","filename":"file2"},{"photo_id":"1397256296","filename":"file4"},{"photo_id":"1397256292","filename":"file1"},{"photo_id":"1397256291","filename":"file0"},{"photo_id":"1397256294","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397256292":["hashtag1","hashtag2"]},{"1397256294":["hashtag1","hashtag2"]},{"1397256291":["hashtag1","hashtag2"]},{"1397256300":["hashtag1","hashtag2"]},{"1397256293":["hashtag1","hashtag2"]},{"1397256296":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397256292, 1397256294, 1397256291, 1397256300, 1397256293, 1397256296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.052178621292114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 21:57:41.913433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/04/image_31102025_15_05_00_3678.jpg', '/home/pi/Desktop/images/31102025/15/05/image_31102025_15_05_02_2811.jpg', '/home/pi/Desktop/images/31102025/15/05/image_31102025_15_05_05_2801.jpg', '/home/pi/Desktop/images/31102025/15/05/image_31102025_15_05_11_3565.jpg', '/home/pi/Desktop/images/31102025/15/05/image_31102025_15_05_20_3689.jpg', '/home/pi/Desktop/images/31102025/15/05/image_31102025_15_05_26_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/04/image_31102025_15_05_00_3678.jpg
/home/pi/Desktop/images/31102025/15/05/image_31102025_15_05_02_2811.jpg
/home/pi/Desktop/images/31102025/15/05/image_31102025_15_05_05_2801.jpg
/home/pi/Desktop/images/31102025/15/05/image_31102025_15_05_11_3565.jpg
/home/pi/Desktop/images/31102025/15/05/image_31102025_15_05_20_3689.jpg
/home/pi/Desktop/images/31102025/15/05/image_31102025_15_05_26_2596.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397256311","1397256314","1397256313","1397256316","1397256315","1397256309"],"photo_ids_order":["1397256309","1397256311","1397256313","1397256314","1397256315","1397256316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0d278cb7c178a1ce1d8ae3cc1cd230ff.jpg","text":"TemporaryFile(/tmp/multipartBody4242357192340875642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622724453,"filename":"image_31102025_15_05_02_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/254004df5ca985f5ef5405c508ce814e.jpg","text":"TemporaryFile(/tmp/multipartBody2306120051857863750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622724453,"filename":"image_31102025_15_05_11_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/47c0650b150a8e63587798a9cfa8fe26.jpg","text":"TemporaryFile(/tmp/multipartBody5953169303325717440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622724453,"filename":"image_31102025_15_05_05_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/1/ed88a771b7164841d634a9c8b502b6b4.jpg","text":"TemporaryFile(/tmp/multipartBody1251121471515200511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622724453,"filename":"image_31102025_15_05_26_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7e95d2f08d45fea7a12d2e9b70adbff8.jpg","text":"TemporaryFile(/tmp/multipartBody4399759725278589829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622724453,"filename":"image_31102025_15_05_20_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/1/ead1e41a0c3bfba4c76e3b743ad921cb.jpg","text":"TemporaryFile(/tmp/multipartBody5247201577572386218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622724453,"filename":"image_31102025_15_05_00_3678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397256313","file1":"1397256311","file0":"1397256309","file4":"1397256315","file5":"1397256316","file3":"1397256314"},"map_files_photo_id_array":[{"photo_id":"1397256316","filename":"file5"},{"photo_id":"1397256313","filename":"file2"},{"photo_id":"1397256315","filename":"file4"},{"photo_id":"1397256311","filename":"file1"},{"photo_id":"1397256309","filename":"file0"},{"photo_id":"1397256314","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397256311":["hashtag1","hashtag2"]},{"1397256314":["hashtag1","hashtag2"]},{"1397256313":["hashtag1","hashtag2"]},{"1397256316":["hashtag1","hashtag2"]},{"1397256315":["hashtag1","hashtag2"]},{"1397256309":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397256311, 1397256314, 1397256313, 1397256316, 1397256315, 1397256309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.35326623916626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 21:59:03.140102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/39/image_01122025_18_39_55_10753.jpg', '/home/pi/Desktop/images/01122025/18/39/image_01122025_18_40_04_9711.jpg', '/home/pi/Desktop/images/01122025/18/40/image_01122025_18_40_14_9665.jpg', '/home/pi/Desktop/images/01122025/18/40/image_01122025_18_40_44_9906.jpg', '/home/pi/Desktop/images/01122025/18/40/image_01122025_18_40_54_9946.jpg', '/home/pi/Desktop/images/01122025/18/40/image_01122025_18_41_05_10568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/39/image_01122025_18_39_55_10753.jpg
/home/pi/Desktop/images/01122025/18/39/image_01122025_18_40_04_9711.jpg
/home/pi/Desktop/images/01122025/18/40/image_01122025_18_40_14_9665.jpg
/home/pi/Desktop/images/01122025/18/40/image_01122025_18_40_44_9906.jpg
/home/pi/Desktop/images/01122025/18/40/image_01122025_18_40_54_9946.jpg
/home/pi/Desktop/images/01122025/18/40/image_01122025_18_41_05_10568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397256358","1397256352","1397256427","1397256355","1397256381","1397256435"],"photo_ids_order":["1397256352","1397256355","1397256358","1397256381","1397256427","1397256435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7dc4dbbcea1c82bc122977a6b90319ea.jpg","text":"TemporaryFile(/tmp/multipartBody3093720897329381710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622804062,"filename":"image_01122025_18_40_14_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7df1ca8cfd88fb882b197a0f0c85f3d9.jpg","text":"TemporaryFile(/tmp/multipartBody8747313393442413885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622804062,"filename":"image_01122025_18_39_55_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a4a555f4d756685f7159507c40e0527f.jpg","text":"TemporaryFile(/tmp/multipartBody995396016587436199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622804062,"filename":"image_01122025_18_40_54_9946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/35d28a9f86e26df8f3fbf3d3dcd0ec7e.jpg","text":"TemporaryFile(/tmp/multipartBody8311611523515437079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622804062,"filename":"image_01122025_18_40_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/1/dda832186e92a9d573506c4e3ce4952e.jpg","text":"TemporaryFile(/tmp/multipartBody4198697234775547842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622804062,"filename":"image_01122025_18_40_44_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/1/9ea03b58e8f66d2da180468d0cc2e08b.jpg","text":"TemporaryFile(/tmp/multipartBody7829851118587403105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622804062,"filename":"image_01122025_18_41_05_10568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397256358","file1":"1397256355","file0":"1397256352","file4":"1397256427","file5":"1397256435","file3":"1397256381"},"map_files_photo_id_array":[{"photo_id":"1397256435","filename":"file5"},{"photo_id":"1397256358","filename":"file2"},{"photo_id":"1397256427","filename":"file4"},{"photo_id":"1397256355","filename":"file1"},{"photo_id":"1397256352","filename":"file0"},{"photo_id":"1397256381","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397256358":["hashtag1","hashtag2"]},{"1397256352":["hashtag1","hashtag2"]},{"1397256427":["hashtag1","hashtag2"]},{"1397256355":["hashtag1","hashtag2"]},{"1397256381":["hashtag1","hashtag2"]},{"1397256435":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397256358, 1397256352, 1397256427, 1397256355, 1397256381, 1397256435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.525110721588135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:00:02.862138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/41/image_01122025_18_41_14_9650.jpg', '/home/pi/Desktop/images/01122025/18/41/image_01122025_18_41_24_9891.jpg', '/home/pi/Desktop/images/01122025/18/41/image_01122025_18_41_34_9596.jpg', '/home/pi/Desktop/images/01122025/18/41/image_01122025_18_41_45_10650.jpg', '/home/pi/Desktop/images/01122025/18/41/image_01122025_18_41_54_9763.jpg', '/home/pi/Desktop/images/01122025/18/41/image_01122025_18_42_04_9793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/41/image_01122025_18_41_14_9650.jpg
/home/pi/Desktop/images/01122025/18/41/image_01122025_18_41_24_9891.jpg
/home/pi/Desktop/images/01122025/18/41/image_01122025_18_41_34_9596.jpg
/home/pi/Desktop/images/01122025/18/41/image_01122025_18_41_45_10650.jpg
/home/pi/Desktop/images/01122025/18/41/image_01122025_18_41_54_9763.jpg
/home/pi/Desktop/images/01122025/18/41/image_01122025_18_42_04_9793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397256509","1397256472","1397256517","1397256505","1397256522","1397256513"],"photo_ids_order":["1397256472","1397256505","1397256509","1397256513","1397256517","1397256522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3a45a5df3cbcd1ef776e8b7f04593d38.jpg","text":"TemporaryFile(/tmp/multipartBody3935593528178201971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622863535,"filename":"image_01122025_18_41_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/1/fb64650aeaaca09c3d33ebe65c3159a5.jpg","text":"TemporaryFile(/tmp/multipartBody3012240963137837453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622863535,"filename":"image_01122025_18_41_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/1/6b2de6da9f455d8ce69dc5dde372aa8f.jpg","text":"TemporaryFile(/tmp/multipartBody6637786591481841916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622863535,"filename":"image_01122025_18_41_54_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d931a85d8b280faedafbc7497f4bbb30.jpg","text":"TemporaryFile(/tmp/multipartBody3612381081732840944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622863535,"filename":"image_01122025_18_41_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/1/126af8593225d1b18493dad24d16c93f.jpg","text":"TemporaryFile(/tmp/multipartBody4416892736125975735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622863535,"filename":"image_01122025_18_42_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/1/e3d7c0a5a1695ef817c590d22d811f88.jpg","text":"TemporaryFile(/tmp/multipartBody6053881516543427367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622863535,"filename":"image_01122025_18_41_45_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397256509","file1":"1397256505","file0":"1397256472","file4":"1397256517","file5":"1397256522","file3":"1397256513"},"map_files_photo_id_array":[{"photo_id":"1397256522","filename":"file5"},{"photo_id":"1397256509","filename":"file2"},{"photo_id":"1397256517","filename":"file4"},{"photo_id":"1397256505","filename":"file1"},{"photo_id":"1397256472","filename":"file0"},{"photo_id":"1397256513","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397256509":["hashtag1","hashtag2"]},{"1397256472":["hashtag1","hashtag2"]},{"1397256517":["hashtag1","hashtag2"]},{"1397256505":["hashtag1","hashtag2"]},{"1397256522":["hashtag1","hashtag2"]},{"1397256513":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397256509, 1397256472, 1397256517, 1397256505, 1397256522, 1397256513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.588194847106934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:01:03.338039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/42/image_01122025_18_42_15_10692.jpg', '/home/pi/Desktop/images/01122025/18/42/image_01122025_18_42_25_9678.jpg', '/home/pi/Desktop/images/01122025/18/43/image_01122025_18_43_15_10676.jpg', '/home/pi/Desktop/images/01122025/18/43/image_01122025_18_43_34_9834.jpg', '/home/pi/Desktop/images/01122025/18/43/image_01122025_18_43_45_10562.jpg', '/home/pi/Desktop/images/01122025/18/43/image_01122025_18_43_54_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/42/image_01122025_18_42_15_10692.jpg
/home/pi/Desktop/images/01122025/18/42/image_01122025_18_42_25_9678.jpg
/home/pi/Desktop/images/01122025/18/43/image_01122025_18_43_15_10676.jpg
/home/pi/Desktop/images/01122025/18/43/image_01122025_18_43_34_9834.jpg
/home/pi/Desktop/images/01122025/18/43/image_01122025_18_43_45_10562.jpg
/home/pi/Desktop/images/01122025/18/43/image_01122025_18_43_54_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":["1397256586","1397256579","1397256582","1397256576","1397256584","1397256587"],"photo_ids_order":["1397256576","1397256579","1397256582","1397256584","1397256586","1397256587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d364f9a599ce3757675b1e9b6b737dfa.jpg","text":"TemporaryFile(/tmp/multipartBody2829353154500771149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622924090,"filename":"image_01122025_18_43_45_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/596dfb53b7629aff29e3e751e3b19acc.jpg","text":"TemporaryFile(/tmp/multipartBody2960274862836135152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622924090,"filename":"image_01122025_18_42_25_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/26aa82fc1335eb97cefdd896ea183eb9.jpg","text":"TemporaryFile(/tmp/multipartBody8181277460519323845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622924090,"filename":"image_01122025_18_43_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/1/972b7ca03b8e22fafb8af6e29d467799.jpg","text":"TemporaryFile(/tmp/multipartBody598406159549573113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622924090,"filename":"image_01122025_18_42_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/1/96737769c0e03934bd9498e0a02b9c4f.jpg","text":"TemporaryFile(/tmp/multipartBody5063874605498366634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622924090,"filename":"image_01122025_18_43_34_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b646ed1abc356e514f6680e7bde26187.jpg","text":"TemporaryFile(/tmp/multipartBody1930540299303071216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622924090,"filename":"image_01122025_18_43_54_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397256582","file1":"1397256579","file0":"1397256576","file4":"1397256586","file5":"1397256587","file3":"1397256584"},"map_files_photo_id_array":[{"photo_id":"1397256587","filename":"file5"},{"photo_id":"1397256582","filename":"file2"},{"photo_id":"1397256586","filename":"file4"},{"photo_id":"1397256579","filename":"file1"},{"photo_id":"1397256576","filename":"file0"},{"photo_id":"1397256584","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397256586":["hashtag1","hashtag2"]},{"1397256579":["hashtag1","hashtag2"]},{"1397256582":["hashtag1","hashtag2"]},{"1397256576":["hashtag1","hashtag2"]},{"1397256584":["hashtag1","hashtag2"]},{"1397256587":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397256586, 1397256579, 1397256582, 1397256576, 1397256584, 1397256587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.933507680892944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 22:01:42.697651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/05/image_31102025_15_05_29_3625.jpg', '/home/pi/Desktop/images/31102025/15/05/image_31102025_15_05_47_2756.jpg', '/home/pi/Desktop/images/31102025/15/05/image_31102025_15_05_50_3715.jpg', '/home/pi/Desktop/images/31102025/15/05/image_31102025_15_05_53_2679.jpg', '/home/pi/Desktop/images/31102025/15/05/image_31102025_15_05_59_3612.jpg', '/home/pi/Desktop/images/31102025/15/06/image_31102025_15_06_02_2835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/05/image_31102025_15_05_29_3625.jpg
/home/pi/Desktop/images/31102025/15/05/image_31102025_15_05_47_2756.jpg
/home/pi/Desktop/images/31102025/15/05/image_31102025_15_05_50_3715.jpg
/home/pi/Desktop/images/31102025/15/05/image_31102025_15_05_53_2679.jpg
/home/pi/Desktop/images/31102025/15/05/image_31102025_15_05_59_3612.jpg
/home/pi/Desktop/images/31102025/15/06/image_31102025_15_06_02_2835.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397256605","1397256607","1397256601","1397256603","1397256596","1397256599"],"photo_ids_order":["1397256596","1397256599","1397256601","1397256603","1397256605","1397256607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5c71c0a05f47d314fa9f15b79a85c68a.jpg","text":"TemporaryFile(/tmp/multipartBody818851624198731196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622965247,"filename":"image_31102025_15_05_59_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a404742c0bad7938e71db28dfaf75c95.jpg","text":"TemporaryFile(/tmp/multipartBody5652433258009274262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622965247,"filename":"image_31102025_15_06_02_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bb52d38a35d0bd13320f028d4184eb32.jpg","text":"TemporaryFile(/tmp/multipartBody1007137395043487679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622965247,"filename":"image_31102025_15_05_50_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/1/5bec705c093afd8ae3864ae8c49fcf62.jpg","text":"TemporaryFile(/tmp/multipartBody1964472980779870889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622965247,"filename":"image_31102025_15_05_53_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/1/0ef45dd377c3fe9928d43eb87fa8bdf3.jpg","text":"TemporaryFile(/tmp/multipartBody7148747559754942680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622965247,"filename":"image_31102025_15_05_29_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/1/af1ddce8589322e5831251b56bab78cb.jpg","text":"TemporaryFile(/tmp/multipartBody5265158719730476985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764622965247,"filename":"image_31102025_15_05_47_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397256601","file1":"1397256599","file0":"1397256596","file4":"1397256605","file5":"1397256607","file3":"1397256603"},"map_files_photo_id_array":[{"photo_id":"1397256607","filename":"file5"},{"photo_id":"1397256601","filename":"file2"},{"photo_id":"1397256605","filename":"file4"},{"photo_id":"1397256599","filename":"file1"},{"photo_id":"1397256596","filename":"file0"},{"photo_id":"1397256603","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397256605":["hashtag1","hashtag2"]},{"1397256607":["hashtag1","hashtag2"]},{"1397256601":["hashtag1","hashtag2"]},{"1397256603":["hashtag1","hashtag2"]},{"1397256596":["hashtag1","hashtag2"]},{"1397256599":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397256605, 1397256607, 1397256601, 1397256603, 1397256596, 1397256599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.657843589782715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 22:02:33.406990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_51_3346.jpg', '/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_52_1672.jpg', '/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_54_1777.jpg', '/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_56_1697.jpg', '/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_58_1739.jpg', '/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_02_4135.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_51_3346.jpg
/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_52_1672.jpg
/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_54_1777.jpg
/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_56_1697.jpg
/home/pi/Desktop/images/25112025/23/35/image_25112025_23_35_58_1739.jpg
/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_02_4135.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397256626","1397256620","1397256623","1397256625","1397256628","1397256627"],"photo_ids_order":["1397256620","1397256623","1397256625","1397256626","1397256627","1397256628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/31915d57f2d2eaa18ff40787b9839fe9.jpg","text":"TemporaryFile(/tmp/multipartBody4159563316015357002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623015104,"filename":"image_25112025_23_35_56_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/1/6fce177a57bed75eb99a6a2090826b86.jpg","text":"TemporaryFile(/tmp/multipartBody4057522269229731377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623015104,"filename":"image_25112025_23_35_51_3346.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/16dc055d8ab9de5afb671a0dfa3e68cb.jpg","text":"TemporaryFile(/tmp/multipartBody4175527477542240326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623015104,"filename":"image_25112025_23_35_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/1/2d69b0bde2ac4b14876a3846e97f8412.jpg","text":"TemporaryFile(/tmp/multipartBody5011373211760003138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623015104,"filename":"image_25112025_23_35_54_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/1/aec0c38fae107134162373883fd5064d.jpg","text":"TemporaryFile(/tmp/multipartBody4745338953186096066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623015104,"filename":"image_25112025_23_36_02_4135.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d794988f9593d9baad134133c6717bab.jpg","text":"TemporaryFile(/tmp/multipartBody5006752439707548934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623015104,"filename":"image_25112025_23_35_58_1739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397256625","file1":"1397256623","file0":"1397256620","file4":"1397256627","file5":"1397256628","file3":"1397256626"},"map_files_photo_id_array":[{"photo_id":"1397256628","filename":"file5"},{"photo_id":"1397256625","filename":"file2"},{"photo_id":"1397256627","filename":"file4"},{"photo_id":"1397256623","filename":"file1"},{"photo_id":"1397256620","filename":"file0"},{"photo_id":"1397256626","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397256626":["hashtag1","hashtag2"]},{"1397256620":["hashtag1","hashtag2"]},{"1397256623":["hashtag1","hashtag2"]},{"1397256625":["hashtag1","hashtag2"]},{"1397256628":["hashtag1","hashtag2"]},{"1397256627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397256626, 1397256620, 1397256623, 1397256625, 1397256628, 1397256627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04047727584839 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 22:03:22.013634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/43/image_01122025_18_44_04_9658.jpg', '/home/pi/Desktop/images/01122025/18/44/image_01122025_18_44_15_10741.jpg', '/home/pi/Desktop/images/01122025/18/44/image_01122025_18_44_25_9874.jpg', '/home/pi/Desktop/images/01122025/18/45/image_01122025_18_45_14_9799.jpg', '/home/pi/Desktop/images/01122025/18/45/image_01122025_18_45_44_9799.jpg', '/home/pi/Desktop/images/01122025/18/45/image_01122025_18_45_54_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/43/image_01122025_18_44_04_9658.jpg
/home/pi/Desktop/images/01122025/18/44/image_01122025_18_44_15_10741.jpg
/home/pi/Desktop/images/01122025/18/44/image_01122025_18_44_25_9874.jpg
/home/pi/Desktop/images/01122025/18/45/image_01122025_18_45_14_9799.jpg
/home/pi/Desktop/images/01122025/18/45/image_01122025_18_45_44_9799.jpg
/home/pi/Desktop/images/01122025/18/45/image_01122025_18_45_54_9704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397256656","1397256641","1397256670","1397256658","1397256649","1397256677"],"photo_ids_order":["1397256641","1397256649","1397256656","1397256658","1397256670","1397256677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e0faee2f8c87c66995e1178c91609293.jpg","text":"TemporaryFile(/tmp/multipartBody2985704441486849142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623062715,"filename":"image_01122025_18_44_25_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d019b558cb2dcea6f41f4a4beb070aa3.jpg","text":"TemporaryFile(/tmp/multipartBody4080036987874298277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623062715,"filename":"image_01122025_18_44_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/1/afc06713286388336755677d4f4590ff.jpg","text":"TemporaryFile(/tmp/multipartBody743475239657255679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623062715,"filename":"image_01122025_18_45_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/1/cc2f5517193f24dff8589ebc915d4651.jpg","text":"TemporaryFile(/tmp/multipartBody8480914134077738869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623062715,"filename":"image_01122025_18_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/1/5bc28f664b68109c0d3981b4fd8f5d8f.jpg","text":"TemporaryFile(/tmp/multipartBody1324584732414842490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623062715,"filename":"image_01122025_18_44_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/1/6fcae828ab3f01cb5aad8345a628317b.jpg","text":"TemporaryFile(/tmp/multipartBody939836711713729745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623062715,"filename":"image_01122025_18_45_54_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397256656","file1":"1397256649","file0":"1397256641","file4":"1397256670","file5":"1397256677","file3":"1397256658"},"map_files_photo_id_array":[{"photo_id":"1397256677","filename":"file5"},{"photo_id":"1397256656","filename":"file2"},{"photo_id":"1397256670","filename":"file4"},{"photo_id":"1397256649","filename":"file1"},{"photo_id":"1397256641","filename":"file0"},{"photo_id":"1397256658","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397256656":["hashtag1","hashtag2"]},{"1397256641":["hashtag1","hashtag2"]},{"1397256670":["hashtag1","hashtag2"]},{"1397256658":["hashtag1","hashtag2"]},{"1397256649":["hashtag1","hashtag2"]},{"1397256677":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397256656, 1397256641, 1397256670, 1397256658, 1397256649, 1397256677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5546715259552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:04:02.757212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/46/image_01122025_18_46_24_9663.jpg', '/home/pi/Desktop/images/01122025/18/46/image_01122025_18_47_05_10606.jpg', '/home/pi/Desktop/images/01122025/18/47/image_01122025_18_47_24_9718.jpg', '/home/pi/Desktop/images/01122025/18/47/image_01122025_18_47_34_9685.jpg', '/home/pi/Desktop/images/01122025/18/47/image_01122025_18_47_55_10740.jpg', '/home/pi/Desktop/images/01122025/18/47/image_01122025_18_48_04_9753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/46/image_01122025_18_46_24_9663.jpg
/home/pi/Desktop/images/01122025/18/46/image_01122025_18_47_05_10606.jpg
/home/pi/Desktop/images/01122025/18/47/image_01122025_18_47_24_9718.jpg
/home/pi/Desktop/images/01122025/18/47/image_01122025_18_47_34_9685.jpg
/home/pi/Desktop/images/01122025/18/47/image_01122025_18_47_55_10740.jpg
/home/pi/Desktop/images/01122025/18/47/image_01122025_18_48_04_9753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397256725","1397256678","1397256864","1397256681","1397256683","1397256764"],"photo_ids_order":["1397256678","1397256681","1397256683","1397256725","1397256764","1397256864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3a168ed1f430860ae661353b39534218.jpg","text":"TemporaryFile(/tmp/multipartBody1648600553682888967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623103504,"filename":"image_01122025_18_47_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/1/cd5ff87018deb618076d74065e5b56f6.jpg","text":"TemporaryFile(/tmp/multipartBody7622698650615235713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623103504,"filename":"image_01122025_18_46_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/1/a8dc7bcee0e872955b78be5aed8810e9.jpg","text":"TemporaryFile(/tmp/multipartBody7573037061661051645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623103504,"filename":"image_01122025_18_48_04_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/680cfaf37bc76a4a981816d1bfe10116.jpg","text":"TemporaryFile(/tmp/multipartBody2441646112079234537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623103504,"filename":"image_01122025_18_47_05_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/156d8072ccbe215dd2d014314798e239.jpg","text":"TemporaryFile(/tmp/multipartBody8007480821313057044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623103504,"filename":"image_01122025_18_47_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/1/a7a5aef505bff8c21bb67507693ebcfd.jpg","text":"TemporaryFile(/tmp/multipartBody5080141814087203333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623103504,"filename":"image_01122025_18_47_55_10740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397256683","file1":"1397256681","file0":"1397256678","file4":"1397256764","file5":"1397256864","file3":"1397256725"},"map_files_photo_id_array":[{"photo_id":"1397256864","filename":"file5"},{"photo_id":"1397256683","filename":"file2"},{"photo_id":"1397256764","filename":"file4"},{"photo_id":"1397256681","filename":"file1"},{"photo_id":"1397256678","filename":"file0"},{"photo_id":"1397256725","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397256725":["hashtag1","hashtag2"]},{"1397256678":["hashtag1","hashtag2"]},{"1397256864":["hashtag1","hashtag2"]},{"1397256681":["hashtag1","hashtag2"]},{"1397256683":["hashtag1","hashtag2"]},{"1397256764":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397256725, 1397256678, 1397256864, 1397256681, 1397256683, 1397256764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.85785222053528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:05:03.125765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/48/image_01122025_18_48_14_9712.jpg', '/home/pi/Desktop/images/01122025/18/48/image_01122025_18_48_25_10740.jpg', '/home/pi/Desktop/images/01122025/18/48/image_01122025_18_48_35_9714.jpg', '/home/pi/Desktop/images/01122025/18/48/image_01122025_18_48_44_9641.jpg', '/home/pi/Desktop/images/01122025/18/48/image_01122025_18_48_55_10627.jpg', '/home/pi/Desktop/images/01122025/18/49/image_01122025_18_50_05_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/48/image_01122025_18_48_14_9712.jpg
/home/pi/Desktop/images/01122025/18/48/image_01122025_18_48_25_10740.jpg
/home/pi/Desktop/images/01122025/18/48/image_01122025_18_48_35_9714.jpg
/home/pi/Desktop/images/01122025/18/48/image_01122025_18_48_44_9641.jpg
/home/pi/Desktop/images/01122025/18/48/image_01122025_18_48_55_10627.jpg
/home/pi/Desktop/images/01122025/18/49/image_01122025_18_50_05_9730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397257054","1397257083","1397257050","1397257068","1397257073","1397257052"],"photo_ids_order":["1397257050","1397257052","1397257054","1397257068","1397257073","1397257083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/38e8312661e44db4af197aa429282205.jpg","text":"TemporaryFile(/tmp/multipartBody2629598971981309830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623163929,"filename":"image_01122025_18_48_35_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/029fd15a8ddc363e432380c77059ae79.jpg","text":"TemporaryFile(/tmp/multipartBody8777134103173623722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623163929,"filename":"image_01122025_18_50_05_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/309a8f8217c6203b83af742801365f7f.jpg","text":"TemporaryFile(/tmp/multipartBody1125304065813091323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623163929,"filename":"image_01122025_18_48_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/1/9d5af96dccad881605477c95c9f82e6b.jpg","text":"TemporaryFile(/tmp/multipartBody1850091415891030180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623163929,"filename":"image_01122025_18_48_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/1/a7d549f298240ca0566793d569104d8b.jpg","text":"TemporaryFile(/tmp/multipartBody3703933614888352848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623163929,"filename":"image_01122025_18_48_55_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/35a710eebadbe41c923ec9a81367f0d0.jpg","text":"TemporaryFile(/tmp/multipartBody577002321735237771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623163929,"filename":"image_01122025_18_48_25_10740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257054","file1":"1397257052","file0":"1397257050","file4":"1397257073","file5":"1397257083","file3":"1397257068"},"map_files_photo_id_array":[{"photo_id":"1397257083","filename":"file5"},{"photo_id":"1397257054","filename":"file2"},{"photo_id":"1397257073","filename":"file4"},{"photo_id":"1397257052","filename":"file1"},{"photo_id":"1397257050","filename":"file0"},{"photo_id":"1397257068","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397257054":["hashtag1","hashtag2"]},{"1397257083":["hashtag1","hashtag2"]},{"1397257050":["hashtag1","hashtag2"]},{"1397257068":["hashtag1","hashtag2"]},{"1397257073":["hashtag1","hashtag2"]},{"1397257052":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397257054, 1397257083, 1397257050, 1397257068, 1397257073, 1397257052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.94127297401428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:06:03.066360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/50/image_01122025_18_50_14_9746.jpg', '/home/pi/Desktop/images/01122025/18/50/image_01122025_18_50_24_9863.jpg', '/home/pi/Desktop/images/01122025/18/50/image_01122025_18_50_35_10546.jpg', '/home/pi/Desktop/images/01122025/18/50/image_01122025_18_50_44_9686.jpg', '/home/pi/Desktop/images/01122025/18/50/image_01122025_18_50_54_9601.jpg', '/home/pi/Desktop/images/01122025/18/50/image_01122025_18_51_05_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/50/image_01122025_18_50_14_9746.jpg
/home/pi/Desktop/images/01122025/18/50/image_01122025_18_50_24_9863.jpg
/home/pi/Desktop/images/01122025/18/50/image_01122025_18_50_35_10546.jpg
/home/pi/Desktop/images/01122025/18/50/image_01122025_18_50_44_9686.jpg
/home/pi/Desktop/images/01122025/18/50/image_01122025_18_50_54_9601.jpg
/home/pi/Desktop/images/01122025/18/50/image_01122025_18_51_05_10627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397257120","1397257179","1397257125","1397257122","1397257116","1397257118"],"photo_ids_order":["1397257116","1397257118","1397257120","1397257122","1397257125","1397257179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0362c72d8f394a441b92eaaca0981de6.jpg","text":"TemporaryFile(/tmp/multipartBody8242479952572808232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623223767,"filename":"image_01122025_18_50_35_10546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/eedf2163ee4633721543a69ffa4433d5.jpg","text":"TemporaryFile(/tmp/multipartBody4670478149381446477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623223767,"filename":"image_01122025_18_51_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/1/91e22c3461320be485952b0e698e9c19.jpg","text":"TemporaryFile(/tmp/multipartBody4494487576460169082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623223767,"filename":"image_01122025_18_50_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/1/cf1c8aad2ae9ea7420a91850fdc1d6e6.jpg","text":"TemporaryFile(/tmp/multipartBody4345488940269051996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623223767,"filename":"image_01122025_18_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/1/96ee5dec664bbbdec1e87114b1a248d4.jpg","text":"TemporaryFile(/tmp/multipartBody6683510244426320513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623223767,"filename":"image_01122025_18_50_14_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c71c3edde6175f43333a9cb1e6c331ff.jpg","text":"TemporaryFile(/tmp/multipartBody4118396699592900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623223767,"filename":"image_01122025_18_50_24_9863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257120","file1":"1397257118","file0":"1397257116","file4":"1397257125","file5":"1397257179","file3":"1397257122"},"map_files_photo_id_array":[{"photo_id":"1397257179","filename":"file5"},{"photo_id":"1397257120","filename":"file2"},{"photo_id":"1397257125","filename":"file4"},{"photo_id":"1397257118","filename":"file1"},{"photo_id":"1397257116","filename":"file0"},{"photo_id":"1397257122","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397257120":["hashtag1","hashtag2"]},{"1397257179":["hashtag1","hashtag2"]},{"1397257125":["hashtag1","hashtag2"]},{"1397257122":["hashtag1","hashtag2"]},{"1397257116":["hashtag1","hashtag2"]},{"1397257118":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397257120, 1397257179, 1397257125, 1397257122, 1397257116, 1397257118)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.937692642211914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:07:03.368967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 22:07:12.815769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_03_1586.jpg', '/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_08_4656.jpg', '/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_19_11290.jpg', '/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_22_3120.jpg', '/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_24_1650.jpg', '/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_26_1819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_03_1586.jpg
/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_08_4656.jpg
/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_19_11290.jpg
/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_22_3120.jpg
/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_24_1650.jpg
/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_26_1819.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397257231","1397257225","1397257228","1397257213","1397257222","1397257210"],"photo_ids_order":["1397257210","1397257213","1397257222","1397257225","1397257228","1397257231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/916869fa5d961b268d31b5eee4195e6e.jpg","text":"TemporaryFile(/tmp/multipartBody4620015169532694961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623294455,"filename":"image_25112025_23_36_26_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/1/087af011fa7c3a0b0888408a11933bff.jpg","text":"TemporaryFile(/tmp/multipartBody272647060104518445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623294455,"filename":"image_25112025_23_36_22_3120.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d5c66d3af0ee0aacfcb8d1dfbd03fb62.jpg","text":"TemporaryFile(/tmp/multipartBody2838996420033664298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623294455,"filename":"image_25112025_23_36_24_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/1/578e3190516ea6b0fe97fcf6971e51b1.jpg","text":"TemporaryFile(/tmp/multipartBody49632236325727478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623294455,"filename":"image_25112025_23_36_08_4656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/728485bbc2f0985bf7164126d4a1128b.jpg","text":"TemporaryFile(/tmp/multipartBody212090667015638198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623294455,"filename":"image_25112025_23_36_19_11290.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f13f8561bd41bfcde84228042404edf7.jpg","text":"TemporaryFile(/tmp/multipartBody6110506635556444931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623294455,"filename":"image_25112025_23_36_03_1586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257222","file1":"1397257213","file0":"1397257210","file4":"1397257228","file5":"1397257231","file3":"1397257225"},"map_files_photo_id_array":[{"photo_id":"1397257231","filename":"file5"},{"photo_id":"1397257222","filename":"file2"},{"photo_id":"1397257228","filename":"file4"},{"photo_id":"1397257213","filename":"file1"},{"photo_id":"1397257210","filename":"file0"},{"photo_id":"1397257225","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397257231":["hashtag1","hashtag2"]},{"1397257225":["hashtag1","hashtag2"]},{"1397257228":["hashtag1","hashtag2"]},{"1397257213":["hashtag1","hashtag2"]},{"1397257222":["hashtag1","hashtag2"]},{"1397257210":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397257231, 1397257225, 1397257228, 1397257213, 1397257222, 1397257210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.92525386810303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:08:10.301345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/51/image_01122025_18_51_14_9802.jpg', '/home/pi/Desktop/images/01122025/18/51/image_01122025_18_51_24_9701.jpg', '/home/pi/Desktop/images/01122025/18/51/image_01122025_18_51_45_9710.jpg', '/home/pi/Desktop/images/01122025/18/51/image_01122025_18_51_54_9868.jpg', '/home/pi/Desktop/images/01122025/18/51/image_01122025_18_52_04_9811.jpg', '/home/pi/Desktop/images/01122025/18/52/image_01122025_18_52_45_10598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/51/image_01122025_18_51_14_9802.jpg
/home/pi/Desktop/images/01122025/18/51/image_01122025_18_51_24_9701.jpg
/home/pi/Desktop/images/01122025/18/51/image_01122025_18_51_45_9710.jpg
/home/pi/Desktop/images/01122025/18/51/image_01122025_18_51_54_9868.jpg
/home/pi/Desktop/images/01122025/18/51/image_01122025_18_52_04_9811.jpg
/home/pi/Desktop/images/01122025/18/52/image_01122025_18_52_45_10598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397257279","1397257270","1397257292","1397257286","1397257289","1397257268"],"photo_ids_order":["1397257268","1397257270","1397257279","1397257286","1397257289","1397257292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/399e2a64ca10527d51b024e7d394b640.jpg","text":"TemporaryFile(/tmp/multipartBody1673519484610275620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623353549,"filename":"image_01122025_18_51_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/1/68f95a4916eb50602ef42b204d552267.jpg","text":"TemporaryFile(/tmp/multipartBody2916207772237600482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623353549,"filename":"image_01122025_18_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/1/d61d220452afe3c83e917e2d77fbe01c.jpg","text":"TemporaryFile(/tmp/multipartBody8639951501632067739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623353549,"filename":"image_01122025_18_52_45_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1ee6eae5b58454603d6b34c22a31bee6.jpg","text":"TemporaryFile(/tmp/multipartBody3331540419072017639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623353549,"filename":"image_01122025_18_51_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/1/d728b917298c9ecc6d23a88198ee5ba1.jpg","text":"TemporaryFile(/tmp/multipartBody9105389941358959416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623353549,"filename":"image_01122025_18_52_04_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/421b0b06822c0272b85edcd0b0d6345c.jpg","text":"TemporaryFile(/tmp/multipartBody2420163210129106312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623353549,"filename":"image_01122025_18_51_14_9802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257279","file1":"1397257270","file0":"1397257268","file4":"1397257289","file5":"1397257292","file3":"1397257286"},"map_files_photo_id_array":[{"photo_id":"1397257292","filename":"file5"},{"photo_id":"1397257279","filename":"file2"},{"photo_id":"1397257289","filename":"file4"},{"photo_id":"1397257270","filename":"file1"},{"photo_id":"1397257268","filename":"file0"},{"photo_id":"1397257286","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397257279":["hashtag1","hashtag2"]},{"1397257270":["hashtag1","hashtag2"]},{"1397257292":["hashtag1","hashtag2"]},{"1397257286":["hashtag1","hashtag2"]},{"1397257289":["hashtag1","hashtag2"]},{"1397257268":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397257279, 1397257270, 1397257292, 1397257286, 1397257289, 1397257268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.92535042762756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:09:03.722348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 22:09:12.864759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_27_1650.jpg', '/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_29_1793.jpg', '/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_34_4413.jpg', '/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_35_1747.jpg', '/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_37_1522.jpg', '/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_38_1529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_27_1650.jpg
/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_29_1793.jpg
/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_34_4413.jpg
/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_35_1747.jpg
/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_37_1522.jpg
/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_38_1529.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397257325","1397257320","1397257331","1397257334","1397257328","1397257322"],"photo_ids_order":["1397257320","1397257322","1397257325","1397257328","1397257331","1397257334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/85ee18893a3dffa81c9cce4b19c4400a.jpg","text":"TemporaryFile(/tmp/multipartBody5682950033650193544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623414576,"filename":"image_25112025_23_36_34_4413.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ff01175aa941a7fd0172dc21cbaa13c7.jpg","text":"TemporaryFile(/tmp/multipartBody2820366438552056240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623414576,"filename":"image_25112025_23_36_27_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/1/f87e45d7cb097ba96ad4991e7939f2f4.jpg","text":"TemporaryFile(/tmp/multipartBody421457453594299207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623414576,"filename":"image_25112025_23_36_37_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/1/0b13d1edcd1cde0b7564520f21145683.jpg","text":"TemporaryFile(/tmp/multipartBody5176401924738199883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623414576,"filename":"image_25112025_23_36_38_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/1/6842478d643980729bc206bfde6ecbae.jpg","text":"TemporaryFile(/tmp/multipartBody8312444364677642962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623414576,"filename":"image_25112025_23_36_35_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/1/2be74f91d10a9414024d83b3560f9300.jpg","text":"TemporaryFile(/tmp/multipartBody3704809445706780577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623414576,"filename":"image_25112025_23_36_29_1793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257325","file1":"1397257322","file0":"1397257320","file4":"1397257331","file5":"1397257334","file3":"1397257328"},"map_files_photo_id_array":[{"photo_id":"1397257334","filename":"file5"},{"photo_id":"1397257325","filename":"file2"},{"photo_id":"1397257331","filename":"file4"},{"photo_id":"1397257322","filename":"file1"},{"photo_id":"1397257320","filename":"file0"},{"photo_id":"1397257328","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397257325":["hashtag1","hashtag2"]},{"1397257320":["hashtag1","hashtag2"]},{"1397257331":["hashtag1","hashtag2"]},{"1397257334":["hashtag1","hashtag2"]},{"1397257328":["hashtag1","hashtag2"]},{"1397257322":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397257325, 1397257320, 1397257331, 1397257334, 1397257328, 1397257322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.78346228599548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:10:03.590284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/52/image_01122025_18_52_54_9566.jpg', '/home/pi/Desktop/images/01122025/18/52/image_01122025_18_53_04_9696.jpg', '/home/pi/Desktop/images/01122025/18/53/image_01122025_18_53_15_10689.jpg', '/home/pi/Desktop/images/01122025/18/53/image_01122025_18_53_24_9695.jpg', '/home/pi/Desktop/images/01122025/18/53/image_01122025_18_53_34_9844.jpg', '/home/pi/Desktop/images/01122025/18/53/image_01122025_18_53_44_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/52/image_01122025_18_52_54_9566.jpg
/home/pi/Desktop/images/01122025/18/52/image_01122025_18_53_04_9696.jpg
/home/pi/Desktop/images/01122025/18/53/image_01122025_18_53_15_10689.jpg
/home/pi/Desktop/images/01122025/18/53/image_01122025_18_53_24_9695.jpg
/home/pi/Desktop/images/01122025/18/53/image_01122025_18_53_34_9844.jpg
/home/pi/Desktop/images/01122025/18/53/image_01122025_18_53_44_9615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397257345","1397257339","1397257347","1397257341","1397257350","1397257340"],"photo_ids_order":["1397257339","1397257340","1397257341","1397257345","1397257347","1397257350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/034db8108f80499283226ccba1efcb47.jpg","text":"TemporaryFile(/tmp/multipartBody3812038476247650171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623468984,"filename":"image_01122025_18_53_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/1/f543526d961b79c79af1de4f04adfaaa.jpg","text":"TemporaryFile(/tmp/multipartBody3561342183558558482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623468984,"filename":"image_01122025_18_52_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/1/04912a0a663c0f78a4e7c89affbf2d5e.jpg","text":"TemporaryFile(/tmp/multipartBody773000789698771691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623468984,"filename":"image_01122025_18_53_34_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/49c1c9632ac21a3ee30e27bbe89278a7.jpg","text":"TemporaryFile(/tmp/multipartBody961193591869559852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623468984,"filename":"image_01122025_18_53_15_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b6e8ebbdecf1d2a2f5eb0d5dea36f698.jpg","text":"TemporaryFile(/tmp/multipartBody4153897851612084842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623468984,"filename":"image_01122025_18_53_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/1/5304762d68c054a4ca8c1b182a7c07ff.jpg","text":"TemporaryFile(/tmp/multipartBody2072030073165109440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623468984,"filename":"image_01122025_18_53_04_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257341","file1":"1397257340","file0":"1397257339","file4":"1397257347","file5":"1397257350","file3":"1397257345"},"map_files_photo_id_array":[{"photo_id":"1397257350","filename":"file5"},{"photo_id":"1397257341","filename":"file2"},{"photo_id":"1397257347","filename":"file4"},{"photo_id":"1397257340","filename":"file1"},{"photo_id":"1397257339","filename":"file0"},{"photo_id":"1397257345","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397257345":["hashtag1","hashtag2"]},{"1397257339":["hashtag1","hashtag2"]},{"1397257347":["hashtag1","hashtag2"]},{"1397257341":["hashtag1","hashtag2"]},{"1397257350":["hashtag1","hashtag2"]},{"1397257340":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397257345, 1397257339, 1397257347, 1397257341, 1397257350, 1397257340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.88204646110535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:11:03.346036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 22:11:12.647384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_40_1828.jpg', '/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_42_1699.jpg', '/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_44_1519.jpg', '/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_45_1649.jpg', '/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_47_1656.jpg', '/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_48_1555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_40_1828.jpg
/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_42_1699.jpg
/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_44_1519.jpg
/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_45_1649.jpg
/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_47_1656.jpg
/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_48_1555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397257406","1397257381","1397257374","1397257377","1397257458","1397257373"],"photo_ids_order":["1397257373","1397257374","1397257377","1397257381","1397257406","1397257458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c4702ccf8199f0ae325568201f80768b.jpg","text":"TemporaryFile(/tmp/multipartBody8621415650686401181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623534340,"filename":"image_25112025_23_36_47_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/1/f5f6893c8980d61a7645205ee166853e.jpg","text":"TemporaryFile(/tmp/multipartBody4015700641939578168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623534340,"filename":"image_25112025_23_36_45_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/1/d14a2faaceba473a1a9166deb26bda43.jpg","text":"TemporaryFile(/tmp/multipartBody6164494163734749795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623534340,"filename":"image_25112025_23_36_42_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/1/a7658df5241f977f26238dfcabbf2faf.jpg","text":"TemporaryFile(/tmp/multipartBody2301276379110035080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623534340,"filename":"image_25112025_23_36_44_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/1/c53b2ee1f7f480eca7249309672b46a6.jpg","text":"TemporaryFile(/tmp/multipartBody4448181950356205198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623534340,"filename":"image_25112025_23_36_48_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/1/196c2b95ecad5f74eb67d003353e94e5.jpg","text":"TemporaryFile(/tmp/multipartBody7121357370487785418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623534340,"filename":"image_25112025_23_36_40_1828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257377","file1":"1397257374","file0":"1397257373","file4":"1397257406","file5":"1397257458","file3":"1397257381"},"map_files_photo_id_array":[{"photo_id":"1397257458","filename":"file5"},{"photo_id":"1397257377","filename":"file2"},{"photo_id":"1397257406","filename":"file4"},{"photo_id":"1397257374","filename":"file1"},{"photo_id":"1397257373","filename":"file0"},{"photo_id":"1397257381","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397257406":["hashtag1","hashtag2"]},{"1397257381":["hashtag1","hashtag2"]},{"1397257374":["hashtag1","hashtag2"]},{"1397257377":["hashtag1","hashtag2"]},{"1397257458":["hashtag1","hashtag2"]},{"1397257373":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397257406, 1397257381, 1397257374, 1397257377, 1397257458, 1397257373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.031516551971436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:12:02.514848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/53/image_01122025_18_53_55_10938.jpg', '/home/pi/Desktop/images/01122025/18/54/image_01122025_18_54_14_9633.jpg', '/home/pi/Desktop/images/01122025/18/54/image_01122025_18_54_35_10569.jpg', '/home/pi/Desktop/images/01122025/18/54/image_01122025_18_54_54_9596.jpg', '/home/pi/Desktop/images/01122025/18/54/image_01122025_18_55_05_10684.jpg', '/home/pi/Desktop/images/01122025/18/55/image_01122025_18_55_14_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/53/image_01122025_18_53_55_10938.jpg
/home/pi/Desktop/images/01122025/18/54/image_01122025_18_54_14_9633.jpg
/home/pi/Desktop/images/01122025/18/54/image_01122025_18_54_35_10569.jpg
/home/pi/Desktop/images/01122025/18/54/image_01122025_18_54_54_9596.jpg
/home/pi/Desktop/images/01122025/18/54/image_01122025_18_55_05_10684.jpg
/home/pi/Desktop/images/01122025/18/55/image_01122025_18_55_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397257474","1397257468","1397257462","1397257470","1397257464","1397257466"],"photo_ids_order":["1397257462","1397257464","1397257466","1397257468","1397257470","1397257474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/12ae3b82b4d1547de7cce7f8246a940b.jpg","text":"TemporaryFile(/tmp/multipartBody3176234296650208359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623583209,"filename":"image_01122025_18_55_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/1/89bc6b591fd3bbeda62268be0b5fa6eb.jpg","text":"TemporaryFile(/tmp/multipartBody3536155256789818099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623583209,"filename":"image_01122025_18_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/1/0ad56ac56ae28ebf7a90c39f18c9750a.jpg","text":"TemporaryFile(/tmp/multipartBody5400121734502235331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623583209,"filename":"image_01122025_18_53_55_10938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ed0793727ed39e55bd67237ef76de77c.jpg","text":"TemporaryFile(/tmp/multipartBody347640665806439294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623583209,"filename":"image_01122025_18_55_05_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a800f01c0265ca1632955c722eac1939.jpg","text":"TemporaryFile(/tmp/multipartBody3721520247642288032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623583209,"filename":"image_01122025_18_54_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/1/640132e49aadc7152ab62e4ee7a4e8fc.jpg","text":"TemporaryFile(/tmp/multipartBody5189745416925473139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623583209,"filename":"image_01122025_18_54_35_10569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257466","file1":"1397257464","file0":"1397257462","file4":"1397257470","file5":"1397257474","file3":"1397257468"},"map_files_photo_id_array":[{"photo_id":"1397257474","filename":"file5"},{"photo_id":"1397257466","filename":"file2"},{"photo_id":"1397257470","filename":"file4"},{"photo_id":"1397257464","filename":"file1"},{"photo_id":"1397257462","filename":"file0"},{"photo_id":"1397257468","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397257474":["hashtag1","hashtag2"]},{"1397257468":["hashtag1","hashtag2"]},{"1397257462":["hashtag1","hashtag2"]},{"1397257470":["hashtag1","hashtag2"]},{"1397257464":["hashtag1","hashtag2"]},{"1397257466":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397257474, 1397257468, 1397257462, 1397257470, 1397257464, 1397257466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.8480589389801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:13:02.721436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/55/image_01122025_18_55_24_9659.jpg', '/home/pi/Desktop/images/01122025/18/55/image_01122025_18_55_35_10871.jpg', '/home/pi/Desktop/images/01122025/18/55/image_01122025_18_55_44_9637.jpg', '/home/pi/Desktop/images/01122025/18/55/image_01122025_18_55_54_9624.jpg', '/home/pi/Desktop/images/01122025/18/55/image_01122025_18_56_05_10758.jpg', '/home/pi/Desktop/images/01122025/18/56/image_01122025_18_56_15_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/55/image_01122025_18_55_24_9659.jpg
/home/pi/Desktop/images/01122025/18/55/image_01122025_18_55_35_10871.jpg
/home/pi/Desktop/images/01122025/18/55/image_01122025_18_55_44_9637.jpg
/home/pi/Desktop/images/01122025/18/55/image_01122025_18_55_54_9624.jpg
/home/pi/Desktop/images/01122025/18/55/image_01122025_18_56_05_10758.jpg
/home/pi/Desktop/images/01122025/18/56/image_01122025_18_56_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":["1397257486","1397257483","1397257482","1397257491","1397257479","1397257481"],"photo_ids_order":["1397257479","1397257481","1397257482","1397257483","1397257486","1397257491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/35c98551ff1f11c482c3cb9a8fd177cc.jpg","text":"TemporaryFile(/tmp/multipartBody3998503544603821707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623643435,"filename":"image_01122025_18_56_05_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a67384e0940d850c34be3f1b2e96d13f.jpg","text":"TemporaryFile(/tmp/multipartBody3917821470396607049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623643435,"filename":"image_01122025_18_55_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/1/b2391b981799a96b250ff78b242a946d.jpg","text":"TemporaryFile(/tmp/multipartBody5569802877821908368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623643435,"filename":"image_01122025_18_55_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/1/90b3819f88dbdc5857b5c58fdfa8b777.jpg","text":"TemporaryFile(/tmp/multipartBody8807998974073656366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623643435,"filename":"image_01122025_18_56_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/1/106a2bd993a9783857d55a899b04cd9d.jpg","text":"TemporaryFile(/tmp/multipartBody3293546903385429920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623643435,"filename":"image_01122025_18_55_24_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2fd20e7cf778adfb79d5f636819153a8.jpg","text":"TemporaryFile(/tmp/multipartBody822107819916974961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623643435,"filename":"image_01122025_18_55_35_10871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257482","file1":"1397257481","file0":"1397257479","file4":"1397257486","file5":"1397257491","file3":"1397257483"},"map_files_photo_id_array":[{"photo_id":"1397257491","filename":"file5"},{"photo_id":"1397257482","filename":"file2"},{"photo_id":"1397257486","filename":"file4"},{"photo_id":"1397257481","filename":"file1"},{"photo_id":"1397257479","filename":"file0"},{"photo_id":"1397257483","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397257486":["hashtag1","hashtag2"]},{"1397257483":["hashtag1","hashtag2"]},{"1397257482":["hashtag1","hashtag2"]},{"1397257491":["hashtag1","hashtag2"]},{"1397257479":["hashtag1","hashtag2"]},{"1397257481":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397257486, 1397257483, 1397257482, 1397257491, 1397257479, 1397257481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80835962295532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 22:13:42.058652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/06/image_31102025_15_06_11_2725.jpg', '/home/pi/Desktop/images/31102025/15/06/image_31102025_15_06_14_2832.jpg', '/home/pi/Desktop/images/31102025/15/06/image_31102025_15_06_17_2648.jpg', '/home/pi/Desktop/images/31102025/15/06/image_31102025_15_06_26_2645.jpg', '/home/pi/Desktop/images/31102025/15/06/image_31102025_15_06_29_2669.jpg', '/home/pi/Desktop/images/31102025/15/06/image_31102025_15_06_44_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/06/image_31102025_15_06_11_2725.jpg
/home/pi/Desktop/images/31102025/15/06/image_31102025_15_06_14_2832.jpg
/home/pi/Desktop/images/31102025/15/06/image_31102025_15_06_17_2648.jpg
/home/pi/Desktop/images/31102025/15/06/image_31102025_15_06_26_2645.jpg
/home/pi/Desktop/images/31102025/15/06/image_31102025_15_06_29_2669.jpg
/home/pi/Desktop/images/31102025/15/06/image_31102025_15_06_44_2625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397257502","1397257505","1397257504","1397257501","1397257503","1397257499"],"photo_ids_order":["1397257499","1397257501","1397257502","1397257503","1397257504","1397257505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c3dc3681148fbdafcf8c8a16a4d915d7.jpg","text":"TemporaryFile(/tmp/multipartBody4956420081075946375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623684599,"filename":"image_31102025_15_06_17_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/1/873bac2a0f8ab177d03ef57257ff351f.jpg","text":"TemporaryFile(/tmp/multipartBody1392587649593539887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623684599,"filename":"image_31102025_15_06_44_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/1/78cc0725977aa20581d5edb5ac9beff1.jpg","text":"TemporaryFile(/tmp/multipartBody4224873165981943043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623684599,"filename":"image_31102025_15_06_29_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/1/0a62c015122f4a9fe0788b2e56e06ddf.jpg","text":"TemporaryFile(/tmp/multipartBody2717351363004816579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623684599,"filename":"image_31102025_15_06_14_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/1/321a5a1d8bf8ecf72a8935ded80221d3.jpg","text":"TemporaryFile(/tmp/multipartBody6960756118457425777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623684599,"filename":"image_31102025_15_06_26_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/1/43d8e15ddcc6df701662be6d01ad275a.jpg","text":"TemporaryFile(/tmp/multipartBody1036421221556165270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623684599,"filename":"image_31102025_15_06_11_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257502","file1":"1397257501","file0":"1397257499","file4":"1397257504","file5":"1397257505","file3":"1397257503"},"map_files_photo_id_array":[{"photo_id":"1397257505","filename":"file5"},{"photo_id":"1397257502","filename":"file2"},{"photo_id":"1397257504","filename":"file4"},{"photo_id":"1397257501","filename":"file1"},{"photo_id":"1397257499","filename":"file0"},{"photo_id":"1397257503","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397257502":["hashtag1","hashtag2"]},{"1397257505":["hashtag1","hashtag2"]},{"1397257504":["hashtag1","hashtag2"]},{"1397257501":["hashtag1","hashtag2"]},{"1397257503":["hashtag1","hashtag2"]},{"1397257499":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397257502, 1397257505, 1397257504, 1397257501, 1397257503, 1397257499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.29422450065613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 22:14:32.261632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_51_2548.jpg', '/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_54_2683.jpg', '/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_57_3616.jpg', '/home/pi/Desktop/images/25112025/23/36/image_25112025_23_37_00_2603.jpg', '/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_02_2652.jpg', '/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_06_3575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_51_2548.jpg
/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_54_2683.jpg
/home/pi/Desktop/images/25112025/23/36/image_25112025_23_36_57_3616.jpg
/home/pi/Desktop/images/25112025/23/36/image_25112025_23_37_00_2603.jpg
/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_02_2652.jpg
/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_06_3575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397257517","1397257516","1397257519","1397257518","1397257512","1397257514"],"photo_ids_order":["1397257512","1397257514","1397257516","1397257517","1397257518","1397257519"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e2df809cdcf877a89e409cadeacda56e.jpg","text":"TemporaryFile(/tmp/multipartBody7355971534455892040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623733969,"filename":"image_25112025_23_37_00_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/1/cd1f8e28be62494e4920f8ede848c96b.jpg","text":"TemporaryFile(/tmp/multipartBody8355711010432338042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623733969,"filename":"image_25112025_23_36_57_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a2855f821b0eca1da2d5a890488524a0.jpg","text":"TemporaryFile(/tmp/multipartBody1767574414303484675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623733969,"filename":"image_25112025_23_37_06_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/1/81b6323332f34043abf60ab4c30f05b1.jpg","text":"TemporaryFile(/tmp/multipartBody7605903226859928476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623733969,"filename":"image_25112025_23_37_02_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/02eb6b4f8ccf246b44cc30210832a85d.jpg","text":"TemporaryFile(/tmp/multipartBody8390967937370295712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623733969,"filename":"image_25112025_23_36_51_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/1/e975d2e246c4ee2faf9d2315c08514f3.jpg","text":"TemporaryFile(/tmp/multipartBody2528010893401105040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623733969,"filename":"image_25112025_23_36_54_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257516","file1":"1397257514","file0":"1397257512","file4":"1397257518","file5":"1397257519","file3":"1397257517"},"map_files_photo_id_array":[{"photo_id":"1397257519","filename":"file5"},{"photo_id":"1397257516","filename":"file2"},{"photo_id":"1397257518","filename":"file4"},{"photo_id":"1397257514","filename":"file1"},{"photo_id":"1397257512","filename":"file0"},{"photo_id":"1397257517","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397257517":["hashtag1","hashtag2"]},{"1397257516":["hashtag1","hashtag2"]},{"1397257519":["hashtag1","hashtag2"]},{"1397257518":["hashtag1","hashtag2"]},{"1397257512":["hashtag1","hashtag2"]},{"1397257514":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397257517, 1397257516, 1397257519, 1397257518, 1397257512, 1397257514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.649102449417114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 22:15:22.411721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/56/image_01122025_18_56_35_10657.jpg', '/home/pi/Desktop/images/01122025/18/56/image_01122025_18_56_54_9802.jpg', '/home/pi/Desktop/images/01122025/18/56/image_01122025_18_57_04_10013.jpg', '/home/pi/Desktop/images/01122025/18/57/image_01122025_18_57_14_9816.jpg', '/home/pi/Desktop/images/01122025/18/57/image_01122025_18_57_25_10633.jpg', '/home/pi/Desktop/images/01122025/18/57/image_01122025_18_57_34_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/56/image_01122025_18_56_35_10657.jpg
/home/pi/Desktop/images/01122025/18/56/image_01122025_18_56_54_9802.jpg
/home/pi/Desktop/images/01122025/18/56/image_01122025_18_57_04_10013.jpg
/home/pi/Desktop/images/01122025/18/57/image_01122025_18_57_14_9816.jpg
/home/pi/Desktop/images/01122025/18/57/image_01122025_18_57_25_10633.jpg
/home/pi/Desktop/images/01122025/18/57/image_01122025_18_57_34_9761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397257523","1397257525","1397257545","1397257548","1397257521","1397257550"],"photo_ids_order":["1397257521","1397257523","1397257525","1397257545","1397257548","1397257550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/912d612c3e187047bda0f65f71115a05.jpg","text":"TemporaryFile(/tmp/multipartBody130526203738556696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623783093,"filename":"image_01122025_18_56_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/1/8aeacca2d8b294f6e1cade591d2ec236.jpg","text":"TemporaryFile(/tmp/multipartBody2567943992963057609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623783093,"filename":"image_01122025_18_57_04_10013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/260bb8a96d87d6e5a7ee2aa0cc97e18b.jpg","text":"TemporaryFile(/tmp/multipartBody3554526692875722513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623783093,"filename":"image_01122025_18_57_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/1/ede3b7a82a36ea3e0926aa3399cd8743.jpg","text":"TemporaryFile(/tmp/multipartBody628136917775387783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623783093,"filename":"image_01122025_18_57_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/1/2d771376730a353859ac42af12ca3e99.jpg","text":"TemporaryFile(/tmp/multipartBody3726384243286706235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623783093,"filename":"image_01122025_18_56_35_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5e62050888447a4a0180c437d743bb71.jpg","text":"TemporaryFile(/tmp/multipartBody126690137861858949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623783093,"filename":"image_01122025_18_57_34_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257525","file1":"1397257523","file0":"1397257521","file4":"1397257548","file5":"1397257550","file3":"1397257545"},"map_files_photo_id_array":[{"photo_id":"1397257550","filename":"file5"},{"photo_id":"1397257525","filename":"file2"},{"photo_id":"1397257548","filename":"file4"},{"photo_id":"1397257523","filename":"file1"},{"photo_id":"1397257521","filename":"file0"},{"photo_id":"1397257545","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397257523":["hashtag1","hashtag2"]},{"1397257525":["hashtag1","hashtag2"]},{"1397257545":["hashtag1","hashtag2"]},{"1397257548":["hashtag1","hashtag2"]},{"1397257521":["hashtag1","hashtag2"]},{"1397257550":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397257523, 1397257525, 1397257545, 1397257548, 1397257521, 1397257550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.626102447509766 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-01 22:16:12.598837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_09_2527.jpg', '/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_12_3638.jpg', '/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_15_2601.jpg', '/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_17_2656.jpg', '/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_21_3662.jpg', '/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_27_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_09_2527.jpg
/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_12_3638.jpg
/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_15_2601.jpg
/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_17_2656.jpg
/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_21_3662.jpg
/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_27_2680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397257555","1397257600","1397257551","1397257608","1397257557","1397257553"],"photo_ids_order":["1397257551","1397257553","1397257555","1397257557","1397257600","1397257608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0ddc79d787d0b064281fcd0f9706aa68.jpg","text":"TemporaryFile(/tmp/multipartBody4724805997175445127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623834118,"filename":"image_25112025_23_37_15_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/1/7f8599a2ed487e9129f7f60e8e99a078.jpg","text":"TemporaryFile(/tmp/multipartBody8497399284052091537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623834118,"filename":"image_25112025_23_37_21_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2a39eca8a01d1bf27afd442890115295.jpg","text":"TemporaryFile(/tmp/multipartBody2370107329289134940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623834118,"filename":"image_25112025_23_37_09_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/1/3db38bb53e6672be6a0d941877ff23da.jpg","text":"TemporaryFile(/tmp/multipartBody2497410873954814745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623834118,"filename":"image_25112025_23_37_27_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/1/373bd9f5eadb9ed64517ff889e78a62a.jpg","text":"TemporaryFile(/tmp/multipartBody5063183808640145059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623834118,"filename":"image_25112025_23_37_17_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/1/027af157bcf417d68a2856cf698f499f.jpg","text":"TemporaryFile(/tmp/multipartBody9079863651317996859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623834118,"filename":"image_25112025_23_37_12_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257555","file1":"1397257553","file0":"1397257551","file4":"1397257600","file5":"1397257608","file3":"1397257557"},"map_files_photo_id_array":[{"photo_id":"1397257608","filename":"file5"},{"photo_id":"1397257555","filename":"file2"},{"photo_id":"1397257600","filename":"file4"},{"photo_id":"1397257553","filename":"file1"},{"photo_id":"1397257551","filename":"file0"},{"photo_id":"1397257557","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397257555":["hashtag1","hashtag2"]},{"1397257600":["hashtag1","hashtag2"]},{"1397257551":["hashtag1","hashtag2"]},{"1397257608":["hashtag1","hashtag2"]},{"1397257557":["hashtag1","hashtag2"]},{"1397257553":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397257555, 1397257600, 1397257551, 1397257608, 1397257557, 1397257553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53789258003235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:17:03.587086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/57/image_01122025_18_57_44_9639.jpg', '/home/pi/Desktop/images/01122025/18/57/image_01122025_18_58_04_9580.jpg', '/home/pi/Desktop/images/01122025/18/58/image_01122025_18_58_14_9701.jpg', '/home/pi/Desktop/images/01122025/18/58/image_01122025_18_58_25_10607.jpg', '/home/pi/Desktop/images/01122025/18/58/image_01122025_18_58_44_9657.jpg', '/home/pi/Desktop/images/01122025/18/58/image_01122025_18_58_55_10771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/57/image_01122025_18_57_44_9639.jpg
/home/pi/Desktop/images/01122025/18/57/image_01122025_18_58_04_9580.jpg
/home/pi/Desktop/images/01122025/18/58/image_01122025_18_58_14_9701.jpg
/home/pi/Desktop/images/01122025/18/58/image_01122025_18_58_25_10607.jpg
/home/pi/Desktop/images/01122025/18/58/image_01122025_18_58_44_9657.jpg
/home/pi/Desktop/images/01122025/18/58/image_01122025_18_58_55_10771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397257616","1397257621","1397257614","1397257619","1397257610","1397257613"],"photo_ids_order":["1397257610","1397257613","1397257614","1397257616","1397257619","1397257621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7e0c27fa4d7dba1365f6348c086a1f39.jpg","text":"TemporaryFile(/tmp/multipartBody4303786698110486779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623884336,"filename":"image_01122025_18_58_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/1/a6119667ef2dfb84f48d74c5f775c477.jpg","text":"TemporaryFile(/tmp/multipartBody5300484792984727577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623884336,"filename":"image_01122025_18_58_55_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/42e4302a4d7ad4ff54657be8a180f3ea.jpg","text":"TemporaryFile(/tmp/multipartBody640430018511528433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623884336,"filename":"image_01122025_18_58_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/1/27e9ab964c4e3cc5add67baca2d0ad30.jpg","text":"TemporaryFile(/tmp/multipartBody611404439835405979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623884336,"filename":"image_01122025_18_58_44_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/be605ebb8957f1f0d07014ec9f02bddd.jpg","text":"TemporaryFile(/tmp/multipartBody2253671919934632645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623884336,"filename":"image_01122025_18_57_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/1/7339ff2fb6feacf313093b41ca5ec95c.jpg","text":"TemporaryFile(/tmp/multipartBody8077766270681021724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623884336,"filename":"image_01122025_18_58_04_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257614","file1":"1397257613","file0":"1397257610","file4":"1397257619","file5":"1397257621","file3":"1397257616"},"map_files_photo_id_array":[{"photo_id":"1397257621","filename":"file5"},{"photo_id":"1397257614","filename":"file2"},{"photo_id":"1397257619","filename":"file4"},{"photo_id":"1397257613","filename":"file1"},{"photo_id":"1397257610","filename":"file0"},{"photo_id":"1397257616","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397257616":["hashtag1","hashtag2"]},{"1397257621":["hashtag1","hashtag2"]},{"1397257614":["hashtag1","hashtag2"]},{"1397257619":["hashtag1","hashtag2"]},{"1397257610":["hashtag1","hashtag2"]},{"1397257613":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397257616, 1397257621, 1397257614, 1397257619, 1397257610, 1397257613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.37931990623474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:18:02.486518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/18/58/image_01122025_18_59_04_9660.jpg', '/home/pi/Desktop/images/01122025/18/59/image_01122025_18_59_14_9679.jpg', '/home/pi/Desktop/images/01122025/18/59/image_01122025_18_59_25_10720.jpg', '/home/pi/Desktop/images/01122025/18/59/image_01122025_18_59_44_9572.jpg', '/home/pi/Desktop/images/01122025/19/01/image_01122025_19_01_13_10037.jpg', '/home/pi/Desktop/images/01122025/19/01/image_01122025_19_02_04_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/18/58/image_01122025_18_59_04_9660.jpg
/home/pi/Desktop/images/01122025/18/59/image_01122025_18_59_14_9679.jpg
/home/pi/Desktop/images/01122025/18/59/image_01122025_18_59_25_10720.jpg
/home/pi/Desktop/images/01122025/18/59/image_01122025_18_59_44_9572.jpg
/home/pi/Desktop/images/01122025/19/01/image_01122025_19_01_13_10037.jpg
/home/pi/Desktop/images/01122025/19/01/image_01122025_19_02_04_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":["1397257627","1397257632","1397257635","1397257629","1397257623","1397257625"],"photo_ids_order":["1397257623","1397257625","1397257627","1397257629","1397257632","1397257635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ef30679861d75409bea8c3b4c0a7232d.jpg","text":"TemporaryFile(/tmp/multipartBody8632425291308195747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623945988,"filename":"image_01122025_18_59_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/1/b336cda98c56a3f3d5a50440e6951803.jpg","text":"TemporaryFile(/tmp/multipartBody8789010137481813596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623945988,"filename":"image_01122025_19_01_13_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/de083a382d46187c29f806626451ddeb.jpg","text":"TemporaryFile(/tmp/multipartBody2133494294105394007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623945988,"filename":"image_01122025_19_02_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/1/28c682cb9cb58f03d54642c54cfd6725.jpg","text":"TemporaryFile(/tmp/multipartBody9220688867915241153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623945988,"filename":"image_01122025_18_59_44_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ce05b6d3ba1fea99ceae3d4a6fbca423.jpg","text":"TemporaryFile(/tmp/multipartBody3540061762057303499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623945988,"filename":"image_01122025_18_59_04_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e7f3d5c4e5375017f21a8975a108e4f1.jpg","text":"TemporaryFile(/tmp/multipartBody955236804119038117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764623945988,"filename":"image_01122025_18_59_14_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257627","file1":"1397257625","file0":"1397257623","file4":"1397257632","file5":"1397257635","file3":"1397257629"},"map_files_photo_id_array":[{"photo_id":"1397257635","filename":"file5"},{"photo_id":"1397257627","filename":"file2"},{"photo_id":"1397257632","filename":"file4"},{"photo_id":"1397257625","filename":"file1"},{"photo_id":"1397257623","filename":"file0"},{"photo_id":"1397257629","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397257627":["hashtag1","hashtag2"]},{"1397257632":["hashtag1","hashtag2"]},{"1397257635":["hashtag1","hashtag2"]},{"1397257629":["hashtag1","hashtag2"]},{"1397257623":["hashtag1","hashtag2"]},{"1397257625":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397257627, 1397257632, 1397257635, 1397257629, 1397257623, 1397257625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.1958372592926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:19:03.215005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 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-01 22:19:12.311511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_30_3655.jpg', '/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_36_5692.jpg', '/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_39_3094.jpg', '/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_41_1664.jpg', '/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_42_1640.jpg', '/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_49_7068.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_30_3655.jpg
/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_36_5692.jpg
/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_39_3094.jpg
/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_41_1664.jpg
/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_42_1640.jpg
/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_49_7068.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397257645","1397257659","1397257647","1397257656","1397257649","1397257652"],"photo_ids_order":["1397257645","1397257647","1397257649","1397257652","1397257656","1397257659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/71ee843ab62329827d0badc73d6e999b.jpg","text":"TemporaryFile(/tmp/multipartBody792634669816924039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624023565,"filename":"image_25112025_23_37_30_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/1/ac776daa519d50202863fd4f8b3618a5.jpg","text":"TemporaryFile(/tmp/multipartBody9205615363079098809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624023565,"filename":"image_25112025_23_37_49_7068.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/133748205eaa4b954d9f581748a269b4.jpg","text":"TemporaryFile(/tmp/multipartBody2922019882416659002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624023565,"filename":"image_25112025_23_37_36_5692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d32f41e4b0b8839adf80c9dc3ba60ee0.jpg","text":"TemporaryFile(/tmp/multipartBody7365691210785689824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624023565,"filename":"image_25112025_23_37_42_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a9fcede2edf4a4ff7f2b33a1db47e63a.jpg","text":"TemporaryFile(/tmp/multipartBody7862213549537180678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624023565,"filename":"image_25112025_23_37_39_3094.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4a8ffc2b3291168a7e7705efdadb7cf8.jpg","text":"TemporaryFile(/tmp/multipartBody1086863529394316378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624023565,"filename":"image_25112025_23_37_41_1664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257649","file1":"1397257647","file0":"1397257645","file4":"1397257656","file5":"1397257659","file3":"1397257652"},"map_files_photo_id_array":[{"photo_id":"1397257659","filename":"file5"},{"photo_id":"1397257649","filename":"file2"},{"photo_id":"1397257656","filename":"file4"},{"photo_id":"1397257647","filename":"file1"},{"photo_id":"1397257645","filename":"file0"},{"photo_id":"1397257652","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397257645":["hashtag1","hashtag2"]},{"1397257659":["hashtag1","hashtag2"]},{"1397257647":["hashtag1","hashtag2"]},{"1397257656":["hashtag1","hashtag2"]},{"1397257649":["hashtag1","hashtag2"]},{"1397257652":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397257645, 1397257659, 1397257647, 1397257656, 1397257649, 1397257652)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 56.908888816833496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 22:20:12.478937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_52_3037.jpg', '/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_54_1603.jpg', '/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_56_1635.jpg', '/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_57_1619.jpg', '/home/pi/Desktop/images/25112025/23/37/image_25112025_23_38_00_2649.jpg', '/home/pi/Desktop/images/25112025/23/38/image_25112025_23_38_02_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_52_3037.jpg
/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_54_1603.jpg
/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_56_1635.jpg
/home/pi/Desktop/images/25112025/23/37/image_25112025_23_37_57_1619.jpg
/home/pi/Desktop/images/25112025/23/37/image_25112025_23_38_00_2649.jpg
/home/pi/Desktop/images/25112025/23/38/image_25112025_23_38_02_2590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397257672","1397257677","1397257662","1397257665","1397257674","1397257668"],"photo_ids_order":["1397257662","1397257665","1397257668","1397257672","1397257674","1397257677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/76a3c4a4d2e3ce53b9bdca6dfe70c022.jpg","text":"TemporaryFile(/tmp/multipartBody4376399560141111906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624074178,"filename":"image_25112025_23_37_57_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/1/b21d5803c62eadbd7627aed25c26e234.jpg","text":"TemporaryFile(/tmp/multipartBody6691198405187652133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624074178,"filename":"image_25112025_23_38_02_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/1/f463a8a15ff66cb8358957792553d46d.jpg","text":"TemporaryFile(/tmp/multipartBody6250002180964590864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624074178,"filename":"image_25112025_23_37_52_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/1/150914c733764e296ef1c913d5cf63d4.jpg","text":"TemporaryFile(/tmp/multipartBody5901180370507983672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624074178,"filename":"image_25112025_23_37_54_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/1/307e69d4fec4c8050f453136a831da23.jpg","text":"TemporaryFile(/tmp/multipartBody7142354513019446049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624074178,"filename":"image_25112025_23_38_00_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/1/845a1fd42d19bcb21242a842e6bece95.jpg","text":"TemporaryFile(/tmp/multipartBody7038712135215395902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624074178,"filename":"image_25112025_23_37_56_1635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257668","file1":"1397257665","file0":"1397257662","file4":"1397257674","file5":"1397257677","file3":"1397257672"},"map_files_photo_id_array":[{"photo_id":"1397257677","filename":"file5"},{"photo_id":"1397257668","filename":"file2"},{"photo_id":"1397257674","filename":"file4"},{"photo_id":"1397257665","filename":"file1"},{"photo_id":"1397257662","filename":"file0"},{"photo_id":"1397257672","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397257672":["hashtag1","hashtag2"]},{"1397257677":["hashtag1","hashtag2"]},{"1397257662":["hashtag1","hashtag2"]},{"1397257665":["hashtag1","hashtag2"]},{"1397257674":["hashtag1","hashtag2"]},{"1397257668":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397257672, 1397257677, 1397257662, 1397257665, 1397257674, 1397257668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.268073320388794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:21:03.326750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
 val : 1 : upload photos already in processing! 
2025-12-01 22:21:12.641860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/38/image_25112025_23_38_09_3648.jpg', '/home/pi/Desktop/images/25112025/23/38/image_25112025_23_38_11_2565.jpg', '/home/pi/Desktop/images/25112025/23/38/image_25112025_23_38_15_3522.jpg', '/home/pi/Desktop/images/25112025/23/38/image_25112025_23_38_20_2598.jpg', '/home/pi/Desktop/images/25112025/23/38/image_25112025_23_38_24_3760.jpg', '/home/pi/Desktop/images/25112025/23/38/image_25112025_23_38_27_2727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/38/image_25112025_23_38_09_3648.jpg
/home/pi/Desktop/images/25112025/23/38/image_25112025_23_38_11_2565.jpg
/home/pi/Desktop/images/25112025/23/38/image_25112025_23_38_15_3522.jpg
/home/pi/Desktop/images/25112025/23/38/image_25112025_23_38_20_2598.jpg
/home/pi/Desktop/images/25112025/23/38/image_25112025_23_38_24_3760.jpg
/home/pi/Desktop/images/25112025/23/38/image_25112025_23_38_27_2727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397257709","1397257703","1397257695","1397257698","1397257701","1397257706"],"photo_ids_order":["1397257695","1397257698","1397257701","1397257703","1397257706","1397257709"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0e9ead5de3665cdc91fc0f1d6efa1e45.jpg","text":"TemporaryFile(/tmp/multipartBody7599631363607120807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624147276,"filename":"image_25112025_23_38_27_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/1/45c963a5c434c1e0f837e33a16e96f8d.jpg","text":"TemporaryFile(/tmp/multipartBody8102082508180083924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624147276,"filename":"image_25112025_23_38_20_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/1/b91f6d60b1e540ae4fa74013fcae9861.jpg","text":"TemporaryFile(/tmp/multipartBody4752689516059919844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624147276,"filename":"image_25112025_23_38_09_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/1/3329f081292733cbfbd521254aed14f3.jpg","text":"TemporaryFile(/tmp/multipartBody305286941834314134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624147276,"filename":"image_25112025_23_38_11_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/1/4a02b189e526a4791dfefef9e3ed072d.jpg","text":"TemporaryFile(/tmp/multipartBody4520856430844042071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624147276,"filename":"image_25112025_23_38_15_3522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bcc59af8d5587a754e85744deca50abe.jpg","text":"TemporaryFile(/tmp/multipartBody534810047071250723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624147276,"filename":"image_25112025_23_38_24_3760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257701","file1":"1397257698","file0":"1397257695","file4":"1397257706","file5":"1397257709","file3":"1397257703"},"map_files_photo_id_array":[{"photo_id":"1397257709","filename":"file5"},{"photo_id":"1397257701","filename":"file2"},{"photo_id":"1397257706","filename":"file4"},{"photo_id":"1397257698","filename":"file1"},{"photo_id":"1397257695","filename":"file0"},{"photo_id":"1397257703","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397257709":["hashtag1","hashtag2"]},{"1397257703":["hashtag1","hashtag2"]},{"1397257695":["hashtag1","hashtag2"]},{"1397257698":["hashtag1","hashtag2"]},{"1397257701":["hashtag1","hashtag2"]},{"1397257706":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397257709, 1397257703, 1397257695, 1397257698, 1397257701, 1397257706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.370155334472656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 22:22:11.994171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/38/image_25112025_23_38_29_2529.jpg', '/home/pi/Desktop/images/25112025/23/38/image_25112025_23_38_33_3692.jpg', '/home/pi/Desktop/images/25112025/23/38/image_25112025_23_38_45_2808.jpg', '/home/pi/Desktop/images/25112025/23/38/image_25112025_23_38_51_3695.jpg', '/home/pi/Desktop/images/25112025/23/38/image_25112025_23_38_54_2708.jpg', '/home/pi/Desktop/images/25112025/23/38/image_25112025_23_39_00_3566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/38/image_25112025_23_38_29_2529.jpg
/home/pi/Desktop/images/25112025/23/38/image_25112025_23_38_33_3692.jpg
/home/pi/Desktop/images/25112025/23/38/image_25112025_23_38_45_2808.jpg
/home/pi/Desktop/images/25112025/23/38/image_25112025_23_38_51_3695.jpg
/home/pi/Desktop/images/25112025/23/38/image_25112025_23_38_54_2708.jpg
/home/pi/Desktop/images/25112025/23/38/image_25112025_23_39_00_3566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397257714","1397257722","1397257730","1397257718","1397257727","1397257712"],"photo_ids_order":["1397257712","1397257714","1397257718","1397257722","1397257727","1397257730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/14075f7f3f9f11ccdbe74ae76224be8f.jpg","text":"TemporaryFile(/tmp/multipartBody747488778509359832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624193732,"filename":"image_25112025_23_38_33_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/1/041ac7bbb5ace82fb0009816329c9c1d.jpg","text":"TemporaryFile(/tmp/multipartBody6313063102246969071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624193732,"filename":"image_25112025_23_38_51_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/1/be05d7ee158492ea12e0ce4fbc4a7bf5.jpg","text":"TemporaryFile(/tmp/multipartBody8658498243903045764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624193732,"filename":"image_25112025_23_39_00_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/1/dccaec3882dc6cd378874a58e33848e3.jpg","text":"TemporaryFile(/tmp/multipartBody3376174847905235550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624193732,"filename":"image_25112025_23_38_45_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/1/ddd43e34144d275f1e55bd5e5276b6e1.jpg","text":"TemporaryFile(/tmp/multipartBody4109684688989781460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624193732,"filename":"image_25112025_23_38_54_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/1/5eefe4c9dbcdeac1613e7c981352ffd2.jpg","text":"TemporaryFile(/tmp/multipartBody6210316749809895891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624193732,"filename":"image_25112025_23_38_29_2529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257718","file1":"1397257714","file0":"1397257712","file4":"1397257727","file5":"1397257730","file3":"1397257722"},"map_files_photo_id_array":[{"photo_id":"1397257730","filename":"file5"},{"photo_id":"1397257718","filename":"file2"},{"photo_id":"1397257727","filename":"file4"},{"photo_id":"1397257714","filename":"file1"},{"photo_id":"1397257712","filename":"file0"},{"photo_id":"1397257722","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397257714":["hashtag1","hashtag2"]},{"1397257722":["hashtag1","hashtag2"]},{"1397257730":["hashtag1","hashtag2"]},{"1397257718":["hashtag1","hashtag2"]},{"1397257727":["hashtag1","hashtag2"]},{"1397257712":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397257714, 1397257722, 1397257730, 1397257718, 1397257727, 1397257712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.52360463142395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:23:02.851161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/02/image_01122025_19_02_54_10794.jpg', '/home/pi/Desktop/images/01122025/19/03/image_01122025_19_03_24_10587.jpg', '/home/pi/Desktop/images/01122025/19/03/image_01122025_19_03_44_9557.jpg', '/home/pi/Desktop/images/01122025/19/03/image_01122025_19_03_54_10571.jpg', '/home/pi/Desktop/images/01122025/19/03/image_01122025_19_04_04_9705.jpg', '/home/pi/Desktop/images/01122025/19/04/image_01122025_19_04_14_9903.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/02/image_01122025_19_02_54_10794.jpg
/home/pi/Desktop/images/01122025/19/03/image_01122025_19_03_24_10587.jpg
/home/pi/Desktop/images/01122025/19/03/image_01122025_19_03_44_9557.jpg
/home/pi/Desktop/images/01122025/19/03/image_01122025_19_03_54_10571.jpg
/home/pi/Desktop/images/01122025/19/03/image_01122025_19_04_04_9705.jpg
/home/pi/Desktop/images/01122025/19/04/image_01122025_19_04_14_9903.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397257747","1397257738","1397257743","1397257740","1397257734","1397257736"],"photo_ids_order":["1397257734","1397257736","1397257738","1397257740","1397257743","1397257747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e6a288e8a61dbd1985a1e2ca60eb27a8.jpg","text":"TemporaryFile(/tmp/multipartBody3509601874588572117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624243601,"filename":"image_01122025_19_04_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/1/757f17169b90b28e6bdc73af36c3e498.jpg","text":"TemporaryFile(/tmp/multipartBody6217257592024353280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624243601,"filename":"image_01122025_19_03_44_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ee5ee4f2bd91ee008fa03e597bb5760b.jpg","text":"TemporaryFile(/tmp/multipartBody2031380039904968492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624243601,"filename":"image_01122025_19_04_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/1/a5c5080b91349d68d815b843292d8337.jpg","text":"TemporaryFile(/tmp/multipartBody5868600940301400449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624243601,"filename":"image_01122025_19_03_54_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/1/b5874c6b3ef1a799eb5d95cdfca01917.jpg","text":"TemporaryFile(/tmp/multipartBody8882426708908077798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624243601,"filename":"image_01122025_19_02_54_10794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ea47e88c21bfae19c6547b36152ec7cd.jpg","text":"TemporaryFile(/tmp/multipartBody6716120253066465118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624243601,"filename":"image_01122025_19_03_24_10587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257738","file1":"1397257736","file0":"1397257734","file4":"1397257743","file5":"1397257747","file3":"1397257740"},"map_files_photo_id_array":[{"photo_id":"1397257747","filename":"file5"},{"photo_id":"1397257738","filename":"file2"},{"photo_id":"1397257743","filename":"file4"},{"photo_id":"1397257736","filename":"file1"},{"photo_id":"1397257734","filename":"file0"},{"photo_id":"1397257740","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397257747":["hashtag1","hashtag2"]},{"1397257738":["hashtag1","hashtag2"]},{"1397257743":["hashtag1","hashtag2"]},{"1397257740":["hashtag1","hashtag2"]},{"1397257734":["hashtag1","hashtag2"]},{"1397257736":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397257747, 1397257738, 1397257743, 1397257740, 1397257734, 1397257736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.53567600250244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:24:03.129222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/04/image_01122025_19_04_34_9675.jpg', '/home/pi/Desktop/images/01122025/19/04/image_01122025_19_04_44_9687.jpg', '/home/pi/Desktop/images/01122025/19/05/image_01122025_19_05_54_9904.jpg', '/home/pi/Desktop/images/01122025/19/05/image_01122025_19_06_04_9870.jpg', '/home/pi/Desktop/images/01122025/19/06/image_01122025_19_06_14_9779.jpg', '/home/pi/Desktop/images/01122025/19/06/image_01122025_19_06_24_10752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/04/image_01122025_19_04_34_9675.jpg
/home/pi/Desktop/images/01122025/19/04/image_01122025_19_04_44_9687.jpg
/home/pi/Desktop/images/01122025/19/05/image_01122025_19_05_54_9904.jpg
/home/pi/Desktop/images/01122025/19/05/image_01122025_19_06_04_9870.jpg
/home/pi/Desktop/images/01122025/19/06/image_01122025_19_06_14_9779.jpg
/home/pi/Desktop/images/01122025/19/06/image_01122025_19_06_24_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":["1397257759","1397257756","1397257761","1397257764","1397257758","1397257757"],"photo_ids_order":["1397257756","1397257757","1397257758","1397257759","1397257761","1397257764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dc319f1ce624954151c34a307286e567.jpg","text":"TemporaryFile(/tmp/multipartBody4965925264154319724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624303894,"filename":"image_01122025_19_06_04_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1912b2ab0c87c0229208b81ce265fedd.jpg","text":"TemporaryFile(/tmp/multipartBody2819529932300705768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624303894,"filename":"image_01122025_19_04_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/1/6c3fc31137504d08e75f9df52c639510.jpg","text":"TemporaryFile(/tmp/multipartBody8209817814023093789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624303894,"filename":"image_01122025_19_06_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/1/2e04b544ac5f27949e0218e63c5651a0.jpg","text":"TemporaryFile(/tmp/multipartBody5283895902988657402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624303894,"filename":"image_01122025_19_06_24_10752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/86046aa9b4cd6a0dc0c503b6118eb1d2.jpg","text":"TemporaryFile(/tmp/multipartBody958590403295345660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624303894,"filename":"image_01122025_19_05_54_9904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ab34e7ff62e574f4cf4447e1d2497c76.jpg","text":"TemporaryFile(/tmp/multipartBody2205811821766272471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624303894,"filename":"image_01122025_19_04_44_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257758","file1":"1397257757","file0":"1397257756","file4":"1397257761","file5":"1397257764","file3":"1397257759"},"map_files_photo_id_array":[{"photo_id":"1397257764","filename":"file5"},{"photo_id":"1397257758","filename":"file2"},{"photo_id":"1397257761","filename":"file4"},{"photo_id":"1397257757","filename":"file1"},{"photo_id":"1397257756","filename":"file0"},{"photo_id":"1397257759","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397257759":["hashtag1","hashtag2"]},{"1397257756":["hashtag1","hashtag2"]},{"1397257761":["hashtag1","hashtag2"]},{"1397257764":["hashtag1","hashtag2"]},{"1397257758":["hashtag1","hashtag2"]},{"1397257757":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397257759, 1397257756, 1397257761, 1397257764, 1397257758, 1397257757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.455575942993164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 22:24:42.521341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/06/image_31102025_15_06_50_3619.jpg', '/home/pi/Desktop/images/31102025/15/06/image_31102025_15_06_56_2543.jpg', '/home/pi/Desktop/images/31102025/15/06/image_31102025_15_06_59_3701.jpg', '/home/pi/Desktop/images/31102025/15/07/image_31102025_15_07_05_2777.jpg', '/home/pi/Desktop/images/31102025/15/07/image_31102025_15_07_08_3664.jpg', '/home/pi/Desktop/images/31102025/15/07/image_31102025_15_07_11_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/06/image_31102025_15_06_50_3619.jpg
/home/pi/Desktop/images/31102025/15/06/image_31102025_15_06_56_2543.jpg
/home/pi/Desktop/images/31102025/15/06/image_31102025_15_06_59_3701.jpg
/home/pi/Desktop/images/31102025/15/07/image_31102025_15_07_05_2777.jpg
/home/pi/Desktop/images/31102025/15/07/image_31102025_15_07_08_3664.jpg
/home/pi/Desktop/images/31102025/15/07/image_31102025_15_07_11_2737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397257774","1397257776","1397257779","1397257772","1397257775","1397257778"],"photo_ids_order":["1397257772","1397257774","1397257775","1397257776","1397257778","1397257779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e6f4b69d35ef708d88a95f057cca1e23.jpg","text":"TemporaryFile(/tmp/multipartBody5281302500378350014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624345131,"filename":"image_31102025_15_06_56_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5bd871f49bf0f0f375e0256065c8c7f2.jpg","text":"TemporaryFile(/tmp/multipartBody214107130972909116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624345131,"filename":"image_31102025_15_07_05_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/1/8009cdd52276b0aebb42a91097942cd4.jpg","text":"TemporaryFile(/tmp/multipartBody4903530131584073161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624345131,"filename":"image_31102025_15_07_11_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/1/dd123166e1dbaee91ff99e9ee888f036.jpg","text":"TemporaryFile(/tmp/multipartBody6354361491524006936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624345131,"filename":"image_31102025_15_06_50_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c2cbc9896b698116c5758056f5d1d9b4.jpg","text":"TemporaryFile(/tmp/multipartBody7712656521849773382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624345131,"filename":"image_31102025_15_06_59_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/1/24e4b3443e4ad2f64547530212b25d65.jpg","text":"TemporaryFile(/tmp/multipartBody7150206608013456103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624345131,"filename":"image_31102025_15_07_08_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257775","file1":"1397257774","file0":"1397257772","file4":"1397257778","file5":"1397257779","file3":"1397257776"},"map_files_photo_id_array":[{"photo_id":"1397257779","filename":"file5"},{"photo_id":"1397257775","filename":"file2"},{"photo_id":"1397257778","filename":"file4"},{"photo_id":"1397257774","filename":"file1"},{"photo_id":"1397257772","filename":"file0"},{"photo_id":"1397257776","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397257774":["hashtag1","hashtag2"]},{"1397257776":["hashtag1","hashtag2"]},{"1397257779":["hashtag1","hashtag2"]},{"1397257772":["hashtag1","hashtag2"]},{"1397257775":["hashtag1","hashtag2"]},{"1397257778":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397257774, 1397257776, 1397257779, 1397257772, 1397257775, 1397257778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.115161418914795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 22:25:32.814817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_03_2624.jpg', '/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_05_2633.jpg', '/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_09_3711.jpg', '/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_12_2583.jpg', '/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_14_2773.jpg', '/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_24_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_03_2624.jpg
/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_05_2633.jpg
/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_09_3711.jpg
/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_12_2583.jpg
/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_14_2773.jpg
/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_24_2752.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5742413997650146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 22:25:42.742842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/07/image_31102025_15_07_14_2640.jpg', '/home/pi/Desktop/images/31102025/15/07/image_31102025_15_07_41_2704.jpg', '/home/pi/Desktop/images/31102025/15/07/image_31102025_15_07_44_2717.jpg', '/home/pi/Desktop/images/31102025/15/07/image_31102025_15_07_46_2694.jpg', '/home/pi/Desktop/images/31102025/15/07/image_31102025_15_07_50_3692.jpg', '/home/pi/Desktop/images/31102025/15/07/image_31102025_15_07_53_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/07/image_31102025_15_07_14_2640.jpg
/home/pi/Desktop/images/31102025/15/07/image_31102025_15_07_41_2704.jpg
/home/pi/Desktop/images/31102025/15/07/image_31102025_15_07_44_2717.jpg
/home/pi/Desktop/images/31102025/15/07/image_31102025_15_07_46_2694.jpg
/home/pi/Desktop/images/31102025/15/07/image_31102025_15_07_50_3692.jpg
/home/pi/Desktop/images/31102025/15/07/image_31102025_15_07_53_2568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397257801","1397257794","1397257797","1397257800","1397257799","1397257803"],"photo_ids_order":["1397257794","1397257797","1397257799","1397257800","1397257801","1397257803"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1d247dab4aea919b0c80615447e95cf7.jpg","text":"TemporaryFile(/tmp/multipartBody3055223939854294679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624405314,"filename":"image_31102025_15_07_50_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/1/3a99ac1cdca2516c1ac2854ba733ed6d.jpg","text":"TemporaryFile(/tmp/multipartBody2795128404988580541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624405314,"filename":"image_31102025_15_07_14_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/1/abec5a8f41b5c309d5d0ee3625543e11.jpg","text":"TemporaryFile(/tmp/multipartBody6285227430025185637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624405314,"filename":"image_31102025_15_07_41_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/1/c4a9bde87c65cf3c08fd00ae0eb93881.jpg","text":"TemporaryFile(/tmp/multipartBody7280190091000691821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624405314,"filename":"image_31102025_15_07_46_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/1/2aa902ff6ccda5580ef11f7ce03519ba.jpg","text":"TemporaryFile(/tmp/multipartBody465419912935590980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624405314,"filename":"image_31102025_15_07_44_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/1/dd1edc6a159bf797c378a81db6fb8696.jpg","text":"TemporaryFile(/tmp/multipartBody1639587794545877473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624405314,"filename":"image_31102025_15_07_53_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257799","file1":"1397257797","file0":"1397257794","file4":"1397257801","file5":"1397257803","file3":"1397257800"},"map_files_photo_id_array":[{"photo_id":"1397257803","filename":"file5"},{"photo_id":"1397257799","filename":"file2"},{"photo_id":"1397257801","filename":"file4"},{"photo_id":"1397257797","filename":"file1"},{"photo_id":"1397257794","filename":"file0"},{"photo_id":"1397257800","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397257801":["hashtag1","hashtag2"]},{"1397257794":["hashtag1","hashtag2"]},{"1397257797":["hashtag1","hashtag2"]},{"1397257800":["hashtag1","hashtag2"]},{"1397257799":["hashtag1","hashtag2"]},{"1397257803":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397257801, 1397257794, 1397257797, 1397257800, 1397257799, 1397257803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.971893310546875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 22:26:31.935725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_03_2624.jpg', '/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_05_2633.jpg', '/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_09_3711.jpg', '/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_12_2583.jpg', '/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_14_2773.jpg', '/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_24_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_03_2624.jpg
/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_05_2633.jpg
/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_09_3711.jpg
/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_12_2583.jpg
/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_14_2773.jpg
/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_24_2752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397257813","1397257822","1397257819","1397257821","1397257817","1397257811"],"photo_ids_order":["1397257811","1397257813","1397257817","1397257819","1397257821","1397257822"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b952953b91bd59ecdc356001985718f9.jpg","text":"TemporaryFile(/tmp/multipartBody1023540245400027470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624453564,"filename":"image_25112025_23_39_05_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/1/c9618ad0237c3647d6712f9ae5823f7d.jpg","text":"TemporaryFile(/tmp/multipartBody3377702633270732227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624453564,"filename":"image_25112025_23_39_24_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7f342ae9c54669eb521d66e3bec5bafc.jpg","text":"TemporaryFile(/tmp/multipartBody7332693160795127630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624453564,"filename":"image_25112025_23_39_12_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/1/9170d7d3342b461ee9e22c4cc4bc3158.jpg","text":"TemporaryFile(/tmp/multipartBody1682904177907769548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624453564,"filename":"image_25112025_23_39_14_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/1/cc9e05c1f45c11f0d9b905d7b8ed8b99.jpg","text":"TemporaryFile(/tmp/multipartBody6579408721121448017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624453564,"filename":"image_25112025_23_39_09_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/1/ee00796863ef5186413095edef1afd92.jpg","text":"TemporaryFile(/tmp/multipartBody6338706329972231267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624453564,"filename":"image_25112025_23_39_03_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257817","file1":"1397257813","file0":"1397257811","file4":"1397257821","file5":"1397257822","file3":"1397257819"},"map_files_photo_id_array":[{"photo_id":"1397257822","filename":"file5"},{"photo_id":"1397257817","filename":"file2"},{"photo_id":"1397257821","filename":"file4"},{"photo_id":"1397257813","filename":"file1"},{"photo_id":"1397257811","filename":"file0"},{"photo_id":"1397257819","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397257813":["hashtag1","hashtag2"]},{"1397257822":["hashtag1","hashtag2"]},{"1397257819":["hashtag1","hashtag2"]},{"1397257821":["hashtag1","hashtag2"]},{"1397257817":["hashtag1","hashtag2"]},{"1397257811":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397257813, 1397257822, 1397257819, 1397257821, 1397257817, 1397257811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.49431920051575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 22:27:12.119470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_27_2670.jpg', '/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_30_3578.jpg', '/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_34_3617.jpg', '/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_35_1602.jpg', '/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_39_3660.jpg', '/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_42_2740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_27_2670.jpg
/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_30_3578.jpg
/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_34_3617.jpg
/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_35_1602.jpg
/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_39_3660.jpg
/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_42_2740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397257831","1397257825","1397257827","1397257841","1397257835","1397257838"],"photo_ids_order":["1397257825","1397257827","1397257831","1397257835","1397257838","1397257841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9f22cd1fa1532b3a267cb0e0f6ce5f53.jpg","text":"TemporaryFile(/tmp/multipartBody8061316163648221807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624493700,"filename":"image_25112025_23_39_34_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f7725fc195de37faf02621ad649c39f5.jpg","text":"TemporaryFile(/tmp/multipartBody8573980615281569251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624493700,"filename":"image_25112025_23_39_27_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/1/71820ba6360ca3f616b4c1a2f402d814.jpg","text":"TemporaryFile(/tmp/multipartBody7513976293527065597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624493700,"filename":"image_25112025_23_39_30_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/1/84fc3852addb8bb46545c273b497e084.jpg","text":"TemporaryFile(/tmp/multipartBody3797154564211624289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624493700,"filename":"image_25112025_23_39_42_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/480a3faec4a7289170d29ecddf0fc6ae.jpg","text":"TemporaryFile(/tmp/multipartBody2522761471538876152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624493700,"filename":"image_25112025_23_39_35_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/1/b35c4cf9c65565d813d8e1b39eb320e6.jpg","text":"TemporaryFile(/tmp/multipartBody5949656692098611552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624493700,"filename":"image_25112025_23_39_39_3660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257831","file1":"1397257827","file0":"1397257825","file4":"1397257838","file5":"1397257841","file3":"1397257835"},"map_files_photo_id_array":[{"photo_id":"1397257841","filename":"file5"},{"photo_id":"1397257831","filename":"file2"},{"photo_id":"1397257838","filename":"file4"},{"photo_id":"1397257827","filename":"file1"},{"photo_id":"1397257825","filename":"file0"},{"photo_id":"1397257835","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397257831":["hashtag1","hashtag2"]},{"1397257825":["hashtag1","hashtag2"]},{"1397257827":["hashtag1","hashtag2"]},{"1397257841":["hashtag1","hashtag2"]},{"1397257835":["hashtag1","hashtag2"]},{"1397257838":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397257831, 1397257825, 1397257827, 1397257841, 1397257835, 1397257838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.21205735206604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:28:02.873928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/06/image_01122025_19_06_34_9703.jpg', '/home/pi/Desktop/images/01122025/19/06/image_01122025_19_06_44_9824.jpg', '/home/pi/Desktop/images/01122025/19/06/image_01122025_19_06_54_9680.jpg', '/home/pi/Desktop/images/01122025/19/06/image_01122025_19_07_04_10710.jpg', '/home/pi/Desktop/images/01122025/19/07/image_01122025_19_07_14_9630.jpg', '/home/pi/Desktop/images/01122025/19/07/image_01122025_19_07_23_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/06/image_01122025_19_06_34_9703.jpg
/home/pi/Desktop/images/01122025/19/06/image_01122025_19_06_44_9824.jpg
/home/pi/Desktop/images/01122025/19/06/image_01122025_19_06_54_9680.jpg
/home/pi/Desktop/images/01122025/19/06/image_01122025_19_07_04_10710.jpg
/home/pi/Desktop/images/01122025/19/07/image_01122025_19_07_14_9630.jpg
/home/pi/Desktop/images/01122025/19/07/image_01122025_19_07_23_9606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397257851","1397257848","1397257853","1397257862","1397257856","1397257859"],"photo_ids_order":["1397257848","1397257851","1397257853","1397257856","1397257859","1397257862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/787f016ecaa33f388d9f2a2ee5aca6bd.jpg","text":"TemporaryFile(/tmp/multipartBody8549554110901529185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624543843,"filename":"image_01122025_19_06_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/1/46731f8f7b7ae123f0db5581d82a76c5.jpg","text":"TemporaryFile(/tmp/multipartBody1826271239424616089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624543843,"filename":"image_01122025_19_06_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/1/db9408945efca4b127c03a3b82b930f0.jpg","text":"TemporaryFile(/tmp/multipartBody2106814574060494049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624543843,"filename":"image_01122025_19_06_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/1/b6dd791e7a682e3928a516cd3cd1d630.jpg","text":"TemporaryFile(/tmp/multipartBody6992154304754147846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624543843,"filename":"image_01122025_19_07_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/1/4c2b74d806382e7964868b3c3d032cbb.jpg","text":"TemporaryFile(/tmp/multipartBody7251076725427797756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624543843,"filename":"image_01122025_19_07_04_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b7c945a04058559b5c2716eac032e4ed.jpg","text":"TemporaryFile(/tmp/multipartBody393506339165915187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624543843,"filename":"image_01122025_19_07_14_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257853","file1":"1397257851","file0":"1397257848","file4":"1397257859","file5":"1397257862","file3":"1397257856"},"map_files_photo_id_array":[{"photo_id":"1397257862","filename":"file5"},{"photo_id":"1397257853","filename":"file2"},{"photo_id":"1397257859","filename":"file4"},{"photo_id":"1397257851","filename":"file1"},{"photo_id":"1397257848","filename":"file0"},{"photo_id":"1397257856","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397257851":["hashtag1","hashtag2"]},{"1397257848":["hashtag1","hashtag2"]},{"1397257853":["hashtag1","hashtag2"]},{"1397257862":["hashtag1","hashtag2"]},{"1397257856":["hashtag1","hashtag2"]},{"1397257859":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397257851, 1397257848, 1397257853, 1397257862, 1397257856, 1397257859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.33281874656677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:29:03.788453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/08/image_01122025_19_08_24_9812.jpg', '/home/pi/Desktop/images/01122025/19/08/image_01122025_19_08_54_9621.jpg', '/home/pi/Desktop/images/01122025/19/09/image_01122025_19_09_34_9858.jpg', '/home/pi/Desktop/images/01122025/19/09/image_01122025_19_09_43_9734.jpg', '/home/pi/Desktop/images/01122025/19/09/image_01122025_19_09_54_10764.jpg', '/home/pi/Desktop/images/01122025/19/09/image_01122025_19_10_04_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/08/image_01122025_19_08_24_9812.jpg
/home/pi/Desktop/images/01122025/19/08/image_01122025_19_08_54_9621.jpg
/home/pi/Desktop/images/01122025/19/09/image_01122025_19_09_34_9858.jpg
/home/pi/Desktop/images/01122025/19/09/image_01122025_19_09_43_9734.jpg
/home/pi/Desktop/images/01122025/19/09/image_01122025_19_09_54_10764.jpg
/home/pi/Desktop/images/01122025/19/09/image_01122025_19_10_04_9628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397257876","1397257879","1397257873","1397257883","1397257871","1397257874"],"photo_ids_order":["1397257871","1397257873","1397257874","1397257876","1397257879","1397257883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0479c26bf358e5fa47b11960bed3447a.jpg","text":"TemporaryFile(/tmp/multipartBody1523715870713576581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624604614,"filename":"image_01122025_19_09_43_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/1/5324c7f5a195624bcf9c028fc5aac1aa.jpg","text":"TemporaryFile(/tmp/multipartBody1726083830317845685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624604614,"filename":"image_01122025_19_09_54_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/1/cf78d8a8896e05d0cf9eabb43f33c01b.jpg","text":"TemporaryFile(/tmp/multipartBody3241170336728942243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624604614,"filename":"image_01122025_19_08_54_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6162bf31a11ad5e29be5b79b7b871ded.jpg","text":"TemporaryFile(/tmp/multipartBody8736784268748639501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624604614,"filename":"image_01122025_19_10_04_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d166fbeaa6d944b45f51d00813721bef.jpg","text":"TemporaryFile(/tmp/multipartBody3275584103803691752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624604614,"filename":"image_01122025_19_08_24_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0422a2ef7cfca0809b1518ea49916fe1.jpg","text":"TemporaryFile(/tmp/multipartBody4776848467809495038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624604614,"filename":"image_01122025_19_09_34_9858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257874","file1":"1397257873","file0":"1397257871","file4":"1397257879","file5":"1397257883","file3":"1397257876"},"map_files_photo_id_array":[{"photo_id":"1397257883","filename":"file5"},{"photo_id":"1397257874","filename":"file2"},{"photo_id":"1397257879","filename":"file4"},{"photo_id":"1397257873","filename":"file1"},{"photo_id":"1397257871","filename":"file0"},{"photo_id":"1397257876","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397257876":["hashtag1","hashtag2"]},{"1397257879":["hashtag1","hashtag2"]},{"1397257873":["hashtag1","hashtag2"]},{"1397257883":["hashtag1","hashtag2"]},{"1397257871":["hashtag1","hashtag2"]},{"1397257874":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397257876, 1397257879, 1397257873, 1397257883, 1397257871, 1397257874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.904157638549805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:30:03.313462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/10/image_01122025_19_10_14_9799.jpg', '/home/pi/Desktop/images/01122025/19/10/image_01122025_19_10_24_10677.jpg', '/home/pi/Desktop/images/01122025/19/10/image_01122025_19_10_44_9903.jpg', '/home/pi/Desktop/images/01122025/19/11/image_01122025_19_11_14_10614.jpg', '/home/pi/Desktop/images/01122025/19/11/image_01122025_19_11_33_9671.jpg', '/home/pi/Desktop/images/01122025/19/11/image_01122025_19_11_44_10746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/10/image_01122025_19_10_14_9799.jpg
/home/pi/Desktop/images/01122025/19/10/image_01122025_19_10_24_10677.jpg
/home/pi/Desktop/images/01122025/19/10/image_01122025_19_10_44_9903.jpg
/home/pi/Desktop/images/01122025/19/11/image_01122025_19_11_14_10614.jpg
/home/pi/Desktop/images/01122025/19/11/image_01122025_19_11_33_9671.jpg
/home/pi/Desktop/images/01122025/19/11/image_01122025_19_11_44_10746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397257921","1397257929","1397257920","1397257922","1397257925","1397257919"],"photo_ids_order":["1397257919","1397257920","1397257921","1397257922","1397257925","1397257929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7e6e68e15c501e5f5029ed242a7746ba.jpg","text":"TemporaryFile(/tmp/multipartBody8269602244480027845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624664069,"filename":"image_01122025_19_10_44_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/1/1f940d92618b77552253bf0ca48236e3.jpg","text":"TemporaryFile(/tmp/multipartBody2268335273537943283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624664069,"filename":"image_01122025_19_11_44_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/1/db6ce7305636e94de0bdd27181c3c399.jpg","text":"TemporaryFile(/tmp/multipartBody4307009030951789612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624664069,"filename":"image_01122025_19_10_24_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/380b11e833bb5b1ed8f4c51b4ad0ef6e.jpg","text":"TemporaryFile(/tmp/multipartBody6648464291899305412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624664069,"filename":"image_01122025_19_11_14_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/1/60b7ab4e796948a262afec99fa09de2f.jpg","text":"TemporaryFile(/tmp/multipartBody5378195980695984141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624664069,"filename":"image_01122025_19_11_33_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/1/868b512998014510a1815c3bb6ae70ed.jpg","text":"TemporaryFile(/tmp/multipartBody8034003086335415939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624664069,"filename":"image_01122025_19_10_14_9799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257921","file1":"1397257920","file0":"1397257919","file4":"1397257925","file5":"1397257929","file3":"1397257922"},"map_files_photo_id_array":[{"photo_id":"1397257929","filename":"file5"},{"photo_id":"1397257921","filename":"file2"},{"photo_id":"1397257925","filename":"file4"},{"photo_id":"1397257920","filename":"file1"},{"photo_id":"1397257919","filename":"file0"},{"photo_id":"1397257922","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397257921":["hashtag1","hashtag2"]},{"1397257929":["hashtag1","hashtag2"]},{"1397257920":["hashtag1","hashtag2"]},{"1397257922":["hashtag1","hashtag2"]},{"1397257925":["hashtag1","hashtag2"]},{"1397257919":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397257921, 1397257929, 1397257920, 1397257922, 1397257925, 1397257919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.174431562423706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 22:30:42.850175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/08/image_31102025_15_08_02_2885.jpg', '/home/pi/Desktop/images/31102025/15/08/image_31102025_15_08_11_2696.jpg', '/home/pi/Desktop/images/31102025/15/08/image_31102025_15_08_26_3652.jpg', '/home/pi/Desktop/images/31102025/15/08/image_31102025_15_08_52_2631.jpg', '/home/pi/Desktop/images/31102025/15/08/image_31102025_15_08_56_3545.jpg', '/home/pi/Desktop/images/31102025/15/09/image_31102025_15_09_23_3765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/08/image_31102025_15_08_02_2885.jpg
/home/pi/Desktop/images/31102025/15/08/image_31102025_15_08_11_2696.jpg
/home/pi/Desktop/images/31102025/15/08/image_31102025_15_08_26_3652.jpg
/home/pi/Desktop/images/31102025/15/08/image_31102025_15_08_52_2631.jpg
/home/pi/Desktop/images/31102025/15/08/image_31102025_15_08_56_3545.jpg
/home/pi/Desktop/images/31102025/15/09/image_31102025_15_09_23_3765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397257939","1397257936","1397257941","1397257938","1397257940","1397257943"],"photo_ids_order":["1397257936","1397257938","1397257939","1397257940","1397257941","1397257943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/74d00ad5d4cbe57d6dbffa0ab0d50a6b.jpg","text":"TemporaryFile(/tmp/multipartBody6654766285674119987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624705369,"filename":"image_31102025_15_08_26_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/1/3c453f202fcc3f838a8c7e240ab039d2.jpg","text":"TemporaryFile(/tmp/multipartBody2549483714288659627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624705369,"filename":"image_31102025_15_08_02_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/1/72ab1956568391d6a3161d81b1c40c89.jpg","text":"TemporaryFile(/tmp/multipartBody5977395750153145753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624705369,"filename":"image_31102025_15_08_56_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3a37e2915de321c94a4e6db064e3a1ac.jpg","text":"TemporaryFile(/tmp/multipartBody3928561820129151243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624705369,"filename":"image_31102025_15_08_11_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/1/4f14d1badb8053de2fbcc7bb39b9a1d1.jpg","text":"TemporaryFile(/tmp/multipartBody4467084818115629321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624705369,"filename":"image_31102025_15_08_52_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/1/ed1725c80145fb6f955fc9a439ce4fd1.jpg","text":"TemporaryFile(/tmp/multipartBody7930887133224666092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624705369,"filename":"image_31102025_15_09_23_3765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257939","file1":"1397257938","file0":"1397257936","file4":"1397257941","file5":"1397257943","file3":"1397257940"},"map_files_photo_id_array":[{"photo_id":"1397257943","filename":"file5"},{"photo_id":"1397257939","filename":"file2"},{"photo_id":"1397257941","filename":"file4"},{"photo_id":"1397257938","filename":"file1"},{"photo_id":"1397257936","filename":"file0"},{"photo_id":"1397257940","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397257939":["hashtag1","hashtag2"]},{"1397257936":["hashtag1","hashtag2"]},{"1397257941":["hashtag1","hashtag2"]},{"1397257938":["hashtag1","hashtag2"]},{"1397257940":["hashtag1","hashtag2"]},{"1397257943":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397257939, 1397257936, 1397257941, 1397257938, 1397257940, 1397257943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.64815640449524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 22:31:32.005209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_44_2661.jpg', '/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_47_2699.jpg', '/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_51_3887.jpg', '/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_56_2565.jpg', '/home/pi/Desktop/images/25112025/23/39/image_25112025_23_40_00_3531.jpg', '/home/pi/Desktop/images/25112025/23/40/image_25112025_23_40_06_3480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_44_2661.jpg
/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_47_2699.jpg
/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_51_3887.jpg
/home/pi/Desktop/images/25112025/23/39/image_25112025_23_39_56_2565.jpg
/home/pi/Desktop/images/25112025/23/39/image_25112025_23_40_00_3531.jpg
/home/pi/Desktop/images/25112025/23/40/image_25112025_23_40_06_3480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397257963","1397257962","1397257959","1397257964","1397257952","1397257955"],"photo_ids_order":["1397257952","1397257955","1397257959","1397257962","1397257963","1397257964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ebcea39570cc48f2261d23676981ea73.jpg","text":"TemporaryFile(/tmp/multipartBody3844428471083754153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624753748,"filename":"image_25112025_23_40_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/1/f3e56e993bee04e2003d088f8fbba274.jpg","text":"TemporaryFile(/tmp/multipartBody8731579158263798817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624753748,"filename":"image_25112025_23_39_56_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/1/94fca071a8895921aaf842e7144dbc88.jpg","text":"TemporaryFile(/tmp/multipartBody2216318168515109607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624753748,"filename":"image_25112025_23_39_51_3887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d46def554c84c3d446e0ea3e24949bcc.jpg","text":"TemporaryFile(/tmp/multipartBody7089691359362741316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624753748,"filename":"image_25112025_23_40_06_3480.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5c4ac855774849905fcb48f5500b6520.jpg","text":"TemporaryFile(/tmp/multipartBody2069680582598981598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624753748,"filename":"image_25112025_23_39_44_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/1/5c8d6ac30cdb8ca7dae44c12417d24bd.jpg","text":"TemporaryFile(/tmp/multipartBody9201315432535185485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624753748,"filename":"image_25112025_23_39_47_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257959","file1":"1397257955","file0":"1397257952","file4":"1397257963","file5":"1397257964","file3":"1397257962"},"map_files_photo_id_array":[{"photo_id":"1397257964","filename":"file5"},{"photo_id":"1397257959","filename":"file2"},{"photo_id":"1397257963","filename":"file4"},{"photo_id":"1397257955","filename":"file1"},{"photo_id":"1397257952","filename":"file0"},{"photo_id":"1397257962","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397257963":["hashtag1","hashtag2"]},{"1397257962":["hashtag1","hashtag2"]},{"1397257959":["hashtag1","hashtag2"]},{"1397257964":["hashtag1","hashtag2"]},{"1397257952":["hashtag1","hashtag2"]},{"1397257955":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397257963, 1397257962, 1397257959, 1397257964, 1397257952, 1397257955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35791802406311 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 22:32:12.645940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/40/image_25112025_23_40_08_2545.jpg', '/home/pi/Desktop/images/25112025/23/40/image_25112025_23_40_12_3620.jpg', '/home/pi/Desktop/images/25112025/23/40/image_25112025_23_40_15_2767.jpg', '/home/pi/Desktop/images/25112025/23/40/image_25112025_23_40_28_13176.jpg', '/home/pi/Desktop/images/25112025/23/40/image_25112025_23_40_40_11681.jpg', '/home/pi/Desktop/images/25112025/23/40/image_25112025_23_40_51_11667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/40/image_25112025_23_40_08_2545.jpg
/home/pi/Desktop/images/25112025/23/40/image_25112025_23_40_12_3620.jpg
/home/pi/Desktop/images/25112025/23/40/image_25112025_23_40_15_2767.jpg
/home/pi/Desktop/images/25112025/23/40/image_25112025_23_40_28_13176.jpg
/home/pi/Desktop/images/25112025/23/40/image_25112025_23_40_40_11681.jpg
/home/pi/Desktop/images/25112025/23/40/image_25112025_23_40_51_11667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397257966","1397257968","1397257965","1397257979","1397257973","1397257976"],"photo_ids_order":["1397257965","1397257966","1397257968","1397257973","1397257976","1397257979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/915c0844b3afaf8d1144a52d78eefe57.jpg","text":"TemporaryFile(/tmp/multipartBody2268878033741272141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624794233,"filename":"image_25112025_23_40_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/1/18a3f3e22fde063cc9c35a35c844ce30.jpg","text":"TemporaryFile(/tmp/multipartBody6824777715413152251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624794233,"filename":"image_25112025_23_40_15_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8e9a3f6fb3dcef5cc5f1d84f6bf3ba3f.jpg","text":"TemporaryFile(/tmp/multipartBody7499650605831514453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624794233,"filename":"image_25112025_23_40_08_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/1/432c1ac12a67acaa01a83b3a65c6ff71.jpg","text":"TemporaryFile(/tmp/multipartBody3416186743705122641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624794233,"filename":"image_25112025_23_40_51_11667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/788e8e26ed60ede2d310e711bcb14f1d.jpg","text":"TemporaryFile(/tmp/multipartBody297728690034096149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624794233,"filename":"image_25112025_23_40_28_13176.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d41c43c0735b4d3a5bde434dafcb935d.jpg","text":"TemporaryFile(/tmp/multipartBody2775190046669839307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624794233,"filename":"image_25112025_23_40_40_11681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257968","file1":"1397257966","file0":"1397257965","file4":"1397257976","file5":"1397257979","file3":"1397257973"},"map_files_photo_id_array":[{"photo_id":"1397257979","filename":"file5"},{"photo_id":"1397257968","filename":"file2"},{"photo_id":"1397257976","filename":"file4"},{"photo_id":"1397257966","filename":"file1"},{"photo_id":"1397257965","filename":"file0"},{"photo_id":"1397257973","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397257966":["hashtag1","hashtag2"]},{"1397257968":["hashtag1","hashtag2"]},{"1397257965":["hashtag1","hashtag2"]},{"1397257979":["hashtag1","hashtag2"]},{"1397257973":["hashtag1","hashtag2"]},{"1397257976":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397257966, 1397257968, 1397257965, 1397257979, 1397257973, 1397257976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.770309925079346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:33:02.554680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/11/image_01122025_19_11_54_9695.jpg', '/home/pi/Desktop/images/01122025/19/11/image_01122025_19_12_03_9618.jpg', '/home/pi/Desktop/images/01122025/19/12/image_01122025_19_12_14_10647.jpg', '/home/pi/Desktop/images/01122025/19/12/image_01122025_19_12_24_9681.jpg', '/home/pi/Desktop/images/01122025/19/12/image_01122025_19_12_34_9785.jpg', '/home/pi/Desktop/images/01122025/19/12/image_01122025_19_12_44_10750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/11/image_01122025_19_11_54_9695.jpg
/home/pi/Desktop/images/01122025/19/11/image_01122025_19_12_03_9618.jpg
/home/pi/Desktop/images/01122025/19/12/image_01122025_19_12_14_10647.jpg
/home/pi/Desktop/images/01122025/19/12/image_01122025_19_12_24_9681.jpg
/home/pi/Desktop/images/01122025/19/12/image_01122025_19_12_34_9785.jpg
/home/pi/Desktop/images/01122025/19/12/image_01122025_19_12_44_10750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397257984","1397257992","1397257986","1397257989","1397257985","1397257987"],"photo_ids_order":["1397257984","1397257985","1397257986","1397257987","1397257989","1397257992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1aea66f7d930e40dbcb6cfb6512e4f3c.jpg","text":"TemporaryFile(/tmp/multipartBody3294871313341472433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624843329,"filename":"image_01122025_19_11_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/1/fd560194840936232001a66a520b145e.jpg","text":"TemporaryFile(/tmp/multipartBody4687780195765822123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624843329,"filename":"image_01122025_19_12_44_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d09874ac67a31cd9d02617f524385993.jpg","text":"TemporaryFile(/tmp/multipartBody839303940325940660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624843329,"filename":"image_01122025_19_12_14_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/123e85e6b214a35f238277645de79471.jpg","text":"TemporaryFile(/tmp/multipartBody6721363863091400781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624843329,"filename":"image_01122025_19_12_34_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/1/a2c98f301dda68f3b20a5de84b6dd876.jpg","text":"TemporaryFile(/tmp/multipartBody7477890397030599825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624843329,"filename":"image_01122025_19_12_03_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b7705ab69c44b5a2745157a09717d870.jpg","text":"TemporaryFile(/tmp/multipartBody5182535938505363707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624843329,"filename":"image_01122025_19_12_24_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397257986","file1":"1397257985","file0":"1397257984","file4":"1397257989","file5":"1397257992","file3":"1397257987"},"map_files_photo_id_array":[{"photo_id":"1397257992","filename":"file5"},{"photo_id":"1397257986","filename":"file2"},{"photo_id":"1397257989","filename":"file4"},{"photo_id":"1397257985","filename":"file1"},{"photo_id":"1397257984","filename":"file0"},{"photo_id":"1397257987","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397257984":["hashtag1","hashtag2"]},{"1397257992":["hashtag1","hashtag2"]},{"1397257986":["hashtag1","hashtag2"]},{"1397257989":["hashtag1","hashtag2"]},{"1397257985":["hashtag1","hashtag2"]},{"1397257987":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397257984, 1397257992, 1397257986, 1397257989, 1397257985, 1397257987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47586512565613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 22:33:41.921869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/09/image_31102025_15_09_41_3768.jpg', '/home/pi/Desktop/images/31102025/15/09/image_31102025_15_09_44_2614.jpg', '/home/pi/Desktop/images/31102025/15/09/image_31102025_15_09_46_2671.jpg', '/home/pi/Desktop/images/31102025/15/09/image_31102025_15_09_49_2749.jpg', '/home/pi/Desktop/images/31102025/15/09/image_31102025_15_09_56_2702.jpg', '/home/pi/Desktop/images/31102025/15/09/image_31102025_15_09_58_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/09/image_31102025_15_09_41_3768.jpg
/home/pi/Desktop/images/31102025/15/09/image_31102025_15_09_44_2614.jpg
/home/pi/Desktop/images/31102025/15/09/image_31102025_15_09_46_2671.jpg
/home/pi/Desktop/images/31102025/15/09/image_31102025_15_09_49_2749.jpg
/home/pi/Desktop/images/31102025/15/09/image_31102025_15_09_56_2702.jpg
/home/pi/Desktop/images/31102025/15/09/image_31102025_15_09_58_2692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397258008","1397258002","1397258005","1397258004","1397258007","1397258006"],"photo_ids_order":["1397258002","1397258004","1397258005","1397258006","1397258007","1397258008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/72a7d79d80fd92415407fade33db055c.jpg","text":"TemporaryFile(/tmp/multipartBody1029692422730579128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624884462,"filename":"image_31102025_15_09_58_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8b8b34823dc1941b5b7fa604be0d61a7.jpg","text":"TemporaryFile(/tmp/multipartBody4365689668445798087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624884462,"filename":"image_31102025_15_09_41_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/1/733657a697fdd5b4522cbbd826251cbb.jpg","text":"TemporaryFile(/tmp/multipartBody3032874469781407018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624884462,"filename":"image_31102025_15_09_46_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d094e9880c87d802489193f701bcba30.jpg","text":"TemporaryFile(/tmp/multipartBody5323387066023312801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624884462,"filename":"image_31102025_15_09_44_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/1/fb430e7c5c064db7742d0e6f3d8f28b9.jpg","text":"TemporaryFile(/tmp/multipartBody7728679704140450728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624884462,"filename":"image_31102025_15_09_56_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8136716ec05e33925b6db77fdcc2d2fd.jpg","text":"TemporaryFile(/tmp/multipartBody8881009535189617429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624884462,"filename":"image_31102025_15_09_49_2749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397258005","file1":"1397258004","file0":"1397258002","file4":"1397258007","file5":"1397258008","file3":"1397258006"},"map_files_photo_id_array":[{"photo_id":"1397258008","filename":"file5"},{"photo_id":"1397258005","filename":"file2"},{"photo_id":"1397258007","filename":"file4"},{"photo_id":"1397258004","filename":"file1"},{"photo_id":"1397258002","filename":"file0"},{"photo_id":"1397258006","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397258008":["hashtag1","hashtag2"]},{"1397258002":["hashtag1","hashtag2"]},{"1397258005":["hashtag1","hashtag2"]},{"1397258004":["hashtag1","hashtag2"]},{"1397258007":["hashtag1","hashtag2"]},{"1397258006":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397258008, 1397258002, 1397258005, 1397258004, 1397258007, 1397258006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.53425860404968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 22:34:22.104483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/12/image_01122025_19_12_54_9691.jpg', '/home/pi/Desktop/images/01122025/19/13/image_01122025_19_13_13_9749.jpg', '/home/pi/Desktop/images/01122025/19/13/image_01122025_19_13_24_10660.jpg', '/home/pi/Desktop/images/01122025/19/13/image_01122025_19_13_34_9623.jpg', '/home/pi/Desktop/images/01122025/19/13/image_01122025_19_13_43_9667.jpg', '/home/pi/Desktop/images/01122025/19/13/image_01122025_19_14_04_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/12/image_01122025_19_12_54_9691.jpg
/home/pi/Desktop/images/01122025/19/13/image_01122025_19_13_13_9749.jpg
/home/pi/Desktop/images/01122025/19/13/image_01122025_19_13_24_10660.jpg
/home/pi/Desktop/images/01122025/19/13/image_01122025_19_13_34_9623.jpg
/home/pi/Desktop/images/01122025/19/13/image_01122025_19_13_43_9667.jpg
/home/pi/Desktop/images/01122025/19/13/image_01122025_19_14_04_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":["1397258011","1397258118","1397258112","1397258126","1397258069","1397258129"],"photo_ids_order":["1397258011","1397258069","1397258112","1397258118","1397258126","1397258129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3cf66528237e366bc21f0ea0b38b3717.jpg","text":"TemporaryFile(/tmp/multipartBody3461345232804378763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624922829,"filename":"image_01122025_19_12_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/1/45f1970fe2c77ecb3130781469ba276f.jpg","text":"TemporaryFile(/tmp/multipartBody1722285218570943789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624922829,"filename":"image_01122025_19_13_34_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ba4cd2461be7b76c59a4a96c9ffdc9a5.jpg","text":"TemporaryFile(/tmp/multipartBody3347307734287960182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624922829,"filename":"image_01122025_19_13_24_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/23992a2f5895a3f4c0222946f7297d4a.jpg","text":"TemporaryFile(/tmp/multipartBody6014321300164357269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624922829,"filename":"image_01122025_19_13_43_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/1/afe2a4c1d0300bfe956454be78e27517.jpg","text":"TemporaryFile(/tmp/multipartBody7562795449039753309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624922829,"filename":"image_01122025_19_13_13_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/222f8298bfd034e5ea9c93a0bd43f0b5.jpg","text":"TemporaryFile(/tmp/multipartBody7460172167517491327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624922829,"filename":"image_01122025_19_14_04_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397258112","file1":"1397258069","file0":"1397258011","file4":"1397258126","file5":"1397258129","file3":"1397258118"},"map_files_photo_id_array":[{"photo_id":"1397258129","filename":"file5"},{"photo_id":"1397258112","filename":"file2"},{"photo_id":"1397258126","filename":"file4"},{"photo_id":"1397258069","filename":"file1"},{"photo_id":"1397258011","filename":"file0"},{"photo_id":"1397258118","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397258011":["hashtag1","hashtag2"]},{"1397258118":["hashtag1","hashtag2"]},{"1397258112":["hashtag1","hashtag2"]},{"1397258126":["hashtag1","hashtag2"]},{"1397258069":["hashtag1","hashtag2"]},{"1397258129":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397258011, 1397258118, 1397258112, 1397258126, 1397258069, 1397258129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88808465003967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:35:02.903085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/14/image_01122025_19_14_13_9657.jpg', '/home/pi/Desktop/images/01122025/19/14/image_01122025_19_14_24_10829.jpg', '/home/pi/Desktop/images/01122025/19/14/image_01122025_19_14_34_9789.jpg', '/home/pi/Desktop/images/01122025/19/14/image_01122025_19_14_44_9725.jpg', '/home/pi/Desktop/images/01122025/19/14/image_01122025_19_14_54_9761.jpg', '/home/pi/Desktop/images/01122025/19/14/image_01122025_19_15_04_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/14/image_01122025_19_14_13_9657.jpg
/home/pi/Desktop/images/01122025/19/14/image_01122025_19_14_24_10829.jpg
/home/pi/Desktop/images/01122025/19/14/image_01122025_19_14_34_9789.jpg
/home/pi/Desktop/images/01122025/19/14/image_01122025_19_14_44_9725.jpg
/home/pi/Desktop/images/01122025/19/14/image_01122025_19_14_54_9761.jpg
/home/pi/Desktop/images/01122025/19/14/image_01122025_19_15_04_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397258152","1397258140","1397258142","1397258145","1397258144","1397258149"],"photo_ids_order":["1397258140","1397258142","1397258144","1397258145","1397258149","1397258152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9090b24aee55c1597208a74c987b61dc.jpg","text":"TemporaryFile(/tmp/multipartBody4618795576291745938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624963710,"filename":"image_01122025_19_15_04_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/58d7b754e0029fd27311584af88e1256.jpg","text":"TemporaryFile(/tmp/multipartBody3341813480139255240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624963710,"filename":"image_01122025_19_14_13_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2dea14846afe45d4e64299c45628434c.jpg","text":"TemporaryFile(/tmp/multipartBody4372681341682868768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624963710,"filename":"image_01122025_19_14_24_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/1/fb09e14549d64515718817e839efdb5d.jpg","text":"TemporaryFile(/tmp/multipartBody7187544008107802210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624963710,"filename":"image_01122025_19_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/1/0499968b0a79f4c264ffe6a081baec16.jpg","text":"TemporaryFile(/tmp/multipartBody7361665383367627520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624963710,"filename":"image_01122025_19_14_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/1/71ec597923749cc98e4e28f53e37a203.jpg","text":"TemporaryFile(/tmp/multipartBody856669320131212572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764624963710,"filename":"image_01122025_19_14_54_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397258144","file1":"1397258142","file0":"1397258140","file4":"1397258149","file5":"1397258152","file3":"1397258145"},"map_files_photo_id_array":[{"photo_id":"1397258152","filename":"file5"},{"photo_id":"1397258144","filename":"file2"},{"photo_id":"1397258149","filename":"file4"},{"photo_id":"1397258142","filename":"file1"},{"photo_id":"1397258140","filename":"file0"},{"photo_id":"1397258145","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397258152":["hashtag1","hashtag2"]},{"1397258140":["hashtag1","hashtag2"]},{"1397258142":["hashtag1","hashtag2"]},{"1397258145":["hashtag1","hashtag2"]},{"1397258144":["hashtag1","hashtag2"]},{"1397258149":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397258152, 1397258140, 1397258142, 1397258145, 1397258144, 1397258149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.20890235900879 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:36:02.985960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/15/image_01122025_19_15_14_9606.jpg', '/home/pi/Desktop/images/01122025/19/15/image_01122025_19_15_23_9628.jpg', '/home/pi/Desktop/images/01122025/19/15/image_01122025_19_15_34_10666.jpg', '/home/pi/Desktop/images/01122025/19/15/image_01122025_19_15_44_9554.jpg', '/home/pi/Desktop/images/01122025/19/15/image_01122025_19_15_53_9757.jpg', '/home/pi/Desktop/images/01122025/19/15/image_01122025_19_16_04_10892.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/15/image_01122025_19_15_14_9606.jpg
/home/pi/Desktop/images/01122025/19/15/image_01122025_19_15_23_9628.jpg
/home/pi/Desktop/images/01122025/19/15/image_01122025_19_15_34_10666.jpg
/home/pi/Desktop/images/01122025/19/15/image_01122025_19_15_44_9554.jpg
/home/pi/Desktop/images/01122025/19/15/image_01122025_19_15_53_9757.jpg
/home/pi/Desktop/images/01122025/19/15/image_01122025_19_16_04_10892.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397258164","1397258158","1397258160","1397258159","1397258168","1397258161"],"photo_ids_order":["1397258158","1397258159","1397258160","1397258161","1397258164","1397258168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/03317f1475e71476cc318ae4d660ea7b.jpg","text":"TemporaryFile(/tmp/multipartBody4066313953768544242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625023717,"filename":"image_01122025_19_15_53_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/27f749a77af4765e9acd333e9ea14a4d.jpg","text":"TemporaryFile(/tmp/multipartBody8097515002286108924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625023717,"filename":"image_01122025_19_15_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/1/00a62dd5f687710d8f8c35e58fb19156.jpg","text":"TemporaryFile(/tmp/multipartBody1103760518742664365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625023717,"filename":"image_01122025_19_15_34_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0f2ea8ed02c61be93512cddcf49a4f33.jpg","text":"TemporaryFile(/tmp/multipartBody555064851609860211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625023717,"filename":"image_01122025_19_15_23_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/1/d5067f770eeeddb427ab849107bfba04.jpg","text":"TemporaryFile(/tmp/multipartBody679343914341368009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625023717,"filename":"image_01122025_19_16_04_10892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ec98678233b5387f73802124028572ba.jpg","text":"TemporaryFile(/tmp/multipartBody8901964273376325936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625023717,"filename":"image_01122025_19_15_44_9554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397258160","file1":"1397258159","file0":"1397258158","file4":"1397258164","file5":"1397258168","file3":"1397258161"},"map_files_photo_id_array":[{"photo_id":"1397258168","filename":"file5"},{"photo_id":"1397258160","filename":"file2"},{"photo_id":"1397258164","filename":"file4"},{"photo_id":"1397258159","filename":"file1"},{"photo_id":"1397258158","filename":"file0"},{"photo_id":"1397258161","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397258164":["hashtag1","hashtag2"]},{"1397258158":["hashtag1","hashtag2"]},{"1397258160":["hashtag1","hashtag2"]},{"1397258159":["hashtag1","hashtag2"]},{"1397258168":["hashtag1","hashtag2"]},{"1397258161":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397258164, 1397258158, 1397258160, 1397258159, 1397258168, 1397258161)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.98107576370239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:37:03.317186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/16/image_01122025_19_16_14_9826.jpg', '/home/pi/Desktop/images/01122025/19/16/image_01122025_19_16_34_9687.jpg', '/home/pi/Desktop/images/01122025/19/16/image_01122025_19_16_43_9826.jpg', '/home/pi/Desktop/images/01122025/19/16/image_01122025_19_16_54_10649.jpg', '/home/pi/Desktop/images/01122025/19/16/image_01122025_19_17_04_9699.jpg', '/home/pi/Desktop/images/01122025/19/17/image_01122025_19_17_13_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/16/image_01122025_19_16_14_9826.jpg
/home/pi/Desktop/images/01122025/19/16/image_01122025_19_16_34_9687.jpg
/home/pi/Desktop/images/01122025/19/16/image_01122025_19_16_43_9826.jpg
/home/pi/Desktop/images/01122025/19/16/image_01122025_19_16_54_10649.jpg
/home/pi/Desktop/images/01122025/19/16/image_01122025_19_17_04_9699.jpg
/home/pi/Desktop/images/01122025/19/17/image_01122025_19_17_13_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":["1397258178","1397258181","1397258180","1397258185","1397258188","1397258176"],"photo_ids_order":["1397258176","1397258178","1397258180","1397258181","1397258185","1397258188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fb5c832b82f99794047034519a7fb648.jpg","text":"TemporaryFile(/tmp/multipartBody5595488993191202958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625084079,"filename":"image_01122025_19_16_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/1/de1b22512ca2a543ac047dea6091f71f.jpg","text":"TemporaryFile(/tmp/multipartBody4705062345833699129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625084079,"filename":"image_01122025_19_16_54_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/1/c5e8f8beac9f900c9fb32069967393b2.jpg","text":"TemporaryFile(/tmp/multipartBody2461584183154261444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625084079,"filename":"image_01122025_19_16_43_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/1/37727bac44a9dd0603ea0cae36019b9f.jpg","text":"TemporaryFile(/tmp/multipartBody2461886802837428099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625084079,"filename":"image_01122025_19_17_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/1/bbd2e01c58fd59526a600a97c4c0df89.jpg","text":"TemporaryFile(/tmp/multipartBody6927131965291689397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625084079,"filename":"image_01122025_19_17_13_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c95fb69a243b50bf7a5df2a47e8bb3bb.jpg","text":"TemporaryFile(/tmp/multipartBody7372632569345365003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625084079,"filename":"image_01122025_19_16_14_9826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397258180","file1":"1397258178","file0":"1397258176","file4":"1397258185","file5":"1397258188","file3":"1397258181"},"map_files_photo_id_array":[{"photo_id":"1397258188","filename":"file5"},{"photo_id":"1397258180","filename":"file2"},{"photo_id":"1397258185","filename":"file4"},{"photo_id":"1397258178","filename":"file1"},{"photo_id":"1397258176","filename":"file0"},{"photo_id":"1397258181","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397258178":["hashtag1","hashtag2"]},{"1397258181":["hashtag1","hashtag2"]},{"1397258180":["hashtag1","hashtag2"]},{"1397258185":["hashtag1","hashtag2"]},{"1397258188":["hashtag1","hashtag2"]},{"1397258176":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397258178, 1397258181, 1397258180, 1397258185, 1397258188, 1397258176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20859456062317 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 22:37:42.628304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/10/image_31102025_15_10_01_2858.jpg', '/home/pi/Desktop/images/31102025/15/10/image_31102025_15_10_05_3539.jpg', '/home/pi/Desktop/images/31102025/15/10/image_31102025_15_10_17_2838.jpg', '/home/pi/Desktop/images/31102025/15/10/image_31102025_15_10_22_2783.jpg', '/home/pi/Desktop/images/31102025/15/10/image_31102025_15_10_25_2845.jpg', '/home/pi/Desktop/images/31102025/15/10/image_31102025_15_10_29_3593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/10/image_31102025_15_10_01_2858.jpg
/home/pi/Desktop/images/31102025/15/10/image_31102025_15_10_05_3539.jpg
/home/pi/Desktop/images/31102025/15/10/image_31102025_15_10_17_2838.jpg
/home/pi/Desktop/images/31102025/15/10/image_31102025_15_10_22_2783.jpg
/home/pi/Desktop/images/31102025/15/10/image_31102025_15_10_25_2845.jpg
/home/pi/Desktop/images/31102025/15/10/image_31102025_15_10_29_3593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397258200","1397258199","1397258203","1397258195","1397258198","1397258201"],"photo_ids_order":["1397258195","1397258198","1397258199","1397258200","1397258201","1397258203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/46914200571a79250e9ec960634b6740.jpg","text":"TemporaryFile(/tmp/multipartBody2865182531655852441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625125220,"filename":"image_31102025_15_10_22_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/1/a8b4e44f1c7f2e0cdbb7eb05a85ca7dd.jpg","text":"TemporaryFile(/tmp/multipartBody3250844568999017311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625125220,"filename":"image_31102025_15_10_17_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/1/6c8c6829afca58837d78b581bfe4c0b4.jpg","text":"TemporaryFile(/tmp/multipartBody3667045819504277915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625125220,"filename":"image_31102025_15_10_29_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2666ac1d473cb21336eb26094e2ddb06.jpg","text":"TemporaryFile(/tmp/multipartBody3135354413950669770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625125220,"filename":"image_31102025_15_10_01_2858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/64202ad0bafcb624a7e3246fcad17370.jpg","text":"TemporaryFile(/tmp/multipartBody5837166283219307473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625125220,"filename":"image_31102025_15_10_05_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/44c77dc352e24455e075eea91cfcccb1.jpg","text":"TemporaryFile(/tmp/multipartBody7939856074527439883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625125220,"filename":"image_31102025_15_10_25_2845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397258199","file1":"1397258198","file0":"1397258195","file4":"1397258201","file5":"1397258203","file3":"1397258200"},"map_files_photo_id_array":[{"photo_id":"1397258203","filename":"file5"},{"photo_id":"1397258199","filename":"file2"},{"photo_id":"1397258201","filename":"file4"},{"photo_id":"1397258198","filename":"file1"},{"photo_id":"1397258195","filename":"file0"},{"photo_id":"1397258200","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397258200":["hashtag1","hashtag2"]},{"1397258199":["hashtag1","hashtag2"]},{"1397258203":["hashtag1","hashtag2"]},{"1397258195":["hashtag1","hashtag2"]},{"1397258198":["hashtag1","hashtag2"]},{"1397258201":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397258200, 1397258199, 1397258203, 1397258195, 1397258198, 1397258201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.098620891571045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 22:38:22.822429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/17/image_01122025_19_17_24_10620.jpg', '/home/pi/Desktop/images/01122025/19/17/image_01122025_19_17_54_10776.jpg', '/home/pi/Desktop/images/01122025/19/17/image_01122025_19_18_04_9595.jpg', '/home/pi/Desktop/images/01122025/19/18/image_01122025_19_18_14_9780.jpg', '/home/pi/Desktop/images/01122025/19/18/image_01122025_19_18_23_9694.jpg', '/home/pi/Desktop/images/01122025/19/18/image_01122025_19_18_34_10889.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/17/image_01122025_19_17_24_10620.jpg
/home/pi/Desktop/images/01122025/19/17/image_01122025_19_17_54_10776.jpg
/home/pi/Desktop/images/01122025/19/17/image_01122025_19_18_04_9595.jpg
/home/pi/Desktop/images/01122025/19/18/image_01122025_19_18_14_9780.jpg
/home/pi/Desktop/images/01122025/19/18/image_01122025_19_18_23_9694.jpg
/home/pi/Desktop/images/01122025/19/18/image_01122025_19_18_34_10889.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397258221","1397258218","1397258227","1397258209","1397258214","1397258225"],"photo_ids_order":["1397258209","1397258214","1397258218","1397258221","1397258225","1397258227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/efcb6cfe68cabc8d3a3da90294c1c185.jpg","text":"TemporaryFile(/tmp/multipartBody6010950789571086574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625163601,"filename":"image_01122025_19_18_14_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5c4bfb876a4897513206ca19ec72be01.jpg","text":"TemporaryFile(/tmp/multipartBody796552203612977020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625163601,"filename":"image_01122025_19_18_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/1/5c8ea0587f09cad51b300b1ff2dde1af.jpg","text":"TemporaryFile(/tmp/multipartBody1563648856799514771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625163601,"filename":"image_01122025_19_18_34_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/1/6c45e72b043b7a7741a686211c16f6d9.jpg","text":"TemporaryFile(/tmp/multipartBody6918931153375041646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625163601,"filename":"image_01122025_19_17_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/1/1fbf58ea2d080026bc109143ee69be1a.jpg","text":"TemporaryFile(/tmp/multipartBody9050913372932739777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625163601,"filename":"image_01122025_19_17_54_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7323686118b2151097ac5c92ed5d6bd4.jpg","text":"TemporaryFile(/tmp/multipartBody3345458781515760653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625163601,"filename":"image_01122025_19_18_23_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397258218","file1":"1397258214","file0":"1397258209","file4":"1397258225","file5":"1397258227","file3":"1397258221"},"map_files_photo_id_array":[{"photo_id":"1397258227","filename":"file5"},{"photo_id":"1397258218","filename":"file2"},{"photo_id":"1397258225","filename":"file4"},{"photo_id":"1397258214","filename":"file1"},{"photo_id":"1397258209","filename":"file0"},{"photo_id":"1397258221","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397258221":["hashtag1","hashtag2"]},{"1397258218":["hashtag1","hashtag2"]},{"1397258227":["hashtag1","hashtag2"]},{"1397258209":["hashtag1","hashtag2"]},{"1397258214":["hashtag1","hashtag2"]},{"1397258225":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397258221, 1397258218, 1397258227, 1397258209, 1397258214, 1397258225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.60309052467346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 22:39:11.972333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/40/image_25112025_23_40_53_1724.jpg', '/home/pi/Desktop/images/25112025/23/40/image_25112025_23_40_55_1721.jpg', '/home/pi/Desktop/images/25112025/23/40/image_25112025_23_40_56_1627.jpg', '/home/pi/Desktop/images/25112025/23/40/image_25112025_23_40_58_1556.jpg', '/home/pi/Desktop/images/25112025/23/40/image_25112025_23_41_00_2305.jpg', '/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_02_1602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/40/image_25112025_23_40_53_1724.jpg
/home/pi/Desktop/images/25112025/23/40/image_25112025_23_40_55_1721.jpg
/home/pi/Desktop/images/25112025/23/40/image_25112025_23_40_56_1627.jpg
/home/pi/Desktop/images/25112025/23/40/image_25112025_23_40_58_1556.jpg
/home/pi/Desktop/images/25112025/23/40/image_25112025_23_41_00_2305.jpg
/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_02_1602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397258242","1397258236","1397258245","1397258239","1397258233","1397258231"],"photo_ids_order":["1397258231","1397258233","1397258236","1397258239","1397258242","1397258245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b8d3987b63c7d435d39152bf10e0720d.jpg","text":"TemporaryFile(/tmp/multipartBody8777521530495821958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625213551,"filename":"image_25112025_23_41_00_2305.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/21e2b871c9f240057f47e435562a3344.jpg","text":"TemporaryFile(/tmp/multipartBody6721396875419365619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625213551,"filename":"image_25112025_23_40_56_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/1/e0a01e8f1ce64a10845569b5e42bebaf.jpg","text":"TemporaryFile(/tmp/multipartBody8855081299782942672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625213551,"filename":"image_25112025_23_41_02_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f1269ab40fe5824998728a79ed13e8b2.jpg","text":"TemporaryFile(/tmp/multipartBody6343109646748362338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625213551,"filename":"image_25112025_23_40_58_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/1/54973b80e3db112966f59f47617dd524.jpg","text":"TemporaryFile(/tmp/multipartBody4337127927316151727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625213551,"filename":"image_25112025_23_40_55_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/1/d5a6d2c5e542f9bb155ff70223d71b7d.jpg","text":"TemporaryFile(/tmp/multipartBody5729030954312777255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625213551,"filename":"image_25112025_23_40_53_1724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397258236","file1":"1397258233","file0":"1397258231","file4":"1397258242","file5":"1397258245","file3":"1397258239"},"map_files_photo_id_array":[{"photo_id":"1397258245","filename":"file5"},{"photo_id":"1397258236","filename":"file2"},{"photo_id":"1397258242","filename":"file4"},{"photo_id":"1397258233","filename":"file1"},{"photo_id":"1397258231","filename":"file0"},{"photo_id":"1397258239","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397258242":["hashtag1","hashtag2"]},{"1397258236":["hashtag1","hashtag2"]},{"1397258245":["hashtag1","hashtag2"]},{"1397258239":["hashtag1","hashtag2"]},{"1397258233":["hashtag1","hashtag2"]},{"1397258231":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397258242, 1397258236, 1397258245, 1397258239, 1397258233, 1397258231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.450456380844116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:40:02.570018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/18/image_01122025_19_18_54_9659.jpg', '/home/pi/Desktop/images/01122025/19/18/image_01122025_19_19_04_10669.jpg', '/home/pi/Desktop/images/01122025/19/19/image_01122025_19_19_14_9709.jpg', '/home/pi/Desktop/images/01122025/19/19/image_01122025_19_19_24_9909.jpg', '/home/pi/Desktop/images/01122025/19/19/image_01122025_19_19_44_10794.jpg', '/home/pi/Desktop/images/01122025/19/19/image_01122025_19_19_54_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/18/image_01122025_19_18_54_9659.jpg
/home/pi/Desktop/images/01122025/19/18/image_01122025_19_19_04_10669.jpg
/home/pi/Desktop/images/01122025/19/19/image_01122025_19_19_14_9709.jpg
/home/pi/Desktop/images/01122025/19/19/image_01122025_19_19_24_9909.jpg
/home/pi/Desktop/images/01122025/19/19/image_01122025_19_19_44_10794.jpg
/home/pi/Desktop/images/01122025/19/19/image_01122025_19_19_54_9790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397258251","1397258256","1397258261","1397258258","1397258299","1397258254"],"photo_ids_order":["1397258251","1397258254","1397258256","1397258258","1397258261","1397258299"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d16a20f1396c8497f7ddb0b5e8f1bfe2.jpg","text":"TemporaryFile(/tmp/multipartBody2553068184396051381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625263313,"filename":"image_01122025_19_18_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/1/e10b19a50d3d5126327efddef9e77b18.jpg","text":"TemporaryFile(/tmp/multipartBody5159264388294577986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625263313,"filename":"image_01122025_19_19_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/1/d22278c1436f4678f5361e0b76c1ebec.jpg","text":"TemporaryFile(/tmp/multipartBody8961384934401845508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625263313,"filename":"image_01122025_19_19_44_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/1/c59e45313d261d256dcfbeeaa1844035.jpg","text":"TemporaryFile(/tmp/multipartBody1075870143223933582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625263313,"filename":"image_01122025_19_19_24_9909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/adee802240f78561518ff8d6742b6735.jpg","text":"TemporaryFile(/tmp/multipartBody8218846573728745268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625263313,"filename":"image_01122025_19_19_54_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/312b49a8ad98cc7ceed38b1de9ccf72a.jpg","text":"TemporaryFile(/tmp/multipartBody2840453948676647703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625263313,"filename":"image_01122025_19_19_04_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397258256","file1":"1397258254","file0":"1397258251","file4":"1397258261","file5":"1397258299","file3":"1397258258"},"map_files_photo_id_array":[{"photo_id":"1397258299","filename":"file5"},{"photo_id":"1397258256","filename":"file2"},{"photo_id":"1397258261","filename":"file4"},{"photo_id":"1397258254","filename":"file1"},{"photo_id":"1397258251","filename":"file0"},{"photo_id":"1397258258","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397258251":["hashtag1","hashtag2"]},{"1397258256":["hashtag1","hashtag2"]},{"1397258261":["hashtag1","hashtag2"]},{"1397258258":["hashtag1","hashtag2"]},{"1397258299":["hashtag1","hashtag2"]},{"1397258254":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397258251, 1397258256, 1397258261, 1397258258, 1397258299, 1397258254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.62116527557373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 22:40:42.148302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/10/image_31102025_15_10_32_2873.jpg', '/home/pi/Desktop/images/31102025/15/10/image_31102025_15_10_34_2675.jpg', '/home/pi/Desktop/images/31102025/15/10/image_31102025_15_10_41_2872.jpg', '/home/pi/Desktop/images/31102025/15/10/image_31102025_15_10_44_2800.jpg', '/home/pi/Desktop/images/31102025/15/10/image_31102025_15_10_47_2912.jpg', '/home/pi/Desktop/images/31102025/15/10/image_31102025_15_10_53_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/10/image_31102025_15_10_32_2873.jpg
/home/pi/Desktop/images/31102025/15/10/image_31102025_15_10_34_2675.jpg
/home/pi/Desktop/images/31102025/15/10/image_31102025_15_10_41_2872.jpg
/home/pi/Desktop/images/31102025/15/10/image_31102025_15_10_44_2800.jpg
/home/pi/Desktop/images/31102025/15/10/image_31102025_15_10_47_2912.jpg
/home/pi/Desktop/images/31102025/15/10/image_31102025_15_10_53_3661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397258317","1397258316","1397258319","1397258318","1397258321","1397258315"],"photo_ids_order":["1397258315","1397258316","1397258317","1397258318","1397258319","1397258321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f0ced22b6f94942b1783bc52cdd489d0.jpg","text":"TemporaryFile(/tmp/multipartBody7212501103006259942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625304706,"filename":"image_31102025_15_10_41_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/1/ec9cdbb559b8acb46ed41da064395a17.jpg","text":"TemporaryFile(/tmp/multipartBody8425994573854409521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625304706,"filename":"image_31102025_15_10_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/1/5d51db2e8ed6fdaf6021e0e054414820.jpg","text":"TemporaryFile(/tmp/multipartBody5880710164579136336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625304706,"filename":"image_31102025_15_10_47_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/1/6ec02cb691e79df5341731c76d4e5cbf.jpg","text":"TemporaryFile(/tmp/multipartBody3317656932881079942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625304706,"filename":"image_31102025_15_10_44_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3a2b39156efaaf8ec66f1d118d51a7d3.jpg","text":"TemporaryFile(/tmp/multipartBody1661155994475397060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625304706,"filename":"image_31102025_15_10_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/1/39bdaef2f24258a9386c782d6938b382.jpg","text":"TemporaryFile(/tmp/multipartBody8947956413235718987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625304706,"filename":"image_31102025_15_10_32_2873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397258317","file1":"1397258316","file0":"1397258315","file4":"1397258319","file5":"1397258321","file3":"1397258318"},"map_files_photo_id_array":[{"photo_id":"1397258321","filename":"file5"},{"photo_id":"1397258317","filename":"file2"},{"photo_id":"1397258319","filename":"file4"},{"photo_id":"1397258316","filename":"file1"},{"photo_id":"1397258315","filename":"file0"},{"photo_id":"1397258318","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397258317":["hashtag1","hashtag2"]},{"1397258316":["hashtag1","hashtag2"]},{"1397258319":["hashtag1","hashtag2"]},{"1397258318":["hashtag1","hashtag2"]},{"1397258321":["hashtag1","hashtag2"]},{"1397258315":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397258317, 1397258316, 1397258319, 1397258318, 1397258321, 1397258315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.08631420135498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 22:41:32.285624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_03_1583.jpg', '/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_06_2727.jpg', '/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_08_1632.jpg', '/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_09_1596.jpg', '/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_13_3572.jpg', '/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_16_3569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_03_1583.jpg
/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_06_2727.jpg
/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_08_1632.jpg
/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_09_1596.jpg
/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_13_3572.jpg
/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_16_3569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397258344","1397258340","1397258343","1397258342","1397258336","1397258333"],"photo_ids_order":["1397258333","1397258336","1397258340","1397258342","1397258343","1397258344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b1a7a2fd5657c91f56c5f6c2396526d1.jpg","text":"TemporaryFile(/tmp/multipartBody4562769498159897354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625353971,"filename":"image_25112025_23_41_16_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/1/c50379f043ca24b194f2f44ef2d856b8.jpg","text":"TemporaryFile(/tmp/multipartBody3916649354904631967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625353971,"filename":"image_25112025_23_41_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/1/d2b3f0e4dac7f6fae77602ab2765e85b.jpg","text":"TemporaryFile(/tmp/multipartBody964201828018747581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625353971,"filename":"image_25112025_23_41_13_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/1/a004668dfaf07aeedea389c33e2673ee.jpg","text":"TemporaryFile(/tmp/multipartBody4139775385462290983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625353971,"filename":"image_25112025_23_41_09_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/1/1882ebec76d384d4c4c493e980d8b6c2.jpg","text":"TemporaryFile(/tmp/multipartBody5010121694978716421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625353971,"filename":"image_25112025_23_41_06_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/1/521faae813a0b04ea676171b4e583574.jpg","text":"TemporaryFile(/tmp/multipartBody6396539407537726676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625353971,"filename":"image_25112025_23_41_03_1583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397258340","file1":"1397258336","file0":"1397258333","file4":"1397258343","file5":"1397258344","file3":"1397258342"},"map_files_photo_id_array":[{"photo_id":"1397258344","filename":"file5"},{"photo_id":"1397258340","filename":"file2"},{"photo_id":"1397258343","filename":"file4"},{"photo_id":"1397258336","filename":"file1"},{"photo_id":"1397258333","filename":"file0"},{"photo_id":"1397258342","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397258344":["hashtag1","hashtag2"]},{"1397258340":["hashtag1","hashtag2"]},{"1397258343":["hashtag1","hashtag2"]},{"1397258342":["hashtag1","hashtag2"]},{"1397258336":["hashtag1","hashtag2"]},{"1397258333":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397258344, 1397258340, 1397258343, 1397258342, 1397258336, 1397258333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38782525062561 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 22:42:12.593060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_20_1617.jpg', '/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_21_1604.jpg', '/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_23_1674.jpg', '/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_27_3588.jpg', '/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_28_1529.jpg', '/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_36_8032.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_20_1617.jpg
/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_21_1604.jpg
/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_23_1674.jpg
/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_27_3588.jpg
/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_28_1529.jpg
/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_36_8032.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397258358","1397258361","1397258354","1397258351","1397258348","1397258347"],"photo_ids_order":["1397258347","1397258348","1397258351","1397258354","1397258358","1397258361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e5db59789cb73dcbd4730f0aa6e99ff1.jpg","text":"TemporaryFile(/tmp/multipartBody5705380882520434753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625394190,"filename":"image_25112025_23_41_28_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/1/4fe8ccb945d09ec473b295ddd1366b60.jpg","text":"TemporaryFile(/tmp/multipartBody633002130268292887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625394190,"filename":"image_25112025_23_41_36_8032.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/46711118fa2ce08ed6d5d2af3cd1a4b8.jpg","text":"TemporaryFile(/tmp/multipartBody8737178664343352005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625394190,"filename":"image_25112025_23_41_27_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/1/0d4dba7a126af0bd92852bcbf3dff4ac.jpg","text":"TemporaryFile(/tmp/multipartBody4944363945445539009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625394190,"filename":"image_25112025_23_41_23_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/1/54f927b4b3e28977ceb72138c19203b6.jpg","text":"TemporaryFile(/tmp/multipartBody5951156231793215890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625394190,"filename":"image_25112025_23_41_21_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/1/9d6d448d4e4a81a37379ae9985510a79.jpg","text":"TemporaryFile(/tmp/multipartBody2200382072637047714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625394190,"filename":"image_25112025_23_41_20_1617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397258351","file1":"1397258348","file0":"1397258347","file4":"1397258358","file5":"1397258361","file3":"1397258354"},"map_files_photo_id_array":[{"photo_id":"1397258361","filename":"file5"},{"photo_id":"1397258351","filename":"file2"},{"photo_id":"1397258358","filename":"file4"},{"photo_id":"1397258348","filename":"file1"},{"photo_id":"1397258347","filename":"file0"},{"photo_id":"1397258354","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397258358":["hashtag1","hashtag2"]},{"1397258361":["hashtag1","hashtag2"]},{"1397258354":["hashtag1","hashtag2"]},{"1397258351":["hashtag1","hashtag2"]},{"1397258348":["hashtag1","hashtag2"]},{"1397258347":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397258358, 1397258361, 1397258354, 1397258351, 1397258348, 1397258347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95433211326599 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:43:03.348705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/20/image_01122025_19_20_14_10056.jpg', '/home/pi/Desktop/images/01122025/19/20/image_01122025_19_20_34_10611.jpg', '/home/pi/Desktop/images/01122025/19/20/image_01122025_19_20_44_9615.jpg', '/home/pi/Desktop/images/01122025/19/20/image_01122025_19_20_54_10633.jpg', '/home/pi/Desktop/images/01122025/19/20/image_01122025_19_21_04_9619.jpg', '/home/pi/Desktop/images/01122025/19/21/image_01122025_19_21_14_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/20/image_01122025_19_20_14_10056.jpg
/home/pi/Desktop/images/01122025/19/20/image_01122025_19_20_34_10611.jpg
/home/pi/Desktop/images/01122025/19/20/image_01122025_19_20_44_9615.jpg
/home/pi/Desktop/images/01122025/19/20/image_01122025_19_20_54_10633.jpg
/home/pi/Desktop/images/01122025/19/20/image_01122025_19_21_04_9619.jpg
/home/pi/Desktop/images/01122025/19/21/image_01122025_19_21_14_9755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397258370","1397258372","1397258375","1397258369","1397258366","1397258368"],"photo_ids_order":["1397258366","1397258368","1397258369","1397258370","1397258372","1397258375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/003dde906016def08146516f683b0384.jpg","text":"TemporaryFile(/tmp/multipartBody8109010816144494140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625444102,"filename":"image_01122025_19_20_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/1/57c5a821b33273a6c4cd7917d570463b.jpg","text":"TemporaryFile(/tmp/multipartBody6827066784393811200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625444102,"filename":"image_01122025_19_21_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/1/bbe4a9cfba632f806a63183ecb651e34.jpg","text":"TemporaryFile(/tmp/multipartBody1561336862894762569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625444102,"filename":"image_01122025_19_21_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/1/c35b14014846e03f6c096bc70bd3da1a.jpg","text":"TemporaryFile(/tmp/multipartBody6043634662510714733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625444102,"filename":"image_01122025_19_20_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/1/7319e3f0bce2c2ac4006932ecea0dadc.jpg","text":"TemporaryFile(/tmp/multipartBody9087704987980985801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625444102,"filename":"image_01122025_19_20_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ae33cec56c34e62203076c5394e2c97f.jpg","text":"TemporaryFile(/tmp/multipartBody6072111264099099627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625444102,"filename":"image_01122025_19_20_34_10611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397258369","file1":"1397258368","file0":"1397258366","file4":"1397258372","file5":"1397258375","file3":"1397258370"},"map_files_photo_id_array":[{"photo_id":"1397258375","filename":"file5"},{"photo_id":"1397258369","filename":"file2"},{"photo_id":"1397258372","filename":"file4"},{"photo_id":"1397258368","filename":"file1"},{"photo_id":"1397258366","filename":"file0"},{"photo_id":"1397258370","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397258370":["hashtag1","hashtag2"]},{"1397258372":["hashtag1","hashtag2"]},{"1397258375":["hashtag1","hashtag2"]},{"1397258369":["hashtag1","hashtag2"]},{"1397258366":["hashtag1","hashtag2"]},{"1397258368":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397258370, 1397258372, 1397258375, 1397258369, 1397258366, 1397258368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25624132156372 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 22:43:42.845570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/10/image_31102025_15_10_58_2668.jpg', '/home/pi/Desktop/images/31102025/15/11/image_31102025_15_11_01_2633.jpg', '/home/pi/Desktop/images/31102025/15/11/image_31102025_15_11_05_3589.jpg', '/home/pi/Desktop/images/31102025/15/11/image_31102025_15_11_16_2670.jpg', '/home/pi/Desktop/images/31102025/15/11/image_31102025_15_11_23_3638.jpg', '/home/pi/Desktop/images/31102025/15/11/image_31102025_15_11_25_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/10/image_31102025_15_10_58_2668.jpg
/home/pi/Desktop/images/31102025/15/11/image_31102025_15_11_01_2633.jpg
/home/pi/Desktop/images/31102025/15/11/image_31102025_15_11_05_3589.jpg
/home/pi/Desktop/images/31102025/15/11/image_31102025_15_11_16_2670.jpg
/home/pi/Desktop/images/31102025/15/11/image_31102025_15_11_23_3638.jpg
/home/pi/Desktop/images/31102025/15/11/image_31102025_15_11_25_2633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397258388","1397258390","1397258387","1397258383","1397258392","1397258386"],"photo_ids_order":["1397258383","1397258386","1397258387","1397258388","1397258390","1397258392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/963e173509c32004b66df7eaf45c26e8.jpg","text":"TemporaryFile(/tmp/multipartBody324323190729775693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625485423,"filename":"image_31102025_15_11_16_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/98ee9adf64bc78a38bfef1f024aa7138.jpg","text":"TemporaryFile(/tmp/multipartBody8927488713570574184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625485423,"filename":"image_31102025_15_11_23_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/1/f03c38467b9386fbc8c704dd7e0f4124.jpg","text":"TemporaryFile(/tmp/multipartBody4503946354025220051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625485423,"filename":"image_31102025_15_11_05_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/1/b2047b30e0fb0ff01dff06c08c07ba75.jpg","text":"TemporaryFile(/tmp/multipartBody1445137720294829849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625485423,"filename":"image_31102025_15_10_58_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dce5e513b1dd9626749f3d12638fa356.jpg","text":"TemporaryFile(/tmp/multipartBody5862937679648469775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625485423,"filename":"image_31102025_15_11_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/1/3779fc7810a2e764fba641e37885937f.jpg","text":"TemporaryFile(/tmp/multipartBody8870293281965639731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625485423,"filename":"image_31102025_15_11_01_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397258387","file1":"1397258386","file0":"1397258383","file4":"1397258390","file5":"1397258392","file3":"1397258388"},"map_files_photo_id_array":[{"photo_id":"1397258392","filename":"file5"},{"photo_id":"1397258387","filename":"file2"},{"photo_id":"1397258390","filename":"file4"},{"photo_id":"1397258386","filename":"file1"},{"photo_id":"1397258383","filename":"file0"},{"photo_id":"1397258388","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397258388":["hashtag1","hashtag2"]},{"1397258390":["hashtag1","hashtag2"]},{"1397258387":["hashtag1","hashtag2"]},{"1397258383":["hashtag1","hashtag2"]},{"1397258392":["hashtag1","hashtag2"]},{"1397258386":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397258388, 1397258390, 1397258387, 1397258383, 1397258392, 1397258386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09482431411743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 22:44:32.045218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_47_10749.jpg', '/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_48_1570.jpg', '/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_50_1788.jpg', '/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_52_1669.jpg', '/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_56_4113.jpg', '/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_58_1685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_47_10749.jpg
/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_48_1570.jpg
/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_50_1788.jpg
/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_52_1669.jpg
/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_56_4113.jpg
/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_58_1685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397258422","1397258416","1397258427","1397258424","1397258418","1397258426"],"photo_ids_order":["1397258416","1397258418","1397258422","1397258424","1397258426","1397258427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/442679c548ab2490e6b3a0088b10e529.jpg","text":"TemporaryFile(/tmp/multipartBody7155882896581135581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625533862,"filename":"image_25112025_23_41_50_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/1/fd2e002f26baa94d87539d53776df04a.jpg","text":"TemporaryFile(/tmp/multipartBody4617866329529884997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625533862,"filename":"image_25112025_23_41_47_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/1/012c24ef906eee1a952d1686dcdd726c.jpg","text":"TemporaryFile(/tmp/multipartBody8153989829537998631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625533862,"filename":"image_25112025_23_41_58_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/1/6fa309064693bf48a0fbb15901a79f77.jpg","text":"TemporaryFile(/tmp/multipartBody6194580118612228373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625533862,"filename":"image_25112025_23_41_52_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/1/3101906989a13f85f5e1957091837c74.jpg","text":"TemporaryFile(/tmp/multipartBody8901083123594507135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625533862,"filename":"image_25112025_23_41_48_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/1/c6a9d92f4963ab2c3bd0c65b5c01aed9.jpg","text":"TemporaryFile(/tmp/multipartBody8790979342008538841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625533862,"filename":"image_25112025_23_41_56_4113.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397258422","file1":"1397258418","file0":"1397258416","file4":"1397258426","file5":"1397258427","file3":"1397258424"},"map_files_photo_id_array":[{"photo_id":"1397258427","filename":"file5"},{"photo_id":"1397258422","filename":"file2"},{"photo_id":"1397258426","filename":"file4"},{"photo_id":"1397258418","filename":"file1"},{"photo_id":"1397258416","filename":"file0"},{"photo_id":"1397258424","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397258422":["hashtag1","hashtag2"]},{"1397258416":["hashtag1","hashtag2"]},{"1397258427":["hashtag1","hashtag2"]},{"1397258424":["hashtag1","hashtag2"]},{"1397258418":["hashtag1","hashtag2"]},{"1397258426":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397258422, 1397258416, 1397258427, 1397258424, 1397258418, 1397258426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.866721868515015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 22:45:12.122094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_59_1702.jpg', '/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_01_1590.jpg', '/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_03_1619.jpg', '/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_04_1587.jpg', '/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_07_2761.jpg', '/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_09_1576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/41/image_25112025_23_41_59_1702.jpg
/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_01_1590.jpg
/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_03_1619.jpg
/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_04_1587.jpg
/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_07_2761.jpg
/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_09_1576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397258490","1397258510","1397258504","1397258513","1397258507","1397258501"],"photo_ids_order":["1397258490","1397258501","1397258504","1397258507","1397258510","1397258513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5b37319888c8b2dd393d1e4022108f84.jpg","text":"TemporaryFile(/tmp/multipartBody395108012178281334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625573697,"filename":"image_25112025_23_41_59_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/1/9ec1cb3a44172b2bc22d5630a2f2cc1a.jpg","text":"TemporaryFile(/tmp/multipartBody7875468078099102137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625573697,"filename":"image_25112025_23_42_07_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5db536cdf0ea57b0c43a06d479c54e48.jpg","text":"TemporaryFile(/tmp/multipartBody2918283919883766368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625573697,"filename":"image_25112025_23_42_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/1/037c4640b37d37c3844ae44ae9f53eb4.jpg","text":"TemporaryFile(/tmp/multipartBody6321230968956032489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625573697,"filename":"image_25112025_23_42_09_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/1/be3cbed0818de0184fb10e2cdbc4bff9.jpg","text":"TemporaryFile(/tmp/multipartBody1981248391921817084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625573697,"filename":"image_25112025_23_42_04_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/1/2319d8b726342064c22d307ce247c7b4.jpg","text":"TemporaryFile(/tmp/multipartBody5735797179652951571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625573697,"filename":"image_25112025_23_42_01_1590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397258504","file1":"1397258501","file0":"1397258490","file4":"1397258510","file5":"1397258513","file3":"1397258507"},"map_files_photo_id_array":[{"photo_id":"1397258513","filename":"file5"},{"photo_id":"1397258504","filename":"file2"},{"photo_id":"1397258510","filename":"file4"},{"photo_id":"1397258501","filename":"file1"},{"photo_id":"1397258490","filename":"file0"},{"photo_id":"1397258507","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397258490":["hashtag1","hashtag2"]},{"1397258510":["hashtag1","hashtag2"]},{"1397258504":["hashtag1","hashtag2"]},{"1397258513":["hashtag1","hashtag2"]},{"1397258507":["hashtag1","hashtag2"]},{"1397258501":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397258490, 1397258510, 1397258504, 1397258513, 1397258507, 1397258501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.83963060379028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:46:02.708937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/21/image_01122025_19_21_34_10574.jpg', '/home/pi/Desktop/images/01122025/19/21/image_01122025_19_21_44_9649.jpg', '/home/pi/Desktop/images/01122025/19/21/image_01122025_19_21_54_9651.jpg', '/home/pi/Desktop/images/01122025/19/21/image_01122025_19_22_03_9779.jpg', '/home/pi/Desktop/images/01122025/19/22/image_01122025_19_22_14_10786.jpg', '/home/pi/Desktop/images/01122025/19/22/image_01122025_19_22_24_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/21/image_01122025_19_21_34_10574.jpg
/home/pi/Desktop/images/01122025/19/21/image_01122025_19_21_44_9649.jpg
/home/pi/Desktop/images/01122025/19/21/image_01122025_19_21_54_9651.jpg
/home/pi/Desktop/images/01122025/19/21/image_01122025_19_22_03_9779.jpg
/home/pi/Desktop/images/01122025/19/22/image_01122025_19_22_14_10786.jpg
/home/pi/Desktop/images/01122025/19/22/image_01122025_19_22_24_9681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397258530","1397258524","1397258526","1397258520","1397258534","1397258522"],"photo_ids_order":["1397258520","1397258522","1397258524","1397258526","1397258530","1397258534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8d6b37fd93c49071f19e5e741e97092f.jpg","text":"TemporaryFile(/tmp/multipartBody7534120337604124108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625623434,"filename":"image_01122025_19_22_14_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/1/741418ca203d1995f70fcce5a0c1a8cb.jpg","text":"TemporaryFile(/tmp/multipartBody4105277919117351113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625623434,"filename":"image_01122025_19_21_54_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b083d214050910a6adc5d2e66e3a5afe.jpg","text":"TemporaryFile(/tmp/multipartBody4901149123418821262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625623434,"filename":"image_01122025_19_22_03_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/05a245ccb651a587acf37f1105239ae2.jpg","text":"TemporaryFile(/tmp/multipartBody6896960202322610681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625623434,"filename":"image_01122025_19_21_34_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/1/1621e8a9feeabf307228e331a19e3254.jpg","text":"TemporaryFile(/tmp/multipartBody1250438090317336080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625623434,"filename":"image_01122025_19_22_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/1/91249d3d1a05ec424354181b0fbd3c37.jpg","text":"TemporaryFile(/tmp/multipartBody1720812910369221173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625623434,"filename":"image_01122025_19_21_44_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397258524","file1":"1397258522","file0":"1397258520","file4":"1397258530","file5":"1397258534","file3":"1397258526"},"map_files_photo_id_array":[{"photo_id":"1397258534","filename":"file5"},{"photo_id":"1397258524","filename":"file2"},{"photo_id":"1397258530","filename":"file4"},{"photo_id":"1397258522","filename":"file1"},{"photo_id":"1397258520","filename":"file0"},{"photo_id":"1397258526","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397258530":["hashtag1","hashtag2"]},{"1397258524":["hashtag1","hashtag2"]},{"1397258526":["hashtag1","hashtag2"]},{"1397258520":["hashtag1","hashtag2"]},{"1397258534":["hashtag1","hashtag2"]},{"1397258522":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397258530, 1397258524, 1397258526, 1397258520, 1397258534, 1397258522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.9623384475708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:47:03.337246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/22/image_01122025_19_22_33_9609.jpg', '/home/pi/Desktop/images/01122025/19/22/image_01122025_19_22_44_10704.jpg', '/home/pi/Desktop/images/01122025/19/22/image_01122025_19_22_54_9805.jpg', '/home/pi/Desktop/images/01122025/19/22/image_01122025_19_23_04_9828.jpg', '/home/pi/Desktop/images/01122025/19/23/image_01122025_19_23_14_9903.jpg', '/home/pi/Desktop/images/01122025/19/23/image_01122025_19_23_23_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/22/image_01122025_19_22_33_9609.jpg
/home/pi/Desktop/images/01122025/19/22/image_01122025_19_22_44_10704.jpg
/home/pi/Desktop/images/01122025/19/22/image_01122025_19_22_54_9805.jpg
/home/pi/Desktop/images/01122025/19/22/image_01122025_19_23_04_9828.jpg
/home/pi/Desktop/images/01122025/19/23/image_01122025_19_23_14_9903.jpg
/home/pi/Desktop/images/01122025/19/23/image_01122025_19_23_23_9772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397258548","1397258559","1397258550","1397258552","1397258555","1397258563"],"photo_ids_order":["1397258548","1397258550","1397258552","1397258555","1397258559","1397258563"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ef8cbd560d5d23afd7f90e9faf67239a.jpg","text":"TemporaryFile(/tmp/multipartBody7473418140291687657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625684093,"filename":"image_01122025_19_22_33_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/1/03874da98de9410055c95a45b84e0d88.jpg","text":"TemporaryFile(/tmp/multipartBody4425565562416309981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625684093,"filename":"image_01122025_19_23_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/1/64ccaa93d31b9bf65a01a19100b7e31a.jpg","text":"TemporaryFile(/tmp/multipartBody2184685773531423255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625684093,"filename":"image_01122025_19_22_44_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d13383e2638da583358e36f3a2b1a3a9.jpg","text":"TemporaryFile(/tmp/multipartBody7796133043160108511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625684093,"filename":"image_01122025_19_22_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/1/e1bee70dbb9c3b01ff3459229854dc16.jpg","text":"TemporaryFile(/tmp/multipartBody6608310431254416959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625684093,"filename":"image_01122025_19_23_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/1/8e759970707761d0fe8c2e8e1477f5e9.jpg","text":"TemporaryFile(/tmp/multipartBody1056982282216251762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625684093,"filename":"image_01122025_19_23_23_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397258552","file1":"1397258550","file0":"1397258548","file4":"1397258559","file5":"1397258563","file3":"1397258555"},"map_files_photo_id_array":[{"photo_id":"1397258563","filename":"file5"},{"photo_id":"1397258552","filename":"file2"},{"photo_id":"1397258559","filename":"file4"},{"photo_id":"1397258550","filename":"file1"},{"photo_id":"1397258548","filename":"file0"},{"photo_id":"1397258555","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397258548":["hashtag1","hashtag2"]},{"1397258559":["hashtag1","hashtag2"]},{"1397258550":["hashtag1","hashtag2"]},{"1397258552":["hashtag1","hashtag2"]},{"1397258555":["hashtag1","hashtag2"]},{"1397258563":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397258548, 1397258559, 1397258550, 1397258552, 1397258555, 1397258563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.328524112701416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:48:03.155047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/23/image_01122025_19_23_34_10807.jpg', '/home/pi/Desktop/images/01122025/19/23/image_01122025_19_23_44_9694.jpg', '/home/pi/Desktop/images/01122025/19/23/image_01122025_19_23_54_9674.jpg', '/home/pi/Desktop/images/01122025/19/24/image_01122025_19_24_14_10863.jpg', '/home/pi/Desktop/images/01122025/19/24/image_01122025_19_24_24_9665.jpg', '/home/pi/Desktop/images/01122025/19/24/image_01122025_19_24_33_9551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/23/image_01122025_19_23_34_10807.jpg
/home/pi/Desktop/images/01122025/19/23/image_01122025_19_23_44_9694.jpg
/home/pi/Desktop/images/01122025/19/23/image_01122025_19_23_54_9674.jpg
/home/pi/Desktop/images/01122025/19/24/image_01122025_19_24_14_10863.jpg
/home/pi/Desktop/images/01122025/19/24/image_01122025_19_24_24_9665.jpg
/home/pi/Desktop/images/01122025/19/24/image_01122025_19_24_33_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":["1397258592","1397258586","1397258574","1397258571","1397258597","1397258578"],"photo_ids_order":["1397258571","1397258574","1397258578","1397258586","1397258592","1397258597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/33f648a186e0273ff40f54d8dec858b5.jpg","text":"TemporaryFile(/tmp/multipartBody1661610551342743454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625743893,"filename":"image_01122025_19_24_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/1/7c8aeb80c898b978d3c2dccacfbe2d61.jpg","text":"TemporaryFile(/tmp/multipartBody6941762996532326753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625743893,"filename":"image_01122025_19_24_14_10863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/249ad4837655b31783cb11cb91090149.jpg","text":"TemporaryFile(/tmp/multipartBody5503533573199668613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625743893,"filename":"image_01122025_19_23_44_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/77bf43031c05dd95762c0a529a07c4fa.jpg","text":"TemporaryFile(/tmp/multipartBody3614530848895991090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625743893,"filename":"image_01122025_19_23_34_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/1/aab899d4da85346b0ef8ba074df2bafa.jpg","text":"TemporaryFile(/tmp/multipartBody1018039827784087822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625743893,"filename":"image_01122025_19_24_33_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/1/5ab4987c3fc07feee83411eab07637fc.jpg","text":"TemporaryFile(/tmp/multipartBody1472050773865650125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625743893,"filename":"image_01122025_19_23_54_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397258578","file1":"1397258574","file0":"1397258571","file4":"1397258592","file5":"1397258597","file3":"1397258586"},"map_files_photo_id_array":[{"photo_id":"1397258597","filename":"file5"},{"photo_id":"1397258578","filename":"file2"},{"photo_id":"1397258592","filename":"file4"},{"photo_id":"1397258574","filename":"file1"},{"photo_id":"1397258571","filename":"file0"},{"photo_id":"1397258586","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397258592":["hashtag1","hashtag2"]},{"1397258586":["hashtag1","hashtag2"]},{"1397258574":["hashtag1","hashtag2"]},{"1397258571":["hashtag1","hashtag2"]},{"1397258597":["hashtag1","hashtag2"]},{"1397258578":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397258592, 1397258586, 1397258574, 1397258571, 1397258597, 1397258578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48582077026367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 22:48:42.783801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/11/image_31102025_15_11_28_2746.jpg', '/home/pi/Desktop/images/31102025/15/11/image_31102025_15_11_32_3799.jpg', '/home/pi/Desktop/images/31102025/15/11/image_31102025_15_11_35_2689.jpg', '/home/pi/Desktop/images/31102025/15/11/image_31102025_15_11_37_2554.jpg', '/home/pi/Desktop/images/31102025/15/11/image_31102025_15_11_40_2835.jpg', '/home/pi/Desktop/images/31102025/15/11/image_31102025_15_11_44_3732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/11/image_31102025_15_11_28_2746.jpg
/home/pi/Desktop/images/31102025/15/11/image_31102025_15_11_32_3799.jpg
/home/pi/Desktop/images/31102025/15/11/image_31102025_15_11_35_2689.jpg
/home/pi/Desktop/images/31102025/15/11/image_31102025_15_11_37_2554.jpg
/home/pi/Desktop/images/31102025/15/11/image_31102025_15_11_40_2835.jpg
/home/pi/Desktop/images/31102025/15/11/image_31102025_15_11_44_3732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397258646","1397258648","1397258645","1397258639","1397258624","1397258644"],"photo_ids_order":["1397258624","1397258639","1397258644","1397258645","1397258646","1397258648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/20fa2cc2a52cd12ec858378a4b50e0e8.jpg","text":"TemporaryFile(/tmp/multipartBody678568894005620761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625785334,"filename":"image_31102025_15_11_40_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f89f7eb7409dbf8f320ab9c919176800.jpg","text":"TemporaryFile(/tmp/multipartBody3768533993300912886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625785334,"filename":"image_31102025_15_11_44_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/1/65485012517f63b13f3eedd4c594357f.jpg","text":"TemporaryFile(/tmp/multipartBody7588504367337095724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625785334,"filename":"image_31102025_15_11_37_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/24aa0adb2f7f1a82c8699cda0e1084dd.jpg","text":"TemporaryFile(/tmp/multipartBody2747380943195732200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625785334,"filename":"image_31102025_15_11_32_3799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7c1fda0b274498bd93a2ad178a2b5364.jpg","text":"TemporaryFile(/tmp/multipartBody3616485186914028282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625785334,"filename":"image_31102025_15_11_28_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9d5a036ad68fdf98da19794b2ec128f5.jpg","text":"TemporaryFile(/tmp/multipartBody2510722766046512212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625785334,"filename":"image_31102025_15_11_35_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397258644","file1":"1397258639","file0":"1397258624","file4":"1397258646","file5":"1397258648","file3":"1397258645"},"map_files_photo_id_array":[{"photo_id":"1397258648","filename":"file5"},{"photo_id":"1397258644","filename":"file2"},{"photo_id":"1397258646","filename":"file4"},{"photo_id":"1397258639","filename":"file1"},{"photo_id":"1397258624","filename":"file0"},{"photo_id":"1397258645","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397258646":["hashtag1","hashtag2"]},{"1397258648":["hashtag1","hashtag2"]},{"1397258645":["hashtag1","hashtag2"]},{"1397258639":["hashtag1","hashtag2"]},{"1397258624":["hashtag1","hashtag2"]},{"1397258644":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397258646, 1397258648, 1397258645, 1397258639, 1397258624, 1397258644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5522780418396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 22:49:31.951844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_10_1591.jpg', '/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_12_1673.jpg', '/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_13_1465.jpg', '/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_15_1682.jpg', '/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_17_1718.jpg', '/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_18_1672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_10_1591.jpg
/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_12_1673.jpg
/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_13_1465.jpg
/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_15_1682.jpg
/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_17_1718.jpg
/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_18_1672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397258668","1397258667","1397258661","1397258664","1397258669","1397258659"],"photo_ids_order":["1397258659","1397258661","1397258664","1397258667","1397258668","1397258669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/91b535151cdb29a18cbf605d6ea93138.jpg","text":"TemporaryFile(/tmp/multipartBody2055825914589967554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625833699,"filename":"image_25112025_23_42_17_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/1/a41b54ac33e7fcde7f5323f32f3f1a99.jpg","text":"TemporaryFile(/tmp/multipartBody2466456512286952245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625833699,"filename":"image_25112025_23_42_15_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dab6fd95d828bf536e0cdface0a9e646.jpg","text":"TemporaryFile(/tmp/multipartBody5906583892980855689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625833699,"filename":"image_25112025_23_42_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/1/3aa45cc110c3b7025054d49b51056993.jpg","text":"TemporaryFile(/tmp/multipartBody8452358212293901344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625833699,"filename":"image_25112025_23_42_13_1465.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e962435b268974712a1899c626b8b09c.jpg","text":"TemporaryFile(/tmp/multipartBody8192877438450205125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625833699,"filename":"image_25112025_23_42_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/1/ee1c5485297efc41e636027d3e95e434.jpg","text":"TemporaryFile(/tmp/multipartBody103956434907660184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625833699,"filename":"image_25112025_23_42_10_1591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397258664","file1":"1397258661","file0":"1397258659","file4":"1397258668","file5":"1397258669","file3":"1397258667"},"map_files_photo_id_array":[{"photo_id":"1397258669","filename":"file5"},{"photo_id":"1397258664","filename":"file2"},{"photo_id":"1397258668","filename":"file4"},{"photo_id":"1397258661","filename":"file1"},{"photo_id":"1397258659","filename":"file0"},{"photo_id":"1397258667","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397258668":["hashtag1","hashtag2"]},{"1397258667":["hashtag1","hashtag2"]},{"1397258661":["hashtag1","hashtag2"]},{"1397258664":["hashtag1","hashtag2"]},{"1397258669":["hashtag1","hashtag2"]},{"1397258659":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397258668, 1397258667, 1397258661, 1397258664, 1397258669, 1397258659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.809991121292114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 22:50:22.145315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/24/image_01122025_19_24_44_10850.jpg', '/home/pi/Desktop/images/01122025/19/24/image_01122025_19_24_54_9667.jpg', '/home/pi/Desktop/images/01122025/19/25/image_01122025_19_25_14_10613.jpg', '/home/pi/Desktop/images/01122025/19/25/image_01122025_19_25_34_9660.jpg', '/home/pi/Desktop/images/01122025/19/25/image_01122025_19_25_43_9837.jpg', '/home/pi/Desktop/images/01122025/19/25/image_01122025_19_25_54_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/24/image_01122025_19_24_44_10850.jpg
/home/pi/Desktop/images/01122025/19/24/image_01122025_19_24_54_9667.jpg
/home/pi/Desktop/images/01122025/19/25/image_01122025_19_25_14_10613.jpg
/home/pi/Desktop/images/01122025/19/25/image_01122025_19_25_34_9660.jpg
/home/pi/Desktop/images/01122025/19/25/image_01122025_19_25_43_9837.jpg
/home/pi/Desktop/images/01122025/19/25/image_01122025_19_25_54_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":["1397258691","1397258684","1397258693","1397258687","1397258681","1397258675"],"photo_ids_order":["1397258675","1397258681","1397258684","1397258687","1397258691","1397258693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2a85e7607c4d9f55e958f42654a83459.jpg","text":"TemporaryFile(/tmp/multipartBody5645366974084910447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625882873,"filename":"image_01122025_19_25_43_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/1/b177df51db16df3eb7333df41c5b590a.jpg","text":"TemporaryFile(/tmp/multipartBody6616197427543696658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625882873,"filename":"image_01122025_19_25_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/1/498b50236fd6029bd4dc754d31f46052.jpg","text":"TemporaryFile(/tmp/multipartBody4240491444499967728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625882873,"filename":"image_01122025_19_25_54_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/98fbd48566afbf925ec9fa7d4ba8dd5c.jpg","text":"TemporaryFile(/tmp/multipartBody7072233357549477085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625882873,"filename":"image_01122025_19_25_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/1/6ad07267ac81a3e1798184d80cb4f85c.jpg","text":"TemporaryFile(/tmp/multipartBody3306583398705584285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625882873,"filename":"image_01122025_19_24_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/1/2d617fba639d5a6d2ca8bcd3d0c2159e.jpg","text":"TemporaryFile(/tmp/multipartBody3620243146125458758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625882873,"filename":"image_01122025_19_24_44_10850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397258684","file1":"1397258681","file0":"1397258675","file4":"1397258691","file5":"1397258693","file3":"1397258687"},"map_files_photo_id_array":[{"photo_id":"1397258693","filename":"file5"},{"photo_id":"1397258684","filename":"file2"},{"photo_id":"1397258691","filename":"file4"},{"photo_id":"1397258681","filename":"file1"},{"photo_id":"1397258675","filename":"file0"},{"photo_id":"1397258687","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397258691":["hashtag1","hashtag2"]},{"1397258684":["hashtag1","hashtag2"]},{"1397258693":["hashtag1","hashtag2"]},{"1397258687":["hashtag1","hashtag2"]},{"1397258681":["hashtag1","hashtag2"]},{"1397258675":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397258691, 1397258684, 1397258693, 1397258687, 1397258681, 1397258675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.73358678817749 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-01 22:51:12.420003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_20_1660.jpg', '/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_22_1522.jpg', '/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_28_6206.jpg', '/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_41_1581.jpg', '/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_06_24535.jpg', '/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_07_1671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_20_1660.jpg
/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_22_1522.jpg
/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_28_6206.jpg
/home/pi/Desktop/images/25112025/23/42/image_25112025_23_42_41_1581.jpg
/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_06_24535.jpg
/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_07_1671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397258704","1397258706","1397258720","1397258714","1397258717","1397258711"],"photo_ids_order":["1397258704","1397258706","1397258711","1397258714","1397258717","1397258720"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c0450997ca117245f8f97412f3ed9cd1.jpg","text":"TemporaryFile(/tmp/multipartBody1805128457806880818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625933857,"filename":"image_25112025_23_42_20_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/1/230f823b19bbbd578163d92612d659ab.jpg","text":"TemporaryFile(/tmp/multipartBody157870876499132629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625933857,"filename":"image_25112025_23_42_22_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/1/8d5868c3330131f5e85dee000d1285c1.jpg","text":"TemporaryFile(/tmp/multipartBody7235984408683285728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625933857,"filename":"image_25112025_23_43_07_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/1/aceaade48c4e52a306c05ea69ab8f28b.jpg","text":"TemporaryFile(/tmp/multipartBody6057189255875418322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625933857,"filename":"image_25112025_23_42_41_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/1/891e6991f143b9aaddfff90165121f91.jpg","text":"TemporaryFile(/tmp/multipartBody4069419156917271840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625933857,"filename":"image_25112025_23_43_06_24535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/140365d7ca7539d456f8189599900ec1.jpg","text":"TemporaryFile(/tmp/multipartBody2945803090488139672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625933857,"filename":"image_25112025_23_42_28_6206.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397258711","file1":"1397258706","file0":"1397258704","file4":"1397258717","file5":"1397258720","file3":"1397258714"},"map_files_photo_id_array":[{"photo_id":"1397258720","filename":"file5"},{"photo_id":"1397258711","filename":"file2"},{"photo_id":"1397258717","filename":"file4"},{"photo_id":"1397258706","filename":"file1"},{"photo_id":"1397258704","filename":"file0"},{"photo_id":"1397258714","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397258704":["hashtag1","hashtag2"]},{"1397258706":["hashtag1","hashtag2"]},{"1397258720":["hashtag1","hashtag2"]},{"1397258714":["hashtag1","hashtag2"]},{"1397258717":["hashtag1","hashtag2"]},{"1397258711":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397258704, 1397258706, 1397258720, 1397258714, 1397258717, 1397258711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.40233874320984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:52:02.972610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/25/image_01122025_19_26_04_9843.jpg', '/home/pi/Desktop/images/01122025/19/26/image_01122025_19_26_14_9711.jpg', '/home/pi/Desktop/images/01122025/19/26/image_01122025_19_26_23_9840.jpg', '/home/pi/Desktop/images/01122025/19/26/image_01122025_19_26_34_10679.jpg', '/home/pi/Desktop/images/01122025/19/26/image_01122025_19_26_44_9738.jpg', '/home/pi/Desktop/images/01122025/19/26/image_01122025_19_26_54_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/25/image_01122025_19_26_04_9843.jpg
/home/pi/Desktop/images/01122025/19/26/image_01122025_19_26_14_9711.jpg
/home/pi/Desktop/images/01122025/19/26/image_01122025_19_26_23_9840.jpg
/home/pi/Desktop/images/01122025/19/26/image_01122025_19_26_34_10679.jpg
/home/pi/Desktop/images/01122025/19/26/image_01122025_19_26_44_9738.jpg
/home/pi/Desktop/images/01122025/19/26/image_01122025_19_26_54_9695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397258749","1397258728","1397258745","1397258730","1397258732","1397258726"],"photo_ids_order":["1397258726","1397258728","1397258730","1397258732","1397258745","1397258749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d7fbf40270a57b34a46461c1273d78dd.jpg","text":"TemporaryFile(/tmp/multipartBody8586615403399507669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625983688,"filename":"image_01122025_19_26_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/1/3c975b683c606f04d6a9950209fe57cb.jpg","text":"TemporaryFile(/tmp/multipartBody7776002421007650117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625983688,"filename":"image_01122025_19_26_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/1/6d689a2d41427d4885f44e8836c9348c.jpg","text":"TemporaryFile(/tmp/multipartBody5062102373536724827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625983688,"filename":"image_01122025_19_26_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/1/127e116a1e941eaf5c38b04075395b73.jpg","text":"TemporaryFile(/tmp/multipartBody6960949637320012835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625983688,"filename":"image_01122025_19_26_23_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/1/be99e3c09640e87cc7fea0e445750c76.jpg","text":"TemporaryFile(/tmp/multipartBody2988758720680341788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625983688,"filename":"image_01122025_19_26_34_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dd693853d96da4d1e47ed48cb3637b2a.jpg","text":"TemporaryFile(/tmp/multipartBody5261157462132205663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764625983688,"filename":"image_01122025_19_26_04_9843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397258730","file1":"1397258728","file0":"1397258726","file4":"1397258745","file5":"1397258749","file3":"1397258732"},"map_files_photo_id_array":[{"photo_id":"1397258749","filename":"file5"},{"photo_id":"1397258730","filename":"file2"},{"photo_id":"1397258745","filename":"file4"},{"photo_id":"1397258728","filename":"file1"},{"photo_id":"1397258726","filename":"file0"},{"photo_id":"1397258732","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397258749":["hashtag1","hashtag2"]},{"1397258728":["hashtag1","hashtag2"]},{"1397258745":["hashtag1","hashtag2"]},{"1397258730":["hashtag1","hashtag2"]},{"1397258732":["hashtag1","hashtag2"]},{"1397258726":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397258749, 1397258728, 1397258745, 1397258730, 1397258732, 1397258726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.71582794189453 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:53:02.634055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/27/image_01122025_19_27_34_10606.jpg', '/home/pi/Desktop/images/01122025/19/27/image_01122025_19_27_54_9859.jpg', '/home/pi/Desktop/images/01122025/19/28/image_01122025_19_28_13_9702.jpg', '/home/pi/Desktop/images/01122025/19/28/image_01122025_19_28_24_10642.jpg', '/home/pi/Desktop/images/01122025/19/28/image_01122025_19_28_54_10829.jpg', '/home/pi/Desktop/images/01122025/19/28/image_01122025_19_29_04_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/27/image_01122025_19_27_34_10606.jpg
/home/pi/Desktop/images/01122025/19/27/image_01122025_19_27_54_9859.jpg
/home/pi/Desktop/images/01122025/19/28/image_01122025_19_28_13_9702.jpg
/home/pi/Desktop/images/01122025/19/28/image_01122025_19_28_24_10642.jpg
/home/pi/Desktop/images/01122025/19/28/image_01122025_19_28_54_10829.jpg
/home/pi/Desktop/images/01122025/19/28/image_01122025_19_29_04_9748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397259096","1397259090","1397259086","1397259116","1397259101","1397259088"],"photo_ids_order":["1397259086","1397259088","1397259090","1397259096","1397259101","1397259116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/550e2ed7e7749946ebdaf07091cc9f66.jpg","text":"TemporaryFile(/tmp/multipartBody6373245233673997076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626043438,"filename":"image_01122025_19_28_24_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2005fcfe235cb23813540ca4c8c6ae0f.jpg","text":"TemporaryFile(/tmp/multipartBody1741819296950953504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626043438,"filename":"image_01122025_19_28_13_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/1/d28502bc0890c22c5586bc2b972a3ccc.jpg","text":"TemporaryFile(/tmp/multipartBody7078106777516995101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626043438,"filename":"image_01122025_19_27_34_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b3c8c385dd9f454e2b8dc7858ac131bd.jpg","text":"TemporaryFile(/tmp/multipartBody7851501424080111366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626043438,"filename":"image_01122025_19_29_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/1/92045ff2deae0159988dfeb2543efbea.jpg","text":"TemporaryFile(/tmp/multipartBody7057559672980881504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626043438,"filename":"image_01122025_19_28_54_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/1/0ab210a6fd71de90d0ad710bec321e2a.jpg","text":"TemporaryFile(/tmp/multipartBody8304202613893442901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626043438,"filename":"image_01122025_19_27_54_9859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397259090","file1":"1397259088","file0":"1397259086","file4":"1397259101","file5":"1397259116","file3":"1397259096"},"map_files_photo_id_array":[{"photo_id":"1397259116","filename":"file5"},{"photo_id":"1397259090","filename":"file2"},{"photo_id":"1397259101","filename":"file4"},{"photo_id":"1397259088","filename":"file1"},{"photo_id":"1397259086","filename":"file0"},{"photo_id":"1397259096","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397259096":["hashtag1","hashtag2"]},{"1397259090":["hashtag1","hashtag2"]},{"1397259086":["hashtag1","hashtag2"]},{"1397259116":["hashtag1","hashtag2"]},{"1397259101":["hashtag1","hashtag2"]},{"1397259088":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397259096, 1397259090, 1397259086, 1397259116, 1397259101, 1397259088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.66505575180054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:54:02.613499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/29/image_01122025_19_29_34_10621.jpg', '/home/pi/Desktop/images/01122025/19/30/image_01122025_19_30_14_10055.jpg', '/home/pi/Desktop/images/01122025/19/30/image_01122025_19_30_25_10792.jpg', '/home/pi/Desktop/images/01122025/19/30/image_01122025_19_30_35_9786.jpg', '/home/pi/Desktop/images/01122025/19/30/image_01122025_19_30_45_9783.jpg', '/home/pi/Desktop/images/01122025/19/30/image_01122025_19_30_55_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/29/image_01122025_19_29_34_10621.jpg
/home/pi/Desktop/images/01122025/19/30/image_01122025_19_30_14_10055.jpg
/home/pi/Desktop/images/01122025/19/30/image_01122025_19_30_25_10792.jpg
/home/pi/Desktop/images/01122025/19/30/image_01122025_19_30_35_9786.jpg
/home/pi/Desktop/images/01122025/19/30/image_01122025_19_30_45_9783.jpg
/home/pi/Desktop/images/01122025/19/30/image_01122025_19_30_55_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":["1397259195","1397259168","1397259161","1397259164","1397259199","1397259223"],"photo_ids_order":["1397259161","1397259164","1397259168","1397259195","1397259199","1397259223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9b1e537d38704bbdf8ecb1540fb44a17.jpg","text":"TemporaryFile(/tmp/multipartBody4242205582488688845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626103372,"filename":"image_01122025_19_30_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/1/de66dd08fb1f79d7b414c1c29dab6706.jpg","text":"TemporaryFile(/tmp/multipartBody6864781360680465867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626103372,"filename":"image_01122025_19_30_25_10792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/38101dee0d97ca989627a8b94cacc363.jpg","text":"TemporaryFile(/tmp/multipartBody949678495492230918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626103372,"filename":"image_01122025_19_29_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/1/c141ea8e9877d17b4e2a06c7e3fc8dae.jpg","text":"TemporaryFile(/tmp/multipartBody1736403268404223225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626103372,"filename":"image_01122025_19_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/1/7b54d2382646543c85635fc42f690bc3.jpg","text":"TemporaryFile(/tmp/multipartBody9155172587386743432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626103372,"filename":"image_01122025_19_30_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/1/e1e3e5708f15bcb654ec75dd6ea6f656.jpg","text":"TemporaryFile(/tmp/multipartBody2696217604670051084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626103372,"filename":"image_01122025_19_30_55_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397259168","file1":"1397259164","file0":"1397259161","file4":"1397259199","file5":"1397259223","file3":"1397259195"},"map_files_photo_id_array":[{"photo_id":"1397259223","filename":"file5"},{"photo_id":"1397259168","filename":"file2"},{"photo_id":"1397259199","filename":"file4"},{"photo_id":"1397259164","filename":"file1"},{"photo_id":"1397259161","filename":"file0"},{"photo_id":"1397259195","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397259195":["hashtag1","hashtag2"]},{"1397259168":["hashtag1","hashtag2"]},{"1397259161":["hashtag1","hashtag2"]},{"1397259164":["hashtag1","hashtag2"]},{"1397259199":["hashtag1","hashtag2"]},{"1397259223":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397259195, 1397259168, 1397259161, 1397259164, 1397259199, 1397259223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.90643119812012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:55:02.818808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/30/image_01122025_19_31_05_10701.jpg', '/home/pi/Desktop/images/01122025/19/31/image_01122025_19_31_15_9716.jpg', '/home/pi/Desktop/images/01122025/19/31/image_01122025_19_31_35_10665.jpg', '/home/pi/Desktop/images/01122025/19/31/image_01122025_19_31_45_9617.jpg', '/home/pi/Desktop/images/01122025/19/32/image_01122025_19_32_15_9686.jpg', '/home/pi/Desktop/images/01122025/19/32/image_01122025_19_32_25_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/30/image_01122025_19_31_05_10701.jpg
/home/pi/Desktop/images/01122025/19/31/image_01122025_19_31_15_9716.jpg
/home/pi/Desktop/images/01122025/19/31/image_01122025_19_31_35_10665.jpg
/home/pi/Desktop/images/01122025/19/31/image_01122025_19_31_45_9617.jpg
/home/pi/Desktop/images/01122025/19/32/image_01122025_19_32_15_9686.jpg
/home/pi/Desktop/images/01122025/19/32/image_01122025_19_32_25_9771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397259252","1397259249","1397259245","1397259239","1397259232","1397259241"],"photo_ids_order":["1397259232","1397259239","1397259241","1397259245","1397259249","1397259252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/88de44962e7bb2bb19a5dda05e5dace3.jpg","text":"TemporaryFile(/tmp/multipartBody8546039690105976404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626163577,"filename":"image_01122025_19_32_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/1/e011deb8521e7f6b839d2a24c1716fbb.jpg","text":"TemporaryFile(/tmp/multipartBody1736175478700521613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626163577,"filename":"image_01122025_19_32_15_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b52d4993e3a14b726ed1c42e28899773.jpg","text":"TemporaryFile(/tmp/multipartBody2138259531531946716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626163577,"filename":"image_01122025_19_31_45_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e83045a0eaaacec2b31efedbf2bef124.jpg","text":"TemporaryFile(/tmp/multipartBody1576393726396590526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626163577,"filename":"image_01122025_19_31_15_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ec6dcb9fab3dd16a96ad74c2df717fc5.jpg","text":"TemporaryFile(/tmp/multipartBody6514283316841348956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626163577,"filename":"image_01122025_19_31_05_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fb2fb441cb8ebf4d5bb43e1883256aad.jpg","text":"TemporaryFile(/tmp/multipartBody6925744259156933502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626163577,"filename":"image_01122025_19_31_35_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397259241","file1":"1397259239","file0":"1397259232","file4":"1397259249","file5":"1397259252","file3":"1397259245"},"map_files_photo_id_array":[{"photo_id":"1397259252","filename":"file5"},{"photo_id":"1397259241","filename":"file2"},{"photo_id":"1397259249","filename":"file4"},{"photo_id":"1397259239","filename":"file1"},{"photo_id":"1397259232","filename":"file0"},{"photo_id":"1397259245","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397259252":["hashtag1","hashtag2"]},{"1397259249":["hashtag1","hashtag2"]},{"1397259245":["hashtag1","hashtag2"]},{"1397259239":["hashtag1","hashtag2"]},{"1397259232":["hashtag1","hashtag2"]},{"1397259241":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397259252, 1397259249, 1397259245, 1397259239, 1397259232, 1397259241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.3661949634552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:56:02.896500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/32/image_01122025_19_32_45_9631.jpg', '/home/pi/Desktop/images/01122025/19/32/image_01122025_19_32_55_9578.jpg', '/home/pi/Desktop/images/01122025/19/33/image_01122025_19_33_24_9641.jpg', '/home/pi/Desktop/images/01122025/19/33/image_01122025_19_33_35_10687.jpg', '/home/pi/Desktop/images/01122025/19/33/image_01122025_19_34_05_9864.jpg', '/home/pi/Desktop/images/01122025/19/34/image_01122025_19_34_15_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/32/image_01122025_19_32_45_9631.jpg
/home/pi/Desktop/images/01122025/19/32/image_01122025_19_32_55_9578.jpg
/home/pi/Desktop/images/01122025/19/33/image_01122025_19_33_24_9641.jpg
/home/pi/Desktop/images/01122025/19/33/image_01122025_19_33_35_10687.jpg
/home/pi/Desktop/images/01122025/19/33/image_01122025_19_34_05_9864.jpg
/home/pi/Desktop/images/01122025/19/34/image_01122025_19_34_15_10617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397259319","1397259310","1397259327","1397259312","1397259315","1397259323"],"photo_ids_order":["1397259310","1397259312","1397259315","1397259319","1397259323","1397259327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/51dc5fcd9428545a88e47b62f2e1c70f.jpg","text":"TemporaryFile(/tmp/multipartBody2061299788479828057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626223626,"filename":"image_01122025_19_33_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/1/11f0f8efa2b33321bf8513b9268e0030.jpg","text":"TemporaryFile(/tmp/multipartBody8819371716885827556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626223626,"filename":"image_01122025_19_32_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/1/97972638defd263cab99adfcdd1258e1.jpg","text":"TemporaryFile(/tmp/multipartBody3071971548877607972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626223626,"filename":"image_01122025_19_34_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/1/b605ad1459930d62e4005de7aa663bfa.jpg","text":"TemporaryFile(/tmp/multipartBody7066602043371611523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626223626,"filename":"image_01122025_19_32_55_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/1/a8060ca02346c3edb84702b2fa82cd00.jpg","text":"TemporaryFile(/tmp/multipartBody8713481471067079457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626223626,"filename":"image_01122025_19_33_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/1/c69d64167449428b879927ff49436777.jpg","text":"TemporaryFile(/tmp/multipartBody1837468775242286099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626223626,"filename":"image_01122025_19_34_05_9864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397259315","file1":"1397259312","file0":"1397259310","file4":"1397259323","file5":"1397259327","file3":"1397259319"},"map_files_photo_id_array":[{"photo_id":"1397259327","filename":"file5"},{"photo_id":"1397259315","filename":"file2"},{"photo_id":"1397259323","filename":"file4"},{"photo_id":"1397259312","filename":"file1"},{"photo_id":"1397259310","filename":"file0"},{"photo_id":"1397259319","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397259319":["hashtag1","hashtag2"]},{"1397259310":["hashtag1","hashtag2"]},{"1397259327":["hashtag1","hashtag2"]},{"1397259312":["hashtag1","hashtag2"]},{"1397259315":["hashtag1","hashtag2"]},{"1397259323":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397259319, 1397259310, 1397259327, 1397259312, 1397259315, 1397259323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2212016582489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:57:03.242496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/34/image_01122025_19_34_35_9730.jpg', '/home/pi/Desktop/images/01122025/19/34/image_01122025_19_34_45_10566.jpg', '/home/pi/Desktop/images/01122025/19/35/image_01122025_19_35_25_9321.jpg', '/home/pi/Desktop/images/01122025/19/35/image_01122025_19_35_35_10572.jpg', '/home/pi/Desktop/images/01122025/19/36/image_01122025_19_36_15_10792.jpg', '/home/pi/Desktop/images/01122025/19/36/image_01122025_19_36_25_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/34/image_01122025_19_34_35_9730.jpg
/home/pi/Desktop/images/01122025/19/34/image_01122025_19_34_45_10566.jpg
/home/pi/Desktop/images/01122025/19/35/image_01122025_19_35_25_9321.jpg
/home/pi/Desktop/images/01122025/19/35/image_01122025_19_35_35_10572.jpg
/home/pi/Desktop/images/01122025/19/36/image_01122025_19_36_15_10792.jpg
/home/pi/Desktop/images/01122025/19/36/image_01122025_19_36_25_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":["1397259360","1397259357","1397259345","1397259353","1397259350","1397259355"],"photo_ids_order":["1397259345","1397259350","1397259353","1397259355","1397259357","1397259360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e65b2242e6da63892331e736aa733c13.jpg","text":"TemporaryFile(/tmp/multipartBody5754168324046282676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626284051,"filename":"image_01122025_19_36_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/1/b56501abea4e0006d93d001c3ef9a0b7.jpg","text":"TemporaryFile(/tmp/multipartBody1250889552361688796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626284051,"filename":"image_01122025_19_36_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/1/7986209bccf2298e01d5e8d85c13cb0b.jpg","text":"TemporaryFile(/tmp/multipartBody1813824525697336392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626284051,"filename":"image_01122025_19_34_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/1/aec5e1e7274d81fa11fd32309a23ee71.jpg","text":"TemporaryFile(/tmp/multipartBody4618813411011434833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626284051,"filename":"image_01122025_19_35_25_9321.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a132879c8a5374ffaf8dffc7d94a0cbe.jpg","text":"TemporaryFile(/tmp/multipartBody6961533220346928878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626284051,"filename":"image_01122025_19_34_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/1/aafed5e9c3533f73ce349a9920789a65.jpg","text":"TemporaryFile(/tmp/multipartBody2124132138170834507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626284051,"filename":"image_01122025_19_35_35_10572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397259353","file1":"1397259350","file0":"1397259345","file4":"1397259357","file5":"1397259360","file3":"1397259355"},"map_files_photo_id_array":[{"photo_id":"1397259360","filename":"file5"},{"photo_id":"1397259353","filename":"file2"},{"photo_id":"1397259357","filename":"file4"},{"photo_id":"1397259350","filename":"file1"},{"photo_id":"1397259345","filename":"file0"},{"photo_id":"1397259355","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397259360":["hashtag1","hashtag2"]},{"1397259357":["hashtag1","hashtag2"]},{"1397259345":["hashtag1","hashtag2"]},{"1397259353":["hashtag1","hashtag2"]},{"1397259350":["hashtag1","hashtag2"]},{"1397259355":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397259360, 1397259357, 1397259345, 1397259353, 1397259350, 1397259355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13312244415283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 22:57:42.764407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/11/image_31102025_15_11_53_3678.jpg', '/home/pi/Desktop/images/31102025/15/11/image_31102025_15_11_56_2718.jpg', '/home/pi/Desktop/images/31102025/15/12/image_31102025_15_12_07_2669.jpg', '/home/pi/Desktop/images/31102025/15/12/image_31102025_15_12_16_2629.jpg', '/home/pi/Desktop/images/31102025/15/12/image_31102025_15_12_20_3739.jpg', '/home/pi/Desktop/images/31102025/15/12/image_31102025_15_12_25_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/11/image_31102025_15_11_53_3678.jpg
/home/pi/Desktop/images/31102025/15/11/image_31102025_15_11_56_2718.jpg
/home/pi/Desktop/images/31102025/15/12/image_31102025_15_12_07_2669.jpg
/home/pi/Desktop/images/31102025/15/12/image_31102025_15_12_16_2629.jpg
/home/pi/Desktop/images/31102025/15/12/image_31102025_15_12_20_3739.jpg
/home/pi/Desktop/images/31102025/15/12/image_31102025_15_12_25_2724.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397259369","1397259398","1397259371","1397259374","1397259376","1397259373"],"photo_ids_order":["1397259369","1397259371","1397259373","1397259374","1397259376","1397259398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e63cdbc9a43103f0384da7e6a96b20f2.jpg","text":"TemporaryFile(/tmp/multipartBody124744780693530631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626325326,"filename":"image_31102025_15_11_53_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/1/f65a7a9b6265fc60731e1303da36c49d.jpg","text":"TemporaryFile(/tmp/multipartBody7659065675810821068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626325326,"filename":"image_31102025_15_12_25_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/1/d60298b57f314d26a93e37fadb74dc08.jpg","text":"TemporaryFile(/tmp/multipartBody901644002487770594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626325326,"filename":"image_31102025_15_11_56_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/1/38d887852cab614c38f2f11f3277633d.jpg","text":"TemporaryFile(/tmp/multipartBody2972482025349260304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626325326,"filename":"image_31102025_15_12_16_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/1/8a426e8400979b9147f8f0b7dbc9b7bf.jpg","text":"TemporaryFile(/tmp/multipartBody434503808609536619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626325326,"filename":"image_31102025_15_12_20_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/1/302d73af42b56d9aad97c36d6c692968.jpg","text":"TemporaryFile(/tmp/multipartBody6251064258757044783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626325326,"filename":"image_31102025_15_12_07_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397259373","file1":"1397259371","file0":"1397259369","file4":"1397259376","file5":"1397259398","file3":"1397259374"},"map_files_photo_id_array":[{"photo_id":"1397259398","filename":"file5"},{"photo_id":"1397259373","filename":"file2"},{"photo_id":"1397259376","filename":"file4"},{"photo_id":"1397259371","filename":"file1"},{"photo_id":"1397259369","filename":"file0"},{"photo_id":"1397259374","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397259369":["hashtag1","hashtag2"]},{"1397259398":["hashtag1","hashtag2"]},{"1397259371":["hashtag1","hashtag2"]},{"1397259374":["hashtag1","hashtag2"]},{"1397259376":["hashtag1","hashtag2"]},{"1397259373":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397259369, 1397259398, 1397259371, 1397259374, 1397259376, 1397259373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.48596119880676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 22:59:03.153737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/36/image_01122025_19_36_35_9896.jpg', '/home/pi/Desktop/images/01122025/19/36/image_01122025_19_36_45_9760.jpg', '/home/pi/Desktop/images/01122025/19/36/image_01122025_19_36_55_9848.jpg', '/home/pi/Desktop/images/01122025/19/37/image_01122025_19_37_15_9637.jpg', '/home/pi/Desktop/images/01122025/19/37/image_01122025_19_37_25_9758.jpg', '/home/pi/Desktop/images/01122025/19/37/image_01122025_19_37_35_10752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/36/image_01122025_19_36_35_9896.jpg
/home/pi/Desktop/images/01122025/19/36/image_01122025_19_36_45_9760.jpg
/home/pi/Desktop/images/01122025/19/36/image_01122025_19_36_55_9848.jpg
/home/pi/Desktop/images/01122025/19/37/image_01122025_19_37_15_9637.jpg
/home/pi/Desktop/images/01122025/19/37/image_01122025_19_37_25_9758.jpg
/home/pi/Desktop/images/01122025/19/37/image_01122025_19_37_35_10752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397259616","1397259630","1397259626","1397259620","1397259608","1397259623"],"photo_ids_order":["1397259608","1397259616","1397259620","1397259623","1397259626","1397259630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c5cfd150e02cff45ef2c677a37058871.jpg","text":"TemporaryFile(/tmp/multipartBody2168976404252175874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626404085,"filename":"image_01122025_19_36_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/1/b36c135a3d61119c7244ccf1d15a10ab.jpg","text":"TemporaryFile(/tmp/multipartBody9137672124324919273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626404085,"filename":"image_01122025_19_37_35_10752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8d45b51476aa29a9ffb50e5a0b3a2418.jpg","text":"TemporaryFile(/tmp/multipartBody8443220429713048002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626404085,"filename":"image_01122025_19_37_25_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3819ff35a58f996a38021d735de115c0.jpg","text":"TemporaryFile(/tmp/multipartBody8871475353135789930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626404085,"filename":"image_01122025_19_36_55_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/1/0bb3db2c813183c4f6b9d7f52ccb6118.jpg","text":"TemporaryFile(/tmp/multipartBody8670019713383893364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626404085,"filename":"image_01122025_19_36_35_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/1/98bda617cdf913276ef4c63a078ed71b.jpg","text":"TemporaryFile(/tmp/multipartBody8775605709655433783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626404085,"filename":"image_01122025_19_37_15_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397259620","file1":"1397259616","file0":"1397259608","file4":"1397259626","file5":"1397259630","file3":"1397259623"},"map_files_photo_id_array":[{"photo_id":"1397259630","filename":"file5"},{"photo_id":"1397259620","filename":"file2"},{"photo_id":"1397259626","filename":"file4"},{"photo_id":"1397259616","filename":"file1"},{"photo_id":"1397259608","filename":"file0"},{"photo_id":"1397259623","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397259616":["hashtag1","hashtag2"]},{"1397259630":["hashtag1","hashtag2"]},{"1397259626":["hashtag1","hashtag2"]},{"1397259620":["hashtag1","hashtag2"]},{"1397259608":["hashtag1","hashtag2"]},{"1397259623":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397259616, 1397259630, 1397259626, 1397259620, 1397259608, 1397259623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25776648521423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 23:00:02.712930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/37/image_01122025_19_37_45_9665.jpg', '/home/pi/Desktop/images/01122025/19/37/image_01122025_19_37_55_9728.jpg', '/home/pi/Desktop/images/01122025/19/37/image_01122025_19_38_04_9645.jpg', '/home/pi/Desktop/images/01122025/19/38/image_01122025_19_38_15_10837.jpg', '/home/pi/Desktop/images/01122025/19/38/image_01122025_19_38_25_9751.jpg', '/home/pi/Desktop/images/01122025/19/38/image_01122025_19_38_35_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/37/image_01122025_19_37_45_9665.jpg
/home/pi/Desktop/images/01122025/19/37/image_01122025_19_37_55_9728.jpg
/home/pi/Desktop/images/01122025/19/37/image_01122025_19_38_04_9645.jpg
/home/pi/Desktop/images/01122025/19/38/image_01122025_19_38_15_10837.jpg
/home/pi/Desktop/images/01122025/19/38/image_01122025_19_38_25_9751.jpg
/home/pi/Desktop/images/01122025/19/38/image_01122025_19_38_35_9689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397259639","1397259650","1397259653","1397259647","1397259655","1397259643"],"photo_ids_order":["1397259639","1397259643","1397259647","1397259650","1397259653","1397259655"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f207437b9f8a6184ec11d75bf645935a.jpg","text":"TemporaryFile(/tmp/multipartBody6549009325364693028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626463477,"filename":"image_01122025_19_37_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/1/79cd49adbc661ccc407d388a86412b19.jpg","text":"TemporaryFile(/tmp/multipartBody1446600293644627333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626463477,"filename":"image_01122025_19_38_15_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/1/a727710f3df84d9e8225b67b26d21d1a.jpg","text":"TemporaryFile(/tmp/multipartBody3469134183263266945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626463477,"filename":"image_01122025_19_38_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/1/d3aa8886ea0ee7ca96ab6e41b02ac0c9.jpg","text":"TemporaryFile(/tmp/multipartBody844916648516319392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626463477,"filename":"image_01122025_19_38_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/1/b49be0a698daedd8870f191712ad0bf0.jpg","text":"TemporaryFile(/tmp/multipartBody8745838662673603887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626463477,"filename":"image_01122025_19_38_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/1/8a3d328fc53bceda3ea70a25fa8129a1.jpg","text":"TemporaryFile(/tmp/multipartBody8728448198038395320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626463477,"filename":"image_01122025_19_37_55_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397259647","file1":"1397259643","file0":"1397259639","file4":"1397259653","file5":"1397259655","file3":"1397259650"},"map_files_photo_id_array":[{"photo_id":"1397259655","filename":"file5"},{"photo_id":"1397259647","filename":"file2"},{"photo_id":"1397259653","filename":"file4"},{"photo_id":"1397259643","filename":"file1"},{"photo_id":"1397259639","filename":"file0"},{"photo_id":"1397259650","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397259639":["hashtag1","hashtag2"]},{"1397259650":["hashtag1","hashtag2"]},{"1397259653":["hashtag1","hashtag2"]},{"1397259647":["hashtag1","hashtag2"]},{"1397259655":["hashtag1","hashtag2"]},{"1397259643":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397259639, 1397259650, 1397259653, 1397259647, 1397259655, 1397259643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64281749725342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 23:00:42.339901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/12/image_31102025_15_12_36_4341.jpg', '/home/pi/Desktop/images/31102025/15/12/image_31102025_15_12_38_1739.jpg', '/home/pi/Desktop/images/31102025/15/12/image_31102025_15_12_51_10048.jpg', '/home/pi/Desktop/images/31102025/15/12/image_31102025_15_12_52_1766.jpg', '/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_02_3759.jpg', '/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_04_1696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/12/image_31102025_15_12_36_4341.jpg
/home/pi/Desktop/images/31102025/15/12/image_31102025_15_12_38_1739.jpg
/home/pi/Desktop/images/31102025/15/12/image_31102025_15_12_51_10048.jpg
/home/pi/Desktop/images/31102025/15/12/image_31102025_15_12_52_1766.jpg
/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_02_3759.jpg
/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_04_1696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397259672","1397259681","1397259683","1397259686","1397259676","1397259679"],"photo_ids_order":["1397259672","1397259676","1397259679","1397259681","1397259683","1397259686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ac9a3d7f6a8d6c5545060810dafef824.jpg","text":"TemporaryFile(/tmp/multipartBody805545955921324528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626504834,"filename":"image_31102025_15_12_36_4341.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9625b571cf32af871b047bcb318fc456.jpg","text":"TemporaryFile(/tmp/multipartBody8560412589552290837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626504834,"filename":"image_31102025_15_12_52_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/1/f9b05117eccfc39fb071dc700b73d331.jpg","text":"TemporaryFile(/tmp/multipartBody5309779597815121791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626504834,"filename":"image_31102025_15_13_02_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ad8c7f83d2aaf4e02ef88e37f1ba710a.jpg","text":"TemporaryFile(/tmp/multipartBody1804488281110196995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626504834,"filename":"image_31102025_15_13_04_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/1/1b47357506871c1d6dbcb8d794c30940.jpg","text":"TemporaryFile(/tmp/multipartBody4878943696116053049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626504834,"filename":"image_31102025_15_12_38_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/1/2ea32ac443aa5d89d62d65b286d0b7f7.jpg","text":"TemporaryFile(/tmp/multipartBody1644143115119863007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626504834,"filename":"image_31102025_15_12_51_10048.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397259679","file1":"1397259676","file0":"1397259672","file4":"1397259683","file5":"1397259686","file3":"1397259681"},"map_files_photo_id_array":[{"photo_id":"1397259686","filename":"file5"},{"photo_id":"1397259679","filename":"file2"},{"photo_id":"1397259683","filename":"file4"},{"photo_id":"1397259676","filename":"file1"},{"photo_id":"1397259672","filename":"file0"},{"photo_id":"1397259681","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397259672":["hashtag1","hashtag2"]},{"1397259681":["hashtag1","hashtag2"]},{"1397259683":["hashtag1","hashtag2"]},{"1397259686":["hashtag1","hashtag2"]},{"1397259676":["hashtag1","hashtag2"]},{"1397259679":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397259672, 1397259681, 1397259683, 1397259686, 1397259676, 1397259679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.05255722999573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 23:01:32.520724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_09_1598.jpg', '/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_10_1506.jpg', '/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_12_1670.jpg', '/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_15_1614.jpg', '/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_17_1771.jpg', '/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_19_1504.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_09_1598.jpg
/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_10_1506.jpg
/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_12_1670.jpg
/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_15_1614.jpg
/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_17_1771.jpg
/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_19_1504.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397259771","1397259765","1397259762","1397259773","1397259772","1397259769"],"photo_ids_order":["1397259762","1397259765","1397259769","1397259771","1397259772","1397259773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c2e191ca8ac4a620d5d3daea5808bcf6.jpg","text":"TemporaryFile(/tmp/multipartBody8159496655223799383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626554217,"filename":"image_25112025_23_43_15_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7d67c02e87cd21018e0f06b02d844cf9.jpg","text":"TemporaryFile(/tmp/multipartBody7680569936223793830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626554217,"filename":"image_25112025_23_43_10_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/1/2f4e85cf4071ace33786f2c96a28f380.jpg","text":"TemporaryFile(/tmp/multipartBody3657172964697717977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626554217,"filename":"image_25112025_23_43_09_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/1/a4e570e6175570e30baa7f5baf441609.jpg","text":"TemporaryFile(/tmp/multipartBody2878983161606144387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626554217,"filename":"image_25112025_23_43_19_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/1/9e15b207386dbdd7519f96909bb40ea4.jpg","text":"TemporaryFile(/tmp/multipartBody6787568172492172813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626554217,"filename":"image_25112025_23_43_17_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/1/ec47e5ffc8ad01d87a9879d08c923b7a.jpg","text":"TemporaryFile(/tmp/multipartBody2462887902054536676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626554217,"filename":"image_25112025_23_43_12_1670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397259769","file1":"1397259765","file0":"1397259762","file4":"1397259772","file5":"1397259773","file3":"1397259771"},"map_files_photo_id_array":[{"photo_id":"1397259773","filename":"file5"},{"photo_id":"1397259769","filename":"file2"},{"photo_id":"1397259772","filename":"file4"},{"photo_id":"1397259765","filename":"file1"},{"photo_id":"1397259762","filename":"file0"},{"photo_id":"1397259771","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397259771":["hashtag1","hashtag2"]},{"1397259765":["hashtag1","hashtag2"]},{"1397259762":["hashtag1","hashtag2"]},{"1397259773":["hashtag1","hashtag2"]},{"1397259772":["hashtag1","hashtag2"]},{"1397259769":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397259771, 1397259765, 1397259762, 1397259773, 1397259772, 1397259769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.425623655319214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 23:02:12.650113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_20_1685.jpg', '/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_22_1789.jpg', '/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_24_1640.jpg', '/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_25_1563.jpg', '/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_27_1672.jpg', '/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_29_1692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_20_1685.jpg
/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_22_1789.jpg
/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_24_1640.jpg
/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_25_1563.jpg
/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_27_1672.jpg
/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_29_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":["1397259791","1397259794","1397259788","1397259785","1397259781","1397259778"],"photo_ids_order":["1397259778","1397259781","1397259785","1397259788","1397259791","1397259794"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1d478df85221e61d1770780e16ef9f51.jpg","text":"TemporaryFile(/tmp/multipartBody4298594380772342205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626594214,"filename":"image_25112025_23_43_27_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/1/eb72fea63c1dc9ad69629463f7c55828.jpg","text":"TemporaryFile(/tmp/multipartBody6197224915416220330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626594214,"filename":"image_25112025_23_43_29_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/1/f883f9951058889552931ff7e9c7f146.jpg","text":"TemporaryFile(/tmp/multipartBody1188031542628954716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626594214,"filename":"image_25112025_23_43_25_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/1/ac4741c75ff5ab4e0b01c3f7510a38cc.jpg","text":"TemporaryFile(/tmp/multipartBody3651501604086029549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626594214,"filename":"image_25112025_23_43_24_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/1/f2f404958ac7016fe92ef528086e790b.jpg","text":"TemporaryFile(/tmp/multipartBody7787444256226851990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626594214,"filename":"image_25112025_23_43_22_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/1/3fbd02e3aa3baf6428bdf09ffb126766.jpg","text":"TemporaryFile(/tmp/multipartBody695952201116858258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626594214,"filename":"image_25112025_23_43_20_1685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397259785","file1":"1397259781","file0":"1397259778","file4":"1397259791","file5":"1397259794","file3":"1397259788"},"map_files_photo_id_array":[{"photo_id":"1397259794","filename":"file5"},{"photo_id":"1397259785","filename":"file2"},{"photo_id":"1397259791","filename":"file4"},{"photo_id":"1397259781","filename":"file1"},{"photo_id":"1397259778","filename":"file0"},{"photo_id":"1397259788","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397259791":["hashtag1","hashtag2"]},{"1397259794":["hashtag1","hashtag2"]},{"1397259788":["hashtag1","hashtag2"]},{"1397259785":["hashtag1","hashtag2"]},{"1397259781":["hashtag1","hashtag2"]},{"1397259778":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397259791, 1397259794, 1397259788, 1397259785, 1397259781, 1397259778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.836928367614746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 23:03:02.390225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/38/image_01122025_19_38_44_9748.jpg', '/home/pi/Desktop/images/01122025/19/38/image_01122025_19_38_55_10784.jpg', '/home/pi/Desktop/images/01122025/19/38/image_01122025_19_39_05_9716.jpg', '/home/pi/Desktop/images/01122025/19/39/image_01122025_19_39_15_9801.jpg', '/home/pi/Desktop/images/01122025/19/39/image_01122025_19_39_35_10720.jpg', '/home/pi/Desktop/images/01122025/19/39/image_01122025_19_39_45_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/38/image_01122025_19_38_44_9748.jpg
/home/pi/Desktop/images/01122025/19/38/image_01122025_19_38_55_10784.jpg
/home/pi/Desktop/images/01122025/19/38/image_01122025_19_39_05_9716.jpg
/home/pi/Desktop/images/01122025/19/39/image_01122025_19_39_15_9801.jpg
/home/pi/Desktop/images/01122025/19/39/image_01122025_19_39_35_10720.jpg
/home/pi/Desktop/images/01122025/19/39/image_01122025_19_39_45_9710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397259798","1397259807","1397259801","1397259804","1397259815","1397259811"],"photo_ids_order":["1397259798","1397259801","1397259804","1397259807","1397259811","1397259815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d8a776549049d2e1552821511ab0818b.jpg","text":"TemporaryFile(/tmp/multipartBody1744008093890924601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626643278,"filename":"image_01122025_19_38_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/1/87558f0aaceb4dcd744e07441f0eb009.jpg","text":"TemporaryFile(/tmp/multipartBody3451857936303069123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626643278,"filename":"image_01122025_19_39_15_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b9ca375c399bdbd59e3aaa041932213a.jpg","text":"TemporaryFile(/tmp/multipartBody1057936301746864614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626643278,"filename":"image_01122025_19_38_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/1/ea90db38788995a58e8e69b46dd95b20.jpg","text":"TemporaryFile(/tmp/multipartBody4407743992826620822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626643278,"filename":"image_01122025_19_39_05_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d4f1045d159720b56a437876b91fdab6.jpg","text":"TemporaryFile(/tmp/multipartBody486886162689319453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626643278,"filename":"image_01122025_19_39_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/1/153c392a4cbc7edfc59949c552348ff2.jpg","text":"TemporaryFile(/tmp/multipartBody4273557675370061500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626643278,"filename":"image_01122025_19_39_35_10720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397259804","file1":"1397259801","file0":"1397259798","file4":"1397259811","file5":"1397259815","file3":"1397259807"},"map_files_photo_id_array":[{"photo_id":"1397259815","filename":"file5"},{"photo_id":"1397259804","filename":"file2"},{"photo_id":"1397259811","filename":"file4"},{"photo_id":"1397259801","filename":"file1"},{"photo_id":"1397259798","filename":"file0"},{"photo_id":"1397259807","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397259798":["hashtag1","hashtag2"]},{"1397259807":["hashtag1","hashtag2"]},{"1397259801":["hashtag1","hashtag2"]},{"1397259804":["hashtag1","hashtag2"]},{"1397259815":["hashtag1","hashtag2"]},{"1397259811":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397259798, 1397259807, 1397259801, 1397259804, 1397259815, 1397259811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23828196525574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 23:03:41.908784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_06_1660.jpg', '/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_07_1726.jpg', '/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_11_1668.jpg', '/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_13_1712.jpg', '/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_14_1705.jpg', '/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_17_2544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_06_1660.jpg
/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_07_1726.jpg
/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_11_1668.jpg
/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_13_1712.jpg
/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_14_1705.jpg
/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_17_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":["1397259831","1397259825","1397259834","1397259822","1397259827","1397259829"],"photo_ids_order":["1397259822","1397259825","1397259827","1397259829","1397259831","1397259834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/703742c16178cffad85563565fea7e4f.jpg","text":"TemporaryFile(/tmp/multipartBody6923704062607472826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626684434,"filename":"image_31102025_15_13_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/1/8882d246ab8a23ba77cb60e80dcab1d9.jpg","text":"TemporaryFile(/tmp/multipartBody931771793972008933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626684434,"filename":"image_31102025_15_13_07_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/1/dfe5603241782a59b00dcc5cf8def00b.jpg","text":"TemporaryFile(/tmp/multipartBody4378179442753537264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626684434,"filename":"image_31102025_15_13_17_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/1/8d48fcf863e7a491199e3f4edae982ca.jpg","text":"TemporaryFile(/tmp/multipartBody1997574567300961984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626684434,"filename":"image_31102025_15_13_06_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/1/e04df5f02e4189689bfcea536f0b5d7a.jpg","text":"TemporaryFile(/tmp/multipartBody4506030625807430818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626684434,"filename":"image_31102025_15_13_11_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/1/570b6ec6c7f871fd014f69736a7099f3.jpg","text":"TemporaryFile(/tmp/multipartBody7308510157454067001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626684434,"filename":"image_31102025_15_13_13_1712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397259827","file1":"1397259825","file0":"1397259822","file4":"1397259831","file5":"1397259834","file3":"1397259829"},"map_files_photo_id_array":[{"photo_id":"1397259834","filename":"file5"},{"photo_id":"1397259827","filename":"file2"},{"photo_id":"1397259831","filename":"file4"},{"photo_id":"1397259825","filename":"file1"},{"photo_id":"1397259822","filename":"file0"},{"photo_id":"1397259829","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397259831":["hashtag1","hashtag2"]},{"1397259825":["hashtag1","hashtag2"]},{"1397259834":["hashtag1","hashtag2"]},{"1397259822":["hashtag1","hashtag2"]},{"1397259827":["hashtag1","hashtag2"]},{"1397259829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397259831, 1397259825, 1397259834, 1397259822, 1397259827, 1397259829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.04255247116089 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 23:04:22.061943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/39/image_01122025_19_39_55_10033.jpg', '/home/pi/Desktop/images/01122025/19/39/image_01122025_19_40_05_9708.jpg', '/home/pi/Desktop/images/01122025/19/40/image_01122025_19_40_15_9894.jpg', '/home/pi/Desktop/images/01122025/19/40/image_01122025_19_40_25_10764.jpg', '/home/pi/Desktop/images/01122025/19/40/image_01122025_19_40_35_9683.jpg', '/home/pi/Desktop/images/01122025/19/40/image_01122025_19_40_45_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/39/image_01122025_19_39_55_10033.jpg
/home/pi/Desktop/images/01122025/19/39/image_01122025_19_40_05_9708.jpg
/home/pi/Desktop/images/01122025/19/40/image_01122025_19_40_15_9894.jpg
/home/pi/Desktop/images/01122025/19/40/image_01122025_19_40_25_10764.jpg
/home/pi/Desktop/images/01122025/19/40/image_01122025_19_40_35_9683.jpg
/home/pi/Desktop/images/01122025/19/40/image_01122025_19_40_45_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":["1397259849","1397259854","1397259857","1397259851","1397259839","1397259844"],"photo_ids_order":["1397259839","1397259844","1397259849","1397259851","1397259854","1397259857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3240ff47126288e3b5677e748a9c51a3.jpg","text":"TemporaryFile(/tmp/multipartBody6913119097736679306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626722842,"filename":"image_01122025_19_40_15_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/1/02474069b259479dff5e2d2bba3d888c.jpg","text":"TemporaryFile(/tmp/multipartBody9078857360495550180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626722842,"filename":"image_01122025_19_40_35_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/aeaec532dd14984bd8f4e018293faa75.jpg","text":"TemporaryFile(/tmp/multipartBody7573382511170720776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626722842,"filename":"image_01122025_19_40_45_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d03e10a3e1292ba98002883881d41452.jpg","text":"TemporaryFile(/tmp/multipartBody968859628384474895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626722842,"filename":"image_01122025_19_40_25_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/1/9fa3f4751a52fdf499716d7c86dbe905.jpg","text":"TemporaryFile(/tmp/multipartBody14114915033026666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626722842,"filename":"image_01122025_19_39_55_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/1/8472e0c2d7cd799db0c6618d5283e6dc.jpg","text":"TemporaryFile(/tmp/multipartBody1170480836936717512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626722842,"filename":"image_01122025_19_40_05_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397259849","file1":"1397259844","file0":"1397259839","file4":"1397259854","file5":"1397259857","file3":"1397259851"},"map_files_photo_id_array":[{"photo_id":"1397259857","filename":"file5"},{"photo_id":"1397259849","filename":"file2"},{"photo_id":"1397259854","filename":"file4"},{"photo_id":"1397259844","filename":"file1"},{"photo_id":"1397259839","filename":"file0"},{"photo_id":"1397259851","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397259849":["hashtag1","hashtag2"]},{"1397259854":["hashtag1","hashtag2"]},{"1397259857":["hashtag1","hashtag2"]},{"1397259851":["hashtag1","hashtag2"]},{"1397259839":["hashtag1","hashtag2"]},{"1397259844":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397259849, 1397259854, 1397259857, 1397259851, 1397259839, 1397259844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54617476463318 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 23:05:03.036575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/41/image_01122025_19_41_15_9693.jpg', '/home/pi/Desktop/images/01122025/19/41/image_01122025_19_41_25_10632.jpg', '/home/pi/Desktop/images/01122025/19/41/image_01122025_19_41_35_9829.jpg', '/home/pi/Desktop/images/01122025/19/42/image_01122025_19_42_45_10776.jpg', '/home/pi/Desktop/images/01122025/19/42/image_01122025_19_42_55_9686.jpg', '/home/pi/Desktop/images/01122025/19/42/image_01122025_19_43_05_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/41/image_01122025_19_41_15_9693.jpg
/home/pi/Desktop/images/01122025/19/41/image_01122025_19_41_25_10632.jpg
/home/pi/Desktop/images/01122025/19/41/image_01122025_19_41_35_9829.jpg
/home/pi/Desktop/images/01122025/19/42/image_01122025_19_42_45_10776.jpg
/home/pi/Desktop/images/01122025/19/42/image_01122025_19_42_55_9686.jpg
/home/pi/Desktop/images/01122025/19/42/image_01122025_19_43_05_9733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397259861","1397259869","1397259863","1397259871","1397259865","1397259859"],"photo_ids_order":["1397259859","1397259861","1397259863","1397259865","1397259869","1397259871"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1ede37c106ec355b6fa49748ca06a600.jpg","text":"TemporaryFile(/tmp/multipartBody7915147584303531559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626763868,"filename":"image_01122025_19_41_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/1/3deeccff95f363d11120b446fdb092b3.jpg","text":"TemporaryFile(/tmp/multipartBody5335124117352018374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626763868,"filename":"image_01122025_19_42_55_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d3799de118297cb659e09ab139093f64.jpg","text":"TemporaryFile(/tmp/multipartBody2442184141251250858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626763868,"filename":"image_01122025_19_41_35_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3a31848da8e4d9b3585237a012f699fc.jpg","text":"TemporaryFile(/tmp/multipartBody1811969169803131334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626763868,"filename":"image_01122025_19_43_05_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f25310329ca79d501b275316f7468837.jpg","text":"TemporaryFile(/tmp/multipartBody3344430543926418133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626763868,"filename":"image_01122025_19_42_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/1/7c67800efba9c85f714c03e7153b4380.jpg","text":"TemporaryFile(/tmp/multipartBody2875671177877228277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626763868,"filename":"image_01122025_19_41_15_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397259863","file1":"1397259861","file0":"1397259859","file4":"1397259869","file5":"1397259871","file3":"1397259865"},"map_files_photo_id_array":[{"photo_id":"1397259871","filename":"file5"},{"photo_id":"1397259863","filename":"file2"},{"photo_id":"1397259869","filename":"file4"},{"photo_id":"1397259861","filename":"file1"},{"photo_id":"1397259859","filename":"file0"},{"photo_id":"1397259865","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397259861":["hashtag1","hashtag2"]},{"1397259869":["hashtag1","hashtag2"]},{"1397259863":["hashtag1","hashtag2"]},{"1397259871":["hashtag1","hashtag2"]},{"1397259865":["hashtag1","hashtag2"]},{"1397259859":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397259861, 1397259869, 1397259863, 1397259871, 1397259865, 1397259859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.90580153465271 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 23:06:02.992151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/43/image_01122025_19_43_15_10640.jpg', '/home/pi/Desktop/images/01122025/19/43/image_01122025_19_43_25_9677.jpg', '/home/pi/Desktop/images/01122025/19/43/image_01122025_19_43_35_9847.jpg', '/home/pi/Desktop/images/01122025/19/43/image_01122025_19_43_45_9725.jpg', '/home/pi/Desktop/images/01122025/19/43/image_01122025_19_44_05_9614.jpg', '/home/pi/Desktop/images/01122025/19/44/image_01122025_19_44_25_10755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/43/image_01122025_19_43_15_10640.jpg
/home/pi/Desktop/images/01122025/19/43/image_01122025_19_43_25_9677.jpg
/home/pi/Desktop/images/01122025/19/43/image_01122025_19_43_35_9847.jpg
/home/pi/Desktop/images/01122025/19/43/image_01122025_19_43_45_9725.jpg
/home/pi/Desktop/images/01122025/19/43/image_01122025_19_44_05_9614.jpg
/home/pi/Desktop/images/01122025/19/44/image_01122025_19_44_25_10755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397259907","1397259909","1397259918","1397259905","1397259914","1397259902"],"photo_ids_order":["1397259902","1397259905","1397259907","1397259909","1397259914","1397259918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d79ae2bf4bd5c8144696811db7bf4eab.jpg","text":"TemporaryFile(/tmp/multipartBody2292440184526387313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626823762,"filename":"image_01122025_19_43_35_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/1/0d97a6643246b0fefe7859ec0d1740ac.jpg","text":"TemporaryFile(/tmp/multipartBody8397945872653277484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626823762,"filename":"image_01122025_19_43_45_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f908dabf8dfc3abeebc1ede9803d4848.jpg","text":"TemporaryFile(/tmp/multipartBody9083132399840007165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626823762,"filename":"image_01122025_19_44_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/1/1d4b8a13e430d95ed54a6bc43272f793.jpg","text":"TemporaryFile(/tmp/multipartBody1509106886707130584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626823762,"filename":"image_01122025_19_43_25_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/651129b39e38bfdfa4099f90ebcb5f98.jpg","text":"TemporaryFile(/tmp/multipartBody1747887863341726488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626823762,"filename":"image_01122025_19_44_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/1/d5af5780b5ec8cecbd48ec21a7ac4d6a.jpg","text":"TemporaryFile(/tmp/multipartBody5111230641920455615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626823762,"filename":"image_01122025_19_43_15_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397259907","file1":"1397259905","file0":"1397259902","file4":"1397259914","file5":"1397259918","file3":"1397259909"},"map_files_photo_id_array":[{"photo_id":"1397259918","filename":"file5"},{"photo_id":"1397259907","filename":"file2"},{"photo_id":"1397259914","filename":"file4"},{"photo_id":"1397259905","filename":"file1"},{"photo_id":"1397259902","filename":"file0"},{"photo_id":"1397259909","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397259907":["hashtag1","hashtag2"]},{"1397259909":["hashtag1","hashtag2"]},{"1397259918":["hashtag1","hashtag2"]},{"1397259905":["hashtag1","hashtag2"]},{"1397259914":["hashtag1","hashtag2"]},{"1397259902":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397259907, 1397259909, 1397259918, 1397259905, 1397259914, 1397259902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.417524099349976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 23:06:42.545202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_20_2830.jpg', '/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_25_2584.jpg', '/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_30_4865.jpg', '/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_33_2712.jpg', '/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_34_1533.jpg', '/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_38_3616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_20_2830.jpg
/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_25_2584.jpg
/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_30_4865.jpg
/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_33_2712.jpg
/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_34_1533.jpg
/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_38_3616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397259990","1397259930","1397259927","1397259929","1397259928","1397259925"],"photo_ids_order":["1397259925","1397259927","1397259928","1397259929","1397259930","1397259990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ada8f1622781805cb7fbd614bec636d6.jpg","text":"TemporaryFile(/tmp/multipartBody6271629327853872328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626865084,"filename":"image_31102025_15_13_38_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d105f0fea4de87ab584cbdc91df4c7c8.jpg","text":"TemporaryFile(/tmp/multipartBody1600458222333034729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626865084,"filename":"image_31102025_15_13_34_1533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a6665ea6d8e9025acd35760dd9365706.jpg","text":"TemporaryFile(/tmp/multipartBody466859327099256253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626865084,"filename":"image_31102025_15_13_25_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/69e451533306b990878d095ce14a61f7.jpg","text":"TemporaryFile(/tmp/multipartBody6110187423011002157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626865084,"filename":"image_31102025_15_13_33_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/1/949a9cf8bd54223e8064064ceeaeb7e4.jpg","text":"TemporaryFile(/tmp/multipartBody4493020909580977388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626865084,"filename":"image_31102025_15_13_30_4865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/98e92b62969ab80ad4b004a9f947b8ee.jpg","text":"TemporaryFile(/tmp/multipartBody4914412898249755227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626865084,"filename":"image_31102025_15_13_20_2830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397259928","file1":"1397259927","file0":"1397259925","file4":"1397259930","file5":"1397259990","file3":"1397259929"},"map_files_photo_id_array":[{"photo_id":"1397259990","filename":"file5"},{"photo_id":"1397259928","filename":"file2"},{"photo_id":"1397259930","filename":"file4"},{"photo_id":"1397259927","filename":"file1"},{"photo_id":"1397259925","filename":"file0"},{"photo_id":"1397259929","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397259990":["hashtag1","hashtag2"]},{"1397259930":["hashtag1","hashtag2"]},{"1397259927":["hashtag1","hashtag2"]},{"1397259929":["hashtag1","hashtag2"]},{"1397259928":["hashtag1","hashtag2"]},{"1397259925":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397259990, 1397259930, 1397259927, 1397259929, 1397259928, 1397259925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2732892036438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 23:07:22.732242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/44/image_01122025_19_44_35_9714.jpg', '/home/pi/Desktop/images/01122025/19/44/image_01122025_19_45_05_10880.jpg', '/home/pi/Desktop/images/01122025/19/45/image_01122025_19_45_25_9690.jpg', '/home/pi/Desktop/images/01122025/19/45/image_01122025_19_45_45_9773.jpg', '/home/pi/Desktop/images/01122025/19/45/image_01122025_19_45_55_9797.jpg', '/home/pi/Desktop/images/01122025/19/46/image_01122025_19_47_05_10715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/44/image_01122025_19_44_35_9714.jpg
/home/pi/Desktop/images/01122025/19/44/image_01122025_19_45_05_10880.jpg
/home/pi/Desktop/images/01122025/19/45/image_01122025_19_45_25_9690.jpg
/home/pi/Desktop/images/01122025/19/45/image_01122025_19_45_45_9773.jpg
/home/pi/Desktop/images/01122025/19/45/image_01122025_19_45_55_9797.jpg
/home/pi/Desktop/images/01122025/19/46/image_01122025_19_47_05_10715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397260059","1397260061","1397260055","1397260049","1397260052","1397260046"],"photo_ids_order":["1397260046","1397260049","1397260052","1397260055","1397260059","1397260061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3f11bef5f40d7fa6032a971644a59cb6.jpg","text":"TemporaryFile(/tmp/multipartBody5008907580140654803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626903473,"filename":"image_01122025_19_45_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/1/5ed072d0758141f2f8defa5108dd80ae.jpg","text":"TemporaryFile(/tmp/multipartBody8521582089614003426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626903473,"filename":"image_01122025_19_47_05_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c4b2d6efa4e819231383cda45b3e1b5f.jpg","text":"TemporaryFile(/tmp/multipartBody2867489340937371486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626903473,"filename":"image_01122025_19_45_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/1/bd4b895d29192002b75217513f30a0c8.jpg","text":"TemporaryFile(/tmp/multipartBody7030583741306670824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626903473,"filename":"image_01122025_19_45_05_10880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b21c5821772d2cb39fa7f55f07b269af.jpg","text":"TemporaryFile(/tmp/multipartBody3819737943667691240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626903473,"filename":"image_01122025_19_45_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/1/6ef1e04f4b9dfed36262010c2fe4b79b.jpg","text":"TemporaryFile(/tmp/multipartBody6138368399128510488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626903473,"filename":"image_01122025_19_44_35_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397260052","file1":"1397260049","file0":"1397260046","file4":"1397260059","file5":"1397260061","file3":"1397260055"},"map_files_photo_id_array":[{"photo_id":"1397260061","filename":"file5"},{"photo_id":"1397260052","filename":"file2"},{"photo_id":"1397260059","filename":"file4"},{"photo_id":"1397260049","filename":"file1"},{"photo_id":"1397260046","filename":"file0"},{"photo_id":"1397260055","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397260059":["hashtag1","hashtag2"]},{"1397260061":["hashtag1","hashtag2"]},{"1397260055":["hashtag1","hashtag2"]},{"1397260049":["hashtag1","hashtag2"]},{"1397260052":["hashtag1","hashtag2"]},{"1397260046":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397260059, 1397260061, 1397260055, 1397260049, 1397260052, 1397260046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07394886016846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 23:08:11.938760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_30_1549.jpg', '/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_32_1588.jpg', '/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_34_1667.jpg', '/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_35_1618.jpg', '/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_43_7488.jpg', '/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_44_1578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_30_1549.jpg
/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_32_1588.jpg
/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_34_1667.jpg
/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_35_1618.jpg
/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_43_7488.jpg
/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_44_1578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397260075","1397260071","1397260064","1397260081","1397260078","1397260066"],"photo_ids_order":["1397260064","1397260066","1397260071","1397260075","1397260078","1397260081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b05477cc98ed16673ae94993ba6c2ac0.jpg","text":"TemporaryFile(/tmp/multipartBody4632233538818837508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626953338,"filename":"image_25112025_23_43_35_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/1/4580cf909fc3a77e6d544035f0f40eee.jpg","text":"TemporaryFile(/tmp/multipartBody419655548107102782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626953338,"filename":"image_25112025_23_43_34_1667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a29bf42ce772635f471944ac11cc8aee.jpg","text":"TemporaryFile(/tmp/multipartBody7359766834207349856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626953338,"filename":"image_25112025_23_43_30_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/1/3e3736bc5b75d90856636ccaa6d0a3d9.jpg","text":"TemporaryFile(/tmp/multipartBody8601963590298870717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626953338,"filename":"image_25112025_23_43_44_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0b0f51866f60d4c42f4b9531f8ce19d2.jpg","text":"TemporaryFile(/tmp/multipartBody5626672877983412419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626953338,"filename":"image_25112025_23_43_43_7488.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/da3b2b57ab86df2201f08822477b7403.jpg","text":"TemporaryFile(/tmp/multipartBody2078634108858531480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764626953338,"filename":"image_25112025_23_43_32_1588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397260071","file1":"1397260066","file0":"1397260064","file4":"1397260078","file5":"1397260081","file3":"1397260075"},"map_files_photo_id_array":[{"photo_id":"1397260081","filename":"file5"},{"photo_id":"1397260071","filename":"file2"},{"photo_id":"1397260078","filename":"file4"},{"photo_id":"1397260066","filename":"file1"},{"photo_id":"1397260064","filename":"file0"},{"photo_id":"1397260075","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397260075":["hashtag1","hashtag2"]},{"1397260071":["hashtag1","hashtag2"]},{"1397260064":["hashtag1","hashtag2"]},{"1397260081":["hashtag1","hashtag2"]},{"1397260078":["hashtag1","hashtag2"]},{"1397260066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397260075, 1397260071, 1397260064, 1397260081, 1397260078, 1397260066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13073515892029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 23:09:03.178699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/47/image_01122025_19_47_34_9860.jpg', '/home/pi/Desktop/images/01122025/19/47/image_01122025_19_47_45_10611.jpg', '/home/pi/Desktop/images/01122025/19/47/image_01122025_19_47_55_9680.jpg', '/home/pi/Desktop/images/01122025/19/48/image_01122025_19_48_15_10829.jpg', '/home/pi/Desktop/images/01122025/19/48/image_01122025_19_48_25_9813.jpg', '/home/pi/Desktop/images/01122025/19/48/image_01122025_19_48_55_10733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/47/image_01122025_19_47_34_9860.jpg
/home/pi/Desktop/images/01122025/19/47/image_01122025_19_47_45_10611.jpg
/home/pi/Desktop/images/01122025/19/47/image_01122025_19_47_55_9680.jpg
/home/pi/Desktop/images/01122025/19/48/image_01122025_19_48_15_10829.jpg
/home/pi/Desktop/images/01122025/19/48/image_01122025_19_48_25_9813.jpg
/home/pi/Desktop/images/01122025/19/48/image_01122025_19_48_55_10733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397260102","1397260089","1397260098","1397260091","1397260093","1397260087"],"photo_ids_order":["1397260087","1397260089","1397260091","1397260093","1397260098","1397260102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9f2668610b607ffb87973375caa2b3fe.jpg","text":"TemporaryFile(/tmp/multipartBody8504455402789609789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627004066,"filename":"image_01122025_19_48_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/1/75fdd233f6ac307177872a1edbffc940.jpg","text":"TemporaryFile(/tmp/multipartBody4485746690829493249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627004066,"filename":"image_01122025_19_47_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/1/b592360e936784e98977169ff9ad9568.jpg","text":"TemporaryFile(/tmp/multipartBody4997060832709809614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627004066,"filename":"image_01122025_19_48_25_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/fb049d69fe471316a7cb3e51bac0d31e.jpg","text":"TemporaryFile(/tmp/multipartBody1020988627189712997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627004066,"filename":"image_01122025_19_47_55_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f6b906ecf6e37f96b43e4ea7d6bc2e8d.jpg","text":"TemporaryFile(/tmp/multipartBody5156005077006176927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627004066,"filename":"image_01122025_19_48_15_10829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3f91a837f5d8bd8df6dabd6fecb8435e.jpg","text":"TemporaryFile(/tmp/multipartBody1517356869449581864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627004066,"filename":"image_01122025_19_47_34_9860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397260091","file1":"1397260089","file0":"1397260087","file4":"1397260098","file5":"1397260102","file3":"1397260093"},"map_files_photo_id_array":[{"photo_id":"1397260102","filename":"file5"},{"photo_id":"1397260091","filename":"file2"},{"photo_id":"1397260098","filename":"file4"},{"photo_id":"1397260089","filename":"file1"},{"photo_id":"1397260087","filename":"file0"},{"photo_id":"1397260093","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397260102":["hashtag1","hashtag2"]},{"1397260089":["hashtag1","hashtag2"]},{"1397260098":["hashtag1","hashtag2"]},{"1397260091":["hashtag1","hashtag2"]},{"1397260093":["hashtag1","hashtag2"]},{"1397260087":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397260102, 1397260089, 1397260098, 1397260091, 1397260093, 1397260087)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.39392566680908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 23:10:02.658724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/49/image_01122025_19_49_15_9664.jpg', '/home/pi/Desktop/images/01122025/19/49/image_01122025_19_49_45_9663.jpg', '/home/pi/Desktop/images/01122025/19/49/image_01122025_19_49_55_9846.jpg', '/home/pi/Desktop/images/01122025/19/49/image_01122025_19_50_05_9865.jpg', '/home/pi/Desktop/images/01122025/19/50/image_01122025_19_50_15_10735.jpg', '/home/pi/Desktop/images/01122025/19/50/image_01122025_19_50_25_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/49/image_01122025_19_49_15_9664.jpg
/home/pi/Desktop/images/01122025/19/49/image_01122025_19_49_45_9663.jpg
/home/pi/Desktop/images/01122025/19/49/image_01122025_19_49_55_9846.jpg
/home/pi/Desktop/images/01122025/19/49/image_01122025_19_50_05_9865.jpg
/home/pi/Desktop/images/01122025/19/50/image_01122025_19_50_15_10735.jpg
/home/pi/Desktop/images/01122025/19/50/image_01122025_19_50_25_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":["1397260114","1397260123","1397260119","1397260110","1397260116","1397260112"],"photo_ids_order":["1397260110","1397260112","1397260114","1397260116","1397260119","1397260123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9a4e18e1956d1fc9058112a06295aba9.jpg","text":"TemporaryFile(/tmp/multipartBody4970084166495895912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627063443,"filename":"image_01122025_19_49_55_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7dc97a6e3e1069a4012b52164dc46e35.jpg","text":"TemporaryFile(/tmp/multipartBody3649840124916084377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627063443,"filename":"image_01122025_19_50_25_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/1/c9e7d354e492c110b005a191966f7e6c.jpg","text":"TemporaryFile(/tmp/multipartBody8109291504807653680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627063443,"filename":"image_01122025_19_50_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/1/0972007344315460fcf6cb2367bd32cc.jpg","text":"TemporaryFile(/tmp/multipartBody3035478641267472150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627063443,"filename":"image_01122025_19_49_15_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/08708a31cc02863396a5ebcf3cb23c0b.jpg","text":"TemporaryFile(/tmp/multipartBody8866253662551681131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627063443,"filename":"image_01122025_19_50_05_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/24493ac07557a2dbf79a2c2e81ef93f7.jpg","text":"TemporaryFile(/tmp/multipartBody4555704036240266428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627063443,"filename":"image_01122025_19_49_45_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397260114","file1":"1397260112","file0":"1397260110","file4":"1397260119","file5":"1397260123","file3":"1397260116"},"map_files_photo_id_array":[{"photo_id":"1397260123","filename":"file5"},{"photo_id":"1397260114","filename":"file2"},{"photo_id":"1397260119","filename":"file4"},{"photo_id":"1397260112","filename":"file1"},{"photo_id":"1397260110","filename":"file0"},{"photo_id":"1397260116","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397260114":["hashtag1","hashtag2"]},{"1397260123":["hashtag1","hashtag2"]},{"1397260119":["hashtag1","hashtag2"]},{"1397260110":["hashtag1","hashtag2"]},{"1397260116":["hashtag1","hashtag2"]},{"1397260112":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397260114, 1397260123, 1397260119, 1397260110, 1397260116, 1397260112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.194931983947754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 23:10:42.303384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_41_3017.jpg', '/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_43_2601.jpg', '/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_47_3203.jpg', '/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_52_2704.jpg', '/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_58_2768.jpg', '/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_06_3089.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_41_3017.jpg
/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_43_2601.jpg
/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_47_3203.jpg
/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_52_2704.jpg
/home/pi/Desktop/images/31102025/15/13/image_31102025_15_13_58_2768.jpg
/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_06_3089.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397260138","1397260137","1397260140","1397260134","1397260136","1397260139"],"photo_ids_order":["1397260134","1397260136","1397260137","1397260138","1397260139","1397260140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a354826b18cf0dd7a4dc852658fe5a65.jpg","text":"TemporaryFile(/tmp/multipartBody6908631413730286928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627104848,"filename":"image_31102025_15_13_52_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5162ce707a435f4b392310df479ebcaf.jpg","text":"TemporaryFile(/tmp/multipartBody7671468702821270510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627104848,"filename":"image_31102025_15_13_47_3203.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/03ff7a024ab08d52c90bd94f8ec77d8b.jpg","text":"TemporaryFile(/tmp/multipartBody6962586549234240632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627104848,"filename":"image_31102025_15_14_06_3089.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/07fca997017e5d42aba1361282062950.jpg","text":"TemporaryFile(/tmp/multipartBody9116378360593769921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627104848,"filename":"image_31102025_15_13_41_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1371f64b1021d9055ece1df7d28cd4dc.jpg","text":"TemporaryFile(/tmp/multipartBody5071736087558221768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627104848,"filename":"image_31102025_15_13_43_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/1/2c8932c34a9c7f08abdd395562b23fd9.jpg","text":"TemporaryFile(/tmp/multipartBody8735826695531581180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627104848,"filename":"image_31102025_15_13_58_2768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397260137","file1":"1397260136","file0":"1397260134","file4":"1397260139","file5":"1397260140","file3":"1397260138"},"map_files_photo_id_array":[{"photo_id":"1397260140","filename":"file5"},{"photo_id":"1397260137","filename":"file2"},{"photo_id":"1397260139","filename":"file4"},{"photo_id":"1397260136","filename":"file1"},{"photo_id":"1397260134","filename":"file0"},{"photo_id":"1397260138","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397260138":["hashtag1","hashtag2"]},{"1397260137":["hashtag1","hashtag2"]},{"1397260140":["hashtag1","hashtag2"]},{"1397260134":["hashtag1","hashtag2"]},{"1397260136":["hashtag1","hashtag2"]},{"1397260139":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397260138, 1397260137, 1397260140, 1397260134, 1397260136, 1397260139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.45338034629822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 23:11:32.550555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_48_1674.jpg', '/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_49_1688.jpg', '/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_51_1710.jpg', '/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_52_1561.jpg', '/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_54_1773.jpg', '/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_56_1688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_48_1674.jpg
/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_49_1688.jpg
/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_51_1710.jpg
/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_52_1561.jpg
/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_54_1773.jpg
/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_56_1688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397260161","1397260155","1397260158","1397260148","1397260157","1397260151"],"photo_ids_order":["1397260148","1397260151","1397260155","1397260157","1397260158","1397260161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6bb745a9fc8445fad0c7df39de793cb0.jpg","text":"TemporaryFile(/tmp/multipartBody6837754801351999806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627154249,"filename":"image_25112025_23_43_56_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/1/5ccef3b06f0851d25b8db3c9693ea8ec.jpg","text":"TemporaryFile(/tmp/multipartBody41493617159048415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627154249,"filename":"image_25112025_23_43_51_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/1/6465e113dfae862c473b14b59f562152.jpg","text":"TemporaryFile(/tmp/multipartBody6106504849983876877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627154249,"filename":"image_25112025_23_43_54_1773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/14c395add16b0e2578e62b8e186b8e4a.jpg","text":"TemporaryFile(/tmp/multipartBody127437608214768229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627154249,"filename":"image_25112025_23_43_48_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/1/e8f79210f25fb6a9c62514c9c1d844b3.jpg","text":"TemporaryFile(/tmp/multipartBody5324532599093302056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627154249,"filename":"image_25112025_23_43_52_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/1/f02b5664fd44eee92ac1f771330876e3.jpg","text":"TemporaryFile(/tmp/multipartBody2220379167781399189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627154249,"filename":"image_25112025_23_43_49_1688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397260155","file1":"1397260151","file0":"1397260148","file4":"1397260158","file5":"1397260161","file3":"1397260157"},"map_files_photo_id_array":[{"photo_id":"1397260161","filename":"file5"},{"photo_id":"1397260155","filename":"file2"},{"photo_id":"1397260158","filename":"file4"},{"photo_id":"1397260151","filename":"file1"},{"photo_id":"1397260148","filename":"file0"},{"photo_id":"1397260157","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397260161":["hashtag1","hashtag2"]},{"1397260155":["hashtag1","hashtag2"]},{"1397260158":["hashtag1","hashtag2"]},{"1397260148":["hashtag1","hashtag2"]},{"1397260157":["hashtag1","hashtag2"]},{"1397260151":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397260161, 1397260155, 1397260158, 1397260148, 1397260157, 1397260151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.877434730529785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 23:12:12.561103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_57_1560.jpg', '/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_59_1623.jpg', '/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_02_2649.jpg', '/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_05_3647.jpg', '/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_12_3637.jpg', '/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_14_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_57_1560.jpg
/home/pi/Desktop/images/25112025/23/43/image_25112025_23_43_59_1623.jpg
/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_02_2649.jpg
/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_05_3647.jpg
/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_12_3637.jpg
/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_14_2685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397260188","1397260184","1397260178","1397260172","1397260195","1397260192"],"photo_ids_order":["1397260172","1397260178","1397260184","1397260188","1397260192","1397260195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/70d1ffe131cc765dd6ca33ecab456f6d.jpg","text":"TemporaryFile(/tmp/multipartBody7919497992274448384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627194165,"filename":"image_25112025_23_44_05_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/90fd92efcda2da8ad3aa246561d56e29.jpg","text":"TemporaryFile(/tmp/multipartBody9165898503785274325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627194165,"filename":"image_25112025_23_44_02_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7bc9461be086587954c910d494539f9f.jpg","text":"TemporaryFile(/tmp/multipartBody255488219450014285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627194165,"filename":"image_25112025_23_43_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/1/7414971118c953f85fd8f2b4e9ee4eda.jpg","text":"TemporaryFile(/tmp/multipartBody693516973755030318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627194165,"filename":"image_25112025_23_43_57_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/1/55916887879b641bb6bc6e5a2ad89d42.jpg","text":"TemporaryFile(/tmp/multipartBody4743946906717904243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627194165,"filename":"image_25112025_23_44_14_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/acc84b1f61e6b66e74190ba19d337122.jpg","text":"TemporaryFile(/tmp/multipartBody1325246949744166996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627194165,"filename":"image_25112025_23_44_12_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397260184","file1":"1397260178","file0":"1397260172","file4":"1397260192","file5":"1397260195","file3":"1397260188"},"map_files_photo_id_array":[{"photo_id":"1397260195","filename":"file5"},{"photo_id":"1397260184","filename":"file2"},{"photo_id":"1397260192","filename":"file4"},{"photo_id":"1397260178","filename":"file1"},{"photo_id":"1397260172","filename":"file0"},{"photo_id":"1397260188","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397260188":["hashtag1","hashtag2"]},{"1397260184":["hashtag1","hashtag2"]},{"1397260178":["hashtag1","hashtag2"]},{"1397260172":["hashtag1","hashtag2"]},{"1397260195":["hashtag1","hashtag2"]},{"1397260192":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397260188, 1397260184, 1397260178, 1397260172, 1397260195, 1397260192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.010221004486084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 23:13:02.489414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/50/image_01122025_19_50_35_9734.jpg', '/home/pi/Desktop/images/01122025/19/50/image_01122025_19_50_45_9886.jpg', '/home/pi/Desktop/images/01122025/19/50/image_01122025_19_50_55_10689.jpg', '/home/pi/Desktop/images/01122025/19/51/image_01122025_19_51_15_9692.jpg', '/home/pi/Desktop/images/01122025/19/51/image_01122025_19_51_25_10764.jpg', '/home/pi/Desktop/images/01122025/19/51/image_01122025_19_51_35_9845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/50/image_01122025_19_50_35_9734.jpg
/home/pi/Desktop/images/01122025/19/50/image_01122025_19_50_45_9886.jpg
/home/pi/Desktop/images/01122025/19/50/image_01122025_19_50_55_10689.jpg
/home/pi/Desktop/images/01122025/19/51/image_01122025_19_51_15_9692.jpg
/home/pi/Desktop/images/01122025/19/51/image_01122025_19_51_25_10764.jpg
/home/pi/Desktop/images/01122025/19/51/image_01122025_19_51_35_9845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397260273","1397260201","1397260281","1397260277","1397260271","1397260285"],"photo_ids_order":["1397260201","1397260271","1397260273","1397260277","1397260281","1397260285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6a476f5cd6f7faff4c722e3ac6f20a53.jpg","text":"TemporaryFile(/tmp/multipartBody911344191477745827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627244519,"filename":"image_01122025_19_50_55_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e7c0bc66cb546e389e9cc42fb01709b2.jpg","text":"TemporaryFile(/tmp/multipartBody7103584036753902985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627244519,"filename":"image_01122025_19_50_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/1/726d09368dd1cc9c212951fcc217b429.jpg","text":"TemporaryFile(/tmp/multipartBody7910468742564042288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627244519,"filename":"image_01122025_19_51_25_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/1/2d1126e14a1894dfd2ce624d71f7da09.jpg","text":"TemporaryFile(/tmp/multipartBody6294043980229408215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627244519,"filename":"image_01122025_19_51_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/1/a3f60e81910463e14fe5d3778d8074a5.jpg","text":"TemporaryFile(/tmp/multipartBody3930369442730816046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627244519,"filename":"image_01122025_19_50_45_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/1/df79c83aba4733eff2da1ac564f69093.jpg","text":"TemporaryFile(/tmp/multipartBody2334821867000349601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627244519,"filename":"image_01122025_19_51_35_9845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397260273","file1":"1397260271","file0":"1397260201","file4":"1397260281","file5":"1397260285","file3":"1397260277"},"map_files_photo_id_array":[{"photo_id":"1397260285","filename":"file5"},{"photo_id":"1397260273","filename":"file2"},{"photo_id":"1397260281","filename":"file4"},{"photo_id":"1397260271","filename":"file1"},{"photo_id":"1397260201","filename":"file0"},{"photo_id":"1397260277","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397260273":["hashtag1","hashtag2"]},{"1397260201":["hashtag1","hashtag2"]},{"1397260281":["hashtag1","hashtag2"]},{"1397260277":["hashtag1","hashtag2"]},{"1397260271":["hashtag1","hashtag2"]},{"1397260285":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397260273, 1397260201, 1397260281, 1397260277, 1397260271, 1397260285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.81072020530701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 23:14:02.743906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/51/image_01122025_19_51_45_9657.jpg', '/home/pi/Desktop/images/01122025/19/52/image_01122025_19_52_35_9617.jpg', '/home/pi/Desktop/images/01122025/19/52/image_01122025_19_52_55_10738.jpg', '/home/pi/Desktop/images/01122025/19/52/image_01122025_19_53_05_9837.jpg', '/home/pi/Desktop/images/01122025/19/53/image_01122025_19_53_15_9642.jpg', '/home/pi/Desktop/images/01122025/19/53/image_01122025_19_53_25_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/51/image_01122025_19_51_45_9657.jpg
/home/pi/Desktop/images/01122025/19/52/image_01122025_19_52_35_9617.jpg
/home/pi/Desktop/images/01122025/19/52/image_01122025_19_52_55_10738.jpg
/home/pi/Desktop/images/01122025/19/52/image_01122025_19_53_05_9837.jpg
/home/pi/Desktop/images/01122025/19/53/image_01122025_19_53_15_9642.jpg
/home/pi/Desktop/images/01122025/19/53/image_01122025_19_53_25_10663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397260300","1397260293","1397260295","1397260308","1397260298","1397260304"],"photo_ids_order":["1397260293","1397260295","1397260298","1397260300","1397260304","1397260308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/83770a5a26b080079daed55b1f2784db.jpg","text":"TemporaryFile(/tmp/multipartBody2456620805785702858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627303516,"filename":"image_01122025_19_53_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/1/5199db09ce6c0d0df22189e09f8db8f5.jpg","text":"TemporaryFile(/tmp/multipartBody8757919082242072565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627303516,"filename":"image_01122025_19_51_45_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/93f63e9cff46b97465324e2d51c6cb82.jpg","text":"TemporaryFile(/tmp/multipartBody247984243133243459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627303516,"filename":"image_01122025_19_52_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/1/7f1adbf59afe431eaa2468cd2cdb735f.jpg","text":"TemporaryFile(/tmp/multipartBody5440536305857741753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627303516,"filename":"image_01122025_19_53_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/1/0904565b3b6d7a35d072424e38fb97bf.jpg","text":"TemporaryFile(/tmp/multipartBody4109251917555206540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627303516,"filename":"image_01122025_19_52_55_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/81e25d85403e38416083035c28390423.jpg","text":"TemporaryFile(/tmp/multipartBody6730343412017484970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627303516,"filename":"image_01122025_19_53_15_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397260298","file1":"1397260295","file0":"1397260293","file4":"1397260304","file5":"1397260308","file3":"1397260300"},"map_files_photo_id_array":[{"photo_id":"1397260308","filename":"file5"},{"photo_id":"1397260298","filename":"file2"},{"photo_id":"1397260304","filename":"file4"},{"photo_id":"1397260295","filename":"file1"},{"photo_id":"1397260293","filename":"file0"},{"photo_id":"1397260300","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397260300":["hashtag1","hashtag2"]},{"1397260293":["hashtag1","hashtag2"]},{"1397260295":["hashtag1","hashtag2"]},{"1397260308":["hashtag1","hashtag2"]},{"1397260298":["hashtag1","hashtag2"]},{"1397260304":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397260300, 1397260293, 1397260295, 1397260308, 1397260298, 1397260304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57864165306091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 23:14:42.214687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_07_1610.jpg', '/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_11_4205.jpg', '/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_17_3614.jpg', '/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_20_3607.jpg', '/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_22_1593.jpg', '/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_26_4405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_07_1610.jpg
/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_11_4205.jpg
/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_17_3614.jpg
/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_20_3607.jpg
/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_22_1593.jpg
/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_26_4405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397260324","1397260321","1397260317","1397260320","1397260322","1397260319"],"photo_ids_order":["1397260317","1397260319","1397260320","1397260321","1397260322","1397260324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/abad535a328c2093a33da42eb8e4133e.jpg","text":"TemporaryFile(/tmp/multipartBody1077044947610496146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627344730,"filename":"image_31102025_15_14_26_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/1/817e0ee43338de77c8eb34fcf6233063.jpg","text":"TemporaryFile(/tmp/multipartBody4479221603165656909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627344730,"filename":"image_31102025_15_14_20_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/35c0b12d8898c92c00a7b45b36ea29a4.jpg","text":"TemporaryFile(/tmp/multipartBody422086457455891517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627344730,"filename":"image_31102025_15_14_07_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/1/94cb11b1857bc84374f47899b1a4738a.jpg","text":"TemporaryFile(/tmp/multipartBody7367365053220356755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627344730,"filename":"image_31102025_15_14_17_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/1/9eca76c5867141d38e9f4a5816ecdce2.jpg","text":"TemporaryFile(/tmp/multipartBody8932613434656556959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627344730,"filename":"image_31102025_15_14_22_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4817aecb127f1c2ca70e138f1dfd3207.jpg","text":"TemporaryFile(/tmp/multipartBody6934987799798415029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627344730,"filename":"image_31102025_15_14_11_4205.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397260320","file1":"1397260319","file0":"1397260317","file4":"1397260322","file5":"1397260324","file3":"1397260321"},"map_files_photo_id_array":[{"photo_id":"1397260324","filename":"file5"},{"photo_id":"1397260320","filename":"file2"},{"photo_id":"1397260322","filename":"file4"},{"photo_id":"1397260319","filename":"file1"},{"photo_id":"1397260317","filename":"file0"},{"photo_id":"1397260321","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397260324":["hashtag1","hashtag2"]},{"1397260321":["hashtag1","hashtag2"]},{"1397260317":["hashtag1","hashtag2"]},{"1397260320":["hashtag1","hashtag2"]},{"1397260322":["hashtag1","hashtag2"]},{"1397260319":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397260324, 1397260321, 1397260317, 1397260320, 1397260322, 1397260319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.78376221656799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 23:15:32.478804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_17_2696.jpg', '/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_21_3692.jpg', '/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_23_2591.jpg', '/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_26_2571.jpg', '/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_29_3565.jpg', '/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_32_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_17_2696.jpg
/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_21_3692.jpg
/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_23_2591.jpg
/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_26_2571.jpg
/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_29_3565.jpg
/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_32_2598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397260345","1397260336","1397260347","1397260338","1397260346","1397260342"],"photo_ids_order":["1397260336","1397260338","1397260342","1397260345","1397260346","1397260347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/137af1bdb662cbc2ca2c5321d39a5b46.jpg","text":"TemporaryFile(/tmp/multipartBody3283330255744904362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627394165,"filename":"image_25112025_23_44_26_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/503ae874283e6fa26858194fd4e79472.jpg","text":"TemporaryFile(/tmp/multipartBody6441135294401342366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627394165,"filename":"image_25112025_23_44_17_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/1/9aff6e3c0e3fb8eef1c1b02719cc17e5.jpg","text":"TemporaryFile(/tmp/multipartBody5558517541886528596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627394165,"filename":"image_25112025_23_44_32_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/1/72e6c4005693d3e8e6c171e7d94be1c4.jpg","text":"TemporaryFile(/tmp/multipartBody1783699372891566110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627394165,"filename":"image_25112025_23_44_21_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/1/08191c6922a1d390995056a9b61d3b4a.jpg","text":"TemporaryFile(/tmp/multipartBody6924543015225810524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627394165,"filename":"image_25112025_23_44_29_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b31445fbf7263d3b04035970b0051cd8.jpg","text":"TemporaryFile(/tmp/multipartBody6597415482016842220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627394165,"filename":"image_25112025_23_44_23_2591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397260342","file1":"1397260338","file0":"1397260336","file4":"1397260346","file5":"1397260347","file3":"1397260345"},"map_files_photo_id_array":[{"photo_id":"1397260347","filename":"file5"},{"photo_id":"1397260342","filename":"file2"},{"photo_id":"1397260346","filename":"file4"},{"photo_id":"1397260338","filename":"file1"},{"photo_id":"1397260336","filename":"file0"},{"photo_id":"1397260345","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397260345":["hashtag1","hashtag2"]},{"1397260336":["hashtag1","hashtag2"]},{"1397260347":["hashtag1","hashtag2"]},{"1397260338":["hashtag1","hashtag2"]},{"1397260346":["hashtag1","hashtag2"]},{"1397260342":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397260345, 1397260336, 1397260347, 1397260338, 1397260346, 1397260342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22118782997131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 23:16:12.512163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_35_2721.jpg', '/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_38_3653.jpg', '/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_41_2711.jpg', '/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_44_2593.jpg', '/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_47_3581.jpg', '/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_50_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_35_2721.jpg
/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_38_3653.jpg
/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_41_2711.jpg
/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_44_2593.jpg
/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_47_3581.jpg
/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_50_2696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397260368","1397260356","1397260364","1397260352","1397260349","1397260360"],"photo_ids_order":["1397260349","1397260352","1397260356","1397260360","1397260364","1397260368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5c09a7cf8c9d05646fda230b2baf2311.jpg","text":"TemporaryFile(/tmp/multipartBody8969156425907196837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627434083,"filename":"image_25112025_23_44_50_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/1/fd2fe49fb8beafa34acef5c0fa1b1239.jpg","text":"TemporaryFile(/tmp/multipartBody88937759536547066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627434083,"filename":"image_25112025_23_44_41_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/1/4d035fa91a9fe7ab42486af44a857444.jpg","text":"TemporaryFile(/tmp/multipartBody7743593240079178880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627434083,"filename":"image_25112025_23_44_47_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3320b50a1efe661a6ca71c1b6814a6c4.jpg","text":"TemporaryFile(/tmp/multipartBody255944200675066537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627434083,"filename":"image_25112025_23_44_38_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/1/9e4502d9d93f0d426867dd79b6f59a46.jpg","text":"TemporaryFile(/tmp/multipartBody5577373475325299765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627434083,"filename":"image_25112025_23_44_35_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a81c65b2e5dd1f5e46bf183d543cea91.jpg","text":"TemporaryFile(/tmp/multipartBody1438436982431321065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627434083,"filename":"image_25112025_23_44_44_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397260356","file1":"1397260352","file0":"1397260349","file4":"1397260364","file5":"1397260368","file3":"1397260360"},"map_files_photo_id_array":[{"photo_id":"1397260368","filename":"file5"},{"photo_id":"1397260356","filename":"file2"},{"photo_id":"1397260364","filename":"file4"},{"photo_id":"1397260352","filename":"file1"},{"photo_id":"1397260349","filename":"file0"},{"photo_id":"1397260360","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397260368":["hashtag1","hashtag2"]},{"1397260356":["hashtag1","hashtag2"]},{"1397260364":["hashtag1","hashtag2"]},{"1397260352":["hashtag1","hashtag2"]},{"1397260349":["hashtag1","hashtag2"]},{"1397260360":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397260368, 1397260356, 1397260364, 1397260352, 1397260349, 1397260360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09334659576416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 23:17:02.498819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/53/image_01122025_19_53_35_9668.jpg', '/home/pi/Desktop/images/01122025/19/53/image_01122025_19_54_05_10853.jpg', '/home/pi/Desktop/images/01122025/19/54/image_01122025_19_54_25_9791.jpg', '/home/pi/Desktop/images/01122025/19/55/image_01122025_19_55_25_9633.jpg', '/home/pi/Desktop/images/01122025/19/55/image_01122025_19_55_55_10709.jpg', '/home/pi/Desktop/images/01122025/19/56/image_01122025_19_56_15_9876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/53/image_01122025_19_53_35_9668.jpg
/home/pi/Desktop/images/01122025/19/53/image_01122025_19_54_05_10853.jpg
/home/pi/Desktop/images/01122025/19/54/image_01122025_19_54_25_9791.jpg
/home/pi/Desktop/images/01122025/19/55/image_01122025_19_55_25_9633.jpg
/home/pi/Desktop/images/01122025/19/55/image_01122025_19_55_55_10709.jpg
/home/pi/Desktop/images/01122025/19/56/image_01122025_19_56_15_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":["1397260374","1397260373","1397260381","1397260375","1397260384","1397260378"],"photo_ids_order":["1397260373","1397260374","1397260375","1397260378","1397260381","1397260384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a4982825eea2f51e3451fe96befb9728.jpg","text":"TemporaryFile(/tmp/multipartBody3563791618534681477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627483404,"filename":"image_01122025_19_54_05_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/1/aaf0d26832ee3b2d955dd767bbd57b66.jpg","text":"TemporaryFile(/tmp/multipartBody3392193114131634198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627483404,"filename":"image_01122025_19_53_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/1/b45eb6de05ed57729d7d5c97c4b865f2.jpg","text":"TemporaryFile(/tmp/multipartBody5943251210140742772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627483404,"filename":"image_01122025_19_55_55_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c1b6b3dcad14de4ac23fc19636dc1b95.jpg","text":"TemporaryFile(/tmp/multipartBody3575459310151895235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627483404,"filename":"image_01122025_19_54_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/1/6b2a9458fe1feff038cd00ac8cac85e8.jpg","text":"TemporaryFile(/tmp/multipartBody5544343912320835626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627483404,"filename":"image_01122025_19_56_15_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/1/80d964c7850378e5a488163b74bb9901.jpg","text":"TemporaryFile(/tmp/multipartBody595622468693454735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627483404,"filename":"image_01122025_19_55_25_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397260375","file1":"1397260374","file0":"1397260373","file4":"1397260381","file5":"1397260384","file3":"1397260378"},"map_files_photo_id_array":[{"photo_id":"1397260384","filename":"file5"},{"photo_id":"1397260375","filename":"file2"},{"photo_id":"1397260381","filename":"file4"},{"photo_id":"1397260374","filename":"file1"},{"photo_id":"1397260373","filename":"file0"},{"photo_id":"1397260378","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397260374":["hashtag1","hashtag2"]},{"1397260373":["hashtag1","hashtag2"]},{"1397260381":["hashtag1","hashtag2"]},{"1397260375":["hashtag1","hashtag2"]},{"1397260384":["hashtag1","hashtag2"]},{"1397260378":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397260374, 1397260373, 1397260381, 1397260375, 1397260384, 1397260378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.028111934661865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 23:17:42.006005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_28_1644.jpg', '/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_32_3760.jpg', '/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_40_2588.jpg', '/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_45_5141.jpg', '/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_47_1725.jpg', '/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_51_4349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_28_1644.jpg
/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_32_3760.jpg
/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_40_2588.jpg
/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_45_5141.jpg
/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_47_1725.jpg
/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_51_4349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397260405","1397260410","1397260407","1397260401","1397260403","1397260399"],"photo_ids_order":["1397260399","1397260401","1397260403","1397260405","1397260407","1397260410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/40f6122d04b04bba9220fd06a69e0359.jpg","text":"TemporaryFile(/tmp/multipartBody1569279337315278418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627529662,"filename":"image_31102025_15_14_45_5141.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5a4a3ff838c9e17c82829c61ae568026.jpg","text":"TemporaryFile(/tmp/multipartBody685316692899547614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627529662,"filename":"image_31102025_15_14_51_4349.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1afaa70ffc6c77c7209cddcd6630a6cc.jpg","text":"TemporaryFile(/tmp/multipartBody2710345460022308089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627529662,"filename":"image_31102025_15_14_47_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/1/a236f824ef70e2e50849c413452d68cf.jpg","text":"TemporaryFile(/tmp/multipartBody207830151937813974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627529662,"filename":"image_31102025_15_14_32_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/1/ef9ac19abeae61c54d71351409dff6af.jpg","text":"TemporaryFile(/tmp/multipartBody758975263817677801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627529662,"filename":"image_31102025_15_14_40_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0a15a507bb694ffd4d915b69a7323674.jpg","text":"TemporaryFile(/tmp/multipartBody7989551463219128616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627529662,"filename":"image_31102025_15_14_28_1644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397260403","file1":"1397260401","file0":"1397260399","file4":"1397260407","file5":"1397260410","file3":"1397260405"},"map_files_photo_id_array":[{"photo_id":"1397260410","filename":"file5"},{"photo_id":"1397260403","filename":"file2"},{"photo_id":"1397260407","filename":"file4"},{"photo_id":"1397260401","filename":"file1"},{"photo_id":"1397260399","filename":"file0"},{"photo_id":"1397260405","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397260405":["hashtag1","hashtag2"]},{"1397260410":["hashtag1","hashtag2"]},{"1397260407":["hashtag1","hashtag2"]},{"1397260401":["hashtag1","hashtag2"]},{"1397260403":["hashtag1","hashtag2"]},{"1397260399":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397260405, 1397260410, 1397260407, 1397260401, 1397260403, 1397260399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.39512038230896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 23:18:32.159549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_54_3830.jpg', '/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_56_2614.jpg', '/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_59_2531.jpg', '/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_04_4882.jpg', '/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_05_1561.jpg', '/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_08_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_54_3830.jpg
/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_56_2614.jpg
/home/pi/Desktop/images/25112025/23/44/image_25112025_23_44_59_2531.jpg
/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_04_4882.jpg
/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_05_1561.jpg
/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_08_2631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397260446","1397260458","1397260451","1397260454","1397260448","1397260456"],"photo_ids_order":["1397260446","1397260448","1397260451","1397260454","1397260456","1397260458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c0bfdc2986ae02b8651d47e1aefca10b.jpg","text":"TemporaryFile(/tmp/multipartBody7323191284790734490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627574204,"filename":"image_25112025_23_44_54_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/1/8a41a7c51fa161c4f3e0246c44b9b110.jpg","text":"TemporaryFile(/tmp/multipartBody6475890420492094833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627574204,"filename":"image_25112025_23_45_08_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/1/46facf7ee65062b545fdd5faefe8e426.jpg","text":"TemporaryFile(/tmp/multipartBody6211431207555562736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627574204,"filename":"image_25112025_23_44_59_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/82089eb3a9761c26a3361d6ea207f007.jpg","text":"TemporaryFile(/tmp/multipartBody1163657621444275712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627574204,"filename":"image_25112025_23_45_04_4882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/11ba1b77163fe182c9d7ea0d474f7372.jpg","text":"TemporaryFile(/tmp/multipartBody1690822543545407256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627574204,"filename":"image_25112025_23_44_56_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b6278e92564fd9246d8fd7e6cf49be85.jpg","text":"TemporaryFile(/tmp/multipartBody8122427265419473352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627574204,"filename":"image_25112025_23_45_05_1561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397260451","file1":"1397260448","file0":"1397260446","file4":"1397260456","file5":"1397260458","file3":"1397260454"},"map_files_photo_id_array":[{"photo_id":"1397260458","filename":"file5"},{"photo_id":"1397260451","filename":"file2"},{"photo_id":"1397260456","filename":"file4"},{"photo_id":"1397260448","filename":"file1"},{"photo_id":"1397260446","filename":"file0"},{"photo_id":"1397260454","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397260446":["hashtag1","hashtag2"]},{"1397260458":["hashtag1","hashtag2"]},{"1397260451":["hashtag1","hashtag2"]},{"1397260454":["hashtag1","hashtag2"]},{"1397260448":["hashtag1","hashtag2"]},{"1397260456":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397260446, 1397260458, 1397260451, 1397260454, 1397260448, 1397260456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.4531512260437 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 23:19:22.402427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/57/image_01122025_19_57_15_10728.jpg', '/home/pi/Desktop/images/01122025/19/57/image_01122025_19_57_25_9852.jpg', '/home/pi/Desktop/images/01122025/19/57/image_01122025_19_57_35_9735.jpg', '/home/pi/Desktop/images/01122025/19/57/image_01122025_19_57_45_9786.jpg', '/home/pi/Desktop/images/01122025/19/57/image_01122025_19_57_54_9762.jpg', '/home/pi/Desktop/images/01122025/19/58/image_01122025_19_58_35_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/57/image_01122025_19_57_15_10728.jpg
/home/pi/Desktop/images/01122025/19/57/image_01122025_19_57_25_9852.jpg
/home/pi/Desktop/images/01122025/19/57/image_01122025_19_57_35_9735.jpg
/home/pi/Desktop/images/01122025/19/57/image_01122025_19_57_45_9786.jpg
/home/pi/Desktop/images/01122025/19/57/image_01122025_19_57_54_9762.jpg
/home/pi/Desktop/images/01122025/19/58/image_01122025_19_58_35_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":["1397260543","1397260467","1397260533","1397260536","1397260529","1397260540"],"photo_ids_order":["1397260467","1397260529","1397260533","1397260536","1397260540","1397260543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/587e1fc717da8f2c9415a960174e14c0.jpg","text":"TemporaryFile(/tmp/multipartBody819450896104428930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627623677,"filename":"image_01122025_19_58_35_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/98ba1cbef9ecd7dc83f8e48475a6327b.jpg","text":"TemporaryFile(/tmp/multipartBody6669791903314399965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627623677,"filename":"image_01122025_19_57_15_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a015ce82263b3850a21ef329cbe4c0e2.jpg","text":"TemporaryFile(/tmp/multipartBody4857573582141359847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627623677,"filename":"image_01122025_19_57_35_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9bcfed5f1a2e37e022b9094fd717ac4b.jpg","text":"TemporaryFile(/tmp/multipartBody8338712643134370009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627623677,"filename":"image_01122025_19_57_45_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ccaa44b1667c96e6c5206d53b63a1af8.jpg","text":"TemporaryFile(/tmp/multipartBody5092225050469389710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627623677,"filename":"image_01122025_19_57_25_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bc1c20461835a2b8f5f40b043f5047f6.jpg","text":"TemporaryFile(/tmp/multipartBody4006461218526443486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627623677,"filename":"image_01122025_19_57_54_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397260533","file1":"1397260529","file0":"1397260467","file4":"1397260540","file5":"1397260543","file3":"1397260536"},"map_files_photo_id_array":[{"photo_id":"1397260543","filename":"file5"},{"photo_id":"1397260533","filename":"file2"},{"photo_id":"1397260540","filename":"file4"},{"photo_id":"1397260529","filename":"file1"},{"photo_id":"1397260467","filename":"file0"},{"photo_id":"1397260536","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397260543":["hashtag1","hashtag2"]},{"1397260467":["hashtag1","hashtag2"]},{"1397260533":["hashtag1","hashtag2"]},{"1397260536":["hashtag1","hashtag2"]},{"1397260529":["hashtag1","hashtag2"]},{"1397260540":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397260543, 1397260467, 1397260533, 1397260536, 1397260529, 1397260540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.81579637527466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 23:20:12.424055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_14_3732.jpg', '/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_17_2590.jpg', '/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_20_2636.jpg', '/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_23_3696.jpg', '/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_26_2742.jpg', '/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_29_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_14_3732.jpg
/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_17_2590.jpg
/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_20_2636.jpg
/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_23_3696.jpg
/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_26_2742.jpg
/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_29_2674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397260612","1397260606","1397260653","1397260608","1397260619","1397260604"],"photo_ids_order":["1397260604","1397260606","1397260608","1397260612","1397260619","1397260653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9112d33d500cbafc7b2205d919a916c1.jpg","text":"TemporaryFile(/tmp/multipartBody5665372686318009922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627673823,"filename":"image_25112025_23_45_23_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/22203319338ebfe0cf34869732d3eaca.jpg","text":"TemporaryFile(/tmp/multipartBody7526678035007313043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627673823,"filename":"image_25112025_23_45_17_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/1/b68bb1e5705857fc936f88785ae98649.jpg","text":"TemporaryFile(/tmp/multipartBody5416624946612344982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627673823,"filename":"image_25112025_23_45_29_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c1251a27de2a0e1faaa2c5a40d7a7e96.jpg","text":"TemporaryFile(/tmp/multipartBody5454651063714093101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627673823,"filename":"image_25112025_23_45_20_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c4f97a37c6d7bf04b8345c2d9f78a7ea.jpg","text":"TemporaryFile(/tmp/multipartBody7026282239717135670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627673823,"filename":"image_25112025_23_45_26_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/1/a2bdf88aec38d3d702f79ef8de2200c4.jpg","text":"TemporaryFile(/tmp/multipartBody2858721139781970710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627673823,"filename":"image_25112025_23_45_14_3732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397260608","file1":"1397260606","file0":"1397260604","file4":"1397260619","file5":"1397260653","file3":"1397260612"},"map_files_photo_id_array":[{"photo_id":"1397260653","filename":"file5"},{"photo_id":"1397260608","filename":"file2"},{"photo_id":"1397260619","filename":"file4"},{"photo_id":"1397260606","filename":"file1"},{"photo_id":"1397260604","filename":"file0"},{"photo_id":"1397260612","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397260612":["hashtag1","hashtag2"]},{"1397260606":["hashtag1","hashtag2"]},{"1397260653":["hashtag1","hashtag2"]},{"1397260608":["hashtag1","hashtag2"]},{"1397260619":["hashtag1","hashtag2"]},{"1397260604":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397260612, 1397260606, 1397260653, 1397260608, 1397260619, 1397260604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.91548562049866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 23:21:03.247388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/19/59/image_01122025_19_59_15_10697.jpg', '/home/pi/Desktop/images/01122025/19/59/image_01122025_19_59_25_9557.jpg', '/home/pi/Desktop/images/01122025/20/03/image_01122025_20_03_15_10714.jpg', '/home/pi/Desktop/images/01122025/20/03/image_01122025_20_03_25_9663.jpg', '/home/pi/Desktop/images/01122025/20/05/image_01122025_20_05_35_9645.jpg', '/home/pi/Desktop/images/01122025/20/05/image_01122025_20_05_55_9880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/19/59/image_01122025_19_59_15_10697.jpg
/home/pi/Desktop/images/01122025/19/59/image_01122025_19_59_25_9557.jpg
/home/pi/Desktop/images/01122025/20/03/image_01122025_20_03_15_10714.jpg
/home/pi/Desktop/images/01122025/20/03/image_01122025_20_03_25_9663.jpg
/home/pi/Desktop/images/01122025/20/05/image_01122025_20_05_35_9645.jpg
/home/pi/Desktop/images/01122025/20/05/image_01122025_20_05_55_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":["1397260662","1397260668","1397260676","1397260664","1397260672","1397260666"],"photo_ids_order":["1397260662","1397260664","1397260666","1397260668","1397260672","1397260676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c070e49277798855a2511b8ef20157c5.jpg","text":"TemporaryFile(/tmp/multipartBody4890955300590121265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627724100,"filename":"image_01122025_19_59_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/1/829f5422bc82611153862086c03e4cf2.jpg","text":"TemporaryFile(/tmp/multipartBody2832914312160237991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627724100,"filename":"image_01122025_20_03_25_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3ecd27cacff78886fc48dff78b477dad.jpg","text":"TemporaryFile(/tmp/multipartBody3976659087432917675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627724100,"filename":"image_01122025_20_05_55_9880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a156633eb85216355095bf9717a1d3ca.jpg","text":"TemporaryFile(/tmp/multipartBody1810681614979915980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627724100,"filename":"image_01122025_19_59_25_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/dea83424fbd091b2191369535343a021.jpg","text":"TemporaryFile(/tmp/multipartBody4018530617514915743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627724100,"filename":"image_01122025_20_05_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/1/366b6ef8b98851d81447d6dc917825dc.jpg","text":"TemporaryFile(/tmp/multipartBody8520574637897962753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627724100,"filename":"image_01122025_20_03_15_10714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397260666","file1":"1397260664","file0":"1397260662","file4":"1397260672","file5":"1397260676","file3":"1397260668"},"map_files_photo_id_array":[{"photo_id":"1397260676","filename":"file5"},{"photo_id":"1397260666","filename":"file2"},{"photo_id":"1397260672","filename":"file4"},{"photo_id":"1397260664","filename":"file1"},{"photo_id":"1397260662","filename":"file0"},{"photo_id":"1397260668","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397260662":["hashtag1","hashtag2"]},{"1397260668":["hashtag1","hashtag2"]},{"1397260676":["hashtag1","hashtag2"]},{"1397260664":["hashtag1","hashtag2"]},{"1397260672":["hashtag1","hashtag2"]},{"1397260666":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397260662, 1397260668, 1397260676, 1397260664, 1397260672, 1397260666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54204988479614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 23:21:42.777571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_53_1564.jpg', '/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_55_2749.jpg', '/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_58_2680.jpg', '/home/pi/Desktop/images/31102025/15/15/image_31102025_15_15_01_2554.jpg', '/home/pi/Desktop/images/31102025/15/15/image_31102025_15_15_10_2686.jpg', '/home/pi/Desktop/images/31102025/15/15/image_31102025_15_15_13_3613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_53_1564.jpg
/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_55_2749.jpg
/home/pi/Desktop/images/31102025/15/14/image_31102025_15_14_58_2680.jpg
/home/pi/Desktop/images/31102025/15/15/image_31102025_15_15_01_2554.jpg
/home/pi/Desktop/images/31102025/15/15/image_31102025_15_15_10_2686.jpg
/home/pi/Desktop/images/31102025/15/15/image_31102025_15_15_13_3613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397260689","1397260692","1397260686","1397260691","1397260694","1397260690"],"photo_ids_order":["1397260686","1397260689","1397260690","1397260691","1397260692","1397260694"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/385495bb47e81208f9aaf257ab1e4fea.jpg","text":"TemporaryFile(/tmp/multipartBody4460133597742138595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627765421,"filename":"image_31102025_15_14_55_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/1/4e36f52a33d6c2bb86092f3a09975d8f.jpg","text":"TemporaryFile(/tmp/multipartBody8049824942726940615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627765421,"filename":"image_31102025_15_15_10_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/1/5f9d7f9a2b13124cd6efe69fc47eb72b.jpg","text":"TemporaryFile(/tmp/multipartBody4626702053573127426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627765421,"filename":"image_31102025_15_14_53_1564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2cd8b1de217ae8f0023ae83d5ddbb920.jpg","text":"TemporaryFile(/tmp/multipartBody5596188696597554095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627765421,"filename":"image_31102025_15_15_01_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b1f2f56f20993ab466c2378949604278.jpg","text":"TemporaryFile(/tmp/multipartBody8021951037270984636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627765421,"filename":"image_31102025_15_15_13_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/1/6990da09dcf7adfc648b649d20ab5e40.jpg","text":"TemporaryFile(/tmp/multipartBody3442093515445170755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627765421,"filename":"image_31102025_15_14_58_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397260690","file1":"1397260689","file0":"1397260686","file4":"1397260692","file5":"1397260694","file3":"1397260691"},"map_files_photo_id_array":[{"photo_id":"1397260694","filename":"file5"},{"photo_id":"1397260690","filename":"file2"},{"photo_id":"1397260692","filename":"file4"},{"photo_id":"1397260689","filename":"file1"},{"photo_id":"1397260686","filename":"file0"},{"photo_id":"1397260691","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397260689":["hashtag1","hashtag2"]},{"1397260692":["hashtag1","hashtag2"]},{"1397260686":["hashtag1","hashtag2"]},{"1397260691":["hashtag1","hashtag2"]},{"1397260694":["hashtag1","hashtag2"]},{"1397260690":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397260689, 1397260692, 1397260686, 1397260691, 1397260694, 1397260690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.67517852783203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 23:22:31.953009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_32_3625.jpg', '/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_35_2755.jpg', '/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_38_2718.jpg', '/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_41_2706.jpg', '/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_44_3727.jpg', '/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_47_2957.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_32_3625.jpg
/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_35_2755.jpg
/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_38_2718.jpg
/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_41_2706.jpg
/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_44_3727.jpg
/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_47_2957.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397260714","1397260711","1397260705","1397260708","1397260716","1397260715"],"photo_ids_order":["1397260705","1397260708","1397260711","1397260714","1397260715","1397260716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d792a3c1081ac334becba7bf426a6321.jpg","text":"TemporaryFile(/tmp/multipartBody6403056629221000364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627813660,"filename":"image_25112025_23_45_41_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a8bd373aa7ee1b69a0cbc553a7542983.jpg","text":"TemporaryFile(/tmp/multipartBody3300837845746302794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627813660,"filename":"image_25112025_23_45_38_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/1/f303ef6105fb59e9683c419a621937e4.jpg","text":"TemporaryFile(/tmp/multipartBody6223382080038123529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627813660,"filename":"image_25112025_23_45_32_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/1/ddc4924e669ac65dd7bc4acb0cb13022.jpg","text":"TemporaryFile(/tmp/multipartBody8849092394698546774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627813660,"filename":"image_25112025_23_45_35_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/1/22e95e5261171a83ac40e2741a4c7aa5.jpg","text":"TemporaryFile(/tmp/multipartBody8325049367614308047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627813660,"filename":"image_25112025_23_45_47_2957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d78f94b9d0e37481c1afd48007b68f8b.jpg","text":"TemporaryFile(/tmp/multipartBody1929276651553105660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627813660,"filename":"image_25112025_23_45_44_3727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397260711","file1":"1397260708","file0":"1397260705","file4":"1397260715","file5":"1397260716","file3":"1397260714"},"map_files_photo_id_array":[{"photo_id":"1397260716","filename":"file5"},{"photo_id":"1397260711","filename":"file2"},{"photo_id":"1397260715","filename":"file4"},{"photo_id":"1397260708","filename":"file1"},{"photo_id":"1397260705","filename":"file0"},{"photo_id":"1397260714","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397260714":["hashtag1","hashtag2"]},{"1397260711":["hashtag1","hashtag2"]},{"1397260705":["hashtag1","hashtag2"]},{"1397260708":["hashtag1","hashtag2"]},{"1397260716":["hashtag1","hashtag2"]},{"1397260715":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397260714, 1397260711, 1397260705, 1397260708, 1397260716, 1397260715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2828688621521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 23:23:12.033988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_50_2671.jpg', '/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_53_2545.jpg', '/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_56_3786.jpg', '/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_59_2578.jpg', '/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_02_3563.jpg', '/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_05_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_50_2671.jpg
/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_53_2545.jpg
/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_56_3786.jpg
/home/pi/Desktop/images/25112025/23/45/image_25112025_23_45_59_2578.jpg
/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_02_3563.jpg
/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_05_2659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397260729","1397260720","1397260722","1397260719","1397260727","1397260732"],"photo_ids_order":["1397260719","1397260720","1397260722","1397260727","1397260729","1397260732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d725d19dbea7dc228194ac87c032dd6e.jpg","text":"TemporaryFile(/tmp/multipartBody4916393528542420137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627853608,"filename":"image_25112025_23_46_02_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0b032edd9ed1f905a6119836f0f02e1d.jpg","text":"TemporaryFile(/tmp/multipartBody5980919093960432588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627853608,"filename":"image_25112025_23_45_53_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/1/1174b55d6a29d33bfe209f704847819b.jpg","text":"TemporaryFile(/tmp/multipartBody7322731027003200028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627853608,"filename":"image_25112025_23_45_56_3786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b75cf1231737e7f3623e8c211537f172.jpg","text":"TemporaryFile(/tmp/multipartBody186149986907120905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627853608,"filename":"image_25112025_23_45_50_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e70f4847010f2291f36807be3762aee8.jpg","text":"TemporaryFile(/tmp/multipartBody196244707352942828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627853608,"filename":"image_25112025_23_45_59_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3d09010c28fa34186ca1d206ce483a9f.jpg","text":"TemporaryFile(/tmp/multipartBody1123886276985803228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627853608,"filename":"image_25112025_23_46_05_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397260722","file1":"1397260720","file0":"1397260719","file4":"1397260729","file5":"1397260732","file3":"1397260727"},"map_files_photo_id_array":[{"photo_id":"1397260732","filename":"file5"},{"photo_id":"1397260722","filename":"file2"},{"photo_id":"1397260729","filename":"file4"},{"photo_id":"1397260720","filename":"file1"},{"photo_id":"1397260719","filename":"file0"},{"photo_id":"1397260727","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397260729":["hashtag1","hashtag2"]},{"1397260720":["hashtag1","hashtag2"]},{"1397260722":["hashtag1","hashtag2"]},{"1397260719":["hashtag1","hashtag2"]},{"1397260727":["hashtag1","hashtag2"]},{"1397260732":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397260729, 1397260720, 1397260722, 1397260719, 1397260727, 1397260732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.81377291679382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 23:24:04.193375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/20/06/image_01122025_20_06_35_9645.jpg', '/home/pi/Desktop/images/01122025/20/06/image_01122025_20_06_55_9839.jpg', '/home/pi/Desktop/images/01122025/20/07/image_01122025_20_07_35_9711.jpg', '/home/pi/Desktop/images/01122025/20/07/image_01122025_20_07_55_9622.jpg', '/home/pi/Desktop/images/01122025/20/08/image_01122025_20_08_15_9927.jpg', '/home/pi/Desktop/images/01122025/20/08/image_01122025_20_08_54_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/20/06/image_01122025_20_06_35_9645.jpg
/home/pi/Desktop/images/01122025/20/06/image_01122025_20_06_55_9839.jpg
/home/pi/Desktop/images/01122025/20/07/image_01122025_20_07_35_9711.jpg
/home/pi/Desktop/images/01122025/20/07/image_01122025_20_07_55_9622.jpg
/home/pi/Desktop/images/01122025/20/08/image_01122025_20_08_15_9927.jpg
/home/pi/Desktop/images/01122025/20/08/image_01122025_20_08_54_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":["1397260741","1397260744","1397260752","1397260737","1397260748","1397260739"],"photo_ids_order":["1397260737","1397260739","1397260741","1397260744","1397260748","1397260752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7b4cfc8ec038263e0a69bd8de9863b50.jpg","text":"TemporaryFile(/tmp/multipartBody5161028082827108990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627905010,"filename":"image_01122025_20_07_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/1/b8d5f6951da59af302ae8eb7f0911409.jpg","text":"TemporaryFile(/tmp/multipartBody6758510841188467173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627905010,"filename":"image_01122025_20_07_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/1/9afbdb82c7a003bbf73936979906d475.jpg","text":"TemporaryFile(/tmp/multipartBody774863112771651038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627905010,"filename":"image_01122025_20_08_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/1/c864bf1d4770af27b0bcdbcd08c0e1bc.jpg","text":"TemporaryFile(/tmp/multipartBody5371712428032634121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627905010,"filename":"image_01122025_20_06_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/1/9aae9fdfcc79887d4cbe7b8942570e18.jpg","text":"TemporaryFile(/tmp/multipartBody3211511409585748399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627905010,"filename":"image_01122025_20_08_15_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/1/cc5705bbd0a0734e54168eed4e5f95b2.jpg","text":"TemporaryFile(/tmp/multipartBody7561496070763682144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627905010,"filename":"image_01122025_20_06_55_9839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397260741","file1":"1397260739","file0":"1397260737","file4":"1397260748","file5":"1397260752","file3":"1397260744"},"map_files_photo_id_array":[{"photo_id":"1397260752","filename":"file5"},{"photo_id":"1397260741","filename":"file2"},{"photo_id":"1397260748","filename":"file4"},{"photo_id":"1397260739","filename":"file1"},{"photo_id":"1397260737","filename":"file0"},{"photo_id":"1397260744","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397260741":["hashtag1","hashtag2"]},{"1397260744":["hashtag1","hashtag2"]},{"1397260752":["hashtag1","hashtag2"]},{"1397260737":["hashtag1","hashtag2"]},{"1397260748":["hashtag1","hashtag2"]},{"1397260739":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397260741, 1397260744, 1397260752, 1397260737, 1397260748, 1397260739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79374718666077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 23:24:44.064905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/15/image_31102025_15_15_21_5017.jpg', '/home/pi/Desktop/images/31102025/15/15/image_31102025_15_15_23_1728.jpg', '/home/pi/Desktop/images/31102025/15/15/image_31102025_15_15_25_1609.jpg', '/home/pi/Desktop/images/31102025/15/15/image_31102025_15_15_31_2765.jpg', '/home/pi/Desktop/images/31102025/15/15/image_31102025_15_15_40_3522.jpg', '/home/pi/Desktop/images/31102025/15/15/image_31102025_15_15_43_2936.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/15/image_31102025_15_15_21_5017.jpg
/home/pi/Desktop/images/31102025/15/15/image_31102025_15_15_23_1728.jpg
/home/pi/Desktop/images/31102025/15/15/image_31102025_15_15_25_1609.jpg
/home/pi/Desktop/images/31102025/15/15/image_31102025_15_15_31_2765.jpg
/home/pi/Desktop/images/31102025/15/15/image_31102025_15_15_40_3522.jpg
/home/pi/Desktop/images/31102025/15/15/image_31102025_15_15_43_2936.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397260762","1397260764","1397260767","1397260760","1397260763","1397260765"],"photo_ids_order":["1397260760","1397260762","1397260763","1397260764","1397260765","1397260767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/48f0b786c02b6c35906599fbbc2ef86c.jpg","text":"TemporaryFile(/tmp/multipartBody2024714576230422264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627946517,"filename":"image_31102025_15_15_23_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/1/f607bf57f3a3b0dc346742a70a361fc0.jpg","text":"TemporaryFile(/tmp/multipartBody4616419709531745812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627946517,"filename":"image_31102025_15_15_31_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/1/07ea035cf1c79cf794b8b8e9f73357ca.jpg","text":"TemporaryFile(/tmp/multipartBody6816219674719460208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627946517,"filename":"image_31102025_15_15_43_2936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/76ca8fe71bf187ca8b18d3811fa71085.jpg","text":"TemporaryFile(/tmp/multipartBody767694131625044765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627946517,"filename":"image_31102025_15_15_21_5017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c80bc6dfb3413616042126d5fdb4295c.jpg","text":"TemporaryFile(/tmp/multipartBody2746786612098460298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627946517,"filename":"image_31102025_15_15_25_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/12810d858957fc986ff7f3124f9e50d7.jpg","text":"TemporaryFile(/tmp/multipartBody1887910013939204869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627946517,"filename":"image_31102025_15_15_40_3522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397260763","file1":"1397260762","file0":"1397260760","file4":"1397260765","file5":"1397260767","file3":"1397260764"},"map_files_photo_id_array":[{"photo_id":"1397260767","filename":"file5"},{"photo_id":"1397260763","filename":"file2"},{"photo_id":"1397260765","filename":"file4"},{"photo_id":"1397260762","filename":"file1"},{"photo_id":"1397260760","filename":"file0"},{"photo_id":"1397260764","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397260762":["hashtag1","hashtag2"]},{"1397260764":["hashtag1","hashtag2"]},{"1397260767":["hashtag1","hashtag2"]},{"1397260760":["hashtag1","hashtag2"]},{"1397260763":["hashtag1","hashtag2"]},{"1397260765":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397260762, 1397260764, 1397260767, 1397260760, 1397260763, 1397260765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.04398822784424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 23:25:32.330828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_08_2613.jpg', '/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_14_6393.jpg', '/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_16_1861.jpg', '/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_18_1630.jpg', '/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_20_2578.jpg', '/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_23_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_08_2613.jpg
/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_14_6393.jpg
/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_16_1861.jpg
/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_18_1630.jpg
/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_20_2578.jpg
/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_23_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":["1397260791","1397260790","1397260787","1397260783","1397260792","1397260780"],"photo_ids_order":["1397260780","1397260783","1397260787","1397260790","1397260791","1397260792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/cad101f266fc6f04572d803f33970120.jpg","text":"TemporaryFile(/tmp/multipartBody6922265872649032654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627994007,"filename":"image_25112025_23_46_20_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/1/c33a251cbb63e237dbc228c72c6a4237.jpg","text":"TemporaryFile(/tmp/multipartBody1579449679389238579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627994007,"filename":"image_25112025_23_46_18_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/1/7f25d7fcef72d81b78740daaaea1d166.jpg","text":"TemporaryFile(/tmp/multipartBody6198212575769842255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627994007,"filename":"image_25112025_23_46_16_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/1/02e4e75cc9dd492bf488e5c2bd1254f4.jpg","text":"TemporaryFile(/tmp/multipartBody363210684049786636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627994007,"filename":"image_25112025_23_46_14_6393.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/80593237a58d69a35c32a4937af421ec.jpg","text":"TemporaryFile(/tmp/multipartBody2468202229906699073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627994007,"filename":"image_25112025_23_46_23_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/1/5997b21983c38040438d4c60eb9c4a4d.jpg","text":"TemporaryFile(/tmp/multipartBody4604655999702053119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764627994007,"filename":"image_25112025_23_46_08_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397260787","file1":"1397260783","file0":"1397260780","file4":"1397260791","file5":"1397260792","file3":"1397260790"},"map_files_photo_id_array":[{"photo_id":"1397260792","filename":"file5"},{"photo_id":"1397260787","filename":"file2"},{"photo_id":"1397260791","filename":"file4"},{"photo_id":"1397260783","filename":"file1"},{"photo_id":"1397260780","filename":"file0"},{"photo_id":"1397260790","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397260791":["hashtag1","hashtag2"]},{"1397260790":["hashtag1","hashtag2"]},{"1397260787":["hashtag1","hashtag2"]},{"1397260783":["hashtag1","hashtag2"]},{"1397260792":["hashtag1","hashtag2"]},{"1397260780":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397260791, 1397260790, 1397260787, 1397260783, 1397260792, 1397260780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84007143974304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 23:26:12.485027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_26_2863.jpg', '/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_32_5906.jpg', '/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_33_1729.jpg', '/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_35_1672.jpg', '/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_37_2501.jpg', '/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_41_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_26_2863.jpg
/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_32_5906.jpg
/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_33_1729.jpg
/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_35_1672.jpg
/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_37_2501.jpg
/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_41_3685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397260828","1397260813","1397260797","1397260809","1397260805","1397260820"],"photo_ids_order":["1397260797","1397260805","1397260809","1397260813","1397260820","1397260828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ad5f505587b9a7070caa96808f2d4844.jpg","text":"TemporaryFile(/tmp/multipartBody1208789663779103940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628034102,"filename":"image_25112025_23_46_41_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/1/719f02bca2776ea527b492191896de1d.jpg","text":"TemporaryFile(/tmp/multipartBody5131882177688300769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628034102,"filename":"image_25112025_23_46_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/1/565d9eba271a9cc748cbf6d5bbaca66a.jpg","text":"TemporaryFile(/tmp/multipartBody2753618752705009471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628034102,"filename":"image_25112025_23_46_26_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/789ae9cb25ed29a0b502114465357592.jpg","text":"TemporaryFile(/tmp/multipartBody1882162815552042480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628034102,"filename":"image_25112025_23_46_33_1729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7b91483bd76074f2f2564a7066d8e70f.jpg","text":"TemporaryFile(/tmp/multipartBody4308398077819586155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628034102,"filename":"image_25112025_23_46_32_5906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a1d2efc9856cb4842288ffeea7423f0d.jpg","text":"TemporaryFile(/tmp/multipartBody5297468395105253126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628034102,"filename":"image_25112025_23_46_37_2501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397260809","file1":"1397260805","file0":"1397260797","file4":"1397260820","file5":"1397260828","file3":"1397260813"},"map_files_photo_id_array":[{"photo_id":"1397260828","filename":"file5"},{"photo_id":"1397260809","filename":"file2"},{"photo_id":"1397260820","filename":"file4"},{"photo_id":"1397260805","filename":"file1"},{"photo_id":"1397260797","filename":"file0"},{"photo_id":"1397260813","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397260828":["hashtag1","hashtag2"]},{"1397260813":["hashtag1","hashtag2"]},{"1397260797":["hashtag1","hashtag2"]},{"1397260809":["hashtag1","hashtag2"]},{"1397260805":["hashtag1","hashtag2"]},{"1397260820":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397260828, 1397260813, 1397260797, 1397260809, 1397260805, 1397260820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.68609356880188 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 23:27:03.333906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/20/08/image_01122025_20_09_05_10716.jpg', '/home/pi/Desktop/images/01122025/20/09/image_01122025_20_09_15_9603.jpg', '/home/pi/Desktop/images/01122025/20/10/image_01122025_20_10_55_9732.jpg', '/home/pi/Desktop/images/01122025/20/11/image_01122025_20_11_15_9769.jpg', '/home/pi/Desktop/images/01122025/20/11/image_01122025_20_11_24_9796.jpg', '/home/pi/Desktop/images/01122025/20/11/image_01122025_20_11_45_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/20/08/image_01122025_20_09_05_10716.jpg
/home/pi/Desktop/images/01122025/20/09/image_01122025_20_09_15_9603.jpg
/home/pi/Desktop/images/01122025/20/10/image_01122025_20_10_55_9732.jpg
/home/pi/Desktop/images/01122025/20/11/image_01122025_20_11_15_9769.jpg
/home/pi/Desktop/images/01122025/20/11/image_01122025_20_11_24_9796.jpg
/home/pi/Desktop/images/01122025/20/11/image_01122025_20_11_45_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397260893","1397260914","1397260889","1397260859","1397260858","1397260873"],"photo_ids_order":["1397260858","1397260859","1397260873","1397260889","1397260893","1397260914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ac5aeee2453c48a45c7577b36ff6c26a.jpg","text":"TemporaryFile(/tmp/multipartBody5972909250125518995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628084276,"filename":"image_01122025_20_11_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/1/74ede7ebbd0d56ab5a462d834870ec2b.jpg","text":"TemporaryFile(/tmp/multipartBody4868688789170714905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628084276,"filename":"image_01122025_20_11_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/1/56123944a7f85600238ed3e291a04048.jpg","text":"TemporaryFile(/tmp/multipartBody3024812087762060809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628084276,"filename":"image_01122025_20_11_15_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9515593df3c21365cbac6ba7e1378acb.jpg","text":"TemporaryFile(/tmp/multipartBody8591696250553146692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628084276,"filename":"image_01122025_20_09_15_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a45486f9844178e20d1018038e3c993d.jpg","text":"TemporaryFile(/tmp/multipartBody5088171572328487549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628084276,"filename":"image_01122025_20_09_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/1/9304fd3ea18b10a783c903a68e98305a.jpg","text":"TemporaryFile(/tmp/multipartBody945049655331517442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628084276,"filename":"image_01122025_20_10_55_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397260873","file1":"1397260859","file0":"1397260858","file4":"1397260893","file5":"1397260914","file3":"1397260889"},"map_files_photo_id_array":[{"photo_id":"1397260914","filename":"file5"},{"photo_id":"1397260873","filename":"file2"},{"photo_id":"1397260893","filename":"file4"},{"photo_id":"1397260859","filename":"file1"},{"photo_id":"1397260858","filename":"file0"},{"photo_id":"1397260889","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397260893":["hashtag1","hashtag2"]},{"1397260914":["hashtag1","hashtag2"]},{"1397260889":["hashtag1","hashtag2"]},{"1397260859":["hashtag1","hashtag2"]},{"1397260858":["hashtag1","hashtag2"]},{"1397260873":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397260893, 1397260914, 1397260889, 1397260859, 1397260858, 1397260873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.872042655944824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 23:27:42.770628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/15/image_31102025_15_15_46_2632.jpg', '/home/pi/Desktop/images/31102025/15/15/image_31102025_15_15_55_2767.jpg', '/home/pi/Desktop/images/31102025/15/16/image_31102025_15_16_13_2728.jpg', '/home/pi/Desktop/images/31102025/15/16/image_31102025_15_16_19_3554.jpg', '/home/pi/Desktop/images/31102025/15/16/image_31102025_15_16_22_2661.jpg', '/home/pi/Desktop/images/31102025/15/16/image_31102025_15_16_28_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/15/image_31102025_15_15_46_2632.jpg
/home/pi/Desktop/images/31102025/15/15/image_31102025_15_15_55_2767.jpg
/home/pi/Desktop/images/31102025/15/16/image_31102025_15_16_13_2728.jpg
/home/pi/Desktop/images/31102025/15/16/image_31102025_15_16_19_3554.jpg
/home/pi/Desktop/images/31102025/15/16/image_31102025_15_16_22_2661.jpg
/home/pi/Desktop/images/31102025/15/16/image_31102025_15_16_28_2705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397261010","1397260935","1397261007","1397260952","1397260957","1397261008"],"photo_ids_order":["1397260935","1397260952","1397260957","1397261007","1397261008","1397261010"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c8b5b5e21cf87a0de7471ac4ac73513b.jpg","text":"TemporaryFile(/tmp/multipartBody8289025707346185235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628125183,"filename":"image_31102025_15_16_28_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/1/b1b12a902dc0371a5daef14050ede776.jpg","text":"TemporaryFile(/tmp/multipartBody1159902133494915625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628125183,"filename":"image_31102025_15_15_46_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/1/c1a88ed69f75fabb0faf3870430dc168.jpg","text":"TemporaryFile(/tmp/multipartBody6018108438928384563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628125183,"filename":"image_31102025_15_16_19_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/1/629d1ae753c002c98a4fbb6fe23667e3.jpg","text":"TemporaryFile(/tmp/multipartBody911460083479781668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628125183,"filename":"image_31102025_15_15_55_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c1e269ccf7480fcf17ad9a289b289e79.jpg","text":"TemporaryFile(/tmp/multipartBody6284161846505237033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628125183,"filename":"image_31102025_15_16_13_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3bf41df8c5b628619d2dbdb9e76c4679.jpg","text":"TemporaryFile(/tmp/multipartBody7918133034432605714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628125183,"filename":"image_31102025_15_16_22_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397260957","file1":"1397260952","file0":"1397260935","file4":"1397261008","file5":"1397261010","file3":"1397261007"},"map_files_photo_id_array":[{"photo_id":"1397261010","filename":"file5"},{"photo_id":"1397260957","filename":"file2"},{"photo_id":"1397261008","filename":"file4"},{"photo_id":"1397260952","filename":"file1"},{"photo_id":"1397260935","filename":"file0"},{"photo_id":"1397261007","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397261010":["hashtag1","hashtag2"]},{"1397260935":["hashtag1","hashtag2"]},{"1397261007":["hashtag1","hashtag2"]},{"1397260952":["hashtag1","hashtag2"]},{"1397260957":["hashtag1","hashtag2"]},{"1397261008":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397261010, 1397260935, 1397261007, 1397260952, 1397260957, 1397261008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16163110733032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 23:28:21.919253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/20/11/image_01122025_20_11_55_9743.jpg', '/home/pi/Desktop/images/01122025/20/11/image_01122025_20_12_05_10757.jpg', '/home/pi/Desktop/images/01122025/20/12/image_01122025_20_12_25_9758.jpg', '/home/pi/Desktop/images/01122025/20/12/image_01122025_20_12_45_10768.jpg', '/home/pi/Desktop/images/01122025/20/12/image_01122025_20_12_55_9780.jpg', '/home/pi/Desktop/images/01122025/20/13/image_01122025_20_13_25_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/20/11/image_01122025_20_11_55_9743.jpg
/home/pi/Desktop/images/01122025/20/11/image_01122025_20_12_05_10757.jpg
/home/pi/Desktop/images/01122025/20/12/image_01122025_20_12_25_9758.jpg
/home/pi/Desktop/images/01122025/20/12/image_01122025_20_12_45_10768.jpg
/home/pi/Desktop/images/01122025/20/12/image_01122025_20_12_55_9780.jpg
/home/pi/Desktop/images/01122025/20/13/image_01122025_20_13_25_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":["1397261103","1397261106","1397261090","1397261087","1397261129","1397261039"],"photo_ids_order":["1397261039","1397261087","1397261090","1397261103","1397261106","1397261129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/321da5719063250f07a11e694228051a.jpg","text":"TemporaryFile(/tmp/multipartBody1470829182552901608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628162664,"filename":"image_01122025_20_12_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/1/5b99350f4fba3a8e9497f86f0a31f964.jpg","text":"TemporaryFile(/tmp/multipartBody6990187333061818365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628162664,"filename":"image_01122025_20_12_55_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/be96bdfd5e25377c8c0bf62d6276e81f.jpg","text":"TemporaryFile(/tmp/multipartBody434742550709378779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628162664,"filename":"image_01122025_20_12_25_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3f2c524ab6098615af801527ecafd12e.jpg","text":"TemporaryFile(/tmp/multipartBody3150324861692622997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628162664,"filename":"image_01122025_20_12_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/1/b23639ba3fbd837abfcb11184c111dbd.jpg","text":"TemporaryFile(/tmp/multipartBody6840422121817153816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628162664,"filename":"image_01122025_20_13_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/1/6202d1f24c4385451ac703ed2abfef7f.jpg","text":"TemporaryFile(/tmp/multipartBody7472665867891952692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628162664,"filename":"image_01122025_20_11_55_9743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397261090","file1":"1397261087","file0":"1397261039","file4":"1397261106","file5":"1397261129","file3":"1397261103"},"map_files_photo_id_array":[{"photo_id":"1397261129","filename":"file5"},{"photo_id":"1397261090","filename":"file2"},{"photo_id":"1397261106","filename":"file4"},{"photo_id":"1397261087","filename":"file1"},{"photo_id":"1397261039","filename":"file0"},{"photo_id":"1397261103","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397261103":["hashtag1","hashtag2"]},{"1397261106":["hashtag1","hashtag2"]},{"1397261090":["hashtag1","hashtag2"]},{"1397261087":["hashtag1","hashtag2"]},{"1397261129":["hashtag1","hashtag2"]},{"1397261039":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397261103, 1397261106, 1397261090, 1397261087, 1397261129, 1397261039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.49523210525513 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-01 23:29:12.046015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_44_2635.jpg', '/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_46_2756.jpg', '/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_50_3707.jpg', '/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_56_2595.jpg', '/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_59_3541.jpg', '/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_02_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_44_2635.jpg
/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_46_2756.jpg
/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_50_3707.jpg
/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_56_2595.jpg
/home/pi/Desktop/images/25112025/23/46/image_25112025_23_46_59_3541.jpg
/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_02_2689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397261157","1397261171","1397261165","1397261168","1397261161","1397261155"],"photo_ids_order":["1397261155","1397261157","1397261161","1397261165","1397261168","1397261171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/25b16d64ba159cdd8e02ec8df2c3c705.jpg","text":"TemporaryFile(/tmp/multipartBody1928250120687180433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628213641,"filename":"image_25112025_23_46_46_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/1/07b96e4ab80bc7e1aa82a38c2da4a7d9.jpg","text":"TemporaryFile(/tmp/multipartBody8944425907892717082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628213641,"filename":"image_25112025_23_47_02_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/1/167f5d0927d479a5277762c1c1c00657.jpg","text":"TemporaryFile(/tmp/multipartBody3009142305354096397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628213641,"filename":"image_25112025_23_46_56_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/24cf7a8624eef35ebdbfe03de3c420db.jpg","text":"TemporaryFile(/tmp/multipartBody6701763382662937956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628213641,"filename":"image_25112025_23_46_59_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/1/9c63955b1f6c2b4cb6915575e9b9e3a0.jpg","text":"TemporaryFile(/tmp/multipartBody7418596197228707773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628213641,"filename":"image_25112025_23_46_50_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/1/87b986783df7764840b45a7bc0ee103b.jpg","text":"TemporaryFile(/tmp/multipartBody2240540214001742299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628213641,"filename":"image_25112025_23_46_44_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397261161","file1":"1397261157","file0":"1397261155","file4":"1397261168","file5":"1397261171","file3":"1397261165"},"map_files_photo_id_array":[{"photo_id":"1397261171","filename":"file5"},{"photo_id":"1397261161","filename":"file2"},{"photo_id":"1397261168","filename":"file4"},{"photo_id":"1397261157","filename":"file1"},{"photo_id":"1397261155","filename":"file0"},{"photo_id":"1397261165","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397261157":["hashtag1","hashtag2"]},{"1397261171":["hashtag1","hashtag2"]},{"1397261165":["hashtag1","hashtag2"]},{"1397261168":["hashtag1","hashtag2"]},{"1397261161":["hashtag1","hashtag2"]},{"1397261155":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397261157, 1397261171, 1397261165, 1397261168, 1397261161, 1397261155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.21192026138306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 23:30:02.965101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/20/15/image_01122025_20_15_14_9751.jpg', '/home/pi/Desktop/images/01122025/20/16/image_01122025_20_16_25_10659.jpg', '/home/pi/Desktop/images/01122025/20/17/image_01122025_20_17_15_9661.jpg', '/home/pi/Desktop/images/01122025/20/17/image_01122025_20_17_34_9792.jpg', '/home/pi/Desktop/images/01122025/20/17/image_01122025_20_17_45_10907.jpg', '/home/pi/Desktop/images/01122025/20/17/image_01122025_20_17_55_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/20/15/image_01122025_20_15_14_9751.jpg
/home/pi/Desktop/images/01122025/20/16/image_01122025_20_16_25_10659.jpg
/home/pi/Desktop/images/01122025/20/17/image_01122025_20_17_15_9661.jpg
/home/pi/Desktop/images/01122025/20/17/image_01122025_20_17_34_9792.jpg
/home/pi/Desktop/images/01122025/20/17/image_01122025_20_17_45_10907.jpg
/home/pi/Desktop/images/01122025/20/17/image_01122025_20_17_55_9733.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6614758968353271 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 23:30:12.383221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_04_2622.jpg', '/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_14_1599.jpg', '/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_15_1719.jpg', '/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_17_1658.jpg', '/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_20_2655.jpg', '/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_24_4479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_04_2622.jpg
/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_14_1599.jpg
/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_15_1719.jpg
/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_17_1658.jpg
/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_20_2655.jpg
/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_24_4479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397261334","1397261214","1397261192","1397261185","1397261197","1397261182"],"photo_ids_order":["1397261182","1397261185","1397261192","1397261197","1397261214","1397261334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/11eac8b954efd168f98f7171ca17409d.jpg","text":"TemporaryFile(/tmp/multipartBody4159578163612032383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628273981,"filename":"image_25112025_23_47_24_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/1/6c223eefd53021457b25cd5b4f6eea09.jpg","text":"TemporaryFile(/tmp/multipartBody2050088620834933353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628273981,"filename":"image_25112025_23_47_20_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/26b33221aaa930834f6ede1815302cd9.jpg","text":"TemporaryFile(/tmp/multipartBody572391340317220852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628273981,"filename":"image_25112025_23_47_15_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/1/b870883d9dc10fcf5eaf651e4d7466c6.jpg","text":"TemporaryFile(/tmp/multipartBody7012572401922269095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628273981,"filename":"image_25112025_23_47_14_1599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b69d769ab8aae6aa1a61991bcdf9a1b5.jpg","text":"TemporaryFile(/tmp/multipartBody4242420227527005841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628273981,"filename":"image_25112025_23_47_17_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/1/bc02b94600cfe2c53c51d4dd4a645298.jpg","text":"TemporaryFile(/tmp/multipartBody5428031456989949549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628273981,"filename":"image_25112025_23_47_04_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397261192","file1":"1397261185","file0":"1397261182","file4":"1397261214","file5":"1397261334","file3":"1397261197"},"map_files_photo_id_array":[{"photo_id":"1397261334","filename":"file5"},{"photo_id":"1397261192","filename":"file2"},{"photo_id":"1397261214","filename":"file4"},{"photo_id":"1397261185","filename":"file1"},{"photo_id":"1397261182","filename":"file0"},{"photo_id":"1397261197","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397261334":["hashtag1","hashtag2"]},{"1397261214":["hashtag1","hashtag2"]},{"1397261192":["hashtag1","hashtag2"]},{"1397261185":["hashtag1","hashtag2"]},{"1397261197":["hashtag1","hashtag2"]},{"1397261182":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397261334, 1397261214, 1397261192, 1397261185, 1397261197, 1397261182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.73216485977173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 23:31:03.323605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/20/15/image_01122025_20_15_14_9751.jpg', '/home/pi/Desktop/images/01122025/20/16/image_01122025_20_16_25_10659.jpg', '/home/pi/Desktop/images/01122025/20/17/image_01122025_20_17_15_9661.jpg', '/home/pi/Desktop/images/01122025/20/17/image_01122025_20_17_34_9792.jpg', '/home/pi/Desktop/images/01122025/20/17/image_01122025_20_17_45_10907.jpg', '/home/pi/Desktop/images/01122025/20/17/image_01122025_20_17_55_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/20/15/image_01122025_20_15_14_9751.jpg
/home/pi/Desktop/images/01122025/20/16/image_01122025_20_16_25_10659.jpg
/home/pi/Desktop/images/01122025/20/17/image_01122025_20_17_15_9661.jpg
/home/pi/Desktop/images/01122025/20/17/image_01122025_20_17_34_9792.jpg
/home/pi/Desktop/images/01122025/20/17/image_01122025_20_17_45_10907.jpg
/home/pi/Desktop/images/01122025/20/17/image_01122025_20_17_55_9733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397261457","1397261469","1397261460","1397261453","1397261465","1397261455"],"photo_ids_order":["1397261453","1397261455","1397261457","1397261460","1397261465","1397261469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9aa8e3b386eaaf7da2cc76d9e4a4643e.jpg","text":"TemporaryFile(/tmp/multipartBody5883771543391592285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628324122,"filename":"image_01122025_20_17_15_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/c91e472ad7e65131ae5230482dc898a7.jpg","text":"TemporaryFile(/tmp/multipartBody5979365380521548548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628324122,"filename":"image_01122025_20_17_55_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/37ff235cc6881ff022d433f691d9a2fc.jpg","text":"TemporaryFile(/tmp/multipartBody4801822958755091091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628324122,"filename":"image_01122025_20_17_34_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/15f8e05fed105648fde6670c54f3849a.jpg","text":"TemporaryFile(/tmp/multipartBody8192632167290181485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628324122,"filename":"image_01122025_20_15_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/1/7864c53b73ed1ae09562ec8951a2912c.jpg","text":"TemporaryFile(/tmp/multipartBody7158494430448440844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628324122,"filename":"image_01122025_20_17_45_10907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/eba5d9eb3fe6b929d8531fe74f7e06f4.jpg","text":"TemporaryFile(/tmp/multipartBody7035518209898051547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628324122,"filename":"image_01122025_20_16_25_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397261457","file1":"1397261455","file0":"1397261453","file4":"1397261465","file5":"1397261469","file3":"1397261460"},"map_files_photo_id_array":[{"photo_id":"1397261469","filename":"file5"},{"photo_id":"1397261457","filename":"file2"},{"photo_id":"1397261465","filename":"file4"},{"photo_id":"1397261455","filename":"file1"},{"photo_id":"1397261453","filename":"file0"},{"photo_id":"1397261460","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397261457":["hashtag1","hashtag2"]},{"1397261469":["hashtag1","hashtag2"]},{"1397261460":["hashtag1","hashtag2"]},{"1397261453":["hashtag1","hashtag2"]},{"1397261465":["hashtag1","hashtag2"]},{"1397261455":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397261457, 1397261469, 1397261460, 1397261453, 1397261465, 1397261455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.197866916656494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 23:32:03.162337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/20/19/image_01122025_20_19_55_9714.jpg', '/home/pi/Desktop/images/01122025/20/20/image_01122025_20_20_55_9592.jpg', '/home/pi/Desktop/images/01122025/20/20/image_01122025_20_21_04_9753.jpg', '/home/pi/Desktop/images/01122025/20/21/image_01122025_20_21_15_10606.jpg', '/home/pi/Desktop/images/01122025/20/21/image_01122025_20_21_25_9763.jpg', '/home/pi/Desktop/images/01122025/20/21/image_01122025_20_21_44_9820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/20/19/image_01122025_20_19_55_9714.jpg
/home/pi/Desktop/images/01122025/20/20/image_01122025_20_20_55_9592.jpg
/home/pi/Desktop/images/01122025/20/20/image_01122025_20_21_04_9753.jpg
/home/pi/Desktop/images/01122025/20/21/image_01122025_20_21_15_10606.jpg
/home/pi/Desktop/images/01122025/20/21/image_01122025_20_21_25_9763.jpg
/home/pi/Desktop/images/01122025/20/21/image_01122025_20_21_44_9820.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397261481","1397261486","1397261489","1397261483","1397261477","1397261479"],"photo_ids_order":["1397261477","1397261479","1397261481","1397261483","1397261486","1397261489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/61f9da25b2884d026000e828518f47c2.jpg","text":"TemporaryFile(/tmp/multipartBody4372708523163281278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628384134,"filename":"image_01122025_20_21_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/1/0990d1134ec60913027745f234ba3492.jpg","text":"TemporaryFile(/tmp/multipartBody7810217979964833362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628384134,"filename":"image_01122025_20_21_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/1/f4130b190c0fd47bc4fa4e7ae65dd40d.jpg","text":"TemporaryFile(/tmp/multipartBody4872351937170410630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628384134,"filename":"image_01122025_20_21_44_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/db8c64c4a597ddf837079c05d288d86c.jpg","text":"TemporaryFile(/tmp/multipartBody7575560257911664856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628384134,"filename":"image_01122025_20_21_15_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/88b87956372124ca79d1942102b13726.jpg","text":"TemporaryFile(/tmp/multipartBody6707277087363377438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628384134,"filename":"image_01122025_20_19_55_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/abe62bb04399a2207397ed327f9835c4.jpg","text":"TemporaryFile(/tmp/multipartBody2875235462671441613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628384134,"filename":"image_01122025_20_20_55_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397261481","file1":"1397261479","file0":"1397261477","file4":"1397261486","file5":"1397261489","file3":"1397261483"},"map_files_photo_id_array":[{"photo_id":"1397261489","filename":"file5"},{"photo_id":"1397261481","filename":"file2"},{"photo_id":"1397261486","filename":"file4"},{"photo_id":"1397261479","filename":"file1"},{"photo_id":"1397261477","filename":"file0"},{"photo_id":"1397261483","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397261481":["hashtag1","hashtag2"]},{"1397261486":["hashtag1","hashtag2"]},{"1397261489":["hashtag1","hashtag2"]},{"1397261483":["hashtag1","hashtag2"]},{"1397261477":["hashtag1","hashtag2"]},{"1397261479":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397261481, 1397261486, 1397261489, 1397261483, 1397261477, 1397261479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.09818172454834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 23:33:02.565899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/20/21/image_01122025_20_21_55_10597.jpg', '/home/pi/Desktop/images/01122025/20/21/image_01122025_20_22_05_9657.jpg', '/home/pi/Desktop/images/01122025/20/22/image_01122025_20_22_35_9807.jpg', '/home/pi/Desktop/images/01122025/20/22/image_01122025_20_22_45_9868.jpg', '/home/pi/Desktop/images/01122025/20/22/image_01122025_20_22_54_9681.jpg', '/home/pi/Desktop/images/01122025/20/22/image_01122025_20_23_05_10756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/20/21/image_01122025_20_21_55_10597.jpg
/home/pi/Desktop/images/01122025/20/21/image_01122025_20_22_05_9657.jpg
/home/pi/Desktop/images/01122025/20/22/image_01122025_20_22_35_9807.jpg
/home/pi/Desktop/images/01122025/20/22/image_01122025_20_22_45_9868.jpg
/home/pi/Desktop/images/01122025/20/22/image_01122025_20_22_54_9681.jpg
/home/pi/Desktop/images/01122025/20/22/image_01122025_20_23_05_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":["1397261506","1397261499","1397261498","1397261497","1397261500","1397261503"],"photo_ids_order":["1397261497","1397261498","1397261499","1397261500","1397261503","1397261506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1faafe0843b311301ce795d689054d72.jpg","text":"TemporaryFile(/tmp/multipartBody8450620129022047505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628443367,"filename":"image_01122025_20_23_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/1/e19bb0e37e970df8fe34aa8cb78a30a3.jpg","text":"TemporaryFile(/tmp/multipartBody5455122785727060815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628443367,"filename":"image_01122025_20_22_35_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/1/4b3f2d8491c80b4dd4145c40028b11d5.jpg","text":"TemporaryFile(/tmp/multipartBody604690499532517738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628443367,"filename":"image_01122025_20_22_05_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/857e5fe2a81fd1d67d12675dd2bc4749.jpg","text":"TemporaryFile(/tmp/multipartBody6973506929122183686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628443367,"filename":"image_01122025_20_21_55_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/1/6eccab96a1c53a9839cfde944d5b3b5c.jpg","text":"TemporaryFile(/tmp/multipartBody4839917802759197845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628443367,"filename":"image_01122025_20_22_45_9868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bedfe72b330be0c2e60a4a1869d2e19b.jpg","text":"TemporaryFile(/tmp/multipartBody5033659523997206519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628443367,"filename":"image_01122025_20_22_54_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397261499","file1":"1397261498","file0":"1397261497","file4":"1397261503","file5":"1397261506","file3":"1397261500"},"map_files_photo_id_array":[{"photo_id":"1397261506","filename":"file5"},{"photo_id":"1397261499","filename":"file2"},{"photo_id":"1397261503","filename":"file4"},{"photo_id":"1397261498","filename":"file1"},{"photo_id":"1397261497","filename":"file0"},{"photo_id":"1397261500","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397261506":["hashtag1","hashtag2"]},{"1397261499":["hashtag1","hashtag2"]},{"1397261498":["hashtag1","hashtag2"]},{"1397261497":["hashtag1","hashtag2"]},{"1397261500":["hashtag1","hashtag2"]},{"1397261503":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397261506, 1397261499, 1397261498, 1397261497, 1397261500, 1397261503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.3875994682312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 23:33:42.040664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/16/image_31102025_15_16_31_2665.jpg', '/home/pi/Desktop/images/31102025/15/16/image_31102025_15_16_34_2695.jpg', '/home/pi/Desktop/images/31102025/15/16/image_31102025_15_16_46_3608.jpg', '/home/pi/Desktop/images/31102025/15/16/image_31102025_15_16_49_2675.jpg', '/home/pi/Desktop/images/31102025/15/16/image_31102025_15_16_58_2614.jpg', '/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_01_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/16/image_31102025_15_16_31_2665.jpg
/home/pi/Desktop/images/31102025/15/16/image_31102025_15_16_34_2695.jpg
/home/pi/Desktop/images/31102025/15/16/image_31102025_15_16_46_3608.jpg
/home/pi/Desktop/images/31102025/15/16/image_31102025_15_16_49_2675.jpg
/home/pi/Desktop/images/31102025/15/16/image_31102025_15_16_58_2614.jpg
/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_01_2639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397261520","1397261517","1397261519","1397261521","1397261515","1397261518"],"photo_ids_order":["1397261515","1397261517","1397261518","1397261519","1397261520","1397261521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ec8c9db21d95eeb40e4c4b4112858162.jpg","text":"TemporaryFile(/tmp/multipartBody1373337964223351246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628484778,"filename":"image_31102025_15_16_58_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/deb356afd44413fc1eceb757218e062b.jpg","text":"TemporaryFile(/tmp/multipartBody3552781317852330236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628484778,"filename":"image_31102025_15_16_34_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9b6f2182c3bbc2d2947a6a968754749a.jpg","text":"TemporaryFile(/tmp/multipartBody5748525175031102908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628484778,"filename":"image_31102025_15_16_49_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/197c68ff51850b9c179099d98c163277.jpg","text":"TemporaryFile(/tmp/multipartBody2557218613031069159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628484778,"filename":"image_31102025_15_17_01_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9e1e459191868c6ec0e46b08bc331dea.jpg","text":"TemporaryFile(/tmp/multipartBody3466690531815037752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628484778,"filename":"image_31102025_15_16_31_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/1/840827f37fd5f87441f28f9940fb4621.jpg","text":"TemporaryFile(/tmp/multipartBody5933240911760293040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628484778,"filename":"image_31102025_15_16_46_3608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397261518","file1":"1397261517","file0":"1397261515","file4":"1397261520","file5":"1397261521","file3":"1397261519"},"map_files_photo_id_array":[{"photo_id":"1397261521","filename":"file5"},{"photo_id":"1397261518","filename":"file2"},{"photo_id":"1397261520","filename":"file4"},{"photo_id":"1397261517","filename":"file1"},{"photo_id":"1397261515","filename":"file0"},{"photo_id":"1397261519","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397261520":["hashtag1","hashtag2"]},{"1397261517":["hashtag1","hashtag2"]},{"1397261519":["hashtag1","hashtag2"]},{"1397261521":["hashtag1","hashtag2"]},{"1397261515":["hashtag1","hashtag2"]},{"1397261518":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397261520, 1397261517, 1397261519, 1397261521, 1397261515, 1397261518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.23320913314819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 23:34:32.298354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_33_7107.jpg', '/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_42_8846.jpg', '/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_43_1565.jpg', '/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_45_1552.jpg', '/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_46_1659.jpg', '/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_48_1557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_33_7107.jpg
/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_42_8846.jpg
/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_43_1565.jpg
/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_45_1552.jpg
/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_46_1659.jpg
/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_48_1557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397261538","1397261532","1397261613","1397261535","1397261537","1397261530"],"photo_ids_order":["1397261530","1397261532","1397261535","1397261537","1397261538","1397261613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0e3151f233ff5e64436677ca42bddcee.jpg","text":"TemporaryFile(/tmp/multipartBody5587532731070185099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628535313,"filename":"image_25112025_23_47_46_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/1/9e0d7d4449cf499d9ad7109ec2101dc4.jpg","text":"TemporaryFile(/tmp/multipartBody8284511233159246122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628535313,"filename":"image_25112025_23_47_42_8846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/ec41b7d8253d661df88dd83fb2702bcc.jpg","text":"TemporaryFile(/tmp/multipartBody4492158538898101008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628535313,"filename":"image_25112025_23_47_48_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/1/ad127739c454b0f6db7128323339ecf8.jpg","text":"TemporaryFile(/tmp/multipartBody1949072965879551200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628535313,"filename":"image_25112025_23_47_43_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/1/2cbf3747494eb3a1e3a69dd351c46a43.jpg","text":"TemporaryFile(/tmp/multipartBody2671814530336894352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628535313,"filename":"image_25112025_23_47_45_1552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f6c12fe5f932457c5f032e26448e3c9f.jpg","text":"TemporaryFile(/tmp/multipartBody2953840930013836968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628535313,"filename":"image_25112025_23_47_33_7107.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397261535","file1":"1397261532","file0":"1397261530","file4":"1397261538","file5":"1397261613","file3":"1397261537"},"map_files_photo_id_array":[{"photo_id":"1397261613","filename":"file5"},{"photo_id":"1397261535","filename":"file2"},{"photo_id":"1397261538","filename":"file4"},{"photo_id":"1397261532","filename":"file1"},{"photo_id":"1397261530","filename":"file0"},{"photo_id":"1397261537","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397261538":["hashtag1","hashtag2"]},{"1397261532":["hashtag1","hashtag2"]},{"1397261613":["hashtag1","hashtag2"]},{"1397261535":["hashtag1","hashtag2"]},{"1397261537":["hashtag1","hashtag2"]},{"1397261530":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397261538, 1397261532, 1397261613, 1397261535, 1397261537, 1397261530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.79698133468628 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 23:35:22.577215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/20/23/image_01122025_20_23_15_9675.jpg', '/home/pi/Desktop/images/01122025/20/23/image_01122025_20_23_35_10842.jpg', '/home/pi/Desktop/images/01122025/20/23/image_01122025_20_23_45_9860.jpg', '/home/pi/Desktop/images/01122025/20/23/image_01122025_20_23_55_9688.jpg', '/home/pi/Desktop/images/01122025/20/23/image_01122025_20_24_05_9733.jpg', '/home/pi/Desktop/images/01122025/20/24/image_01122025_20_24_15_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/20/23/image_01122025_20_23_15_9675.jpg
/home/pi/Desktop/images/01122025/20/23/image_01122025_20_23_35_10842.jpg
/home/pi/Desktop/images/01122025/20/23/image_01122025_20_23_45_9860.jpg
/home/pi/Desktop/images/01122025/20/23/image_01122025_20_23_55_9688.jpg
/home/pi/Desktop/images/01122025/20/23/image_01122025_20_24_05_9733.jpg
/home/pi/Desktop/images/01122025/20/24/image_01122025_20_24_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":["1397261661","1397261679","1397261658","1397261651","1397261683","1397261685"],"photo_ids_order":["1397261651","1397261658","1397261661","1397261679","1397261683","1397261685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0470e0049594761324d417f4b3c299ae.jpg","text":"TemporaryFile(/tmp/multipartBody6225773132524310432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628583335,"filename":"image_01122025_20_23_45_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4d9999c644b3c726287c7a87f1ff6c6c.jpg","text":"TemporaryFile(/tmp/multipartBody6708088512130571663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628583335,"filename":"image_01122025_20_23_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/1/ad1c7cc8f017706ea964cfd1faed48f2.jpg","text":"TemporaryFile(/tmp/multipartBody3163036277619790363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628583335,"filename":"image_01122025_20_23_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/1/eff131371cc6d349971e8b813fd19ff7.jpg","text":"TemporaryFile(/tmp/multipartBody4616249580277648596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628583335,"filename":"image_01122025_20_23_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/1/0a04101ba3cc420ac3ff3da54b8610fd.jpg","text":"TemporaryFile(/tmp/multipartBody4801550150780543549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628583335,"filename":"image_01122025_20_24_05_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e8cf91573dc3d773cefc5342a67c40cd.jpg","text":"TemporaryFile(/tmp/multipartBody7000063906617940654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628583335,"filename":"image_01122025_20_24_15_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397261661","file1":"1397261658","file0":"1397261651","file4":"1397261683","file5":"1397261685","file3":"1397261679"},"map_files_photo_id_array":[{"photo_id":"1397261685","filename":"file5"},{"photo_id":"1397261661","filename":"file2"},{"photo_id":"1397261683","filename":"file4"},{"photo_id":"1397261658","filename":"file1"},{"photo_id":"1397261651","filename":"file0"},{"photo_id":"1397261679","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397261661":["hashtag1","hashtag2"]},{"1397261679":["hashtag1","hashtag2"]},{"1397261658":["hashtag1","hashtag2"]},{"1397261651":["hashtag1","hashtag2"]},{"1397261683":["hashtag1","hashtag2"]},{"1397261685":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397261661, 1397261679, 1397261658, 1397261651, 1397261683, 1397261685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.813987016677856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 23:36:12.611834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_50_1628.jpg', '/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_51_1643.jpg', '/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_53_1645.jpg', '/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_56_2715.jpg', '/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_59_3596.jpg', '/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_02_2835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_50_1628.jpg
/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_51_1643.jpg
/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_53_1645.jpg
/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_56_2715.jpg
/home/pi/Desktop/images/25112025/23/47/image_25112025_23_47_59_3596.jpg
/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_02_2835.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397261771","1397261765","1397261768","1397261738","1397261761","1397261740"],"photo_ids_order":["1397261738","1397261740","1397261761","1397261765","1397261768","1397261771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0bd7382d959a6e5324e91533556d3127.jpg","text":"TemporaryFile(/tmp/multipartBody5872040229446816358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628634305,"filename":"image_25112025_23_48_02_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4abf02e8bfa9920a4d9c21b79a0db365.jpg","text":"TemporaryFile(/tmp/multipartBody8769129599793826174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628634305,"filename":"image_25112025_23_47_56_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/1/6f51411faff0f092986b093b11a202f8.jpg","text":"TemporaryFile(/tmp/multipartBody2268921750587201878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628634305,"filename":"image_25112025_23_47_59_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/1/dcee03b347ec2543bcb9458e96a0a851.jpg","text":"TemporaryFile(/tmp/multipartBody89249079270858062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628634305,"filename":"image_25112025_23_47_50_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/1/f2a2e7d11354fd4ef57c8cfb6421b7e8.jpg","text":"TemporaryFile(/tmp/multipartBody7551251371780201354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628634305,"filename":"image_25112025_23_47_53_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/1/c40abd935562de75cfd0b79b794ab918.jpg","text":"TemporaryFile(/tmp/multipartBody1595009906056763524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628634305,"filename":"image_25112025_23_47_51_1643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397261761","file1":"1397261740","file0":"1397261738","file4":"1397261768","file5":"1397261771","file3":"1397261765"},"map_files_photo_id_array":[{"photo_id":"1397261771","filename":"file5"},{"photo_id":"1397261761","filename":"file2"},{"photo_id":"1397261768","filename":"file4"},{"photo_id":"1397261740","filename":"file1"},{"photo_id":"1397261738","filename":"file0"},{"photo_id":"1397261765","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397261771":["hashtag1","hashtag2"]},{"1397261765":["hashtag1","hashtag2"]},{"1397261768":["hashtag1","hashtag2"]},{"1397261738":["hashtag1","hashtag2"]},{"1397261761":["hashtag1","hashtag2"]},{"1397261740":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397261771, 1397261765, 1397261768, 1397261738, 1397261761, 1397261740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.31527805328369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 23:37:03.490190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/20/24/image_01122025_20_24_25_9971.jpg', '/home/pi/Desktop/images/01122025/20/24/image_01122025_20_24_45_9691.jpg', '/home/pi/Desktop/images/01122025/20/24/image_01122025_20_25_05_10870.jpg', '/home/pi/Desktop/images/01122025/20/25/image_01122025_20_25_15_9693.jpg', '/home/pi/Desktop/images/01122025/20/25/image_01122025_20_25_25_9618.jpg', '/home/pi/Desktop/images/01122025/20/25/image_01122025_20_25_45_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/20/24/image_01122025_20_24_25_9971.jpg
/home/pi/Desktop/images/01122025/20/24/image_01122025_20_24_45_9691.jpg
/home/pi/Desktop/images/01122025/20/24/image_01122025_20_25_05_10870.jpg
/home/pi/Desktop/images/01122025/20/25/image_01122025_20_25_15_9693.jpg
/home/pi/Desktop/images/01122025/20/25/image_01122025_20_25_25_9618.jpg
/home/pi/Desktop/images/01122025/20/25/image_01122025_20_25_45_10711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397261844","1397261846","1397261854","1397261851","1397261845","1397261848"],"photo_ids_order":["1397261844","1397261845","1397261846","1397261848","1397261851","1397261854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8924c3b65c0c691f5028e5387bb8fcce.jpg","text":"TemporaryFile(/tmp/multipartBody4791168215881122138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628685419,"filename":"image_01122025_20_24_25_9971.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1a107039b733981377491e32291e4ab3.jpg","text":"TemporaryFile(/tmp/multipartBody2484237649281066049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628685419,"filename":"image_01122025_20_25_05_10870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9b4ae4310e1d9a78d26953be07e3c24a.jpg","text":"TemporaryFile(/tmp/multipartBody4664794817768453529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628685419,"filename":"image_01122025_20_25_45_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3c8eb01f69d986f10fcb40a35f964079.jpg","text":"TemporaryFile(/tmp/multipartBody7442983740600964097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628685419,"filename":"image_01122025_20_25_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/1/245a6141a61539381aee2d5bf5249eb6.jpg","text":"TemporaryFile(/tmp/multipartBody8877117139630146101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628685419,"filename":"image_01122025_20_24_45_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/3215d0ac3fe647945e9058906ad866a9.jpg","text":"TemporaryFile(/tmp/multipartBody8300290262576547790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628685419,"filename":"image_01122025_20_25_15_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397261846","file1":"1397261845","file0":"1397261844","file4":"1397261851","file5":"1397261854","file3":"1397261848"},"map_files_photo_id_array":[{"photo_id":"1397261854","filename":"file5"},{"photo_id":"1397261846","filename":"file2"},{"photo_id":"1397261851","filename":"file4"},{"photo_id":"1397261845","filename":"file1"},{"photo_id":"1397261844","filename":"file0"},{"photo_id":"1397261848","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397261844":["hashtag1","hashtag2"]},{"1397261846":["hashtag1","hashtag2"]},{"1397261854":["hashtag1","hashtag2"]},{"1397261851":["hashtag1","hashtag2"]},{"1397261845":["hashtag1","hashtag2"]},{"1397261848":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397261844, 1397261846, 1397261854, 1397261851, 1397261845, 1397261848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.1729211807251 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 23:38:02.445986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/20/25/image_01122025_20_25_55_9651.jpg', '/home/pi/Desktop/images/01122025/20/26/image_01122025_20_26_15_10814.jpg', '/home/pi/Desktop/images/01122025/20/26/image_01122025_20_26_25_9605.jpg', '/home/pi/Desktop/images/01122025/20/26/image_01122025_20_26_34_9605.jpg', '/home/pi/Desktop/images/01122025/20/26/image_01122025_20_26_45_10644.jpg', '/home/pi/Desktop/images/01122025/20/26/image_01122025_20_26_55_9878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/20/25/image_01122025_20_25_55_9651.jpg
/home/pi/Desktop/images/01122025/20/26/image_01122025_20_26_15_10814.jpg
/home/pi/Desktop/images/01122025/20/26/image_01122025_20_26_25_9605.jpg
/home/pi/Desktop/images/01122025/20/26/image_01122025_20_26_34_9605.jpg
/home/pi/Desktop/images/01122025/20/26/image_01122025_20_26_45_10644.jpg
/home/pi/Desktop/images/01122025/20/26/image_01122025_20_26_55_9878.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397261871","1397261865","1397261868","1397261864","1397261863","1397261866"],"photo_ids_order":["1397261863","1397261864","1397261865","1397261866","1397261868","1397261871"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bfd10611ca8f7b357cba438a8ca00f5b.jpg","text":"TemporaryFile(/tmp/multipartBody1513567294781734088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628743209,"filename":"image_01122025_20_26_55_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/1/4a13c46dd7a6f20dcd9a357a8af614dd.jpg","text":"TemporaryFile(/tmp/multipartBody7128331071055710150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628743209,"filename":"image_01122025_20_26_25_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9bfaaffe163c6b800e01364aa2dd784d.jpg","text":"TemporaryFile(/tmp/multipartBody4775395846711318719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628743209,"filename":"image_01122025_20_26_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/1/60be91e051a4cff34c1a41f9e2bc4a46.jpg","text":"TemporaryFile(/tmp/multipartBody2224954251781781268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628743209,"filename":"image_01122025_20_26_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/1/3d0f615b784114a391a7ac0be01dbe7b.jpg","text":"TemporaryFile(/tmp/multipartBody9202499438733202995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628743209,"filename":"image_01122025_20_25_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/1/d20ebcc22b8182879cd1766afb623822.jpg","text":"TemporaryFile(/tmp/multipartBody8412643733838575882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628743209,"filename":"image_01122025_20_26_34_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397261865","file1":"1397261864","file0":"1397261863","file4":"1397261868","file5":"1397261871","file3":"1397261866"},"map_files_photo_id_array":[{"photo_id":"1397261871","filename":"file5"},{"photo_id":"1397261865","filename":"file2"},{"photo_id":"1397261868","filename":"file4"},{"photo_id":"1397261864","filename":"file1"},{"photo_id":"1397261863","filename":"file0"},{"photo_id":"1397261866","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397261871":["hashtag1","hashtag2"]},{"1397261865":["hashtag1","hashtag2"]},{"1397261868":["hashtag1","hashtag2"]},{"1397261864":["hashtag1","hashtag2"]},{"1397261863":["hashtag1","hashtag2"]},{"1397261866":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397261871, 1397261865, 1397261868, 1397261864, 1397261863, 1397261866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3471736907959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 23:38:42.130985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_04_3824.jpg', '/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_07_2754.jpg', '/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_10_2725.jpg', '/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_12_2581.jpg', '/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_16_3796.jpg', '/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_28_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_04_3824.jpg
/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_07_2754.jpg
/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_10_2725.jpg
/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_12_2581.jpg
/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_16_3796.jpg
/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_28_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":["1397261882","1397261885","1397261887","1397261881","1397261884","1397261883"],"photo_ids_order":["1397261881","1397261882","1397261883","1397261884","1397261885","1397261887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/af567f58d64c600c972c5acbee399c9b.jpg","text":"TemporaryFile(/tmp/multipartBody7386144465781406560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628784689,"filename":"image_31102025_15_17_07_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/1/1c1bae2e9bdd6b6fd3fb677079caf64a.jpg","text":"TemporaryFile(/tmp/multipartBody6106102032263723480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628784689,"filename":"image_31102025_15_17_16_3796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/638ba76d3dd7d9a5063852d0415ab856.jpg","text":"TemporaryFile(/tmp/multipartBody8296072261233843431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628784689,"filename":"image_31102025_15_17_28_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9feab55647b121fcd3f5407b39767a36.jpg","text":"TemporaryFile(/tmp/multipartBody5765108389287230089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628784689,"filename":"image_31102025_15_17_04_3824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1681d6c97543c80f96b3a923cc987203.jpg","text":"TemporaryFile(/tmp/multipartBody7478923987027489354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628784689,"filename":"image_31102025_15_17_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/1/cbebee19b5ba4b4c48b4f9eca5d3d4b1.jpg","text":"TemporaryFile(/tmp/multipartBody3689369878862875698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628784689,"filename":"image_31102025_15_17_10_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397261883","file1":"1397261882","file0":"1397261881","file4":"1397261885","file5":"1397261887","file3":"1397261884"},"map_files_photo_id_array":[{"photo_id":"1397261887","filename":"file5"},{"photo_id":"1397261883","filename":"file2"},{"photo_id":"1397261885","filename":"file4"},{"photo_id":"1397261882","filename":"file1"},{"photo_id":"1397261881","filename":"file0"},{"photo_id":"1397261884","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397261882":["hashtag1","hashtag2"]},{"1397261885":["hashtag1","hashtag2"]},{"1397261887":["hashtag1","hashtag2"]},{"1397261881":["hashtag1","hashtag2"]},{"1397261884":["hashtag1","hashtag2"]},{"1397261883":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397261882, 1397261885, 1397261887, 1397261881, 1397261884, 1397261883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.11104679107666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 23:39:22.489955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/20/26/image_01122025_20_27_05_9650.jpg', '/home/pi/Desktop/images/01122025/20/27/image_01122025_20_27_15_10617.jpg', '/home/pi/Desktop/images/01122025/20/27/image_01122025_20_27_25_9646.jpg', '/home/pi/Desktop/images/01122025/20/27/image_01122025_20_27_45_9867.jpg', '/home/pi/Desktop/images/01122025/20/27/image_01122025_20_27_55_10700.jpg', '/home/pi/Desktop/images/01122025/20/28/image_01122025_20_28_15_9883.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/20/26/image_01122025_20_27_05_9650.jpg
/home/pi/Desktop/images/01122025/20/27/image_01122025_20_27_15_10617.jpg
/home/pi/Desktop/images/01122025/20/27/image_01122025_20_27_25_9646.jpg
/home/pi/Desktop/images/01122025/20/27/image_01122025_20_27_45_9867.jpg
/home/pi/Desktop/images/01122025/20/27/image_01122025_20_27_55_10700.jpg
/home/pi/Desktop/images/01122025/20/28/image_01122025_20_28_15_9883.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397261902","1397261894","1397261891","1397261899","1397261903","1397261896"],"photo_ids_order":["1397261891","1397261894","1397261896","1397261899","1397261902","1397261903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/22d1c1735dcaf1b626286cc8e5765a6a.jpg","text":"TemporaryFile(/tmp/multipartBody7817968445426292235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628823211,"filename":"image_01122025_20_27_55_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0f088834a02dc3fa418acaef31d6f07b.jpg","text":"TemporaryFile(/tmp/multipartBody3141245446235799950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628823211,"filename":"image_01122025_20_27_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/1/7ab058f99708821bc25b00e5fecb6120.jpg","text":"TemporaryFile(/tmp/multipartBody7226417026251634998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628823211,"filename":"image_01122025_20_27_05_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/875d59e3b538fcafc20394f75cadbe74.jpg","text":"TemporaryFile(/tmp/multipartBody5278198926664582352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628823211,"filename":"image_01122025_20_27_45_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/25d72baadf3346a0c593cef4426caf4e.jpg","text":"TemporaryFile(/tmp/multipartBody9108463135528488506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628823211,"filename":"image_01122025_20_28_15_9883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/245efe3f5bc2e107dd4ae0478db8d00c.jpg","text":"TemporaryFile(/tmp/multipartBody2791057409980944241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628823211,"filename":"image_01122025_20_27_25_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397261896","file1":"1397261894","file0":"1397261891","file4":"1397261902","file5":"1397261903","file3":"1397261899"},"map_files_photo_id_array":[{"photo_id":"1397261903","filename":"file5"},{"photo_id":"1397261896","filename":"file2"},{"photo_id":"1397261902","filename":"file4"},{"photo_id":"1397261894","filename":"file1"},{"photo_id":"1397261891","filename":"file0"},{"photo_id":"1397261899","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397261902":["hashtag1","hashtag2"]},{"1397261894":["hashtag1","hashtag2"]},{"1397261891":["hashtag1","hashtag2"]},{"1397261899":["hashtag1","hashtag2"]},{"1397261903":["hashtag1","hashtag2"]},{"1397261896":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397261902, 1397261894, 1397261891, 1397261899, 1397261903, 1397261896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05445575714111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 23:40:02.908297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/20/28/image_01122025_20_28_25_9809.jpg', '/home/pi/Desktop/images/01122025/20/28/image_01122025_20_28_45_9718.jpg', '/home/pi/Desktop/images/01122025/20/28/image_01122025_20_28_55_9636.jpg', '/home/pi/Desktop/images/01122025/20/28/image_01122025_20_29_04_9714.jpg', '/home/pi/Desktop/images/01122025/20/29/image_01122025_20_29_25_9722.jpg', '/home/pi/Desktop/images/01122025/20/29/image_01122025_20_29_35_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/20/28/image_01122025_20_28_25_9809.jpg
/home/pi/Desktop/images/01122025/20/28/image_01122025_20_28_45_9718.jpg
/home/pi/Desktop/images/01122025/20/28/image_01122025_20_28_55_9636.jpg
/home/pi/Desktop/images/01122025/20/28/image_01122025_20_29_04_9714.jpg
/home/pi/Desktop/images/01122025/20/29/image_01122025_20_29_25_9722.jpg
/home/pi/Desktop/images/01122025/20/29/image_01122025_20_29_35_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":["1397261904","1397261907","1397261906","1397261911","1397261905","1397261914"],"photo_ids_order":["1397261904","1397261905","1397261906","1397261907","1397261911","1397261914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e5e38318191b823a4dcf1c1d1c61b36d.jpg","text":"TemporaryFile(/tmp/multipartBody1596743491099054151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628863707,"filename":"image_01122025_20_28_25_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/1/42bece92a2691ce73e79974009320e88.jpg","text":"TemporaryFile(/tmp/multipartBody2654998157614341646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628863707,"filename":"image_01122025_20_29_04_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e8b13c8f657918d69e2e168ccfb06140.jpg","text":"TemporaryFile(/tmp/multipartBody1210716909336641318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628863707,"filename":"image_01122025_20_28_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/1/6acc0d7b40e3f6a18c838a6b8955c36f.jpg","text":"TemporaryFile(/tmp/multipartBody1286354864348275004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628863707,"filename":"image_01122025_20_29_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/1/c138a00de28eba12b5ac13d245769b97.jpg","text":"TemporaryFile(/tmp/multipartBody843722190570776746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628863707,"filename":"image_01122025_20_28_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/1/27207fa8eb13a296f4539425da0ce243.jpg","text":"TemporaryFile(/tmp/multipartBody6536400733459517056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628863707,"filename":"image_01122025_20_29_35_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397261906","file1":"1397261905","file0":"1397261904","file4":"1397261911","file5":"1397261914","file3":"1397261907"},"map_files_photo_id_array":[{"photo_id":"1397261914","filename":"file5"},{"photo_id":"1397261906","filename":"file2"},{"photo_id":"1397261911","filename":"file4"},{"photo_id":"1397261905","filename":"file1"},{"photo_id":"1397261904","filename":"file0"},{"photo_id":"1397261907","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397261904":["hashtag1","hashtag2"]},{"1397261907":["hashtag1","hashtag2"]},{"1397261906":["hashtag1","hashtag2"]},{"1397261911":["hashtag1","hashtag2"]},{"1397261905":["hashtag1","hashtag2"]},{"1397261914":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397261904, 1397261907, 1397261906, 1397261911, 1397261905, 1397261914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95830464363098 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-01 23:41:03.378766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/20/29/image_01122025_20_29_45_10676.jpg', '/home/pi/Desktop/images/01122025/20/29/image_01122025_20_30_05_9800.jpg', '/home/pi/Desktop/images/01122025/20/30/image_01122025_20_30_15_10594.jpg', '/home/pi/Desktop/images/01122025/20/30/image_01122025_20_30_25_9730.jpg', '/home/pi/Desktop/images/01122025/20/30/image_01122025_20_30_35_9707.jpg', '/home/pi/Desktop/images/01122025/20/30/image_01122025_20_30_45_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/20/29/image_01122025_20_29_45_10676.jpg
/home/pi/Desktop/images/01122025/20/29/image_01122025_20_30_05_9800.jpg
/home/pi/Desktop/images/01122025/20/30/image_01122025_20_30_15_10594.jpg
/home/pi/Desktop/images/01122025/20/30/image_01122025_20_30_25_9730.jpg
/home/pi/Desktop/images/01122025/20/30/image_01122025_20_30_35_9707.jpg
/home/pi/Desktop/images/01122025/20/30/image_01122025_20_30_45_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":["1397261922","1397261925","1397261924","1397261923","1397261932","1397261929"],"photo_ids_order":["1397261922","1397261923","1397261924","1397261925","1397261929","1397261932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/11a9cc5f39b21cdf156fbac43d492ea9.jpg","text":"TemporaryFile(/tmp/multipartBody5151671022515304883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628924187,"filename":"image_01122025_20_29_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/1/177e2118f73734f5450fe8f1e61b3e92.jpg","text":"TemporaryFile(/tmp/multipartBody7154841002567808313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628924187,"filename":"image_01122025_20_30_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/1/e750039b09c49f0f1ffb403e28ae2430.jpg","text":"TemporaryFile(/tmp/multipartBody488714720904733025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628924187,"filename":"image_01122025_20_30_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/1/ead733115f1f6188530eec8c1fbed07f.jpg","text":"TemporaryFile(/tmp/multipartBody7182875440913028334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628924187,"filename":"image_01122025_20_30_05_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e57e4281e582a181be100639910db1ba.jpg","text":"TemporaryFile(/tmp/multipartBody973733430400119425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628924187,"filename":"image_01122025_20_30_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/1/c16c5af58e73d54c199c6742f4b821a2.jpg","text":"TemporaryFile(/tmp/multipartBody8504271982050945913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628924187,"filename":"image_01122025_20_30_35_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397261924","file1":"1397261923","file0":"1397261922","file4":"1397261929","file5":"1397261932","file3":"1397261925"},"map_files_photo_id_array":[{"photo_id":"1397261932","filename":"file5"},{"photo_id":"1397261924","filename":"file2"},{"photo_id":"1397261929","filename":"file4"},{"photo_id":"1397261923","filename":"file1"},{"photo_id":"1397261922","filename":"file0"},{"photo_id":"1397261925","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397261922":["hashtag1","hashtag2"]},{"1397261925":["hashtag1","hashtag2"]},{"1397261924":["hashtag1","hashtag2"]},{"1397261923":["hashtag1","hashtag2"]},{"1397261932":["hashtag1","hashtag2"]},{"1397261929":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397261922, 1397261925, 1397261924, 1397261923, 1397261932, 1397261929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.41462278366089 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 23:41:42.793367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_31_2710.jpg', '/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_34_3668.jpg', '/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_37_2762.jpg', '/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_40_2728.jpg', '/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_42_2529.jpg', '/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_45_3037.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_31_2710.jpg
/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_34_3668.jpg
/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_37_2762.jpg
/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_40_2728.jpg
/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_42_2529.jpg
/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_45_3037.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397261946","1397261940","1397261943","1397261945","1397261942","1397261944"],"photo_ids_order":["1397261940","1397261942","1397261943","1397261944","1397261945","1397261946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/eaba5545f4a011f9b51afb4fe7368c31.jpg","text":"TemporaryFile(/tmp/multipartBody2712131318754158805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628965333,"filename":"image_31102025_15_17_45_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/1/0bb7c3b2ca79b56dc3359e9ff675f565.jpg","text":"TemporaryFile(/tmp/multipartBody4126692817602333780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628965333,"filename":"image_31102025_15_17_31_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/1/336c6723573cd18662f64556eb73590d.jpg","text":"TemporaryFile(/tmp/multipartBody1919171031850831425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628965333,"filename":"image_31102025_15_17_37_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/32a5a8289f9d775fce2d041b86997e73.jpg","text":"TemporaryFile(/tmp/multipartBody5137565291877299683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628965333,"filename":"image_31102025_15_17_42_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/569374893783ce3953fc7acecedf1f4d.jpg","text":"TemporaryFile(/tmp/multipartBody6241113435389150694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628965333,"filename":"image_31102025_15_17_34_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/1/62032d15e86d083b17c5f97f8a61c871.jpg","text":"TemporaryFile(/tmp/multipartBody8728252034401194954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764628965333,"filename":"image_31102025_15_17_40_2728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397261943","file1":"1397261942","file0":"1397261940","file4":"1397261945","file5":"1397261946","file3":"1397261944"},"map_files_photo_id_array":[{"photo_id":"1397261946","filename":"file5"},{"photo_id":"1397261943","filename":"file2"},{"photo_id":"1397261945","filename":"file4"},{"photo_id":"1397261942","filename":"file1"},{"photo_id":"1397261940","filename":"file0"},{"photo_id":"1397261944","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397261946":["hashtag1","hashtag2"]},{"1397261940":["hashtag1","hashtag2"]},{"1397261943":["hashtag1","hashtag2"]},{"1397261945":["hashtag1","hashtag2"]},{"1397261942":["hashtag1","hashtag2"]},{"1397261944":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397261946, 1397261940, 1397261943, 1397261945, 1397261942, 1397261944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.24956679344177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 23:42:32.125386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_05_2653.jpg', '/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_07_2697.jpg', '/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_10_2878.jpg', '/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_14_3689.jpg', '/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_17_2566.jpg', '/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_20_3596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_05_2653.jpg
/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_07_2697.jpg
/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_10_2878.jpg
/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_14_3689.jpg
/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_17_2566.jpg
/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_20_3596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397261961","1397261963","1397261957","1397261954","1397261962","1397261959"],"photo_ids_order":["1397261954","1397261957","1397261959","1397261961","1397261962","1397261963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4a5676f90b6e43fde99bb0f5f9b859b7.jpg","text":"TemporaryFile(/tmp/multipartBody6477808683129810825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629013843,"filename":"image_25112025_23_48_14_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/1/7e38b145ac9bc6a8353945dd4e59092c.jpg","text":"TemporaryFile(/tmp/multipartBody7030168343089834372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629013843,"filename":"image_25112025_23_48_20_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/1/78db22549971c2dcca440864f5894f2a.jpg","text":"TemporaryFile(/tmp/multipartBody1677696353007389257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629013843,"filename":"image_25112025_23_48_07_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/1/ebea9e912306d93584005a6dfde0a2bc.jpg","text":"TemporaryFile(/tmp/multipartBody8617863315177839535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629013843,"filename":"image_25112025_23_48_05_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/1/8673e2793d4d39cd0e8d880e07f22028.jpg","text":"TemporaryFile(/tmp/multipartBody2123633730632591116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629013843,"filename":"image_25112025_23_48_17_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/1/96805cff86323a5052954a32dbe7a0ea.jpg","text":"TemporaryFile(/tmp/multipartBody7016142323587564620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629013843,"filename":"image_25112025_23_48_10_2878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397261959","file1":"1397261957","file0":"1397261954","file4":"1397261962","file5":"1397261963","file3":"1397261961"},"map_files_photo_id_array":[{"photo_id":"1397261963","filename":"file5"},{"photo_id":"1397261959","filename":"file2"},{"photo_id":"1397261962","filename":"file4"},{"photo_id":"1397261957","filename":"file1"},{"photo_id":"1397261954","filename":"file0"},{"photo_id":"1397261961","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397261961":["hashtag1","hashtag2"]},{"1397261963":["hashtag1","hashtag2"]},{"1397261957":["hashtag1","hashtag2"]},{"1397261954":["hashtag1","hashtag2"]},{"1397261962":["hashtag1","hashtag2"]},{"1397261959":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397261961, 1397261963, 1397261957, 1397261954, 1397261962, 1397261959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49009585380554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 23:43:12.245064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_23_2783.jpg', '/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_26_2715.jpg', '/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_28_2550.jpg', '/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_32_3732.jpg', '/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_35_2630.jpg', '/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_37_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_23_2783.jpg
/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_26_2715.jpg
/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_28_2550.jpg
/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_32_3732.jpg
/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_35_2630.jpg
/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_37_2616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397261979","1397261970","1397261973","1397261967","1397261976","1397261965"],"photo_ids_order":["1397261965","1397261967","1397261970","1397261973","1397261976","1397261979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b29f79ba3e8b124b1ec7ef442cc3df68.jpg","text":"TemporaryFile(/tmp/multipartBody32308983571743646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629053832,"filename":"image_25112025_23_48_37_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9cac4011e48f3a5fff1aa1aa9afd6e6f.jpg","text":"TemporaryFile(/tmp/multipartBody7057016914805725861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629053832,"filename":"image_25112025_23_48_28_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/1/ec168426f73f88fd51acb78efcc9e436.jpg","text":"TemporaryFile(/tmp/multipartBody4246883748636297911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629053832,"filename":"image_25112025_23_48_32_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/1/c7b8cff3ee44317cd1be3f397a425737.jpg","text":"TemporaryFile(/tmp/multipartBody256500582707476879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629053832,"filename":"image_25112025_23_48_26_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5ef029a6e50c1d52ddc0592d44dbc1a9.jpg","text":"TemporaryFile(/tmp/multipartBody4754165177150212960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629053832,"filename":"image_25112025_23_48_35_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/1/01b318f880704daadc3e915f2838f391.jpg","text":"TemporaryFile(/tmp/multipartBody3848760275649516463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629053832,"filename":"image_25112025_23_48_23_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397261970","file1":"1397261967","file0":"1397261965","file4":"1397261976","file5":"1397261979","file3":"1397261973"},"map_files_photo_id_array":[{"photo_id":"1397261979","filename":"file5"},{"photo_id":"1397261970","filename":"file2"},{"photo_id":"1397261976","filename":"file4"},{"photo_id":"1397261967","filename":"file1"},{"photo_id":"1397261965","filename":"file0"},{"photo_id":"1397261973","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397261979":["hashtag1","hashtag2"]},{"1397261970":["hashtag1","hashtag2"]},{"1397261973":["hashtag1","hashtag2"]},{"1397261967":["hashtag1","hashtag2"]},{"1397261976":["hashtag1","hashtag2"]},{"1397261965":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397261979, 1397261970, 1397261973, 1397261967, 1397261976, 1397261965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.587685108184814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 23:44:03.063709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/20/30/image_01122025_20_30_55_10637.jpg', '/home/pi/Desktop/images/01122025/20/30/image_01122025_20_31_05_9771.jpg', '/home/pi/Desktop/images/01122025/20/31/image_01122025_20_31_15_9783.jpg', '/home/pi/Desktop/images/01122025/20/31/image_01122025_20_31_25_9935.jpg', '/home/pi/Desktop/images/01122025/20/31/image_01122025_20_31_35_10625.jpg', '/home/pi/Desktop/images/01122025/20/31/image_01122025_20_31_45_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/20/30/image_01122025_20_30_55_10637.jpg
/home/pi/Desktop/images/01122025/20/30/image_01122025_20_31_05_9771.jpg
/home/pi/Desktop/images/01122025/20/31/image_01122025_20_31_15_9783.jpg
/home/pi/Desktop/images/01122025/20/31/image_01122025_20_31_25_9935.jpg
/home/pi/Desktop/images/01122025/20/31/image_01122025_20_31_35_10625.jpg
/home/pi/Desktop/images/01122025/20/31/image_01122025_20_31_45_9701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397261996","1397261984","1397261992","1397261986","1397261989","1397262001"],"photo_ids_order":["1397261984","1397261986","1397261989","1397261992","1397261996","1397262001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d010f2650aff5be8fe13226b4065e5fc.jpg","text":"TemporaryFile(/tmp/multipartBody934897069144410691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629103851,"filename":"image_01122025_20_31_35_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/1/100d21f9c4e35b4ebfd1c8000be33b71.jpg","text":"TemporaryFile(/tmp/multipartBody7359894803321948102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629103851,"filename":"image_01122025_20_30_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/1/b5daf3ec75af1f20c1acc4c5e807c068.jpg","text":"TemporaryFile(/tmp/multipartBody47241153386024492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629103851,"filename":"image_01122025_20_31_25_9935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/483151f798dba383dab0075eb77c5185.jpg","text":"TemporaryFile(/tmp/multipartBody4014484195408615451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629103851,"filename":"image_01122025_20_31_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/1/1389fc104e8daeff0fb5878d568a952a.jpg","text":"TemporaryFile(/tmp/multipartBody4569889539534489790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629103851,"filename":"image_01122025_20_31_15_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/756e5516914bf6bc705e6fa0bb72e7bc.jpg","text":"TemporaryFile(/tmp/multipartBody5005307169807963215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629103851,"filename":"image_01122025_20_31_45_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397261989","file1":"1397261986","file0":"1397261984","file4":"1397261996","file5":"1397262001","file3":"1397261992"},"map_files_photo_id_array":[{"photo_id":"1397262001","filename":"file5"},{"photo_id":"1397261989","filename":"file2"},{"photo_id":"1397261996","filename":"file4"},{"photo_id":"1397261986","filename":"file1"},{"photo_id":"1397261984","filename":"file0"},{"photo_id":"1397261992","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397261996":["hashtag1","hashtag2"]},{"1397261984":["hashtag1","hashtag2"]},{"1397261992":["hashtag1","hashtag2"]},{"1397261986":["hashtag1","hashtag2"]},{"1397261989":["hashtag1","hashtag2"]},{"1397262001":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397261996, 1397261984, 1397261992, 1397261986, 1397261989, 1397262001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.305455923080444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 23:45:03.194624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/20/31/image_01122025_20_31_55_9736.jpg', '/home/pi/Desktop/images/01122025/20/31/image_01122025_20_32_05_10657.jpg', '/home/pi/Desktop/images/01122025/20/32/image_01122025_20_32_25_9597.jpg', '/home/pi/Desktop/images/01122025/20/32/image_01122025_20_32_45_10675.jpg', '/home/pi/Desktop/images/01122025/20/32/image_01122025_20_32_55_9862.jpg', '/home/pi/Desktop/images/01122025/20/32/image_01122025_20_33_05_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/20/31/image_01122025_20_31_55_9736.jpg
/home/pi/Desktop/images/01122025/20/31/image_01122025_20_32_05_10657.jpg
/home/pi/Desktop/images/01122025/20/32/image_01122025_20_32_25_9597.jpg
/home/pi/Desktop/images/01122025/20/32/image_01122025_20_32_45_10675.jpg
/home/pi/Desktop/images/01122025/20/32/image_01122025_20_32_55_9862.jpg
/home/pi/Desktop/images/01122025/20/32/image_01122025_20_33_05_9778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397262024","1397262012","1397262014","1397262016","1397262019","1397262010"],"photo_ids_order":["1397262010","1397262012","1397262014","1397262016","1397262019","1397262024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2e12e039673d67a286307c21ee3a9d08.jpg","text":"TemporaryFile(/tmp/multipartBody298057574308522464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629164018,"filename":"image_01122025_20_33_05_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/781022e910a5b002067fd4d430ef1035.jpg","text":"TemporaryFile(/tmp/multipartBody3591087804426997903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629164018,"filename":"image_01122025_20_32_05_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/10d07a541e46b63411c17cc7cef0392b.jpg","text":"TemporaryFile(/tmp/multipartBody2998725220187341753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629164018,"filename":"image_01122025_20_32_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/1/9b330b156c82f4670345a086930bc1a8.jpg","text":"TemporaryFile(/tmp/multipartBody4555524082643820116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629164018,"filename":"image_01122025_20_32_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/1/b49c6436d4dc53c5b792878cad04197e.jpg","text":"TemporaryFile(/tmp/multipartBody7389217007435878107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629164018,"filename":"image_01122025_20_32_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/1/c297b987166f34ceaff5dc5acca88ace.jpg","text":"TemporaryFile(/tmp/multipartBody7794297482787699135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629164018,"filename":"image_01122025_20_31_55_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397262014","file1":"1397262012","file0":"1397262010","file4":"1397262019","file5":"1397262024","file3":"1397262016"},"map_files_photo_id_array":[{"photo_id":"1397262024","filename":"file5"},{"photo_id":"1397262014","filename":"file2"},{"photo_id":"1397262019","filename":"file4"},{"photo_id":"1397262012","filename":"file1"},{"photo_id":"1397262010","filename":"file0"},{"photo_id":"1397262016","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397262024":["hashtag1","hashtag2"]},{"1397262012":["hashtag1","hashtag2"]},{"1397262014":["hashtag1","hashtag2"]},{"1397262016":["hashtag1","hashtag2"]},{"1397262019":["hashtag1","hashtag2"]},{"1397262010":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397262024, 1397262012, 1397262014, 1397262016, 1397262019, 1397262010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38744235038757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 23:45:42.548709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_55_2751.jpg', '/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_57_2770.jpg', '/home/pi/Desktop/images/31102025/15/17/image_31102025_15_18_01_3741.jpg', '/home/pi/Desktop/images/31102025/15/18/image_31102025_15_18_31_3722.jpg', '/home/pi/Desktop/images/31102025/15/18/image_31102025_15_18_40_3782.jpg', '/home/pi/Desktop/images/31102025/15/19/image_31102025_15_19_09_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_55_2751.jpg
/home/pi/Desktop/images/31102025/15/17/image_31102025_15_17_57_2770.jpg
/home/pi/Desktop/images/31102025/15/17/image_31102025_15_18_01_3741.jpg
/home/pi/Desktop/images/31102025/15/18/image_31102025_15_18_31_3722.jpg
/home/pi/Desktop/images/31102025/15/18/image_31102025_15_18_40_3782.jpg
/home/pi/Desktop/images/31102025/15/19/image_31102025_15_19_09_2612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397262033","1397262036","1397262039","1397262038","1397262035","1397262037"],"photo_ids_order":["1397262033","1397262035","1397262036","1397262037","1397262038","1397262039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/68bf6987200196133ce1a8d8bbee950a.jpg","text":"TemporaryFile(/tmp/multipartBody469061230155444039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629205090,"filename":"image_31102025_15_17_55_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/5ac157728ff7a59f2f1ed79aeae4f437.jpg","text":"TemporaryFile(/tmp/multipartBody8185579850940221333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629205090,"filename":"image_31102025_15_18_01_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/1/070ebabe44d99f1ef27e4d134f6c4a63.jpg","text":"TemporaryFile(/tmp/multipartBody7927917230585783194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629205090,"filename":"image_31102025_15_19_09_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/1/9df4489c9444ff915ec7d2d5a6060b1d.jpg","text":"TemporaryFile(/tmp/multipartBody6309640850557493121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629205090,"filename":"image_31102025_15_18_40_3782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/388ef8308ea74de145e2aba690800311.jpg","text":"TemporaryFile(/tmp/multipartBody6607405841690040045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629205090,"filename":"image_31102025_15_17_57_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/1/4c89f792dd944edb107af230f7207d22.jpg","text":"TemporaryFile(/tmp/multipartBody3046826480253890614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629205090,"filename":"image_31102025_15_18_31_3722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397262036","file1":"1397262035","file0":"1397262033","file4":"1397262038","file5":"1397262039","file3":"1397262037"},"map_files_photo_id_array":[{"photo_id":"1397262039","filename":"file5"},{"photo_id":"1397262036","filename":"file2"},{"photo_id":"1397262038","filename":"file4"},{"photo_id":"1397262035","filename":"file1"},{"photo_id":"1397262033","filename":"file0"},{"photo_id":"1397262037","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397262033":["hashtag1","hashtag2"]},{"1397262036":["hashtag1","hashtag2"]},{"1397262039":["hashtag1","hashtag2"]},{"1397262038":["hashtag1","hashtag2"]},{"1397262035":["hashtag1","hashtag2"]},{"1397262037":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397262033, 1397262036, 1397262039, 1397262038, 1397262035, 1397262037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.88255190849304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 23:46:32.736270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_41_3521.jpg', '/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_44_2841.jpg', '/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_47_3596.jpg', '/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_50_2581.jpg', '/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_56_3763.jpg', '/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_59_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_41_3521.jpg
/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_44_2841.jpg
/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_47_3596.jpg
/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_50_2581.jpg
/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_56_3763.jpg
/home/pi/Desktop/images/25112025/23/48/image_25112025_23_48_59_2703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397262068","1397262056","1397262059","1397262052","1397262061","1397262066"],"photo_ids_order":["1397262052","1397262056","1397262059","1397262061","1397262066","1397262068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/bb26b2c637e2d20a981c1d7683275550.jpg","text":"TemporaryFile(/tmp/multipartBody6843599478220785788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629254466,"filename":"image_25112025_23_48_59_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/1/0776d4b3dfa288b5d7dd2b619d5008bf.jpg","text":"TemporaryFile(/tmp/multipartBody5679187630594858617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629254466,"filename":"image_25112025_23_48_44_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/1/ab7a0a5f8cf8cf33370f6f5663d9374a.jpg","text":"TemporaryFile(/tmp/multipartBody1191909551826073362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629254466,"filename":"image_25112025_23_48_47_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/29d821bd3730a9f35e9c087f06df8634.jpg","text":"TemporaryFile(/tmp/multipartBody5051935860256677163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629254466,"filename":"image_25112025_23_48_41_3521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/0cbfd604368f287971ef1f159dc6ee12.jpg","text":"TemporaryFile(/tmp/multipartBody7031293235379183670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629254466,"filename":"image_25112025_23_48_50_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d1061e74d17c6df4e0d13222cca65e92.jpg","text":"TemporaryFile(/tmp/multipartBody4275679702964216443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629254466,"filename":"image_25112025_23_48_56_3763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397262059","file1":"1397262056","file0":"1397262052","file4":"1397262066","file5":"1397262068","file3":"1397262061"},"map_files_photo_id_array":[{"photo_id":"1397262068","filename":"file5"},{"photo_id":"1397262059","filename":"file2"},{"photo_id":"1397262066","filename":"file4"},{"photo_id":"1397262056","filename":"file1"},{"photo_id":"1397262052","filename":"file0"},{"photo_id":"1397262061","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397262068":["hashtag1","hashtag2"]},{"1397262056":["hashtag1","hashtag2"]},{"1397262059":["hashtag1","hashtag2"]},{"1397262052":["hashtag1","hashtag2"]},{"1397262061":["hashtag1","hashtag2"]},{"1397262066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397262068, 1397262056, 1397262059, 1397262052, 1397262061, 1397262066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.967302322387695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 23:47:22.085871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/20/33/image_01122025_20_33_15_9663.jpg', '/home/pi/Desktop/images/01122025/20/33/image_01122025_20_33_25_10088.jpg', '/home/pi/Desktop/images/01122025/20/33/image_01122025_20_33_34_9739.jpg', '/home/pi/Desktop/images/01122025/20/33/image_01122025_20_33_55_9614.jpg', '/home/pi/Desktop/images/01122025/20/33/image_01122025_20_34_05_9662.jpg', '/home/pi/Desktop/images/01122025/20/34/image_01122025_20_34_15_10683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/20/33/image_01122025_20_33_15_9663.jpg
/home/pi/Desktop/images/01122025/20/33/image_01122025_20_33_25_10088.jpg
/home/pi/Desktop/images/01122025/20/33/image_01122025_20_33_34_9739.jpg
/home/pi/Desktop/images/01122025/20/33/image_01122025_20_33_55_9614.jpg
/home/pi/Desktop/images/01122025/20/33/image_01122025_20_34_05_9662.jpg
/home/pi/Desktop/images/01122025/20/34/image_01122025_20_34_15_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":["1397262092","1397262097","1397262088","1397262081","1397262100","1397262084"],"photo_ids_order":["1397262081","1397262084","1397262088","1397262092","1397262097","1397262100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/accb973270710aa80b3b074a15fdd5b4.jpg","text":"TemporaryFile(/tmp/multipartBody5514997452345143912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629302822,"filename":"image_01122025_20_33_55_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/509320496b51dc489f6abc61f5dd568e.jpg","text":"TemporaryFile(/tmp/multipartBody4545270385907250307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629302822,"filename":"image_01122025_20_34_05_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1a9966aae881fa444320b193f4341147.jpg","text":"TemporaryFile(/tmp/multipartBody4008036183201419452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629302822,"filename":"image_01122025_20_33_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/1/daa6231f9ef6c18ee2cea02740de97cb.jpg","text":"TemporaryFile(/tmp/multipartBody1514465746848732801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629302822,"filename":"image_01122025_20_33_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/1/e7f83a7c196163033ccdb44db171c49e.jpg","text":"TemporaryFile(/tmp/multipartBody2423549490173731070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629302822,"filename":"image_01122025_20_34_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/1/0b1c61c71b26fe28819e15fce0011f67.jpg","text":"TemporaryFile(/tmp/multipartBody7011855540511199835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629302822,"filename":"image_01122025_20_33_25_10088.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397262088","file1":"1397262084","file0":"1397262081","file4":"1397262097","file5":"1397262100","file3":"1397262092"},"map_files_photo_id_array":[{"photo_id":"1397262100","filename":"file5"},{"photo_id":"1397262088","filename":"file2"},{"photo_id":"1397262097","filename":"file4"},{"photo_id":"1397262084","filename":"file1"},{"photo_id":"1397262081","filename":"file0"},{"photo_id":"1397262092","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397262092":["hashtag1","hashtag2"]},{"1397262097":["hashtag1","hashtag2"]},{"1397262088":["hashtag1","hashtag2"]},{"1397262081":["hashtag1","hashtag2"]},{"1397262100":["hashtag1","hashtag2"]},{"1397262084":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397262092, 1397262097, 1397262088, 1397262081, 1397262100, 1397262084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.96890830993652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 23:48:02.590159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/20/34/image_01122025_20_34_25_9649.jpg', '/home/pi/Desktop/images/01122025/20/34/image_01122025_20_34_34_9634.jpg', '/home/pi/Desktop/images/01122025/20/34/image_01122025_20_34_45_10847.jpg', '/home/pi/Desktop/images/01122025/20/34/image_01122025_20_34_55_9554.jpg', '/home/pi/Desktop/images/01122025/20/34/image_01122025_20_35_05_9640.jpg', '/home/pi/Desktop/images/01122025/20/35/image_01122025_20_35_34_9575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/20/34/image_01122025_20_34_25_9649.jpg
/home/pi/Desktop/images/01122025/20/34/image_01122025_20_34_34_9634.jpg
/home/pi/Desktop/images/01122025/20/34/image_01122025_20_34_45_10847.jpg
/home/pi/Desktop/images/01122025/20/34/image_01122025_20_34_55_9554.jpg
/home/pi/Desktop/images/01122025/20/34/image_01122025_20_35_05_9640.jpg
/home/pi/Desktop/images/01122025/20/35/image_01122025_20_35_34_9575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397262197","1397262199","1397262202","1397262205","1397262195","1397262192"],"photo_ids_order":["1397262192","1397262195","1397262197","1397262199","1397262202","1397262205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9a941fe5852325f674aff27d95cd52b7.jpg","text":"TemporaryFile(/tmp/multipartBody1789161471239183146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629343360,"filename":"image_01122025_20_34_45_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/1/9c38b068e4fb80fb00c107f6a4461b63.jpg","text":"TemporaryFile(/tmp/multipartBody1865961638014698248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629343360,"filename":"image_01122025_20_34_55_9554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f5556365052e14e5f168161b3783f6fd.jpg","text":"TemporaryFile(/tmp/multipartBody737014828057656773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629343360,"filename":"image_01122025_20_35_05_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/2b2fe5f3581a2fead800cec7bb8d09fa.jpg","text":"TemporaryFile(/tmp/multipartBody3557353909227141004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629343360,"filename":"image_01122025_20_35_34_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/66644f65ad34c2a99d356a5bbbfe39f4.jpg","text":"TemporaryFile(/tmp/multipartBody8460876305965016223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629343360,"filename":"image_01122025_20_34_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/1/e07aa06adbb89fc49b203aca151c44ba.jpg","text":"TemporaryFile(/tmp/multipartBody7216654144146719593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629343360,"filename":"image_01122025_20_34_25_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397262197","file1":"1397262195","file0":"1397262192","file4":"1397262202","file5":"1397262205","file3":"1397262199"},"map_files_photo_id_array":[{"photo_id":"1397262205","filename":"file5"},{"photo_id":"1397262197","filename":"file2"},{"photo_id":"1397262202","filename":"file4"},{"photo_id":"1397262195","filename":"file1"},{"photo_id":"1397262192","filename":"file0"},{"photo_id":"1397262199","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397262197":["hashtag1","hashtag2"]},{"1397262199":["hashtag1","hashtag2"]},{"1397262202":["hashtag1","hashtag2"]},{"1397262205":["hashtag1","hashtag2"]},{"1397262195":["hashtag1","hashtag2"]},{"1397262192":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397262197, 1397262199, 1397262202, 1397262205, 1397262195, 1397262192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11812448501587 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 23:48:42.172198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/19/image_31102025_15_19_16_2763.jpg', '/home/pi/Desktop/images/31102025/15/19/image_31102025_15_19_25_2637.jpg', '/home/pi/Desktop/images/31102025/15/19/image_31102025_15_19_27_2627.jpg', '/home/pi/Desktop/images/31102025/15/19/image_31102025_15_19_34_3560.jpg', '/home/pi/Desktop/images/31102025/15/19/image_31102025_15_19_43_3674.jpg', '/home/pi/Desktop/images/31102025/15/19/image_31102025_15_19_52_3621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/19/image_31102025_15_19_16_2763.jpg
/home/pi/Desktop/images/31102025/15/19/image_31102025_15_19_25_2637.jpg
/home/pi/Desktop/images/31102025/15/19/image_31102025_15_19_27_2627.jpg
/home/pi/Desktop/images/31102025/15/19/image_31102025_15_19_34_3560.jpg
/home/pi/Desktop/images/31102025/15/19/image_31102025_15_19_43_3674.jpg
/home/pi/Desktop/images/31102025/15/19/image_31102025_15_19_52_3621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397262222","1397262219","1397262218","1397262215","1397262220","1397262217"],"photo_ids_order":["1397262215","1397262217","1397262218","1397262219","1397262220","1397262222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/184640122fc31cff7d827e60f10b9116.jpg","text":"TemporaryFile(/tmp/multipartBody4937401565412802470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629384735,"filename":"image_31102025_15_19_52_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/1/7eeac3d3fea26efab38b10ad1f2c8cef.jpg","text":"TemporaryFile(/tmp/multipartBody6202594759196189151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629384735,"filename":"image_31102025_15_19_34_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/1/a5c2341c84a2eb8b9858fd51f1a53f0c.jpg","text":"TemporaryFile(/tmp/multipartBody1022137875694542250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629384735,"filename":"image_31102025_15_19_27_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/1/b27065ded4da73214d5ff154e72bcae4.jpg","text":"TemporaryFile(/tmp/multipartBody7830350215654209214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629384735,"filename":"image_31102025_15_19_16_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/1/9db8e5ad8f2d54f84231abff3877313a.jpg","text":"TemporaryFile(/tmp/multipartBody6438864845171713376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629384735,"filename":"image_31102025_15_19_43_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a007b06fa7c86de3e9b154816e281873.jpg","text":"TemporaryFile(/tmp/multipartBody2057319054084702902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629384735,"filename":"image_31102025_15_19_25_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397262218","file1":"1397262217","file0":"1397262215","file4":"1397262220","file5":"1397262222","file3":"1397262219"},"map_files_photo_id_array":[{"photo_id":"1397262222","filename":"file5"},{"photo_id":"1397262218","filename":"file2"},{"photo_id":"1397262220","filename":"file4"},{"photo_id":"1397262217","filename":"file1"},{"photo_id":"1397262215","filename":"file0"},{"photo_id":"1397262219","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397262222":["hashtag1","hashtag2"]},{"1397262219":["hashtag1","hashtag2"]},{"1397262218":["hashtag1","hashtag2"]},{"1397262215":["hashtag1","hashtag2"]},{"1397262220":["hashtag1","hashtag2"]},{"1397262217":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397262222, 1397262219, 1397262218, 1397262215, 1397262220, 1397262217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03816246986389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 23:49:22.406622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/20/35/image_01122025_20_35_55_9752.jpg', '/home/pi/Desktop/images/01122025/20/36/image_01122025_20_36_15_10690.jpg', '/home/pi/Desktop/images/01122025/20/36/image_01122025_20_36_25_9784.jpg', '/home/pi/Desktop/images/01122025/20/36/image_01122025_20_36_45_9824.jpg', '/home/pi/Desktop/images/01122025/20/37/image_01122025_20_37_15_9675.jpg', '/home/pi/Desktop/images/01122025/20/37/image_01122025_20_37_25_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/20/35/image_01122025_20_35_55_9752.jpg
/home/pi/Desktop/images/01122025/20/36/image_01122025_20_36_15_10690.jpg
/home/pi/Desktop/images/01122025/20/36/image_01122025_20_36_25_9784.jpg
/home/pi/Desktop/images/01122025/20/36/image_01122025_20_36_45_9824.jpg
/home/pi/Desktop/images/01122025/20/37/image_01122025_20_37_15_9675.jpg
/home/pi/Desktop/images/01122025/20/37/image_01122025_20_37_25_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":["1397262228","1397262236","1397262239","1397262233","1397262241","1397262243"],"photo_ids_order":["1397262228","1397262233","1397262236","1397262239","1397262241","1397262243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4fe7f0fe489235b64c81a2ba8505d1b9.jpg","text":"TemporaryFile(/tmp/multipartBody3139937716083859803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629423122,"filename":"image_01122025_20_35_55_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e07c7493703e596e72589216bcb00a1d.jpg","text":"TemporaryFile(/tmp/multipartBody2554063837706214646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629423122,"filename":"image_01122025_20_36_25_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6e2d7b87bb39f2a8c24a2104fb479427.jpg","text":"TemporaryFile(/tmp/multipartBody5838899401498402955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629423122,"filename":"image_01122025_20_36_45_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/175ad882e63d0c64e5995daae8eba3aa.jpg","text":"TemporaryFile(/tmp/multipartBody115248516191237051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629423122,"filename":"image_01122025_20_36_15_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/44967a6d4f841725c24d65d4d6578d26.jpg","text":"TemporaryFile(/tmp/multipartBody7023577002406611226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629423122,"filename":"image_01122025_20_37_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/1/5b7cd60d5da8e635b260bd5f44b8fef4.jpg","text":"TemporaryFile(/tmp/multipartBody6049346034222805795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629423122,"filename":"image_01122025_20_37_25_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397262236","file1":"1397262233","file0":"1397262228","file4":"1397262241","file5":"1397262243","file3":"1397262239"},"map_files_photo_id_array":[{"photo_id":"1397262243","filename":"file5"},{"photo_id":"1397262236","filename":"file2"},{"photo_id":"1397262241","filename":"file4"},{"photo_id":"1397262233","filename":"file1"},{"photo_id":"1397262228","filename":"file0"},{"photo_id":"1397262239","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397262228":["hashtag1","hashtag2"]},{"1397262236":["hashtag1","hashtag2"]},{"1397262239":["hashtag1","hashtag2"]},{"1397262233":["hashtag1","hashtag2"]},{"1397262241":["hashtag1","hashtag2"]},{"1397262243":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397262228, 1397262236, 1397262239, 1397262233, 1397262241, 1397262243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.100953817367554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 23:50:16.045716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_01_2590.jpg', '/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_05_3681.jpg', '/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_08_2574.jpg', '/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_10_2843.jpg', '/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_13_2782.jpg', '/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_17_3706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_01_2590.jpg
/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_05_3681.jpg
/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_08_2574.jpg
/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_10_2843.jpg
/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_13_2782.jpg
/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_17_3706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397262260","1397262257","1397262245","1397262250","1397262253","1397262247"],"photo_ids_order":["1397262245","1397262247","1397262250","1397262253","1397262257","1397262260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/862f24e966e97b863a4e4d0e041b2609.jpg","text":"TemporaryFile(/tmp/multipartBody5603742387105845226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629477631,"filename":"image_25112025_23_49_17_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/1/415bde31b931c28137cb2cb2e3bf71fd.jpg","text":"TemporaryFile(/tmp/multipartBody8895173665108166263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629477631,"filename":"image_25112025_23_49_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/1/a47f46f80a1a5fcac811a49fc64c3c68.jpg","text":"TemporaryFile(/tmp/multipartBody356704208346277114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629477631,"filename":"image_25112025_23_49_01_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/1/67bbe523841f03b1c6ad12679e9ca93e.jpg","text":"TemporaryFile(/tmp/multipartBody4983816647190291636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629477631,"filename":"image_25112025_23_49_08_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/1/dd63c57fcfa59406af833e2717e30906.jpg","text":"TemporaryFile(/tmp/multipartBody5110621507826578089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629477631,"filename":"image_25112025_23_49_10_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9258a9f64155a3cb0722b3cb46e8fc7d.jpg","text":"TemporaryFile(/tmp/multipartBody3527994816128390161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629477631,"filename":"image_25112025_23_49_05_3681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397262250","file1":"1397262247","file0":"1397262245","file4":"1397262257","file5":"1397262260","file3":"1397262253"},"map_files_photo_id_array":[{"photo_id":"1397262260","filename":"file5"},{"photo_id":"1397262250","filename":"file2"},{"photo_id":"1397262257","filename":"file4"},{"photo_id":"1397262247","filename":"file1"},{"photo_id":"1397262245","filename":"file0"},{"photo_id":"1397262253","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397262260":["hashtag1","hashtag2"]},{"1397262257":["hashtag1","hashtag2"]},{"1397262245":["hashtag1","hashtag2"]},{"1397262250":["hashtag1","hashtag2"]},{"1397262253":["hashtag1","hashtag2"]},{"1397262247":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397262260, 1397262257, 1397262245, 1397262250, 1397262253, 1397262247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.40964913368225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 23:51:03.412932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/20/37/image_01122025_20_37_35_9575.jpg', '/home/pi/Desktop/images/01122025/20/37/image_01122025_20_37_45_9641.jpg', '/home/pi/Desktop/images/01122025/20/37/image_01122025_20_37_55_10763.jpg', '/home/pi/Desktop/images/01122025/20/38/image_01122025_20_38_35_9701.jpg', '/home/pi/Desktop/images/01122025/20/38/image_01122025_20_38_55_10652.jpg', '/home/pi/Desktop/images/01122025/20/38/image_01122025_20_39_05_9875.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/20/37/image_01122025_20_37_35_9575.jpg
/home/pi/Desktop/images/01122025/20/37/image_01122025_20_37_45_9641.jpg
/home/pi/Desktop/images/01122025/20/37/image_01122025_20_37_55_10763.jpg
/home/pi/Desktop/images/01122025/20/38/image_01122025_20_38_35_9701.jpg
/home/pi/Desktop/images/01122025/20/38/image_01122025_20_38_55_10652.jpg
/home/pi/Desktop/images/01122025/20/38/image_01122025_20_39_05_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":["1397262351","1397262380","1397262353","1397262376","1397262373","1397262354"],"photo_ids_order":["1397262351","1397262353","1397262354","1397262373","1397262376","1397262380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/afe16a618638ebe33b38a8f28f4c716e.jpg","text":"TemporaryFile(/tmp/multipartBody868374264775071240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629524206,"filename":"image_01122025_20_37_35_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/71dfa3bd191d20c44dd5d03376dce4ad.jpg","text":"TemporaryFile(/tmp/multipartBody4084917755512503605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629524206,"filename":"image_01122025_20_39_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/1/411cd0602b0a4be087e873166c7ca866.jpg","text":"TemporaryFile(/tmp/multipartBody3169217600456541046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629524206,"filename":"image_01122025_20_37_45_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1f56b1270560b66ed559841b6a3d08fc.jpg","text":"TemporaryFile(/tmp/multipartBody1296045607127615751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629524206,"filename":"image_01122025_20_38_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/1/2d3e82a30f51bbbf531def7b358ccc5e.jpg","text":"TemporaryFile(/tmp/multipartBody9089485379005145045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629524206,"filename":"image_01122025_20_38_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/1/3d7154611cc7ff0b947d6462dafa4acd.jpg","text":"TemporaryFile(/tmp/multipartBody6526146746893648130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629524206,"filename":"image_01122025_20_37_55_10763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397262354","file1":"1397262353","file0":"1397262351","file4":"1397262376","file5":"1397262380","file3":"1397262373"},"map_files_photo_id_array":[{"photo_id":"1397262380","filename":"file5"},{"photo_id":"1397262354","filename":"file2"},{"photo_id":"1397262376","filename":"file4"},{"photo_id":"1397262353","filename":"file1"},{"photo_id":"1397262351","filename":"file0"},{"photo_id":"1397262373","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397262351":["hashtag1","hashtag2"]},{"1397262380":["hashtag1","hashtag2"]},{"1397262353":["hashtag1","hashtag2"]},{"1397262376":["hashtag1","hashtag2"]},{"1397262373":["hashtag1","hashtag2"]},{"1397262354":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397262351, 1397262380, 1397262353, 1397262376, 1397262373, 1397262354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52152609825134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 23:51:42.852653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/19/image_31102025_15_20_01_3658.jpg', '/home/pi/Desktop/images/31102025/15/20/image_31102025_15_20_07_2614.jpg', '/home/pi/Desktop/images/31102025/15/20/image_31102025_15_20_09_2838.jpg', '/home/pi/Desktop/images/31102025/15/20/image_31102025_15_20_16_3915.jpg', '/home/pi/Desktop/images/31102025/15/20/image_31102025_15_20_18_1992.jpg', '/home/pi/Desktop/images/31102025/15/20/image_31102025_15_20_31_3760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/19/image_31102025_15_20_01_3658.jpg
/home/pi/Desktop/images/31102025/15/20/image_31102025_15_20_07_2614.jpg
/home/pi/Desktop/images/31102025/15/20/image_31102025_15_20_09_2838.jpg
/home/pi/Desktop/images/31102025/15/20/image_31102025_15_20_16_3915.jpg
/home/pi/Desktop/images/31102025/15/20/image_31102025_15_20_18_1992.jpg
/home/pi/Desktop/images/31102025/15/20/image_31102025_15_20_31_3760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397262449","1397262443","1397262451","1397262445","1397262433","1397262435"],"photo_ids_order":["1397262433","1397262435","1397262443","1397262445","1397262449","1397262451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/8ec1ca55b24f7b7276c9b994f088e8a2.jpg","text":"TemporaryFile(/tmp/multipartBody397023359266264935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629565442,"filename":"image_31102025_15_20_18_1992.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/726e34fa5d14b61128b7e008b59fc423.jpg","text":"TemporaryFile(/tmp/multipartBody6153042825286529031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629565442,"filename":"image_31102025_15_20_09_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/1/edd7551440eb9e9ca96678a9c67c4a69.jpg","text":"TemporaryFile(/tmp/multipartBody1871392731989331689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629565442,"filename":"image_31102025_15_20_31_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/1/2813610c1260c6827927bf8dbdab1d50.jpg","text":"TemporaryFile(/tmp/multipartBody4247421355624972059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629565442,"filename":"image_31102025_15_20_16_3915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/d7a609156b2d042224bf80afe6b9a3c8.jpg","text":"TemporaryFile(/tmp/multipartBody6454281622382987945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629565442,"filename":"image_31102025_15_20_01_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/1/63dd39cc783c7b374587bf6661cdaaf3.jpg","text":"TemporaryFile(/tmp/multipartBody7261156661905594042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629565442,"filename":"image_31102025_15_20_07_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397262443","file1":"1397262435","file0":"1397262433","file4":"1397262449","file5":"1397262451","file3":"1397262445"},"map_files_photo_id_array":[{"photo_id":"1397262451","filename":"file5"},{"photo_id":"1397262443","filename":"file2"},{"photo_id":"1397262449","filename":"file4"},{"photo_id":"1397262435","filename":"file1"},{"photo_id":"1397262433","filename":"file0"},{"photo_id":"1397262445","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397262449":["hashtag1","hashtag2"]},{"1397262443":["hashtag1","hashtag2"]},{"1397262451":["hashtag1","hashtag2"]},{"1397262445":["hashtag1","hashtag2"]},{"1397262433":["hashtag1","hashtag2"]},{"1397262435":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397262449, 1397262443, 1397262451, 1397262445, 1397262433, 1397262435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.958529472351074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 23:52:32.019137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_20_2717.jpg', '/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_22_2728.jpg', '/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_25_2865.jpg', '/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_29_3532.jpg', '/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_31_2635.jpg', '/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_35_3562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_20_2717.jpg
/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_22_2728.jpg
/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_25_2865.jpg
/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_29_3532.jpg
/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_31_2635.jpg
/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_35_3562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397262542","1397262481","1397262475","1397262541","1397262478","1397262540"],"photo_ids_order":["1397262475","1397262478","1397262481","1397262540","1397262541","1397262542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7d8bc63faefe0d4ad155f042a45b46a6.jpg","text":"TemporaryFile(/tmp/multipartBody7069291463785659977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629613704,"filename":"image_25112025_23_49_35_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/1/b18fd1aa1f17d5a011ab1c4536be9e73.jpg","text":"TemporaryFile(/tmp/multipartBody4437155752437833391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629613704,"filename":"image_25112025_23_49_25_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/1/07cc52b44c3498bd320587e1aacf915b.jpg","text":"TemporaryFile(/tmp/multipartBody1543000540962856807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629613704,"filename":"image_25112025_23_49_20_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/6791b1ea20cffa3ea477ef237cc4c9ff.jpg","text":"TemporaryFile(/tmp/multipartBody3839163326282281851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629613704,"filename":"image_25112025_23_49_31_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/4707a69cfa03f4e788c2d56686a4bbeb.jpg","text":"TemporaryFile(/tmp/multipartBody5952889638435593747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629613704,"filename":"image_25112025_23_49_22_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a39ffa64d687ea8257d65376badd5433.jpg","text":"TemporaryFile(/tmp/multipartBody3308771882752354415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629613704,"filename":"image_25112025_23_49_29_3532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397262481","file1":"1397262478","file0":"1397262475","file4":"1397262541","file5":"1397262542","file3":"1397262540"},"map_files_photo_id_array":[{"photo_id":"1397262542","filename":"file5"},{"photo_id":"1397262481","filename":"file2"},{"photo_id":"1397262541","filename":"file4"},{"photo_id":"1397262478","filename":"file1"},{"photo_id":"1397262475","filename":"file0"},{"photo_id":"1397262540","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397262542":["hashtag1","hashtag2"]},{"1397262481":["hashtag1","hashtag2"]},{"1397262475":["hashtag1","hashtag2"]},{"1397262541":["hashtag1","hashtag2"]},{"1397262478":["hashtag1","hashtag2"]},{"1397262540":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397262542, 1397262481, 1397262475, 1397262541, 1397262478, 1397262540)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.54923748970032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 23:53:22.141963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/20/39/image_01122025_20_39_15_9604.jpg', '/home/pi/Desktop/images/01122025/20/39/image_01122025_20_39_25_9810.jpg', '/home/pi/Desktop/images/01122025/20/39/image_01122025_20_39_45_10713.jpg', '/home/pi/Desktop/images/01122025/20/39/image_01122025_20_40_04_9607.jpg', '/home/pi/Desktop/images/01122025/20/40/image_01122025_20_40_15_10789.jpg', '/home/pi/Desktop/images/01122025/20/40/image_01122025_20_40_25_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/20/39/image_01122025_20_39_15_9604.jpg
/home/pi/Desktop/images/01122025/20/39/image_01122025_20_39_25_9810.jpg
/home/pi/Desktop/images/01122025/20/39/image_01122025_20_39_45_10713.jpg
/home/pi/Desktop/images/01122025/20/39/image_01122025_20_40_04_9607.jpg
/home/pi/Desktop/images/01122025/20/40/image_01122025_20_40_15_10789.jpg
/home/pi/Desktop/images/01122025/20/40/image_01122025_20_40_25_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":["1397262551","1397262548","1397262556","1397262559","1397262553","1397262561"],"photo_ids_order":["1397262548","1397262551","1397262553","1397262556","1397262559","1397262561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/79a596acd3f9384294b81769d95a2a54.jpg","text":"TemporaryFile(/tmp/multipartBody4556376532286206894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629662857,"filename":"image_01122025_20_39_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/1/9511b869ec21e1c864125a3c8388438c.jpg","text":"TemporaryFile(/tmp/multipartBody6039923879830185035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629662857,"filename":"image_01122025_20_39_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/1/04eef9f5534a49a382f749e08cfaf5ac.jpg","text":"TemporaryFile(/tmp/multipartBody8447256841844281697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629662857,"filename":"image_01122025_20_40_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/1/79827167fc46745518ee4b797b6189ab.jpg","text":"TemporaryFile(/tmp/multipartBody8358913244509058702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629662857,"filename":"image_01122025_20_40_15_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/1/bb59c557e5b1c82e0897b2a72b522c3b.jpg","text":"TemporaryFile(/tmp/multipartBody8994765825477350504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629662857,"filename":"image_01122025_20_39_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/1/bcd19737792bdf004cff3b4fda9ade5e.jpg","text":"TemporaryFile(/tmp/multipartBody210284396004118519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629662857,"filename":"image_01122025_20_40_25_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397262553","file1":"1397262551","file0":"1397262548","file4":"1397262559","file5":"1397262561","file3":"1397262556"},"map_files_photo_id_array":[{"photo_id":"1397262561","filename":"file5"},{"photo_id":"1397262553","filename":"file2"},{"photo_id":"1397262559","filename":"file4"},{"photo_id":"1397262551","filename":"file1"},{"photo_id":"1397262548","filename":"file0"},{"photo_id":"1397262556","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397262551":["hashtag1","hashtag2"]},{"1397262548":["hashtag1","hashtag2"]},{"1397262556":["hashtag1","hashtag2"]},{"1397262559":["hashtag1","hashtag2"]},{"1397262553":["hashtag1","hashtag2"]},{"1397262561":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397262551, 1397262548, 1397262556, 1397262559, 1397262553, 1397262561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93123412132263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-01 23:54:03.197708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/20/40/image_01122025_20_40_45_10669.jpg', '/home/pi/Desktop/images/01122025/20/40/image_01122025_20_40_55_9589.jpg', '/home/pi/Desktop/images/01122025/20/41/image_01122025_20_41_15_10780.jpg', '/home/pi/Desktop/images/01122025/20/41/image_01122025_20_41_35_9600.jpg', '/home/pi/Desktop/images/01122025/20/41/image_01122025_20_41_45_10784.jpg', '/home/pi/Desktop/images/01122025/20/41/image_01122025_20_41_55_9832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/20/40/image_01122025_20_40_45_10669.jpg
/home/pi/Desktop/images/01122025/20/40/image_01122025_20_40_55_9589.jpg
/home/pi/Desktop/images/01122025/20/41/image_01122025_20_41_15_10780.jpg
/home/pi/Desktop/images/01122025/20/41/image_01122025_20_41_35_9600.jpg
/home/pi/Desktop/images/01122025/20/41/image_01122025_20_41_45_10784.jpg
/home/pi/Desktop/images/01122025/20/41/image_01122025_20_41_55_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":["1397262609","1397262592","1397262605","1397262595","1397262598","1397262601"],"photo_ids_order":["1397262592","1397262595","1397262598","1397262601","1397262605","1397262609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/e08404e3c64ad008d13c8740ff7334ca.jpg","text":"TemporaryFile(/tmp/multipartBody7310920330042920273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629703960,"filename":"image_01122025_20_41_55_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/9c6283410e6d3b5d2a36b004093a6095.jpg","text":"TemporaryFile(/tmp/multipartBody799688982052554902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629703960,"filename":"image_01122025_20_40_45_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/7ce5853a5c5d6a3561199fb331750323.jpg","text":"TemporaryFile(/tmp/multipartBody7346795601422055350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629703960,"filename":"image_01122025_20_41_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/1/b2298d74d6b98270897691ce6dffafec.jpg","text":"TemporaryFile(/tmp/multipartBody6958772408047962557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629703960,"filename":"image_01122025_20_40_55_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f244b905f12d689d9bd3b31fc5487438.jpg","text":"TemporaryFile(/tmp/multipartBody7772539693820478155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629703960,"filename":"image_01122025_20_41_15_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/1/251ee6359673ee359ab80db86b02ddf7.jpg","text":"TemporaryFile(/tmp/multipartBody5754484204986307955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629703960,"filename":"image_01122025_20_41_35_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397262598","file1":"1397262595","file0":"1397262592","file4":"1397262605","file5":"1397262609","file3":"1397262601"},"map_files_photo_id_array":[{"photo_id":"1397262609","filename":"file5"},{"photo_id":"1397262598","filename":"file2"},{"photo_id":"1397262605","filename":"file4"},{"photo_id":"1397262595","filename":"file1"},{"photo_id":"1397262592","filename":"file0"},{"photo_id":"1397262601","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397262609":["hashtag1","hashtag2"]},{"1397262592":["hashtag1","hashtag2"]},{"1397262605":["hashtag1","hashtag2"]},{"1397262595":["hashtag1","hashtag2"]},{"1397262598":["hashtag1","hashtag2"]},{"1397262601":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397262609, 1397262592, 1397262605, 1397262595, 1397262598, 1397262601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02508020401001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-01 23:54:42.418596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/15/20/image_31102025_15_20_34_2806.jpg', '/home/pi/Desktop/images/31102025/15/20/image_31102025_15_20_43_3797.jpg', '/home/pi/Desktop/images/31102025/15/20/image_31102025_15_20_46_2809.jpg', '/home/pi/Desktop/images/31102025/15/20/image_31102025_15_20_58_2818.jpg', '/home/pi/Desktop/images/31102025/15/21/image_31102025_15_21_03_5428.jpg', '/home/pi/Desktop/images/31102025/15/21/image_31102025_15_21_05_1715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/15/20/image_31102025_15_20_34_2806.jpg
/home/pi/Desktop/images/31102025/15/20/image_31102025_15_20_43_3797.jpg
/home/pi/Desktop/images/31102025/15/20/image_31102025_15_20_46_2809.jpg
/home/pi/Desktop/images/31102025/15/20/image_31102025_15_20_58_2818.jpg
/home/pi/Desktop/images/31102025/15/21/image_31102025_15_21_03_5428.jpg
/home/pi/Desktop/images/31102025/15/21/image_31102025_15_21_05_1715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397262621","1397262615","1397262624","1397262617","1397262622","1397262619"],"photo_ids_order":["1397262615","1397262617","1397262619","1397262621","1397262622","1397262624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/a5ab71945efc0b9f34c53c7170f5bec2.jpg","text":"TemporaryFile(/tmp/multipartBody504925387146518365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629744979,"filename":"image_31102025_15_20_58_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/1/162d3150d5122ffb8df2afd5b5538025.jpg","text":"TemporaryFile(/tmp/multipartBody2885245720519390818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629744979,"filename":"image_31102025_15_20_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/1/70c855186b193904fcf3485c965892a8.jpg","text":"TemporaryFile(/tmp/multipartBody7748305775092000390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629744979,"filename":"image_31102025_15_21_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/1/00ec0ab8e5744ca8633ec784b8820fdd.jpg","text":"TemporaryFile(/tmp/multipartBody6866038784430921006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629744979,"filename":"image_31102025_15_20_43_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/1/b437bf33ffcff590ae91882fce528160.jpg","text":"TemporaryFile(/tmp/multipartBody7298264812714998631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629744979,"filename":"image_31102025_15_21_03_5428.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/f30a412a8e0fff2f11f48ec2124bc4ef.jpg","text":"TemporaryFile(/tmp/multipartBody4982902894899767132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629744979,"filename":"image_31102025_15_20_46_2809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397262619","file1":"1397262617","file0":"1397262615","file4":"1397262622","file5":"1397262624","file3":"1397262621"},"map_files_photo_id_array":[{"photo_id":"1397262624","filename":"file5"},{"photo_id":"1397262619","filename":"file2"},{"photo_id":"1397262622","filename":"file4"},{"photo_id":"1397262617","filename":"file1"},{"photo_id":"1397262615","filename":"file0"},{"photo_id":"1397262621","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397262621":["hashtag1","hashtag2"]},{"1397262615":["hashtag1","hashtag2"]},{"1397262624":["hashtag1","hashtag2"]},{"1397262617":["hashtag1","hashtag2"]},{"1397262622":["hashtag1","hashtag2"]},{"1397262619":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397262621, 1397262615, 1397262624, 1397262617, 1397262622, 1397262619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.87158179283142 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 23:55:32.513413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_38_2645.jpg', '/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_40_2652.jpg', '/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_44_3567.jpg', '/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_47_2677.jpg', '/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_49_2602.jpg', '/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_53_3530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_38_2645.jpg
/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_40_2652.jpg
/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_44_3567.jpg
/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_47_2677.jpg
/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_49_2602.jpg
/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_53_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":["1397262642","1397262636","1397262639","1397262644","1397262641","1397262643"],"photo_ids_order":["1397262636","1397262639","1397262641","1397262642","1397262643","1397262644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/1c0852ef03e2e764ca55b8dd574aa727.jpg","text":"TemporaryFile(/tmp/multipartBody2354862860418531789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629794200,"filename":"image_25112025_23_49_47_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/1/5e74592d4c7467eb487d2fb5d4a6e328.jpg","text":"TemporaryFile(/tmp/multipartBody3111810474112083489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629794200,"filename":"image_25112025_23_49_38_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/1/87bfb5670b7adb6d3c77da4ce026de85.jpg","text":"TemporaryFile(/tmp/multipartBody7922751717132588096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629794200,"filename":"image_25112025_23_49_40_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/93d27afdfd9ff4e9c542e0731d944e73.jpg","text":"TemporaryFile(/tmp/multipartBody2017435971658188108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629794200,"filename":"image_25112025_23_49_53_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/1/15f12e1fc44c90515eac89519e9ee4d6.jpg","text":"TemporaryFile(/tmp/multipartBody2520270367941057479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629794200,"filename":"image_25112025_23_49_44_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/1/cbeeed2a52e4ae807872ddc50fe514e0.jpg","text":"TemporaryFile(/tmp/multipartBody8768665206372850508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629794200,"filename":"image_25112025_23_49_49_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397262641","file1":"1397262639","file0":"1397262636","file4":"1397262643","file5":"1397262644","file3":"1397262642"},"map_files_photo_id_array":[{"photo_id":"1397262644","filename":"file5"},{"photo_id":"1397262641","filename":"file2"},{"photo_id":"1397262643","filename":"file4"},{"photo_id":"1397262639","filename":"file1"},{"photo_id":"1397262636","filename":"file0"},{"photo_id":"1397262642","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397262642":["hashtag1","hashtag2"]},{"1397262636":["hashtag1","hashtag2"]},{"1397262639":["hashtag1","hashtag2"]},{"1397262644":["hashtag1","hashtag2"]},{"1397262641":["hashtag1","hashtag2"]},{"1397262643":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397262642, 1397262636, 1397262639, 1397262644, 1397262641, 1397262643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.40629553794861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-01 23:56:22.740667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
  port_id : 29033749
  datou_current_id : 4142558
in upload_from_sqlite, uploading in 29033749
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01122025/20/42/image_01122025_20_42_15_10562.jpg', '/home/pi/Desktop/images/01122025/20/42/image_01122025_20_42_45_10643.jpg', '/home/pi/Desktop/images/01122025/20/42/image_01122025_20_42_55_9716.jpg', '/home/pi/Desktop/images/01122025/20/43/image_01122025_20_43_15_10637.jpg', '/home/pi/Desktop/images/01122025/20/43/image_01122025_20_43_25_9617.jpg', '/home/pi/Desktop/images/01122025/20/43/image_01122025_20_43_34_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142558&datou=0
/home/pi/Desktop/images/01122025/20/42/image_01122025_20_42_15_10562.jpg
/home/pi/Desktop/images/01122025/20/42/image_01122025_20_42_45_10643.jpg
/home/pi/Desktop/images/01122025/20/42/image_01122025_20_42_55_9716.jpg
/home/pi/Desktop/images/01122025/20/43/image_01122025_20_43_15_10637.jpg
/home/pi/Desktop/images/01122025/20/43/image_01122025_20_43_25_9617.jpg
/home/pi/Desktop/images/01122025/20/43/image_01122025_20_43_34_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397262663","1397262659","1397262668","1397262667","1397262651","1397262654"],"photo_ids_order":["1397262651","1397262654","1397262659","1397262663","1397262667","1397262668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/075917e7721ce5bae3568c0ff3210de8.jpg","text":"TemporaryFile(/tmp/multipartBody4741785880432820099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629843462,"filename":"image_01122025_20_43_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/1/16862a9f0cc7fab93aeb7aeebaf119ab.jpg","text":"TemporaryFile(/tmp/multipartBody7308032629219323619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629843462,"filename":"image_01122025_20_42_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/1/a793fb49d89a5bad600754ede96e2875.jpg","text":"TemporaryFile(/tmp/multipartBody1496597680118766165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629843462,"filename":"image_01122025_20_43_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/1/98ae603e42f4d56702606b0962ccb782.jpg","text":"TemporaryFile(/tmp/multipartBody1831182746223798141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629843462,"filename":"image_01122025_20_43_25_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/adcbb2754dee52bb32f81cec9934ca01.jpg","text":"TemporaryFile(/tmp/multipartBody7615835875608563604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629843462,"filename":"image_01122025_20_42_15_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/64176cadb96be2249caa99e0f6bb6db8.jpg","text":"TemporaryFile(/tmp/multipartBody365594286037338546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629843462,"filename":"image_01122025_20_42_45_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397262659","file1":"1397262654","file0":"1397262651","file4":"1397262667","file5":"1397262668","file3":"1397262663"},"map_files_photo_id_array":[{"photo_id":"1397262668","filename":"file5"},{"photo_id":"1397262659","filename":"file2"},{"photo_id":"1397262667","filename":"file4"},{"photo_id":"1397262654","filename":"file1"},{"photo_id":"1397262651","filename":"file0"},{"photo_id":"1397262663","filename":"file3"}],"portfolio_id":29033749,"hashtag_by_photo_ids":[{"1397262663":["hashtag1","hashtag2"]},{"1397262659":["hashtag1","hashtag2"]},{"1397262668":["hashtag1","hashtag2"]},{"1397262667":["hashtag1","hashtag2"]},{"1397262651":["hashtag1","hashtag2"]},{"1397262654":["hashtag1","hashtag2"]}],"comms":"Portfolio 29033749 used, photo_id : ArrayBuffer(1397262663, 1397262659, 1397262668, 1397262667, 1397262651, 1397262654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.094855070114136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-01 23:57:11.900954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_55_2655.jpg', '/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_59_3496.jpg', '/home/pi/Desktop/images/25112025/23/50/image_25112025_23_50_01_2487.jpg', '/home/pi/Desktop/images/25112025/23/50/image_25112025_23_50_05_3616.jpg', '/home/pi/Desktop/images/25112025/23/50/image_25112025_23_50_07_2540.jpg', '/home/pi/Desktop/images/25112025/23/50/image_25112025_23_50_10_2806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_55_2655.jpg
/home/pi/Desktop/images/25112025/23/49/image_25112025_23_49_59_3496.jpg
/home/pi/Desktop/images/25112025/23/50/image_25112025_23_50_01_2487.jpg
/home/pi/Desktop/images/25112025/23/50/image_25112025_23_50_05_3616.jpg
/home/pi/Desktop/images/25112025/23/50/image_25112025_23_50_07_2540.jpg
/home/pi/Desktop/images/25112025/23/50/image_25112025_23_50_10_2806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397262702","1397262689","1397262683","1397262686","1397262694","1397262699"],"photo_ids_order":["1397262683","1397262686","1397262689","1397262694","1397262699","1397262702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/df9ed310f3511da1b0729cecaa07e106.jpg","text":"TemporaryFile(/tmp/multipartBody2878343926635177391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629893329,"filename":"image_25112025_23_50_10_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/56f4e0de7b7869e0503d391fa2243a2f.jpg","text":"TemporaryFile(/tmp/multipartBody4632505594215724868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629893329,"filename":"image_25112025_23_50_01_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/1/88f08fd3fbb482853fef85a5268a4bce.jpg","text":"TemporaryFile(/tmp/multipartBody7877882144853183810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629893329,"filename":"image_25112025_23_49_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/1/70f15eeab74bee3375e2fa0fc4ce2d92.jpg","text":"TemporaryFile(/tmp/multipartBody8635289993865432663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629893329,"filename":"image_25112025_23_49_59_3496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/b313f8fd3c606be0c912c0b84f085a5c.jpg","text":"TemporaryFile(/tmp/multipartBody6786844987881621442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629893329,"filename":"image_25112025_23_50_05_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/1/952f3dc71a3de032392092db7b57ec0f.jpg","text":"TemporaryFile(/tmp/multipartBody5705315750903119176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764629893329,"filename":"image_25112025_23_50_07_2540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397262689","file1":"1397262686","file0":"1397262683","file4":"1397262699","file5":"1397262702","file3":"1397262694"},"map_files_photo_id_array":[{"photo_id":"1397262702","filename":"file5"},{"photo_id":"1397262689","filename":"file2"},{"photo_id":"1397262699","filename":"file4"},{"photo_id":"1397262686","filename":"file1"},{"photo_id":"1397262683","filename":"file0"},{"photo_id":"1397262694","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397262702":["hashtag1","hashtag2"]},{"1397262689":["hashtag1","hashtag2"]},{"1397262683":["hashtag1","hashtag2"]},{"1397262686":["hashtag1","hashtag2"]},{"1397262694":["hashtag1","hashtag2"]},{"1397262699":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397262702, 1397262689, 1397262683, 1397262686, 1397262694, 1397262699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.553207874298096 secondes ---
